/* =========================================
   1. RESET E VARIÁVEIS GLOBAIS (Neon Tech)
   ========================================= */
:root {
    /* Paleta de Cores */
    --primary-neon: #00F0FF;      /* Ciano Elétrico (Cor Principal) */
    --primary-dark: #00A8B3;      /* Variação para Hover */
    --bg-deep: #030303;           /* Preto Absoluto */
    --bg-surface: #0F0F0F;        /* Cinza Escuro para cartões */
    
    /* Textos */
    --text-main: #FFFFFF;
    --text-muted: #A0A0A0;
    
    /* Efeitos de Vidro e Luz */
    --border-glass: rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 0 20px rgba(0, 240, 255, 0.15);
    
    /* Tipografia */
    --font-stack: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-stack);
    overflow-x: hidden; /* Evita rolagem horizontal indesejada */
    line-height: 1.5;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* =========================================
   2. HEADER (Glassmorphism)
   ========================================= */
.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 20px;
    background: rgba(3, 3, 3, 0.7); /* Fundo semi-transparente */
    backdrop-filter: blur(12px);     /* Efeito de desfoque */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 100; /* Garante que fique acima de tudo */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary-neon);
}

.desktop-nav {
    display: none; /* Oculto no celular (Mobile First) */
}

.btn-nav {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid var(--primary-dark);
    color: var(--primary-neon);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-nav:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--shadow-glow);
}

/* =========================================
   3. HERO SECTION (A Promessa)
   ========================================= */
.hero {
    position: relative;
    padding-top: 100px; /* Espaço para não ficar baixo do header */
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Efeitos de Fundo (Luzes e Grade) */
.grid-lines {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: linear-gradient(var(--border-glass) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-glass) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.05;
    z-index: 0;
}

.glow-bg {
    position: absolute;
    width: 300px; height: 300px;
    background: var(--primary-neon);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}
.top-glow { top: -100px; right: -50px; }
.bottom-glow { bottom: -50px; left: -100px; }

.hero-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Conteúdo de Texto da Hero */
.hero-content {
    text-align: center;
}

.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--primary-neon);
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--primary-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-neon);
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 15px;
}

.text-gradient {
    background: linear-gradient(90deg, #FFFFFF, var(--primary-neon));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description strong {
    color: var(--text-main);
}

/* Botões da Hero */
.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-primary {
    background: var(--primary-neon);
    color: #000;
    font-weight: 700;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.5);
}

.btn-ghost {
    color: var(--text-main);
    font-weight: 500;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Prova Social Mini (Abaixo dos botões) */
.social-proof-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.avatars {
    display: flex;
}

.avatars img {
    width: 32px; height: 32px;
    border-radius: 50%;
    border: 2px solid var(--bg-deep);
    margin-left: -10px;
}

.avatars img:first-child {
    margin-left: 0;
}

/* Visual 3D da Hero */
.hero-visual {
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.card-3d-wrapper {
    position: relative;
    max-width: 350px;
    width: 100%;
}

.hero-img {
    width: 100%;
    border-radius: 20px;
    /* Recorte suave na parte de baixo */
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.1));
}

/* Badges Flutuantes */
.floating-badge {
    position: absolute;
    background: rgba(15, 15, 15, 0.9);
    backdrop-filter: blur(8px);
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2;
    max-width: 220px;
}

.badge-icon {
    width: 36px; height: 36px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-neon);
}

.badge-info {
    display: flex;
    flex-direction: column;
}

.badge-info strong {
    font-size: 0.85rem;
    color: var(--text-main);
}

.badge-info span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Animações e Posições dos Badges */
.badge-top-right {
    top: 30px; right: -20px;
    animation: float 6s ease-in-out infinite;
    border-left: 2px solid var(--primary-neon);
}

.badge-bottom-left {
    bottom: 60px; left: -20px;
    animation: float 5s ease-in-out infinite 1s;
}

/* =========================================
   4. SEÇÃO MÉTODO (Engenharia Corporal)
   ========================================= */
.method-section {
    position: relative;
    padding: 80px 20px;
    background-color: var(--bg-deep);
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    color: var(--primary-neon);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Grid do Método */
.method-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Cartões de Vidro (Glass Cards) */
.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    padding: 40px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 
                inset 0 0 20px rgba(0, 240, 255, 0.05);
}

/* Número de Fundo */
.card-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    transition: 0.4s;
}

.glass-card:hover .card-number {
    color: rgba(0, 240, 255, 0.05);
    transform: scale(1.1);
}

/* Ícone Neon */
.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-neon);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: 0.4s;
}

.glass-card:hover .icon-box {
    background: var(--primary-neon);
    color: #000;
    box-shadow: 0 0 30px var(--primary-neon);
}

.glass-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.results-section {
    padding: 80px 0;
    background-color: var(--bg-surface);
    overflow: hidden; /* Garante que nada vaze */
}

/* O Container Principal */
.scroller {
    max-width: 100%; 
    /* Cria uma máscara de desvanecimento nas bordas (Efeito Sênior) */
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    padding: 20px 0;
    margin-bottom: 40px;
}

/* A Pista que corre */
.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: nowrap; /* Impede que quebre linha */
    gap: 20px;
    width: max-content; /* Largura baseada no conteúdo */
    /* A animação mágica */
    animation: scroll 40s linear infinite; 
}

/* O Card da Imagem */
.img-card {
    width: 280px;      /* Largura fixa para padronizar */
    height: 400px;     /* Altura fixa */
    flex-shrink: 0;    /* Impede de encolher */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    position: relative;
    background: var(--bg-deep);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: 0.3s;
}

/* Efeito Hover (Opcional: destaca levemente se passar o mouse) */
.img-card:hover {
    border-color: var(--primary-neon);
    transform: scale(1.02);
    z-index: 2;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a foto preencha tudo sem distorcer */
    filter: grayscale(20%); /* Um leve filtro para ficar chique */
    transition: 0.5s;
}

.img-card:hover img {
    filter: grayscale(0%);
}

/* A Animação Infinita */
@keyframes scroll {
    to {
        transform: translate(calc(-50% - 10px)); /* Move metade do caminho */
    }
}

/* =========================================
   SEÇÃO 4: ANAMNESE TÉCNICA (Full CSS)
   ========================================= */

.anamnese-section {
    position: relative;
    padding: 80px 20px;
    background-color: var(--bg-deep);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Painel de Vidro Principal */
.glass-panel {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 700px; /* Largura um pouco maior para acomodar 3 colunas */
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    z-index: 2;
}

/* --- HEADER DO FORMULÁRIO --- */
.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.system-status {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--primary-neon);
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

.form-header h2 { font-size: 1.8rem; margin-bottom: 10px; }
.form-header p { font-size: 0.9rem; color: var(--text-muted); }

/* --- BARRA DE PROGRESSO --- */
.progress-container { margin-bottom: 40px; }

.progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 20%; /* Começa em 20% */
    background: var(--primary-neon);
    box-shadow: 0 0 10px var(--primary-neon);
    transition: width 0.4s ease;
}

.steps-indicator {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}

.step.active { color: var(--primary-neon); font-weight: bold; }

/* --- ESTRUTURA DOS PASSOS (Steps) --- */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}
.form-step.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    color: var(--primary-neon);
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-title {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* --- INPUTS E CAMPOS --- */
.input-group { margin-bottom: 20px; }

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.input-box {
    position: relative;
    display: flex;
    align-items: center;
}

.input-box i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    transition: 0.3s;
    z-index: 1;
}

/* Estilo Base dos Inputs */
.input-box input,
.tech-select,
.simple-input,
.textarea-box textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font-stack);
    font-size: 1rem;
    transition: 0.3s;
}

/* Input com Ícone */
.input-box input { padding: 15px 15px 15px 45px; }

/* Input Simples (Sem ícone) */
.simple-input { padding: 15px; }

/* Select Customizado */
.tech-select {
    padding: 15px;
    cursor: pointer;
    appearance: none; /* Remove seta padrão do navegador */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}
.tech-select option { background: #000; color: #fff; }

/* Textarea */
.textarea-box textarea {
    padding: 15px;
    resize: vertical;
    min-height: 80px;
}

/* Foco Neon Global */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.input-box input:focus + i,
.input-box input:focus ~ i {
    color: var(--primary-neon);
}

/* --- GRIDS E LAYOUTS --- */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.grid-3-col {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

/* --- RADIO CARDS (Objetivos) --- */
.radio-grid {
    display: grid;
    gap: 10px;
}

.radio-card { cursor: pointer; position: relative; }
.radio-card input { display: none; }

.card-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    transition: 0.3s;
}

.card-content i { font-size: 1.2rem; color: var(--text-muted); }

/* Estado Selecionado */
.radio-card input:checked + .card-content {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--primary-neon);
    color: #fff;
}
.radio-card input:checked + .card-content i { color: var(--primary-neon); }

/* --- CHECKBOXES EM GRADE (Sintomas) --- */
.checkbox-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.check-card {
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid transparent;
    transition: 0.3s;
}

.check-card:hover {
    background: rgba(255,255,255,0.1);
}

.check-card input {
    accent-color: var(--primary-neon); /* Cor do check nativo */
    width: 16px;
    height: 16px;
}

/* --- PERGUNTAS DE SAÚDE (Sim/Não) --- */
.health-questions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.2);
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid var(--border-glass);
}

.question-row span {
    font-size: 0.9rem;
    font-weight: 500;
}

.toggle-group {
    display: flex;
    gap: 15px;
}

.toggle-group label {
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.toggle-group input {
    margin: 0;
    accent-color: var(--primary-neon);
}

/* Inputs Escondidos (Condicionais) */
.hidden-input {
    display: none;
    margin-top: 5px;
    padding-left: 15px;
    border-left: 2px solid var(--primary-neon);
    animation: fadeIn 0.3s;
}

/* --- BOTÕES DE NAVEGAÇÃO --- */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 15px;
}

.nav-buttons.right { justify-content: flex-end; }

.btn-submit {
    width: 100%;
    justify-content: center;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-neon));
    color: #000;
}

/* =========================================
   SEÇÃO SOBRE (Profile Stats)
   ========================================= */
.about-section {
    padding: 80px 20px;
    background-color: var(--bg-surface);
}

.about-grid {
    display: grid;
    gap: 50px;
    align-items: center;
}

/* Card do Perfil */
.profile-card {
    position: relative;
    background: var(--bg-deep);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 15px;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
}

.profile-img {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-neon);
}

.profile-stats {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    text-align: center;
}

.stat strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-neon);
}

.stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* Texto Sobre */
.about-content { text-align: center; }

.about-text {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1rem;
}

.tech-specs h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.tech-specs ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.tech-specs li {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tech-specs i { color: var(--primary-neon); }

/* =========================================
   SEÇÃO FAQ (Accordion)
   ========================================= */
.faq-section {
    padding: 80px 20px;
    background-color: var(--bg-deep);
}

.accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    transition: 0.3s;
}

.accordion-item.active {
    border-color: var(--primary-neon);
    background: rgba(0, 240, 255, 0.05);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

.accordion-header i {
    color: var(--primary-neon);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg); /* Vira um X */
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.accordion-body p {
    padding-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =========================================
   FOOTER
   ========================================= */
.main-footer {
    padding: 50px 20px 20px;
    background-color: #000;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}
.footer-logo span { color: var(--primary-neon); }
.footer-logo p { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; margin-top: 5px; }

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-links a {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--primary-neon);
    color: #000;
    box-shadow: 0 0 15px var(--primary-neon);
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

.footer-bottom p {
    display: flex;
    flex-direction: column; /* Mobile: empilha os textos */
    align-items: center;
    gap: 5px;
}

/* Crédito do Desenvolvedor */
.dev-credit {
    opacity: 0.7;
    transition: 0.3s;
}

.dev-link {
    color: var(--text-main);
    font-weight: 600;
    position: relative;
    text-decoration: none;
    transition: 0.3s;
}


.dev-link:hover {
    color: var(--primary-neon);
    text-shadow: 0 0 10px var(--primary-neon);
}

/* =========================================
   SEÇÃO QUIZ GAMIFICADO
   ========================================= */
.quiz-section {
    padding: 80px 20px;
    background: radial-gradient(circle at center, #0a0a0a 0%, #000 100%);
    text-align: center;
}

.quiz-wrapper {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden; /* Para conter animações */
}

/* Telas do Quiz (Start, Question, Result) */
.quiz-screen {
    display: none;
    width: 100%;
    animation: slideUp 0.5s ease;
}
.quiz-screen.active { display: block; }

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tela Inicial */
.quiz-icon {
    font-size: 3rem;
    color: var(--primary-neon);
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.quiz-wrapper h2 { margin-bottom: 15px; font-size: 2rem; }
.quiz-wrapper p { color: var(--text-muted); margin-bottom: 30px; }

/* Tela de Perguntas */
.quiz-progress {
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 30px;
}

.quiz-progress .bar {
    height: 100%;
    width: 0%;
    background: var(--primary-neon);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--primary-neon);
}

#questionTitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.options-grid {
    display: grid;
    gap: 15px;
}

.quiz-option {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-glass);
    padding: 20px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.quiz-option:hover {
    background: var(--primary-neon);
    color: #000;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.quiz-option i { font-size: 1.2rem; }

/* Tela de Resultado */
.result-box {
    padding: 20px;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

#resultName {
    font-size: 2.5rem;
    margin: 10px 0 20px;
}

#resultDesc {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

/* Stats Visuais do Resultado */
.result-stats-visual {
    margin-bottom: 30px;
    background: rgba(0,0,0,0.3);
    padding: 20px;
    border-radius: 15px;
}

.stat-bar {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.stat-bar span { width: 80px; text-align: left; color: var(--text-muted); }

.stat-bar .fill {
    height: 8px;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-neon));
    border-radius: 4px;
}

.btn-result {
    width: 100%;
    margin-top: 10px;
}

/* =========================================
   5. ANIMAÇÕES GLOBAIS (@keyframes)
   ========================================= */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   6. RESPONSIVIDADE (MEDIA QUERIES)
   ========================================= */

/* Tablet (768px+) */
@media (min-width: 768px) {
    /* Hero */
    .hero-title {
        font-size: 2.8rem;
    }
    
    /* Método */
    .method-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 2.5rem;
    }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
    /* Navbar Desktop */
    .desktop-nav {
        display: flex;
        gap: 30px;
    }
    .desktop-nav a {
        font-weight: 500;
        font-size: 0.95rem;
        color: var(--text-muted);
    }
    .desktop-nav a:hover {
        color: var(--primary-neon);
    }

    /* Hero Layout Grid */
    .hero {
        padding-top: 140px;
        min-height: 100vh;
        align-items: center;
    }
    .hero-container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }
    .hero-content {
        text-align: left;
        max-width: 50%;
    }
    .hero-title {
        font-size: 3.8rem;
        letter-spacing: -1px;
        margin-bottom: 25px;
    }
    .hero-description {
        margin-left: 0;
        font-size: 1.1rem;
        max-width: 550px;
    }
    .badge-status {
        margin-bottom: 25px;
    }
    .cta-group {
        flex-direction: row;
        align-items: center;
    }
    .social-proof-mini {
        flex-direction: row;
        margin-top: 20px;
    }
    .hero-visual {
        max-width: 45%;
        justify-content: flex-end;
    }

    /* Efeito 3D Desktop */
    .card-3d-wrapper {
        max-width: 450px;
        transform: perspective(1000px) rotateY(-5deg);
        transition: transform 0.5s ease;
    }
    .card-3d-wrapper:hover {
        transform: perspective(1000px) rotateY(0deg);
    }

    /* Método Grid */
    .method-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    .glass-card {
        padding: 50px 25px;
    }
}


@media (max-width: 768px) {
    .glass-panel { padding: 25px 20px; }
    
    .form-header h2 { font-size: 1.5rem; }
    
    /* Empilha grids no celular */
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
    }
    
    /* Ajuste saúde no celular */
    .question-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .toggle-group {
        width: 100%;
        justify-content: flex-start;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr; /* 1 coluna de checkboxes */
    }
}


@media (min-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 1000px;
        margin: 0 auto;
    }
    .about-content { text-align: left; }
    
    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto 30px;
    }
    .social-links { margin-bottom: 0; }
    .footer-logo { margin-bottom: 0; text-align: left; }
}

@media (min-width: 768px) {
    .footer-bottom p {
        flex-direction: row; /* Desktop: lado a lado */
        gap: 15px;
    }
    
    .dev-credit::before {
        content: "|"; /* Separador visual */
        margin-right: 15px;
        opacity: 0.3;
    }
}


@media (min-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 768px) {
    .img-card {
        width: 220px; /* Um pouco menor no celular */
        height: 320px;
    }
    .scroller__inner {
        animation-duration: 30s; /* Um pouco mais rápido no mobile */
    }
}