* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9fafb;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ============================================ */
/*                  HEADER CORRIGIDO            */
/* ============================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000; /* Aumentado para garantir que fique acima de tudo */
    border-bottom: 1px solid #e5e7eb;
}

.header .container {
    position: relative; /* Essencial para o posicionamento do menu mobile */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fcb900, #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navegação Desktop */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #fcb900;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #fcb900;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-btn {
    background: linear-gradient(45deg, #fcb900, #fbbf24);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(252, 185, 0, 0.3);
    text-decoration: none;
    text-align: center;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(252, 185, 0, 0.4);
}

/* Botão do Menu Mobile (Hamburguer) */
.mobile-menu-btn {
    display: none; /* Escondido em telas grandes */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #374151;
    cursor: pointer;
    z-index: 1001;
}

/* Container da Navegação Mobile */
.mobile-nav {
    display: none; /* Começa escondido */
    flex-direction: column;
    gap: 0.5rem;
    background: white;
    position: absolute; /* Para sobrepor o conteúdo */
    top: 100%; /* Posiciona abaixo do header */
    left: 0;
    width: 100%;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #e5e7eb;
}

/* Regra que faz a mágica: mostra o menu quando o JS adiciona a classe .active */
.mobile-nav.active {
    display: flex;
}

.mobile-nav .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: 8px;
}
.mobile-nav .nav-link:hover {
    background-color: #f3f4f6;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(252, 185, 0, 0.9), rgba(251, 191, 36, 0.8), rgba(251, 146, 60, 0.7));
    z-index: -1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-highlight {
    font-size: clamp(1.1rem, 2.8vw, 1.5rem);
    font-weight: 600;
}

.hero-btn {
    background: white;
    color: #fcb900;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Sections Globais */
.services, .programs, .team, .testimonials, .contact-section, .reflection, .bpo-section, .essencia-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    max-width: 48rem;
    margin: 0 auto;
}

/* Services / Segmentos Section */
.services { background: white; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}
.service-icon {
    width: 4rem; height: 4rem;
    background: linear-gradient(135deg, #fcb900, #fbbf24);
    border-radius: 1rem; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; transition: transform 0.3s ease;
}
.service-card:hover .service-icon { transform: scale(1.1); }
.service-icon i { font-size: 2rem; color: white; }
.service-title { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 1rem; }
.service-description { color: #6b7280; line-height: 1.6; }


/* Programs Section */
.programs { background: #f9fafb; }
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 2.5rem;
}
.program-card {
    background: white; border-radius: 1.5rem;
    overflow: hidden; box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #fcb900; display: flex; flex-direction: column;
}
.program-header { display: flex; align-items: center; padding: 2rem 2rem 0; margin-bottom: 1.5rem; gap: 1rem; }
.program-icon { width: 3rem; height: 3rem; background: linear-gradient(135deg, #fcb900, #fbbf24); border-radius: 0.75rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.program-icon i { font-size: 1.5rem; color: white; }
.program-title { font-size: 1.5rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; }
.program-subtitle { color: #fcb900; font-weight: 600; }
.program-description { padding: 0 2rem; color: #6b7280; font-size: 1.125rem; margin-bottom: 2rem; }
.program-areas { padding: 0 2rem 2rem; }
.program-areas h4 { font-weight: 700; color: #111827; margin-bottom: 1rem; }
.areas-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.area-item { display: flex; align-items: center; gap: 0.75rem; }
.area-item i { color: #fcb900; font-size: 1.25rem; }

/* BPO Section */
.bpo-section { background: linear-gradient(135deg, #fcb900, #fbbf24); color: white; text-align: center; }
.bpo-content { max-width: 800px; margin: 0 auto; }
.bpo-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 1.5rem; }
.bpo-description { font-size: 1.25rem; margin-bottom: 2.5rem; opacity: 0.95; line-height: 1.6; }
.bpo-btn {
    background: white; color: #fcb900; border: none; padding: 1rem 2rem;
    border-radius: 50px; font-size: 1.125rem; font-weight: 600; cursor: pointer;
    transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none;
}
.bpo-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }

/* Team Section */
.team { background: #f9fafb; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.team-card {
    background: white; padding: 2.5rem; border-radius: 1.5rem; text-align: center;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; border: 1px solid #e5e7eb;
}
.team-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12); }
.team-photo { width: 8rem; height: 8rem; margin: 0 auto 1.5rem; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #fcb900, #fbbf24); padding: 4px; transition: transform 0.3s ease; }
.team-card:hover .team-photo { transform: scale(1.05); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 2px solid white; }
.team-name { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.team-role { color: #fcb900; font-weight: 600; margin-bottom: 1rem; }
.team-description { color: #6b7280; line-height: 1.6; }

/* Testimonials, Reflection, Essencia Sections */
.testimonials { padding: 5rem 0; background: white; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.testimonial-card { background: #f9fafb; padding: 2.5rem; border-radius: 1.5rem; text-align: center; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); border: 1px solid #e5e7eb; }
.stars { display: flex; justify-content: center; gap: 0.25rem; margin-bottom: 1.5rem; }
.stars i { color: #fbbf24; font-size: 1.25rem; }
.testimonial-company { font-size: 1.25rem; font-weight: 700; color: #111827; margin-bottom: 0.5rem; }
.testimonial-name { color: #fcb900; font-weight: 600; }
.testimonial-role { color: #6b7280; }

.reflection { background: linear-gradient(135deg, #fcb900, #fbbf24); color: white; }
.reflection-content { max-width: 1000px; margin: 0 auto; text-align: center; }
.reflection-title { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; margin-bottom: 3rem; }
.reflection-questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
.question-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); border-radius: 1.5rem; padding: 2rem; border: 1px solid rgba(255, 255, 255, 0.2); }
.question-card p { font-size: 1.125rem; line-height: 1.6; }

/* Contact Section */
.contact-section { background: white; }
.contact-content { display: flex; flex-wrap: wrap; gap: 2rem; }
.contact-info, .contact-form-container { flex: 1; min-width: 320px; }
.contact-card { background: #f9fafb; border-radius: 1.5rem; padding: 2.5rem; height: 100%; border: 1px solid #e5e7eb; }
.contact-card-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; color: #111827; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { font-size: 1.5rem; color: #fcb900; }
.contact-details h4 { font-weight: 600; color: #374151; }
.contact-details p { color: #6b7280; }
.social-media { margin-top: 2rem; }
.social-icons { display: flex; gap: 1rem; margin-top: 0.5rem; }
.social-icon { color: #fcb900; font-size: 1.5rem; transition: transform 0.3s ease; }
.social-icon:hover { transform: scale(1.2); }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: #374151; }
.form-group input, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border: 2px solid #e5e7eb;
    border-radius: 0.5rem; font-size: 1rem; transition: border-color 0.3s ease; background-color: white;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #fcb900; }
.submit-btn {
    width: 100%; display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    background: linear-gradient(45deg, #25d366, #128c7e); color: white;
    width: 60px; height: 60px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 1.75rem; text-decoration: none;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4); transition: all 0.3s ease;
    z-index: 1000; animation: pulse 2s infinite;
}
.whatsapp-btn:hover { transform: scale(1.1); animation: none; }
.whatsapp-tooltip {
    position: absolute; top: 50%; right: 70px; transform: translateY(-50%);
    background: #374151; color: white; padding: 0.5rem 0.75rem; border-radius: 0.5rem;
    font-size: 0.875rem; white-space: nowrap; opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Dropdown Desktop */
.nav-item.dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000;
}
.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s;
}
.dropdown-item:hover {
    background-color: #f0f0f0;
    color: #fcb900;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

/* ============================================ */
/*          DROPDOWN MOBILE CORRIGIDO           */
/* ============================================ */
.nav-item.dropdown-mobile {
    display: block; /* Garante que seja um bloco para conter os filhos */
    width: 100%;
}
.dropdown-toggle-mobile {
    background: none;
    border: none;
    font: inherit;
    color: inherit;
    padding: 0.75rem 1rem; /* Mesmo padding dos outros links */
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
}
.dropdown-toggle-mobile:hover {
    background-color: #f3f4f6;
}

.dropdown-menu-mobile {
    max-height: 0; /* Começa fechado */
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding-left: 1rem; /* Indentação para os sub-itens */
    background-color: #f9fafb;
    border-radius: 8px;
    margin-top: 0.5rem;
}
.dropdown-menu-mobile.active {
    max-height: 200px; /* Expande para mostrar o conteúdo */
}
.dropdown-menu-mobile .nav-link {
    background-color: transparent;
}


/* ============================================ */
/*          RESPONSIVIDADE CORRIGIDA            */
/* ============================================ */
@media (max-width: 768px) {
    /* Esconde navegação de desktop */
    .desktop-nav,
    .desktop-cta {
        display: none;
    }

    /* Mostra o botão do menu mobile */
    .mobile-menu-btn {
        display: block;
    }
    
    .programs-grid { grid-template-columns: 1fr; }
    .reflection-questions { grid-template-columns: 1fr; }
    .hero-content { padding: 1rem; }
}

@media (max-width: 480px) {
    .logo-img { width: 4.5rem; height: 4.5rem; }
    .logo-text { font-size: 1.25rem; }
    .program-card { min-width: auto; }
    .areas-grid { grid-template-columns: 1fr; }
    .hero-card { padding: 1.5rem; }
    .contact-card { padding: 1.5rem; }
}