/* ==============================================================
   BPO Digital — Site institucional
   Design system compartilhado com o Painel do Cliente (dashboard/).
   Mesmos tokens: âmbar #ffb923 sobre neutros escuros, Outfit + JetBrains Mono.
   ============================================================== */

html { scroll-behavior: smooth; }

/* ---- Hero com foto de fundo ---- */
.hero-photo {
    background-image: url('../img/bg-hero.png');
    background-size: cover;
    background-position: center 30%;
}
.hero-photo-overlay {
    background: linear-gradient(180deg, rgba(5,5,5,.25) 0%, rgba(5,5,5,.55) 60%, #050505 100%);
}
/* fluido pra caber "O jeito novo de fazer marketing." numa linha só,
   em telas sm+ (hero com foto). No mobile o hero passa a usar o padrão
   das páginas internas (bg-grid + glow-orb, sem foto) — título quebra
   normalmente, sem precisar encolher pra caber numa linha só. */
.hero-slogan {
    font-size: clamp(0.825rem, 3.75vw, 3.375rem);
    line-height: 1.05;
    white-space: nowrap;
}
@media (max-width: 639px) {
    .hero-slogan {
        font-size: 2.5rem;
        line-height: 1.1;
        white-space: normal;
    }
}

/* ---- Rodapé editorial (wordmark gigante) ----
   Inspirado em the-human.ai — wordmark grande e translúcida como assinatura
   visual de fundo, não compete com o conteúdo funcional acima dela. */
.footer-wordmark-row { overflow-x: hidden; }
.footer-wordmark-logo {
    display: block;
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    user-select: none;
}
.footer-social-icon {
    width: 44px; height: 44px; border-radius: 9999px;
    display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    color: #cbd5e1;
    transition: border-color .2s ease, color .2s ease;
}
.footer-social-icon:hover { border-color: rgba(255,185,35,.5); color: #ffb923; }

/* ---- Barra de logos (marcas que confiam) ----
   Inspirada em academypass.ai/experience. Máscara cria o fade nas bordas;
   filtro normaliza todos os logos (cores variadas) pra silhueta branca. */
.logo-marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.logo-marquee-track {
    display: inline-flex; align-items: center; gap: 64px; width: max-content;
    animation: logo-marquee-scroll 24s linear infinite;
}
.logo-marquee-item {
    height: 51px; width: auto;
    filter: brightness(0) invert(1); opacity: .45;
    transition: opacity .2s ease;
}
.logo-marquee-item:hover { opacity: 1; }
@keyframes logo-marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Carrossel 3D (sequência de posts) ----
   Inspirado em ai.vfxclub.com.br — card central nítido, laterais
   desfocados/rotacionados em perspectiva. JS calcula o transform de cada
   card por índice relativo ao ativo (ver js/site.js). */
.carousel-3d-wrap { position: relative; max-width: 900px; margin: 0 auto; }
.carousel-3d { position: relative; height: 680px; perspective: 1400px; }
.carousel-card {
    position: absolute; top: 50%; left: 50%;
    width: 390px; aspect-ratio: 4 / 5;
    border-radius: 20px; overflow: hidden;
    transition: transform .5s ease, filter .5s ease, opacity .5s ease;
    box-shadow: 0 25px 60px rgba(0,0,0,.55);
    cursor: pointer;
}
/* Card 390px + wrap 680px de altura tomam a tela inteira no mobile — só
   estas duas propriedades encolhem abaixo de 640px (site.js calcula o
   deslocamento entre cards a partir da largura real do card, então o
   espaçamento acompanha automaticamente, sem precisar duplicar lógica). */
@media (max-width: 639px) {
    .carousel-card { width: 220px; }
    .carousel-3d { height: 380px; }
}
.carousel-nav {
    position: absolute; top: 50%; translate: 0 -50%;
    width: 44px; height: 44px; border-radius: 9999px; z-index: 50;
    display: grid; place-items: center;
    background: rgba(23,23,23,.75); border: 1px solid rgba(255,255,255,.1);
    color: #FAFAFA; transition: border-color .2s ease, color .2s ease;
}
.carousel-nav:hover { border-color: rgba(255,185,35,.5); color: #ffb923; }
.carousel-prev { left: -4px; }
.carousel-next { right: -4px; }
@media (min-width: 640px) { .carousel-prev { left: -22px; } .carousel-next { right: -22px; } }

.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 28px; }
.carousel-dot {
    appearance: none; -webkit-appearance: none;
    width: 8px; height: 8px; border-radius: 9999px;
    background: rgba(255,255,255,.15); border: none; padding: 0; margin: 0;
    cursor: pointer;
    transition: background .2s ease, width .2s ease;
}
.carousel-dot:hover { background: rgba(255,185,35,.5); }
.carousel-dot[aria-selected="true"] { width: 24px; background: #ffb923 !important; }

body {
    background-color: #050505;
    color: #FAFAFA;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
}

.bg-grid {
    background-size: 48px 48px;
    background-image:
        linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
}

.glass-card {
    background: rgba(23,23,23,.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.06);
}

.site-nav {
    background: transparent;
    border-bottom: 1px solid transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}

.site-nav.is-scrolled {
    background: rgba(23,23,23,.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(255,255,255,.06);
}

.nav-logo {
    width: 2rem;
    height: 2rem;
    transition: width .3s ease, height .3s ease;
}

.site-nav:not(.is-scrolled) .nav-logo {
    width: 4.5rem;
    height: 4.5rem;
}
/* No mobile a barra sempre mostra símbolo + wordmark + 2 CTAs + hambúrguer
   — logo grande (efeito do hero em tela cheia) não cabe nesse layout. */
@media (max-width: 639px) {
    .site-nav:not(.is-scrolled) .nav-logo {
        width: 2rem;
        height: 2rem;
    }
}

.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 450px;
    height: 450px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255,185,35,.13), transparent 62%);
    filter: blur(62px);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 35;
    opacity: 0;
    transition: opacity .4s ease;
    will-change: transform;
}
.cursor-glow.is-active { opacity: 1; }

@media (prefers-reduced-motion: reduce), (hover: none) {
    .cursor-glow { display: none; }
}

.glow-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 0;
}

.eyebrow { letter-spacing: .3em; }

.number-marker {
    background: linear-gradient(135deg,#ffb923,#E89B00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-primary {
    background: linear-gradient(to right,#ffb923,#E89B00);
    color: #050505;
    box-shadow: 0 0 30px rgba(255,185,35,.35);
    transition: transform .2s, box-shadow .2s;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(255,185,35,.55); }

.cta-secondary {
    background: #171717;
    border: 1px solid #2A2A2A;
    color: #FAFAFA;
    transition: border-color .2s, color .2s;
}
.cta-secondary:hover { border-color: rgba(255,185,35,.5); color: #ffb923; }

.cookie-consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 50;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}
.cookie-consent.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
@media (max-width: 640px) {
    .cookie-consent { left: 16px; right: 16px; bottom: 16px; }
    .cookie-consent .glass-card { max-width: none; }
}

.field {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: #0A0A0A;
    border: 1px solid #2A2A2A;
    color: #FAFAFA;
    font-size: 1.05rem;
    font-family: 'Outfit', sans-serif;
    transition: border-color .18s, box-shadow .18s;
}
.field::placeholder { color: #5a5a5a; }
.field:focus { outline: none; border-color: #ffb923; box-shadow: 0 0 0 3px rgba(255,185,35,.15); }

/* ---- Wizard (padrão "application form" — ver dashboard/formulario-briefing.html,
   reaproveitado em monte-sua-operacao.html) ---- */

/* Opções (cards selecionáveis estilo FSS) */
.opt {
    display: flex; align-items: center; gap: 14px;
    width: 100%; text-align: left;
    padding: 18px 20px; border-radius: 14px;
    background: rgba(23,23,23,0.45);
    border: 1px solid #2A2A2A;
    color: #E5E5E5; font-size: 1rem;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .12s ease;
}
.opt:hover { border-color: rgba(255,185,35,0.45); background: rgba(255,185,35,0.05); }
.opt:active { transform: scale(0.99); }
.opt.is-selected {
    border-color: #ffb923;
    background: rgba(255,185,35,0.10);
    color: #FAFAFA;
}
.opt.is-disabled { opacity: .4; pointer-events: none; }
.opt-mark {
    flex: none; width: 24px; height: 24px;
    border: 2px solid #3A3A3A; display: grid; place-items: center;
    transition: all .18s ease;
}
.opt-mark.round { border-radius: 9999px; }
.opt-mark.square { border-radius: 7px; }
.opt.is-selected .opt-mark { border-color: #ffb923; background: #ffb923; }
.opt-mark svg { width: 14px; height: 14px; color: #050505; opacity: 0; transition: opacity .18s ease; }
.opt.is-selected .opt-mark svg { opacity: 1; }
.opt-desc { display:block; font-size: .8rem; color: #8a8a8a; font-weight: 300; margin-top: 2px; }
.opt.is-selected .opt-desc { color: #c9a25a; }

/* Escala bipolar — barra progressiva com pontos */
.scale-row { display: grid; grid-template-columns: 1fr; gap: 4px; }
.scale-track { position: relative; padding: 18px 11px; cursor: pointer; }
.scale-rail { position: relative; height: 22px; }
.scale-line { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 3px; border-radius: 9999px; background: #2A2A2A; }
.scale-fill { position: absolute; left: 0; width: 0; top: 50%; transform: translateY(-50%); height: 3px; border-radius: 9999px; background: linear-gradient(to right, #ffb923, #E89B00); transition: width .2s ease; }
.scale-point { position: absolute; top: 50%; transform: translate(-50%,-50%); width: 18px; height: 18px; padding: 0; border-radius: 9999px; background: #171717; border: 2px solid #3A3A3A; cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; z-index: 2; }
.scale-point:hover { border-color: rgba(255,185,35,0.6); transform: translate(-50%,-50%) scale(1.18); }
.scale-point.is-filled { border-color: #E89B00; background: #2a1f08; }
.scale-point.is-selected { background: #ffb923; border-color: #ffb923; transform: translate(-50%,-50%) scale(1.25); box-shadow: 0 0 0 5px rgba(255,185,35,0.18); }
.scale-track[data-locked="true"] { cursor: default; }

/* Progresso */
.progress-track { height: 1px; background: #1c1c1c; }
.progress-fill { height: 100%; background: linear-gradient(to right, #ffb923, #E89B00); transition: width .35s cubic-bezier(.4,0,.2,1); }

/* Entrada de tela do wizard */
@keyframes stepIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.step-in { animation: stepIn .45s cubic-bezier(.16,1,.3,1) forwards; }

/* ---- Pílulas de status (texto + ícone, nunca só cor — WCAG) ---- */
.pill {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
    padding: 4px 10px; border-radius: 9999px; border: 1px solid; white-space: nowrap;
}
.pill .dot { width: 7px; height: 7px; border-radius: 9999px; background: currentColor; }
.pill-done { color:#cbd5e1; border-color:#2A2A2A; background:rgba(255,255,255,.03); }
.pill-prod { color:#ffb923; border-color:rgba(255,185,35,.4); background:rgba(255,185,35,.08); }
.pill-pend { color:#e95e2f; border-color:rgba(233,94,47,.4); background:rgba(233,94,47,.08); }

/* ---- Card genérico com hover ---- */
.dcard { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.dcard:hover { transform: translateY(-4px); border-color: rgba(255,185,35,.4); box-shadow: 0 0 40px rgba(255,185,35,.12); }
.dcard .ico { width:44px; height:44px; border-radius:12px; display:grid; place-items:center; background:rgba(255,185,35,.1); border:1px solid rgba(255,185,35,.25); color:#ffb923; }

@keyframes pulse-dot { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.2);} }
.pulse-dot { animation: pulse-dot 2s infinite; }

/* ---- Menu mobile ---- */
#mobileMenu {
    transition: max-height .25s ease, opacity .2s ease;
    overflow: hidden;
    background: rgba(10,10,10,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
#mobileMenu[data-open="false"] { max-height: 0; opacity: 0; }
#mobileMenu[data-open="true"] { max-height: 640px; opacity: 1; }

/* ---- Dropdown "Planos" (desktop) ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-panel {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
    min-width: 220px; opacity: 0; visibility: hidden; transform-origin: top center;
    transition: opacity .15s ease, visibility .15s ease;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; }

/* ---- Órbita de assets (bloco "o que a IA faz por você") ----
   Mesma órbita em todas as telas — itens giram ao redor do símbolo
   central, texto sempre upright (contra-rotação). No mobile (abaixo de
   640px) só o raio/tamanhos são reduzidos via media query no fim deste
   bloco (16/07/2026) — os valores base abaixo (usados em sm: e acima)
   não foram alterados. */
.orbit-wrap { position: relative; width: 100%; max-width: 650px; aspect-ratio: 1; margin: 0 auto; }

/* luz central do bloco — mais forte e menos desfocada que o .glow-orb
   padrão, pra ficar perceptível sem virar um anel duro em volta do avatar */
.orbit-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 95%; height: 95%; border-radius: 9999px;
    background: rgba(255,185,35,.1);
    filter: blur(100px);
    pointer-events: none; z-index: 0;
}

/* trilha pontilhada mostrando o raio percorrido pelos itens em órbita */
.orbit-track {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: calc(clamp(162.5px, 30vw, 225px) * 2);
    height: calc(clamp(162.5px, 30vw, 225px) * 2);
    border: 1px dashed rgba(255,185,35,.25);
    border-radius: 9999px;
    pointer-events: none;
}

.orbit-center {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 10; width: 200px; height: 200px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}

.orbit-center img { transform: scale(1.35); }

.orbit-ring { position: absolute; inset: 0; animation: orbit-spin 60s linear infinite; }

.orbit-item {
    position: absolute; top: 50%; left: 50%; width: 0; height: 0;
    transform: rotate(var(--angle)) translateX(clamp(162.5px, 30vw, 225px));
}

.orbit-pin {
    position: absolute; top: 0; left: 0; width: 110px;
    display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
    transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
    animation: orbit-counter-spin 60s linear infinite;
}

.orbit-pin .ico { color: #cbd5e1; transition: color .2s ease; }
.orbit-pin span:last-child { transition: color .2s ease; }

.orbit-pin:hover .ico { color: #ffb923; }
.orbit-pin:hover span:last-child { color: #ffb923; }

.orbit-dot {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    background: #cbd5e1;
    box-shadow: 0 0 0 4px rgba(255,255,255,.06);
    transition: background .2s ease, box-shadow .2s ease;
    /* mesma duração do orbit-spin (60s) e timing linear — o delay negativo
       de cada item (inline, por item) fixa o pico do tamanho exatamente no
       instante em que o bullet cruza o ponto âmbar do símbolo (posição "3
       horas"). No lado oposto da órbita (meio ciclo antes/depois, "9 horas")
       o bullet fica no tamanho mínimo. Cálculo na sessão de 2026-07-11. */
    animation: orbit-dot-pulse 60s linear infinite;
}
.orbit-pin:hover .orbit-dot {
    background: #ffb923;
    box-shadow: 0 0 16px rgba(255,185,35,.65), 0 0 0 4px rgba(255,185,35,.15);
}

@keyframes orbit-dot-pulse {
    0%, 100% {
        animation-timing-function: ease-in-out;
        transform: scale(.85);
        background: #cbd5e1;
        box-shadow: 0 0 0 4px rgba(255,255,255,.06);
    }
    50% {
        animation-timing-function: ease-in-out;
        transform: scale(1.9);
        background: #ffb923;
        box-shadow: 0 0 22px rgba(255,185,35,.85), 0 0 0 4px rgba(255,185,35,.15);
    }
}

@keyframes orbit-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes orbit-counter-spin {
    from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))); }
    to   { transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle) - 360deg)); }
}

/* ---- Órbita — só mobile (abaixo de 640px) ----
   Raio mínimo do desktop (162.5px) + rótulo de 110px de largura passam de
   430px de diagrama — não cabe em tela de celular. Só estas propriedades
   são reduzidas; o resto da órbita (cores, animação, contra-rotação) é
   herdado das regras acima, iguais ao desktop. Ajuste 16/07/2026: órbita
   central um pouco maior + anéis decorativos reduzidos (700-1300px do
   desktop centralizavam no .orbit-wrap pequeno do mobile e ficavam quase
   todo fora da tela — o anel 1, mais próximo, não aparecia). */
@media (max-width: 639px) {
    /* .orbit-wrap herda width:100% + aspect-ratio:1 do desktop — sem isto,
       vira um quadrado quase do tamanho da tela, com o diagrama (bem menor)
       centralizado dentro, sobrando respiro enorme em cima/embaixo. */
    .orbit-wrap { max-width: 300px; }
    .orbit-track {
        width: calc(clamp(95px, 26vw, 115px) * 2);
        height: calc(clamp(95px, 26vw, 115px) * 2);
    }
    .orbit-center { width: 92px; height: 92px; }
    .orbit-item { transform: rotate(var(--angle)) translateX(clamp(95px, 26vw, 115px)); }
    .orbit-pin { width: 80px; gap: 8px; }
    .orbit-dot { width: 10px; height: 10px; box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
    .orbit-pin:hover .orbit-dot,
    .orbit-pin:active .orbit-dot {
        box-shadow: 0 0 12px rgba(255,185,35,.65), 0 0 0 3px rgba(255,185,35,.15);
    }
}

/* anéis de fundo da seção — puramente decorativos, reforçam a leitura de
   "órbita" atrás de todo o bloco, não só ao redor do avatar central */
.section-orbit-rings { position: absolute; top: 50%; left: 50%; z-index: 0; pointer-events: none; }
.section-orbit-ring {
    position: absolute; top: 50%; left: 50%;
    border-radius: 9999px;
    border: 1.5px dashed rgba(255,185,35,.16);
    transform: translate(-50%, -50%);
}
.section-orbit-ring--1 { width: 700px; height: 700px; animation: bg-orbit-spin 90s linear infinite; }
.section-orbit-ring--2 { width: 1000px; height: 1000px; border-color: rgba(255,185,35,.12); animation: bg-orbit-spin-reverse 130s linear infinite; }
.section-orbit-ring--3 { width: 1300px; height: 1300px; border-color: rgba(255,185,35,.08); animation: bg-orbit-spin 170s linear infinite; }

/* Anéis — só mobile. Precisa vir DEPOIS das regras acima: mesma
   especificidade (uma classe), então quem vem por último no arquivo
   vence, media query ou não — por isso este bloco não pode ficar antes
   das regras base (era o bug da versão anterior, que não tinha efeito
   nenhum no mobile). Anel 1 colado na trilha; 2 e 3 abertos de novo
   (16/07/2026) pra ocupar visualmente o respiro entre a órbita e a
   próxima seção — eles são absolutamente posicionados, então não mudam
   a altura real da seção, só preenchem o vazio percebido. */
@media (max-width: 639px) {
    /* 260px deixava só ~15px de raio entre a trilha da órbita e o anel 1
       — no print ficou parecendo uma linha dupla colada nos pontos, não
       um anel separado. Aumentado pra abrir um respiro visível. */
    .section-orbit-ring--1 { width: 310px; height: 310px; }
    /* 420px estava perto demais do raio que já é cortado pelas bordas da
       seção (overflow-hidden) nesse tamanho de tela — mal dava pra notar
       diferença do anel 1. Aumentado + opacidade reforçada. */
    .section-orbit-ring--2 { width: 480px; height: 480px; border-color: rgba(255,185,35,.16); }
    .section-orbit-ring--3 { width: 590px; height: 590px; }
}

@keyframes bg-orbit-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes bg-orbit-spin-reverse {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(-360deg); }
}

/* ---- FAQ (acordeão nativo <details>/<summary>) — usado na v2 (index-v2.html) ---- */
.faq-item { padding: 0; overflow: hidden; }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #FAFAFA;
    transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: '';
    flex-shrink: 0;
    width: 9px;
    height: 9px;
    border-right: 2px solid #ffb923;
    border-bottom: 2px solid #ffb923;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
.faq-item summary:hover { color: #ffb923; }
.faq-item p { padding: 0 24px 22px; margin: 0; }

/* ---- Moldura de celular com rolagem interna (screenshot do Painel) ----
   Esconde a scrollbar nativa pra parecer o app de verdade; o scroll
   continua funcional por toque/mouse dentro do frame. */
.phone-scroll-inner {
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* impede que o gesto de toque "vaze" pra rolagem da página ao chegar
       no topo/fundo da imagem — o usuário precisa soltar e tocar de novo
       fora do frame pra página voltar a rolar. */
    overscroll-behavior: contain;
}
.phone-scroll-inner::-webkit-scrollbar { display: none; }

/* ---- Modal · Fale Conosco (captação de leads) ---- */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.lead-modal.is-open { opacity: 1; pointer-events: auto; }
.lead-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5,5,5,.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.lead-modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    transform: scale(.96);
    transition: transform .25s ease;
    background: #0A0A0A;
    box-shadow:
        0 0 0 1px rgba(255,185,35,.12),
        0 0 90px rgba(255,185,35,.35),
        0 0 160px rgba(255,185,35,.18),
        0 25px 60px rgba(0,0,0,.6);
}
.lead-modal.is-open .lead-modal-card { transform: scale(1); }
.lead-modal-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 2;
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border-radius: 9999px;
    color: #9ca3af;
    transition: color .2s ease, background .2s ease;
}
.lead-modal-close:hover { color: #ffb923; background: rgba(255,255,255,.06); }

/* ---- Linha de progresso do bloco "Como funciona" (index-v2.html) ----
   Track + fill posicionados via JS (site.js), alinhados ao centro de cada
   .process-dot. O fill cresce por scaleY conforme a seção rola pra dentro
   da viewport, "acendendo" cada etapa quando a linha a alcança. */
#processoSteps { position: relative; }
.process-line-track, .process-line-fill {
    position: absolute;
    top: 0; left: 0; height: 0;
    width: 2px;
    z-index: 0;
}
.process-line-track { background: rgba(255,255,255,.08); }
.process-line-fill {
    background: linear-gradient(to bottom, #ffb923, #E89B00);
    transform: scaleY(0);
    transform-origin: top;
}
.process-dot {
    position: relative;
    z-index: 10;
    width: 44px; height: 44px;
    border-radius: 9999px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    background: #0A0A0A;
    border: 1px solid rgba(255,255,255,.12);
    transition: border-color .35s ease, box-shadow .35s ease;
}
.process-dot.is-active {
    border-color: rgba(255,185,35,.55);
    box-shadow: 0 0 18px rgba(255,185,35,.35);
}

/* ---- Acessibilidade ---- */
*:focus-visible { outline: 2px solid #ffb923; outline-offset: 3px; }
*:focus:not(:focus-visible) { outline: none; }
/* Foco restaurado por script (ex.: fechar o modal de leads) após abertura
   via mouse — mantém o foco funcional pra leitor de tela, sem o anel visual
   que só faz sentido pra quem navegou até ali pelo teclado. */
.suppress-focus-ring:focus-visible { outline: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration:.001ms!important; transition-duration:.001ms!important; scroll-behavior:auto!important; }
}
