/* ==========================================================================
   BCG | página inicial
   Camadas: nav 50 · WhatsApp 40 · plataforma 3 (chips voam por cima do hero) · hero 1
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

section[id] { scroll-margin-top: 80px; }

.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed; left: 16px; top: 12px; z-index: 60;
  padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 560;
  transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* --- Tipografia de seção -------------------------------------------------- */
.eyebrow {
  margin: 0 0 18px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink);
}
.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 720;
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.08; letter-spacing: -0.028em;
  text-wrap: balance;
}
.lede {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55;
  color: var(--ink-2);
}

/* --- Navegação ------------------------------------------------------------ */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), backdrop-filter .4s;
}
.nav.is-stuck {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner {
  max-width: var(--maxw); height: 72px;
  margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__links {
  display: flex; gap: 4px; margin-left: auto;
}
.nav__links a {
  padding: 8px 12px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: var(--ink-2); text-decoration: none;
  transition: color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); background: var(--surface-2); }
.nav__pre { margin-left: 8px; }
.nav__cta { margin-left: 0; }
.nav .brand__orb { view-transition-name: bcg-orb; }
@media (max-width: 1099px) {
  .nav__inner { gap: 20px; }
  .nav__links a { padding-inline: 9px; }
}
@media (max-width: 899px) {
  .nav__links, .nav__pre { display: none; }
  .nav__cta { margin-left: auto; }
}
@media (max-width: 380px) {
  .brand__rule, .brand__text { display: none; }
}

/* --- Orbe (forma do logo) ------------------------------------------------- */
.orb {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: 50%;
  background: var(--orb);
}
.orb::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit;
  background: radial-gradient(circle at 32% 18%, rgb(255 255 255 / .28), transparent 46%);
  pointer-events: none;
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative; z-index: 1;
  min-height: 100dvh;
  display: flex; align-items: center;
  padding-top: 72px;
}
.hero__inner {
  width: 100%; max-width: var(--maxw);
  margin-inline: auto;
  padding: 24px var(--gutter) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 760;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.04; letter-spacing: -0.026em; word-spacing: .04em;
  text-wrap: balance;
}
.hero__accent { color: var(--green-ink); }
.hero__lede {
  margin: 28px 0 0; max-width: 44ch;
  font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5;
  color: var(--ink-2);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__stage {
  position: relative;
  width: min(100%, 560px); aspect-ratio: 1;
  justify-self: end;
}
.hero__orb {
  position: absolute; inset: 8%;
  box-shadow: 0 50px 90px -40px rgb(1 61 123 / .6);
}
.orb__photo {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover;
  mix-blend-mode: luminosity; opacity: .78;
}
/* foto larga com os dois mentores: o centro do par fica um pouco à esquerda do centro da imagem */
.orb__photo--mentores { object-position: 44% 50%; }

@media (max-width: 899px) {
  .hero { align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .hero__stage { justify-self: center; width: min(78vw, 360px); margin-top: 12px; }
}

/* --- Plataforma: semana ---------------------------------------------------- */
.plat {
  position: relative; z-index: 3;
  padding-block: clamp(72px, 10vw, 128px);
}
.plat__inner {
  max-width: var(--maxw);
  margin-inline: auto; padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr);
  grid-template-areas: "head week" "steps week";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 5vw, 72px); row-gap: 36px;
}
.plat__head { grid-area: head; align-self: end; }
.plat__week { grid-area: week; align-self: center; min-width: 0; }

.steps {
  grid-area: steps; align-self: start;
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 6px;
}
.step { position: relative; padding: 10px 0 10px 26px; }
.step__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 27px); line-height: 1.15; letter-spacing: -0.02em;
  transition: color .5s var(--ease-out), opacity .5s var(--ease-out);
}
.step__body {
  display: grid; grid-template-rows: 1fr;
  transition: grid-template-rows .6s var(--ease-out), opacity .5s var(--ease-out), filter .5s var(--ease-out);
}
.step__body > p {
  min-height: 0; overflow: hidden; margin: 0;
  max-width: 40ch; color: var(--ink-2);
}
.step__body > p::before { content: ""; display: block; height: 8px; }

.steps__rail {
  grid-area: steps; justify-self: start; align-self: stretch;
  width: 2px; margin-block: 14px; border-radius: 2px;
  background: var(--line);
  display: none;
}
.steps__rail span {
  display: block; height: 100%; border-radius: inherit;
  background: var(--green);
  transform: scaleY(0); transform-origin: top;
}

/* Desktop com movimento: seção fixada, passos trocam no lugar */
.plat.is-pinned { min-height: 100dvh; display: flex; align-items: center; padding-block: 96px 48px; }
.plat.is-pinned .plat__inner { width: 100%; }
.plat.is-pinned .steps__rail { display: block; }
.plat.is-pinned .step:not(.is-active) .step__title { color: var(--ink-3); opacity: .6; }
.plat.is-pinned .step:not(.is-active) .step__body { grid-template-rows: 0fr; opacity: 0; filter: blur(4px); }

/* Celular ou janela baixa com movimento: semana gruda no topo e os passos rolam embaixo */
.plat.is-flow .plat__week { position: sticky; top: 84px; z-index: 2; }
.plat.is-flow .step { min-height: 46vh; padding-left: 0; }
.plat.is-flow .step:not(.is-active) { opacity: .4; }
.plat.is-flow .step { transition: opacity .5s var(--ease-out); }

.week {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  box-shadow: var(--shadow-2);
  padding: clamp(12px, 1.5vw, 20px);
}
.week__grid {
  position: relative;
  display: grid;
  grid-template-columns: 52px repeat(7, minmax(0, 1fr));
  grid-template-rows: 30px repeat(3, minmax(80px, auto));
  gap: 8px;
}
.week__corner { grid-area: 1 / 1; }
.week__day, .week__turno {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 6px;
}
.week__day { grid-row: 1; grid-column: calc(var(--d) + 1); padding-left: 4px; }
.week__turno { grid-column: 1; grid-row: calc(var(--t) + 1); }
.week__day em {
  font-style: normal; font-size: 9.5px; letter-spacing: .04em;
  padding: 3px 6px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-ink);
  opacity: 0; transform: scale(.7);
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-pop);
}
.plat[data-step="1"] .week__day em,
.plat[data-step="2"] .week__day em { opacity: 1; transform: none; }
.week__cell {
  grid-column: calc(var(--d) + 1); grid-row: calc(var(--t) + 1);
  border-radius: var(--r-chip);
  border: 1px dashed var(--line);
}

/* Chips: 'chip' recebe o movimento de rolagem, 'chip__body' o estado e a flutuação */
.chip {
  grid-column: calc(var(--d) + 1);
  grid-row: calc(var(--t) + 1) / span var(--span, 1);
  position: relative; z-index: 1; min-width: 0;
  container-type: inline-size;
}
/* chip estreito: o ícone sai para o rótulo caber */
@container (max-width: 96px) {
  .chip__type .icon { display: none; }
}
.chip__body {
  position: relative; height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  padding: 8px 9px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-chip);
  box-shadow: var(--shadow-1);
  transition: background-color .5s var(--ease-out), border-color .5s var(--ease-out);
}
.chip__type {
  display: flex; align-items: center; gap: 5px; min-width: 0;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 500;
  letter-spacing: .03em; text-transform: uppercase; line-height: 1.1;
  color: var(--ink-3); white-space: nowrap; overflow: hidden;
}
.chip__type .icon { width: 13px; height: 13px; }
.chip__title {
  font-size: 13px; font-weight: 650; line-height: 1.2; letter-spacing: -0.015em;
  overflow-wrap: break-word; hyphens: auto;
  transition: color .5s var(--ease-out);
}
.chip__check {
  position: absolute; top: -7px; right: -7px;
  width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--btn-bg); color: #fff;
  box-shadow: 0 0 0 2px var(--surface);
  transform: scale(0);
  transition: transform .45s var(--ease-pop) calc(var(--k, 0) * 70ms);
}
.chip__check .icon { width: 12px; height: 12px; }
.chip.is-done .chip__body {
  background: var(--green-soft);
  border-color: color-mix(in srgb, var(--green) 40%, transparent);
}
.chip.is-done .chip__title { color: var(--ink-2); }
.chip.is-done .chip__check { transform: scale(1); }

.chip__late-label { display: none; }
.chip.is-late .chip__body { border-color: var(--late); }
.chip.is-late .chip__type { color: var(--late); }
.chip.is-late .chip__type-label { display: none; }
.chip.is-late .chip__late-label { display: inline; }

.chip--rev .chip__type { color: var(--green-ink); }
.chip--exam .chip__body { background: var(--navy); border-color: transparent; color: #EAF2F7; }
.chip--exam .chip__type { color: rgb(234 242 247 / .72); }

/* Revisões nascem no passo 3 (só com movimento; sem ele ficam visíveis) */
.motion .chip[data-spawn] .chip__body {
  opacity: 0; transform: translateY(10px) scale(.7); filter: blur(6px);
  transition: opacity .5s var(--ease-out) calc(var(--i) * 140ms),
              transform .6s var(--ease-pop) calc(var(--i) * 140ms),
              filter .5s var(--ease-out) calc(var(--i) * 140ms);
}
.motion .chip[data-spawn].is-on .chip__body { opacity: 1; transform: none; filter: none; animation: chip-ring 1.4s var(--ease-out) calc(var(--i) * 140ms + .2s) both; }
@keyframes chip-ring {
  from { box-shadow: var(--shadow-1), 0 0 0 0 color-mix(in srgb, var(--green) 55%, transparent); }
  to   { box-shadow: var(--shadow-1), 0 0 0 14px transparent; }
}

/* Telas médias: semana ocupa a largura toda, texto e passos lado a lado acima */
@media (min-width: 960px) and (max-width: 1199px) {
  .plat__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "head steps" "week week";
    grid-template-rows: auto auto;
    row-gap: 28px;
  }
  .plat__head { align-self: start; }
  .plat.is-pinned { padding-block: 88px 28px; }
  .week__grid { grid-template-rows: 28px repeat(3, minmax(70px, auto)); }
}
@media (max-width: 959px) {
  .plat__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "week" "steps";
    grid-template-rows: auto;
    row-gap: 28px;
  }
  .plat.is-flow .step { min-height: 38vh; }
}
@media (max-width: 719px) {
  .week__grid {
    grid-template-columns: 50px repeat(3, minmax(0, 1fr));
    grid-template-rows: 26px repeat(7, minmax(44px, auto));
    gap: 6px;
  }
  .week__day { grid-row: calc(var(--d) + 1); grid-column: 1; padding-left: 0; position: relative; }
  .week__day em { position: absolute; left: 0; top: calc(50% + 10px); }
  .week__turno { grid-row: 1; grid-column: calc(var(--t) + 1); }
  .week__cell { grid-row: calc(var(--d) + 1); grid-column: calc(var(--t) + 1); }
  .chip { grid-row: calc(var(--d) + 1); grid-column: calc(var(--t) + 1) / span var(--span, 1); }
  .chip__body { padding: 6px 8px; gap: 2px; justify-content: center; }
  .chip__type { font-size: 9.5px; }
  .chip__type .icon { display: none; }
  .chip__title { font-size: 12.5px; }
  .plat.is-flow .plat__week { top: 76px; }
}

/* --- Revisão espaçada ----------------------------------------------------- */
.rev { padding-block: clamp(96px, 12vw, 168px); }
.rev__head { max-width: 780px; }
.rev__tool {
  margin-top: clamp(40px, 5vw, 64px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  box-shadow: var(--shadow-1);
  padding: clamp(20px, 3.2vw, 44px);
}
.rev__controls {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 32px; align-items: end;
}
.rev__label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.rev__slider { display: flex; align-items: center; gap: 20px; margin-top: 16px; }
.rev__hits {
  min-width: 2.2ch;
  font-family: var(--font-display); font-weight: 720;
  font-size: 44px; line-height: 1; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.rev__result { display: grid; justify-items: end; gap: 6px; text-align: right; }
.rev__pct, .rev__date { font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.rev__date { color: var(--ink-2); }
.rev__days {
  font-family: var(--font-display); font-weight: 720;
  font-size: clamp(30px, 3.6vw, 48px); line-height: 1.02; letter-spacing: -0.03em;
}
.rev__days b { display: inline-block; color: var(--green-ink); font-variant-numeric: tabular-nums; }

/* Controle deslizante */
.range {
  --p: 85%;
  flex: 1; min-width: 0; height: 32px; margin: 0;
  appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer;
}
.range::-webkit-slider-runnable-track {
  height: 6px; border-radius: var(--r-pill);
  background: linear-gradient(to right, var(--green) var(--p), var(--line-strong) var(--p));
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--green);
  box-shadow: 0 6px 16px -6px rgb(0 122 71 / .6);
  transition: transform .25s var(--ease-pop);
}
.range:active::-webkit-slider-thumb { transform: scale(1.14); }
.range::-moz-range-track { height: 6px; border-radius: var(--r-pill); background: var(--line-strong); }
.range::-moz-range-progress { height: 6px; border-radius: var(--r-pill); background: var(--green); }
.range::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--green);
}
.range:focus-visible { outline: none; }
.range:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--green); outline-offset: 3px; }
.range:focus-visible::-moz-range-thumb { outline: 2px solid var(--green); outline-offset: 3px; }

/* Linha do tempo: as regras SÃO o eixo */
.rev__track {
  position: relative;
  height: 136px; margin: 56px clamp(12px, 3vw, 40px) 0;
}
.rev__line {
  position: absolute; left: 0; right: 0; top: 64px;
  height: 2px; border-radius: 2px; background: var(--line);
}
.rev__line span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--navy));
  transform-origin: left;
}
.rev__tick {
  position: absolute; top: 64px;
  left: calc(var(--x) / 45 * 100%);
  translate: -50% 0;
  display: grid; justify-items: center; gap: 2px;
  padding-top: 18px; text-align: center; white-space: nowrap;
}
.rev__tick::before {
  content: ""; position: absolute; top: -6px; left: 50%; translate: -50% 0;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--line-strong);
  transition: background-color .35s var(--ease-out), border-color .35s var(--ease-out), transform .45s var(--ease-pop);
}
.rev__tick b { font-family: var(--font-mono); font-size: 13px; font-weight: 500; transition: color .35s; }
.rev__tick small { font-size: 12.5px; color: var(--ink-3); }
.rev__tick.is-active::before { background: var(--green); border-color: var(--green); transform: scale(1.25); }
.rev__tick.is-active b { color: var(--green-ink); }
.rev__tick--start { translate: 0 0; justify-items: start; }
.rev__tick--start::before { left: 7px; }
.rev__tick[data-tick="45"] { translate: -100% 0; justify-items: end; }
.rev__tick[data-tick="45"]::before { left: calc(100% - 7px); }

.rev__marker {
  position: absolute; left: calc(30 / 45 * 100%); top: 0;
  width: 0; height: 64px;
}
.rev__pin {
  position: absolute; top: 0; left: 0; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: var(--r-pill);
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 560; white-space: nowrap;
  box-shadow: var(--shadow-1);
}
.rev__pin .icon { width: 14px; height: 14px; }
.rev__stem {
  position: absolute; top: 34px; bottom: 0; left: 0; translate: -50% 0;
  width: 2px; background: var(--ink); border-radius: 2px;
}

.rev__rules {
  list-style: none; margin: 0; padding: 0;
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}

@media (max-width: 719px) {
  .rev__controls { grid-template-columns: 1fr; gap: 20px; }
  .rev__result { justify-items: start; text-align: left; }
  .rev__tick small { display: none; }
  .rev__unit { display: none; }
  .rev__track { height: 104px; margin-inline: 4px; }
  .rev__tick:not(.rev__tick--start):not([data-tick="45"]) b { font-size: 12px; }
  .rev__pin { font-size: 12px; padding: 6px 10px; }
  .rev__rules {
    position: static; width: auto; height: auto; overflow: visible; clip: auto;
    display: grid; gap: 4px; margin-top: 12px;
  }
  .rev__rules li {
    display: flex; justify-content: space-between;
    padding: 10px 12px; border-radius: var(--r-chip);
    font-size: 14px; color: var(--ink-2);
    transition: background-color .35s var(--ease-out), color .35s;
  }
  .rev__rules li b { font-family: var(--font-mono); font-weight: 500; font-size: 13px; }
  .rev__rules li.is-active { background: var(--green-soft); color: var(--ink); }
}

/* --- Evolução (bento) ----------------------------------------------------- */
.evo { padding-block: 0 clamp(96px, 12vw, 168px); }
.evo__head { max-width: 780px; }
.bento {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--r-box);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: clamp(22px, 2.6vw, 34px);
}
.tile__title { margin: 0; font-size: 15px; font-weight: 560; color: var(--ink-2); }
.tile--chart {
  grid-column: 1 / span 7; grid-row: 1 / span 2;
  display: flex; flex-direction: column;
  min-height: 480px;
  background: #0B2B45; border-color: transparent; color: #E6EFEC;
}
.tile--chart .tile__title { color: rgb(230 239 236 / .72); }
.tile__big {
  margin: 10px 0 0; display: flex; align-items: baseline; gap: 12px;
  font-family: var(--font-display); font-weight: 720;
  font-size: clamp(44px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.tile__big small { font-family: var(--font-mono); font-size: 13px; font-weight: 400; letter-spacing: 0; color: rgb(230 239 236 / .6); }
.chart { width: 100%; height: auto; flex: 1; min-height: 200px; margin-top: auto; padding-top: 28px; overflow: visible; }
.chart__grid line { stroke: rgb(255 255 255 / .08); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart__line { stroke: #43C98A; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.chart__months {
  list-style: none; margin: 12px 0 0; padding: 0;
  display: flex; justify-content: space-between;
  font-family: var(--font-mono); font-size: 12px; color: rgb(230 239 236 / .55);
}
.tile__note {
  position: absolute; top: clamp(22px, 2.6vw, 34px); right: clamp(22px, 2.6vw, 34px); margin: 0;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: rgb(230 239 236 / .5);
}

.tile--areas { grid-column: 8 / span 5; grid-row: 1; }
.areas { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.areas li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; row-gap: 8px; column-gap: 12px; }
.areas__name { font-size: 15px; }
.areas b { font-family: var(--font-mono); font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.areas i {
  grid-column: 1 / -1; display: block;
  width: calc(var(--v) * 1%); height: 6px; border-radius: var(--r-pill);
  background: linear-gradient(90deg, var(--teal), var(--green));
  transform-origin: left;
}

.tile--photo {
  grid-column: 8 / span 5; grid-row: 2;
  min-height: 240px; padding: 0; border-color: transparent;
  display: flex; align-items: flex-end;
  color: #F3F7F6;
}
.tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile--photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgb(6 19 30 / .86) 100%);
}
.tile--photo p {
  position: relative; z-index: 1; margin: 0;
  padding: clamp(20px, 2.4vw, 30px);
  font-family: var(--font-display); font-weight: 650;
  font-size: clamp(20px, 1.9vw, 25px); line-height: 1.18; letter-spacing: -0.015em;
  max-width: 24ch;
}

@media (max-width: 899px) {
  .tile--chart, .tile--areas, .tile--photo { grid-column: 1 / -1; grid-row: auto; }
  .tile--chart { min-height: 400px; }
}

/* --- Mentor --------------------------------------------------------------- */
.mentor { padding-block: clamp(80px, 10vw, 144px); overflow: clip; }
.mentor__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px); align-items: center;
}
.mentor__portrait {
  position: relative; width: 100%; max-width: 500px;
  aspect-ratio: 1 / 1.12;
}
.mentor__orb { position: absolute; left: 0; bottom: 0; width: 100%; aspect-ratio: 1; }
/* Retângulo em cima + semicírculo embaixo: a cabeça sai do orbe, o jaleco é cortado por ele */
.mentor__cut {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 0 0 50% 50% / 0 0 44.643% 44.643%;
}
.mentor__cut img {
  position: absolute; left: 50%; top: -4%; translate: -50% 0;
  width: 80%; height: auto;
  filter: drop-shadow(0 30px 40px rgb(1 30 60 / .35));
}
.mentor__role { margin: 18px 0 0; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink); font-weight: 500; max-width: 46ch; }
.mentor__bio { margin: 16px 0 0; color: var(--ink-2); max-width: 54ch; }

.approvals { margin-top: 40px; }
.approvals__label {
  margin: 0 0 14px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3);
}
.approvals ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px;
}
.approvals li {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 680;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.15; letter-spacing: -0.015em;
}
.approvals .icon { width: 24px; height: 24px; color: var(--green-ink); }

@media (max-width: 899px) {
  .mentor__inner { grid-template-columns: 1fr; }
  .mentor__portrait { max-width: 380px; margin-inline: auto; }
}
@media (max-width: 479px) {
  .approvals ul { grid-template-columns: 1fr; }
}

/* --- Método --------------------------------------------------------------- */
.method { padding-block: clamp(80px, 10vw, 144px); }
.method__head { max-width: 780px; }
.pillars { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; }
.pillar {
  display: grid;
  grid-template-columns: 56px minmax(0, 5fr) minmax(0, 6fr);
  align-items: baseline; gap: 8px 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.pillar .icon {
  align-self: center;
  width: 40px; height: 40px; padding: 9px; border-radius: 50%;
  background: var(--green-soft); color: var(--green-ink);
  transition: transform .5s var(--ease-pop), background-color .4s var(--ease-out), color .4s var(--ease-out);
}
.pillar h3 {
  margin: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 2.3vw, 32px); line-height: 1.12; letter-spacing: -0.022em;
  transition: transform .5s var(--ease-out);
}
.pillar p { margin: 0; color: var(--ink-2); max-width: 46ch; }
@media (hover: hover) {
  .pillar:hover .icon { transform: rotate(-8deg) scale(1.08); background: var(--btn-bg); color: #fff; }
  .pillar:hover h3 { transform: translateX(6px); }
}
@media (max-width: 719px) {
  .pillar { grid-template-columns: 48px minmax(0, 1fr); padding: 22px 0; }
  .pillar p { grid-column: 2; }
}

/* --- Depoimentos ---------------------------------------------------------- */
.quotes { padding-block: clamp(64px, 8vw, 120px); }
.quotes__track {
  list-style: none; margin: 40px 0 0;
  padding: 4px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 16px;
  display: grid; grid-auto-flow: column; grid-auto-columns: min(440px, 84vw);
  gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width: thin;
}
.quote {
  scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 28px; border-radius: var(--r-box);
  background: var(--surface); border: 1px solid var(--line);
}
.quote blockquote { margin: 0; font-size: 17px; line-height: 1.55; }
.quote__who { display: flex; align-items: center; gap: 12px; }
.quote__who img, .quote__initial {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none;
}
.quote__initial {
  display: grid; place-items: center;
  background: var(--orb); color: #fff; font-weight: 650;
}
.quote__who b { display: block; font-weight: 600; }
.quote__who small { color: var(--ink-3); font-size: 14px; }

/* --- Planos --------------------------------------------------------------- */
.plans { padding-block: clamp(80px, 10vw, 144px); }
.plans__grid {
  margin-top: clamp(40px, 5vw, 56px);
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}
.plan {
  position: relative;
  display: flex; flex-direction: column; gap: 32px;
  padding: clamp(24px, 3vw, 44px);
  border-radius: var(--r-box);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-1);
}
.plan--featured { border-color: color-mix(in srgb, var(--green) 55%, transparent); box-shadow: var(--shadow-2); }
.plan__main { display: flex; flex-direction: column; align-items: flex-start; }
.plan__badge {
  margin-bottom: 16px; padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--green-soft); color: var(--green-ink);
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
}
.plan__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 720;
  font-size: clamp(26px, 2.7vw, 36px); line-height: 1.1; letter-spacing: -0.025em;
}
.plan__sub { margin: 8px 0 0; color: var(--ink-2); font-size: 17px; }
.plan__price { margin-top: 28px; }
.plan__from { font-size: 14px; color: var(--ink-3); }
.plan__value {
  margin: 4px 0 0; display: flex; align-items: baseline; gap: 6px;
  font-family: var(--font-display); font-weight: 740;
  letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.plan__times, .plan__currency { font-size: 24px; color: var(--ink-2); }
.plan__times { margin-right: 4px; }
.plan__int { font-size: clamp(56px, 6vw, 76px); }
.plan__cents { font-size: 30px; margin-left: -6px; }
.plan__total { display: block; margin-top: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-3); }
.plan__cta { margin-top: 32px; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; }
.plan__list .icon { width: 22px; height: 22px; margin-top: 1px; color: var(--green-ink); }

@media (min-width: 900px) {
  .plans__grid--single .plan {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px); align-items: center;
  }
  .plans__grid--single .plan__list {
    padding-left: clamp(24px, 4vw, 56px);
    border-left: 1px solid var(--line);
    font-size: 17px;
  }
}

/* --- Chamada final (o orbe abre como um portal) -------------------------- */
.final {
  position: relative; isolation: isolate; overflow: clip;
  padding-block: clamp(120px, 16vw, 220px);
  color: #F3F7F6; text-align: center;
}
.final__orb {
  position: absolute; inset: 0; z-index: -1;
  border-radius: 0;
  clip-path: circle(80% at 50% 50%);
}
.final__orb::after { background: radial-gradient(circle at 50% 30%, rgb(255 255 255 / .16), transparent 55%); }
.final__inner { display: grid; justify-items: center; }
.final__title {
  margin: 0;
  font-family: var(--font-display); font-weight: 760;
  font-size: clamp(42px, 6.6vw, 100px); line-height: 1.04; letter-spacing: -0.028em; word-spacing: .04em;
  text-wrap: balance;
}
.final__lede { margin: 22px 0 36px; font-size: clamp(17px, 1.6vw, 21px); color: rgb(243 247 246 / .86); max-width: 40ch; text-wrap: balance; }
.final .btn--primary {
  background: #F3F7F6; color: #0A1F33;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / .5);
}
.final .btn--primary::before { background: #FFFFFF; }

/* --- Rodapé --------------------------------------------------------------- */
.footer { padding-block: 48px 40px; }
.footer__inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px;
}
.footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: center; }
.footer__links a {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 500;
  transition: color .3s var(--ease-out);
}
.footer__links a:hover { color: var(--ink); }
.footer__copy { margin: 0; font-size: 13px; color: var(--ink-3); }
@media (max-width: 899px) {
  .footer__inner { grid-template-columns: 1fr; justify-items: start; }
  .footer__links { justify-content: flex-start; }
}

/* --- WhatsApp ------------------------------------------------------------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--btn-bg); color: #fff;
  box-shadow: 0 14px 30px -12px rgb(0 122 71 / .7);
  transition: transform .4s var(--ease-pop), background-color .3s;
}
.wa .icon { width: 28px; height: 28px; }
.wa:hover { transform: scale(1.08); background: var(--btn-bg-hover); }

/* --- Pré-inscrição (dialog nativo) --------------------------------------- */
.modal {
  width: min(480px, calc(100vw - 32px));
  max-width: none; padding: 0; border: 0;
  background: transparent; color: var(--ink);
  opacity: 1; transform: none;
  transition: opacity .3s var(--ease-out), transform .45s var(--ease-pop), overlay .3s allow-discrete, display .3s allow-discrete;
}
.modal:not([open]) { opacity: 0; transform: translateY(6px) scale(.97); }
@starting-style {
  .modal[open] { opacity: 0; transform: translateY(10px) scale(.95); }
}
.modal::backdrop {
  background: rgb(6 19 30 / .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: opacity .3s var(--ease-out), overlay .3s allow-discrete, display .3s allow-discrete;
}
@starting-style { .modal[open]::backdrop { opacity: 0; } }
.modal__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-box);
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 4vw, 32px);
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal__title { margin: 0; font-family: var(--font-display); font-weight: 720; font-size: 28px; letter-spacing: -0.025em; }
.modal__plan { margin: 4px 0 0; color: var(--ink-2); }
.modal__close {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  transition: background-color .3s var(--ease-out);
}
.modal__close:hover { background: var(--surface-2); }
.modal__fields { display: grid; gap: 18px; margin-top: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 560; }
.field input, .field select {
  width: 100%; padding: 13px 14px;
  border-radius: var(--r-chip);
  border: 1px solid var(--line-strong);
  background: var(--bg); color: var(--ink);
  font-size: 16px;
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.field input:focus-visible, .field select:focus-visible { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
.field input:user-invalid { border-color: var(--late); }
.field small { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-3); }
.modal__note { margin: 20px 0 0; font-size: 14px; color: var(--ink-2); }
.modal__foot { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* --- Estados iniciais das animações (somente com JS e movimento liberado) -- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__title,
  .js .hero [data-intro],
  .js .hero__orb,
  .js .chip[data-chip] .chip__body,
  .js [data-split],
  .js [data-reveal],
  .js [data-final-reveal],
  .js .wa { opacity: 0; }
}
