/* =========================================================
   LC Governança Condominial — estilos do site
   Cores: azul-marinho #0d233a · dourado #d4a359
   ========================================================= */

:root {
    --navy: #0d233a;
    --navy-light: #16365a;
    --gold: #d4a359;
    --gold-dark: #a97c35;
    --gold-light: #e8c48a;
}

body { font-family: 'Plus Jakarta Sans', sans-serif; }

/* ---------- Base ---------- */
.glass-nav { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

.hero-bg {
    background-color: #f3ede3;
    background-image:
        radial-gradient(ellipse at 72% 40%, rgba(212, 163, 89, 0.22) 0px, transparent 45%),
        linear-gradient(105deg, #f8f1e5 0%, #f1ece4 45%, #dfe6ee 100%);
}
/* Ícone do prédio da LC, grande e apagado, à direita do conteúdo (preso ao centro, não à borda da tela) */
.hero-bg::before {
    content: "";
    position: absolute;
    left: calc(50% + 160px);
    bottom: -70px;
    width: 960px;
    aspect-ratio: 1000 / 790;
    background: url(../img/hero-mark.webp) no-repeat center / contain;
    opacity: 0.11;
    pointer-events: none;
}
.hero-bg > * { position: relative; z-index: 1; }
@media (max-width: 1023px) {
    .hero-bg::before { left: 15%; bottom: -40px; width: 120vw; opacity: 0.07; }
}

.grid-pattern {
    background-image:
        linear-gradient(#fff 1px, transparent 1px),
        linear-gradient(90deg, #fff 1px, transparent 1px);
    background-size: 48px 48px;
}

.section { padding: 6rem 0; }
@media (min-width: 1024px) { .section { padding: 7.5rem 0; } }

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    color: var(--navy);
    font-size: clamp(1.9rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.75rem;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold-dark);
}

/* ---------- Botões e campos ---------- */
.btn-primary, .btn-outline, .btn-gold, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.95rem 1.75rem; border-radius: 0.6rem;
    font-weight: 700; font-size: 0.95rem;
    transition: all 0.25s ease;
}
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 10px 25px -10px rgba(13, 35, 58, 0.6); }
.btn-primary:hover { background: var(--navy-light); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid #cbd5e1; color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 25px -10px rgba(212, 163, 89, 0.7); }
.btn-gold:hover { background: #c8954a; }
.btn-gold:disabled { opacity: 0.8; cursor: wait; }
.btn-ghost { background: #f1f5f9; color: #475569; }
.btn-ghost:hover { background: #e2e8f0; }

.field-label { display: block; font-size: 0.85rem; font-weight: 600; color: #334155; margin-bottom: 0.4rem; }
.field {
    width: 100%; padding: 0.9rem 1.1rem; border-radius: 0.6rem;
    background: #f8fafc; border: 1px solid #e2e8f0; outline: none;
    transition: all 0.2s;
}
.field:focus { background: #fff; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 163, 89, 0.2); }

/* ---------- Navbar ---------- */
.nav-link {
    position: relative; padding: 0.5rem 0.7rem; white-space: nowrap;
    font-size: 0.9rem; font-weight: 600; color: #475569;
    transition: color 0.2s;
}
.nav-link::after {
    content: ''; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.15rem; height: 2px;
    background: var(--gold); transform: scaleX(0); transition: transform 0.25s;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.cursor-blink { animation: blink 1s infinite; font-weight: 400; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.bar { width: 0; transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1); }
.bar.filled { width: var(--w); }

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ---------- Sobre o síndico ---------- */
.tilt-card { transition: transform 0.2s ease-out; transform-style: preserve-3d; }
.career-step { padding: 0.45rem 0.9rem; border-radius: 0.5rem; background: #f1f5f9; color: #475569; font-size: 0.8rem; font-weight: 700; cursor: pointer; transition: all 0.25s; }
.career-step:hover, .career-step.lit { background: var(--navy); color: #fff; transform: translateY(-2px); }
.career-step.career-final { background: #fbf3e4; color: #7a5520; box-shadow: inset 0 0 0 1px rgba(212,163,89,0.5); }
.career-step.career-final.lit { background: var(--gold); color: var(--navy); }
.career-arrow { color: #cbd5e1; font-size: 0.65rem; }
.project-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 0.5rem; border: 1px solid #e2e8f0; font-size: 0.8rem; font-weight: 600; color: #334155; transition: all 0.25s; }
.project-chip i { color: var(--gold); }
.project-chip:hover { border-color: var(--gold); background: #fffaf2; transform: translateY(-2px); }

/* ---------- Soluções ---------- */
.service-card {
    position: relative; padding: 2.25rem; border-radius: 1rem;
    background: #fff; border: 1px solid #e2e8f0;
    transition: all 0.3s ease; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 25px 50px -20px rgba(13, 35, 58, 0.25); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { position: absolute; top: 1.5rem; right: 1.75rem; font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 800; color: #eef1f5; transition: color 0.3s; }
.service-card:hover .service-num { color: rgba(212, 163, 89, 0.35); }
.service-icon {
    width: 3.5rem; height: 3.5rem; border-radius: 0.75rem; margin-bottom: 1.5rem;
    display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
    background: rgba(13, 35, 58, 0.06); color: var(--navy); transition: all 0.3s;
}
.service-card:hover .service-icon { background: var(--navy); color: var(--gold); }

/* ---------- Números ---------- */
.stat-card { text-align: center; padding: 2.25rem 1rem; background: var(--navy); transition: background 0.3s; }
.stat-card:hover { background: #122c48; }
.stat-number { font-family: 'Montserrat', sans-serif; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--gold); line-height: 1.1; }
.stat-label { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 600; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Diferenciais em abas ---------- */
.diff-tab { display: flex; align-items: center; gap: 0.75rem; width: 100%; text-align: left; padding: 1.1rem 1.25rem; border-radius: 0.75rem; font-weight: 600; color: #cbd5e1; border: 1px solid transparent; transition: all 0.25s; }
.diff-tab i { width: 1.25rem; color: var(--gold); }
.diff-tab:hover { background: rgba(255, 255, 255, 0.04); color: #fff; }
.diff-tab.active { background: rgba(212, 163, 89, 0.1); border-color: rgba(212, 163, 89, 0.4); color: #fff; }
#diff-title, #diff-text, #diff-icon { transition: opacity 0.25s; }

/* ---------- Calculadora ---------- */
.check { width: 1.6rem; height: 1.6rem; border-radius: 9999px; background: rgba(212, 163, 89, 0.15); color: var(--gold-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; flex-shrink: 0; }

input[type=range] { -webkit-appearance: none; appearance: none; background: transparent; }
input[type=range]::-webkit-slider-runnable-track { width: 100%; height: 6px; cursor: pointer; background: #e2e8f0; border-radius: 4px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; height: 24px; width: 24px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); cursor: pointer; margin-top: -9px; box-shadow: 0 4px 10px rgba(13, 35, 58, 0.25); transition: transform 0.1s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type=range]::-moz-range-track { height: 6px; background: #e2e8f0; border-radius: 4px; }
input[type=range]::-moz-range-thumb { height: 16px; width: 16px; border-radius: 50%; background: var(--navy); border: 4px solid var(--gold); cursor: pointer; }

/* ---------- Transição ---------- */
.step { position: relative; text-align: center; }
.step-circle {
    width: 5rem; height: 5rem; margin: 0 auto 1.5rem; border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Montserrat', sans-serif; font-size: 1.6rem; font-weight: 800;
    background: #fff; color: var(--navy); border: 2px solid #e2e8f0;
    transition: all 0.3s;
}
.step:hover .step-circle { background: var(--navy); color: var(--gold); border-color: var(--navy); transform: scale(1.08); }
.step-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 0.5rem; }

/* ---------- Formulário em etapas ---------- */
.form-step { display: none; opacity: 0; transition: opacity 0.4s ease-in-out; }
.form-step.active { display: block; opacity: 1; }

/* ---------- Barra de rolagem ---------- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ---------- Menu mobile ---------- */
.mobile-link { padding: 0.85rem 0.5rem; font-weight: 600; color: var(--navy); border-bottom: 1px solid #f1f5f9; }
.mobile-link:last-child { border-bottom: 0; }
.mobile-link:hover { color: var(--gold-dark); }

/* ---------- Barra de progresso da leitura ---------- */
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--gold); transition: width 0.1s linear; }

/* ---------- Perguntas frequentes ---------- */
.faq-item summary {
    list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
    font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.05rem;
    transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '+'; position: absolute; right: 0.25rem; top: 50%; transform: translateY(-50%);
    width: 1.75rem; height: 1.75rem; border-radius: 9999px; border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 500; color: var(--gold-dark); transition: all 0.25s;
}
.faq-item[open] summary::after { content: '−'; background: var(--navy); color: var(--gold); border-color: var(--navy); }
.faq-item summary:hover { color: var(--gold-dark); }
.faq-item p { padding: 0 2.5rem 1.5rem 0; color: #475569; line-height: 1.7; animation: faqIn 0.3s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Acessibilidade: foco visível pelo teclado ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--gold); outline-offset: 3px;
}
html { scroll-padding-top: 90px; }

/* ---------- Página de Política de Privacidade ---------- */
.legal section { scroll-margin-top: 110px; }
.legal section + section { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid #f1f5f9; }
.legal h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: var(--navy); font-size: 1.3rem; margin-bottom: 1rem; }
.legal p { line-height: 1.8; margin-bottom: 1rem; }
.legal p:last-child { margin-bottom: 0; }
.legal strong { color: #1e293b; }
.legal a:not(.not-prose a) { color: var(--gold-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.legal ul { margin: 0 0 1rem; display: grid; gap: 0.6rem; }
.legal ul li { position: relative; padding-left: 1.4rem; line-height: 1.7; }
.legal ul li::before { content: ''; position: absolute; left: 0; top: 0.65em; width: 0.45rem; height: 0.45rem; border-radius: 9999px; background: var(--gold); }
.legal ul.rights { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.legal ul.rights li { background: #f8fafc; border-radius: 0.6rem; padding: 0.75rem 1rem 0.75rem 2.2rem; font-size: 0.9rem; }
.legal ul.rights li::before { left: 0.95rem; top: 1.2rem; }
.legal-toc a { color: #64748b; transition: color 0.2s; }
.legal-toc a:hover { color: var(--navy); }

/* ---------- Na prática (projetos do Instagram) ---------- */
.case-feature {
    display: flex; flex-direction: column;
    padding: 2.5rem; border-radius: 1rem;
    background: linear-gradient(160deg, #122c48 0%, var(--navy) 60%);
    position: relative; overflow: hidden;
}
.case-feature::after {
    content: ''; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px;
    border-radius: 9999px; background: radial-gradient(circle, rgba(212,163,89,0.25), transparent 70%);
}
.case-card {
    display: flex; flex-direction: column;
    padding: 2rem; border-radius: 1rem; background: #fff; border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}
.case-card:hover { transform: translateY(-5px); border-color: rgba(212,163,89,0.6); box-shadow: 0 25px 50px -25px rgba(13,35,58,0.3); }
.case-tag {
    align-self: flex-start; display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.35rem 0.75rem; border-radius: 9999px;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    background: rgba(13,35,58,0.06); color: var(--navy);
}
.case-tag i { color: var(--gold-dark); }
.case-feature .case-tag i { color: var(--navy); }
.case-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 1.1rem 0 0.6rem; }
.case-text { font-size: 0.9rem; line-height: 1.7; color: #475569; margin-bottom: 1.25rem; }
.case-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; color: var(--navy); transition: gap 0.2s, color 0.2s; position: relative; z-index: 1; }
.case-link:hover { gap: 0.75rem; color: var(--gold-dark); }
.case-timeline { display: grid; gap: 0.75rem; position: relative; z-index: 1; }
.case-timeline li { display: flex; align-items: baseline; gap: 0.9rem; color: #e2e8f0; font-size: 0.9rem; padding: 0.85rem 1rem; border-radius: 0.6rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); }
.case-timeline li span { flex-shrink: 0; width: 4.5rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.front-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.9rem; border-radius: 9999px; background: #fff; border: 1px solid #e2e8f0; font-size: 0.8rem; font-weight: 600; color: #334155; transition: all 0.2s; }
.front-chip i { color: var(--gold-dark); }
.front-chip:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.front-chip:hover i { color: var(--gold); }

/* Fotos dos cards "Na prática" */
.case-img { position: relative; margin: -2rem -2rem 1.25rem; height: 170px; overflow: hidden; border-radius: 1rem 1rem 0 0; background: #e2e8f0; }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.case-card:hover .case-img img { transform: scale(1.06); }
.case-badge { position: absolute; top: 0.75rem; left: 0.75rem; padding: 0.25rem 0.6rem; border-radius: 9999px; background: rgba(13,35,58,0.85); color: var(--gold-light); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.case-img-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem; background: linear-gradient(135deg, var(--navy), #1b3d63); color: var(--gold); text-align: center; padding: 1rem; }
.case-img-placeholder i { font-size: 2.25rem; }
.case-img-placeholder span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #cbd5e1; }
.case-feature-img { position: relative; margin: -2.5rem -2.5rem 1.75rem; height: 230px; overflow: hidden; }
.case-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.case-feature-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(13,35,58,0) 40%, var(--navy) 100%); }

/* ===== Na prática — versão refinada (sobrepõe as regras anteriores) ===== */
.case-card { padding: 0; overflow: hidden; }
.case-img { margin: 0; height: 180px; border-radius: 0; }
.case-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,35,58,0.55) 0%, rgba(13,35,58,0) 55%); pointer-events: none; }
.case-cat {
    position: absolute; left: 1rem; bottom: 0.9rem; z-index: 1;
    display: inline-flex; align-items: center; gap: 0.45rem;
    padding: 0.35rem 0.75rem; border-radius: 9999px;
    background: rgba(255,255,255,0.95); color: var(--navy);
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(13,35,58,0.2);
}
.case-cat i { color: var(--gold-dark); }
.case-badge { z-index: 1; }
.case-body { padding: 1.4rem 1.5rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.case-meta { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #64748b; }
.case-meta span { margin: 0 0.3rem; color: var(--gold); }
.case-title { margin: 0.45rem 0 0.5rem; }
.case-text { margin-bottom: 1rem; }
.case-results { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: auto; }
.case-results li { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.3rem 0.65rem; border-radius: 0.4rem; background: #f8fafc; border: 1px solid #eef2f6; font-size: 0.75rem; font-weight: 600; color: #334155; }
.case-results li i { font-size: 0.6rem; color: #10b981; }
.case-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.95rem 1.5rem; border-top: 1px solid #eef2f6;
    font-size: 0.82rem; font-weight: 700; color: var(--navy); transition: all 0.25s;
}
.case-footer span i { margin-right: 0.4rem; }
.case-footer > i { font-size: 0.75rem; color: var(--gold-dark); transition: transform 0.25s; }
.case-card:hover .case-footer { background: var(--navy); color: #fff; }
.case-card:hover .case-footer > i { transform: translateX(4px); color: var(--gold); }
.case-footer-dark { margin: 2rem -2.5rem -2.5rem; padding: 1.1rem 2.5rem; border-top-color: rgba(255,255,255,0.1); color: var(--gold-light); }
.case-footer-dark:hover { background: rgba(212,163,89,0.12); }
.case-footer-dark:hover > i { transform: translateX(4px); }
.case-feature-img { height: 250px; }

/* Botão de play do vídeo */
.case-play {
    position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); z-index: 2;
    width: 4.5rem; height: 4.5rem; border-radius: 9999px;
    background: var(--gold); color: var(--navy); font-size: 1.3rem; padding-left: 0.25rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 10px rgba(212,163,89,0.25), 0 15px 30px rgba(0,0,0,0.35);
    transition: transform 0.25s, box-shadow 0.25s;
}
.case-play.hidden { display: none; }
.case-play:hover { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 14px rgba(212,163,89,0.3), 0 15px 30px rgba(0,0,0,0.35); }
#video-modal:not(.hidden) { display: flex; }

/* Ilustração: tela digital no elevador */
.elevator-mock {
    position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 0.9rem;
    background:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 4px),
        linear-gradient(135deg, #9aa6b4 0%, #d5dbe2 35%, #a9b4c0 60%, #e3e7ec 100%);
}
.elevator-screen {
    width: 64%; aspect-ratio: 16 / 9; border-radius: 0.5rem; padding: 0.7rem 0.85rem;
    background: radial-gradient(120% 120% at 0% 0%, #1b3d63 0%, var(--navy) 55%, #071321 100%);
    border: 5px solid #111827; box-shadow: 0 10px 25px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.06);
    display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden;
}
.elevator-screen::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,0.08) 0%, transparent 35%); pointer-events: none; }
.elevator-screen-head { display: flex; align-items: center; gap: 0.35rem; margin-bottom: 0.35rem; }
.elevator-screen-head img { width: 0.95rem; height: auto; filter: brightness(0) invert(1); opacity: 0.9; }
.elevator-screen-head span { font-size: 0.55rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.elevator-screen-head em { margin-left: auto; display: flex; gap: 3px; }
.elevator-screen-head em i { width: 5px; height: 5px; border-radius: 9999px; background: rgba(255,255,255,0.25); transition: background 0.3s; }
.elevator-screen-head em i.on { background: var(--gold); }
.elevator-screen-title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.78rem; line-height: 1.25; color: #fff; transition: opacity 0.35s; }
.elevator-screen-sub { margin-top: 0.25rem; font-size: 0.58rem; color: #cbd5e1; transition: opacity 0.35s; }
.elevator-floor { display: flex; flex-direction: column; align-items: center; padding: 0.4rem 0.5rem; border-radius: 0.35rem; background: #0b0f17; color: #f87171; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.85rem; line-height: 1; box-shadow: inset 0 0 6px rgba(248,113,113,0.3); }
.elevator-floor i { font-size: 0.7rem; margin-bottom: 0.1rem; }
.elevator-buttons { display: flex; flex-direction: column; gap: 0.45rem; }
.elevator-buttons span { width: 1.15rem; height: 1.15rem; border-radius: 9999px; background: radial-gradient(circle at 35% 35%, #f8fafc, #94a3b8); border: 2px solid #64748b; }
.case-card:has(.elevator-mock) .case-img::after { background: linear-gradient(to top, rgba(13,35,58,0.35) 0%, rgba(13,35,58,0) 45%); }

/* ---------- Calculadora: gráfico de economia acumulada ---------- */
.calc-chart { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; height: 170px; align-items: end; }
.calc-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0.45rem; }
.calc-val { font-size: 0.8rem; font-weight: 700; color: #fff; white-space: nowrap; transition: opacity 0.2s; }
.calc-bar { width: 100%; max-width: 74px; border-radius: 0.5rem 0.5rem 0.15rem 0.15rem; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.12); transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.calc-bar-gold { background: linear-gradient(to top, var(--gold-dark), var(--gold)); border-color: var(--gold); }
.calc-lbl { font-size: 0.72rem; font-weight: 600; color: #cbd5e1; text-transform: uppercase; letter-spacing: 0.08em; }

/* ---------- Diagnóstico (quiz) ---------- */
.quiz-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 1.25rem; padding: 2rem; box-shadow: 0 30px 60px -25px rgba(13, 35, 58, 0.25); min-height: 470px; }
@media (min-width: 640px) { .quiz-card { padding: 2.5rem; } }
.quiz-progress { height: 6px; border-radius: 9999px; background: #eef2f6; overflow: hidden; }
.quiz-progress span { display: block; height: 100%; width: 0; background: var(--gold); border-radius: inherit; transition: width 0.4s ease; }
.quiz-back { color: var(--navy); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 0.8rem; }
.quiz-back:hover { color: var(--gold-dark); }
.quiz-option {
    display: flex; align-items: center; gap: 0.9rem; width: 100%; text-align: left;
    padding: 1rem 1.15rem; border: 1.5px solid #e2e8f0; border-radius: 0.85rem; background: #fff;
    font-weight: 600; color: #334155; transition: border-color 0.2s, background 0.2s, transform 0.2s;
    animation: quizIn 0.35s ease both;
}
.quiz-option:hover { border-color: var(--gold); background: #fffaf2; transform: translateX(4px); }
.quiz-option .quiz-letter {
    width: 2rem; height: 2rem; flex-shrink: 0; border-radius: 0.55rem; display: flex; align-items: center; justify-content: center;
    background: #f1f5f9; color: var(--navy); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.8rem; transition: all 0.2s;
}
.quiz-option:hover .quiz-letter, .quiz-option.selected .quiz-letter { background: var(--navy); color: var(--gold); }
.quiz-option.selected { border-color: var(--navy); background: #f8fafc; }
@keyframes quizIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#quiz-result:not(.hidden) { animation: quizIn 0.45s ease both; }
.quiz-badge { width: 3.25rem; height: 3.25rem; flex-shrink: 0; border-radius: 0.9rem; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.quiz-badge.ok { background: #dcfce7; color: #15803d; }
.quiz-badge.warn { background: #fef3c7; color: #b45309; }
.quiz-badge.alert { background: #fee2e2; color: #b91c1c; }
.quiz-meter { position: relative; height: 10px; border-radius: 9999px; background: linear-gradient(90deg, #22c55e 0%, #eab308 50%, #ef4444 100%); }
.quiz-meter span {
    position: absolute; top: 50%; left: 0; width: 22px; height: 22px; border-radius: 9999px; background: var(--navy);
    border: 4px solid #fff; box-shadow: 0 2px 8px rgba(13, 35, 58, 0.35); transform: translate(-50%, -50%);
    transition: left 1s cubic-bezier(0.16, 1, 0.3, 1);
}
#quiz-points li { display: flex; gap: 0.6rem; align-items: flex-start; }
#quiz-points li i { color: var(--gold-dark); margin-top: 0.2rem; }

/* ---------- WhatsApp: menu de assuntos ---------- */
.wa-menu {
    position: fixed; right: 1.5rem; bottom: 6rem; z-index: 60; width: min(340px, calc(100vw - 2rem));
    border-radius: 1.1rem; overflow: hidden; background: #efeae2; box-shadow: 0 25px 60px -15px rgba(13, 35, 58, 0.45);
    transform-origin: bottom right; animation: waIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.wa-menu[hidden] { display: none; }
@keyframes waIn { from { opacity: 0; transform: translateY(12px) scale(0.96); } to { opacity: 1; transform: none; } }
.wa-menu-head { display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.1rem; background: #075e54; }
.wa-menu-logo { width: 2.6rem; height: 2.6rem; border-radius: 9999px; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.wa-menu-logo img { width: 1.7rem; height: auto; }
.wa-menu-body { padding: 1rem; display: grid; gap: 0.5rem; }
.wa-bubble { justify-self: start; background: #fff; color: #1f2937; font-size: 0.9rem; padding: 0.6rem 0.85rem; border-radius: 0 0.75rem 0.75rem 0.75rem; box-shadow: 0 1px 1px rgba(0,0,0,0.08); margin-bottom: 0.35rem; }
.wa-topic {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.8rem 0.95rem; border-radius: 0.75rem; background: #fff;
    color: var(--navy); font-weight: 600; font-size: 0.92rem; box-shadow: 0 1px 1px rgba(0,0,0,0.08); transition: transform 0.15s, box-shadow 0.15s;
}
.wa-topic > i:first-child { width: 1.1rem; text-align: center; color: #128c7e; }
.wa-topic span { flex: 1; }
.wa-topic .wa-arrow { font-size: 0.7rem; color: #94a3b8; }
.wa-topic:hover { transform: translateX(3px); box-shadow: 0 4px 12px rgba(13, 35, 58, 0.12); }
@media (max-width: 480px) { .wa-menu { right: 1rem; } }

/* ---------- Trajetória: painel da etapa selecionada ---------- */
.career-panel { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1rem 1.1rem; border-radius: 0.85rem; background: #f8fafc; border: 1px solid #e2e8f0; border-left: 3px solid var(--gold); min-height: 5.5rem; }
.career-panel.swap { animation: quizIn 0.35s ease both; }
.career-panel-icon { width: 2.5rem; height: 2.5rem; flex-shrink: 0; border-radius: 0.65rem; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.career-panel-title { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.career-panel-title #career-count { font-size: 0.7rem; font-weight: 800; color: var(--gold-dark); letter-spacing: 0.08em; margin-right: 0.35rem; }
.career-panel-text { font-size: 0.9rem; color: #475569; line-height: 1.55; }
#quiz-question:focus, #quiz-result-title:focus { outline: none; }
