* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --white: #FFFFFF;
    --gray-light: #F7F8FA;
    --green-whatsapp: #25D366;
    --blue-cyan: #00BFFF;
    --dark-bg: #1a1a2e;
    --text-dark: #333333;
    --text-gray: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--blue-cyan);
    background: linear-gradient(135deg, var(--blue-cyan), var(--green-whatsapp));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--blue-cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--blue-cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-whatsapp-header {
    background: var(--green-whatsapp);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --- Estilos do Header --- */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    max-height: 50px;
}

.nav {
    display: flex;
    gap: 25px;
}

/* --- Estilos do Burger Menu (inicialmente escondido) --- */
.burger-menu {
    display: none; /* Escondido em telas grandes */
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.4s;
}


/* --- Media Query para Responsividade --- */
@media (max-width: 992px) {
    .nav {
        gap: 15px; /* Diminui o espaçamento em telas médias */
    }
    .btn-whatsapp-header {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .nav.nav-active a:first-child {
                 padding-top: 25px;
    }
}

@media (max-width: 768px) {
    .nav.nav-active a:first-child {
                 padding-top: 25px;
    }
    
     /* ESTADO INATIVO: menu escondido */
    .nav-inactive {
        display: none;
    }

    /* ESTADO ATIVO: menu visível com animação de fade-in */
    .nav-active {
        display: flex;
        animation: fadeInMenu 0.4s ease-out;
    }
    /* Esconde a navegação principal e o botão */
    .btn-whatsapp-header {
        display: none;
    }

    /* Mostra o ícone do burger menu */
    .burger-menu {
        display: block;
    }

    /* Estiliza a navegação para o menu móvel */
    .nav {
        position: absolute;
        top: 80px; /* Altura do header */
        right: 0;
        background-color: #fff;
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        
        /* Começa fora da tela */
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
    }

    /* Classe 'nav-active' que será adicionada via JavaScript */
    .nav.nav-active {
        transform: translateX(0);
    }
    
    .nav-link {
        margin: 10px 0;
        font-size: 1.2rem;
    }

    /* Animação do ícone do Burger para 'X' */
    .toggle .bar1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    .toggle .bar2 {
        opacity: 0;
    }
    .toggle .bar3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Hero Section */
.hero {
    margin-top: 80px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.85) 0%, rgba(255, 153, 0, 0.85) 100%), url('hero-image-v3.jpg') center/cover no-repeat;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    animation: wave 10s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 40px;
}

.hero-content {
    color: white;
    max-width: 600px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    flex: 1;
}

.hero-video {
    flex: 1;
    max-width: 560px;
}

.hero-video iframe {
    width: 100%;
    height: 315px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: var(--green-whatsapp);
    color: white;
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    height: 400px;
}

.mockup-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.mockup-laptop {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 220px;
    background: #2d3748;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.laptop-screen {
    margin: 10px;
    height: calc(100% - 20px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

.mockup-phone {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: 180px;
    background: #1a202c;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite 0.5s;
}

.phone-screen {
    margin: 8px;
    height: calc(100% - 16px);
    background: linear-gradient(135deg, #00BFFF 0%, #25D366 100%);
    border-radius: 10px;
}

.mockup-chart {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: var(--green-whatsapp);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.3);
    animation: float 3s ease-in-out infinite 1s;
}

.mockup-cube {
    position: absolute;
    bottom: 100px;
    right: 80px;
    width: 80px;
    height: 80px;
    background: #ff6b9d;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.3);
    animation: float 3s ease-in-out infinite 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--gray-light);
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--text-gray);
    margin-top: -40px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--gray-light);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.btn-service {
    display: block;
    background: var(--green-whatsapp);
    color: white;
    text-align: center;
    padding: 12px 20px;
    margin: 0;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: #1ea952;
}

.service-content {
    padding: 20px;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.service-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--gray-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    color: var(--blue-cyan);
    margin-bottom: 20px;
}

.testimonial-photo {
    width: 30px;
    height: 30px;
    margin: 0 auto 6px;
    overflow: hidden;
    border-radius: 50%;
    border: 1px solid var(--blue-cyan);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.testimonial-photo:hover {
    transform: scale(1.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 16px;
    font-style: italic;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.testimonial-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-gray);
}

/* Why Choose Section */
.why-choose {
    padding: 80px 0;
    background: var(--gray-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-card {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.why-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.why-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--dark-bg);
    color: white;
}

.cta-container {
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    background: var(--green-whatsapp);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 40px 0 20px;
}

.footer-container {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info a {
    color: var(--blue-cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-info a:hover {
    color: var(--green-whatsapp);
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.footer-copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .nav {
        flex-direction: column;
        gap: 15px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-video {
        max-width: 100%;
    }

    .hero-video iframe {
        height: 250px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .cta-title {
        font-size: 28px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}







.section-subtitle-services {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 40px;
    color: var(--text-dark);
}
