/* Rádio Business Brasil — site novo (30/09/2026).
   Tokens = DESIGN.md do projeto (valores reais do site no ar). Nenhuma cor nova. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-latin-800-normal.woff2") format("woff2"); }

:root {
  --bg: 0 0% 100%; --fg: 218 25% 15%; --card: 0 0% 100%;
  --primary: 218 85% 25%; --primary-hover: 218 85% 20%;
  --secondary: 35 85% 55%; --secondary-hover: 35 85% 45%;
  --accent: 208 95% 50%; --muted: 210 20% 96%; --muted-fg: 218 15% 45%;
  --border: 214 20% 90%; --ring: 218 85% 25%;
  --azul-claro: #28579a;            /* cor fixa do site: h1 global */
  --sec-bg: #f5f7f9;                /* cor fixa do site: fundo das seções internas */
  --radius: 12px;
  --gradient-primary: linear-gradient(135deg, hsl(218 85% 25%) 0%, hsl(218 85% 35%) 100%);
  --gradient-hero: linear-gradient(135deg, hsl(218 85% 20%) 0%, hsl(208 95% 35%) 100%);
  --shadow-glow: 0 0 40px hsl(218 85% 50% / .25);
  --shadow-premium: 0 10px 30px -10px hsl(35 85% 50% / .4);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --bounce: cubic-bezier(.68, -.55, .265, 1.55);  /* assinatura do site: elástico no hover dos botões */
  --container: 1180px; --gutter: clamp(16px, 4vw, 40px);
  /* motion-premium (tokens da skill, v1) — usar sempre os tokens, nunca valores soltos */
  --dur-1: 90ms; --dur-2: 140ms; --dur-3: 200ms; --dur-4: 280ms; --dur-5: 380ms;
  --ease-out: cubic-bezier(.22, 1, .36, 1); --ease-in: cubic-bezier(.32, 0, .67, 0);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1); --ease-emphasis: cubic-bezier(.2, 0, 0, 1);
  --move-sm: 8px; --move-md: 12px; --press-scale: .97; --stagger: 50ms;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;  /* títulos em serifa premium (escolha do Luis, 06/10/2026) */
  color-scheme: light;
}
/* Títulos em serifa premium; corpo e interface seguem Inter */
.kicker, main h1, main h2 { font-family: var(--font-serif); letter-spacing: -.015em; }
.hero h1, main h2 { font-weight: 600; }
/* Tema escuro: segue o sistema do visitante, e o botão do topo manda por cima (data-theme). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: 218 25% 8%; --fg: 0 0% 98%; --card: 218 25% 10%;
    --primary: 208 95% 50%; --primary-hover: 208 95% 45%;
    --secondary: 35 85% 55%; --secondary-hover: 35 85% 50%;
    --accent: 208 95% 50%; --muted: 218 25% 15%; --muted-fg: 210 15% 65%;
    --border: 218 25% 20%; --ring: 208 95% 50%;
    --azul-claro: hsl(208 95% 62%);
    --sec-bg: hsl(218 25% 10%);
    --shadow-glow: 0 0 40px hsl(208 95% 50% / .2);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: 218 25% 8%; --fg: 0 0% 98%; --card: 218 25% 10%;
  --primary: 208 95% 50%; --primary-hover: 208 95% 45%;
  --secondary: 35 85% 55%; --secondary-hover: 35 85% 50%;
  --accent: 208 95% 50%; --muted: 218 25% 15%; --muted-fg: 210 15% 65%;
  --border: 218 25% 20%; --ring: 208 95% 50%;
  --azul-claro: hsl(208 95% 62%);
  --sec-bg: hsl(218 25% 10%);
  --shadow-glow: 0 0 40px hsl(208 95% 50% / .2);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6; color: hsl(var(--fg)); background: hsl(var(--bg)); -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .35s var(--ease), color .35s var(--ease); }
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
li, .rot, .d, .nota { text-wrap: pretty; } /* sem palavra sozinha na última linha */
button { font: inherit; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid hsl(var(--ring)); outline-offset: 3px; border-radius: 4px; }

/* ---------- topo: ticker do DOU + barra ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: hsl(var(--bg) / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid hsl(var(--border)); }
.ticker { background: hsl(var(--primary) / .08); border-bottom: 1px solid hsl(var(--border)); font-size: 12px; }
.ticker .container { display: flex; align-items: center; gap: 12px; height: 34px; }
.ticker-rotulo { display: flex; align-items: center; gap: 6px; font-weight: 700; color: hsl(var(--primary)); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; flex: none; }
/* uma manchete por vez, como linha do tempo: a atual sobe e sai, a próxima entra por baixo */
.ticker-janela { overflow: hidden; flex: 1; min-width: 0; height: 34px; position: relative; }
.ticker-trilho { display: flex; align-items: center; height: 34px; width: max-content; will-change: transform; }
.ticker-fita { display: flex; align-items: center; height: 34px; }
.ticker-item { height: 34px; display: inline-flex; align-items: center; white-space: nowrap; color: hsl(var(--muted-fg)); }
.ticker-item .setor { color: hsl(var(--secondary-hover)); font-weight: 700; text-transform: uppercase; font-size: 10.5px; letter-spacing: .08em; margin-right: 8px; }
.ticker-sep { color: hsl(var(--primary) / .45); margin: 0 32px; flex: none; }
.ticker-fade { animation: ticker-esmaece var(--dur-3) var(--ease-out) both; }
@keyframes ticker-esmaece { from { opacity: 0; } to { opacity: 1; } }

.barra .container { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 16px; white-space: nowrap; transition: opacity .3s var(--ease); }
.marca:hover { opacity: .8; }
.marca-icone { width: 34px; height: 34px; border-radius: 9px; background: var(--gradient-primary); display: grid; place-items: center; color: #fff; flex: none; }
.marca-icone svg { width: 18px; height: 18px; }
.menu { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-block; text-decoration: none; font-weight: 500; font-size: 15px; color: hsl(var(--muted-fg)); transition: color .25s var(--ease), transform .25s var(--ease); white-space: nowrap; padding: 6px 0; transform-origin: center; }
.menu a:hover { color: hsl(var(--primary)); transform: scale(1.07); }
.menu a[aria-current="page"] { color: hsl(var(--primary)); font-weight: 600; }
.acoes-topo { display: flex; align-items: center; gap: 10px; }
.tema { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid hsl(var(--border)); border-radius: 999px; background: hsl(var(--muted) / .6); }
.tema-opcao { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: hsl(var(--muted-fg)); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease); }
.tema-opcao svg { width: 15px; height: 15px; }
.tema-opcao:hover { color: hsl(var(--fg)); transform: scale(1.05); }
.tema-opcao[aria-pressed="true"] { background: hsl(var(--card)); color: hsl(var(--primary)); box-shadow: 0 1px 3px rgba(0, 0, 0, .14); }
.menu-botao { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: hsl(var(--fg)); border-radius: 8px; place-items: center; cursor: pointer; transition: background-color .25s var(--ease), transform .2s var(--ease); }
.menu-botao:hover { background: hsl(var(--muted)); }
.menu-botao:active { transform: scale(.92); }
.menu-celular { border-top: 1px solid hsl(var(--border)); padding: 8px var(--gutter) 16px; display: grid; gap: 2px; }
.menu-celular[hidden] { display: none; }
.menu-celular a { text-decoration: none; padding: 12px 10px; border-radius: 8px; font-weight: 500; color: hsl(var(--muted-fg)); }
.menu-celular a:hover, .menu-celular a[aria-current="page"] { background: hsl(var(--muted)); color: hsl(var(--primary)); }
.menu-celular .btn { margin-top: 10px; justify-content: center; }

/* ---------- botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; border-radius: var(--radius); padding: 15px 22px; font-size: 15px; line-height: 1; border: 0; cursor: pointer; white-space: nowrap; transition: transform .4s var(--bounce), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.btn:hover { transform: scale(1.05); }
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primario { background: hsl(var(--primary)); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primario:hover { background: hsl(var(--primary-hover)); }
.btn-dourado { background: hsl(var(--secondary)); color: hsl(218 25% 15%); }
.btn-dourado:hover { background: hsl(var(--secondary-hover)); box-shadow: var(--shadow-premium); }
.btn-linha { background: transparent; border: 2px solid hsl(var(--border)); color: hsl(var(--fg)); padding: 13px 20px; }
.btn-linha:hover { border-color: hsl(var(--primary)); color: hsl(var(--primary)); }
.btn-branco { background: #fff; color: hsl(218 85% 25%); }
.btn-branco-linha { background: transparent; border: 2px solid rgba(255, 255, 255, .55); color: #fff; padding: 13px 20px; }
.btn-branco-linha:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-pequeno { padding: 10px 14px; font-size: 13px; }

/* ---------- primeira dobra ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 0; position: relative; }
.hero-grade { display: grid; gap: clamp(28px, 4vw, 44px); }
.kicker { font-size: clamp(26px, 3.4vw, 44px); font-weight: 600; color: var(--azul-claro); letter-spacing: -.02em; line-height: 1.1; margin-bottom: .2em; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: hsl(var(--secondary-hover)); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; flex: none; }
.hero h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.06; letter-spacing: -.03em; font-weight: 800; color: hsl(var(--primary)); max-width: 40ch; }
.hero-lead { margin-top: 26px; font-size: clamp(18px, 1.6vw, 21px); color: hsl(var(--muted-fg)); max-width: 64ch; line-height: 1.55; text-wrap: balance; }
.hero-lead strong { color: hsl(var(--fg)); font-weight: 600; }
.provas { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(20px, 3vw, 48px); border-top: 1px solid hsl(var(--border)); }
.provas li { display: grid; gap: 4px; padding: 18px 0 2px; align-content: start; }
.provas .num { font-size: clamp(22px, 2.1vw, 28px); font-weight: 800; letter-spacing: -.02em; color: hsl(var(--primary)); line-height: 1.1; }
.provas .rot { font-size: 14px; color: hsl(var(--muted-fg)); }

.portas { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid hsl(var(--border)); border-bottom: 1px solid hsl(var(--border)); }
.porta { display: grid; gap: 8px; align-content: start; padding: 24px 24px 24px 0; text-decoration: none; color: inherit; border-right: 1px solid hsl(var(--border)); transition: background-color .3s var(--ease); }
.porta + .porta { padding-left: 24px; }
.porta:last-child { border-right: 0; }
.porta:hover { background: hsl(var(--muted) / .6); }
.porta:active { transform: scale(.985); transition: transform .12s var(--ease); }
.caminho .cta:active, .rodape a:active { opacity: .7; }
.porta .n { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--muted-fg)); font-weight: 600; }
.porta .t { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; font-size: 18px; color: hsl(var(--primary)); line-height: 1.25; }
.porta .t svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--bounce); }
.porta:hover .t svg { transform: translateX(6px); }
.porta .d { font-size: 14px; color: hsl(var(--muted-fg)); }
.porta.dourada .t { color: hsl(var(--secondary-hover)); }

/* o dial de FM: assinatura visual do site */
.dial { margin-top: clamp(36px, 5vw, 64px); color: hsl(var(--muted-fg)); }
.dial svg { width: 100%; height: auto; display: block; overflow: visible; }
.agulha { transition: transform 1.8s cubic-bezier(.22, 1, .36, 1); }

/* ---------- seções ---------- */
.secao { padding: clamp(56px, 8vw, 104px) 0; }
.secao-suave { background: var(--sec-bg); }
.cabeca { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.cabeca h2 { font-size: clamp(28px, 3.2vw, 40px); color: hsl(var(--primary)); }
.cabeca p { margin-top: 14px; color: hsl(var(--muted-fg)); font-size: 17px; }
.icone { width: 18px; height: 18px; }

.caminhos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); }
.caminho { border-top: 2px solid hsl(var(--primary)); padding-top: 22px; display: grid; gap: 14px; align-content: start; }
.caminho.dourado { border-top-color: hsl(var(--secondary)); }
.caminho .para-quem { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--muted-fg)); font-weight: 600; }
.caminho h3 { font-size: 21px; color: hsl(var(--primary)); }
.caminho p { color: hsl(var(--muted-fg)); font-size: 15px; }
.caminho ul { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; font-size: 14px; }
.caminho li { display: flex; gap: 10px; align-items: flex-start; }
.caminho li svg { flex: none; width: 16px; height: 16px; color: hsl(var(--primary)); margin-top: 3px; }
.caminho.dourado li svg { color: hsl(var(--secondary-hover)); }
.caminho .cta { margin-top: 6px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: hsl(var(--primary)); text-decoration: none; }
.caminho .cta svg { width: 16px; height: 16px; transition: transform .4s var(--bounce); }
.caminho .cta:hover svg { transform: translateX(5px); }

.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.passo { padding: 26px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); display: grid; gap: 10px; align-content: start; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.passo:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -18px hsl(218 85% 25% / .35); }
.passo .num { width: 40px; height: 40px; border-radius: 50%; background: hsl(var(--primary)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.passo h3 { font-size: 18px; }
.passo p { color: hsl(var(--muted-fg)); font-size: 15px; }
.nota { margin-top: 28px; color: hsl(var(--muted-fg)); font-size: 15px; max-width: 70ch; }
.acoes-centro { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

.porques { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 4vw, 72px); }
.porque { display: grid; grid-template-columns: 190px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid hsl(var(--border)); }
.porque h3 { font-size: 16px; color: hsl(var(--primary)); }
.porque p { color: hsl(var(--muted-fg)); font-size: 15px; }
.porques .porque:nth-last-child(-n + 2) { border-bottom: 1px solid hsl(var(--border)); }

.quem { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.retrato { aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--gradient-hero); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; gap: 28px; padding: 88px 28px 28px; position: relative; overflow: hidden; box-shadow: var(--shadow-glow); }
.retrato .logo-vazada { position: absolute; width: min(72%, 300px); height: auto; right: -34px; top: 62px; color: rgba(255, 255, 255, .18); transform: rotate(-7deg); pointer-events: none; }
.retrato .frase { position: relative; margin: auto 0 0; font-size: clamp(22px, 2vw, 30px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; max-width: 15ch; text-wrap: balance; }
.retrato .assinante-cta { position: relative; max-width: 24ch; color: rgba(255, 255, 255, .88); font-size: clamp(15px, 1.2vw, 17px); line-height: 1.45; font-weight: 600; text-wrap: balance; }
.retrato img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.retrato .legenda { position: relative; }
.retrato .nome { font-size: clamp(22px, 2vw, 26px); font-weight: 700; line-height: 1.2; }
.retrato .cargo { opacity: .85; font-size: 14px; margin-top: 6px; }
.retrato .dial-mini { position: absolute; left: 28px; right: 28px; top: 28px; color: rgba(255, 255, 255, .7); }
.credenciais { display: grid; gap: 18px; font-size: 17px; color: hsl(var(--muted-fg)); }
.credenciais strong { color: hsl(var(--fg)); }
.credenciais .cabeca { margin-bottom: 8px; }

.faixa { background: var(--gradient-hero); color: #fff; border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; box-shadow: var(--shadow-glow); }
.faixa h2 { font-size: clamp(26px, 3vw, 38px); color: #fff; }
.faixa p { color: rgba(255, 255, 255, .88); font-size: 17px; margin-top: 12px; max-width: 52ch; }
.faixa .acoes { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- rodapé ---------- */
.rodape { border-top: 1px solid hsl(var(--border)); background: hsl(var(--muted) / .5); padding: 56px 0 120px; }
.rodape-grade { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.rodape .marca { margin-bottom: 14px; }
.rodape-texto { font-size: 14px; color: hsl(var(--muted-fg)); max-width: 30ch; }
.rodape h3 { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; color: hsl(var(--fg)); }
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.rodape li { display: flex; gap: 8px; align-items: flex-start; color: hsl(var(--muted-fg)); }
.rodape li svg { width: 15px; height: 15px; flex: none; color: hsl(var(--primary)); margin-top: 3px; }
.rodape a { color: hsl(var(--muted-fg)); text-decoration: none; transition: color .3s var(--ease); }
.rodape a:hover { color: hsl(var(--primary)); }
.rodape-base { margin-top: 44px; padding-top: 24px; border-top: 1px solid hsl(var(--border)); font-size: 13px; color: hsl(var(--muted-fg)); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- chat com IA ---------- */
.chat-botao { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: hsl(var(--primary)); color: #fff; border: 0; box-shadow: 0 10px 30px hsl(218 85% 25% / .35); display: grid; place-items: center; cursor: pointer; transition: transform .4s var(--bounce); }
.chat-botao:hover { transform: scale(1.08); }
.chat-botao svg { width: 24px; height: 24px; }
.chat { position: fixed; right: 20px; bottom: 88px; z-index: 60; width: min(360px, calc(100vw - 32px)); height: min(540px, calc(100vh - 120px)); background: hsl(var(--card)); border: 1px solid hsl(var(--border)); border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .25); display: flex; flex-direction: column; overflow: hidden; animation: subir .35s var(--ease); }
.chat[hidden] { display: none; }
.chat-cabeca { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border-bottom: 1px solid hsl(var(--border)); font-weight: 600; font-size: 14px; }
.chat-cabeca span { display: flex; align-items: center; gap: 8px; }
.chat-cabeca .ponto { width: 8px; height: 8px; border-radius: 50%; background: hsl(var(--secondary)); }
.chat-fechar { border: 0; background: transparent; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; display: grid; place-items: center; color: hsl(var(--muted-fg)); }
.chat-fechar:hover { background: hsl(var(--muted)); }
.chat-corpo { flex: 1; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.balao { max-width: 86%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; white-space: pre-wrap; word-break: break-word; animation: aparecer .3s var(--ease); }
.balao.eu { justify-self: end; background: hsl(var(--primary)); color: #fff; border-bottom-right-radius: 4px; }
.balao.ia { justify-self: start; background: hsl(var(--muted)); border-bottom-left-radius: 4px; }
.balao.digitando { color: hsl(var(--muted-fg)); animation: pulsar 1.2s ease-in-out infinite; }
.chat-rodape { display: flex; gap: 8px; padding: 12px; border-top: 1px solid hsl(var(--border)); }
.chat-rodape input { flex: 1; min-width: 0; border: 1px solid hsl(var(--border)); border-radius: 10px; padding: 10px 12px; font-size: 14px; background: hsl(var(--bg)); color: inherit; }
.chat-rodape button { width: 42px; height: 42px; border-radius: 10px; border: 0; background: hsl(var(--primary)); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-rodape button svg { width: 16px; height: 16px; }
.chat-rodape button:disabled { opacity: .5; cursor: default; }
.chat-rodape .chat-mic { background: hsl(var(--bg)); color: hsl(var(--muted-fg)); border: 1px solid hsl(var(--border)); transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease); }
.chat-rodape .chat-mic:hover { color: hsl(var(--primary)); border-color: hsl(var(--primary)); transform: scale(1.05); }
.chat-rodape .chat-mic.ouvindo { background: hsl(var(--secondary)); border-color: transparent; color: hsl(218 25% 15%); animation: pulsar 1.2s ease-in-out infinite; }
.chat-rodape .chat-mic[hidden] { display: none; }
@keyframes subir { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes pulsar { 50% { opacity: .5; } }

/* ---------- cookies ---------- */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 900px; margin-inline: auto; background: hsl(var(--card)); border: 2px solid hsl(var(--border)); border-radius: var(--radius); padding: 14px 18px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); font-size: 13px; animation: subir .4s var(--ease); }
.cookies[hidden] { display: none; }
.cookies p { color: hsl(var(--muted-fg)); max-width: 60ch; }
.cookies strong { color: hsl(var(--fg)); display: block; margin-bottom: 2px; }
.cookies .acoes { display: flex; gap: 8px; }

/* ---------- movimento com propósito ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* entrada em cadência: cada peça chega um pouco depois da vizinha */
.caminhos .reveal:nth-child(2), .passos .reveal:nth-child(2), .porques .reveal:nth-child(2) { transition-delay: .08s; }
.caminhos .reveal:nth-child(3), .passos .reveal:nth-child(3), .porques .reveal:nth-child(3) { transition-delay: .16s; }
.porques .reveal:nth-child(4) { transition-delay: .24s; }
.porques .reveal:nth-child(5) { transition-delay: .32s; }
.porques .reveal:nth-child(6) { transition-delay: .4s; }
.credenciais .reveal:nth-child(3) { transition-delay: .08s; }
.credenciais .reveal:nth-child(4) { transition-delay: .16s; }
.credenciais .reveal:nth-child(5) { transition-delay: .24s; }
.hero .reveal-topo { animation: aparecer .7s var(--ease) both; }
.hero .reveal-topo:nth-child(2) { animation-delay: .1s; }
@media (prefers-reduced-motion: reduce) {
  /* motion-premium: zera durações/distâncias e neutraliza o press (regra obrigatória da skill) */
  :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; --dur-4: 0ms; --dur-5: 0ms; --move-sm: 0px; --move-md: 0px; --press-scale: 1; --stagger: 0ms; }
  /* assinatura do site continua viva no celular: seções aparecem em fade (sem deslize) e o ponteiro desliza */
  .reveal { transform: none; transition: opacity .6s var(--ease); }
  .hero .reveal-topo { animation: aparecer .6s var(--ease) both; }
  .ticker-trilho { animation: none; }
  .btn:hover, .chat-botao:hover, .passo:hover, .tema-opcao:hover, .menu a:hover { transform: none; }
  body { transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- larguras ---------- */
@media (max-width: 1023px) {
  .menu, .barra .btn { display: none; }
  .menu-botao { display: grid; }
  .quem, .faixa, .porques { grid-template-columns: 1fr; }
  .caminhos, .passos { grid-template-columns: 1fr; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .faixa .acoes { justify-content: flex-start; }
  .retrato { max-width: 420px; }
  .retrato .logo-vazada { width: min(74%, 280px); right: -38px; top: 56px; }
}
@media (max-width: 759px) {
  .barra .container { height: 64px; }
  .portas { grid-template-columns: 1fr; }
  .porta { border-right: 0; border-bottom: 1px solid hsl(var(--border)); padding: 18px 0 !important; }
  .porta:last-child { border-bottom: 0; }
  .porque { grid-template-columns: 1fr; gap: 6px; padding: 18px 0; }
  .porques .porque:nth-last-child(2) { border-bottom: 0; }
  .rodape-grade { grid-template-columns: 1fr; gap: 28px; }
  .rodape { padding-bottom: 150px; }
  .provas { grid-template-columns: 1fr; gap: 0; }
  .provas li { grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; padding: 10px 0; border-bottom: 1px solid hsl(var(--border)); }
  .provas .num { font-size: 17px; }
  .provas .rot { font-size: 13px; }
  .kicker { font-size: 24px; }
  .tema-opcao span { display: none; }
  .tema-opcao { padding: 8px 9px; }
  .hero h1 { font-size: 35px; }
  .hero-lead { margin-top: 18px; font-size: 17px; }
  .chat { right: 12px; bottom: 84px; }
  .chat-botao { right: 12px; bottom: 16px; }
  .cookies { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; }
  .cookies .acoes { width: 100%; }
  .cookies .acoes .btn { flex: 1; }
  .retrato { aspect-ratio: auto; min-height: 520px; padding: 86px 24px 24px; gap: 22px; }
  .retrato .logo-vazada { width: 82%; right: -58px; top: 54px; opacity: .92; }
  .retrato .frase { max-width: 13ch; font-size: 25px; }
  .retrato .assinante-cta { max-width: 22ch; font-size: 16px; }
}
