/* Site de vendas do Escolaê — identidade oficial da marca.
   Azul tecnológico #0B2F78, azul vivo #1769D2, verde conexão #16A66A,
   dourado acolhedor #F5B51B. Títulos Poppins, textos Inter. Tema claro,
   showreel em movimento e efeitos de UI/UX. */

@font-face { font-family: "Poppins"; src: url("/fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  color-scheme: light;
  --azul: #0b2f78;
  --azul-vivo: #1769d2;
  --verde: #16a66a;
  --verde-escuro: #0f7d50;
  --dourado: #f5b51b;
  --dourado-escuro: #9a6a00;
  --bg: #f3f6fd;
  --bg-2: #ffffff;
  --surface: #ffffff;
  --surface-2: #eef2fb;
  --line: rgba(11, 47, 120, .12);
  --line-forte: rgba(11, 47, 120, .2);
  --ink: #16233f;
  --muted: #505a71;
  --muted-2: #5c6578;
  --branco: #ffffff;
  --sombra: 0 24px 60px -26px rgba(11, 47, 120, .34);
  --sombra-sm: 0 10px 28px -16px rgba(11, 47, 120, .3);
  --display: "Poppins", "Segoe UI", system-ui, sans-serif;
  --texto: "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Menlo, Consolas, monospace;
  --raio: 16px;
  --raio-lg: 24px;
  /* Risquinho de lápis (desenhado à mão) que "escreve" ao passar o mouse */
  --lapis: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='40'%20height='8'%20viewBox='0%200%2040%208'%3E%3Cpath%20d='M0%204%20Q4%201%208%204%20T16%204%20T24%204%20T32%204%20T40%204'%20fill='none'%20stroke='%231769d2'%20stroke-width='2'%20stroke-linecap='round'/%3E%3C/svg%3E");
  font-family: var(--texto);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  accent-color: var(--azul-vivo);
  scrollbar-color: #b9c4de var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--bg); font-size: 17px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
::selection { color: #fff; background: var(--azul-vivo); }
a { color: inherit; text-underline-offset: .22em; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--azul-vivo); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }
:where(section[id], article[id]) { scroll-margin-top: 92px; }

.pular { position: fixed; left: 12px; top: -60px; z-index: 60; padding: 10px 14px; color: #fff; background: var(--azul); font-weight: 700; border-radius: 8px; }
.pular:focus { top: 12px; }

/* Barra de progresso da rolagem */
.progresso { position: fixed; inset: 0 auto auto 0; z-index: 55; width: 100%; height: 3px; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--azul-vivo), var(--verde) 55%, var(--dourado)); }

/* Luz que segue o cursor (desktop) */
.cursor-spot { position: fixed; z-index: 0; top: 0; left: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 105, 210, .14), transparent 62%); pointer-events: none; opacity: 0; transition: opacity .4s ease; }
.cursor-ativo .cursor-spot { opacity: 1; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--azul-vivo); font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 1px; background: var(--azul-vivo); content: ""; }

/* Aurora: brilho pastel de fundo que respira (azul, verde, dourado) */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora span { position: absolute; width: 58vmax; height: 58vmax; border-radius: 50%; filter: blur(96px); opacity: .5; }
.aurora span:nth-child(1) { top: -22vmax; left: -8vmax; background: radial-gradient(circle, rgba(23, 105, 210, .42), transparent 62%); animation: flutua 26s ease-in-out infinite; }
.aurora span:nth-child(2) { top: 16vmax; right: -18vmax; background: radial-gradient(circle, rgba(22, 166, 106, .32), transparent 62%); animation: flutua 32s ease-in-out infinite reverse; }
.aurora span:nth-child(3) { bottom: -26vmax; left: 32vmax; background: radial-gradient(circle, rgba(245, 181, 27, .3), transparent 62%); animation: flutua 38s ease-in-out infinite; }
@keyframes flutua { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.14); } }

main, .topo, .rodape { position: relative; z-index: 1; }

/* ——— Marca e topo ——— */
.marca { display: inline-flex; align-items: center; gap: 10px; color: var(--azul); font-family: var(--display); font-size: 25px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.marca b { color: var(--dourado-escuro); }
.marca-icone { width: 34px; height: 34px; border-radius: 9px; }

.topo { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px clamp(18px, 4vw, 56px); transition: padding .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease; border-bottom: 1px solid transparent; }
.topo.fixo { padding-top: 11px; padding-bottom: 11px; background: rgba(255, 255, 255, .82); backdrop-filter: blur(14px); border-bottom-color: var(--line); box-shadow: 0 10px 30px -22px rgba(11, 47, 120, .45); }
.topo-nav { display: flex; align-items: center; gap: 28px; }
.topo-nav > a:not(.botao):not(.topo-entrar) { position: relative; color: var(--muted); font-size: 15px; font-weight: 600; text-decoration: none; transition: color .15s ease; }
.topo-nav > a:not(.botao):not(.topo-entrar)::after { position: absolute; left: 0; right: 0; bottom: -7px; height: 6px; background: var(--lapis) repeat-x; background-size: 38px 6px; clip-path: inset(0 100% 0 0); transition: clip-path .45s cubic-bezier(.16, 1, .3, 1); content: ""; }
.topo-nav > a:not(.botao):not(.topo-entrar):hover { color: var(--azul); }
.topo-nav > a:not(.botao):not(.topo-entrar):hover::after { clip-path: inset(0 0 0 0); }
.topo-entrar { position: relative; color: var(--azul); font-size: 15px; font-weight: 700; text-decoration: none; }
.topo-entrar::after { position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; background: var(--lapis) repeat-x; background-size: 38px 6px; clip-path: inset(0 100% 0 0); transition: clip-path .45s cubic-bezier(.16, 1, .3, 1); content: ""; }
.topo-entrar:hover { color: var(--azul-vivo); }
.topo-entrar:hover::after { clip-path: inset(0 0 0 0); }
.topo .topo-cta { min-height: 42px; padding: 0 18px; font-size: 14px; }

.menu-btn { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; border: 1px solid var(--line-forte); border-radius: 12px; background: var(--bg-2); cursor: pointer; }
.menu-btn span { height: 2px; background: var(--azul); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— Botões (com brilho ao passar o mouse) ——— */
.botao { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 999px; overflow: hidden; font: 600 16px var(--display); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease; }
.botao::after { position: absolute; inset: 0; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .4) 50%, transparent 80%); transform: translateX(-130%); transition: transform .6s ease; content: ""; }
.botao:hover::after { transform: translateX(130%); }
.botao-amber { color: #fff; background: var(--azul); box-shadow: 0 12px 30px -14px rgba(11, 47, 120, .8); }
.botao-amber:hover { background: var(--azul-vivo); transform: translateY(-2px); box-shadow: 0 16px 38px -14px rgba(23, 105, 210, .75); }
.botao-ghost { color: var(--azul); background: var(--bg-2); border-color: var(--line-forte); }
.botao-ghost:hover { border-color: var(--azul); transform: translateY(-2px); box-shadow: var(--sombra-sm); }
.botao[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ——— Hero ——— */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(32px, 6vw, 80px); max-width: 1240px; margin: 0 auto; padding: clamp(130px, 17vh, 200px) clamp(18px, 4vw, 56px) clamp(60px, 9vh, 110px); }
.hero-titulo { font-size: clamp(42px, 6.6vw, 86px); margin-bottom: 26px; color: var(--azul); }
.hero-titulo .linha { display: block; overflow: hidden; }
.hero-titulo em { color: var(--ink); font-style: normal; background: linear-gradient(180deg, transparent 58%, rgba(245, 181, 27, .6) 58%, rgba(245, 181, 27, .6) 92%, transparent 92%); padding: 0 .06em; }
.hero-sub { max-width: 46ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); }
.hero-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-selos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; color: var(--muted-2); font: 500 12px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.hero-selos i { width: 5px; height: 5px; border-radius: 50%; background: var(--verde); }

/* Celular de exemplo (inclina com o cursor) */
.hero-mock, .familias-fone { position: relative; justify-self: center; width: min(360px, 92vw); perspective: 1000px; }
.mock-glow { position: absolute; inset: -12% -6% -6%; background: radial-gradient(60% 55% at 50% 30%, rgba(23, 105, 210, .4), transparent 70%); filter: blur(34px); z-index: -1; }
.fone { display: grid; gap: 12px; padding: 20px 16px; border: 1px solid var(--line-forte); border-radius: 34px; background: linear-gradient(180deg, #e9edf7, #dfe5f1); box-shadow: var(--sombra), inset 0 1px 0 rgba(255, 255, 255, .7); transition: transform .18s ease; transform-style: preserve-3d; }
.fone-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; padding: 0 4px; }
.fone-marca { font-family: var(--display); font-size: 17px; font-weight: 700; color: var(--azul); letter-spacing: -.01em; }
.fone-marca b { color: var(--dourado-escuro); }
.fone-chip { padding: 5px 11px; border-radius: 999px; background: #fff; color: var(--muted); font-size: 12px; font-weight: 600; }
.card-ui { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); font-size: 14px; line-height: 1.45; color: var(--ink); box-shadow: var(--sombra-sm); }
.card-ui strong { display: block; margin: 3px 0; font-size: 15px; }
.card-de { display: block; margin-bottom: 2px; color: var(--azul-vivo); font-size: 12px; font-weight: 700; }
.card-ok { display: inline-block; margin-top: 8px; color: var(--verde-escuro); font-size: 12px; font-weight: 800; }
.card-nota { color: var(--muted); }
.card-resposta { margin-left: 22px; }
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 10px; }
.passos i { height: 4px; border-radius: 4px; background: rgba(11, 47, 120, .14); }
.passos i.feito { background: var(--verde); }
.card-a { animation: card-sobe 8s ease-in-out infinite; }
.card-b { animation: card-sobe 8s ease-in-out infinite 2.6s; }
.card-c { animation: card-sobe 8s ease-in-out infinite 5.2s; }
@keyframes card-sobe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ——— Showreel (faixa azul da marca, em movimento) ——— */
.showreel { position: relative; padding: 24px 0; background: var(--azul); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.showreel-trilho { display: inline-flex; align-items: center; gap: 30px; white-space: nowrap; will-change: transform; animation: desliza 36s linear infinite; }
.showreel-trilho span { font-family: var(--display); font-size: clamp(22px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.01em; color: #fff; }
.showreel-trilho i { color: var(--dourado); font-style: normal; font-size: 16px; }
.showreel:hover .showreel-trilho { animation-play-state: paused; }
@keyframes desliza { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ——— Seções ——— */
.secao-cabeca { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 68px); text-align: center; }
.secao-cabeca .eyebrow { justify-content: center; }
.secao-cabeca h2, .familias h2, .seguranca h2, .comecar h2, .perguntas h2, .contato h2 { font-size: clamp(32px, 4.2vw, 52px); color: var(--azul); }
.secao-sub { margin-top: 14px; color: var(--muted); font-size: 17px; }

.recursos { max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px); }
.recurso { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 6vw, 80px); padding: clamp(28px, 4vw, 48px) 0; }
.recurso + .recurso { border-top: 1px solid var(--line); }
.recurso-invertido .recurso-texto { order: 2; }
.recurso-texto h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; color: var(--azul); }
.recurso-texto p { color: var(--muted); font-size: 17px; }
.recurso-visual { position: relative; display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line-forte); border-radius: var(--raio-lg); background: linear-gradient(180deg, #e9edf7, #dfe5f1); box-shadow: var(--sombra); transition: transform .2s ease, box-shadow .2s ease; transform-style: preserve-3d; }
.metrica { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.metrica strong { font-family: var(--display); font-size: clamp(48px, 6vw, 66px); font-weight: 700; letter-spacing: -.03em; color: var(--azul); line-height: .85; font-variant-numeric: tabular-nums; }
.metrica small { font-size: max(20px, .44em); color: var(--muted); font-weight: 700; }
.metrica span { color: var(--muted); font-size: 14px; }
.etapas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0; padding: 0; list-style: none; }
.etapas li { padding-top: 10px; border-top: 3px solid rgba(11, 47, 120, .14); color: var(--muted-2); font-size: 13px; font-weight: 700; }
.etapas li.feita { border-color: var(--verde); color: var(--ink); }
.etapas li.atual { border-color: var(--dourado); color: var(--ink); }
.exemplo { color: var(--muted-2); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

/* Famílias */
.familias { max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px); }
.familias-interno { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; gap: clamp(32px, 6vw, 80px); }
.lista-check { display: grid; gap: 18px; margin: 26px 0 0; padding: 0; list-style: none; }
.lista-check li { position: relative; padding-left: 40px; color: var(--muted); font-size: 16px; }
.lista-check li::before { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--verde); content: "✓"; font-size: 13px; font-weight: 700; line-height: 1; }
.lista-check strong { color: var(--ink); }

/* Segurança */
.seguranca { max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px); }
.grade-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grade-seg > div { padding: 26px; border: 1px solid var(--line); border-radius: var(--raio); background: var(--surface); box-shadow: var(--sombra-sm); transition: transform .2s ease, box-shadow .2s ease; }
.grade-seg > div:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.grade-seg h3 { font-size: 19px; margin-bottom: 8px; color: var(--azul); }
.grade-seg h3::before { display: block; width: 24px; height: 3px; margin-bottom: 14px; border-radius: 3px; background: var(--dourado); content: ""; }
.grade-seg p { color: var(--muted); font-size: 15px; }

/* Começar */
.comecar { max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px); }
.passos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: passo; }
.passos-grid li { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--raio-lg); background: linear-gradient(180deg, #ffffff, #eef2fb); box-shadow: var(--sombra-sm); transition: transform .2s ease, box-shadow .2s ease; }
.passos-grid li:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.passo-num { display: block; margin-bottom: 18px; color: var(--azul-vivo); font: 700 15px var(--mono); letter-spacing: .1em; }
.passos-grid h3 { font-size: 22px; margin-bottom: 8px; color: var(--azul); }
.passos-grid p { color: var(--muted); font-size: 15px; }

/* Perguntas */
.perguntas { max-width: 860px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px); }
.perguntas-lista details { border-bottom: 1px solid var(--line); }
.perguntas-lista summary { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--display); font-size: 18px; font-weight: 600; color: var(--azul); cursor: pointer; list-style: none; transition: color .15s ease; }
.perguntas-lista summary:hover { color: var(--azul-vivo); }
.perguntas-lista summary::-webkit-details-marker { display: none; }
.perguntas-lista summary::after { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--azul-vivo); content: "+"; font: 400 24px/1 var(--mono); transition: transform .2s ease; }
.perguntas-lista details[open] summary::after { transform: rotate(45deg); }
.perguntas-lista details p { max-width: 68ch; margin: 0 0 24px; color: var(--muted); }

/* Contato */
.contato { max-width: 1160px; margin: 0 auto; padding: clamp(70px, 10vw, 130px) clamp(18px, 4vw, 56px) clamp(90px, 12vw, 150px); }
.contato-interno { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contato-texto { max-width: 42ch; margin-top: 18px; color: var(--muted); font-size: 18px; }
.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 3vw, 34px); border: 1px solid var(--line); border-radius: var(--raio-lg); background: var(--bg-2); box-shadow: var(--sombra); }
.campo { display: grid; gap: 6px; }
.campo-inteiro { grid-column: 1 / -1; }
.campo span { font-size: 13px; font-weight: 700; color: var(--muted); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line-forte); border-radius: 12px; color: var(--ink); background: #f6f8fd; font: 16px var(--texto); transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease; }
.campo textarea { min-height: 92px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: var(--muted-2); }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--azul-vivo); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(23, 105, 210, .18); }
.campo-oculto { position: absolute; left: -9999px; }
.aviso { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; }
.aviso-erro { color: #a4291a; background: #ffe6e1; }
.aviso-ok { color: #fff; background: var(--verde); }
.nota { margin: 0; color: var(--muted-2); font-size: 13px; }

/* Rodapé */
.rodape { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; max-width: 1240px; margin: 0 auto; padding: 34px clamp(18px, 4vw, 56px); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.rodape a { position: relative; color: var(--azul); text-decoration: none; font-weight: 600; }
.rodape a::after { position: absolute; left: 0; right: 0; bottom: -4px; height: 6px; background: var(--lapis) repeat-x; background-size: 38px 6px; clip-path: inset(0 100% 0 0); transition: clip-path .45s cubic-bezier(.16, 1, .3, 1); content: ""; }
.rodape a:hover { color: var(--azul-vivo); }
.rodape a:hover::after { clip-path: inset(0 0 0 0); }

/* ——— Reveal no scroll ——— */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { animation: sobe .8s cubic-bezier(.16, 1, .3, 1) both; animation-delay: calc(var(--d, 0) * 90ms); opacity: 1; transform: none; }
.hero-titulo { animation: sobe .9s cubic-bezier(.16, 1, .3, 1) both; animation-delay: 60ms; }
@keyframes sobe { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* ——— Efeitos de escola ao passar o mouse ——— */
/* Logo balança como brincadeira */
.marca:hover .marca-icone { animation: gingado-logo .9s ease-in-out infinite; }
@keyframes gingado-logo { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }

/* Cartões dão uma leve jogada de recreio */
.grade-seg > div:hover, .passos-grid li:hover { animation: gingado 1.5s ease-in-out infinite; }
@keyframes gingado {
  0%, 100% { transform: translateY(-4px) rotate(0); }
  30% { transform: translateY(-4px) rotate(-1.4deg); }
  70% { transform: translateY(-4px) rotate(1.4deg); }
}

/* O ✓ da lista dá um pulinho */
.lista-check li:hover::before { animation: pulinho .55s ease; }
@keyframes pulinho {
  0% { transform: scale(1) rotate(0); }
  40% { transform: scale(1.25) rotate(-10deg); }
  70% { transform: scale(.95) rotate(6deg); }
  100% { transform: scale(1) rotate(0); }
}

/* Passos do "começar" sobem como num pulo de amarelinha */
.passos-grid li:hover .passo-num { animation: salta .5s ease; }
@keyframes salta { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-6px); } }

/* ——— Responsivo ——— */
@media (max-width: 920px) {
  .menu-btn { display: flex; }
  .topo-nav { position: fixed; inset: 0 0 auto; top: 0; z-index: 40; flex-direction: column; align-items: stretch; gap: 6px; padding: 94px clamp(18px, 6vw, 40px) 32px; background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); box-shadow: var(--sombra); transform: translateY(-102%); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
  .topo-nav.aberto { transform: none; }
  .topo-nav > a:not(.botao):not(.topo-entrar), .topo-entrar { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .topo-nav > a:not(.botao):not(.topo-entrar)::after { display: none; }
  .topo .topo-cta { margin-top: 14px; min-height: 52px; font-size: 16px; }
  .hero { grid-template-columns: 1fr; padding-top: clamp(120px, 16vh, 150px); }
  .hero-mock { order: -1; width: min(300px, 80vw); margin-bottom: 8px; }
  .hero-sub { max-width: none; }
  .recurso, .recurso-invertido, .familias-interno, .contato-interno { grid-template-columns: 1fr; }
  .recurso-invertido .recurso-texto { order: 0; }
  .familias-fone { width: min(320px, 82vw); }
  .grade-seg, .passos-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .showreel-trilho span { font-size: 22px; }
  .formulario { grid-template-columns: 1fr; padding: 20px; }
  .card-resposta { margin-left: 14px; }
}

@media (hover: none), (pointer: coarse) {
  .cursor-spot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora span, .showreel-trilho, .card-a, .card-b, .card-c { animation: none !important; }
  .marca:hover .marca-icone, .grade-seg > div:hover, .passos-grid li:hover, .lista-check li:hover::before, .passos-grid li:hover .passo-num { animation: none !important; }
  .topo-nav > a::after, .topo-entrar::after, .rodape a::after { transition: none; }
  .reveal, .hero .reveal, .hero-titulo { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
  .botao, .botao::after, .cursor-spot { transition: none; }
  .fone, .recurso-visual { transition: none !important; }
}

/* Secao "O problema" (angulo de confiabilidade) */
.problema { max-width: 1160px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) clamp(18px, 4vw, 56px) 0; }
.problema-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.problema-card { padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); border-radius: var(--raio-lg); background: var(--bg-2); box-shadow: var(--sombra-sm); transition: transform .2s ease, box-shadow .2s ease; }
.problema-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.problema-tag { display: inline-block; margin-bottom: 12px; padding: 4px 10px; border-radius: 999px; color: #a4291a; background: #ffe6e1; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.problema-card h3 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); color: var(--azul); }
.problema-card p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.problema-sol { display: inline-block; margin: 16px 0 6px; padding: 4px 10px; border-radius: 999px; color: #fff; background: var(--verde); font: 700 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.problema-resp { color: var(--ink) !important; font-weight: 500; }
@media (max-width: 760px) { .problema-grid { grid-template-columns: 1fr; } }
