/* Stênio Ponte · Mentorias em Saúde
   Sistema visual das páginas (uma família tipográfica, duas larguras; tinta azul-noite, papel e ouro).
   Mobile primeiro. */

@layer base, layout, comp, util;

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@view-transition { navigation: auto; }

@layer base {
  :root {
    --noite: #0d0e12;
    --noite-2: #161a26;
    --papel: #f3f3ef;
    --papel-2: #e8e9e3;
    --tinta: #0e1628;
    --tinta-2: #48505f;
    --ouro: #cdae6b;
    --ouro-claro: #e2c98f;
    --ouro-tinta: #775614;
    --claro: #eef0f4;
    --claro-2: #a9b1c2;
    --fio: rgb(14 22 40 / .16);
    --fio-claro: rgb(238 240 244 / .18);

    --fonte: "Archivo", "Arial Narrow", Arial, system-ui, sans-serif;
    --margem: clamp(20px, 5.2vw, 56px);
    --secao: clamp(72px, 11vw, 144px);
    --largura: 1240px;
    --raio: 4px;
    --suave: cubic-bezier(.22, .8, .24, 1);
  }

  *, *::before, *::after { box-sizing: border-box; }
  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 88px;
    color-scheme: light;
  }
  body {
    margin: 0;
    font-family: var(--fonte);
    font-size: 1.0625rem;
    line-height: 1.6;
    font-stretch: 100%;
    color: var(--tinta);
    background: var(--noite);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  html { background: var(--noite); }
  main { background: var(--papel); }
  h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; padding: 0; }
  ul, ol { list-style: none; }
  img, picture, video, svg { display: block; max-width: 100%; }
  img, video { height: auto; }
  a { color: inherit; }
  button, input { font: inherit; color: inherit; }

  h1, h2, h3 { text-wrap: balance; }
  p, li, dd, td { text-wrap: pretty; }

  :focus-visible {
    outline: 3px solid var(--ouro);
    outline-offset: 3px;
    border-radius: 2px;
  }
  ::selection { background: var(--ouro); color: var(--tinta); }

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

@layer layout {
  .wrap {
    width: 100%;
    max-width: calc(var(--largura) + 2 * var(--margem));
    margin-inline: auto;
    padding-inline: var(--margem);
  }
  .sec { padding-block: var(--secao); }
  .sec-2 { background: var(--papel-2); }
  .sec-noite { background: var(--noite); color: var(--claro); }

  .titulo {
    font-stretch: 74%;
    font-weight: 680;
    font-size: clamp(2rem, 1.2rem + 3.9vw, 3.75rem);
    line-height: 1.02;
    letter-spacing: -.012em;
  }
  .lead {
    font-size: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
    line-height: 1.5;
    color: var(--tinta-2);
    max-width: 46ch;
  }
  .sec-noite .lead { color: var(--claro-2); }
}

@layer comp {
  /* ---------- pular para o conteúdo ---------- */
  .pular {
    position: absolute; left: 12px; top: -80px; z-index: 100;
    padding: 12px 18px; background: var(--ouro); color: var(--tinta);
    font-weight: 650; text-decoration: none; border-radius: var(--raio);
  }
  .pular:focus { top: 12px; }

  /* ---------- botões ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6em;
    min-height: 56px; padding: .7em 1.35em;
    font-stretch: 86%; font-weight: 650; font-size: 1.0625rem; line-height: 1.15;
    text-decoration: none; text-align: center;
    border: 0; border-radius: var(--raio); cursor: pointer;
    touch-action: manipulation; -webkit-tap-highlight-color: transparent;
    transition: background-color .18s var(--suave), transform .18s var(--suave);
  }
  .btn svg { flex: none; width: 1.05em; height: 1.05em; transition: transform .22s var(--suave); }
  .btn:hover svg { transform: translateX(4px); }
  .btn:active { transform: translateY(1px); }
  .btn-ouro { background: var(--ouro); color: var(--tinta); }
  .btn-ouro:hover { background: var(--ouro-claro); }
  .btn-tinta { background: var(--tinta); color: var(--claro); }
  .btn-tinta:hover { background: #1c2233; }
  .btn-compacto { min-height: 44px; padding: .5em 1em; font-size: .9375rem; }
  .btn[disabled] { opacity: .6; cursor: progress; }
  @media (max-width: 389.98px) {
    .btn { font-size: 1rem; padding-inline: .85em; gap: .45em; }
  }

  .link-seta {
    display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
    font-stretch: 86%; font-weight: 650; text-decoration: underline;
    text-decoration-color: var(--ouro); text-decoration-thickness: 2px; text-underline-offset: .28em;
  }
  .link-seta svg { width: 1em; height: 1em; transition: transform .22s var(--suave); }
  .link-seta:hover svg { transform: translateX(4px); }

  /* ---------- topo ---------- */
  .topo {
    position: absolute; inset: 0 0 auto 0; z-index: 40;
    color: var(--claro);
  }
  .topo-in {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 68px;
  }
  .marca {
    display: inline-flex; align-items: center; gap: 12px; min-height: 44px;
    text-decoration: none; line-height: 1.05;
  }
  .marca img { width: 30px; height: auto; }
  .marca-nome { font-stretch: 80%; font-weight: 650; font-size: 1.125rem; letter-spacing: .005em; }
  .marca-sub { display: block; font-stretch: 100%; font-weight: 400; font-size: .75rem; color: var(--claro-2); letter-spacing: .02em; margin-top: 3px; }
  .topo-nav { display: none; }
  .topo .btn { display: none; }

  @media (min-width: 900px) {
    .topo {
      position: fixed;
      transition: background-color .3s var(--suave), box-shadow .3s var(--suave);
    }
    /* depois da abertura a barra vira uma faixa propria: fundo cheio, sombra e fio de leitura */
    .topo.fixado {
      background: var(--noite);
      box-shadow: 0 1px 0 rgb(238 240 244 / .12), 0 18px 36px -20px rgb(13 14 18 / .7);
    }
    @supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
      .topo.fixado {
        background: rgb(13 14 18 / .93);
        -webkit-backdrop-filter: blur(16px) saturate(1.4);
        backdrop-filter: blur(16px) saturate(1.4);
      }
    }
    .topo::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
      background: var(--ouro); transform-origin: 0 50%; transform: scaleX(0); opacity: 0;
      transition: opacity .3s var(--suave);
    }
    .topo.fixado::after { opacity: 1; }
    .topo-in { min-height: 72px; }
    .topo-nav { display: flex; gap: clamp(14px, 2.2vw, 32px); margin-left: auto; }
    .topo-nav a {
      position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px;
      font-size: .9375rem; text-decoration: none; color: var(--claro-2);
      transition: color .18s var(--suave);
    }
    .topo-nav a::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--ouro);
      transform: scaleX(0); transform-origin: 0 50%; transition: transform .25s var(--suave);
    }
    .topo-nav a:hover, .topo-nav a[aria-current="true"] { color: var(--claro); }
    .topo-nav a[aria-current="true"]::after { transform: scaleX(1); }
    .topo .btn { display: inline-flex; }
  }
  @supports (animation-timeline: scroll()) {
    @media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
      .topo::after { animation: le linear both; animation-timeline: scroll(root block); }
    }
  }
  @keyframes le { to { transform: scaleX(1); } }
  .topo-marco { position: absolute; top: 0; left: 0; width: 1px; height: 96px; pointer-events: none; }

  /* ---------- abertura: capa ----------
     Celular: a primeira tela e o rosto dele, o titulo e o botao. O texto de apoio vem logo abaixo.
     Desktop: texto a esquerda e o retrato grande a direita, encostado na base.
     A foto entra com as cores dela; o fundo escuro do estudio some no fundo da pagina (lighten). */
  .abre {
    position: relative; isolation: isolate; overflow: clip;
    background: var(--noite); color: var(--claro);
  }
  .abre-foto {
    --w: 100vw; --h: min(122vw, 620px);
    position: absolute; z-index: -1; top: 0; right: 0; width: var(--w); height: var(--h); margin: 0;
  }
  .abre-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; mix-blend-mode: lighten; }
  /* o corpo some no escuro abaixo dos ombros: e ali que o titulo se apoia */
  .abre-foto::after {
    content: ""; position: absolute; inset: 62vw -1px -1px -1px; pointer-events: none;
    background: linear-gradient(transparent, var(--noite) 86%);
  }
  .abre-in { position: relative; }
  .abre-capa {
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: max(100svh, 540px); padding-bottom: 22px;
  }
  /* garante fundo escuro atras do texto em qualquer altura de tela */
  .abre-txt {
    margin-inline: calc(-1 * var(--margem)); padding: 76px var(--margem) 0;
    background: linear-gradient(transparent, var(--noite) 72px);
  }
  .abre-sobre { font-size: .9375rem; line-height: 1.35; color: var(--ouro); max-width: 30ch; margin-bottom: 14px; }
  .abre h1 {
    font-stretch: 68%; font-weight: 720; line-height: .96; letter-spacing: -.014em;
    font-size: clamp(2.25rem, min(1.05rem + 6.6vw, 6.4svh), 4.5rem);
  }
  .h1-a { display: block; color: #8f98ad; }
  .h1-b { display: block; margin-top: .14em; }
  .abre-cta { margin-top: 22px; width: 100%; }
  .abre-resto { display: grid; gap: 20px; padding: 26px 0 48px; }
  .abre-sub { max-width: 46ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.1875rem); line-height: 1.55; color: var(--claro-2); }
  .abre-quem { padding-top: 16px; border-top: 1px solid var(--fio-claro); font-size: .875rem; line-height: 1.45; color: var(--claro-2); }
  .abre-quem strong { display: block; font-stretch: 80%; font-weight: 650; font-size: 1.0625rem; color: var(--claro); }

  @media (min-width: 600px) {
    .abre-foto { --w: min(100vw, 520px); --h: min(64svh, 620px); }
    .abre-foto::after { inset: 46% -1px -1px -1px; }
    /* a esquerda da foto, uma faixa repete o tom da borda da propria foto e some aos poucos */
    .abre-foto::before {
      content: ""; position: absolute; top: 0; height: 100%; right: calc(100% - 1px); width: 95%;
      pointer-events: none; mix-blend-mode: lighten;
      background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAFACAIAAADyBIGjAAAAx0lEQVR42p2SSRbDIAxDJa/T+x9XXRDiIXby2gUPsL8nAY7jYwCMgAEwgOvOfF8MDcwsAQODHzCQzjDEx3Pxe54mJ4f6uw49xpnIhvPJkmxY33mrGfZLn+68NZjYzu+6VL7T7qdFGIT/Yh+WpN4OpXpvd0CnveQaez75IeeyK+9aTLbpqnnNIs8lFFs9757VzB/9keGDptq80hxe596vUr+RUY7fc+/8qr1Gm8c9vnXRor5Z1MxrV254+1s/8z+oWs3/RN0f/gKMPoOUB4SNDAAAAABJRU5ErkJggg==") 0 0 / 100% calc(var(--w) * 1423 / 855) no-repeat;
      -webkit-mask-image: linear-gradient(to left, #000, rgb(0 0 0 / .62) 28%, rgb(0 0 0 / .22) 62%, transparent);
      mask-image: linear-gradient(to left, #000, rgb(0 0 0 / .62) 28%, rgb(0 0 0 / .22) 62%, transparent);
    }
    .abre-cta { width: auto; align-self: flex-start; }
  }

  @media (min-width: 900px) {
    .abre {
      --h: min(84svh, 800px, 68vw);
      --w: calc(var(--h) * 855 / 1423);
    }
    .abre-foto {
      --h: inherit; --w: inherit;
      top: auto; bottom: 0; right: max(0px, calc((100vw - var(--largura)) / 2 - var(--margem)));
      width: var(--w); height: var(--h);
    }
    /* so os ultimos 6% da direita somem no fundo: e a ponta do cotovelo, que a foto original corta */
    .abre-foto img {
      -webkit-mask-image: linear-gradient(to right, #000 94%, transparent);
      mask-image: linear-gradient(to right, #000 94%, transparent);
    }
    .abre-foto::after { inset: 72% 0 0 0; background: linear-gradient(transparent, rgb(13 14 18 / .88)); }
    .abre-in {
      display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-rows: 1fr auto auto auto auto;
      column-gap: clamp(24px, 4vw, 64px); min-height: min(100svh, 920px); padding-top: 104px;
    }
    .abre-capa, .abre-txt, .abre-resto { display: contents; }
    .abre-sobre { grid-area: 2 / 1; max-width: none; margin-bottom: 18px; }
    .abre h1 { grid-area: 3 / 1; font-size: clamp(2.625rem, min(1.05rem + 6.6vw, 9.3svh), 5.625rem); }
    .abre-sub { grid-area: 4 / 1; margin-top: 24px; max-width: 50ch; }
    .abre-cta { grid-area: 5 / 1; justify-self: start; margin-top: 28px; margin-bottom: clamp(36px, 6svh, 80px); }
    .abre-quem {
      position: absolute; right: 0; bottom: 30px; width: var(--w); padding: 0 20px; border: 0;
    }
  }

  /* ---------- empresas do grupo: faixa unica, com as marcas passando ---------- */
  .grupo {
    position: relative; background: var(--noite); border-top: 1px solid var(--fio-claro); padding-block: 28px; overflow: hidden;
  }
  /* as marcas somem no escuro nas duas pontas, em vez de serem cortadas na borda */
  .grupo::before, .grupo::after {
    content: ""; position: absolute; top: 1px; bottom: 0; width: clamp(36px, 9vw, 150px); z-index: 1; pointer-events: none;
  }
  .grupo::before { left: 0; background: linear-gradient(90deg, var(--noite), transparent); }
  .grupo::after { right: 0; background: linear-gradient(270deg, var(--noite), transparent); }
  .grupo-faixa { display: flex; width: max-content; animation: passa 54s linear infinite; }
  .grupo-lista { flex: none; display: flex; align-items: center; gap: 56px; padding-right: 56px; }
  .grupo-lista li { flex: none; }
  .grupo-lista img { max-width: none; opacity: .86; }
  @keyframes passa { to { transform: translateX(calc(-100% / 3)); } }
  @media (hover: hover) { .grupo:hover .grupo-faixa { animation-play-state: paused; } }
  @media (min-width: 700px) {
    .grupo { padding-block: 34px; }
    .grupo-lista { gap: 76px; padding-right: 76px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .grupo::before, .grupo::after { content: none; }
    .grupo-faixa { animation: none; width: auto; display: block; }
    .grupo-lista { flex-wrap: wrap; justify-content: center; gap: 26px 44px; padding-inline: var(--margem); }
    .grupo-lista[aria-hidden] { display: none; }
  }

  /* ---------- sintomas ---------- */
  .triagem-in { display: grid; gap: 28px; }
  .triagem-dica {
    margin-top: 18px; font-size: .9375rem; color: var(--tinta-2);
    display: flex; align-items: center; gap: 10px;
  }
  .triagem-dica svg { flex: none; width: 20px; height: 20px; color: var(--ouro-tinta); }

  .sintomas { border-top: 1px solid var(--fio); }
  .sintoma {
    position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 16px; row-gap: 6px;
    padding: 22px 0 22px 0; border-bottom: 1px solid var(--fio);
    cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    transition: background-color .2s var(--suave);
  }
  .sintoma input {
    position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer;
  }
  .sintoma-cx {
    grid-row: 1 / 3; margin-top: 2px;
    width: 28px; height: 28px; border: 2px solid var(--tinta); border-radius: 3px;
    display: grid; place-items: center; background: transparent;
    transition: background-color .16s var(--suave), border-color .16s var(--suave);
  }
  .sintoma-cx svg { width: 18px; height: 18px; color: var(--ouro); opacity: 0; transition: opacity .12s var(--suave); }
  .sintoma-t {
    font-stretch: 80%; font-weight: 680; font-size: clamp(1.25rem, 1.1rem + .7vw, 1.5rem); line-height: 1.15;
  }
  .sintoma-d { grid-column: 2; color: var(--tinta-2); max-width: 52ch; }
  .sintoma:has(input:checked) { background: linear-gradient(90deg, rgb(205 174 107 / .2), transparent 70%); }
  .sintoma:has(input:checked) .sintoma-cx { background: var(--tinta); }
  .sintoma:has(input:checked) .sintoma-cx svg { opacity: 1; }
  .sintoma:has(input:focus-visible) { outline: 3px solid var(--ouro-tinta); outline-offset: 2px; }
  @media (hover: hover) { .sintoma:hover .sintoma-cx { border-color: var(--ouro-tinta); } }

  /* painel: uma luz por sintoma, acende quando a pessoa marca */
  .triagem-res { display: grid; gap: 16px; }
  .painel-t { font-size: .8125rem; font-weight: 600; color: var(--tinta-2); margin-bottom: -6px; }
  .painel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .painel li {
    position: relative; display: flex; align-items: center; min-height: 46px; padding: 0 10px 0 30px;
    border: 1px solid var(--fio); border-radius: 3px;
    font-size: .875rem; font-weight: 600; line-height: 1.1; color: var(--tinta-2);
    transition: background-color .28s var(--suave), color .28s var(--suave), border-color .28s var(--suave);
  }
  .painel li::before {
    content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%;
    background: rgb(14 22 40 / .22); transition: background-color .28s var(--suave), box-shadow .28s var(--suave);
  }
  .painel li.aceso { background: var(--noite); border-color: var(--noite); color: var(--claro); }
  .painel li.aceso::before { background: var(--ouro); box-shadow: 0 0 0 4px rgb(205 174 107 / .24); }
  .triagem-conta { display: flex; align-items: baseline; gap: 14px; margin-top: 6px; }
  .triagem-n {
    font-stretch: 62%; font-weight: 740; font-size: 4.25rem; line-height: .8;
    font-variant-numeric: tabular-nums; letter-spacing: -.01em;
  }
  .triagem-n { flex: none; white-space: nowrap; }
  .triagem-n span { display: inline-block; }
  .triagem-n small { font-size: .45em; font-weight: 600; color: var(--tinta-2); }
  .triagem-msg { color: var(--tinta-2); max-width: 30ch; line-height: 1.4; }
  .triagem-res .btn { width: 100%; }

  @media (min-width: 480px) { .painel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 900px) {
    .triagem-in {
      grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
      grid-template-rows: auto auto 1fr;
      column-gap: clamp(40px, 6vw, 96px); row-gap: 0;
    }
    .triagem-in > .titulo { grid-area: 1 / 1 / 2 / 3; max-width: 22ch; margin-bottom: 56px; }
    .triagem-intro { grid-area: 2 / 1; }
    .sintomas { grid-area: 2 / 2 / 4 / 3; }
    /* o painel acompanha a leitura da lista */
    .triagem-res { grid-area: 3 / 1; align-self: start; position: sticky; top: 100px; padding-top: 36px; }
    .triagem-res .btn { width: auto; justify-self: start; }
    .sintoma { padding: 26px 18px 26px 14px; }
  }

  /* ---------- a conta: cartaz tipografico ---------- */
  .conta-cab { max-width: 20ch; }
  .razao {
    margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 2px solid var(--tinta);
  }
  .razao > div { display: grid; align-content: start; gap: 8px; padding: 20px 0 24px; border-bottom: 1px solid var(--fio); }
  .razao > div:nth-child(2) { padding-right: 14px; }
  .razao > div:nth-child(3) { padding-left: 16px; border-left: 1px solid var(--fio); }
  .razao .r-um, .razao .r-larga { grid-column: 1 / -1; }
  .razao dd {
    order: -1; font-stretch: 62%; font-weight: 740; line-height: .84;
    font-size: clamp(4rem, 2.4rem + 8vw, 6.5rem);
    font-variant-numeric: tabular-nums; letter-spacing: -.014em;
  }
  .razao .r-um dd { font-size: clamp(10rem, 52vw, 15rem); line-height: .76; margin-left: -.035em; }
  .razao dd .un { font-size: .34em; font-weight: 650; font-stretch: 80%; letter-spacing: 0; margin-inline: .12em; }
  .razao dt { color: var(--tinta-2); max-width: 32ch; line-height: 1.4; text-wrap: balance; }
  .razao .r-um dt { font-size: 1.125rem; color: var(--tinta); font-weight: 550; }

  @media (min-width: 900px) {
    .conta { padding-bottom: calc(var(--secao) + 120px); }
    .razao {
      margin-top: 64px;
      grid-template-columns: minmax(0, 5fr) minmax(0, 3.5fr) minmax(0, 3.5fr);
      grid-template-rows: auto auto;
    }
    .razao > div, .razao > div:nth-child(2), .razao > div:nth-child(3) {
      padding: 30px 12px 34px clamp(20px, 2.6vw, 36px); border-left: 1px solid var(--fio);
    }
    .razao .r-larga { grid-column: auto; }
    .razao .r-um { grid-column: 1; grid-row: 1 / 3; align-content: end; padding: 30px 28px 34px 0; border-left: 0; }
    .razao .r-um dd { font-size: clamp(15rem, 27vw, 23rem); line-height: .74; }
    .razao .r-um dt { font-size: 1.3125rem; }
    .razao dd { font-size: clamp(4.5rem, 7.6vw, 7rem); }
  }

  /* ---------- manifesto: a frase dele, do tamanho da tela ---------- */
  .manifesto { position: relative; background: var(--noite); color: var(--claro); padding-block: clamp(56px, 9vw, 128px); }
  .manifesto-in { display: grid; gap: 30px; }
  .manifesto-txt { margin: 0; }
  .manifesto-pre { font-size: clamp(1.125rem, 1rem + .7vw, 1.625rem); line-height: 1.3; color: var(--claro-2); margin-bottom: .7em; }
  .manifesto-frase {
    font-stretch: 62%; font-weight: 740; line-height: .88; letter-spacing: -.018em;
    font-size: clamp(3rem, 13vw, 5rem); text-wrap: balance;
  }
  .manifesto-foto { order: -1; }
  .manifesto-foto img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 50% 10%; border-radius: var(--raio); }

  @media (min-width: 760px) {
    .manifesto-in {
      grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); column-gap: clamp(32px, 5vw, 88px); align-items: end;
    }
    .manifesto-frase { font-size: clamp(3.25rem, 5vw, 5.25rem); line-height: .96; max-width: 20ch; }
    .manifesto-foto { order: 0; }
    .manifesto-foto img { aspect-ratio: 3 / 4.5; object-position: 50% 0; }
  }
  @media (min-width: 900px) {
    /* a foto sobe e invade a secao clara de cima: quebra a linha reta entre as duas */
    .manifesto-foto { align-self: end; margin-top: calc(-1 * clamp(56px, 9vw, 128px) - 150px); }
    .manifesto-foto img { aspect-ratio: 1 / 2; box-shadow: 0 40px 80px -40px rgb(13 14 18 / .7); }
  }

  /* ---------- qual jogo ---------- */
  .jogo-cab { margin-bottom: 32px; }
  .jogo-par { display: grid; gap: 14px; }
  .jogo-lado { border-radius: var(--raio); }
  .jogo-lado h3 { font-stretch: 76%; font-weight: 680; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.08; }
  .jogo-lado li { position: relative; padding: 16px 0 16px 34px; line-height: 1.4; }
  .jogo-lado li::before { content: ""; position: absolute; left: 2px; top: 1.45em; }
  .jogo-op { padding: 8px 0 12px; color: var(--tinta-2); }
  .jogo-op h3 { color: var(--tinta-2); padding-bottom: 14px; border-bottom: 2px solid var(--tinta); }
  .jogo-op li { border-bottom: 1px solid var(--fio); }
  .jogo-op li::before { width: 14px; height: 2px; background: var(--tinta-2); opacity: .55; }
  .jogo-emp { background: var(--noite); color: var(--claro); padding: 26px 22px 14px; }
  .jogo-emp h3 { padding-bottom: 14px; border-bottom: 2px solid var(--ouro); }
  .jogo-emp li { border-bottom: 1px solid var(--fio-claro); font-weight: 550; font-size: 1.125rem; }
  .jogo-emp li:last-child, .jogo-op li:last-child { border-bottom: 0; }
  .jogo-emp li::before { top: 1.1em; width: 16px; height: 9px; border-left: 2.5px solid var(--ouro); border-bottom: 2.5px solid var(--ouro); transform: rotate(-45deg); }
  .jogo-fim { margin-top: 28px; }

  @media (min-width: 760px) {
    .jogo-cab { margin-bottom: 48px; }
    .jogo-par { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: repeat(6, auto); gap: 0; }
    .jogo-lado { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; padding: 36px clamp(24px, 3.4vw, 48px) 22px; }
    .jogo-lado ul { display: contents; }
    .jogo-lado li { display: flex; align-items: center; padding-block: 20px; }
    .jogo-lado li::before { top: 50%; margin-top: -1px; }
    .jogo-emp li::before { margin-top: -8px; }
    .jogo-op { padding-left: 0; }
    .jogo-emp { box-shadow: 0 30px 60px -34px rgb(13 14 18 / .65); }
    .jogo-emp li { font-size: 1.1875rem; }
  }

  /* ---------- método: uma ponte de tres vaos ---------- */
  .metodo-cab { margin-bottom: 44px; max-width: 22ch; }
  .fases-wrap { position: relative; }
  .ponte { display: none; }
  .fases { position: relative; display: grid; gap: 36px; padding-left: 34px; }
  .fases::before, .fases::after {
    content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px;
    background: var(--fio);
  }
  .fases::after { background: var(--ouro-tinta); transform-origin: 0 0; }
  .fase { position: relative; }
  .fase::before {
    content: ""; position: absolute; left: -34px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
    background: var(--papel-2); border: 2px solid var(--ouro-tinta); z-index: 1;
  }
  .fase-quando {
    font-stretch: 80%; font-weight: 650; font-size: 1rem; color: var(--ouro-tinta);
    font-variant-numeric: tabular-nums;
  }
  .fase h3 {
    margin: 4px 0 10px;
    font-stretch: 76%; font-weight: 680; font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem); line-height: 1.08;
  }
  .fase p:last-child { color: var(--tinta-2); max-width: 44ch; }

  @media (min-width: 900px) {
    .metodo-cab { margin-bottom: 40px; }
    .ponte { display: block; position: absolute; inset: 0 0 auto 0; width: 100%; height: 150px; overflow: visible; }
    .ponte path { fill: none; vector-effect: non-scaling-stroke; }
    .ponte .p-arco { stroke: var(--ouro-tinta); stroke-width: 2; }
    .ponte .p-tab { stroke: var(--tinta); stroke-width: 2; }
    .ponte .p-pend { stroke: var(--ouro-tinta); stroke-width: 1; opacity: .45; }
    .fases { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 190px 0 0; }
    .fases::before, .fases::after { content: none; }
    .fase { padding-right: clamp(28px, 4vw, 64px); }
    .fase::before { left: -8px; top: -64px; }
  }
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .fases::after { animation: cresce linear both; animation-timeline: view(); animation-range: entry 30% cover 62%; }
      .ponte .p-arco, .ponte .p-tab {
        stroke-dasharray: 1; animation: desenha linear both; animation-timeline: view(); animation-range: entry 35% cover 46%;
      }
    }
  }
  @keyframes cresce { from { transform: scaleY(0); } }
  @keyframes desenha { from { stroke-dashoffset: 1; } }

  /* ---------- lista com fio (usada em "por dentro" e no curriculo) ---------- */
  .lista-fio li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--fio); }
  .lista-fio li:first-child { border-top: 1px solid var(--fio); }
  .lista-fio li::before {
    content: ""; position: absolute; left: 2px; top: 1.42em; width: 14px; height: 2px; background: var(--ouro-tinta);
  }

  /* ---------- por dentro do grupo ---------- */
  .dentro-cab { display: grid; gap: 20px; }
  .dentro-cab .titulo { max-width: 17ch; }
  .dentro-num { display: grid; justify-items: start; margin-top: 16px; padding-top: 22px; border-top: 2px solid var(--tinta); }
  .dentro-num small { font-size: 1.0625rem; color: var(--tinta-2); }
  .dentro-num span {
    font-stretch: 62%; font-weight: 740; font-size: clamp(6rem, 30vw, 8.5rem); line-height: .86;
    letter-spacing: -.014em; font-variant-numeric: tabular-nums; margin-left: -.03em;
  }
  .dentro-num em { font-style: normal; margin-top: 10px; font-size: 1.125rem; font-weight: 550; }
  .dentro-cols { margin-top: 52px; display: grid; gap: 40px; }
  .dentro-cols h3 { font-stretch: 78%; font-weight: 680; font-size: 1.5rem; line-height: 1.12; margin-bottom: 14px; }
  .dentro-cols li { color: var(--tinta-2); }
  .dentro-nota { margin-top: 48px; padding-left: 20px; border-left: 3px solid var(--ouro-tinta); }
  .dentro-nota p {
    font-stretch: 86%; font-weight: 550; font-size: clamp(1.25rem, 1.05rem + .9vw, 1.625rem); line-height: 1.32;
    max-width: 32ch; text-wrap: balance;
  }
  .dentro-nota footer { margin-top: 10px; font-size: .9375rem; color: var(--tinta-2); }
  @media (min-width: 900px) {
    .dentro-cab { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
    .dentro-cab .titulo, .dentro-cab .lead { grid-column: 1; }
    .dentro-num { grid-column: 2; grid-row: 1 / 3; margin-top: 0; }
    .dentro-num span { font-size: clamp(8rem, 13vw, 11.5rem); }
    .dentro-cols { margin-top: 80px; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(28px, 4vw, 64px); }
    .dentro-nota { margin-top: 64px; }
  }

  /* ---------- programa: o ano em doze encontros ---------- */
  .programa-cab { display: grid; gap: 22px; }
  .programa-cab .titulo { max-width: 17ch; }
  .programa-cab .lead { max-width: 52ch; }

  .pecas { margin-top: 44px; display: grid; border-top: 2px solid var(--ouro); }
  .peca {
    display: grid; grid-template-columns: 3.9rem minmax(0, 1fr); column-gap: 18px; align-items: start;
    padding: 26px 0 28px; border-bottom: 1px solid var(--fio-claro);
  }
  .peca-n {
    grid-row: 1 / 3; font-stretch: 62%; font-weight: 740; font-size: 6.25rem; line-height: .78;
    color: var(--ouro); font-variant-numeric: tabular-nums;
  }
  .peca h3 { font-stretch: 78%; font-weight: 680; font-size: 1.5rem; line-height: 1.1; }
  .peca p { grid-column: 2; margin-top: 10px; color: var(--claro-2); max-width: 42ch; }

  .ano { margin-top: 56px; }
  .ano-t { font-stretch: 80%; font-weight: 650; font-size: 1.125rem; margin-bottom: 18px; }
  .ano-lista { position: relative; display: grid; padding-left: 30px; }
  .ano-lista::before {
    content: ""; position: absolute; left: 6px; top: 16px; bottom: 16px; width: 2px; background: var(--fio-claro);
  }
  .ano-item { position: relative; padding: 9px 0; }
  .ano-tx { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); column-gap: 10px; align-items: baseline; }
  .ano-item::before {
    content: ""; position: absolute; left: -30px; top: 1.02em; width: 14px; height: 14px; border-radius: 50%;
    background: var(--ouro);
  }
  .ano-imersao::before { border-radius: 2px; background: var(--noite); border: 2px solid var(--ouro); }
  .ano-mes { font-size: .9375rem; color: var(--claro-2); font-variant-numeric: tabular-nums; }
  .ano-o { font-stretch: 80%; font-weight: 650; font-size: 1.125rem; line-height: 1.25; }
  .ano-d { grid-column: 2; font-size: .9375rem; line-height: 1.4; color: var(--claro-2); }
  .ano-nota { margin-top: 20px; font-size: .9375rem; line-height: 1.55; color: var(--claro-2); max-width: 62ch; }

  .regras { margin-top: 64px; display: grid; gap: 22px; border-top: 2px solid var(--ouro); padding-top: 30px; }
  .regras > h3 { font-stretch: 76%; font-weight: 680; font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem); line-height: 1.08; }
  .regras dl > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--fio-claro); }
  .regras dl > div:first-child { border-top: 1px solid var(--fio-claro); }
  .regras dt { font-stretch: 84%; font-weight: 650; font-size: 1.125rem; line-height: 1.3; }
  .regras dd { color: var(--claro-2); max-width: 54ch; }
  .regras-nota { font-size: .9375rem; line-height: 1.55; color: var(--claro-2); max-width: 62ch; }

  @media (min-width: 900px) {
    .programa-cab { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 6vw, 96px); align-items: end; }
    .pecas { margin-top: 64px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .peca { display: block; padding: 34px clamp(20px, 2.6vw, 36px) 38px; border-bottom: 0; border-left: 1px solid var(--fio-claro); }
    .peca:first-child { padding-left: 0; border-left: 0; }
    .peca-n { display: block; font-size: clamp(8rem, 12.5vw, 11rem); line-height: .76; margin: 0 0 22px -.03em; }
    .peca h3 { font-size: clamp(1.5rem, 1.1rem + 1vw, 1.875rem); }
    .peca p { margin-top: 12px; }

    .ano { margin-top: 88px; }
    .ano-t { margin-bottom: 26px; }
    .ano-lista { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto 34px auto; padding-left: 0; }
    .ano-lista::before {
      position: static; grid-column: 1 / -1; grid-row: 2; align-self: center; width: auto; height: 2px;
    }
    .ano-lista::after {
      content: ""; grid-column: 1 / -1; grid-row: 2; align-self: center; height: 10px;
      background: repeating-linear-gradient(to right, var(--fio-claro) 0 1px, transparent 1px calc(100% / 12));
    }
    .ano-item {
      grid-column: var(--mes); grid-row: 1 / 4; display: grid; grid-template-rows: subgrid;
      padding: 0; justify-items: start;
    }
    .ano-item::before { position: static; grid-row: 2; align-self: center; z-index: 1; }
    .ano-tx { grid-row: 3; display: flex; flex-direction: column; white-space: nowrap; padding-top: 8px; }
    .ano-mes { order: 2; font-size: .875rem; }
    .ano-imersao .ano-tx { grid-row: 1; align-self: end; padding: 0 0 10px; }
    .ano-imersao .ano-mes { order: 0; }
    .ano-fim { justify-items: end; }
    .ano-fim .ano-tx { align-items: flex-end; }
    .ano-nota { margin-top: 28px; }

    .regras { margin-top: 96px; padding-top: 44px; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: clamp(40px, 6vw, 96px); }
    .regras dl > div { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); column-gap: 28px; }
    .regras dl, .regras-nota { grid-column: 2; }
  }

  /* ---------- mentor ---------- */
  .mentor-in { display: flex; flex-direction: column; gap: 28px; }
  .mentor-txt { display: contents; }
  .mentor-in .titulo { order: 1; }
  .filme { order: 2; }
  .citacao { order: 3; }
  .ficha-mentor { order: 4; }
  .mentor-bio { order: 5; }
  .citacao {
    font-stretch: 80%; font-weight: 560; line-height: 1.22; letter-spacing: -.004em;
    font-size: clamp(1.5rem, 1.15rem + 1.6vw, 2.375rem);
    max-width: 26ch;
  }
  .citacao::before { content: "\201C"; }
  .citacao::after { content: "\201D"; }
  .ficha-mentor { border-top: 2px solid var(--tinta); }
  .ficha-mentor > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--fio); }
  .ficha-mentor dt { font-size: .875rem; font-weight: 600; color: var(--ouro-tinta); padding-top: .15em; }
  .ficha-mentor dd { color: var(--tinta-2); }
  .mentor-bio { font-stretch: 86%; font-weight: 550; font-size: 1.1875rem; line-height: 1.4; max-width: 34ch; }

  .filme { position: relative; border-radius: var(--raio); overflow: hidden; background: var(--noite); width: 100%; max-width: 440px; }
  .filme video { width: 100%; aspect-ratio: 480 / 848; object-fit: cover; }
  .filme-capa { position: absolute; inset: 0; z-index: 1; }
  .filme-capa img { width: 100%; height: 100%; object-fit: cover; }
  .filme.tocando .filme-capa { display: none; }
  .filme-tocar {
    position: absolute; inset: 0; z-index: 2; display: grid; place-items: end start; padding: 20px;
    background: linear-gradient(180deg, rgb(13 14 18 / .1) 30%, rgb(13 14 18 / .9) 78%);
    border: 0; cursor: pointer; text-align: left; color: var(--claro);
    -webkit-tap-highlight-color: transparent;
  }
  .filme-tocar > span { display: flex; align-items: center; gap: 14px; font-stretch: 84%; font-weight: 600; line-height: 1.25; }
  .filme-tocar i {
    flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
    background: var(--ouro); color: var(--tinta); transition: transform .22s var(--suave);
  }
  .filme-tocar i svg { width: 22px; height: 22px; margin-left: 3px; }
  .filme-tocar:hover i { transform: scale(1.06); }
  .filme-tocar small { display: block; font-weight: 400; font-size: .875rem; color: var(--claro-2); }
  .filme.tocando .filme-tocar { display: none; }

  @media (min-width: 760px) {
    .mentor-in {
      display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
      column-gap: clamp(40px, 7vw, 112px); align-items: start;
    }
    .mentor-txt { display: grid; gap: 32px; align-content: start; }
    .filme { position: sticky; top: 104px; justify-self: end; }
    .ficha-mentor > div { grid-template-columns: 132px minmax(0, 1fr); padding: 16px 0; }
  }

  /* ---------- curriculo ---------- */
  .curriculo { margin-top: 64px; border-top: 2px solid var(--tinta); padding-top: 28px; }
  .curriculo-t { font-stretch: 76%; font-weight: 680; font-size: clamp(1.5rem, 1.25rem + 1.2vw, 2rem); line-height: 1.08; }
  .curriculo-cols { margin-top: 26px; display: grid; gap: 36px; }
  .curriculo h4 { font-stretch: 80%; font-weight: 650; font-size: 1.125rem; color: var(--ouro-tinta); margin-bottom: 12px; }
  .curriculo .lista-fio li { color: var(--tinta-2); }
  .marcas { margin-top: 44px; }
  .curriculo .marcas h4 { margin-bottom: 8px; }
  .marcas-tx { color: var(--tinta-2); max-width: 54ch; }
  .marcas-lista {
    margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--fio); border-left: 1px solid var(--fio);
  }
  .marcas-lista li {
    display: grid; place-items: center; min-height: 96px; padding: 22px 16px;
    border-right: 1px solid var(--fio); border-bottom: 1px solid var(--fio);
  }
  @media (min-width: 700px) {
    .marcas { margin-top: 64px; }
    .marcas-lista { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 30px; }
    .marcas-lista li { min-height: 124px; padding: 28px 20px; }
  }
  .registros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
  .registros li {
    padding: 9px 13px; border: 1px solid var(--tinta); border-radius: var(--raio);
    font-weight: 600; font-size: .9375rem; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums;
  }
  @media (min-width: 900px) {
    .curriculo { margin-top: 96px; padding-top: 40px; }
    .curriculo-cols { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 4fr); column-gap: clamp(28px, 4vw, 64px); }
  }

  /* ---------- instagram ---------- */
  .feed { margin-top: var(--secao); }
  .feed-cab { display: grid; gap: 14px; margin-bottom: 26px; }
  .feed-cab h2 { font-stretch: 78%; font-weight: 680; font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.125rem); line-height: 1.1; max-width: 22ch; }
  .feed-trilho {
    display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--margem);
    padding: 4px var(--margem) 18px; margin-inline: calc(-1 * var(--margem));
    scrollbar-width: thin; scrollbar-color: var(--fio) transparent;
  }
  .feed-trilho li { flex: 0 0 min(58vw, 240px); scroll-snap-align: start; }
  .feed-trilho a { display: block; border-radius: var(--raio); overflow: hidden; }
  .feed-trilho img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--suave); }
  @media (hover: hover) { .feed-trilho a:hover img { transform: scale(1.04); } }
  @media (min-width: 760px) {
    .feed-cab { grid-template-columns: 1fr auto; align-items: end; }
  }

  /* ---------- sessão ---------- */
  .sessao { position: relative; isolation: isolate; overflow: clip; }
  .sessao::before {
    content: ""; position: absolute; z-index: -1; right: -8%; bottom: -14%; width: min(74vw, 620px); aspect-ratio: 434 / 442;
    background: url("img/sp-monograma-434.webp") center / contain no-repeat; opacity: .07;
  }
  .sessao-in { display: grid; gap: 40px; }
  .sessao-txt { display: grid; gap: 22px; align-content: start; }
  .sessao-txt .titulo { max-width: 14ch; }

  .ficha { display: grid; gap: 18px; }
  .campo { display: grid; gap: 8px; }
  .campo label { font-size: .9375rem; font-weight: 600; }
  .campo input {
    width: 100%; min-height: 56px; padding: 0 16px;
    font-size: 1.0625rem; color: var(--claro);
    background: rgb(238 240 244 / .06); border: 1px solid rgb(238 240 244 / .34); border-radius: var(--raio);
    transition: border-color .16s var(--suave), background-color .16s var(--suave);
  }
  .campo input::placeholder { color: #8791a6; }
  .campo input:hover { border-color: rgb(238 240 244 / .6); }
  .campo input:focus-visible { outline: 3px solid var(--ouro); outline-offset: 1px; border-color: var(--ouro); background: rgb(238 240 244 / .1); }
  .campo-par { display: grid; gap: 18px; }
  .campo select {
    width: 100%; min-height: 56px; padding: 0 44px 0 16px; font: inherit; font-size: 1.0625rem; color: var(--claro);
    -webkit-appearance: none; appearance: none;
    background: rgb(238 240 244 / .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23cdae6b' stroke-width='2'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
    border: 1px solid rgb(238 240 244 / .34); border-radius: var(--raio);
    transition: border-color .16s var(--suave);
  }
  .campo select:invalid { color: #8791a6; }
  .campo select:hover { border-color: rgb(238 240 244 / .6); }
  .campo select:focus-visible { outline: 3px solid var(--ouro); outline-offset: 1px; border-color: var(--ouro); }
  .campo select option { color: var(--tinta); background: #fff; }
  .sessao-para { color: var(--claro); font-weight: 550; max-width: 40ch; padding-left: 16px; border-left: 3px solid var(--ouro); }
  @media (min-width: 600px) {
    .campo-par { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
  }
  .ficha .btn { width: 100%; margin-top: 6px; }
  .ficha-nota { font-size: .875rem; line-height: 1.5; color: var(--claro-2); }
  .ficha-nota a { display: flex; align-items: center; min-height: 44px; width: fit-content; color: var(--claro); text-underline-offset: .22em; }
  .ficha-leva {
    padding: 14px 16px; border-left: 3px solid var(--ouro); background: rgb(238 240 244 / .05);
    font-size: .9375rem; line-height: 1.5; color: var(--claro-2);
  }
  .ficha-leva strong { display: block; color: var(--claro); font-weight: 600; }
  .ficha-leva[hidden] { display: none; }
  .ficha-estado {
    padding: 14px 16px; border: 1px solid var(--ouro); border-radius: var(--raio);
    background: rgb(205 174 107 / .12); color: var(--claro); line-height: 1.45;
  }
  .ficha-estado[hidden] { display: none; }
  .ficha-estado a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ouro-claro); font-weight: 600; text-underline-offset: .22em; }

  /* seletor de país do telefone */
  .iti { display: block; width: 100%; }
  .iti__country-list { color: var(--tinta); font-size: 1rem; }
  .iti__selected-dial-code { color: var(--claro); }
  .iti--container { color: var(--tinta); }

  @media (min-width: 900px) {
    .sessao-in { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(48px, 8vw, 128px); align-items: start; }
  }

  /* ---------- rodapé ---------- */
  .rodape { background: var(--noite); color: var(--claro-2); border-top: 1px solid var(--fio-claro); padding-block: 56px 40px; }
  .rodape-fim {
    display: grid; gap: 22px; font-size: .875rem; line-height: 1.55;
  }
  .rodape-fim .marca { color: var(--claro); }
  .rodape-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
  .rodape-links a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 44px; text-underline-offset: .22em; }
  .rodape-links svg { width: 18px; height: 18px; }

  @media (min-width: 900px) {
    .rodape-fim { grid-template-columns: auto 1fr auto; align-items: center; column-gap: 40px; }
  }

  /* ---------- barra fixa do celular ---------- */
  .barra {
    position: fixed; inset: auto 0 0 0; z-index: 50;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(13 14 18 / .94);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--fio-claro);
    transform: translateY(110%); visibility: hidden;
    transition: transform .3s var(--suave), visibility 0s .3s;
  }
  .barra.visivel { transform: none; visibility: visible; transition: transform .3s var(--suave), visibility 0s; }
  .barra .btn { width: 100%; min-height: 52px; }
  @media (min-width: 900px) { .barra { display: none; } }
  @media (max-width: 899.98px) { .rodape { padding-bottom: 112px; } }

  /* ---------- movimento ----------
     Tudo aqui e melhoria: sem suporte, sem script ou com "reduzir movimento", a pagina fica parada e inteira. */
  @media (prefers-reduced-motion: no-preference) {
    .entra .h1-a, .entra .h1-b { animation: h1-entra .8s var(--suave) both; }
    .entra .h1-b { animation-delay: .1s; }
    .entra .abre-sobre, .entra .abre-sub, .entra .abre-cta, .entra .abre-quem { animation: sobe .7s var(--suave) both; }
    .entra .abre-sub { animation-delay: .36s; }
    .entra .abre-cta { animation-delay: .26s; }
    .entra .abre-quem { animation-delay: .46s; }
    .entra .abre-foto img { animation: foto-entra 1.5s var(--suave) both; transform-origin: 50% 22%; }
    .triagem-n.pulsa span { animation: pulsa .36s var(--suave); }
    .sintoma-cx path { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .32s var(--suave) .04s; }
    .sintoma:has(input:checked) .sintoma-cx path { stroke-dashoffset: 0; }
  }
  @keyframes h1-entra { from { opacity: 0; transform: translateY(.34em); } }
  @keyframes sobe { from { opacity: 0; transform: translateY(14px); } }
  @keyframes foto-entra { from { transform: scale(1.05); } }
  @keyframes pulsa { 45% { transform: scale(1.16); } }

  /* revelacao presa a rolagem: o conteudo chega junto com o dedo, e nao por tempo */
  @supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
      .sec .titulo, .sec .lead, .triagem-dica, .sintomas > li, .razao > div, .manifesto-pre, .manifesto-frase, .manifesto-foto,
      .jogo-lado, .jogo-fim, .fase > *, .dentro-num, .dentro-cols > section, .dentro-nota, .peca, .ano, .regras, .curriculo, .filme, .mentor-txt > *, .feed-cab, .feed-trilho,
      .ficha {
        animation: chega linear both;
        animation-timeline: view();
        animation-range: entry 0 entry 240px;
      }
    }
  }
  @keyframes chega { from { opacity: 0; transform: translateY(34px); } }

  /* ---------- páginas de texto ---------- */
  .texto { max-width: 68ch; }
  .texto h1 { font-stretch: 72%; font-weight: 700; font-size: clamp(2.25rem, 1.4rem + 4vw, 3.5rem); line-height: 1; margin-bottom: 28px; }
  .texto h2 { font-stretch: 80%; font-weight: 680; font-size: 1.5rem; line-height: 1.15; margin: 40px 0 12px; }
  .texto p + p { margin-top: 14px; }
  .texto a { text-decoration-color: var(--ouro-tinta); text-underline-offset: .22em; }
  .topo-claro { position: static; background: var(--noite); }
}

@layer util {
  .nq { white-space: nowrap; }
  .sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
}
