/* ==========================================================================
   mikeoliveira.art — site institucional
   Mobile first. Bootstrap 5 dá o grid/utilitários; aqui fica a identidade.
   ========================================================================== */

/* ---------- Fontes (locais) ---------- */
@font-face {
    font-family: "Alata";
    src: url("../fonts/alata-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Alata";
    src: url("../fonts/alata-latin-ext-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
    font-weight: 100 900;
    font-display: swap;
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
    --bg: #09090b;
    --bg-2: #0e0e11;
    --surface: #131317;
    --surface-2: #1a1a1f;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #f4f4f5;
    --muted: #a1a1aa;
    --muted-2: #8b8b94; /* texto pequeno: contraste AA (4,5:1) sobre o fundo e os cards */
    --brand: #f0952f;
    --brand-2: #f6cb8c;
    --brand-deep: #cc8f45;
    --brand-ink: #1c1206;
    --grad: linear-gradient(100deg, #f0952f 0%, #f6cb8c 100%);
    --ok: #34d399;
    --live: #ef4444;
    --radius: 18px;
    --radius-lg: 26px;
    --header-h: 68px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --font-display: "Alata", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --bs-body-bg: var(--bg);
    --bs-body-color: var(--text);
    --bs-body-font-family: var(--font-body);
    --bs-gutter-x: 2rem;
}

/* ---------- Base ---------- */
/* scrollbar-gutter: a página não "pula" quando o menu ou a foto travam a rolagem */
/* overflow-x: clip no html E no body: com só o body, o valor vai para a janela e o celular ainda
   alarga a página quando algo passa da borda numa animação (o botão fixo do WhatsApp ia junto).
   Assim o próprio body recorta o excesso. "clip" não cria rolagem, então o sticky segue funcionando. */
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); scrollbar-gutter: stable; overflow-x: clip; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}
/* Safari antigo (sem "clip"): recorta no conteúdo. Só no celular, onde não há sticky que o hidden quebraria. */
@supports not (overflow: clip) {
    @media (max-width: 991.98px) { main, .site-footer { overflow-x: hidden; } }
}
/* Granulado sutil para tirar a "chapa" do fundo escuro */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
::selection { background: var(--brand); color: var(--brand-ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
.container-xl { padding-inline: 1.25rem; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.skip-link {
    position: fixed; left: 1rem; top: -4rem; z-index: 10000;
    background: var(--brand); color: var(--brand-ink); padding: .6rem 1rem; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Botões ---------- */
.btn-brand, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
    padding: .85rem 1.35rem; border-radius: 999px;
    font-weight: 600; font-size: .98rem; line-height: 1.2; white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.btn-brand {
    background: var(--grad); color: var(--brand-ink);
    box-shadow: 0 10px 34px -10px rgba(240, 149, 47, .65), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.btn-brand:hover { color: var(--brand-ink); box-shadow: 0 16px 44px -10px rgba(240, 149, 47, .85), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn-ghost {
    border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--text);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .26); color: var(--text); }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-brand .bi-arrow-up-right { transition: transform .3s var(--ease); }
.btn-brand:hover .bi-arrow-up-right { transform: translate(2px, -2px); }

/* ---------- Barra de progresso de leitura ---------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1100;
    background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
    transition: transform .45s var(--ease), background-color .35s, border-color .35s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(9, 9, 11, .72);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand img { width: 138px; height: auto; display: block; }
.nav-desktop { display: none; }

.menu-toggle {
    position: relative; z-index: 1002; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04);
    display: grid; place-content: center; gap: 6px;
}
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.menu-aberto .menu-toggle span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-aberto .menu-toggle span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.menu-mobile {
    position: fixed; inset: 0; z-index: 1001;
    background: rgba(9, 9, 11, .94);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    padding: calc(var(--header-h) + 2rem) 1.5rem 2rem;
    display: flex; flex-direction: column; justify-content: space-between;
}
.menu-mobile[hidden] { display: none; }
.menu-mobile nav { display: flex; flex-direction: column; }
.menu-mobile nav a {
    font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.6rem); line-height: 1.25;
    padding: .35rem 0; border-bottom: 1px solid var(--line);
}
.menu-mobile-rodape p { margin: 1rem 0 0; color: var(--muted); font-size: .9rem; text-align: center; }
.menu-aberto { overflow: hidden; }
/* Com o menu aberto, o header (logo + botão fechar) fica por cima do painel */
.menu-aberto .site-header {
    z-index: 1002; transform: none;
    background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* ---------- Hero ---------- */
.hero {
    position: relative; display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 2.5rem) 0 2rem; isolation: isolate; overflow: hidden;
}
/* Fundo: brilhos da marca + rede de dados viva em canvas (hero-rede.js) */
.hero-fundo {
    position: absolute; inset: 0; z-index: -1; will-change: transform;
    background:
        radial-gradient(ellipse 80% 40% at 60% 66%, rgba(240, 149, 47, .14), transparent 70%),
        radial-gradient(ellipse 60% 40% at 0% 100%, rgba(99, 102, 241, .06), transparent 70%),
        var(--bg);
}
.hero-fundo::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 16%;
    background: linear-gradient(0deg, var(--bg), transparent);
}
.hero-rede { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grade { display: grid; gap: 3rem; }
.hero-conteudo { position: relative; }

/* Cena: a Alice atendendo e o sistema reagindo. No celular, só a conversa + o aviso. */
.hero-cena { position: relative; }
.cena-palco { position: relative; max-width: 400px; margin: 0 auto 1.5rem; --rx: 0deg; --ry: 0deg; }
.cena-card {
    overflow: hidden; border-radius: 20px; border: 1px solid var(--line-2);
    background: rgba(17, 17, 21, .84);
    -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
}
.cena-painel { display: none; }
.cena-toast {
    position: absolute; left: 50%; bottom: -1.1rem; translate: -50% 0; z-index: 2;
    display: inline-flex; align-items: center; gap: .5rem; max-width: 94%;
    padding: .65rem 1rem; border-radius: 14px; white-space: nowrap;
    font-size: .8rem; font-weight: 500; color: #fff;
    background: rgba(19, 19, 23, .95); border: 1px solid rgba(240, 149, 47, .35);
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .85), 0 0 30px -10px rgba(240, 149, 47, .45);
}
.cena-toast i { color: var(--brand); }
.cena-toast span { overflow: hidden; text-overflow: ellipsis; }

/* Painel do sistema (desktop) */
.painel-topo { display: flex; justify-content: space-between; align-items: center; padding: .8rem 1rem .3rem; }
.painel-topo b { font-size: .88rem; font-weight: 600; }
.painel-topo em { font-style: normal; font-size: .66rem; color: var(--muted); padding: .15rem .55rem; border-radius: 999px; border: 1px solid var(--line-2); }
.painel-lista { list-style: none; margin: 0; padding: .2rem .6rem .7rem; }
.painel-lista li {
    display: flex; align-items: center; gap: .45rem; padding: .6rem .5rem; border-radius: 10px;
    font-size: .76rem; color: #d4d4d8; border-top: 1px solid var(--line);
}
.painel-lista li:first-child { border-top-color: transparent; }
.painel-lista li > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.painel-lista b { color: #fff; font-weight: 600; margin-right: .2rem; }
.painel-novo { background: rgba(240, 149, 47, .09); }
.tag-alice {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: .25rem;
    font-style: normal; font-size: .62rem; font-weight: 700; padding: .14rem .45rem; border-radius: 999px;
    color: var(--brand-ink); background: var(--grad);
}
.status {
    flex: 0 0 auto; font-style: normal; font-size: .64rem; font-weight: 600; padding: .16rem .5rem; border-radius: 999px;
    color: #d4d4d8; background: rgba(255, 255, 255, .07);
}
.st-ok { color: var(--ok); background: rgba(52, 211, 153, .12); }
.st-assinado { color: var(--brand-2); background: rgba(240, 149, 47, .14); }
.st-pago { color: #93c5fd; background: rgba(147, 197, 253, .12); }

/* ---------- Conversa no WhatsApp (Alice) ---------- */
.chat { display: flex; flex-direction: column; height: 460px; }
.chat-topo {
    display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem;
    border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .025);
}
.chat-avatar {
    position: relative; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
    box-shadow: 0 0 0 2px var(--brand), 0 0 0 5px rgba(240, 149, 47, .16), 0 0 24px -4px rgba(240, 149, 47, .6);
}
.chat-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
/* selo de IA no canto do avatar */
.chat-avatar i {
    position: absolute; right: -4px; bottom: -3px; width: 17px; height: 17px; border-radius: 50%;
    display: grid; place-items: center; font-size: .55rem; color: var(--brand-ink);
    background: var(--grad); border: 2px solid #141418;
}
.chat-quem b { display: block; font-size: .92rem; line-height: 1.2; }
.chat-quem small { display: flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--muted); }
.chat-quem small i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.chat-canal { margin-left: auto; font-size: 1.15rem; color: #25d366; }
.chat-corpo {
    flex: 1; min-height: 0; overflow: hidden; padding: 1rem .9rem;
    display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
    background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 18px 18px;
}
.msg { flex: 0 0 auto; max-width: 86%; padding: .55rem .75rem .35rem; border-radius: 14px; font-size: .84rem; line-height: 1.42; }
.msg-cliente { align-self: flex-start; color: #e4e4e7; background: #1f1f26; border-top-left-radius: 4px; }
.msg-alice {
    align-self: flex-end; color: #fdecd6; border-top-right-radius: 4px;
    background: linear-gradient(180deg, rgba(240, 149, 47, .24), rgba(240, 149, 47, .15));
    border: 1px solid rgba(240, 149, 47, .28);
}
.msg time { display: block; margin-top: .1rem; text-align: right; font-size: .64rem; color: var(--muted-2); }
.msg-alice time { color: rgba(253, 236, 214, .55); }
.msg-alice time i { color: #60a5fa; }
.msg-anexo {
    display: flex; align-items: center; gap: .6rem; margin-top: .5rem; padding: .55rem .7rem; border-radius: 10px;
    background: rgba(9, 9, 11, .55); border: 1px solid var(--line-2);
}
.msg-anexo > i { font-size: 1.25rem; color: var(--brand); }
.msg-anexo b { display: block; font-size: .8rem; color: #fff; }
.msg-anexo small { display: block; font-size: .7rem; color: var(--muted); }
.chat-digitando {
    display: none; align-self: flex-end; gap: 4px; padding: .7rem .85rem;
    border-radius: 14px; border-top-right-radius: 4px; background: rgba(240, 149, 47, .15);
}
.chat-digitando.ativo { display: flex; }
.chat-digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); animation: digitar 1.2s infinite ease-in-out; }
.chat-digitando i:nth-child(2) { animation-delay: .15s; }
.chat-digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes digitar { 0%, 60%, 100% { opacity: .3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes flutuar { 50% { translate: 0 -8px; } }
.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1.4rem;
    padding: .45rem .9rem; border-radius: 999px; font-size: .8rem; letter-spacing: .02em; color: #e4e4e7;
    border: 1px solid var(--line-2); background: rgba(9, 9, 11, .45);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.pulso { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pulso::after {
    content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--brand);
    animation: pulso 2.2s var(--ease) infinite;
}
@keyframes pulso { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }

.hero-titulo {
    font-size: clamp(2.6rem, 10.5vw, 6.2rem); line-height: 1.02; max-width: 15ch; margin-bottom: 1.4rem;
    text-wrap: balance;
}
.grad, .is-split .grad .w > span {
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.is-split .grad { background: none; color: inherit; }
/* Máscara da entrada palavra a palavra. A folga de .25em preserva as pernas do g/ç/p
   e, ao fim da animação, o JS adiciona .revelado e a máscara sai de vez. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .25em; margin: 0 -.04em -.25em; }
.w > span { display: inline-block; }
.revelado .w { overflow: visible; }

.hero-sub { font-size: clamp(1.02rem, 2.6vw, 1.22rem); color: #d4d4d8; max-width: 40rem; margin-bottom: 2rem; }
.hero-acoes { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-acoes > a { flex: 1 1 auto; }

.hero-numeros {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0 0;
    padding-top: 1.5rem; border-top: 1px solid var(--line);
}
.hero-numeros dt { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 5vw, 2.2rem); line-height: 1.1; }
.hero-numeros dd { margin: .2rem 0 0; color: var(--muted); font-size: .8rem; line-height: 1.35; }

.hero-rolar { display: none; }

/* ---------- Faixa de clientes ---------- */
.faixa-clientes { padding: 2.5rem 0 1rem; }
.faixa-titulo { text-align: center; color: var(--muted-2); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.25rem; padding-inline: 1.25rem; }
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-trilho { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
.marquee li {
    font-family: var(--font-display); font-size: clamp(1.15rem, 3vw, 1.6rem); color: #8b8b94;
    white-space: nowrap; padding: 0 1.4rem; display: flex; align-items: center; gap: 2.8rem;
}
.marquee li::after { content: "✦"; font-size: .7em; color: var(--brand-deep); margin-right: -1.4rem; }
.marquee:hover .marquee-trilho { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.secao { padding: clamp(3.75rem, 6vw, 5.5rem) 0; position: relative; }
.secao-cabecalho { max-width: 46rem; margin: 0 auto 2.75rem; text-align: center; }
.secao-cabecalho h2 { font-size: clamp(2.05rem, 5.6vw, 3.7rem); line-height: 1.06; margin-bottom: 1rem; text-wrap: balance; }
.secao-cabecalho p { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.12rem); margin: 0; }
.secao-cabecalho.text-start { margin-left: 0; }
.rotulo {
    display: inline-flex; align-items: center; gap: .6rem; margin-bottom: 1rem;
    color: var(--brand); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.rotulo::before { content: ""; width: 22px; height: 1px; background: currentColor; }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1.25rem 0 0; }
.chips li {
    font-size: .8rem; padding: .35rem .75rem; border-radius: 999px;
    border: 1px solid var(--line-2); color: #d4d4d8; background: rgba(255, 255, 255, .03);
}
.chips-sm li { font-size: .72rem; padding: .25rem .6rem; }

/* ---------- Bento de serviços ---------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.card-bento {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 1.6rem; border-radius: var(--radius-lg);
    background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
    border: 1px solid var(--line);
    transition: border-color .4s;
}
.card-bento::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
    background: radial-gradient(520px circle at var(--x, 50%) var(--y, 50%), rgba(240, 149, 47, .13), transparent 42%);
}
.card-bento:hover { border-color: var(--line-2); }
.card-bento:hover::before { opacity: 1; }
.card-bento h3 { font-size: clamp(1.45rem, 3.4vw, 1.9rem); line-height: 1.15; margin: 1rem 0 .6rem; }
.card-bento p { color: var(--muted); margin: 0; }
.bento-icone {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px;
    font-size: 1.25rem; color: var(--brand);
    background: rgba(240, 149, 47, .1); border: 1px solid rgba(240, 149, 47, .22);
}

/* Mini aplicativo ilustrativo */
.mini-app {
    margin-top: 1.75rem; border-radius: 16px; overflow: hidden;
    border: 1px solid var(--line-2); background: #0b0b0e;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.mini-app-barra { display: flex; align-items: center; gap: .35rem; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.mini-app-barra i, .case-barra i { width: 8px; height: 8px; border-radius: 50%; background: #3f3f46; }
.mini-app-barra span, .case-barra span {
    margin-left: .6rem; font-size: .7rem; color: var(--muted-2);
    padding: .15rem .6rem; border-radius: 6px; background: rgba(255, 255, 255, .04);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
/* Histórico de um pedido (o que o sistema faz sozinho) */
.fluxo-topo {
    display: flex; justify-content: space-between; align-items: center; gap: .75rem;
    padding: .85rem 1rem .35rem; font-size: .78rem; color: #e4e4e7;
}
.fluxo-topo b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fluxo-topo em {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: .3rem;
    font-style: normal; font-size: .66rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px;
    color: var(--brand-2); background: rgba(240, 149, 47, .12); border: 1px solid rgba(240, 149, 47, .25);
}
.fluxo { position: relative; list-style: none; margin: 0; padding: .35rem 1rem .25rem; }
.fluxo::before {
    content: ""; position: absolute; left: calc(1rem + 14px); top: 1.1rem; bottom: 1.1rem; width: 1px;
    background: linear-gradient(180deg, rgba(240, 149, 47, .5), rgba(52, 211, 153, .5));
}
.fluxo li { position: relative; display: grid; grid-template-columns: 29px 1fr auto; gap: .75rem; align-items: center; padding: .48rem 0; }
.fluxo li > i {
    width: 29px; height: 29px; border-radius: 9px; display: grid; place-items: center; font-size: .8rem;
    color: var(--brand); background: #17130f; border: 1px solid rgba(240, 149, 47, .3);
}
.fluxo li:last-child > i { color: var(--ok); background: #0f1714; border-color: rgba(52, 211, 153, .35); }
.fluxo b { display: block; font-size: .8rem; font-weight: 600; color: #e4e4e7; line-height: 1.3; }
.fluxo small { display: block; font-size: .7rem; color: var(--muted-2); line-height: 1.3; }
.fluxo time { font-size: .68rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.fluxo-rodape { margin: 0; padding: .7rem 1rem .85rem; border-top: 1px solid var(--line); font-size: .72rem; color: var(--muted); }

/* Pilha de telas (sites) */
.pilha-telas { position: relative; height: 190px; margin: -.25rem 0 1rem; }
.pilha-telas img {
    position: absolute; left: 50%; top: 50%; width: 78%; border-radius: 10px;
    border: 1px solid var(--line-2); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .9);
    transition: transform .6s var(--ease);
}
.pilha-telas img:nth-child(1) { transform: translate(-50%, -50%) translate(-18%, -12%) rotate(-7deg) scale(.86); opacity: .6; }
.pilha-telas img:nth-child(2) { transform: translate(-50%, -50%) translate(18%, -6%) rotate(6deg) scale(.9); opacity: .8; }
.pilha-telas img:nth-child(3) { transform: translate(-50%, -50%) translate(0, 10%); }
.bento-sites:hover .pilha-telas img:nth-child(1) { transform: translate(-50%, -50%) translate(-26%, -18%) rotate(-10deg) scale(.86); }
.bento-sites:hover .pilha-telas img:nth-child(2) { transform: translate(-50%, -50%) translate(26%, -12%) rotate(9deg) scale(.9); }
.bento-sites:hover .pilha-telas img:nth-child(3) { transform: translate(-50%, -50%) translate(0, 6%) scale(1.04); }

/* Lives */
/* Foto no alto do card (o texto fica embaixo, sem cobrir o rosto); cresce para ocupar a altura da linha */
.bento-lives { display: flex; flex-direction: column; }
.lives-foto {
    position: relative; flex: 1 1 auto; min-height: 260px; margin: -.4rem -.4rem 1.25rem;
    border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
}
.lives-foto img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% 55%;
    transition: transform 1s var(--ease);
}
.lives-foto::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, rgba(14, 14, 17, .7), transparent); }
.bento-lives:hover .lives-foto img { transform: scale(1.05); }
.ao-vivo {
    position: absolute; z-index: 1; top: .9rem; right: .9rem; display: inline-flex; align-items: center; gap: .45rem;
    font-size: .7rem; font-weight: 700; letter-spacing: .12em; padding: .35rem .7rem; border-radius: 8px;
    background: rgba(24, 9, 9, .72); color: #fca5a5; border: 1px solid rgba(239, 68, 68, .45);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ao-vivo i { width: 7px; height: 7px; border-radius: 50%; background: var(--live); animation: piscar 1.4s ease-in-out infinite; }
@keyframes piscar { 50% { opacity: .25; } }

/* Card de IA: capacidades */
.ia-capacidades { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; grid-template-columns: 1fr; }
.ia-capacidades li {
    display: grid; grid-template-columns: 34px 1fr; column-gap: .75rem; align-items: center;
    padding: .7rem .8rem; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    transition: border-color .3s, background-color .3s;
}
.ia-capacidades li:hover { border-color: rgba(240, 149, 47, .35); background: rgba(240, 149, 47, .05); }
.ia-capacidades i {
    grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    font-size: .95rem; color: var(--brand); background: rgba(240, 149, 47, .1);
}
.ia-capacidades b { font-size: .86rem; font-weight: 600; color: #e4e4e7; line-height: 1.3; }
.ia-capacidades small { font-size: .75rem; color: var(--muted-2); line-height: 1.35; }

/* ---------- IA na prática ---------- */
.secao-ia { background: radial-gradient(ellipse 60% 50% at 75% 50%, rgba(240, 149, 47, .07), transparent 70%); }
.bastidores { position: relative; list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.bastidores::before { content: ""; position: absolute; left: 17.5px; top: 20px; bottom: 20px; width: 1px; background: var(--line-2); }
.bastidores li {
    position: relative; display: grid; grid-template-columns: 36px 1fr auto; gap: .9rem; align-items: center;
    padding: .5rem 0; transition: opacity .5s var(--ease);
}
.bastidores li > i {
    position: relative; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
    font-size: .95rem; color: var(--muted); background: var(--bg); border: 1px solid var(--line-2);
    transition: color .4s, border-color .4s, box-shadow .4s, background-color .4s;
}
.bastidores li.ativo > i { color: var(--brand); border-color: rgba(240, 149, 47, .5); background: #17120c; box-shadow: 0 0 0 5px rgba(240, 149, 47, .1); }
.bastidores b { display: block; font-size: .95rem; font-weight: 600; color: #e4e4e7; line-height: 1.3; }
.bastidores small { display: block; font-size: .82rem; color: var(--muted-2); line-height: 1.35; }
.bastidores time { font-size: .74rem; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.nota-exemplo { display: flex; align-items: center; gap: .45rem; margin: 1.5rem 0 0; font-size: .78rem; color: var(--muted-2); }
.ia-chat { max-width: 440px; margin: 0 auto; }
.chat-grande {
    height: 620px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2);
    background: rgba(17, 17, 21, .92);
    box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), 0 0 120px -40px rgba(240, 149, 47, .3);
}

/* ---------- Como funciona ---------- */
.secao-processo { background: radial-gradient(ellipse 70% 50% at 70% 40%, rgba(240, 149, 47, .07), transparent 70%); }
.celular-palco { display: flex; justify-content: center; }
.celular {
    position: relative; width: min(300px, 82vw); aspect-ratio: 300 / 610;
    border-radius: 46px; padding: 11px;
    background: linear-gradient(145deg, #2a2a31, #111114);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 120px -20px rgba(240, 149, 47, .25);
}
.celular::before {
    content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
    width: 86px; height: 24px; border-radius: 20px; background: #050506; z-index: 2;
}
.celular-tela {
    position: relative; height: 100%; border-radius: 36px; overflow: hidden;
    background: #f5f5f6; color: #18181b; padding: 54px 18px 18px;
    font-family: var(--font-body); font-size: 12px; line-height: 1.4;
}
.orc-topo { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #e4e4e7; }
.orc-topo strong { font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: .02em; }
.orc-topo strong span { color: var(--brand-deep); }
.orc-status {
    display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 999px; background: #f4f4f5; color: #52525b; border: 1px solid #e4e4e7;
    transition: background-color .4s, color .4s, border-color .4s;
}
.orc-status i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.orc-numero { margin: 12px 0 10px; font-size: 11px; color: #71717a; }
.orc-numero span { color: var(--brand-deep); font-weight: 700; letter-spacing: .06em; }
.orc-cliente { background: #fff; border: 1px solid #ececef; border-radius: 12px; padding: 10px 12px; margin-bottom: 10px; }
.orc-cliente small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; color: #a1a1aa; }
.orc-cliente strong { font-size: 13px; }
.orc-itens { list-style: none; padding: 0; margin: 0 0 10px; background: #fff; border: 1px solid #ececef; border-radius: 12px; }
.orc-itens li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; font-weight: 600; font-size: 11px; }
.orc-itens li + li { border-top: 1px solid #f0f0f2; }
.orc-itens i, .orc-total i { flex: 0 0 auto; width: 46px; height: 8px; border-radius: 4px; background: #e4e4e7; }
.orc-total {
    display: flex; justify-content: space-between; align-items: center; padding: 11px 12px; border-radius: 12px;
    background: var(--brand-deep); color: #fff; font-weight: 700; font-size: 12px; margin-bottom: 12px;
}
.orc-total i { background: rgba(255, 255, 255, .45); width: 64px; }
.orc-assinatura {
    background: #fff; border: 1px dashed #d4d4d8; border-radius: 12px; padding: 6px 12px 8px; margin-bottom: 12px;
    color: #27272a; max-height: 0; opacity: 0; overflow: hidden; padding-block: 0; border-width: 0;
    transition: max-height .6s var(--ease), opacity .5s, padding .6s var(--ease);
}
.orc-assinatura svg { width: 100%; height: 54px; }
.orc-assinatura path { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s ease .2s; }
.orc-assinatura small { display: block; font-size: 8.5px; color: #71717a; text-align: center; }
.orc-botao {
    position: relative; width: 100%; height: 42px; border-radius: 12px; border: 1px solid #d4d4d8;
    background: #fff; color: #18181b; font-weight: 700; font-size: 12px; overflow: hidden; pointer-events: none;
    transition: background-color .4s, border-color .4s, color .4s;
}
.orc-botao span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; transition: transform .5s var(--ease), opacity .4s; }
.orc-botao .b1 i { color: #16a34a; }
.orc-botao .b2 { transform: translateY(100%); opacity: 0; }
.orc-toast {
    position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px; border-radius: 14px;
    background: #18181b; color: #fff; font-weight: 600; font-size: 12px; text-align: center;
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .6s var(--ease);
}
.orc-toast i { color: var(--brand); margin-right: 4px; }

.celular[data-estado="2"] .orc-status,
.celular[data-estado="3"] .orc-status,
.celular[data-estado="4"] .orc-status { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.celular[data-estado="2"] .orc-botao, .celular[data-estado="3"] .orc-botao, .celular[data-estado="4"] .orc-botao { background: #16a34a; border-color: #16a34a; color: #fff; }
.celular[data-estado="2"] .orc-botao .b1, .celular[data-estado="3"] .orc-botao .b1, .celular[data-estado="4"] .orc-botao .b1 { transform: translateY(-100%); opacity: 0; }
.celular[data-estado="2"] .orc-botao .b2, .celular[data-estado="3"] .orc-botao .b2, .celular[data-estado="4"] .orc-botao .b2 { transform: none; opacity: 1; }
.celular[data-estado="3"] .orc-assinatura, .celular[data-estado="4"] .orc-assinatura { max-height: 110px; opacity: 1; padding-block: 6px 8px; border-width: 1px; }
.celular[data-estado="3"] .orc-assinatura path, .celular[data-estado="4"] .orc-assinatura path { stroke-dashoffset: 0; }
.celular[data-estado="4"] .orc-toast { transform: none; }

.passos { position: relative; list-style: none; padding: 0 0 0 3.6rem; margin: 0; counter-reset: passo; }
.passos-linha { position: absolute; left: 1.15rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line-2); border-radius: 2px; }
.passos-linha span { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
/* Etapa inativa apagada pela cor (não por opacity), para o texto seguir legível */
.passo { position: relative; padding: 0 0 2.6rem; }
.passo:last-child { padding-bottom: 0; }
.passo-num {
    position: absolute; left: -3.6rem; top: 0; width: 2.3rem; height: 2.3rem; border-radius: 50%;
    display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: var(--muted-2);
    background: var(--bg); border: 1px solid var(--line);
    transition: color .4s, border-color .4s, background-color .4s, box-shadow .4s;
}
.passo.ativo .passo-num { color: var(--brand-ink); background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(240, 149, 47, .14); }
.passo h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); margin: .2rem 0 .4rem; color: var(--muted); transition: color .5s var(--ease); }
.passo p { color: var(--muted-2); margin: 0; max-width: 32rem; transition: color .5s var(--ease); }
.passo.ativo h3 { color: var(--text); }
.passo.ativo p { color: var(--muted); }

/* ---------- Projetos ---------- */
.case {
    display: flex; flex-direction: column; height: 100%;
    border-radius: var(--radius-lg); border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
}
.case:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: 0 30px 60px -30px rgba(240, 149, 47, .25); color: inherit; }
.case-janela { position: relative; padding: .9rem .9rem 0; }
.case-barra {
    display: flex; align-items: center; gap: .35rem; padding: .55rem .7rem;
    background: #0b0b0e; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0;
}
.case-img { aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--line); border-top: 0; background: #0b0b0e; }
.case-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.case:hover .case-img img { transform: scale(1.05); }
/* Celular sobreposto ao canto da janela: mostra que o projeto também foi pensado para o celular */
.case-celular {
    position: absolute; right: 1.5rem; bottom: -1.5rem; width: 21%; aspect-ratio: 340 / 736;
    /* cantos proporcionais à largura do aparelho (horizontal % / vertical %, na proporção 340×736):
       em px fixos, o celular pequeno do card no mobile virava uma pílula */
    padding: 4px; border-radius: 15% / 7%; background: #0b0b0e; border: 1px solid var(--line-2);
    box-shadow: 0 24px 40px -14px rgba(0, 0, 0, .9);
    transition: transform .6s var(--ease);
}
.case-celular img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 11% / 5%; }
.case:hover .case-celular { transform: translateY(-10px) rotate(-2deg); }
.case-info { padding: 2.1rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.case-destaque .case-info { padding: 2.4rem 1.75rem 1.75rem; }
.case-destaque .case-info h3 { font-size: 1.7rem; }
.projetos-grupo {
    display: flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem;
    font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.projetos-grupo i { font-size: 1rem; color: var(--brand); }
.row + .projetos-grupo { margin-top: 3.5rem; }
.case-tipo { color: var(--brand); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.case-info h3 { font-size: 1.45rem; margin: .45rem 0 .5rem; display: flex; justify-content: space-between; gap: 1rem; }
.case-info h3 i { font-size: 1rem; color: var(--muted-2); transition: transform .4s var(--ease), color .4s; }
.case:hover .case-info h3 i { transform: translate(3px, -3px); color: var(--brand); }
.case-info p { color: var(--muted); font-size: .95rem; margin: 0; }
.case-info .chips { margin-top: auto; padding-top: 1.1rem; }

/* ---------- Lives (trilhos infinitos) ---------- */
.secao-lives { overflow: hidden; }
.trilhos {
    display: flex; flex-direction: column; gap: .9rem; margin-top: 3rem;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.trilho { display: flex; gap: .9rem; width: max-content; animation: marquee 90s linear infinite; }
.trilho.reverso { animation-direction: reverse; animation-duration: 110s; }
.trilho img {
    height: 190px; width: auto; border-radius: 16px; object-fit: cover;
    border: 1px solid var(--line); filter: saturate(.9);
}
.trilhos:hover .trilho { animation-play-state: paused; }

/* ---------- Sobre ---------- */
.sobre-foto { position: relative; display: block; width: min(380px, 80vw); margin: 0 auto; cursor: zoom-in; border-radius: 50%; }
.sobre-foto::before {
    content: ""; position: absolute; inset: -10px; border-radius: 50%;
    background: conic-gradient(from 0deg, var(--brand), transparent 30%, var(--brand-2) 55%, transparent 80%, var(--brand));
    animation: girar 10s linear infinite; filter: blur(.5px);
}
.sobre-foto::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; background: var(--bg); }
.sobre-foto img { position: relative; z-index: 1; border-radius: 50%; display: block; width: 100%; transition: transform .6s var(--ease), filter .4s; }
.sobre-foto:hover img, .sobre-foto:focus-visible img { transform: scale(1.03); filter: brightness(1.06); }
/* Dica de que a foto abre: aparece no hover (desktop) e fica fixa no canto em telas de toque */
.sobre-expandir {
    position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
    width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.2rem; color: #fff; background: rgba(9, 9, 11, .5); border: 1px solid rgba(255, 255, 255, .28);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    opacity: 0; scale: .8; transition: opacity .35s, scale .35s var(--ease);
}
.sobre-foto:hover .sobre-expandir, .sobre-foto:focus-visible .sobre-expandir { opacity: 1; scale: 1; }
@media (hover: none) {
    .sobre-expandir { opacity: 1; scale: 1; left: auto; top: 8%; right: 8%; translate: 0 0; width: 44px; height: 44px; font-size: 1rem; }
}
/* Enquanto a foto está aberta, a miniatura some: a imagem grande "sai" de dentro do círculo */
.sobre-foto.aberta img, .sobre-foto.aberta .sobre-selo, .sobre-foto.aberta .sobre-expandir { opacity: 0; }

/* ---------- Foto completa (modal) ---------- */
.foto-aberta { overflow: hidden; }
.foto-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 4vh 4vw; }
.foto-modal[hidden] { display: none; }
.foto-modal-fundo {
    position: absolute; inset: 0; cursor: zoom-out;
    background: rgba(9, 9, 11, .6);
    -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%);
}
.foto-modal-quadro {
    position: relative; margin: 0; width: min(92vw, calc(90vh * 1100 / 1375)); aspect-ratio: 1100 / 1375;
    border-radius: 24px; overflow: hidden; transform-origin: 0 0; will-change: transform, clip-path;
    background: #141418; box-shadow: 0 50px 120px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08);
}
.foto-modal-quadro img { display: block; width: 100%; height: 100%; object-fit: cover; }
.foto-modal-quadro figcaption {
    position: absolute; left: 0; right: 0; bottom: 0; padding: 3.5rem 1.5rem 1.25rem;
    font-size: .9rem; color: #d4d4d8; background: linear-gradient(0deg, rgba(9, 9, 11, .88), transparent);
}
.foto-modal-quadro figcaption b { color: #fff; font-weight: 600; }
.foto-modal-fechar {
    position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; font-size: 1.05rem; color: #fff;
    background: rgba(19, 19, 23, .8); border: 1px solid var(--line-2);
    transition: background-color .3s, transform .3s var(--ease);
}
.foto-modal-fechar:hover { background: rgba(255, 255, 255, .12); transform: rotate(90deg); }
@keyframes girar { to { transform: rotate(360deg); } }
.sobre-selo {
    position: absolute; z-index: 2; right: 2%; bottom: 8%;
    font-family: var(--font-display); font-size: 1rem; padding: .55rem 1rem; border-radius: 999px;
    background: var(--grad); color: var(--brand-ink); box-shadow: 0 12px 30px -10px rgba(240, 149, 47, .7);
}
.lista-check { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.lista-check li {
    display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 14px;
    border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: #e4e4e7;
}
.lista-check i { color: var(--brand); font-size: 1.2rem; }

/* ---------- CTA final ---------- */
.cta-final {
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    padding: clamp(3rem, 8vw, 6rem) 1.5rem; border-radius: 32px; border: 1px solid var(--line-2);
    background: radial-gradient(ellipse 80% 70% at 50% 110%, rgba(240, 149, 47, .32), transparent 70%), var(--bg-2);
}
.cta-final::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
    mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000, transparent);
}
.cta-final h2 { font-size: clamp(2.2rem, 7vw, 4.6rem); line-height: 1.04; max-width: 16ch; margin: 0 auto 1.1rem; text-wrap: balance; }
.cta-final p { color: #d4d4d8; max-width: 36rem; margin: 0 auto 2.2rem; font-size: clamp(1rem, 2.3vw, 1.15rem); }
.cta-acoes { display: flex; flex-direction: column; align-items: stretch; gap: .75rem; max-width: 26rem; margin: 0 auto; }
.cta-acoes .btn-ghost { white-space: normal; }

/* ---------- Páginas internas (privacidade, 404) ---------- */
.pagina-interna { padding: calc(var(--header-h) + 3rem) 0 clamp(4rem, 8vw, 6rem); }
.texto-legal { max-width: 52rem; }
.texto-legal-topo { margin-bottom: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.texto-legal-topo h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; margin-bottom: .75rem; }
.texto-legal-topo p { color: var(--muted); margin: 0; }
.texto-legal h2 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin: 2.5rem 0 .9rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.texto-legal p, .texto-legal li { color: #d4d4d8; }
.texto-legal ul { padding-left: 1.2rem; margin-bottom: 1rem; }
.texto-legal li { margin-bottom: .45rem; }
.texto-legal li::marker { color: var(--brand); }
.texto-legal b { color: #fff; font-weight: 600; }
.texto-legal a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.texto-legal code { color: var(--brand-2); background: rgba(255, 255, 255, .05); padding: .1rem .35rem; border-radius: 6px; font-size: .88em; }
.tabela-rolavel { overflow-x: auto; margin: 1rem 0 1.25rem; border: 1px solid var(--line); border-radius: 14px; }
.tabela-rolavel table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .9rem; }
.tabela-rolavel th, .tabela-rolavel td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); color: #d4d4d8; }
.tabela-rolavel th { color: var(--muted); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .02); }
.tabela-rolavel tr:last-child td { border-bottom: 0; }

.pagina-404 { min-height: 80svh; display: flex; align-items: center; }
.pagina-404 .erro-codigo {
    font-family: var(--font-display); font-size: clamp(6rem, 22vw, 12rem); line-height: .9; margin: 0 0 1rem;
    background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9;
}
.pagina-404 h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.pagina-404 p { color: var(--muted); max-width: 36rem; margin-bottom: 2rem; }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 4rem 0 2rem; color: var(--muted); font-size: .92rem; }
.footer-texto { margin: 1.2rem 0 0; max-width: 24rem; }
.footer-titulo { font-family: var(--font-body); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.footer-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-lista a:hover { color: var(--brand); }
.footer-lista i { color: var(--muted-2); margin-right: .35rem; }
.footer-base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem;
    margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted-2);
}
.footer-base a:hover, .footer-base button:hover { color: var(--text); }
.footer-links { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.footer-base button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }

/* WhatsApp flutuante (só mobile, depois do hero) */
.whats-flutuante {
    position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 990;
    width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #25d366; color: #fff; font-size: 1.55rem;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55);
    transform: scale(0); transition: transform .45s var(--ease);
}
.whats-flutuante.visivel { transform: scale(1); }
.whats-flutuante:hover { color: #fff; }

/* ---------- Estados iniciais das animações ----------
   Só escondemos quando há JS e o usuário não pediu menos movimento.
   Se o Motion não carregar, o JS (ou o fallback do <head>) adiciona .sem-animacao. */
@media (prefers-reduced-motion: no-preference) {
    .js:not(.sem-animacao) [data-reveal],
    .js:not(.sem-animacao) [data-hero],
    .js:not(.sem-animacao) .fluxo li { opacity: 0; }
    .js:not(.sem-animacao) [data-conversa] .msg:not(.visivel),
    .js:not(.sem-animacao) .painel-novo:not(.visivel) { display: none; }
    .js:not(.sem-animacao) .bastidores li:not(.ativo) { opacity: .4; }
    .js:not(.sem-animacao) [data-split] { visibility: hidden; }
    .js:not(.sem-animacao) [data-split].is-split { visibility: visible; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .marquee-trilho, .trilho, .sobre-foto::before, .pulso::after, .ao-vivo i { animation: none; }
    .trilhos, .marquee { overflow-x: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 576px) {
    .ia-capacidades { grid-template-columns: 1fr 1fr; }
    .hero-acoes > a { flex: 0 0 auto; }
    .cta-acoes { flex-direction: row; justify-content: center; max-width: none; }
    .trilho img { height: 230px; }
}

@media (min-width: 768px) {
    :root { --header-h: 76px; }
    .container-xl { padding-inline: 2rem; }
    .brand img { width: 160px; }
    .hero { padding-bottom: 2.5rem; }
    .hero-numeros { max-width: 44rem; gap: 2rem; }
    .hero-numeros dd { font-size: .88rem; }
    .bento { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .bento-sistemas, .bento-ia { grid-column: 1 / -1; }
    .card-bento { padding: 2rem; }
    .pilha-telas { height: 210px; }
    .trilho img { height: 270px; }
}

@media (min-width: 992px) {
    .nav-desktop {
        display: flex; gap: .25rem; padding: .3rem; border-radius: 999px;
        border: 1px solid var(--line); background: rgba(255, 255, 255, .03);
    }
    .nav-desktop a { padding: .45rem .95rem; border-radius: 999px; font-size: .9rem; color: #d4d4d8; transition: background-color .3s, color .3s; }
    .nav-desktop a:hover, .nav-desktop a.ativo { background: rgba(255, 255, 255, .08); color: #fff; }

    .hero { min-height: 100svh; justify-content: center; padding-top: calc(var(--header-h) + 3rem); }
    .hero-fundo {
        background:
            radial-gradient(ellipse 45% 60% at 76% 46%, rgba(240, 149, 47, .16), transparent 70%),
            radial-gradient(ellipse 50% 40% at 0% 100%, rgba(99, 102, 241, .06), transparent 70%),
            var(--bg);
    }
    .hero-grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
    .hero-titulo { font-size: clamp(3rem, 5vw, 5.2rem); max-width: 12ch; }
    .hero-sub { max-width: 34rem; }
    .hero-numeros { margin-top: 3.5rem; }

    /* Cena em perspectiva: painel ao fundo, conversa na frente, aviso flutuando por cima.
       --rx/--ry vêm do mouse (hero-rede.js). "translate" anima a flutuação sem mexer no transform. */
    /* Painel no alto à direita (a linha nova da Alice é a primeira, sempre à vista);
       a conversa entra por baixo à esquerda e só cobre o fim da lista. */
    .cena-palco { max-width: none; height: 600px; margin: 0; }
    .cena-card { position: absolute; }
    .cena-painel {
        display: block; top: 0; right: 0; width: 72%; opacity: .94;
        transform: perspective(1400px) rotateY(calc(-14deg + var(--ry))) rotateX(calc(6deg + var(--rx))) translateZ(-50px);
        animation: flutuar 9s ease-in-out infinite;
    }
    .cena-chat {
        left: 0; top: 168px; width: 58%; height: 420px;
        transform: perspective(1400px) rotateY(calc(-10deg + var(--ry))) rotateX(calc(4deg + var(--rx)));
        animation: flutuar 7s ease-in-out infinite -2s;
    }
    .cena-toast { left: auto; right: 0; bottom: 70px; translate: 0 0; animation: flutuar 6s ease-in-out infinite -1s; }
    .hero-rolar {
        display: block; position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
        width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line-2);
    }
    .hero-rolar span {
        position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
        background: var(--brand); animation: rolar 2s var(--ease) infinite;
    }
    @keyframes rolar { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

    /* Linha 1: sistemas (4) + sites (2). Linhas 2-3: lives (3, duas linhas) + os dois cards pequenos (3) */
    .bento { grid-template-columns: repeat(6, 1fr); }
    .bento-sistemas {
        grid-column: span 4; padding: 2.25rem;
        display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: center;
    }
    .bento-sistemas .mini-app { margin-top: 0; }
    .bento-sites { grid-column: span 2; }
    .bento-ia { grid-column: span 4; padding: 2.25rem; }
    .bento-lives { grid-column: span 2; }
    .bento-pequeno { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: start; }
    .bento-pequeno h3 { margin-top: 0; }
    .bento-pequeno .bento-icone { grid-row: span 2; }

    /* Card em destaque é mais largo no desktop: o aparelho fica proporcionalmente menor */
    .case-destaque .case-celular { width: 16%; right: 2rem; bottom: -1.75rem; }

    .celular-palco { position: sticky; top: calc(var(--header-h) + 2rem); }
    /* Folga para o celular fixo seguir visível na última etapa; em telas altas vira zero */
    .passos { --folga: max(0px, calc(720px - 68vh)); padding-top: 1rem; padding-bottom: var(--folga); }
    .passos-linha { top: 1.5rem; bottom: calc(var(--folga) + 1rem); }
    .passo { padding-bottom: 3.6rem; min-height: 28vh; }

    .cta-final { padding-inline: 3rem; }
    .whats-flutuante { display: none; }
}

@media (min-width: 1200px) {
    .container-xl { max-width: 1240px; }
    .bento-sistemas { gap: 2.5rem; padding: 2.5rem; }
    .trilho img { height: 300px; }
}
