:root {
    --azul-principal: #1E90C2;
    --azul-claro: #2FA4E7;
    --azul-escuro: #0F6A8A;
    --verde-detalhe: #1ABC9C;
    --cinza-escuro: #2E2E2E;
    --cinza-medio: #4A4A4A;
    --cinza-claro: #F5F5F5;
    --preto-suave: #1A1A1A;
    --branco: #FFFFFF;
    --gradiente: linear-gradient(135deg, var(--azul-escuro), var(--azul-principal));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--cinza-escuro);
    background-color: var(--cinza-claro);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--preto-suave);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(151, 74, 74, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--azul-claro);
}

.logo span {
    color: var(--verde-detalhe);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--azul-claro);
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--azul-claro);
    transition: width 0.3s;
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradiente);
    color: white;
    padding: 120px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
    font-weight: 500;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--verde-detalhe);
    color: white;
    margin-right: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #16a085;
}

.btn-secondary {
    background: transparent;
    color: var(--azul-principal);
    border: 2px solid var(--azul-principal);
}

.btn-secondary:hover {
    background: var(--azul-principal);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--azul-principal);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--azul-escuro);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--verde-detalhe);
}

.section-subtitle {
    color: var(--cinza-medio);
    font-size: 1.1rem;
}

/* Services Grid */
.services-section,
.why-choose,
.partners-section,
.blog-section,
.cta-section {
    padding: 80px 0;
}

.services-grid,
.features-grid,
.values-grid,
.differentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card,
.feature-item,
.value-item,
.differential-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover,
.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon,
.feature-icon,
.mv-icon,
.differential-icon {
    width: 70px;
    height: 70px;
    background: var(--gradiente);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i,
.feature-icon i,
.mv-icon i,
.differential-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3,
.feature-item h3,
.value-item h3,
.differential-card h3 {
    margin-bottom: 1rem;
    color: var(--azul-escuro);
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--azul-principal);
    text-decoration: none;
    font-weight: 500;
}

.read-more i {
    transition: transform 0.3s;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Partners Slider */
.partners-slider {
    position: relative;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.partner-item {
    flex: 0 0 200px;
    padding: 1rem;
    text-align: center;
}

.partner-item img {
    max-width: 150px;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.partner-item img:hover {
    filter: grayscale(0%);
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--azul-principal);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* Blog Grid */
.blog-grid,
.blog-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-card,
.blog-card-full {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image,
.blog-image-full {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-image-placeholder,
.blog-image-placeholder-full {
    width: 100%;
    height: 200px;
    background: var(--gradiente);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-content,
.blog-content-full {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.blog-meta i {
    margin-right: 0.3rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradiente);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--preto-suave);
    color: white;
    padding: 60px 5% 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--azul-claro);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--azul-claro);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--azul-claro);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s;
    z-index: 1000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Contact Form */
.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--cinza-escuro);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-principal);
}

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Page Header */
.page-header {
    background: var(--gradiente);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* About Page */
.about-grid,
.mv-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-vision {
    padding: 60px 0;
    background: white;
}

.mv-grid {
    gap: 2rem;
}

.mission-card,
.vision-card {
    text-align: center;
    padding: 2rem;
}

/* Portfolio Page */
.portfolio-filters {
    text-align: center;
    margin-bottom: 2rem;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    border-radius: 5px;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--azul-principal);
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 1.5rem;
    transition: bottom 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.btn-demo {
    display: inline-block;
    margin-top: 1rem;
    padding: 8px 20px;
    background: var(--verde-detalhe);
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 3rem;
}

.page-btn {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: white;
    color: var(--azul-escuro);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.page-btn.active,
.page-btn:hover {
    background: var(--azul-principal);
    color: white;
}

/* Post Page */
.post-header {
    background: var(--gradiente);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.post-content {
    padding: 60px 0;
    background: white;
}

.post-featured-image {
    margin-bottom: 2rem;
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
}

.post-body {
    font-size: 1.1rem;
    line-height: 1.8;
}

.post-body h2,
.post-body h3 {
    margin: 1.5rem 0 1rem;
    color: var(--azul-escuro);
}

.post-body p {
    margin-bottom: 1rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.post-share {
    text-align: center;
}

.share-btn {
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25D366;
}

.related-posts {
    padding: 60px 0;
    background: var(--cinza-claro);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

.delay-1 {
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.delay-2 {
    animation-delay: 0.4s;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--preto-suave);
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .about-grid,
    .mv-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons .btn {
        display: block;
        margin: 1rem auto;
    }
    
    .hero-buttons .btn-primary {
        margin-right: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}