﻿
/*
=================================================================
  ESTILOS OTIMIZADOS - ALICE SANTOS PSICOLOGIA
  Versão: 4.2 Final (Corrigida e Otimizada)
=================================================================
*/

/* =============================================== */
/*  1. VARIÁVEIS CSS E CONFIGURAÇÕES GLOBAIS      */
/* =============================================== */
:root {
    /* Paleta Elegante e Profissional - Psicologia */
    --primary-color: #4A6FA5; /* Azul sereno e confiável */
    --primary-dark: #2E4A6F;  /* Azul profundo */
    --secondary-color: #89B5A8; /* Verde-azulado suave */
    --accent-color: #C4A57B; /* Dourado suave/bege elegante */
    
    /* Cores de Fundo */
    --bg-color: #F8F9FA; /* Off-white suave */
    --secondary-bg: #E8EEF2; /* Azul muito claro */
    --light-gray-bg: #F0F4F7; /* Cinza azulado claro */
    --white-color: #FFFFFF; /* Branco puro */
    
    /* Cores de Texto */
    --text-color: #2C3E50; /* Cinza azulado escuro */
    --heading-color: #2E4A6F; /* Azul profundo */
    
    /* Tipografia */
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Layout */
    --header-height: 80px;
    --container-max-width: 1120px;
    --border-radius: 8px;
    
    /* Efeitos */
    --shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
    --shadow-hover: 0 15px 40px -15px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --transition-slow: all 0.5s ease
}

/* Tema Escuro - Elegante e Profissional */
body.dark-mode {
    --bg-color: #1A1F2E; /* Azul marinho profundo */
    --secondary-bg: #252D3F; /* Azul ardósia escuro */
    --light-gray-bg: #2A3447; /* Azul médio escuro */
    --white-color: #2A3447; /* Azul médio para cards */
    --text-color: #E4E8EC; /* Texto claro suave */
    --heading-color: #F0F4F7; /* Títulos claros */
    --primary-color: #7BA3CC; /* Azul claro suave */
    --primary-dark: #5A7FA8; /* Azul médio */
    --secondary-color: #89B5A8; /* Verde-azulado suave */
    --accent-color: #D4B896; /* Dourado claro */
    --shadow: 0 10px 30px -15px rgba(0,0,0,0.6);
    --shadow-hover: 0 15px 40px -15px rgba(0,0,0,0.7);
}


/* Reset e Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    line-height: 1.7;
    background-color: var(--bg-color);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.4s ease, color 0.4s ease;
    margin: 0;
    padding: 0;
    border: 0;
    overflow-x: hidden;
}

main {
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
    top: 0;
}

/* Transições suaves para elementos ao mudar tema */
section,
.process-step,
.publication-item,
.testimonial-card,
.tip-card,
.faq-item,
.video-container,
.reel-card {
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

body.no-scroll {
    overflow: hidden;
}

/* =============================================== */
/*  ESTILOS DE ACESSIBILIDADE                     */
/* =============================================== */

/* Melhora o foco visível para navegação por teclado */
*:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Remove outline apenas para mouse (mantém para teclado) */
*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* Skip to main content link para acessibilidade */
.skip-to-main {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 0;
}

/* Melhora contraste de texto em botões */
.btn-primary {
    color: #fff !important;
}

/* Garante que inputs tenham contraste adequado */
input, textarea, select {
    border: 2px solid #999;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary-color);
}

/* Melhor visibilidade para leitores de tela */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Garante tamanho mínimo para touch targets (44x44px) */
button, a, input[type="checkbox"], input[type="radio"] {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Exceção para inline text links */
p a, span a, li a {
    min-width: auto;
    min-height: auto;
    display: inline;
}

/* Melhora contraste em modo escuro */
body.dark-mode {
    color: #e8eaed;
}

body.dark-mode a {
    color: #7ec8a3;
}

body.dark-mode .btn-primary {
    background-color: #5dbf9a;
    color: #1a1f2e;
    font-weight: 600;
}

body.dark-mode .btn-primary:hover {
    background-color: #4a9b7f;
    color: #fff;
}

/* Cards e seções no modo escuro */
body.dark-mode .process-step,
body.dark-mode .publication-item,
body.dark-mode .testimonial-card,
body.dark-mode .tip-card {
    background-color: var(--white-color);
    border-color: var(--accent-color);
}

body.dark-mode .process-step:hover,
body.dark-mode .publication-item:hover,
body.dark-mode .tip-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

body.dark-mode .slider-dots .dot {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .slider-dots .dot.active {
    background: var(--primary-color);
    width: 16px !important;
    border-radius: 2px;
}

body.dark-mode .testimonials-nav-btn {
    background: var(--secondary-bg);
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

body.dark-mode .testimonials-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.5);
}

body.dark-mode .testimonial-card {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, #2A3447 100%);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

body.dark-mode .testimonial-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

body.dark-mode .testimonial-text {
    color: #e8eaed;
}

body.dark-mode .testimonial-author h4 {
    color: var(--white-color);
}

/* Inputs no modo escuro */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
    background-color: var(--light-gray-bg);
    border-color: var(--accent-color);
    color: var(--text-color);
}

body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
    background-color: var(--white-color);
    border-color: var(--primary-color);
}

/* Links no modo escuro */
body.dark-mode .publication-link,
body.dark-mode .main-footer a {
    color: #7ec8a3;
}

body.dark-mode .publication-link:hover,
body.dark-mode .main-footer a:hover {
    color: #5dbf9a;
}

/* Dark mode para seções específicas */
body.dark-mode .interviews-section,
body.dark-mode .reels-section {
    background-color: #1a1f2e;
}

body.dark-mode .formations-section {
    background-color: #1a1f2e;
}

body.dark-mode .formations-section h2,
body.dark-mode .formations-section h3,
body.dark-mode .formations-section h4 {
    color: #e8eaed;
}

body.dark-mode .course-main-card {
    background-color: #2a3447;
    border-color: #3a4557;
}

body.dark-mode .course-main-card p,
body.dark-mode .course-meta {
    color: #e8eaed;
}

body.dark-mode .timeline li {
    border-color: #3a4557;
}

body.dark-mode .timeline li p,
body.dark-mode .timeline li strong {
    color: #e8eaed;
}

body.dark-mode .timeline::before {
    background-color: #5dbf9a;
}

body.dark-mode .reel-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

body.dark-mode .interviews-section h2,
body.dark-mode .interviews-section .reveal h2 {
    color: #e8eaed;
}

body.dark-mode .interviews-subtitle,
body.dark-mode .reels-subtitle {
    color: #b8bdc4;
}

body.dark-mode .reel-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Dark mode para o card de público-alvo no About */
body.dark-mode [role="note"][aria-label="Público atendido"] {
    background-color: #2a3447 !important;
    border-left-color: #5dbf9a !important;
}

body.dark-mode [role="note"][aria-label="Público atendido"] p {
    color: #e8eaed !important;
}

/* Indicadores visuais para estados desabilitados */
button:disabled, input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Transições reduzidas para usuários com preferências de movimento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Tipografia */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--heading-color);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(3.2rem, 5vw, 5.2rem); }
h2 { font-size: clamp(2.8rem, 4vw, 4rem); text-align: center; margin-bottom: 5rem; }
h3 { font-size: clamp(2rem, 3vw, 2.4rem); }
h4 { font-size: 1.8rem; font-weight: 600; }

/* Layout Base */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    overflow: hidden;
}

/* =============================================== */
/*  2. COMPONENTES REUTILIZÁVEIS                   */
/* =============================================== */

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.spinner {
    border: 4px solid var(--secondary-bg);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.4rem 3.2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.6rem;
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    user-select: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Estilo para botões desabilitados do quiz, melhorando a UX. */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn:disabled:hover {
    background-color: var(--primary-color); /* Garante que a cor não mude no hover */
    color: #fff;
}
.btn-secondary:disabled:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Botão Voltar ao Topo */
#back-to-top {
    position: fixed;
    bottom: 3rem;
    right: 3rem;
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    z-index: 1000;
    text-decoration: none;
    border: none;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

#back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

#back-to-top:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}


/* =============================================== */
/*  3. ANIMAÇÕES E EFEITOS                         */
/* =============================================== */

/* Animação de Revelação */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Efeito do Cursor Personalizado */
.cursor-icon {
    position: fixed;
    pointer-events: none;
    z-index: 1001;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.4rem;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    transform: scale(1);
    opacity: 1;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* 4. HEADER E NAVEGAÇÃO */

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    background: transparent;
    backdrop-filter: none;
    border: none;
    border-top: none;
    border-bottom: none;
    margin: 0;
    padding: 0;
    box-shadow: none;
}

.main-header.scrolled {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Header no modo escuro */
body.dark-mode .main-header {
    background-color: rgba(26, 31, 46, 0.7);
}

body.dark-mode .main-header.scrolled {
    background-color: rgba(26, 31, 46, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body.dark-mode .main-header #nav-list a {
    color: #E4E8EC;
}

body.dark-mode .main-header.scrolled #nav-list a {
    color: #E4E8EC;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    padding: 0 3rem; /* Increased padding for a more spacious look */
}

/* Logo */
.logo {
    font-family: var(--font-primary);
    font-size: 2.5rem; /* Increased size for impact */
    color: #fff;
    text-decoration: none;
    font-weight: 900; /* Bolder weight for professionalism */
    transition: color 0.3s ease, text-shadow 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase; /* Uppercase for a striking effect */
    letter-spacing: 1px; /* Slight spacing for elegance */
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.main-header.scrolled .logo {
    color: var(--heading-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Hamburger Icon */
#menu-toggle {
    display: block;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: var(--transition);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

.main-header.scrolled .hamburger,
.main-header.scrolled .hamburger::before,
.main-header.scrolled .hamburger::after {
    background-color: var(--heading-color);
}

#menu-toggle.active .hamburger {
    background-color: transparent;
}

#menu-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
}

#menu-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
    transition: color 0.3s ease, transform 0.3s ease;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.main-header.scrolled .theme-toggle-btn {
    color: var(--heading-color);
}

.theme-toggle-btn:hover {
    color: var(--primary-color);
    transform: rotate(180deg) scale(1.1);
}

.theme-toggle-btn i {
    margin: 0;
    transition: transform 0.3s ease;
}

/* Animação ao trocar de tema */
body.dark-mode .theme-toggle-btn i {
    color: #f4d03f;
}

/* Menu Mobile Overlay */
.main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-color);
    transform: translateX(-100%);
    transition: transform 0.4s ease-in-out;
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
}

.main-nav.active {
    transform: translateX(0);
}

#nav-list {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#nav-list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    display: block;
    position: relative;
}

#nav-list li:last-child {
    border-bottom: none;
}

#nav-list > li > a {
    text-decoration: none;
    color: var(--heading-color);
    font-size: 1.8rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    width: 100%;
    transition: color 0.3s ease;
    box-sizing: border-box;
    background: none;
}

#nav-list > li > a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: transform 0.3s ease;
    transform-origin: center;
    transform: scaleX(0);
}

#nav-list > li > a:hover::after,
#nav-list > li > a:focus::after {
    transform: scaleX(1);
}

#nav-list a:hover {
    background-color: transparent;
}

/* Dropdown Styles for Mobile */
#nav-list .has-dropdown {
    position: relative;
}

.dropdown-icon {
    font-size: 1.4rem;
    margin-right: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    background-color: rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 100%;
    flex-direction: column;
}

.dropdown-menu.show {
    display: flex;
}

.dropdown-menu li {
    border-bottom: none;
    padding-left: 3rem;
    width: 100%;
}

.dropdown-menu a {
    font-size: 1.6rem;
    padding: 1.2rem 2rem;
    color: var(--text-color);
    font-weight: 400;
    display: block;
    transition: background-color 0.3s ease;
    width: 100%;
    text-align: left;
}

.dropdown-menu a:hover {
    background-color: var(--secondary-bg);
    color: var(--primary-color);
}

body.dark-mode .dropdown-menu {
    background-color: rgba(26, 31, 46, 0.98);
    border-color: #3a4557;
}

body.dark-mode .dropdown-menu li {
    background-color: transparent;
}

body.dark-mode .dropdown-menu a {
    color: #e8eaed !important;
}

body.dark-mode .dropdown-menu a:hover {
    background-color: rgba(93, 191, 154, 0.15);
    color: #7ec8a3 !important;
}

/* Toggle Active State */
.dropdown-toggle.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Mobile-Specific Adjustments */
@media (max-width: 767px) {
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        min-width: auto;
    }
}

/* Desktop Navigation */
@media (min-width: 768px) {
    #menu-toggle { display: none; }
    .main-nav { 
        display: block !important; 
        position: static; 
        transform: none; 
        height: auto; 
        width: auto; 
        background: transparent; 
        overflow-y: visible; 
    }
    #nav-list { 
        flex-direction: row; 
        gap: 3rem; /* Increased gap for better spacing */
        align-items: center; 
        text-align: left; 
        padding: 0; 
        width: auto; 
    }
    #nav-list li { 
        border-bottom: none; 
        width: auto; 
        position: relative; 
    }
    #nav-list a { 
        font-size: 1.6rem; /* Slightly larger font for readability */
        color: #fff; 
        padding: 0.6rem 0; /* Adjusted padding for balance */
        display: inline-block; 
        width: auto; 
        background: none; 
        position: relative; 
        font-weight: 500; /* Moderate weight for professionalism */
    }
    .main-header.scrolled #nav-list a { 
        color: var(--heading-color); 
    }
    .main-nav a::after {
        content: '';
        position: absolute;
        width: 0; /* Start hidden */
        height: 3px; /* Thicker underline for impact */
        bottom: -5px;
        left: 50%;
        background-color: var(--primary-color);
        transition: width 0.4s ease, left 0.4s ease;
        transform-origin: center;
    }
    .main-nav a:hover::after,
    .main-nav a:focus::after {
        width: 100%;
        left: 0;
    }
    .main-nav a:hover,
    .main-nav a:focus {
        background: none;
    }
    .has-dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px); /* Adjusted for smoother alignment */
    }
    .has-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(10px);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s ease 0.3s;
        background-color: var(--white-color);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Softer shadow */
        border-radius: 6px; /* Rounded corners */
        padding: 0.8rem 0; /* Adjusted padding */
        min-width: 200px; /* Slightly narrower for elegance */
        border: none; /* Removed border for modern look */
        list-style: none;
    }
    .dropdown-menu a {
        color: var(--text-color) !important;
        padding: 0.8rem 1.5rem; /* Adjusted padding for consistency */
        font-size: 1.4rem;
        display: block;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    .dropdown-menu a:hover {
        background-color: var(--secondary-bg);
        color: var(--primary-color);
    }
}
/* =============================================== */
/*  5. SEÇÕES PRINCIPAIS                           */
/* =============================================== */

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #6B93C0 0%, #89B5A8 50%, #C4A57B 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: background 0.5s ease;
    margin: 0 !important;
    padding: 0;
    border: 0;
    margin-top: calc(-1 * var(--header-height)) !important;
    padding-top: var(--header-height);
}

/* Hero Section no modo escuro */
body.dark-mode .hero-section {
    background: linear-gradient(135deg, #1A2842 0%, #2A3F52 50%, #3D4F5E 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: url('../assets/images/logo_alice_santos.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    z-index: 2;
    position: relative;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.2;
    font-family: var(--font-primary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Indicador de Scroll - Novo Design */
.scroll-down-indicator {
    position: absolute !important;
    bottom: 4rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 100 !important;
    opacity: 1 !important;
    transition: opacity 0.4s ease-out;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    visibility: visible !important;
    text-decoration: none !important;
}

.scroll-down-indicator.hidden {
    opacity: 0 !important;
    pointer-events: none;
}

.scroll-down-indicator:hover {
    transform: translateX(-50%) translateY(5px);
    transition: all 0.3s ease;
}

/* Container das setas animadas */
.mouse-icon {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: -0.5rem;
}

/* Setas duplas animadas */
.scroll-wheel {
    display: block !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 1.5rem solid transparent !important;
    border-right: 1.5rem solid transparent !important;
    border-top: 1.5rem solid rgba(255, 255, 255, 0.9) !important;
    animation: scroll-bounce 2s infinite;
}

.scroll-wheel:nth-child(2) {
    margin-top: -1rem;
    border-top-color: rgba(255, 255, 255, 0.7) !important;
    animation-delay: 0.3s;
}

@keyframes scroll-bounce {
    0%, 100% {
        opacity: 0;
        transform: translateY(-1rem);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Texto sugestivo (opcional) */
.scroll-down-indicator::after {
    content: 'Role para explorar';
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-weight: 500;
    margin-top: 0.5rem;
    animation: fade-pulse 2s infinite;
}

@keyframes fade-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

/* Dark mode */
body.dark-mode .scroll-down-indicator::after {
    color: rgba(255, 255, 255, 0.9);
}

/* Seção Sobre */
.about-section {
    background-color: var(--light-gray-bg);
}

.about-section .content-grid {
    display: grid;
    align-items: center;
    gap: 5rem;
    grid-template-columns: 1fr;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-image {
    width: 100%;
    height: 100%; /* Adicione esta linha */
    object-fit: cover; /* Adicione esta linha para corrigir a proporção */
    border-radius: var(--border-radius);
    display: block;
}
.about-text .credential {
    display: block;
    margin-top: 2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Seção Processo */
.process-section {
    background-color: var(--bg-color);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
}

.process-step {
    border: 1px solid var(--secondary-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.process-step .process-number {
    font-size: 6rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.process-step h3 {
    margin: 1rem 0;
}

/* Seção Publicações */
.publications-section {
    background-color: var(--bg-color);
}

.publications-list {
    display: grid;
    gap: 3rem;
}

.publication-item {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 5px solid var(--primary-color);
    transition: var(--transition);
}

.publication-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.publication-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

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

.publication-type {
    display: inline-block;
    background-color: var(--secondary-bg);
    color: var(--text-color);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.publication-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s;
}

.publication-link:hover {
    transform: translateX(5px);
}

.publication-link i {
    margin-left: 0.5rem;
}

/* Seções de Reels */
.reels-section {
    background-color: var(--light-gray-bg);
}

.reels-carousel {
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}

.reels-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.reels-track .reel-card {
    flex: 0 0 calc(33.333% - 1.4rem);
    min-width: 280px;
}

.reel-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    aspect-ratio: 9 / 16;
    transition: var(--transition);
}

.reel-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.reel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.reel-card:hover img {
    transform: scale(1.1);
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.reel-card:hover .reel-overlay {
    opacity: 1;
}

.reel-overlay i {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.reel-overlay span {
    color: #fff;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Seção Depoimentos */
.testimonials-section {
    background-color: var(--light-gray-bg);
    padding: 8rem 0;
}

/* Container principal com as setas nas laterais */
.testimonials-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.slider-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.testimonials-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.testimonial-card {
    flex: 0 0 100%;
    background: linear-gradient(135deg, var(--white-color) 0%, #f8f9fa 100%);
    padding: 5rem 4rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    min-height: 350px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Ícone de aspas decorativo */
.quote-icon {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.3);
}

.quote-icon i {
    font-size: 2rem;
    color: var(--white-color);
}

/* Texto do depoimento */
.testimonial-text {
    font-size: 1.9rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin: 6rem 0 3rem 0;
    font-weight: 400;
    position: relative;
}

/* Autor do depoimento */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), #d4af37);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.author-avatar i {
    font-size: 2rem;
    color: var(--white-color);
}

.testimonial-author h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--heading-color);
    margin: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 3rem;
    padding: 1rem 0;
    width: 100%;
}

.slider-dots .dot {
    width: 4px !important;
    height: 4px !important;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    flex-shrink: 0;
    min-width: 4px;
    min-height: 4px;
}

.slider-dots .dot.active {
    background: var(--primary-color);
    width: 16px !important;
    border-radius: 2px;
}

/* Botões de navegação lateral */
.testimonials-nav-btn {
    background: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    min-width: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.2);
    flex-shrink: 0;
    z-index: 10;
}

.testimonials-nav-btn:hover {
    background: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(52, 152, 219, 0.4);
}

.testimonials-nav-btn:active {
    transform: scale(1.05);
}

.testimonials-nav-btn i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.testimonials-nav-btn:hover i {
    transform: scale(1.1);
}

.testimonials-prev:hover i {
    animation: slideLeft 0.6s ease-in-out infinite;
}

.testimonials-next:hover i {
    animation: slideRight 0.6s ease-in-out infinite;
}

@keyframes slideLeft {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-5px); }
}

@keyframes slideRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Seção Dicas */
.tips-section {
    background-color: var(--secondary-bg);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.tip-card {
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: opacity 0.4s, transform 0.4s;
}

.tip-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Seção Entrevistas */
.interviews-section {
    background-color: var(--light-gray-bg);
}

.interviews-subtitle {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: 1.8rem;
    opacity: 0.9;
}

.interviews-carousel {
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
}

.interviews-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.interviews-track .video-container {
    flex: 0 0 calc(33.333% - 1.4rem);
    min-width: 280px;
    position: relative;
    padding-bottom: 0;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: #000;
}

.interviews-track .video-container:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

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

/* Placeholder de vídeo para lazy loading */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s ease;
}

.video-placeholder:hover::before {
    background: rgba(0,0,0,0.5);
}

.video-play-btn {
    position: relative;
    z-index: 2;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

.video-play-btn:hover {
    transform: scale(1.1);
}

.video-play-btn svg {
    width: 68px;
    height: 48px;
}

/* Loading state */
.video-container.loading {
    background: #000;
}

.video-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 4.5rem;
    height: 4.5rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--white-color);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn i {
    font-size: 2rem;
    color: var(--heading-color);
}

#prev-slide { left: -2.25rem; }
#next-slide { right: -2.25rem; }

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Seção FAQ */
.faq-section {
    background-color: var(--bg-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--secondary-bg);
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    cursor: pointer;
    transition: var(--transition);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    outline: none;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-question span {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    flex: 1;
    text-align: left;
}

.faq-question:hover span {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 1rem;
    flex-shrink: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0;
}

.faq-answer p {
    padding: 0 0 2rem 0;
    margin: 0;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 1rem 0 0 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-question span {
    color: var(--primary-color);
}

/* Seção Contato */
.contact-section {
    background: var(--secondary-bg);
}

.contact-form {
    max-width: 700px;
    margin: 4rem auto 0;
}

.form-group {
    margin-bottom: 2.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.5rem;
    border: 2px solid #ccc;
    border-radius: var(--border-radius);
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    background: var(--white-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 94, 123, 0.1);
}

/* Estados de validação */
.form-group input.error,
.form-group textarea.error {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.form-group input.error:focus,
.form-group textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #27ae60;
}

/* Mensagem de erro do campo */
.field-error {
    display: block;
    color: #e74c3c;
    font-size: 1.3rem;
    margin-top: 0.5rem;
    font-weight: 500;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Ícones de validação */
.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2327ae60' viewBox='0 0 16 16'%3E%3Cpath d='M13.485 3.515a1 1 0 011.414 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L6 10.586l7.485-7.071z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    background-size: 2rem;
    padding-right: 4.5rem;
}

.form-group textarea:valid:not(:placeholder-shown) {
    background-position: right 1.5rem top 1.5rem;
}

.contact-form button {
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* Animação de loading no botão */
.contact-form button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.contact-form button:disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Status do Formulário */
.form-status {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: none;
}

.form-status.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.form-status.success {
    background-color: #e0f5e9;
    color: var(--primary-dark);
}

.form-status.error {
    background-color: #fde2e2;
    color: #9d2b2b;
}

/* =============================================== */
/*  6. FOOTER E WIDGETS                            */
/* =============================================== */

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: #e0e0e0;
    padding: 4rem 0;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Footer no modo escuro */
body.dark-mode .main-footer {
    background-color: #141922;
    color: #b0b8c4;
    border-top: 1px solid var(--accent-color);
}

.main-footer p a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.7);
    transition: color 0.3s, border-bottom-color 0.3s;
}

.main-footer p a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

body.dark-mode .main-footer p a {
    color: #7ec8a3;
}

body.dark-mode .main-footer p a:hover {
    color: #5dbf9a;
}

.social-links a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 2.4rem;
    margin: 0 1.5rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

body.dark-mode .social-links a {
    color: #b0b8c4;
}

body.dark-mode .social-links a:hover {
    color: #5dbf9a;
}

/* -- CORREÇÃO FINAL -- Assegura que cada botão flutuante tenha sua própria posição definida. */

/* Widget WhatsApp */
.wa-chat-button {
    position: fixed;
    bottom: 3rem;
    left: 3rem;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3.2rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wa-chat-button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

/* Dark mode para o botão WhatsApp */
body.dark-mode .wa-chat-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.wa-chat-widget {
    position: fixed;
    bottom: 10rem;
    left: 3rem;
    width: 340px;
    max-width: 90vw;
    background-color: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

body.dark-mode .wa-chat-widget {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
}

body.dark-mode .chat-body {
    background-color: #2a3447;
}

body.dark-mode .chat-message {
    background-color: #1a1f2e;
    color: #e8eaed;
}

.wa-chat-widget.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chat-header {
    background-color: var(--primary-color);
    color: #fff;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.header-info h4 {
    color: #fff;
    font-size: 1.6rem;
    margin: 0;
}

.header-info span {
    font-size: 1.2rem;
    opacity: 0.8;
}

.chat-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
}

.chat-body {
    height: 400px;
    padding: 1.5rem;
    overflow-y: auto;
}

.chat-message {
    background-color: var(--secondary-bg);
    padding: 1rem 1.5rem;
    border-radius: 1.5rem;
    border-bottom-left-radius: 0;
    max-width: 80%;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(10px);
    animation: fade-in-up 0.5s forwards;
}

@keyframes fade-in-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message p {
    margin: 0;
    line-height: 1.5;
}

.typing-indicator {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.typing-indicator span {
    height: 8px;
    width: 8px;
    margin: 0 2px;
    background-color: #ccc;
    border-radius: 50%;
    animation: typing-bubble 1.4s infinite both;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bubble {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* Botão de Música */
.music-toggle-btn {
    position: fixed;
    bottom: 3rem;
    right: 3rem; /* <-- Posição na direita */
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    border: none;
    display: flex;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

body.dark-mode .music-toggle-btn {
    background-color: #5dbf9a;
    align-items: center;
    font-size: 2.4rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    z-index: 999;
    transition: var(--transition);
}

/* Quando o botão de topo aparece, o de música sobe para não haver sobreposição. */
.music-toggle-btn.raised {
    bottom: 9.5rem;
}

.music-toggle-btn:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
}

.music-toggle-btn .icon-pause {
    display: none;
}

.music-toggle-btn.playing .icon-spotify {
    display: none;
}

.music-toggle-btn.playing .icon-pause {
    display: block;
}

/* Player Spotify */
.spotify-player-container {
    position: fixed;
    bottom: 3rem;
    right: 10rem;
    width: 300px;
    z-index: 998;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.spotify-player-container.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* =============================================== */
/*  7. SEÇÃO DE TESTE DE AUTOAVALIAÇÃO             */
/* =============================================== */
.assessment-section {
    padding: 8rem 0;
    background: var(--bg-color);
    position: relative;
}

.assessment-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.assessment-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.assessment-form {
    padding: 0;
}

.progress-bar {
    background: var(--secondary-bg);
    height: 8px;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    text-align: right;
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: 500;
    padding: 1rem 2rem 2rem;
}

.question-card {
    display: none;
    padding: 2rem 4rem 4rem;
    animation: fadeIn 0.3s ease;
}

.question-card.active { display: block; }
.question-title { margin-bottom: 3rem; }

.question-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.option-label {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--secondary-bg);
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-label:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.option-label input[type="radio"]:checked + .option-text {
    font-weight: 600;
}

.option-label:has(input[type="radio"]:checked) {
    border-color: var(--primary-color);
    background-color: var(--light-gray-bg);
}

/* Navegação do Quiz */
.question-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3rem 4rem;
    background: var(--secondary-bg);
    border-top: 1px solid #ddd;
}

/* Resultado */
.assessment-result {
    padding: 4rem;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.result-header { margin-bottom: 3rem; }
.result-icon { font-size: 4rem; color: var(--primary-color); }
.result-score { display: flex; align-items: baseline; justify-content: center; gap: 1rem; margin-bottom: 2rem; }
.score-value { font-size: 3rem; font-weight: 700; color: var(--primary-color); }
.level-badge { display: inline-block; padding: 1rem 2rem; border-radius: 50px; font-weight: 600; color: #fff; }
.level-badge.low { background: #e74c3c; }
.level-badge.moderate { background: #f39c12; }
.level-badge.high { background: #27ae60; }
.result-content { text-align: left; margin: 3rem 0; }
.result-suggestion { background: var(--secondary-bg); padding: 2rem; border-radius: var(--border-radius); border-left: 4px solid var(--accent-color); margin-top: 2rem; }
.result-actions { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================== */
/*  9. NAVEGAÇÃO COM DROPDOWN (CORREÇÃO FINAL)     */
/* =============================================== */

/* Estilo para o item <li> que contém um dropdown */
#nav-list .has-dropdown {
    position: relative; /* Essencial para o posicionamento do menu filho */
}

/* Ícone de seta para baixo */
.dropdown-icon {
    font-size: 1.1rem;
    margin-left: 0.6rem;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle; /* Alinha a seta com o texto */
}

/* O menu dropdown em si (escondido por padrão) */
.dropdown-menu {
    display: none;
    position: absolute;
    /* Posição e Animação */
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px); /* Começa um pouco abaixo e centralizado */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    
    /* Estilo */
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    padding: 1rem 0;
    list-style: none;
    z-index: 1001;
    min-width: 220px;
    border: 1px solid #f0f0f0;
}

body.dark-mode .dropdown-menu {
    background-color: rgba(26, 31, 46, 0.98);
    border-color: #3a4557;
    box-shadow: 0 5px 20px rgba(0,0,0,0.7);
}

body.dark-mode .dropdown-menu li {
    background-color: transparent;
}

body.dark-mode .dropdown-menu a {
    color: #e8eaed !important;
}

body.dark-mode .dropdown-menu a:hover {
    background-color: rgba(93, 191, 154, 0.15);
    color: #7ec8a3 !important;
}

/* Itens e Links dentro do dropdown */
.dropdown-menu li {
    padding: 0;
	  background-color: rgba(255,255,255,0.9);
    margin: 0;
    width: 100%;
    border-bottom: none; /* Remove a borda dos itens do menu principal */
}

.dropdown-menu a {
    color: var(--text-color) !important; /* Garante a cor correta */
    padding: 2rem 2rem;
    display: block;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    font-size: 1.4rem;
    font-weight: 400;
}

.dropdown-menu a::after {
    content: none; /* Remove a linha de animação dos links do dropdown */
}

.dropdown-menu a:hover {
    background-color: var(--secondary-bg);
    color: var(--primary-color) !important;
}

body.dark-mode .dropdown-menu a:hover {
    background-color: rgba(93, 191, 154, 0.15);
    color: #7ec8a3 !important;
}




.dropdown-menu a {
    text-decoration: none !important;
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-color) !important;
    font-size: 1.4rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 0 0.5rem;
    border-radius: 4px;
}

/* Remove qualquer pseudo-elemento de sublinhado */
.dropdown-menu a::after,
.dropdown-menu a::before {
    content: none !important;
}

/* Garante que nenhum estado tenha sublinhado */
.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a:active {
    text-decoration: none !important;
}

/* =============================================== */
/*  REGRAS RESPONSIVAS PARA O DROPDOWN             */
/* =============================================== */

/* Para Desktop (Telas maiores que 768px) */
@media (min-width: 768px) {
    .has-dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0); /* Posição final da animação */
    }
    .has-dropdown:hover .dropdown-icon {
        transform: rotate(180deg);
    }
}

/* Para Mobile (Telas menores que 767px) */
@media (max-width: 767px) {
    #nav-list > li > a { /* Garante que o dropdown toggle tenha o flexbox */
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .dropdown-toggle.active .dropdown-icon {
        transform: rotate(180deg);
    }
    .dropdown-menu {
        position: static;
        display: none;
        background-color: rgba(0,0,0,0.02);
        box-shadow: none;
        border: none;
        border-top: 1px solid rgba(0,0,0,0.1);
        padding: 0.5rem 0 0.5rem 2rem; /* Indentação */
        transform: none; /* Reseta transformações */
        opacity: 1;
        visibility: visible;
        min-width: auto;
    }
    .dropdown-menu.show {
        display: block;
    }
    .dropdown-menu a {
        font-size: 1.6rem;
        padding: 1.2rem 2rem;
    }
}

/* =============================================== */
/*  8. MEDIA QUERIES RESPONSIVAS                   */
/* =============================================== */

@media (min-width: 768px) {
    #menu-toggle { display: none; }
    .main-nav { display: block !important; position: static; transform: none; height: auto; width: auto; background: transparent; overflow-y: visible; }
    #nav-list { flex-direction: row; gap: 2rem; align-items: center; text-align: left; padding: 0; width: auto; }
    #nav-list li { border-bottom: none; width: auto; }
    #nav-list a { font-size: 1.4rem; color: #fff; padding: 0.5rem 0; display: inline-block; width: auto; }
    .main-header.scrolled #nav-list a { color: var(--heading-color); }
    .about-section .content-grid { grid-template-columns: 350px 1fr; }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .video-container { flex: 0 0 calc(50% - 1rem); }
    .contact-form button { width: auto; }
     .main-footer .container {
        display: flex;
        flex-direction: column; /* Empilha os itens verticalmente */
        justify-content: center; /* Centraliza na vertical */
        align-items: center;     /* Centraliza na horizontal */
        gap: 2rem;   
                 }            /* Adiciona um espaço entre o texto e os ícones */
    .main-footer p {
        margin-bottom: 0;
    }
    .main-footer p { margin-bottom: 0; }
}

@media (min-width: 1024px) {
    .video-container { flex: 0 0 calc(33.33% - 1.4rem); }
}

@media (max-width: 992px) {
    .interviews-track .video-container {
        flex: 0 0 calc(50% - 1rem);
        min-width: 250px;
    }
    
    .reels-track .reel-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    /* Otimizações gerais mobile */
    html {
        font-size: 56.25%; /* 9px base para texto menor em mobile */
    }
    
    section { 
        padding: 5rem 0; 
    }
    
    .container {
        padding: 0 1.5rem;
    }
    
    /* Hero section mobile */
    .hero-content h1 {
        font-size: 3.2rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1.8rem;
    }
    
    /* Ajustes de espaçamento */
    h2 {
        margin-bottom: 3rem;
    }
    
    /* Melhor espaçamento para cards */
    .process-grid,
    .tips-grid,
    .reels-grid {
        gap: 2rem;
    }
    
    .tip-card,
    .process-step,
    .publication-item {
        padding: 2rem;
    }
    
    /* Botões maiores para touch */
    .btn {
        padding: 1.6rem 3rem;
        font-size: 1.8rem;
        min-height: 54px; /* Maior área de toque */
    }
    
    /* Menu mobile otimizado */
    #nav-list li a {
        padding: 1.8rem 2rem;
        font-size: 2rem;
    }
    
    /* FAQ mobile melhorado */
    .faq-question span {
        font-size: 1.7rem;
        line-height: 1.4;
    }
    
    .faq-answer p {
        font-size: 1.5rem;
    }
    
    /* Formulário mobile otimizado */
    .form-group input,
    .form-group textarea {
        padding: 1.8rem;
        font-size: 1.8rem;
    }
    
    /* Depoimentos mobile */
    .testimonials-section {
        padding: 5rem 0;
    }

    .testimonials-container {
        flex-direction: column;
        gap: 2rem;
    }

    .testimonials-nav-btn {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .testimonials-nav-btn i {
        font-size: 1.5rem;
    }

    /* Reorganizar para mobile: setas embaixo */
    .testimonials-container {
        flex-direction: column;
    }

    .slider-wrapper {
        order: 1;
        width: 100%;
    }

    .testimonials-prev {
        order: 2;
    }

    .testimonials-next {
        order: 3;
    }

    /* Container para as setas ficarem lado a lado no mobile */
    .testimonials-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-rows: auto auto;
        gap: 2rem;
        align-items: center;
    }

    .slider-wrapper {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .testimonials-prev {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
    }

    .testimonials-next {
        grid-column: 3;
        grid-row: 2;
        justify-self: center;
    }

    .slider-dots {
        grid-column: 2;
        grid-row: 2;
        margin-top: 0;
    }

    .testimonial-card {
        padding: 4rem 2.5rem;
        min-height: 320px;
    }

    .quote-icon {
        width: 60px;
        height: 60px;
        top: 2.5rem;
    }

    .quote-icon i {
        font-size: 1.8rem;
    }

    .testimonial-text {
        font-size: 1.7rem;
        margin: 5.5rem 0 2.5rem 0;
    }

    .author-avatar {
        width: 45px;
        height: 45px;
    }

    .author-avatar i {
        font-size: 1.8rem;
    }

    .testimonial-author h4 {
        font-size: 1.6rem;
    }
    
    /* Widgets flutuantes */
    .wa-chat-widget { 
        left: 1.5rem; 
        right: 1.5rem;
        bottom: 8.5rem; 
        width: auto;
        max-width: none;
    }
    
    .spotify-player-container { 
        right: 1.5rem; 
        left: 1.5rem;
        width: auto;
        max-width: none;
    }
    
    #back-to-top, .music-toggle-btn, .wa-chat-button {
        width: 5.5rem;
        height: 5.5rem;
        font-size: 2.4rem;
    }

    #back-to-top {
        right: 1.5rem;
        bottom: 1.5rem;
    }
    
    .music-toggle-btn {
        right: 1.5rem;
        bottom: 1.5rem;
    }

    .music-toggle-btn.raised {
        bottom: 9rem;
    }

    .wa-chat-button {
        left: 1.5rem;
        bottom: 1.5rem;
    }
    
    /* Footer mobile */
    .main-footer .container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-footer p {
        margin-bottom: 0;
        text-align: center;
    }
    
    .social-links a {
        font-size: 2.8rem;
        margin: 0 1.2rem;
    }
    
    /* Publicações mobile */
    .publication-item {
        flex-direction: column;
        gap: 2rem;
    }
    
    .publication-icon i {
        font-size: 4rem;
    }
    
    /* Timeline mobile */
    .timeline::before {
        left: 5px;
    }
    
    .timeline li {
        padding-left: 3rem;
    }
    
    /* Carrossel de entrevistas mobile */
    .interviews-track .video-container {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    /* Carrosséis de reels mobile */
    .reels-track .reel-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    /* Video slider mobile */
    .slider-btn {
        width: 4rem;
        height: 4rem;
    }
    
    .slider-btn i {
        font-size: 1.6rem;
    }
    
    /* Melhor legibilidade */
    p, li {
        font-size: 1.6rem;
        line-height: 1.7;
    }
}

/* Otimizações para telas muito pequenas */
@media (max-width: 375px) {
    html {
        font-size: 50%; /* 8px base */
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .tip-card,
    .process-step {
        padding: 1.5rem;
    }
}


/* =============================================== */
/*  NOVO: Seção Formações e Palestras              */
/* =============================================== */

.formations-section {
    background-color: var(--secondary-bg);
}

.course-main-card {
    background-color: var(--white-color);
    padding: 3rem 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 5rem;
    border-left: 5px solid var(--primary-color);
}

.course-main-card h3 {
    margin-bottom: 1.5rem;
}

.course-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.course-meta i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container h4 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.2rem;
    color: var(--heading-color);
    font-family: var(--font-secondary);
}

.timeline {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    width: 2px;
    background-color: var(--primary-color);
    opacity: 0.2;
}

.timeline li {
    position: relative;
    padding-left: 4rem;
    margin-bottom: 3rem;
}

.timeline li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: var(--secondary-bg);
    border: 3px solid var(--primary-color);
}

.timeline li p {
    margin: 0;
}

.timeline li p strong {
    font-weight: 600;
    color: var(--heading-color);
    display: block;
    margin-bottom: 0.5rem;
}


/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    padding: 5px 0; /* Espaçamento vertical */
}

.logo-img {
    width: 60px; /* Tamanho fixo para consistência */
    height: 60px; /* Tamanho fixo para consistência */
    object-fit: contain; /* Garante que a imagem não fique distorcida */
    border-radius: 50%; /* Formato circular */
    border: 2px solid rgba(255, 255, 255, 0.3); /* Borda sutil */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

.main-header.scrolled .logo-img {
    border-color: rgba(109, 139, 116, 0.3); /* Cor do tema quando scrolled */
}

.logo-img:hover {
    transform: scale(1.05); /* Efeito de hover sutil */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Ajustes para mobile */
@media (max-width: 767px) {
    .logo-img {
        width: 50px;
        height: 50px;
    }
}

/* =============================================== */
/*  DARK MODE PARA CONTROLES DO CARROSSEL         */
/* =============================================== */

body.dark-mode .carousel-prev,
body.dark-mode .carousel-next {
    background: #5dbf9a;
}

body.dark-mode .carousel-prev:hover,
body.dark-mode .carousel-next:hover {
    background: #4a9d7f;
}

body.dark-mode .reels-cta {
    border-top-color: #3a4557;
}

body.dark-mode .reels-cta p {
    color: #e8eaed;
}

body.dark-mode .reels-subtitle {
    color: #e8eaed;
}

body.dark-mode .reels-carousel-container h4,
body.dark-mode .formations-section h4 {
    color: #e8eaed;
}

body.dark-mode .reel-wrapper {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

body.dark-mode .reel-overlay {
    background: rgba(0, 0, 0, 0.85);
}

body.dark-mode .instagram-link {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

body.dark-mode .reels-carousel-container {
    background: #2a3447;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

body.dark-mode .carousel-prev.disabled,
body.dark-mode .carousel-next.disabled {
    background: #3a4557;
    opacity: 0.5;
    cursor: not-allowed;
}

/* =============================================== */
/*  SEÇÃO DE ESTATÍSTICAS ANIMADAS                */
/* =============================================== */

.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    padding: 8rem 0;
}

.stats-section h2 {
    color: #fff;
    text-align: center;
    margin-bottom: 6rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 5rem;
    font-weight: 700;
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-suffix {
    display: inline;
    font-size: 3rem;
    font-weight: 700;
    margin-left: 0.2rem;
}

.stat-label {
    font-size: 1.6rem;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

/* Dark mode para estatísticas */
body.dark-mode .stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* =============================================== */
/*  SEÇÃO QUANDO PROCURAR TERAPIA                 */
/* =============================================== */

.when-therapy-section {
    background-color: var(--bg-color);
    padding: 8rem 0;
}

.when-therapy-section h2 {
    margin-bottom: 2rem;
}

.section-intro {
    text-align: center;
    font-size: 1.8rem;
    max-width: 800px;
    margin: 0 auto 5rem;
    color: var(--text-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.reason-card {
    background: var(--white-color);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.reason-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.reason-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.reason-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--heading-color);
}

.reason-card p {
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
}

.therapy-cta {
    text-align: center;
    background: var(--secondary-bg);
    padding: 4rem;
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
}

.therapy-cta p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* Dark mode para "Quando Procurar Terapia" */
body.dark-mode .when-therapy-section {
    background-color: var(--bg-color);
}

body.dark-mode .section-intro {
    color: var(--text-color);
}

body.dark-mode .reason-card {
    background-color: var(--white-color);
    border: 1px solid var(--accent-color);
}

body.dark-mode .reason-card h3,
body.dark-mode .reason-card p {
    color: var(--text-color);
}

body.dark-mode .reason-icon {
    color: var(--primary-color);
}

body.dark-mode .therapy-cta {
    background-color: var(--light-gray-bg);
}

body.dark-mode .therapy-cta p {
    color: var(--text-color);
}
/* =============================================== */
/*  READING PROGRESS BAR                          */
/* =============================================== */

/* Container da barra de progresso */

/* Container da barra de progresso - VERSÃO CORRIGIDA */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 10000 !important; /* Aumentado para garantir que fique acima */
    transition: opacity 0.3s ease;
    pointer-events: none; /* Não interfere com cliques */
}

/* Barra de progresso */
.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 8px rgba(74, 111, 165, 0.8); /* Sombra mais forte */
    position: relative;
    z-index: 1;
}










/* Barra de progresso */
.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(74, 111, 165, 0.5);
}

/* Animação suave quando a página carrega */
.reading-progress-bar {
    animation: progressPulse 2s ease-in-out infinite;
}

@keyframes progressPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(74, 111, 165, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(74, 111, 165, 0.8);
    }
}

/* Quando o usuário está no topo, esconde levemente */
.reading-progress-container.at-top {
    opacity: 0.3;
}

/* Dark mode */
body.dark-mode .reading-progress-container {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .reading-progress-bar {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    box-shadow: 0 0 10px rgba(137, 181, 168, 0.6);
}

/* Responsivo - aumenta altura em mobile para melhor visualização */
@media (max-width: 768px) {
    .reading-progress-container {
        height: 3px;
    }
}

/* Quando está scrollando, fica mais visível */
.reading-progress-container.scrolling {
    opacity: 1;
}

/* Efeito de conclusão quando chega a 100% */
.reading-progress-bar.completed {
    background: linear-gradient(90deg, #28a745, #20c997);
    animation: completePulse 0.5s ease-in-out;
}

@keyframes completePulse {
    0% {
        box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(40, 167, 69, 1);
        height: 6px;
    }
    100% {
        box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
        height: 4px;
    }
}

/* Compatibilidade com preloader */
body.loading .reading-progress-container {
    display: none;
}

/* Acessibilidade - modo de alto contraste */
@media (prefers-contrast: high) {
    .reading-progress-container {
        background: #000;
        height: 5px;
    }
    
    .reading-progress-bar {
        background: #0066CC;
    }
}

/* Reduzir movimento para usuários com preferência */
@media (prefers-reduced-motion: reduce) {
    .reading-progress-bar {
        transition: none;
        animation: none;
    }
    
    .reading-progress-bar.completed {
        animation: none;
    }
}
