/* --- VARIAVEIS DE COR E CONFIGURAÇÕES GLOBAIS --- */
:root {
    --bg-primary: #F9FAFB;      /* Fundo principal - Branco Gelo */
    --bg-secondary: #FFFFFF;    /* Fundo de cards e seções - Branco Puro */
    --accent-primary: #feab00;  /* Amarelo Ouro (cor do usuário) */
    --accent-secondary: #e49a00;/* Amarelo mais escuro para hover */
    --text-title: #1F2937;      /* Títulos - Cinza Chumbo */
    --text-primary: #4B5563;   /* Texto principal - Cinza Médio */
    --text-on-accent: #1F2937;  /* Texto sobre fundos amarelos */
    --border-color: #E5E7EB;    /* Borda sutil */
    --whatsapp-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--text-title);
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px auto;
    color: var(--text-primary);
}

.highlight {
    color: var(--accent-primary);
}

/* Animações Globais */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- CABEÇALHO --- */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0; /* Padding ajustado */
    transition: all 0.3s ease-in-out;
}

#header.header-scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.logo {
    justify-self: center;
    height: 55px; /* Logo aumentada */
    z-index: 1001;
    transition: transform 0.3s ease;
}
.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 100%;
}

.header-nav {
    display: none;
}

#nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    justify-self: end;
}

.hamburger, .hamburger::before, .hamburger::after {
    content: '';
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-title);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(8px);
}

#nav-toggle.active .hamburger {
    background-color: transparent;
}

#nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
}

#nav-toggle.active .hamburger::after {
    transform: translateY(-2px) rotate(-45deg);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.8rem;
    margin: 20px 0;
    color: var(--text-title);
    text-decoration: none;
    font-weight: 500;
}

/* Estilo base para todos os botões do cabeçalho */
.nav-link, .nav-button {
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    background-color: var(--bg-secondary);
    color: var(--text-title);
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Remove o efeito de sublinhado antigo */
.nav-link::after {
    content: none;
}

/* Estilo para os botões de navegação padrão */
.nav-link:hover {
    background-color: var(--bg-primary);
    color: var(--text-title);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border-color: #d1d5db;
}

/* Estilo para o botão de CTA principal */
.nav-button:hover {
    background-color: var(--accent-primary);
    color: var(--text-on-accent);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 20px rgba(254, 171, 0, 0.4);
    border-color: var(--accent-primary);
}


/* --- SEÇÃO HERO --- */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding: 140px 0;
    color: var(--text-primary);
}

/* Camada escura para garantir contraste do texto */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-background {
    background-image: url('../images/banner1.jpg');
    background-size: cover;
    background-position: center;
   
    
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    z-index: 1;
}

.hero-container-main {
    position: relative;
    z-index: 3; /* Aumentado para ficar sobre a camada escura */
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #FFFFFF;
    opacity: 0.95;
    margin: 20px auto 30px auto;
    max-width: 550px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.cta-button {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--text-on-accent);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.cta-button:hover {
    background-color: var(--accent-secondary);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(254, 171, 0, 0.5);
}

.pulse {
    animation: pulse 2s infinite, fadeInUp 0.8s ease-out 0.7s backwards;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(254, 171, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(254, 171, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(254, 171, 0, 0);
    }
}

/* --- SEÇÕES GERAIS --- */
section {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--bg-secondary);
}

/* --- SEÇÃO PILARES --- */
.pilares-section {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.pilares-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.pilar-card {
    text-align: center;
    transition: transform 0.3s ease;
}
.pilar-card:hover {
    transform: translateY(-5px);
}

.pilar-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.pilar-card .icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.pilar-card h3 {
    font-size: 1.2rem;
}

.pilar-card p {
    font-size: 0.9rem;
}

/* --- SEÇÃO INTERATIVA "PORQUE PRECISO" --- */
.porque-section {
    background-color: var(--bg-secondary);
}

.interactive-wrapper {
    background-color: var(--bg-primary);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
}

.sintomas-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sintoma-tab {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sintoma-tab:hover {
    border-color: var(--accent-primary);
    color: var(--text-title);
    transform: scale(1.02);
}

.sintoma-tab.active {
    background-color: var(--accent-primary);
    color: var(--text-on-accent);
    border-color: var(--accent-primary);
    font-weight: 600;
    transform: scale(1.02);
}

.cura-content {
    margin-top: 20px;
}

.cura-pane {
    display: none;
    text-align: center;
}

.cura-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.cura-pane .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
}

.cura-pane .icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

.cura-pane h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- SEÇÃO DE VÍDEOS --- */
.video-section-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.video-title {
    text-align: center;
    font-size: 2rem;
}

.phone-frame {
    background: #111;
    padding: 15px;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), inset 0 0 2px rgba(255,255,255,0.1);
}

.video-wrapper {
    position: relative;
    cursor: pointer;
    border-radius: 25px;
    overflow: hidden;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.play-pause-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(254, 171, 0, 0.8);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.play-pause-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-style: solid;
}

.video-wrapper.is-paused .play-pause-button::before {
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent var(--bg-primary);
}

.video-wrapper:not(.is-paused) .play-pause-button::before {
    width: 18px;
    height: 20px;
    border-style: double;
    border-width: 0px 0px 0px 18px;
    border-color: var(--bg-primary);
}

.video-wrapper:not(.is-paused) .play-pause-button {
    opacity: 0;
}

/* --- SEÇÃO DIFERENCIAIS --- */
.diferenciais-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.diferencial-card {
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.diferencial-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    background-color: var(--bg-primary);
}

.diferencial-card .icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-primary);
}

/* --- SEÇÃO FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-title);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    color: var(--accent-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.faq-answer p {
    padding: 0 0 20px;
    color: var(--text-primary);
}

/* --- SEÇÃO CTA FINAL --- */
.cta-section {
    text-align: center;
    background: var(--bg-secondary);
    padding: 80px 20px;
}

.cta-section h2 {
    font-size: 2.2rem;
}

.cta-section p {
    margin: 20px auto 40px;
}

/* --- RODAPÉ --- */
footer {
    background-color: var(--bg-secondary);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-primary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

footer p {
    margin-bottom: 10px;
}

/* --- BOTÃO WHATSAPP --- */
.whatsapp-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: #FFF;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}
.whatsapp-fab:hover {
    transform: scale(1.1);
}

/* --- DESKTOP STYLES (min-width: 768px) --- */
@media (min-width: 768px) {
    h2 {
        font-size: 2.8rem;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .pilares-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    .interactive-wrapper {
        display: flex;
        gap: 30px;
        padding: 40px;
    }
    .sintomas-nav {
        flex-direction: column;
        flex-basis: 40%;
    }
    .cura-content {
        flex-basis: 60%;
        margin-top: 0;
    }
    .diferenciais-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .video-section-container {
        flex-direction: row;
        align-items: center;
        gap: 50px;
    }
    .video-section-container.reverse {
        flex-direction: row-reverse;
    }
    .video-text-content {
        flex: 1;
        text-align: left;
    }
    .video-wrapper-container {
        flex: 1;
    }
    .video-title {
        text-align: left;
    }
}

/* --- LARGE DESKTOP STYLES (min-width: 1024px) --- */
@media (min-width: 1024px) {
    #nav-toggle {
        display: none;
    }
    .header-nav {
        display: flex;
        align-items: center;
        gap: 25px; /* Espaçamento aumentado entre os botões */
    }
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        column-gap: 40px; /* Adiciona espaço entre a navegação e a logo */
    }
    .nav-left {
        justify-self: end;
    }
    .nav-right {
        justify-self: start;
    }
    .logo {
        justify-self: center;
    }
    /* A regra antiga de margem foi removida e substituída por 'gap' em .header-nav */
    .hero {
        text-align: left;
    }
    .hero-title {
        font-size: 4.5rem;
    }
}
