/* Lancei · prévias do topo (reforma 1) · o que as três opções dividem.
   Fibra de carbono, vidro com brilho de gel, cromo, metal escovado e o lima como luz (DIRECAO.md, R1).
   As prévias não tocam no index.html, no styles.css nem no script.js. */

@font-face { font-family: 'Clash Display'; src: url('../fonts/ClashDisplay-Variable.woff2') format('woff2'); font-weight: 200 700; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-latin-wght.woff2') format('woff2'); 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+0304, U+0308, U+0329, U+2000-206F, 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.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --fundo: #0B0B0B;
  --papel: #F5F5F0;
  --lima: #C6FF00;
  --grafite: #1A1A1A;
  --cinza: #8A8A8A;

  /* o kit (base.css e cabecalho-celular.css) no tema escuro */
  --cor-fundo: var(--fundo);
  --cor-superficie: var(--grafite);
  --cor-texto: var(--papel);
  --cor-suave: var(--cinza);
  --cor-destaque: var(--lima);
  --cor-sobre-destaque: var(--fundo);
  --cor-linha: rgba(245, 245, 240, 0.14);
  --cor-foco: var(--lima);
  --cor-sombra: rgba(0, 0, 0, 0.7);
  --letra-titulo: 'Clash Display', 'Inter', system-ui, sans-serif;
  --letra-texto: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --altura-cabecalho: 4rem;
  --largura: 82rem;
  --gutter: clamp(1rem, 4vw, 3rem);
  --cabecalho-celular-fundo: rgba(11, 11, 11, 0.55);
  --cabecalho-celular-texto: var(--papel);
  --cabecalho-celular-painel: var(--grafite);
  --cabecalho-celular-sobre-painel: var(--papel);
  --cabecalho-celular-acao: var(--lima);
  --cabecalho-celular-sobre-acao: var(--fundo);
  --cabecalho-celular-marca: 26px;

  /* o vidro e o cromo */
  --vidro: linear-gradient(180deg, rgba(245, 245, 240, 0.11), rgba(245, 245, 240, 0.035) 48%, rgba(11, 11, 11, 0.38));
  --vidro-sombra: inset 0 1px 0 rgba(245, 245, 240, 0.38), inset 0 -16px 30px -16px rgba(198, 255, 0, 0.3), 0 26px 60px -22px rgba(0, 0, 0, 0.95);
  --cromo: linear-gradient(135deg, #F5F5F0 0%, #8A8A8A 18%, #1A1A1A 34%, #F5F5F0 50%, #8A8A8A 66%, #1A1A1A 82%, #F5F5F0 100%);
  --escovado: repeating-linear-gradient(90deg, rgba(245, 245, 240, 0.07) 0 1px, rgba(11, 11, 11, 0.09) 1px 3px), linear-gradient(180deg, #8A8A8A, #1A1A1A 70%);
  --raio-vidro: clamp(20px, 2.2vw, 32px);
  --brilho-lima: 0 0 18px rgba(198, 255, 0, 0.45), 0 0 2px rgba(198, 255, 0, 0.9);
}

/* ---------- Página ---------- */

html { background: var(--fundo); color-scheme: dark; overflow-x: clip; }
body {
  margin: 0;
  min-height: 100svh;
  overflow-x: clip;
  background: var(--fundo) url('fibra.svg') 0 0 / 18px 18px;
  color: var(--papel);
  font-family: var(--letra-texto);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--letra-titulo); font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lima); outline-offset: 3px; border-radius: 6px; }
.lima { color: var(--lima); }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* o fundo de fibra de carbono com a luz que passa (o --luz anda com a rolagem) */
.fundo-carbono { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fundo-carbono::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('fibra-brilho.svg') 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(115deg, transparent 0%, #000 22%, #000 30%, transparent 52%);
  mask-image: linear-gradient(115deg, transparent 0%, #000 22%, #000 30%, transparent 52%);
  -webkit-mask-size: 260% 100%;
  mask-size: 260% 100%;
  -webkit-mask-position: calc(var(--luz, 0.3) * 100%) 0;
  mask-position: calc(var(--luz, 0.3) * 100%) 0;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
/* com o gatilho, a rolagem pula de parada em parada: a luz desliza até a nova posição no tempo (06/11) */
@property --luz { syntax: '<number>'; inherits: true; initial-value: 0.3; }
.trilho--gatilho .fundo-carbono { transition: --luz 1.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
.fundo-carbono::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 58% at 50% 112%, rgba(198, 255, 0, 0.3), rgba(198, 255, 0, 0.07) 42%, transparent 68%),
    radial-gradient(90% 70% at 50% 40%, transparent 55%, rgba(11, 11, 11, 0.75) 100%);
}
.horizonte {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(198, 255, 0, 0.55) 50%, transparent) 50% 0 / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(198, 255, 0, 0.07), transparent 40%),
    repeating-linear-gradient(90deg, rgba(245, 245, 240, 0.05) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  transform-origin: 50% 0;
  transform: perspective(600px) rotateX(58deg);
}

/* ---------- O cabeçalho do kit, em vidro ---------- */

.cabecalho-celular {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 -1px 0 rgba(245, 245, 240, 0.1), 0 10px 30px -18px #000;
}
.cabecalho .logo { width: auto; height: var(--cabecalho-celular-marca); }
.pular { display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box; }
/* nenhum link do menu com menos de 44 px de largura ("Início" tinha 40) */
.cabecalho-celular__menu a { min-width: 44px; justify-content: center; text-align: center; text-decoration: none; }
.cabecalho-celular__acao { border-radius: 999px; font-weight: 600; text-decoration: none; box-shadow: inset 0 1px 0 rgba(245, 245, 240, 0.7), 0 0 22px -6px rgba(198, 255, 0, 0.6); }
.seta { flex: none; width: 0.8em; height: 0.8em; fill: currentColor; }
/* o chip: a caixa de toque tem 44 px; a pílula que se vê é o ::before */
.chip-previa {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-inline-start: 0.5rem;
  padding: 0 0.75rem;
  border-radius: 999px;
  color: var(--lima);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}
.chip-previa::before { content: ''; position: absolute; inset: 50% 0 auto; height: 1.9em; translate: 0 -50%; border-radius: 999px; border: 1px solid rgba(198, 255, 0, 0.55); pointer-events: none; }
.chip-previa:hover::before { background: rgba(198, 255, 0, 0.12); }

/* ---------- Peças de texto ---------- */

.rotulo {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--papel);
}
.rotulo::before { content: ''; width: 1.6em; height: 2px; border-radius: 2px; background: var(--lima); box-shadow: var(--brilho-lima); }
.titulo-topo { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.4rem); }
.texto-topo { max-width: 34rem; font-size: clamp(1rem, 0.92rem + 0.35vw, 1.2rem); color: rgba(245, 245, 240, 0.86); }

/* botões: a cápsula de gel lima e a de vidro com aro de cromo */
.botoes { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.botao {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transition: transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 160ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.botao--lima {
  color: var(--fundo);
  background: linear-gradient(180deg, #e4ff7a 0%, var(--lima) 46%, #a8d900 100%);
  box-shadow: inset 0 1px 0 rgba(245, 245, 240, 0.9), inset 0 -6px 12px -6px rgba(11, 11, 11, 0.35), 0 0 0 1px rgba(11, 11, 11, 0.6), 0 10px 34px -8px rgba(198, 255, 0, 0.55);
}
.botao--lima::before {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  top: 3px;
  height: 42%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 245, 240, 0.75), rgba(245, 245, 240, 0));
  z-index: -1;
}
.botao--vidro {
  color: var(--papel);
  background: var(--vidro);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 240, 0.28), inset 0 1px 0 rgba(245, 245, 240, 0.5), 0 10px 30px -14px #000;
}
.botao:hover { transform: translateY(-2px); }
.botao:hover .seta { transform: translate(2px, -2px); }
.botao .seta { transition: transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.botao:active { transform: translateY(0) scale(0.98); }

/* ---------- Vidro, cromo e bolhas ---------- */

.vidro {
  position: relative;
  background: var(--vidro);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  border-radius: var(--raio-vidro);
  box-shadow: var(--vidro-sombra), inset 0 0 0 1px rgba(245, 245, 240, 0.14);
}
.vidro::before {
  content: '';
  position: absolute;
  inset: 1px 1px auto 1px;
  height: 46%;
  border-radius: inherit;
  border-bottom-left-radius: 50% 22%;
  border-bottom-right-radius: 50% 22%;
  background: linear-gradient(180deg, rgba(245, 245, 240, 0.16), rgba(245, 245, 240, 0));
  pointer-events: none;
}
.bolha {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--bolha, 64px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 24%, rgba(245, 245, 240, 0.55), rgba(245, 245, 240, 0.08) 34%, transparent 52%),
    radial-gradient(circle at 50% 85%, rgba(198, 255, 0, 0.32), transparent 60%),
    rgba(26, 26, 26, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 0 0 1px rgba(245, 245, 240, 0.28), inset 0 -10px 18px -8px rgba(198, 255, 0, 0.45), 0 16px 34px -14px #000;
}
.bolha img { width: 48%; height: auto; filter: drop-shadow(0 0 6px rgba(198, 255, 0, 0.55)); }

/* o selo dos sites do portfólio (projeto de demonstração) */
.selo {
  position: absolute;
  z-index: 3;
  left: 4%;
  top: 6%;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.82);
  box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.6);
  color: var(--papel);
  font-size: clamp(0.75rem, 0.68rem + 0.15vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.selo::before { content: ''; display: inline-block; width: 0.5em; height: 0.5em; margin-right: 0.45em; border-radius: 50%; background: var(--lima); box-shadow: var(--brilho-lima); vertical-align: 0.05em; }

/* ---------- O monitor Y2K (até chegarem os quadros do Blender) ---------- */

.monitor { position: relative; width: var(--monitor, 640px); }
.monitor__casco {
  position: relative;
  padding: 4.2% 4.2% 10%;
  border-radius: calc(var(--monitor, 640px) * 0.07);
  background:
    radial-gradient(120% 80% at 18% 0%, rgba(245, 245, 240, 0.22), transparent 46%),
    linear-gradient(165deg, rgba(138, 138, 138, 0.42), rgba(26, 26, 26, 0.86) 38%, rgba(11, 11, 11, 0.94) 100%);
  box-shadow:
    inset 0 2px 0 rgba(245, 245, 240, 0.45),
    inset 0 0 0 1px rgba(245, 245, 240, 0.16),
    inset 0 -40px 70px -40px rgba(198, 255, 0, 0.42),
    0 50px 90px -40px #000,
    0 0 0 1px rgba(11, 11, 11, 0.9);
}
.monitor__casco::after {
  /* o brilho de gel no alto do casco */
  content: '';
  position: absolute;
  left: 6%;
  right: 30%;
  top: 1.4%;
  height: 3.4%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(245, 245, 240, 0.55), rgba(245, 245, 240, 0));
  pointer-events: none;
}
.monitor__aro {
  padding: 2px;
  border-radius: calc(var(--monitor, 640px) * 0.035);
  background: var(--cromo);
  box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.9), 0 0 40px -8px rgba(198, 255, 0, 0.35);
}
.monitor__tela {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--monitor, 640px) * 0.03);
  background: var(--fundo);
  isolation: isolate;
}
.canal { position: absolute; inset: 0; }
.canal img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.monitor__tela::after {
  /* o vidro da tela: reflexo, linhas e a borda que escurece */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(118deg, rgba(245, 245, 240, 0.2) 0%, rgba(245, 245, 240, 0.05) 30%, transparent 31%),
    repeating-linear-gradient(0deg, rgba(11, 11, 11, 0.16) 0 1px, transparent 1px 3px),
    radial-gradient(120% 120% at 50% 50%, transparent 62%, rgba(11, 11, 11, 0.55));
  box-shadow: inset 0 0 0 1px rgba(245, 245, 240, 0.1);
}
.monitor__grade {
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 3.2%;
  height: 3.6%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(11, 11, 11, 0.95) 1.3px, transparent 1.7px) 0 0 / 7px 7px, var(--escovado);
  box-shadow: inset 0 1px 2px rgba(11, 11, 11, 0.9), 0 1px 0 rgba(245, 245, 240, 0.18);
}
.monitor__led {
  position: absolute;
  right: 7%;
  bottom: 4.2%;
  width: 0.7%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lima);
  box-shadow: var(--brilho-lima);
}
.monitor__pe {
  position: relative;
  width: 22%;
  height: calc(var(--monitor, 640px) * 0.07);
  margin: -1px auto 0;
  background: var(--escovado);
  clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%);
}
.monitor__base {
  width: 46%;
  height: calc(var(--monitor, 640px) * 0.035);
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(60% 120% at 50% 0%, rgba(245, 245, 240, 0.35), transparent 60%), var(--escovado);
  box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.8), 0 18px 30px -10px #000, 0 0 50px -6px rgba(198, 255, 0, 0.35);
}

/* ---------- O celular de vidro ---------- */

.fone {
  position: relative;
  width: var(--fone, 150px);
  aspect-ratio: 780 / 1688;
  padding: 3px;
  border-radius: calc(var(--fone, 150px) * 0.17);
  background: var(--cromo);
  box-shadow: 0 0 0 1px rgba(11, 11, 11, 0.9), 0 30px 60px -20px #000, 0 0 40px -10px rgba(198, 255, 0, 0.35);
}
.fone__tela {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--fone, 150px) * 0.15);
  background: var(--fundo);
  isolation: isolate;
}
.fone__tela img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.fone__tela::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(245, 245, 240, 0.22) 0%, rgba(245, 245, 240, 0.04) 34%, transparent 35%);
  box-shadow: inset 0 0 0 4px rgba(11, 11, 11, 0.85);
  border-radius: inherit;
}

/* ---------- Os números (dentro do topo, sem faixa solta) ---------- */

.numeros { display: flex; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.numero {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 1.1rem 0.55rem 0.7rem;
  border-radius: 999px;
}
.numero strong {
  display: grid;
  place-items: center;
  min-width: 3.4em;
  height: 2.6em;
  padding: 0 0.6em;
  border-radius: 999px;
  font-family: var(--letra-titulo);
  font-size: clamp(1.05rem, 0.9rem + 0.5vw, 1.4rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--fundo);
  background: linear-gradient(180deg, #e4ff7a, var(--lima) 50%, #a8d900);
  box-shadow: inset 0 1px 0 rgba(245, 245, 240, 0.9), 0 0 24px -4px rgba(198, 255, 0, 0.55);
}
.numero span { font-size: 0.86rem; font-weight: 500; line-height: 1.2; color: var(--papel); }

/* ---------- A trilha presa: o topo e a seção 2 no mesmo palco ---------- */

.trilho { position: relative; }
.palco { position: relative; overflow-x: clip; } /* em todos os modos: a grade do horizonte não vaza para o lado */
.cena { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; }
.anima .trilho { height: var(--trilho, 460svh); }
.anima .palco { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.anima .palco > .cena { position: absolute; inset: 0; min-height: 0; }
/* sem a trilha (reduzir movimento): o horizonte fica no chão da primeira tela e a seção 2 vem logo depois do topo */
html:not(.anima) .horizonte { top: 58svh; bottom: auto; height: 42svh; }
html:not(.anima) .motivos { min-height: 0; padding-top: clamp(2rem, 6svh, 3.5rem); }
.dentro { position: relative; z-index: 2; width: min(100% - 2 * var(--gutter), var(--largura)); margin-inline: auto; }

/* ---------- Seção 2: por que ter um site (o primeiro ato) ---------- */

.motivos { display: grid; align-items: center; padding: calc(var(--altura-cabecalho) + 2rem) 0 2.5rem; }
.anima .motivos { visibility: hidden; }
.anima .motivos.ativa { visibility: visible; }
.motivos__grade { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.motivos__titulo { font-size: clamp(2.1rem, 1.2rem + 3.2vw, 4.2rem); margin: 1rem 0 1.25rem; }
.motivos__lista { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.75rem, 1.4vw, 1.25rem); margin: 0; padding: 0; list-style: none; }
.motivo { display: grid; gap: 0.9rem; padding: clamp(1rem, 1.6vw, 1.5rem); min-height: 0; }
.motivo__topo { display: flex; align-items: center; gap: 0.85rem; }
.motivo__topo h3 { font-size: clamp(1.05rem, 0.9rem + 0.6vw, 1.45rem); }
.motivo .bolha { --bolha: clamp(44px, 4vw, 56px); flex: none; }
.nota-previa {
  display: inline-flex;
  gap: 0.5em;
  align-items: baseline;
  max-width: 30rem;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  border: 1px dashed rgba(198, 255, 0, 0.5);
  font-size: 0.85rem;
  color: var(--papel);
  background: rgba(11, 11, 11, 0.6);
}
.nota-previa strong { color: var(--lima); white-space: nowrap; }

/* as telinhas falsas de cada motivo (stageshow, refeitas em CSS) */
.ui { position: relative; height: clamp(84px, 9vw, 118px); border-radius: 14px; overflow: hidden; background: rgba(11, 11, 11, 0.62); box-shadow: inset 0 0 0 1px rgba(245, 245, 240, 0.1); padding: 10px; display: grid; gap: 7px; align-content: start; }
.ui i { display: block; height: 7px; border-radius: 99px; background: rgba(245, 245, 240, 0.16); }
.ui i.l { background: var(--lima); box-shadow: var(--brilho-lima); }
.ui .busca { display: flex; align-items: center; gap: 8px; height: 26px; padding: 0 10px; border-radius: 99px; background: rgba(245, 245, 240, 0.08); box-shadow: inset 0 0 0 1px rgba(245, 245, 240, 0.16); }
.ui .busca svg { width: 12px; height: 12px; flex: none; stroke: var(--papel); fill: none; stroke-width: 2; }
.ui .resultado { display: grid; gap: 5px; padding: 6px 8px; border-radius: 10px; }
.ui .resultado.primeiro { box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.6); background: rgba(198, 255, 0, 0.07); }
.ui .linha { display: flex; gap: 8px; align-items: center; }
.ui .linha i { flex: 1; }
.ui:has(.barras) { grid-template-rows: minmax(0, 1fr); align-content: stretch; }
.ui .barras { display: flex; align-items: flex-end; gap: 6px; height: 100%; padding-top: 4px; }
.ui .barras b { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, rgba(198, 255, 0, 0.95), rgba(198, 255, 0, 0.25)); box-shadow: 0 0 14px -4px rgba(198, 255, 0, 0.7); transform-origin: 50% 100%; }
.ui .cadeado { display: flex; align-items: center; gap: 8px; height: 22px; padding: 0 8px; border-radius: 99px; background: rgba(245, 245, 240, 0.08); }
.ui .cadeado svg { width: 11px; height: 11px; flex: none; stroke: var(--lima); fill: none; stroke-width: 2.2; }
.ui .balao { max-width: 74%; padding: 6px 9px; border-radius: 12px 12px 12px 4px; background: rgba(245, 245, 240, 0.1); display: grid; gap: 5px; }
.ui .balao.meu { justify-self: end; border-radius: 12px 12px 4px 12px; background: rgba(198, 255, 0, 0.16); box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.45); }
.ui .hora { position: absolute; right: 10px; top: 8px; font-size: 0.75rem; font-weight: 700; color: var(--lima); letter-spacing: 0.04em; }

/* ---------- Fim da prévia (denso, sem vazio) ---------- */

.fim-previa { position: relative; display: grid; align-content: start; padding: clamp(2.5rem, 7vh, 4.5rem) 0 2rem; overflow: hidden; isolation: isolate; }
.fim-previa__painel { padding: clamp(1.25rem, 3vw, 2.75rem); display: grid; gap: 1.1rem; }
.fim-previa__painel h2 { font-size: clamp(1.8rem, 1.1rem + 2.4vw, 3.2rem); }
.fim-previa__painel > p { max-width: 44rem; color: rgba(245, 245, 240, 0.86); }
.opcoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.75rem, 1.6vw, 1.25rem); margin: 0.5rem 0 0; padding: 0; list-style: none; }
.opcao { position: relative; display: grid; gap: 0.7rem; padding: 0.7rem 0.7rem 1rem; border-radius: 22px; text-decoration: none; background: rgba(11, 11, 11, 0.55); box-shadow: inset 0 0 0 1px rgba(245, 245, 240, 0.14); transition: transform 160ms cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 160ms; }
.opcao:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(198, 255, 0, 0.6), 0 0 30px -10px rgba(198, 255, 0, 0.5); }
.opcao[aria-current] { box-shadow: inset 0 0 0 2px var(--lima), 0 0 30px -10px rgba(198, 255, 0, 0.6); }
.opcao img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: var(--grafite); }
.opcao__nome { font-family: var(--letra-titulo); font-size: 1.2rem; font-weight: 600; padding: 0 0.3rem; }
.opcao__frase { font-size: 0.88rem; color: rgba(245, 245, 240, 0.86); padding: 0 0.3rem; }
.opcao__marca { position: absolute; top: 1.2rem; left: 1.2rem; padding: 0.2em 0.65em; border-radius: 999px; background: var(--lima); color: var(--fundo); font-size: 0.75rem; font-weight: 700; }
.links-fim { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.95rem; }
.links-fim a { display: inline-flex; align-items: center; min-height: 44px; color: var(--papel); text-decoration-color: var(--lima); text-underline-offset: 4px; }
.rodape-previa { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: 1.25rem; font-size: 0.82rem; color: var(--cinza); }
.rodape-previa svg { height: 20px; width: auto; }

/* ---------- Celular ---------- */

@media (max-width: 47.99rem) {
  :root { --altura-cabecalho: 3.75rem; }
  .chip-previa { font-size: 0.8125rem; padding: 0 0.55rem; margin-inline-start: 0.3rem; }
  .botao { min-height: 46px; padding: 0 1.1rem; font-size: 0.95rem; }
  .numeros { gap: 0.4rem; }
  .numero { flex-direction: column; gap: 0.3rem; padding: 0.4rem 0.4rem 0.55rem; border-radius: 22px; flex: 1; text-align: center; }
  .numero strong { min-width: 0; width: 100%; height: 2.2em; font-size: 1.05rem; }
  .numero span { font-size: 0.75rem; }
  .motivos { padding-top: calc(var(--altura-cabecalho) + 1rem); padding-bottom: 1.25rem; }
  .motivos__grade { grid-template-columns: 1fr; gap: 1.1rem; }
  .motivos__titulo { margin: 0.6rem 0 0.75rem; }
  .motivos__lista { gap: 0.6rem; }
  .motivo { gap: 0.6rem; padding: 0.75rem; border-radius: 20px; }
  .motivo__topo { gap: 0.55rem; }
  .motivo__topo h3 { font-size: 0.95rem; line-height: 1.12; }
  .ui { height: clamp(84px, 13svh, 120px); padding: 8px; gap: 6px; border-radius: 10px; }
  .nota-previa { font-size: 0.75rem; padding: 0.45rem 0.7rem; }
  .opcoes { grid-template-columns: 1fr; }
  .opcao { grid-template-columns: 9rem minmax(0, 1fr); align-items: center; padding: 0.55rem; gap: 0.2rem 0.75rem; }
  .opcao img { grid-column: 1; grid-row: 1 / span 2; }
  .opcao__nome, .opcao__frase { grid-column: 2; min-width: 0; }
  .opcao__nome { font-size: 1.05rem; align-self: end; }
  .opcao__frase { font-size: 0.78rem; align-self: start; }
  .opcao__marca { top: 0.9rem; left: 0.9rem; }
}
/* até 352 px a logo, o chip, o orçamento e o menu não cabem na linha (em 320 passavam 40 px): tudo um pouco menor */
@media (max-width: 22rem) {
  :root { --cabecalho-celular-marca: 20px; }
  .cabecalho-celular__dentro { gap: 6px; }
  .chip-previa { margin-inline-start: 0.15rem; padding: 0 0.4rem; letter-spacing: 0; }
  .cabecalho-celular__acao { padding: 0 12px; }
}

/* ---------- Reduzir movimento: a composição final parada, sem trilha presa ---------- */

@media (prefers-reduced-motion: reduce) {
  .botao, .opcao, .botao .seta { transition: none; }
}
