/**
 * CSS ORGANIZADO
 * Estruturado seguindo as melhores práticas:
 * 1. Variáveis e reset
 * 2. Base
 * 3. Utilitários
 * 4. Componentes
 * 5. Seções
 * 6. Media queries
 */

/* --------------------------------------------------------------
# 1. VARIÁVEIS E RESET
-------------------------------------------------------------- */
:root {
    --primary: #244B67;
    --secondary: #a7c8c1;
    --primary-darker: #2D4458;
    --accent: #e5aa57;
    --accent-darker: #c07866;
    --light: #eaf0ef;
    --text-secondary: #f4af58;
    --dark: #333;
    --success: #20AA24;
    --success-darker: #0c8535;
    --gradient: linear-gradient(135deg, var(--primary-darker), var(--primary));
    --gradient-ud: linear-gradient(180deg, var(--primary), var(--primary-darker));
    --gradient-ul: linear-gradient(180deg, var(--secondary), var(--light));
    --primary-rgb: 45, 65, 88;
    --primary-darker-rgb: 30, 45, 59;
    --shadow: 0 4px 10px rgb(0 0 0 / 10%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* --------------------------------------------------------------
# 2. BASE (Elementos fundamentais HTML)
-------------------------------------------------------------- */
body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

h3 {
    color: var(--primary);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-darker);
}

section {
    padding: 2.5rem 1rem;
    max-width: 1000px;
    margin: 0 auto;
    border-bottom: 1px solid rgb(0 0 0 / 10%);
    animation: fadeIn 0.6s ease-out forwards;
}

footer {
    background-color: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------
# 3. UTILITÁRIOS
-------------------------------------------------------------- */
.light {
    color: var(--light);
}

.text-center {
    text-align: center;
}

.margin-top-2 {
    margin-top: 2rem;
}

.highlight-text {
    color: var(--accent);
    font-weight: 600;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
    min-height: 20px;
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation: fadeInUp 0.8s ease forwards;
}

/* Skip link para acessibilidade */
.skip-link {
    position: absolute;
    top: -50px;
    left: 10px;
    background: var(--accent);
    color: #333;
    padding: 10px 15px;
    border-radius: 8px;
    z-index: 9999;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-link:focus {
    top: 10px;
}

/* --------------------------------------------------------------
# 4. COMPONENTES
-------------------------------------------------------------- */

/* 4.1 Botões */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--success);
    color: white;
    font-weight: bold;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 6px rgb(0 0 0 / 10%);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: "👉 ";
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgb(255 255 255 / 40%), transparent);
    transform: translateX(-100%);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgb(0 0 0 / 15%);
    background-color: var(--success-darker);
}

.cta-btn:hover::before {
    transform: translateX(5px);
}

.cta-btn:hover::after {
    animation: shine 1.5s ease-out;
}

.secondary-cta {
    margin-top: 1rem;
    font-size: 1rem;
}

.secondary-cta a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.secondary-cta a:hover {
    text-decoration: underline;
}

/* 4.2 Cards e Itens */
.problem-item,
.benefit-card,
.testimonial,
.price-box,
.location-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgb(0 0 0 / 5%);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.problem-item:hover,
.benefit-card:hover,
.testimonial:hover,
.price-box:hover,
.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgb(0 0 0 / 15%);
    border-color: rgb(0 0 0 / 0%);
}

.problem-icon img {
    width: 100%;
    height: auto;
    max-width: 60px; /* ou qualquer tamanho que você preferir */
}

.problem-icon,
.benefit-icon {
    transition: transform 0.3s ease;
}

.problem-item:hover .problem-icon,
.benefit-card:hover .benefit-icon {
    transform: scale(1.2);
}

/* 4.3 Navegação */
.site-nav {
    background-color: var(--primary);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav .logo-container {
    margin: 0;
}

.site-nav .logo-container img {
    display: block;
    height: auto;
}

.site-nav .nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.site-nav .nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    transition: color 0.3s ease;
}

.site-nav .nav-link:hover {
    color: var(--accent);
}

.site-nav .nav-link.active {
    color: var(--accent);
    position: relative;
}

.site-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 12px;
    right: 12px;
    height: 2px;
    background-color: var(--accent);
}

.site-nav .nav-link.cta {
    background-color: var(--success);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.site-nav .nav-link.cta:hover {
    background-color: var(--success-darker);
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* 4.4 Barra de Progresso */
#progress-container {
    width: 100%;
    height: 4px;
    background: rgb(0 0 0 / 10%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0; 
    z-index: 1002;
    pointer-events: none;
    max-width: 100%; 
    overflow: hidden; 
    box-sizing: border-box; 
}

#progress-bar {
    height: 100%;
    background: var(--accent);
    width: 0%;
    transition: width 0.2s ease-out;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    max-width: 100%; /* Garante que nunca ultrapassa 100% */
}


.site-nav ~ #progress-container {
    top: 65px;
}

/* 4.5 Carousel/Benefits Track */
.benefits-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.benefits-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.5rem;
    padding: 0.5rem 0;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.benefits-track::-webkit-scrollbar {
    display: none;
}

.navigation-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgb(0 0 0 / 10%);
    transition: all 0.3s ease;
}

.nav-button:hover {
    background: var(--secondary);
    transform: translateY(-2px);
}

.indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.indicator.active {
    background: var(--primary);
}

/* 4.6 FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgb(72 107 138 / 20%);
}

.faq-question {
    cursor: pointer;
    padding: 1rem 0;
    position: relative;
    padding-right: 30px;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-question:hover {
    color: var(--accent);
    background-color: rgb(0 0 0 / 2%);
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 0 1rem;
    display: none;
    animation: fadeIn 0.5s ease;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active {
    border-radius: 8px;
    border-bottom: none;
    box-shadow: 0 4px 15px rgb(0 0 0 / 5%);
    background-color: rgb(var(--primary-rgb), 0.03);
}

/* 4.7 Cookie Banner */
#cookie-banner {
    z-index: 9999;
}

#cookie-banner button.cookie-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

#cookie-banner button.cookie-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgb(0 0 0 / 10%);
}

#cookie-banner button.cookie-btn.primary:hover {
    background-color: #3a5a78;
}

#cookie-banner button.cookie-btn.secondary:hover {
    background-color: #e5e5e5;
}

#cookie-banner .cookie-toggle {
    position: relative;
    height: 0;
    width: 0;
    visibility: hidden;
    margin: 0;
}

#cookie-banner .cookie-toggle + label {
    position: relative;
    padding-left: 45px;
    cursor: pointer;
    display: inline-block;
}

#cookie-banner .cookie-toggle + label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 20px;
    background-color: #ccc;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

#cookie-banner .cookie-toggle + label::after {
    content: '';
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

#cookie-banner .cookie-toggle:checked + label::before {
    background-color: #486b8a;
}

#cookie-banner .cookie-toggle:checked + label::after {
    transform: translateX(20px);
}

#cookie-banner .cookie-toggle:checked + label {
    color: #486b8a;
    font-weight: 500;
}

#cookie-banner .cookie-toggle:focus-visible + label::before {
    box-shadow: 0 0 0 3px rgb(72 107 138 / 50%);
}

/* 4.8 Infográfico - VERSÃO ROBUSTA CORRIGIDA */
.infographic-section {
    background-color: #f9f9f9;
    text-align: center;
    padding: 3rem 1rem;
}

.infographic-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 2rem auto;
}

.infographic-step {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1rem;
    flex: 1 1 200px;
    max-width: 250px;
    position: relative;
    box-shadow: 0 5px 15px rgb(0 0 0 / 5%);
    transition: transform 0.3s ease;
}

.infographic-step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.infographic-arrow {
    font-size: 2rem;
    color: var(--primary);
    margin: 0 10px;
    display: flex;
    align-items: center;
}

/* Ajustes para desktop - VERSÃO QUE SOBREPÕE SETAS */
@media (width >= 992px) {
    /* Reset de qualquer estilo conflitante */
    .infographic-container {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        position: relative;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    .infographic-container > * {
        box-sizing: border-box;
    }
    
    /* Estilo para os cards */
    .infographic-step {
        flex: 0 0 23%;
        max-width: 23%;
        margin: 0;
        z-index: 1;
    }
    
    /* Para garantir que whitespace não afete o layout */
    .infographic-container > .infographic-step ~ .infographic-step {
        margin-left: 0;
    }
    
    /* Estilo para as setas */
    .infographic-arrow {
        position: absolute;
        z-index: 2;
        background: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        box-shadow: 0 2px 8px rgb(0 0 0 / 10%);
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        top: 50%;
        transform: translateY(-50%);
    }
    
    /* Posições exatas para cada seta */
    .infographic-arrow:nth-of-type(2) {
        left: calc(22% + 11px);
    }
    
    .infographic-arrow:nth-of-type(4) {
        left: calc(49% - 8px);
    }
    
    .infographic-arrow:nth-of-type(6) {
        left: calc(74% - 14px);
    }
    
    /* Ajustes de tipografia */
    .infographic-step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }
    
    .infographic-step p {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .step-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
}

/* Ajustes para tablet */
@media (width >= 768px) and (width <= 991px) {
    .infographic-step {
        flex: 0 0 40%;
        max-width: 40%;
    }
    
    .infographic-arrow {
        flex: 0 0 8%;
        display: flex;
        justify-content: center;
    }
    
    .infographic-arrow:nth-of-type(6) {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

/* Ajustes para mobile */
@media (width <= 767px) {
    .infographic-container {
        flex-direction: column;
        align-items: center;
    }
    
    .infographic-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    .infographic-step {
        width: 80%;
        max-width: none;
    }
}

/* 4.9 Navegação Flutuante */
   .floating-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    background: rgb(36 75 103 / 80%);
    border-radius: 30px;
    padding: 10px 5px;
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.floating-nav li {
    margin: 15px 0;
}

.floating-nav a {
    display: block;
    color: white;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgb(255 255 255 / 10%);
}

.floating-nav a:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* Botão Voltar ao topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgb(0 0 0 / 20%);
    transition: all 0.3s ease;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-5px);
}

/* 4.10 Contentor do Video */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 (9/16 = 0.5625 = 56.25%) */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
}






/* Estilo para os botões de contato */
.contact-buttons {
    display: flex;
    gap: 10px;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 140px;
}

.phone-btn {
    background-color: var(--primary);
    color: white;
}

.phone-btn:hover {
    background-color: var(--primary-darker);
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgb(0 0 0 / 20%);
}

.contact-btn i {
    margin-right: 8px;
}

/* Estilo responsivo */
@media (width <= 480px) {
    .contact-buttons {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
    }
}

/* --------------------------------------------------------------
# 5. SEÇÕES
-------------------------------------------------------------- */

/* 5.1 Hero Section */
header.hero {
    color: white;
    text-align: center;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
}

.background-video-header {
    position: absolute;
    top: 80%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.hero:hover .background-video-header {
    opacity: 0.7;
}

.overlay-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgb(var(--primary-darker-rgb), 0.9) 0%, 
        rgb(var(--primary-rgb), 0.85) 50%, 
        rgb(var(--primary-darker-rgb), 0.95) 100%);
    z-index: 1;
}

header.hero > .logo-container,
header.hero > p,
header.hero > .hero-benefits,
header.hero > a.cta-btn {
    position: relative;
    z-index: 2;
}

header.hero > h1 {
    color: var(--accent);
    position: relative;
    z-index: 2;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

header.hero .logo-container {
    margin-bottom: 1.5rem;
}

header.hero .hero-subheading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

header.hero .hero-description {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

header.hero .hero-benefits {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem auto 0;
    max-width: 900px;
}

header.hero .hero-benefit {
    background: rgb(255 255 255 / 15%);
    backdrop-filter: blur(5px);
    padding: 0.7rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-benefit::before {
    content: "✓ ";
    color: var(--accent);
    transition: transform 0.3s ease;
}

.hero-benefit:hover {
    background: rgb(255 255 255 / 25%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
}

.hero-benefit:hover::before {
    transform: scale(1.2);
}

/* 5.2 Problema Section */
.problem-section {
    background-color: #f9f9f9;
}

.problem-container {
    display: flex;
    flex-direction: column;
    max-width: 800px;
    margin: 0 auto;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.problem-icon {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.problem-content {
    flex: 1;
}

.problem-content h3 {
    margin-bottom: 0.5rem;
}

/* 5.3 Solução Section */
.solution-section {
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f5f9fc);
    padding: 4rem 1rem;
}

.solution-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.benefit-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    min-width: 320px;
    max-width: 350px;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.benefit-icon {
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.benefit-content h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* 5.4 Terapeuta Section */
.therapist-section {
    background-color: white;
}

.therapist {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.therapist-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgb(0 0 0 / 10%);
}

.therapist-content {
    flex: 1;
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0;
}

.credential {
    background: var(--light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.credential::before {
    content: "✓ ";
    color: var(--light);
    transition: transform 0.3s ease;
}

.credential:hover::before {
    transform: scale(1.2);
}

/* 5.5 Testimonials Section */
.testimonials-section {
    background-color: #f9f9f9;
    text-align: center;
}

.testimonials-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial {
    position: relative;
    text-align: left;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    display: block;
    color: var(--primary);
}

.testimonial-meta {
    font-size: 0.9rem;
    color: #666;
}

/* 5.6 Offer Section */
.offer-section {
    background: linear-gradient(to bottom, #f5f9fc, #fff);
    text-align: center;
}

.price-box {
    background: linear-gradient(145deg, 
        var(--primary-darker) 0%, 
        var(--primary) 50%,
        var(--primary) 100%);
    color: white;
    padding: 2rem;
    text-align: center;
    margin: 2rem auto;
    max-width: 500px;
}

.price-label {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.price-box h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin: 1rem 0;
    text-shadow: 0 2px 10px rgb(0 0 0 / 20%);
}

.price-includes {
    background: rgb(255 255 255 / 10%);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.price-includes ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.price-includes li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.price-includes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.availability {
    font-size: 0.9rem;
    background: rgb(228 164 132 / 20%);
    color: var(--text-secondary);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin: 1rem 0;
}

#countdown {
    font-weight: bold;
    color: var(--accent);
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* 5.7 Location Section */
.location-section {
    text-align: center;
}

.location-details {
    max-width: 700px;
    margin: 0 auto;
}

.location-card {
    margin-bottom: 2rem;
}

.location-address {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.location-schedule {
    background: rgb(72 107 138 / 10%);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.location-map {
    width: 100%;
    height: 352px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-map:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
}






.leaflet-container {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    z-index: 1; /* Certifique-se de que o mapa não aparece sobre modais */
}

.custom-marker {
    display: flex;
    justify-content: center;
    align-items: center;
}

.leaflet-popup-content-wrapper {
    background-color: rgb(255 255 255 / 95%);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgb(0 0 0 / 20%);
}
  
.leaflet-popup-tip {
    background-color: white;
}

.leaflet-popup-content {
    margin: 12px 15px;
    line-height: 1.6;
}

.leaflet-popup-content strong {
    color: #244B67;
    display: block;
    margin-bottom: 5px;
}

.leaflet-popup-content a {
    color: #e5aa57;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    margin-top: 5px;
}

.leaflet-popup-content a:hover {
    text-decoration: underline;
}





/* 5.8 FAQ Section */
.faq-section {
    background-color: white;
}

/* 5.9 Final CTA */
.final-cta {
    position: relative;
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    overflow: hidden;
}

.background-video {
    position: absolute;
    top: 20%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: opacity 0.5s ease;
}

.final-cta:hover .background-video {
    opacity: 0.7;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, rgb(var(--primary-rgb), 0.85), rgb(var(--primary-darker-rgb), 0.85));
    z-index: 1;
}

.final-cta > h2,
.final-cta > p,
.final-cta > .cta-btn,
.final-cta > .guarantee {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

/* 5.10 Garantia Section */
.guarantee-section {
    background-color: var(--primary);
    padding: 2rem 1rem;
    color: var(--light);
    text-align: center;
}

.guarantee {
    background-color: var(--secondary);
    max-width: 700px;
    margin: 2rem auto;
    padding: 1.5rem;
    border-radius: 8px;
    color: var(--dark);
}

.guarantee-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.guarantee-icon {
    font-size: 2rem;
    margin-right: 0.5rem;
    color: var(--primary);
}

.guarantee-title h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

.guarantee p {
    line-height: 1.6;
    color: var(--dark);
}

/* 5.11 Video Section */
.hero-video {
    background: white;
    padding: 4rem 2rem;
    text-align: center;
}

.video-content {
    max-width: 800px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 2rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 5.12 Footer links */
.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    margin: 0 0.5rem;
    color: var(--light);
}

/* 5.13 Cookie Policy */
.cookie-policy {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    line-height: 1.6;
    color: var(--dark);
}

.cookie-policy table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

.cookie-policy th, 
.cookie-policy td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.cookie-policy th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.cookie-policy tr:hover {
    background-color: #f5f5f5;
}

.cookie-policy h1 {
    color: var(--primary);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-top: 30px;
}

.cookie-policy h2 {
    color: var(--primary);
    margin-top: 25px;
    border-left: 4px solid var(--accent);
    padding-left: 10px;
}

.cookie-policy h3 {
    color: var(--accent);
    margin-top: 20px;
}

.cookie-policy .last-updated {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 30px;
    padding-top: 10px;
    border-top: 1px solid #e1e1e1;
}






.legal-content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

.legal-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.legal-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.legal-header .updated {
    color: #6c757d;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section h2 {
    color: #2c3e50;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f1f1;
    margin-top: 2rem;
}

.legal-section h3 {
    color: #3a5169;
    margin-top: 1.5rem;
}

.legal-section ul {
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.company-info {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 3rem;
    border-left: 4px solid #3a5169;
}

.company-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.company-info p {
    margin: 0.5rem 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #3a5169;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: #2c3e50;
}

@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.5rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }
}
/* Estilo do Modal de Agendamento */
.modal-agendamento {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.6);
z-index: 10000;
opacity: 0;
transition: opacity 0.3s ease;
}

.modal-agendamento.active {
opacity: 1;
}

.modal-conteudo {
position: relative;
margin: auto;
top: 50%;
transform: translateY(-50%);
width: 90%;
max-width: 700px;
background: #fff;
border-radius: 8px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
padding: 25px;
transition: transform 0.3s ease;
transform: translateY(-45%);
max-height: 90vh;
overflow: auto;
}

.modal-agendamento.active .modal-conteudo {
transform: translateY(-50%);
}

.modal-cabecalho {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #eee;
padding-bottom: 15px;
margin-bottom: 15px;
}

.modal-titulo {
font-size: 1.5rem;
font-weight: 600;
color: #2c3e50;
margin: 0;
}

.fechar-modal {
font-size: 24px;
color: #777;
cursor: pointer;
transition: color 0.2s;
width: 30px;
height: 30px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
}

.fechar-modal:hover {
color: #000;
background-color: #f1f1f1;
}

.modal-iframe {
width: 100%;
height: 600px;
border: none;
}

@media (max-width: 768px) {
.modal-conteudo {
width: 95%;
padding: 15px;
}

.modal-iframe {
height: 500px;
}
}

/* Para desativar o scroll do body quando o modal está aberto */
body.modal-aberto {
overflow: hidden;
}







/* --------------------------------------------------------------
# 6. MEDIA QUERIES (RESPONSIVIDADE)
-------------------------------------------------------------- */

/* Melhorias para dispositivos móveis */
@media (width <= 768px) {
    /* Ajustes gerais */
    h1 {
        font-size: 2rem;
    }
    
    section {
        padding: 2rem 0.5rem;
    }
    
    /* Ajustes específicos de componentes */
    .site-nav-container {
        padding: 15px 20px;
    }

    .site-nav ~ #progress-container {
        top: 80px; 
        width: 100vw;
        left: 0;
        right: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .site-nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        background-color: var(--primary-darker);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1001;
        align-items: flex-start;
        gap: 30px;
    }
    
    .site-nav.menu-open .nav-links {
        right: 0;
    }
    
    .site-nav.menu-open .mobile-menu-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .site-nav.menu-open .mobile-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    
    .site-nav.menu-open .mobile-menu-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    .site-nav .nav-link {
        font-size: 16px;
        width: 100%;
    }
    
    .site-nav .nav-link.cta {
        margin-top: 20px;
        text-align: center;
    }
    
    /* Hero section */
    header.hero {
        padding: 2rem 0.5rem;
    }
    
    header.hero h1 {
        font-size: 2rem;
    }
    
    header.hero .hero-subheading,
    header.hero .hero-description {
        font-size: 1rem;
    }
    
    header.hero .hero-benefits {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    header.hero .hero-benefit {
        font-size: 0.8rem;
        width: 100%;
        text-align: center;
    }
    
    /* Outros ajustes */
    .problem-item,
    .benefit-card,
    .testimonial {
        padding: 1.25rem;
    }
    
    .price-box {
        padding: 1.5rem;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .cookie-policy {
        padding: 15px;
    }
    
    .cookie-policy table {
        font-size: 14px;
    }
    
    .cookie-policy th, 
    .cookie-policy td {
        padding: 8px 10px;
    }

    .floating-nav {
        inset: auto 0 0;
        width: 100%; /* Garantir que a largura seja 100% da tela */
        transform: none;
        border-radius: 0;
        padding: 5px;
        background: rgb(36 75 103 / 90%);

        /* Importante: garante que não ultrapasse a viewport */
        max-width: 100vw;
        overflow-x: hidden; /* Evita scroll horizontal */
    }
    
    .floating-nav ul {
        display: flex;
        justify-content: space-around;
        width: 100%; /* Garante que a lista ocupe toda a largura disponível */
        padding: 0 10px; /* Adiciona um pequeno padding lateral */
        box-sizing: border-box; /* Garante que o padding não adicione largura extra */
    }
    
    .floating-nav li {
        margin: 0;
        width: auto; /* Permite que os itens tenham tamanho flexível */
        flex: 1; /* Distribui o espaço igualmente */
        text-align: center; /* Centraliza os ícones */
    }
    
    .floating-nav a {
        width: 35px; /* Reduz um pouco o tamanho em mobile */
        height: 35px;
        margin: 0 auto; /* Centraliza horizontalmente */
        line-height: 35px; /* Ajusta a linha vertical também */
    }

    /* Responsividade para o infográfico */

    .infographic-container {
        flex-direction: column;
        align-items: center;
    }
    
    .infographic-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
    
    .infographic-step {
        width: 80%;
        max-width: none;
    }
}

/* Para tablets e desktop */
@media (width >= 768px) {
    h1 {
        font-size: 3rem;
    }
    
    section {
        padding: 4rem 2rem;
    }
    
    .therapist {
        flex-direction: row;
        text-align: left;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-track {
        gap: 1rem;
    }
    
    .benefit-card {
        min-width: 280px;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .problem-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .problem-item {
        margin-bottom: 0;
        height: 100%;
    }
}

/* Para dispositivos touch */
@media (hover: none) {
    .benefits-track {
        padding: 1rem 0.25rem 1.5rem;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
    
    .nav-button {
        width: 45px;
        height: 45px;
    }
}

/* Para telas muito pequenas */
@media (width <= 480px) {
    .logo-container img {
        max-width: 180px;
    }
    
    .price-amount {
        font-size: 2.2rem;
    }
    
    .cta-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Preferências do usuário */
@media (prefers-contrast: more) {
    :root {
        --primary: #1A3C56;
        --secondary: #7EAE9F;
        --accent: #D38A29;
        --dark: #000;
        --light: #FFF;
    }
    
    body {
        line-height: 1.8;
    }
    
    a, button {
        text-decoration: underline;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01s !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------
# 7. ANIMAÇÕES
-------------------------------------------------------------- */

/* Animação de brilho para botões */
@keyframes shine {
    100% {
        transform: translateX(100%);
    }
}

/* Animações de fade in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animação de skeleton loading */
@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Adicionando delays para criar um efeito cascata na animação */
section:nth-child(2) {
    animation-delay: 0.1s;
}

section:nth-child(3) {
    animation-delay: 0.2s;
}

section:nth-child(4) {
    animation-delay: 0.3s;
}

section:nth-child(5) {
    animation-delay: 0.4s;
}