/* Turmaflow · landing
   Conceito: um dia na escola. Cada seção é um horário; o céu escurece até o azul da barra lateral do app. */

/* Fontes servidas localmente (Google Fonts, licença OFL); variáveis, um arquivo por subconjunto */
/* Atkinson Hyperlegible Mono · latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/atkinson-mono-latin-ext.woff2) format('woff2');
  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;
}
/* Atkinson Hyperlegible Mono · latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url(../fonts/atkinson-mono-latin.woff2) format('woff2');
  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;
}
/* Atkinson Hyperlegible Next · latin-ext */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-next-latin-ext.woff2) format('woff2');
  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;
}
/* Atkinson Hyperlegible Next · latin */
@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/atkinson-next-latin.woff2) format('woff2');
  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;
}
/* Funnel Display · latin-ext */
@font-face {
  font-family: 'Funnel Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/funnel-display-latin-ext.woff2) format('woff2');
  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;
}
/* Funnel Display · latin */
@font-face {
  font-family: 'Funnel Display';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/funnel-display-latin.woff2) format('woff2');
  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;
}


:root {
  /* cores do app (src/app/globals.css, convertidas de oklch) */
  --tinta: #162644;        /* sidebar */
  --tinta-2: #23375c;      /* sidebar-accent */
  --noite: #0f1a31;
  --azul: #1554cf;         /* primary */
  --azul-h: #1249b8;
  --azul-2: #4a81eb;       /* ring */
  --azul-50: #eaf0fd;
  --menta: #6ee7b7;        /* traço do logo */
  --verde: #22c373;        /* sidebar-primary */
  --sol: #e89d00;          /* warning */
  --vermelho: #dc2626;
  --giz: #f9fafb;          /* background */
  --texto: #101826;        /* foreground */
  --texto-2: #4b5568;
  --linha: rgba(22, 38, 68, .12);

  --f-display: 'Funnel Display', ui-sans-serif, system-ui, sans-serif;
  --f-body: 'Atkinson Hyperlegible Next', ui-sans-serif, system-ui, sans-serif;
  --f-mono: 'Atkinson Hyperlegible Mono', ui-monospace, 'SFMono-Regular', monospace;

  --gut: max(20px, calc((100% - 1320px) / 2));
  --rail: clamp(150px, 15vw, 220px);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --header: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--giz);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--azul-2); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.muted { color: var(--texto-2); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--tinta); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 0;
  background: var(--azul); color: #fff; font-weight: 600; text-decoration: none; cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 24px -10px rgba(21,84,207,.7);
  transition: transform .2s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { background: var(--azul-h); transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 40px; padding: 0 16px; border-radius: 11px; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--texto); box-shadow: inset 0 0 0 1px var(--linha); }
.btn--ghost:hover { background: rgba(255,255,255,.7); }
.btn--mint { background: var(--menta); color: var(--tinta); box-shadow: 0 12px 30px -12px rgba(110,231,183,.6); }
.btn--mint:hover { background: #8ef0c9; }
.btn--ghost-night { background: transparent; color: #e6ecf8; box-shadow: inset 0 0 0 1px rgba(230,236,248,.28); }
.btn--ghost-night:hover { background: rgba(255,255,255,.07); }

/* ---------- cabeçalho com relógio ---------- */
.top {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--gut);
  background: color-mix(in srgb, var(--giz) 72%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .6s, border-color .6s, color .6s;
}
.top.is-scrolled { border-bottom-color: var(--linha); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; }
.top__nav { justify-self: end; display: flex; align-items: center; gap: 18px; }
.top__link { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .8; }
.top__link:hover { opacity: 1; }

.clock {
  display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 12px;
  border-radius: 99px; box-shadow: inset 0 0 0 1px var(--linha);
  background: rgba(255,255,255,.55);
  font-family: var(--f-mono); font-size: .86rem; white-space: nowrap;
  transition: background .6s, box-shadow .6s;
}
.clock__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--sol); transition: background .6s; }
.clock__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: pulse 2.4s infinite; }
.clock__time { font-family: var(--f-display); font-size: 1rem; font-weight: 600; font-variant-numeric: tabular-nums; display: inline-block; }
.clock__time.tick { animation: tick .45s var(--ease); }
.clock__label { color: var(--texto-2); transition: color .6s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .6; } 70%, 100% { transform: scale(3); opacity: 0; } }
@keyframes tick { from { transform: translateY(70%); opacity: 0; } to { transform: none; opacity: 1; } }

body[data-phase="dusk"] .clock__dot { background: #ff8a4c; }
body[data-phase="night"] .top { background: color-mix(in srgb, var(--noite) 70%, transparent); color: #e6ecf8; border-bottom-color: rgba(255,255,255,.06); }
body[data-phase="night"] .clock { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
body[data-phase="night"] .clock__dot { background: var(--menta); }
body[data-phase="night"] .clock__label { color: #9fb0d0; }
body[data-phase="night"] .top .btn--sm { background: var(--menta); color: var(--tinta); box-shadow: none; }

/* ---------- janela (moldura das telas desktop) ---------- */
.win {
  position: relative; overflow: hidden; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(22,38,68,.09), 0 2px 4px rgba(22,38,68,.05), 0 40px 80px -28px rgba(22,38,68,.42);
}
.win__bar {
  height: 30px; display: flex; align-items: center; justify-content: center;
  background: #eef1f6; border-bottom: 1px solid rgba(22,38,68,.08);
}
.win__bar span {
  font-family: var(--f-mono); font-size: 11px; color: #5b6578; letter-spacing: .01em;
  padding: 3px 12px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(22,38,68,.06);
  max-width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.win img { width: 100%; }
.win__shot { position: relative; }

/* ---------- celular ---------- */
.phone {
  position: relative; width: 260px; padding: 3.4%;
  border-radius: 15% / 7%;
  background: linear-gradient(150deg, #2a3956, #0b1222 55%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), 0 2px 3px rgba(0,0,0,.2), 0 40px 70px -24px rgba(16,24,38,.55);
}
.phone::before {
  content: ''; position: absolute; z-index: 2; left: 50%; top: 2.4%; width: 24%; aspect-ratio: 4.4;
  transform: translateX(-50%); border-radius: 99px; background: #0b1222;
}
.phone img { width: 100%; border-radius: 12% / 5.6%; }

/* ---------- deck: pilha 3D de telas com troca automática ---------- */
.deck {
  --dx: 5%; --dy: -6.5%; --dz: 80px;
  position: relative; display: grid; transform-style: preserve-3d;
}
.deck__card {
  grid-area: 1 / 1; transform-style: preserve-3d;
  --k: calc(var(--p, 0) * (1 + var(--spread, 0)));
  transform: translate3d(calc(var(--k) * var(--dx)), calc(var(--k) * var(--dy)), calc(var(--k) * var(--dz) * -1));
  transition: transform .9s var(--ease), opacity .6s;
  cursor: pointer;
}
.deck__card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: var(--tinta); opacity: calc(var(--p, 0) * .075); transition: opacity .9s;
}
.deck__card[data-front] { cursor: default; }
.deck__card.is-leaving { animation: deck-leave .6s cubic-bezier(.55, 0, .8, .2) forwards; }
@keyframes deck-leave {
  to { transform: translate3d(-12%, 26%, 200px) rotateZ(-7deg); opacity: 0; }
}

/* abas com barra de progresso (o fim da animação avança o deck) */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab {
  position: relative; border: 0; background: transparent; cursor: pointer;
  padding: 10px 14px 14px; border-radius: 10px;
  font-family: var(--f-mono); font-size: .82rem; color: var(--texto-2);
  transition: color .3s, background .3s;
}
.tab:hover { color: var(--texto); background: rgba(22,38,68,.05); }
.tab[aria-selected="true"] { color: var(--texto); }
.tab__bar { position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--linha); overflow: hidden; }
.tab__bar::after { content: ''; position: absolute; inset: 0; background: var(--azul); transform: scaleX(0); transform-origin: left; }
.tab[aria-selected="true"] .tab__bar::after { transform: scaleX(1); }
.is-auto .tab[aria-selected="true"] .tab__bar::after { animation: fill var(--dur, 3800ms) linear forwards; }
.is-paused .tab[aria-selected="true"] .tab__bar::after { animation-play-state: paused; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: clip;
  min-height: max(780px, 100svh);
  padding: calc(var(--header) + clamp(48px, 9vh, 110px)) var(--gut) 40px;
  display: grid; grid-template-rows: auto 1fr; align-items: start;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgba(74,129,235,.16), transparent 60%),
    linear-gradient(180deg, #e2eafb 0%, #edf2fc 50%, #f6f8fc 100%);
}
.hero__copy { position: relative; z-index: 3; max-width: 660px; }
.eyebrow { display: block; font-family: var(--f-mono); font-size: .85rem; font-weight: 400; letter-spacing: 0; color: var(--azul); margin: 0 0 22px; }
.hero__title {
  display: block;
  font-size: clamp(3rem, 5.4vw, 6.2rem); line-height: .95; letter-spacing: -.04em; font-weight: 650;
  margin: 0 0 28px;
}
.mark { position: relative; isolation: isolate; white-space: nowrap; }
.mark::after {
  content: ''; position: absolute; z-index: -1; left: .02em; right: .12em; bottom: .04em; height: .14em;
  border-radius: 99px; background: var(--menta);
  transform-origin: left; animation: draw 1s .6s cubic-bezier(.7, 0, .2, 1) both;
}
@keyframes draw { from { transform: scaleX(0); } }
.hero__lede { font-size: clamp(1.06rem, 1.3vw, 1.2rem); color: var(--texto-2); max-width: 30em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__stage {
  position: absolute; z-index: 1;
  top: calc(var(--header) + 150px); right: -9vw; width: min(57vw, 1040px);
  perspective: 2200px; perspective-origin: 20% 30%;
  --p: 0;
}
.hero__rig {
  --rx: 20deg; --ry: -24deg; --rz: 6deg; --tx: 0; --ty: 0;
  position: relative; transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) + var(--ty) * 1deg)) rotateY(calc(var(--ry) + var(--tx) * 1deg)) rotateZ(var(--rz)) translateY(calc(var(--p) * -60px));
  animation: rig-in 1.6s var(--ease) both;
}
@keyframes rig-in { from { transform: rotateX(48deg) rotateY(-34deg) rotateZ(12deg) translateY(120px); opacity: 0; } }
.deck--hero { --dx: 5.2%; --dy: -4.6%; --dz: 90px; --spread: calc(var(--p) * 1.1); }
/* abre a pilha na carga: as telas partem juntas e se espalham (só transform, roda na GPU) */
body:not(.is-loaded) .deck--hero .deck__card { transform: none; }
.deck--hero .deck__card { transition: transform 1.4s var(--ease), opacity .6s; }
.hero__phone {
  position: absolute; left: -7%; bottom: -16%; width: 24%; z-index: 5;
  transform: translateZ(220px) rotateZ(-3deg);
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -12px; } }
.hero__tabs { position: relative; z-index: 3; margin-top: 56px; align-self: start; }

/* ---------- intro ---------- */
.intro { padding: 40px var(--gut) 40px; background: #f6f8fc; }
.intro__text {
  max-width: 900px; margin: 0 0 0 calc(var(--rail) + 40px);
  font-family: var(--f-display); font-size: clamp(1.35rem, 2.3vw, 2rem); line-height: 1.25; letter-spacing: -.015em; color: var(--texto-2);
}
.intro__text strong { color: var(--texto); font-weight: 600; }

/* ---------- horários (seções do dia) ---------- */
.slot {
  display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); gap: 40px;
  padding: clamp(80px, 12vh, 140px) var(--gut);
}
.slot__rail { position: relative; }
.slot__rail::before { content: ''; position: absolute; left: 6px; top: 0; bottom: -200px; width: 1px; background: linear-gradient(var(--linha), transparent); }
.slot__time, .slot__end { position: sticky; top: calc(var(--header) + 28px); display: block; font-family: var(--f-display); font-variant-numeric: tabular-nums; }
.slot__time { font-size: clamp(2.4rem, 4.6vw, 4.4rem); font-weight: 500; line-height: 1; color: var(--azul); letter-spacing: -.035em; background: inherit; padding-left: 18px; }
.slot__end { top: calc(var(--header) + 28px + clamp(2.6rem, 4.9vw, 4.6rem)); padding-left: 20px; color: var(--texto-2); font-size: 1.05rem; }
.slot__rail .slot__time::before { content: ''; position: absolute; left: 1px; top: .42em; width: 11px; height: 11px; border-radius: 50%; background: var(--azul); box-shadow: 0 0 0 5px rgba(21,84,207,.14); }

.slot__copy h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 22px; }
.slot__copy p { color: var(--texto-2); max-width: 36em; }
.slot__copy--wide { max-width: 860px; margin-bottom: clamp(36px, 6vh, 64px); }
.who { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .82rem; color: var(--texto-2); margin-bottom: 18px; }
.who__dot { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
kbd { font-family: var(--f-mono); font-size: .85em; padding: 1px 7px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px var(--linha), 0 1px 0 var(--linha); color: var(--texto); }
.ticks { display: grid; gap: 10px; margin-top: 24px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 6px; background: var(--azul-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231554cf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.split--rev > :first-child { order: 2; }

/* 07:00 — dois celulares que se sobrepõem com o scroll */
.slot--chamada { background: linear-gradient(#f6f8fc, var(--giz)); }
.phones { position: relative; height: 640px; --p: 1; }
.phones .phone { position: absolute; }
.phones__back { width: 240px; left: 4%; top: 60px; transform: rotate(-7deg) translateY(calc((1 - var(--p)) * -40px)); opacity: .96; }
.phones__front { width: 280px; left: 38%; top: 0; transform: translateY(calc((1 - var(--p)) * 160px)) rotate(calc(3deg - var(--p) * 3deg)); }
.tag {
  position: absolute; z-index: 3; font-family: var(--f-mono); font-size: .8rem; white-space: nowrap;
  padding: 8px 12px; border-radius: 10px; background: #fff; color: var(--texto);
  box-shadow: 0 0 0 1px var(--linha), 0 14px 30px -14px rgba(22,38,68,.4);
  transform: translateY(calc((1 - var(--p)) * 60px)); opacity: clamp(0, calc((var(--p) - .45) * 4), 1);
}
.tag--a { right: 0; top: -34px; color: #0b7a3b; }
.tag--b { left: 2%; top: 560px; }
.tag--b::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--sol); margin-right: 8px; }

/* 09:30 — intervalo: as disciplinas correm atrás do cartão */
.recess { position: relative; overflow: hidden; padding: clamp(90px, 14vh, 150px) var(--gut); background: #eef1f6; display: grid; place-items: center; }
.recess__rows { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-around; padding: 20px 0; opacity: .9; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 70s; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip-s {
  font-family: var(--f-mono); font-weight: 500; font-size: 1.05rem; letter-spacing: .02em;
  padding: 14px 24px; border-radius: 12px; background: var(--bg); color: var(--fg);
}
.recess__card {
  position: relative; z-index: 2; width: min(680px, 100%);
  background: #fff; border-radius: 22px; padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 0 0 1px var(--linha), 0 40px 90px -30px rgba(22,38,68,.45);
}
.recess__slot { font-family: var(--f-mono); font-size: .82rem; color: var(--texto-2); padding: 6px 12px; border-radius: 8px; background: #f1f3f7; display: inline-block; }
.recess__card h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 14px; }
.recess__card > p { color: var(--texto-2); }
.roles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.roles li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 99px; font-size: .92rem; font-weight: 600; background: color-mix(in srgb, var(--c) 10%, #fff); color: color-mix(in srgb, var(--c) 70%, #101826); }
.roles li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* 10:40 — a tela "pousa" na mesa com o scroll */
.slot--notas { background: var(--giz); }
.land { perspective: 2000px; --p: 1; }
.land__win {
  transform-origin: 50% 100%;
  transform: rotateX(calc((1 - var(--p)) * 34deg)) translateY(calc((1 - var(--p)) * 90px)) scale(calc(.9 + var(--p) * .1));
}
.pin {
  position: absolute; left: var(--x); top: var(--y); z-index: 2;
  transform: translate(calc(-1 * var(--ax, 50%)), calc(-100% - 20px)); white-space: nowrap;
  font-family: var(--f-mono); font-size: .78rem; color: #fff; background: var(--tinta);
  padding: 7px 11px; border-radius: 9px; box-shadow: 0 12px 24px -10px rgba(16,24,38,.6);
  opacity: clamp(0, calc((var(--p) - .82) * 7), 1); transition: opacity .3s;
}
.pin b { color: var(--menta); font-weight: 500; margin-right: 4px; }
.pin::before { content: ''; position: absolute; left: var(--ax, 50%); bottom: -9px; width: 2px; height: 9px; translate: -50% 0; background: var(--ring-c, var(--azul-2)); }
/* círculo de caneta em volta do valor, como na correção de prova */
.pin::after {
  content: ''; position: absolute; left: var(--ax, 50%); bottom: -33px; width: 44px; height: 24px; translate: -50% 0; rotate: -4deg;
  border: 2px solid var(--ring-c, var(--azul-2)); border-radius: 50%;
}
.pin--red { --ring-c: var(--vermelho); --ax: 82%; }
.pin--red b { color: #ff9a9a; }
.pin--soft { --ax: 30%; background: #fff; color: var(--texto); box-shadow: 0 0 0 1px var(--linha), 0 12px 24px -10px rgba(16,24,38,.35); }

/* 13:00 — gerador de grade interativo */
.slot--grade { background: linear-gradient(var(--giz), #f0f3fa); }
.split--grade { align-items: start; }
.gen {
  --rh: 58px; --brk: 26px;
  background: #fff; border-radius: 20px; padding: 20px 20px 16px;
  box-shadow: 0 0 0 1px var(--linha), 0 30px 70px -30px rgba(22,38,68,.35);
}
.gen__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.gen__title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; margin: 0; letter-spacing: -.01em; }
.gen__sub { font-family: var(--f-mono); font-size: .78rem; color: var(--texto-2); margin: 0; }
.btn--gen { min-height: 44px; padding: 0 16px; border-radius: 11px; font-size: .95rem; }
.btn--gen svg { transition: transform .6s var(--ease); }
.btn--gen:hover svg { transform: rotate(90deg) scale(1.1); }
.gen__days, .gen__wrap { display: grid; grid-template-columns: 54px 1fr; }
.gen__days { grid-template-columns: 54px repeat(5, 1fr); font-family: var(--f-mono); font-size: .75rem; color: var(--texto-2); padding-bottom: 6px; }
.gen__days span { text-align: center; }
.gen__times { font-family: var(--f-mono); font-size: .7rem; color: var(--texto-2); }
.gen__times li { height: var(--rh); padding-top: 8px; }
.gen__times .gen__break { height: var(--brk); padding-top: 4px; font-size: .62rem; opacity: .8; }
.gen__board { position: relative; height: calc(5 * var(--rh) + var(--brk)); }
.gen__board::before {
  content: ''; position: absolute; left: 3px; right: 3px; top: calc(3 * var(--rh) + 4px); height: calc(var(--brk) - 8px); border-radius: 6px;
  background: repeating-linear-gradient(-45deg, #f1f3f7 0 6px, #e8ebf1 6px 12px);
}
.chip {
  position: absolute; left: 0; top: 0; width: 20%; height: var(--rh); padding: 3px;
  transform: translate(calc(var(--c) * 100%), var(--y));
  transition: transform .8s cubic-bezier(.65, .05, .2, 1) var(--d, 0s);
}
.chip > span {
  display: flex; flex-direction: column; justify-content: center; height: 100%;
  padding: 4px 8px; border-radius: 9px; background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .76rem; line-height: 1.15; overflow: hidden; letter-spacing: -.01em;
}
.chip small { font-weight: 400; font-size: .7rem; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip .ab { display: none; font-family: var(--f-mono); font-weight: 500; }
.is-moving .chip > span { animation: lift .8s var(--ease) var(--d, 0s); }
@keyframes lift { 35% { transform: scale(.86) rotate(-3deg); box-shadow: 0 10px 20px -8px rgba(22,38,68,.35); } }
.gen__foot { margin: 12px 0 0; font-family: var(--f-mono); font-size: .76rem; color: var(--texto-2); display: flex; align-items: center; gap: 8px; }
.gen__foot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }

.views { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 72px); align-items: center; margin-top: clamp(90px, 14vh, 150px); }
.views__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.025em; line-height: 1.08; margin-bottom: 14px; }
.views__copy p { color: var(--texto-2); }
.views__tabs { margin-top: 18px; }
.views__stage, .avisos__stage { perspective: 2000px; padding: 6% 0 2%; }
.deck--views { --dx: 4%; --dy: -6%; --dz: 70px; transform: rotateX(10deg) rotateY(-16deg) rotateZ(2deg); }

/* 15:30 */
.slot--avisos { background: linear-gradient(#f0f3fa, #e2e8f6); }
.deck--pair { --dx: -4.5%; --dy: -6%; --dz: 70px; transform: rotateX(10deg) rotateY(16deg) rotateZ(-2deg); }

/* 17:30 — painel com zoom leve enquanto passa pela tela (sem prender o scroll) */
.slot--painel { background: linear-gradient(#e2e8f6 0%, #cdd6ee 100%); padding-bottom: 40px; }
.zoom { position: relative; --p: 0; }
.zoom__sticky {
  display: grid; grid-template-columns: minmax(280px, 430px) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
}
.zoom__copy h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); line-height: 1.04; letter-spacing: -.03em; margin-bottom: 18px; }
.zoom__copy p { color: var(--texto-2); }
.zoom__frame { position: relative; }
.zoom__clip { overflow: hidden; }
.zoom__clip img { transform-origin: 38% 56%; transform: scale(calc(1 + var(--p) * .15)); will-change: transform; }
.zoom__note {
  position: absolute; left: 6%; bottom: -18px; z-index: 2;
  font-family: var(--f-mono); font-size: .8rem; padding: 9px 13px; border-radius: 10px; background: var(--tinta); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(16,24,38,.6);
  opacity: clamp(0, calc((var(--p) - .45) * 4), 1); transform: translateY(calc((1 - var(--p)) * 20px));
}
.zoom__note::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #ff8a8a; margin-right: 8px; }

/* 20:15 — noite */
.slot--casa {
  padding-top: clamp(220px, 34vh, 360px);
  color: #e6ecf8;
  background:
    radial-gradient(900px 260px at 70% 0%, rgba(255,138,76,.22), transparent 70%),
    linear-gradient(#cdd6ee 0, #7d8fc4 90px, #34497f 200px, var(--tinta) 340px, var(--tinta) 100%);
}
.slot--casa .slot__copy p, .kit p { color: #a9b8d6; }
.slot--casa .who { color: #a9b8d6; }
.slot--casa .slot__time, .kit .slot__time { color: var(--menta); }
.slot--casa .slot__rail .slot__time::before { background: var(--menta); box-shadow: 0 0 0 5px rgba(110,231,183,.16); }
.slot--casa .slot__rail::before { background: linear-gradient(rgba(255,255,255,.14), transparent); }
.slot--casa .slot__rail { padding-top: 0; }

.flow { position: relative; outline: none; }
.flow__stage { position: relative; height: clamp(500px, 50vw, 620px); perspective: 1500px; touch-action: pan-y; user-select: none; }
.flow__item {
  position: absolute; left: 50%; top: 0; width: clamp(210px, 21vw, 270px);
  transform: translateX(-50%) translateX(calc(var(--o, 0) * 70%)) translateZ(calc(var(--a, 0) * -200px)) rotateY(calc(var(--o, 0) * -30deg));
  transition: transform .8s var(--ease), opacity .6s, filter .6s;
  opacity: var(--op, 1); filter: brightness(calc(1 - var(--a, 0) * .22));
  cursor: pointer;
}
.flow__item .phone { width: 100%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 50px 80px -30px rgba(0,0,0,.7); }
.flow__item.is-active { cursor: grab; }
.flow__bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.flow__caption { margin: 0; min-width: min(380px, 60vw); text-align: center; font-family: var(--f-display); font-size: 1.2rem; color: #fff; }
.flow__btn { width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; transition: background .2s; }
.flow__btn:hover { background: rgba(255,255,255,.16); }
.flow__dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.flow__dot { position: relative; width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.18); cursor: pointer; overflow: hidden; }
.flow__dot::before { content: ''; position: absolute; inset: -10px 0; }
.flow__dot::after { content: ''; position: absolute; inset: 0; background: var(--menta); transform: scaleX(0); transform-origin: left; }
.flow__dot[aria-current="true"]::after { transform: scaleX(1); }
.flow.is-auto .flow__dot[aria-current="true"]::after { animation: fill 4200ms linear forwards; }
.flow.is-paused .flow__dot[aria-current="true"]::after { animation-play-state: paused; }

/* o que vem no Turmaflow */
.kit { padding: clamp(80px, 12vh, 140px) var(--gut); background: var(--tinta); color: #e6ecf8; }
.kit > h2 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.03em; margin-bottom: 44px; }
.kit__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.kit__col h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.kit__col h3::before { content: ''; width: 22px; height: 5px; border-radius: 99px; background: var(--menta); }
.kit__col li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); color: #b9c6e0; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin-top: 64px; }
.facts li { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); color: #a9b8d6; }
.facts strong { color: #fff; font-weight: 600; }

/* perguntas frequentes */
.faq { padding: clamp(70px, 10vh, 120px) var(--gut); background: var(--tinta); color: #e6ecf8; border-top: 1px solid rgba(255,255,255,.06); }
.faq__inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 80px); }
.faq h2 { font-size: clamp(2rem, 3.6vw, 3rem); letter-spacing: -.03em; line-height: 1.05; }
.faq__intro { color: #a9b8d6; margin-top: 16px; }
.faq details { border-top: 1px solid rgba(255,255,255,.1); }
.faq details:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-family: var(--f-display); font-size: 1.18rem; font-weight: 500; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--menta), var(--menta)) center / 14px 2px no-repeat, linear-gradient(var(--menta), var(--menta)) center / 2px 14px no-repeat;
  transition: transform .35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details > div { color: #b9c6e0; padding: 0 44px 22px 0; }
.faq details > div p { margin: 0 0 .7em; }
@supports (interpolate-size: allow-keywords) {
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* 21:00 — fim do dia */
.end {
  position: relative; text-align: center; color: #e6ecf8;
  padding: clamp(110px, 16vh, 180px) var(--gut) clamp(90px, 14vh, 150px);
  background: linear-gradient(var(--tinta), var(--noite));
}
.end__kicker { font-family: var(--f-mono); color: #9fb0d0; margin: 0; }
.end__time {
  font-family: var(--f-display); font-weight: 600; font-variant-numeric: tabular-nums;
  font-size: clamp(6rem, 21vw, 17rem); line-height: .9; letter-spacing: -.05em; margin: 6px 0 10px; color: #fff;
}
.end__colon { color: var(--menta); animation: blink 2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }
.end__title { font-size: clamp(1.8rem, 3.8vw, 3.2rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 18px; }
.end__lede { color: #a9b8d6; max-width: 34em; margin: 0 auto 34px; }
.end__cta { justify-content: center; }

.brand--foot { color: #e6ecf8; font-size: 1.1rem; }
.brand--foot img { width: 28px; height: 28px; }

/* ---------- revelação no scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .kit__col.rv:nth-child(2) { transition-delay: .08s; }
  .js .kit__col.rv:nth-child(3) { transition-delay: .16s; }
  .js .kit__col.rv:nth-child(4) { transition-delay: .24s; }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .hero { min-height: 0; }
  .hero__copy { max-width: 720px; }
  .hero__stage { position: relative; top: auto; right: auto; width: min(100%, 860px); margin: 70px auto 0; justify-self: center; }
  .hero__tabs { margin-top: 70px; }
  .split, .views, .faq__inner { grid-template-columns: 1fr; }
  .split--rev > :first-child { order: 0; }
  .phones { max-width: 560px; }
  .kit__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zoom__sticky { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 820px) {
  :root { --header: 60px; }
  .top { grid-template-columns: auto 1fr auto; gap: 10px; }
  .clock { justify-self: center; height: 34px; padding: 0 10px; gap: 8px; font-size: .8rem; }
  .clock__label, .top__link { display: none; }
  .top .brand span { display: none; }
  .slot { grid-template-columns: 1fr; gap: 18px; }
  .slot__rail { display: flex; align-items: baseline; gap: 10px; }
  .slot__rail::before { display: none; }
  .slot__time, .slot__end { position: static; }
  .slot__time { font-size: 2.2rem; padding-left: 20px; }
  .slot__end { padding: 0; }
  .slot__rail .slot__time::before { top: .38em; }
  .intro__text { margin-left: 0; }
  .hero__phone { width: 26%; left: -2%; }
  .phones { height: 560px; }
  .phones__back { width: 200px; left: 0; }
  .phones__front { width: 240px; left: auto; right: 0; }
  .tag--a { left: auto; right: 4%; top: -20px; }
  .tag--b { left: 6%; top: auto; bottom: 30px; }
  .pin { font-size: .68rem; padding: 5px 8px; }
  .pin--soft { display: none; }
  .gen { --rh: 50px; padding: 16px 12px 14px; }
  .gen__days, .gen__wrap { grid-template-columns: 40px 1fr; }
  .gen__days { grid-template-columns: 40px repeat(5, 1fr); }
  .chip > span { padding: 2px; align-items: center; text-align: center; }
  .chip .full, .chip small { display: none; }
  .chip .ab { display: block; font-size: .74rem; }
  .gen__head { flex-wrap: wrap; }
  .slot--casa { padding-top: 170px; }
  .gen__times .gen__break { color: transparent; }
  .flow__item { width: 200px; transform: translateX(-50%) translateX(calc(var(--o, 0) * 62%)) translateZ(calc(var(--a, 0) * -220px)) rotateY(calc(var(--o, 0) * -34deg)); }
  .flow__stage { height: 470px; }
  .facts { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .kit__grid { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; }
  .win__bar { height: 22px; }
  .win__bar span { font-size: 9px; padding: 2px 8px; }
  .phones { height: 500px; }
  .phones__back { width: 170px; }
  .phones__front { width: 215px; }
  .tab { padding: 8px 10px 12px; font-size: .76rem; }
  .tab__bar { left: 10px; right: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}

/* ---------- acréscimos: SEO (títulos com termo de busca, FAQ, rodapé) ---------- */
.hero h1 { font-weight: inherit; }
.kw { color: var(--azul); }
.slot--casa .kw, .kit .kw { color: var(--menta); }
.kit__lede { max-width: 46em; margin: -24px 0 48px; font-size: 1.1rem; }
.faq__list a, .foot a { color: inherit; text-decoration-color: rgba(110,231,183,.6); text-underline-offset: 3px; }

/* ---------- 20:45 — em breve: módulo financeiro ---------- */
.slot--fin { background: var(--tinta); color: #e6ecf8; border-top: 1px solid rgba(255,255,255,.06); }
.slot--fin .slot__time { color: var(--menta); }
.slot--fin .slot__rail .slot__time::before { background: var(--menta); box-shadow: 0 0 0 5px rgba(110,231,183,.16); }
.slot--fin .slot__rail::before { background: linear-gradient(rgba(255,255,255,.14), transparent); }
.slot--fin .kw { color: var(--menta); }
.fin { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.fin__copy h2 { font-size: clamp(2.1rem, 4vw, 3.5rem); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 22px; }
.fin__copy p { color: #a9b8d6; max-width: 36em; }
.fin__copy .soon {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 13px; border-radius: 99px;
  background: var(--menta); color: var(--tinta); font-family: var(--f-mono); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.soon__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tinta); animation: blink 1.6s steps(1) infinite; }
.fin__copy .fin__law { padding: 14px 18px; border-left: 3px solid var(--menta); border-radius: 0 12px 12px 0; background: rgba(110,231,183,.06); }
.fin__law strong { color: #fff; font-weight: 600; }
.fin__cta { margin-top: 28px; }

.bill { width: min(100%, 420px); justify-self: center; }
.bill__card {
  padding: 22px; border-radius: 22px; background: #fff; color: var(--texto); font-size: .92rem; transform: rotate(-2deg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 80px -30px rgba(0,0,0,.7);
}
.bill__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.bill__title { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; }
.bill__who { color: var(--texto-2); font-size: .85rem; }
.bill__list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linha); }
.bill__name { display: flex; flex-direction: column; gap: 3px; font-weight: 600; line-height: 1.25; }
.bill__name small { font-weight: 400; font-size: .78rem; color: var(--texto-2); }
.bill__val { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bill__list .is-paid .bill__name, .bill__list .is-paid .bill__val { color: var(--texto-2); }
.st { padding: 2px 9px; border-radius: 99px; font-style: normal; font-size: .72rem; font-weight: 600; }
.st--open { background: #fdf1d6; color: #8a5300; }
.st--paid { background: #dcf7e8; color: #0f6b3d; }
.bill__total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--linha); font-weight: 600; }
.bill__total strong { font-family: var(--f-display); font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.bill__pay { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bill__btn { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 11px; box-shadow: inset 0 0 0 1px var(--linha); font-weight: 600; font-size: .86rem; text-align: center; }
.bill__btn--pix { background: var(--azul); color: #fff; box-shadow: none; }
.bill figcaption { margin-top: 22px; text-align: center; font-family: var(--f-mono); font-size: .78rem; color: #8c9bbb; }

.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: clamp(56px, 9vh, 96px); }
.phase { position: relative; padding-top: 24px; }
.phase::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--menta); opacity: var(--o, 1); }
.phase:nth-child(2) { --o: .5; }
.phase:nth-child(3) { --o: .22; }
.phase__step { margin: 0 0 6px; font-family: var(--f-mono); font-size: .8rem; color: var(--menta); }
.phase h3 { font-size: 1.3rem; margin-bottom: 12px; }
.phase li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); color: #b9c6e0; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .js .phase.rv:nth-child(2) { transition-delay: .08s; }
  .js .phase.rv:nth-child(3) { transition-delay: .16s; }
}

/* ---------- WhatsApp ---------- */
.wa-ico { flex: none; }
.btn--wa { background: #25d366; color: #0b2a17; box-shadow: 0 12px 30px -12px rgba(37,211,102,.55); }
.btn--wa:hover { background: #3ee07a; }
.end__talk { margin: 30px 0 0; color: #9fb0d0; }
.end__talk a { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; color: var(--menta); font-weight: 600; text-decoration: underline; text-decoration-color: rgba(110,231,183,.4); text-underline-offset: 4px; }
.end__talk a:hover { text-decoration-color: currentColor; }
.wa-fab {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 20px 0 15px; border-radius: 99px; background: #25d366; color: #0b2a17; font-weight: 600; text-decoration: none;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: opacity .3s, transform .3s var(--ease), background .2s;
}
.wa-fab:hover { background: #3ee07a; }
.js .wa-fab:not(.is-on) { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; }

/* ---------- rodapé ---------- */
.foot { padding: clamp(56px, 8vh, 84px) var(--gut) 32px; background: var(--noite); color: #8c9bbb; font-size: .92rem; border-top: 1px solid rgba(255,255,255,.06); }
.foot p { margin: 0; }
.foot__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.foot__about { display: grid; gap: 16px; max-width: 30em; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot__nav a { text-decoration: none; color: #c6d2ea; }
.foot__nav a:hover { color: #fff; }
.maker { justify-self: end; width: min(100%, 470px); padding: 26px; border-radius: 20px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.foot .maker__kicker { margin-bottom: 12px; font-family: var(--f-mono); font-size: .78rem; }
.maker__logo { display: inline-block; }
.maker__logo img { width: auto; height: 36px; }
.foot .maker__name { margin: 14px 0 12px; color: #e6ecf8; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; }
.maker__list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.08); }
.foot .maker__list a { color: #e6ecf8; text-decoration: none; overflow-wrap: anywhere; text-align: right; }
.foot .maker__list a:hover { color: var(--menta); }
.maker__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.maker__cta .btn { flex: 1 1 auto; min-height: 46px; padding: 0 18px; border-radius: 12px; font-size: .95rem; }
.foot .maker__cta .btn--wa { color: #0b2a17; }
.foot .maker__cta .btn--ghost-night { color: #e6ecf8; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); font-size: .82rem; }

@media (max-width: 1100px) {
  .fin { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .phases { grid-template-columns: 1fr; gap: 36px; }
  .foot__top { grid-template-columns: 1fr; gap: 36px; }
  .maker { justify-self: stretch; width: auto; }
  .wa-fab { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center; }
  .wa-fab span { display: none; }
}
@media (max-width: 520px) {
  .bill__card { padding: 18px; transform: none; }
  .fin__cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .zoom__note { opacity: 1; transform: none; }
}
