/* Casthink site v2, folha de estilo compartilhada.
   Identidade aprovada em 23/set/2026 (exercicio 4, Gelo + Archivo).
   Scrollytelling so na Home: todo seletor de cena fica sob .home. */

:root {
  --gelo: #E8EDF0;
  --branco-gelo: #F7F9FA;
  --tinta: #1C1712;
  --aco: #56626B;
  --violet: #4B2C6E;
  --lilas: #B79AD9;
  --branco: #FFFFFF;
  --linha: rgba(28, 23, 18, .12);
  --linha-forte: rgba(28, 23, 18, .28);
  --sombra: 0 1px 2px rgba(28, 23, 18, .13), 0 18px 30px -18px rgba(28, 23, 18, .47);
  --display: "Archivo", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --texto: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --altura-topo: 72px;
  --max: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-padding-top: 16px;
  scroll-padding-bottom: 88px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--gelo);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

.pular {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  background: var(--tinta); color: var(--gelo);
  padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 600;
}
.pular:focus { top: 12px; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 64px, var(--max)); } }

/* Tipografia */
h1, h2, h3, .titulo {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  letter-spacing: -.02em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(30px, 4.3vw, 58px); }
h2 { font-size: clamp(25px, 3.3vw, 44px); }
h3 { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.2; letter-spacing: -.01em; }
h1 em, h2 em, .destaque {
  font-family: var(--display);
  font-style: italic;
  font-weight: 700;
  font-stretch: 125%;
  font-variation-settings: "wdth" 125;
  color: var(--violet);
}
.mono { font-family: var(--mono); }
.secundario { color: var(--aco); }
.lead { font-size: clamp(17px, 1.4vw, 19px); max-width: 60ch; }

/* Componentes */
.botao {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet); color: var(--branco);
  font-family: var(--texto); font-weight: 600; font-size: 15px; line-height: 1.2;
  padding: 13px 20px; border: 0; border-radius: 6px;
  text-decoration: none; cursor: pointer; text-align: center;
}
.botao:hover { background: color-mix(in srgb, var(--violet) 82%, var(--tinta)); }
.botao--contorno {
  background: transparent; color: var(--tinta);
  border: 1.5px solid var(--tinta); padding: 11.5px 18.5px;
}
.botao--contorno:hover { background: var(--branco-gelo); }
.link {
  color: var(--tinta); font-weight: 600;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px;
}
.link:hover { color: var(--violet); }
.tag {
  display: inline-block; background: var(--tinta); color: var(--gelo);
  font-family: var(--mono); font-size: 12px; line-height: 1.3; font-weight: 400;
  padding: 4px 8px; border-radius: 3px; letter-spacing: 0;
}
.acoes { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }

/* Cabecalho */
.topo { background: var(--gelo); border-bottom: 1px solid var(--linha); position: relative; z-index: 20; }
.topo .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 16px; padding-block: 12px;
}
.topo__logo { display: block; line-height: 0; }
.topo__logo img { width: 124px; height: auto; }
.topo__nav { order: 3; width: 100%; }
.topo__nav ul { list-style: none; padding: 0; display: flex; gap: 22px; }
.topo__nav a { font-size: 15px; font-weight: 500; text-decoration: none; }
.topo__nav a:hover, .topo__nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.topo .botao { padding: 11px 16px; font-size: 14px; }
.topo .botao[aria-current="page"] { box-shadow: 0 0 0 2px var(--gelo), 0 0 0 3.5px var(--violet); }
@media (min-width: 768px) {
  html { scroll-padding-top: calc(var(--altura-topo) + 16px); }
  .topo { position: sticky; top: 0; }
  .topo .wrap { height: var(--altura-topo); flex-wrap: nowrap; padding-block: 0; }
  .topo__logo img { width: 148px; }
  .topo__nav { order: 0; width: auto; margin-left: auto; margin-right: 12px; }
  .topo__nav ul { gap: 28px; }
  .topo .botao { padding: 12px 18px; font-size: 15px; }
}

/* Folha de contato e quadro 9:16 */
.folha {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.6vw, 18px); align-items: start; position: relative; margin: 0;
}
.folha > .quadro:nth-child(2) { margin-top: 14px; }
.folha > .quadro:nth-child(3) { margin-top: 5px; }
@media (min-width: 768px) {
  .folha > .quadro:nth-child(2) { margin-top: 24px; }
  .folha > .quadro:nth-child(3) { margin-top: 8px; }
}
.quadro {
  position: relative; margin: 0; background: var(--branco-gelo);
  padding: 6px 6px 8px; border-radius: 4px; box-shadow: var(--sombra);
}
.quadro img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 2px; background: var(--gelo); }
.quadro figcaption {
  font-family: var(--mono); font-size: 10px; line-height: 1.3; color: var(--aco);
  margin-top: 6px; padding-inline: 2px;
}
@media (min-width: 768px) { .quadro { padding: 7px 7px 10px; } .quadro figcaption { font-size: 11px; margin-top: 8px; } }
.traco {
  position: absolute; left: -10px; top: -10px;
  width: calc(100% + 20px); height: calc(100% + 16px);
  pointer-events: none; overflow: visible; z-index: 1;
}
.traco path {
  fill: none; stroke: var(--violet); stroke-width: 2.2; stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.quadro--marcado > .traco { height: calc(100% - 14px); }
@media (min-width: 768px) { .quadro--marcado > .traco { height: calc(100% - 20px); } }
.folha--nova .quadro--marcado > .traco { height: calc(100% + 16px); }
.traco--desenha path { vector-effect: none; stroke-width: 1.1; }
.nota {
  position: absolute; z-index: 2; left: -6px; top: calc(100% + 12px);
  width: max-content; max-width: calc(100% + 12px);
  background: var(--branco-gelo); color: var(--tinta);
  font-family: var(--mono); font-size: 10px; line-height: 1.4;
  padding: 6px 8px; border-radius: 4px; box-shadow: 0 10px 20px -12px rgba(28, 23, 18, .6);
  border-left: 2px solid var(--violet);
}
.nota__marca { color: var(--violet); font-weight: 500; }
@media (min-width: 768px) { .nota { font-size: 11.5px; padding: 8px 10px; left: -12px; } }
.selo {
  grid-column: 1 / -1; justify-self: end; margin-top: 18px;
  font-family: var(--mono); font-size: 10.5px; color: var(--aco);
}

/* Moldura de foto */
.foto {
  position: relative; margin: 0; background: var(--branco-gelo);
  padding: 8px; border-radius: 4px; box-shadow: var(--sombra);
}
.foto img { width: 100%; border-radius: 2px; background: var(--gelo); }
.foto--paisagem img { aspect-ratio: 16 / 9; object-fit: cover; }
.foto--retrato img { aspect-ratio: 4 / 5; object-fit: cover; }

/* ===================== HOME ===================== */
.home .cena { position: relative; overflow-x: clip; padding-block: 40px; }
.home .cena__palco { position: static; }
.home .cena h2 { max-width: 20ch; }

/* Cena 1: abertura */
.home .cena--abertura { padding-block: 24px 64px; }
.home .cena--abertura .cena__palco { display: grid; gap: 36px; }
.home .cena--abertura .cena__texto { display: grid; gap: 20px; align-content: start; }
.home .definicao { font-size: clamp(17px, 1.35vw, 19px); max-width: 44ch; }
.home .cena--abertura .folha { margin-bottom: 8px; }
@media (min-width: 960px) {
  .home .cena--abertura { padding-block: 48px 72px; }
  .home .cena--abertura .cena__palco {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center;
  }
  .home .cena--abertura .cena__texto { gap: 26px; }
}

/* Cena 2: memoria */
.home .cena--memoria .cena__palco { display: grid; gap: 28px; align-items: center; }
.home .cena--memoria .foto { max-width: 440px; }
.home .foto__veu { position: absolute; inset: 8px; background: var(--gelo); opacity: 0; pointer-events: none; border-radius: 2px; }
.home .cena--memoria .cena__texto { display: grid; gap: 18px; }
.home .cena--memoria .cena__texto p { font-size: clamp(17px, 1.5vw, 20px); color: var(--aco); max-width: 36ch; }
@media (min-width: 768px) {
  .home .cena--memoria .cena__palco { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
}

/* Cena 3: corvos */
.home .cena--corvos { background: var(--branco-gelo); }
.home .cena--corvos .cena__palco {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px;
}
.home .lockup { width: min(640px, 88%); height: auto; }
.home .cena--corvos h2 { max-width: none; }
.home .cena--corvos h2 span { display: block; }
.home .cena--corvos h2 .f2 { font-style: italic; font-weight: 700; color: var(--violet); }
.home .cena--corvos .apoio { display: grid; gap: 14px; justify-items: center; }
.home .cena--corvos .apoio p:first-child { font-size: clamp(17px, 1.5vw, 20px); color: var(--aco); max-width: 38ch; }

/* Cena 4: fronteira */
.home .cena--fronteira .cena__palco { display: grid; gap: 28px; }
.home .colunas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.home .coluna { list-style: none; padding: 0; display: grid; gap: 10px; }
.home .coluna--maquina li {
  font-family: var(--mono); font-size: 14px; line-height: 1.35; color: var(--aco);
  background: var(--branco-gelo); border: 1px dashed var(--linha-forte); border-radius: 4px; padding: 12px;
}
.home .coluna--pessoa li {
  font-weight: 600; font-size: 16px; line-height: 1.3; color: var(--tinta);
  background: var(--branco-gelo); border-left: 3px solid var(--violet); border-radius: 4px; padding: 12px;
  box-shadow: var(--sombra);
}
.home .cena--fronteira .foto { grid-column: 1 / -1; max-width: 360px; }
@media (max-width: 339.98px) { .home .colunas { grid-template-columns: 1fr; } }
@media (min-width: 768px) {
  .home .colunas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, .8fr); gap: clamp(16px, 2.4vw, 32px); align-items: center; }
  .home .cena--fronteira .foto { grid-column: auto; max-width: none; }
  .home .coluna { gap: 14px; }
  .home .coluna--maquina li { font-size: 15px; padding: 16px; }
  .home .coluna--pessoa li { font-size: 20px; padding: 16px 18px; }
}

/* Cena 5: proxima campanha */
.home .cena--sabendo .cena__palco { display: grid; gap: 28px; align-items: center; }
.home .cena--sabendo .cena__texto { display: grid; gap: 22px; }
.home .destaque { font-size: clamp(20px, 2.2vw, 30px); line-height: 1.2; max-width: 26ch; letter-spacing: -.01em; text-wrap: balance; }
.home .folha--nova { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 460px; }
.home .folha--nova > .quadro:nth-child(2) { margin-top: 20px; }
@media (min-width: 768px) {
  .home .cena--sabendo .cena__palco { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); }
  .home .folha--nova { width: min(100%, calc((100svh - var(--altura-topo) - 140px) * 1.2)); justify-self: center; }
}

/* Cena 6: diagnostico */
.home .cena--diagnostico { padding-block: 48px 72px; }
.home .cena--diagnostico .wrap { display: grid; gap: 20px; justify-items: start; }
.home .cena--diagnostico .lead { font-size: clamp(18px, 1.6vw, 21px); }
.home .duracao { font-family: var(--mono); font-size: 13px; color: var(--aco); }
.card-humano {
  display: grid; gap: 16px; align-items: center; margin: 12px 0 8px;
  background: var(--branco-gelo); padding: 16px; border-radius: 6px; box-shadow: var(--sombra);
  max-width: 640px; width: 100%;
}
.card-humano img { width: 160px; height: 160px; border-radius: 6px; object-fit: cover; }
.card-humano__nome { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 20px; line-height: 1.15; }
.card-humano__papel { font-family: var(--mono); font-size: 12px; color: var(--aco); margin-top: 4px; }
.card-humano__frase { margin-top: 10px; }
@media (min-width: 560px) {
  .card-humano { grid-template-columns: auto minmax(0, 1fr); gap: 24px; padding: 18px; }
  .card-humano img { width: 200px; height: 200px; }
}
@media (max-width: 559.98px) {
  .home .cena--diagnostico .acoes { width: 100%; flex-direction: column; align-items: stretch; }
  .home .cena--diagnostico .acoes .botao { width: 100%; }
}

/* Movimento da Home: desktop, sticky e animacao guiada por scroll */
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
      html.js .home .cena--fronteira { height: 125vh; }
    html.js .home .cena--fronteira { padding-block: 0; }
  html.js .home .cena--fronteira .cena__palco {
    position: sticky;
    top: var(--altura-topo);
    height: calc(100svh - var(--altura-topo));
    align-content: center;
    justify-content: center;
    padding-block: 24px;
    will-change: transform, opacity;
  }
  html.js .home .cena--fronteira .foto img { max-height: calc(100svh - var(--altura-topo) - 260px); }
  html.js .home .lockup { width: min(640px, 70%, calc((100svh - 420px) * 3.9)); }

  @supports (animation-timeline: view()) {
    html.js .home .cena { view-timeline: --cena block; }

    /* Cena 1: so saida, opacidade minima de 0,6 */
    html.js .home .cena--abertura .cena__texto {
      animation: sai-texto linear both; animation-timeline: --cena; animation-range: exit 0% exit 100%;
    }
    html.js .home .cena--abertura .folha {
      animation: sai-folha linear both; animation-timeline: --cena; animation-range: exit 0% exit 100%;
    }

    /* Cena 2 */
    html.js .home .cena--memoria .foto {
      animation: entra linear both; animation-timeline: --cena; animation-range: entry 0% entry 90%;
    }
    html.js .home .cena--memoria .cena__texto {
      animation: entra linear both; animation-timeline: --cena; animation-range: entry 20% contain 10%;
    }
    html.js .home .cena--memoria .foto__veu {
      animation: apaga linear both; animation-timeline: --cena; animation-range: contain 10% contain 80%;
    }

    /* Cena 3 */
    html.js .home .cena--corvos .lockup {
      animation: entra-escala linear both; animation-timeline: --cena; animation-range: entry 30% contain 20%;
    }
    html.js .home .cena--corvos .f1 {
      animation: entra linear both; animation-timeline: --cena; animation-range: contain 10% contain 30%;
    }
    html.js .home .cena--corvos .f2 {
      animation: entra linear both; animation-timeline: --cena; animation-range: contain 30% contain 50%;
    }
    html.js .home .cena--corvos .apoio {
      animation: entra linear both; animation-timeline: --cena; animation-range: contain 45% contain 60%;
    }

    /* Cena 4 */
    html.js .home .cena--fronteira h2 {
      animation: entra linear both; animation-timeline: --cena; animation-range: entry 30% contain 5%;
    }
    html.js .home .coluna--maquina li { animation: entra-esq linear both; animation-timeline: --cena; }
    html.js .home .coluna--pessoa li { animation: entra-dir linear both; animation-timeline: --cena; }
    html.js .home .cena--fronteira li.p1 { animation-range: contain 10% contain 25%; }
    html.js .home .cena--fronteira li.p2 { animation-range: contain 25% contain 40%; }
    html.js .home .cena--fronteira li.p3 { animation-range: contain 40% contain 55%; }
    html.js .home .cena--fronteira .foto {
      animation: entra linear both; animation-timeline: --cena; animation-range: contain 10% contain 25%;
    }
    html.js .home .cena--fronteira .apoio {
      animation: entra linear both; animation-timeline: --cena; animation-range: contain 55% contain 65%;
    }

    /* Cena 5 */
    html.js .home .cena--sabendo h2,
    html.js .home .cena--sabendo .quadro {
      animation: entra linear both; animation-timeline: --cena; animation-range: entry 30% contain 15%;
    }
    html.js .home .cena--sabendo .traco--desenha path {
      stroke-dasharray: 1; stroke-dashoffset: 1;
      animation: desenha linear both; animation-timeline: --cena; animation-range: contain 15% contain 45%;
    }
    html.js .home .cena--sabendo .destaque {
      animation: entra linear both; animation-timeline: --cena; animation-range: contain 40% contain 60%;
    }

    /* Cena 6: reveal unico */
    html.js .home .cena--diagnostico .wrap > * {
      animation: sobe linear both; animation-timeline: --cena; animation-range: entry 10% entry 70%;
    }
  }

  /* Fallback por IntersectionObserver: classe io so e adicionada pelo script */
  html.io .home .cena:not(.cena--abertura):not(.is-visible) :is(.cena__texto, .foto, .lockup, h2, li, .quadro, .destaque, .card-humano, .apoio) {
    opacity: 0; transform: translateY(24px);
  }
  html.io .home .cena:not(.cena--abertura) :is(.cena__texto, .foto, .lockup, h2, li, .quadro, .destaque, .card-humano, .apoio) {
    transition: opacity .5s ease-out, transform .5s ease-out;
  }
  html.io .home .cena--sabendo:not(.is-visible) .quadro--marcado > .traco { height: calc(100% - 14px); }
@media (min-width: 768px) { .quadro--marcado > .traco { height: calc(100% - 20px); } }
.folha--nova .quadro--marcado > .traco { height: calc(100% + 16px); }
.traco--desenha path { stroke-dasharray: 1; stroke-dashoffset: 1; }
  html.io .home .cena--sabendo .quadro--marcado > .traco { height: calc(100% - 14px); }
@media (min-width: 768px) { .quadro--marcado > .traco { height: calc(100% - 20px); } }
.folha--nova .quadro--marcado > .traco { height: calc(100% + 16px); }
.traco--desenha path { stroke-dasharray: 1; transition: stroke-dashoffset .9s ease-out .3s; }
  html.io .home .cena.is-visible li.p2 { transition-delay: .12s; }
  html.io .home .cena.is-visible li.p3 { transition-delay: .24s; }

  /* Foco nunca fica invisivel */
  html.js .home .cena:focus-within :is(.cena__texto, .foto, .lockup, h2, li, .quadro, .destaque, .card-humano, .apoio) {
    animation: none; opacity: 1; transform: none;
  }
}

/* Movimento da Home: celular, cenas empilhadas com reveal simples */
@media (max-width: 767.98px) and (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    html.js .home .cena:not(.cena--abertura) :is(.cena__palco, .wrap) > * {
      animation: sobe linear both; animation-timeline: view(); animation-range: entry 0% entry 60%;
    }
  }
  html.io .home .cena:not(.cena--abertura):not(.is-visible) :is(.cena__palco, .wrap) > * {
    opacity: 0; transform: translateY(16px);
  }
  html.io .home .cena:not(.cena--abertura) :is(.cena__palco, .wrap) > * { transition: opacity .5s ease-out, transform .5s ease-out; }
  html.js .home .cena:focus-within :is(.cena__palco, .wrap) > * { animation: none; opacity: 1; transform: none; }
}

@keyframes entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes sobe { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes entra-escala { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes entra-esq { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes entra-dir { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes apaga { from { opacity: 0; } to { opacity: .55; } }
@keyframes desenha { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sai-texto { from { opacity: 1; } to { opacity: .6; } }
@keyframes sai-folha { from { opacity: 1; transform: none; } to { opacity: .6; transform: translateY(4%); } }

/* ===================== PAGINAS PROFUNDAS ===================== */
.intro { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 64px); }
.intro .wrap { display: grid; gap: 22px; }
.intro h1 { max-width: 22ch; }
.secao { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--linha); }
.secao--clara { background: var(--branco-gelo); }
.secao > .wrap { display: grid; gap: 28px; }
.secao__cabeca { display: grid; gap: 16px; max-width: 760px; }
.secao__cabeca h2 { max-width: 24ch; }
.itens { padding-left: 1.15em; display: grid; gap: 8px; }
.itens li::marker { color: var(--violet); }

/* Movimentos */
.movimentos { display: grid; gap: clamp(48px, 7vw, 88px); margin-top: 16px; }
.movimento { display: grid; gap: 24px; align-items: center; }
.movimento__texto { display: grid; gap: 14px; }
.movimento__texto .tag { justify-self: start; }
.movimento .foto { max-width: 560px; }
.movimento .foto--retrato { max-width: 400px; }
@media (min-width: 900px) {
  .movimento { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); }
  .movimento:nth-child(even) .foto { order: -1; justify-self: start; }
  .movimento:nth-child(odd) .foto { justify-self: end; }
}

/* Camadas */
.camadas { list-style: none; padding: 0; display: grid; gap: 16px; }
.camadas li { background: var(--branco-gelo); border-radius: 6px; padding: 20px; box-shadow: var(--sombra); }
.secao--clara .camadas li { background: var(--gelo); box-shadow: none; }
@media (min-width: 768px) { .camadas { grid-template-columns: 1fr 1fr; } }

/* Dores */
.faixa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.6vw, 18px); max-width: 640px; align-items: start; }
.faixa > .quadro:nth-child(2) { margin-top: 18px; }
.faixa > .quadro:nth-child(3) { margin-top: 6px; }
.dores { display: grid; gap: 16px; }
.dor { background: var(--branco-gelo); padding: 22px; border-radius: 6px; display: grid; gap: 10px; align-content: start; }
.secao--clara .dor { background: var(--gelo); }
.dores-bloco { display: grid; gap: 32px; }
@media (min-width: 640px) { .dores { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) {
  .dores-bloco { grid-template-columns: minmax(0, .7fr) minmax(0, 2fr); align-items: start; }
  .dores { grid-template-columns: repeat(3, 1fr); }
  .faixa { grid-template-columns: 1fr 1fr; }
  .faixa > .quadro:nth-child(3) { grid-column: 1 / -1; width: 50%; justify-self: center; margin-top: 0; }
}

/* Fronteira */
.fronteira { display: grid; gap: 24px; }
.fronteira__col { background: var(--branco-gelo); border-radius: 6px; padding: 24px; display: grid; gap: 14px; align-content: start; }
.fronteira__col--pessoa { border-top: 4px solid var(--violet); box-shadow: var(--sombra); }
.fronteira__col--maquina { border-top: 4px dashed var(--aco); }
.lista-num { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: n; }
.lista-num li { counter-increment: n; display: grid; grid-template-columns: 2.2em 1fr; gap: 6px; }
.lista-num li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 13px; color: var(--aco); padding-top: 3px; }
.fronteira__col--pessoa .lista-num li::before { color: var(--violet); }
@media (min-width: 900px) { .fronteira { grid-template-columns: 1fr 1fr; } }

/* Campo vazio */
.campo-vazio { display: grid; gap: 28px; align-items: center; }
.frase-preservada { font-family: var(--display); font-style: italic; font-weight: 700; font-stretch: 125%; font-variation-settings: "wdth" 125; color: var(--violet); font-size: clamp(19px, 2vw, 26px); line-height: 1.25; max-width: 32ch; text-wrap: balance; }
.painel-esquema { background: var(--branco-gelo); border-radius: 6px; box-shadow: var(--sombra); padding: 22px; display: grid; gap: 14px; max-width: 420px; }
.painel-esquema .linha { display: grid; grid-template-columns: 38% 1fr; gap: 12px; align-items: center; }
.painel-esquema i { display: block; height: 10px; border-radius: 5px; background: color-mix(in srgb, var(--aco) 25%, transparent); }
.painel-esquema b { display: block; height: 28px; border-radius: 4px; background: color-mix(in srgb, var(--aco) 14%, transparent); }
.painel-esquema .vazio { position: relative; height: 28px; border: 1.5px dashed var(--aco); border-radius: 4px; }
.painel-esquema .vazio .traco { left: -12px; top: -12px; width: calc(100% + 24px); height: calc(100% + 24px); }
@media (min-width: 900px) { .campo-vazio { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }

/* Telas ilustrativas */
.telas-grupo { display: grid; gap: 18px; margin-top: 12px; }
.telas-grupo > p { color: var(--aco); max-width: 60ch; }
.telas { list-style: none; padding: 0; display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.telas li { display: grid; gap: 12px; align-content: start; }
.mock { background: var(--branco-gelo); border: 1px solid var(--linha); border-radius: 6px; overflow: hidden; box-shadow: 0 12px 24px -18px rgba(28, 23, 18, .5); }
.mock__barra { display: flex; gap: 5px; align-items: center; padding: 8px 10px; background: color-mix(in srgb, var(--gelo) 78%, var(--aco)); }
.mock__barra i { width: 7px; height: 7px; border-radius: 50%; background: rgba(28, 23, 18, .22); }
.mock__nome { font-family: var(--mono); font-size: 11px; color: var(--aco); padding: 10px 12px 0; line-height: 1.3; }
.mock__corpo { padding: 12px; display: grid; gap: 8px; min-height: 92px; align-content: start; }
.mock__corpo i { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--aco) 24%, transparent); }
.mock__corpo i:nth-child(1) { width: 82%; }
.mock__corpo i:nth-child(2) { width: 64%; }
.mock__corpo i:nth-child(3) { width: 46%; }
.mock--barras .mock__corpo { display: flex; align-items: flex-end; gap: 6px; height: 92px; }
.mock--barras .mock__corpo i { flex: 1; width: auto; border-radius: 2px; }
.mock--barras .mock__corpo i:nth-child(1) { height: 30%; }
.mock--barras .mock__corpo i:nth-child(2) { height: 55%; }
.mock--barras .mock__corpo i:nth-child(3) { height: 42%; }
.mock--barras .mock__corpo i:nth-child(4) { height: 70%; }
.mock--barras .mock__corpo i:nth-child(5) { height: 58%; }
.mock--barras .mock__corpo i:nth-child(6) { height: 85%; background: color-mix(in srgb, var(--violet) 45%, transparent); }
.mock--grade .mock__corpo { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mock--grade .mock__corpo i { width: auto; height: auto; aspect-ratio: 3 / 4; border-radius: 2px; }
.mock--grade .mock__corpo i:nth-child(2) { outline: 1.5px solid var(--violet); outline-offset: 2px; }
.mock--conversa .mock__corpo i:nth-child(1) { width: 60%; height: 18px; border-radius: 9px; }
.mock--conversa .mock__corpo i:nth-child(2) { width: 72%; height: 18px; border-radius: 9px; justify-self: end; background: color-mix(in srgb, var(--violet) 30%, transparent); }
.mock--conversa .mock__corpo i:nth-child(3) { width: 40%; height: 18px; border-radius: 9px; }
.mock--linhas .mock__corpo i { height: 14px; border-radius: 3px; width: 100%; }
.mock--linhas .mock__corpo i:nth-child(2) { width: 100%; opacity: .7; }
.mock--linhas .mock__corpo i:nth-child(3) { width: 100%; opacity: .45; }
.selo-telas { justify-self: start; }
.perfis { background: var(--gelo); border-radius: 6px; padding: 22px; display: grid; gap: 10px; max-width: 760px; margin-top: 12px; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 820px; }
.faq__item { padding-block: 22px; border-top: 1px solid var(--linha); display: grid; gap: 10px; }
.faq__item:last-child { border-bottom: 1px solid var(--linha); }

/* Chamada final */
.chamada { padding-block: clamp(56px, 8vw, 104px) clamp(88px, 10vw, 120px); border-top: 1px solid var(--linha); }
.chamada .wrap { display: grid; gap: 22px; justify-items: start; }
.chamada__frase { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.12; letter-spacing: -.02em; max-width: 24ch; }

/* Diagnostico */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--mono); font-size: 12.5px; border: 1px solid var(--linha-forte); border-radius: 999px; padding: 5px 12px; background: var(--branco-gelo); }
.passos-bloco { display: grid; gap: 32px; align-items: start; }
.passos { list-style: none; padding: 0; display: grid; gap: 18px; counter-reset: p; }
.passos li { display: grid; gap: 6px; padding-left: 48px; position: relative; }
.passos li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--tinta); color: var(--gelo); font-family: var(--mono); font-size: 14px; display: grid; place-items: center; }
.passos strong { font-weight: 600; font-size: 18px; }
@media (min-width: 900px) { .passos-bloco { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); } }
.card-humano--pagina { margin: 0; }
.card-humano--pagina .acoes { margin-top: 14px; }

/* Formulario */
.form { display: grid; gap: 20px; }
.grupo { border: 0; margin: 0; padding: 22px; background: var(--branco-gelo); border-radius: 6px; display: grid; gap: 16px; min-width: 0; }
.grupo legend { float: left; width: 100%; padding: 0; margin: 0 0 4px; }
.grupo legend + * { clear: both; }
.grupo__num { font-family: var(--mono); font-weight: 500; font-size: .8em; color: var(--violet); letter-spacing: 0; }
.grupo__ajuda { color: var(--aco); font-size: 15px; margin-top: -6px; }
.campos { display: grid; gap: 16px; }
@media (min-width: 768px) { .campos--2 { grid-template-columns: 1fr 1fr; } .grupo { padding: 28px; } }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.campo__ajuda { font-size: 13.5px; color: var(--aco); font-family: var(--mono); }
.campo input, .campo select, .campo textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--tinta);
  background: var(--branco); border: 1.5px solid var(--linha-forte); border-radius: 6px; padding: 11px 12px;
}
.campo textarea { min-height: 120px; resize: vertical; }
.campo input:focus-visible, .campo select:focus-visible, .campo textarea:focus-visible { border-color: var(--violet); outline: 2px solid var(--violet); outline-offset: 1px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form__acoes { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; padding-top: 4px; }
.aviso-rascunho { font-family: var(--mono); font-size: 13px; color: var(--aco); background: var(--branco-gelo); border-left: 3px solid var(--violet); padding: 12px 14px; border-radius: 4px; max-width: 760px; }
.recebido { background: var(--branco-gelo); border-left: 4px solid var(--violet); border-radius: 6px; padding: 28px; display: grid; gap: 16px; box-shadow: var(--sombra); }
.recebido[hidden] { display: none; }
.recebido h2:focus { outline: none; }
.botao.copiado::after { content: " \2713"; }

/* Sobre */
.corvos-bloco { display: grid; gap: 32px; align-items: center; }
.corvos-bloco .lockup-sobre { width: min(520px, 100%); height: auto; }
.corvos-bloco p { max-width: 62ch; }
@media (min-width: 900px) { .corvos-bloco { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.operacao-bloco { display: grid; gap: 28px; }
.principios { display: grid; gap: 16px; }
.principio { background: var(--branco-gelo); border-radius: 6px; padding: 22px; display: grid; gap: 10px; align-content: start; }
@media (min-width: 700px) { .principios { grid-template-columns: 1fr 1fr; } }

/* Revelacao leve nas paginas profundas (so com script e movimento permitido) */
@media (prefers-reduced-motion: no-preference) {
  html.io .reveal:not(.is-visible) { opacity: 0; transform: translateY(12px); }
  html.io .reveal { transition: opacity .4s ease-out, transform .4s ease-out; }
}

/* Rodape */
.rodape { background: var(--branco-gelo); border-top: 1px solid var(--linha); padding-block: 48px 104px; }
.rodape .wrap { display: grid; gap: 22px; }
.rodape__logo { width: 132px; height: auto; }
.rodape__frase { max-width: 44ch; color: var(--aco); }
.rodape ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.rodape ul a { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.rodape__local { font-family: var(--mono); font-size: 13px; color: var(--aco); display: flex; flex-wrap: wrap; gap: 6px 20px; }
.rodape__local a { text-decoration: none; }
.rodape__local a:hover { text-decoration: underline; }
@media (min-width: 900px) {
  .rodape .wrap { grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 48px; }
  .rodape__local { grid-column: 1 / -1; }
}

/* WhatsApp flutuante, secundario */
.whats {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--branco-gelo); color: var(--tinta);
  border: 1.5px solid var(--tinta); border-radius: 999px;
  padding: 9px 14px 9px 11px; font-weight: 600; font-size: 14px; line-height: 1;
  text-decoration: none; box-shadow: 0 10px 24px -12px rgba(28, 23, 18, .55);
}
.whats svg { width: 18px; height: 18px; flex: none; }
.whats:hover { background: var(--gelo); }

/* Movimento reduzido: nenhuma animacao, nenhuma transicao */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .home .cena__palco { position: static !important; }
  .home .cena { height: auto !important; min-height: 0 !important; }
  .home .traco path { stroke-dashoffset: 0 !important; stroke-dasharray: none !important; }
  .home .foto__veu { opacity: 0 !important; }
}

/* Redes sociais: perfis em reserva (trocar span por link quando houver URL) */
.rodape__redes { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; grid-column: 1 / -1; }
.rede { font-family: var(--mono); font-size: 13px; color: var(--aco); }
.rede--pendente { opacity: .65; cursor: default; }
a.rede { color: var(--tinta); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.recebido__erro { color: var(--tinta); font-weight: 500; }

/* Prints reais do sistema em /como-funciona */
.print { margin: 0; border-radius: 6px; overflow: hidden; border: 1px solid var(--linha); background: var(--branco-gelo); box-shadow: 0 14px 28px -20px rgba(28, 23, 18, .55); }
.print a { display: block; }
.print img { width: 100%; height: auto; display: block; }
.print a:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .print { transition: transform .3s ease, box-shadow .3s ease; }
  .print:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -20px rgba(28, 23, 18, .6); }
}

/* Como funciona, seção "por dentro": passagem para a demonstração navegável */
.por-dentro__demo {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
  margin: 8px 0 4px; padding: 16px 18px; max-width: 760px;
  background: var(--branco-gelo); border-left: 3px solid var(--violet); border-radius: 4px;
}
.por-dentro__demo span { font-size: 17px; line-height: 1.45; }
.por-dentro__demo .botao { padding: 10px 16px; font-size: 14px; }
.home .cena--sabendo .apoio { margin-top: 6px; }

/* Privacidade e aviso de cookies (24/set) */
.rodape__legal { font-size: 13.5px; color: var(--aco); display: flex; flex-wrap: wrap; gap: 6px 20px; grid-column: 1 / -1; margin: 0; }
.rodape__legal a { text-decoration: underline; text-underline-offset: 3px; }
.rodape__legal a:hover { color: var(--violet); }
.form__privacidade { font-size: 14px; color: var(--aco); max-width: 60ch; }
.politica__data { font-family: var(--mono); font-size: 13px; color: var(--aco); }
.politica__corpo { max-width: 780px; display: grid; gap: 16px; }
.politica__corpo h2 { font-size: clamp(21px, 2.2vw, 27px); margin-top: 28px; }
.politica__corpo h2:first-child { margin-top: 0; }
.politica__corpo code { font-family: var(--mono); font-size: .9em; }
.politica__lista { padding-left: 20px; display: grid; gap: 8px; }
.tab-politica { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.politica__tabela { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.politica__tabela th, .politica__tabela td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--linha); }
.politica__tabela thead th { font-family: var(--mono); font-weight: 500; font-size: 12.5px; color: var(--aco); border-bottom: 1.5px solid var(--tinta); }
.politica__tabela tbody th { font-weight: 600; width: 30%; }

/* 25/set: no celular, título da cena "memória" acima da imagem */
@media (max-width: 767.98px) { .home .cena--memoria .cena__texto { order: -1; } }

/* Casthink by Pocket Lab (26/10/2026) */
.topo__logo { display: flex; align-items: center; gap: 10px; }
.topo__by { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--aco); line-height: 1; padding-left: 10px; border-left: 1px solid var(--linha); }
.topo__by img { width: auto; height: 15px; }
@media (min-width: 768px) { .topo__by { font-size: 12px; } .topo__by img { height: 17px; } }
.faixa-pocket { background: #011D26; color: #F9FAFA; padding-block: 22px; }
.faixa-pocket .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 14px 32px; }
.faixa-pocket__texto { margin: 0; font-size: 14.5px; max-width: 60ch; }
.faixa-pocket__texto a { color: #F9FAFA; text-decoration: underline; text-decoration-color: #F4B63F; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.faixa-pocket__logo { line-height: 0; order: -1; }
.faixa-pocket__logo img { height: 24px; width: auto; }
.rodape { padding-bottom: 48px; }
.faixa-pocket { padding-bottom: 96px; }
@media (min-width: 768px) { .faixa-pocket { padding-bottom: 22px; } }
.card-humano--equipe { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) { .card-humano--equipe { grid-template-columns: minmax(0, 1fr); } }

/* Barra Pocket no topo (26/10/2026) */
.barra-pocket { background: #011D26; color: #F9FAFA; font-size: 13px; line-height: 1.4; }
.barra-pocket .wrap { display: flex; align-items: center; gap: 12px; padding-block: 8px; }
.barra-pocket__logo { line-height: 0; flex: none; }
.barra-pocket__logo img { height: 18px; width: auto; }
.barra-pocket__texto { margin: 0; }
.barra-pocket__texto a { color: #F9FAFA; text-decoration: underline; text-decoration-color: #F4B63F; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.barra-pocket__extra { display: none; }
@media (min-width: 768px) { .barra-pocket__extra { display: inline; } .barra-pocket__logo img { height: 20px; } }
