/* Diego Aranha — portfólio
   100% preto e branco. Cinzas só por opacidade do preto. */

:root {
  --ink: #000;
  --paper: #fff;
  --soft: rgba(0, 0, 0, .45);
  --rule: rgba(0, 0, 0, .9);
  --gutter: clamp(16px, 3.2vw, 48px);
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: var(--paper); }

a { color: inherit; text-decoration: none; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.soft { color: var(--soft); }

/* ── cabeçalho editorial: três colunas sobre um fio ── */
.masthead {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  padding: 20px var(--gutter) 12px;
  border-bottom: 1px solid var(--rule);
  margin: 0 var(--gutter);
  padding-left: 0;
  padding-right: 0;
  font-size: 13px;
  font-weight: 500;
}
.masthead > :last-child { text-align: right; }
.masthead a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── abertura: o poste e o pássaro ── */
.hero {
  position: relative;
  height: min(88vh, 900px);
  min-height: 560px;
  display: grid;
  place-items: center;
}

/* cena: gaivota no poste, refletida na água */
.scene {
  height: min(64vh, 640px);
  width: auto;
  overflow: visible;
  fill: var(--ink);
  margin-top: 4vh;
}
.scene .poste { transform-box: fill-box; transform-origin: bottom; animation: rise 1.6s cubic-bezier(.2, .7, 0, 1) both; }
.scene .reflexo { opacity: 1; animation: ripple 2.2s .5s ease-out both; }
.scene .gaivota { animation: land 1.2s 1.3s cubic-bezier(.2, .7, 0, 1) both; }

@keyframes rise { from { transform: scaleY(0); } }
@keyframes ripple { from { opacity: 0; } }
@keyframes land { from { opacity: 0; translate: 0 -40px; } }

.hero-caption {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  font-size: 13px;
}
.hero-caption p { max-width: 30ch; }
.hero-caption > :last-child { text-align: right; justify-self: end; }

.name {
  font-size: clamp(56px, 13.5vw, 220px);
  font-weight: 300;
  letter-spacing: -.055em;
  line-height: .86;
  padding: 0 var(--gutter);
  margin: 0 0 clamp(48px, 8vw, 120px) -.04em;
}

/* ── índice ── */
.index { padding: 0 var(--gutter) 80px; }

.index-head,
.row {
  display: grid;
  grid-template-columns: 56px minmax(0, 2.2fr) minmax(0, 1.6fr) minmax(0, 1fr) 72px 96px;
  gap: 16px;
  align-items: baseline;
}

.index-head {
  padding: 0 0 10px;
  border-bottom: 1px solid var(--rule);
  color: var(--soft);
}
.index-head > :nth-last-child(-n+2) { text-align: right; }

.rows { list-style: none; }

.row {
  position: relative;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--rule);
  transition: color .25s;
}
.row .title { font-size: clamp(20px, 2.2vw, 30px); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.row .desc { color: var(--soft); transition: color .25s; }
.row .year, .row .state { text-align: right; }

/* a linha inteira vira tinta no hover */
.row::before {
  content: "";
  position: absolute;
  inset: -1px calc(var(--gutter) * -1);
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(.2, .7, 0, 1);
  z-index: -1;
}
.rows { position: relative; z-index: 0; }
.row:hover, .row:focus-visible { color: var(--paper); outline: none; }
.row:hover .desc, .row:focus-visible .desc { color: rgba(255, 255, 255, .6); }
.row:hover::before, .row:focus-visible::before { transform: scaleY(1); }

.state .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid currentColor;
  margin-right: 6px;
  vertical-align: 1px;
}
.state.live .dot { background: currentColor; }

/* prévia que segue o cursor */
.preview {
  position: fixed;
  left: 0;
  top: 0;
  width: 300px;
  height: 380px;
  pointer-events: none;
  z-index: 20;
  background: var(--paper);
  border: 1px solid var(--ink);
  opacity: 0;
  transform: translate3d(-9999px, 0, 0) scale(.96);
  transition: opacity .25s, scale .25s;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.preview.on { opacity: 1; }
.preview video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }

/* ── marcas gráficas de cada projeto (usadas na prévia e nas páginas) ── */
.mark { width: 100%; height: 100%; display: grid; place-items: center; overflow: hidden; }
.mark-word { font-weight: 200; letter-spacing: -.06em; line-height: 1; font-size: 96px; }
.mark-amp { font-weight: 100; font-size: 300px; line-height: .8; letter-spacing: -.05em; }
.mark-num { font-weight: 200; font-size: 210px; letter-spacing: -.08em; line-height: .8; }
.mark-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.mark-canvas::after { content: ""; width: 58%; height: 72%; background: var(--ink); box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--ink); }
.mark-disc { position: relative; }
.mark-disc::before { content: ""; width: 72%; aspect-ratio: 1; border-radius: 50%; background: var(--ink); grid-area: 1 / 1; }
.mark-disc::after { content: ""; width: 9%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); grid-area: 1 / 1; translate: 4% -2%; }
.mark-stack { font-weight: 300; font-size: 64px; letter-spacing: .18em; line-height: 1.05; text-align: center; }

/* ── rodapé ── */
.colophon {
  margin: 0 var(--gutter);
  padding: 14px 0 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  font-size: 13px;
}
.colophon > :last-child { text-align: right; }
.colophon a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ── página de projeto (layout editorial da referência) ── */
.project { padding: 0 var(--gutter); }

.project-head {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  padding: 72px 0 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
  font-weight: 500;
}
.project-head > :last-child { text-align: right; }

.project-body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: var(--gutter);
  padding: 32px 0 96px;
  border-bottom: 1px solid var(--rule);
}

.project-art {
  aspect-ratio: 4 / 3.4;
  display: grid;
  place-items: center;
}
.project-art .mark-word { font-size: clamp(72px, 13vw, 200px); }
.project-art .mark-amp { font-size: clamp(220px, 34vw, 520px); }
.project-art .mark-num { font-size: clamp(160px, 26vw, 400px); }
.project-art .mark-stack { font-size: clamp(44px, 7vw, 104px); }

.project-text { font-size: 14px; max-width: 42ch; }
.project-text h1 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.project-text ul { list-style: none; margin-bottom: 28px; }
.project-text li::before { content: "– "; }
/* parágrafos corridos do texto do projeto, como na referência */
.project-text .prose p + p { text-indent: 1.5em; }
.project-text .todo {
  border: 1px dashed var(--ink);
  padding: 12px 14px;
  margin-bottom: 20px;
}
.project-text .note { margin-top: 28px; padding-top: 12px; border-top: 1px solid var(--rule); }
.project-text a { text-decoration: underline; text-underline-offset: 3px; }

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--gutter);
  padding: 16px 0 28px;
  font-size: 13px;
}
.pager > :nth-child(2) { text-align: center; }
.pager > :last-child { text-align: right; }
.pager a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* entrada suave dos blocos */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s, transform .9s cubic-bezier(.2, .7, 0, 1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ── celular ── */
@media (max-width: 760px) {
  .masthead { grid-template-columns: 1fr 1fr; }
  .masthead > :nth-child(2) { display: none; }
  .hero { min-height: 480px; height: 78vh; }
  .hero-caption { grid-template-columns: 1fr; gap: 8px; }
  .hero-caption > :last-child { text-align: left; justify-self: start; }
  .index-head { display: none; }
  .rows { border-top: 1px solid var(--rule); }
  .row { grid-template-columns: 36px 1fr auto; row-gap: 4px; }
  .row .num { grid-row: 1 / 3; }
  .row .title { grid-column: 2; }
  .row .desc { grid-column: 2 / 4; grid-row: 2; }
  .row .ctx, .row .year { display: none; }
  .row .state { grid-column: 3; grid-row: 1; }
  .preview { display: none; }
  .colophon, .project-head, .pager { grid-template-columns: 1fr 1fr; }
  .colophon > :nth-child(2), .project-head > :nth-child(2), .pager > :nth-child(2) { display: none; }
  .project-body { grid-template-columns: 1fr; }
}

/* ── contato ── */
.contact { padding-top: 40px; }
.contact .index-head { grid-template-columns: 56px 1fr; }
.crow {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.4fr) 40px;
  gap: 16px;
  align-items: baseline;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--rule);
  transition: color .25s;
}
.crow .title { font-size: clamp(28px, 4.4vw, 64px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.crow .cval { font-size: 15px; }
.crow .arrow { text-align: right; font-size: 20px; transition: transform .35s cubic-bezier(.2, .7, 0, 1); }
.crow::before {
  content: "";
  position: absolute;
  inset: -1px calc(var(--gutter) * -1);
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s cubic-bezier(.2, .7, 0, 1);
  z-index: -1;
}
.crow:hover, .crow:focus-visible { color: var(--paper); outline: none; }
.crow:hover::before, .crow:focus-visible::before { transform: scaleY(1); }
.crow:hover .arrow { transform: translate(4px, -4px); }

/* marcações de conteúdo ainda a definir */
.todo-inline { font-family: var(--mono); font-size: 12px; border: 1px dashed currentColor; padding: 2px 6px; }
.todo-link { text-decoration: underline dashed; text-underline-offset: 3px; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }

/* Defensibilidade: camadas de proteção */
.mark-rings::after {
  content: "";
  width: 74%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, var(--ink) 0 2px, transparent 2px 18px);
}

@media (max-width: 760px) {
  .crow { grid-template-columns: 36px 1fr auto; }
  .crow .cval { grid-column: 2 / 4; grid-row: 2; }
}
.crow.todo-link { text-decoration: none; }
.contact .index-head > span { text-align: left; }

/* foto (perfil Five to Nine): sempre em preto e branco */
.mark-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); display: block; }
.project-text .quote {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.01em;
  margin: 28px 0 0;
}

/* ── página de case editorial (suicídio infantil) ── */
.cover { margin: 0 0 0; border-bottom: 1px solid var(--rule); }
.cover img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.04); }
.case-title {
  font-weight: 200;
  font-size: clamp(44px, 8.4vw, 132px);
  line-height: .92;
  letter-spacing: -.055em;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--ink);
}
.cs {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 2fr);
  gap: 0 var(--gutter);
  padding: 28px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.cs .num { font-size: 11px; padding-top: 4px; }
.cs-label { font-size: 15px; font-weight: 500; }
.cs-body { max-width: 720px; font-size: 16px; line-height: 1.5; }
.cs-body .prose p + p { text-indent: 1.5em; }
.cs-body .lead { font-size: clamp(18px, 1.7vw, 22px); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; }
.cs-body .small { font-size: 11px; margin-top: 20px; }
.cs-body > * + * { margin-top: 28px; }
.question { font-size: clamp(28px, 3.6vw, 52px); font-weight: 200; line-height: 1.08; letter-spacing: -.035em; }

.fig { margin: 0; }
.fig figcaption { font-size: 11px; margin-top: 10px; }
.fig.photo img { display: block; width: 100%; filter: grayscale(1) contrast(1.05); }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { font: 10px var(--mono); fill: var(--soft); }
.chart .gl { stroke: var(--rule); stroke-width: 1; }
.chart polyline { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.chart rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); border-top: 1px solid var(--ink); }
.stats > div { padding: 14px 16px 0 0; }
.stats b { display: block; font-weight: 200; font-size: clamp(40px, 4.6vw, 64px); letter-spacing: -.05em; line-height: 1; margin-bottom: 8px; }
.stats span { font-size: 13px; color: var(--soft); display: block; max-width: 26ch; }

.list { list-style: none; border-top: 1px solid var(--ink); }
.list li { display: grid; grid-template-columns: 32px minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.45; }
.list.two li, .list.tl li { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.list.tl li { grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1.6fr); }
.list .num { font-size: 11px; padding-top: 3px; }
.k { font-weight: 500; }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); border-top: 1px solid var(--ink); padding-top: 14px; font-size: 14px; }
.duo .k { margin-bottom: 6px; }
.cs-body .cta a { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.cs-body .note { font-size: 13px; padding-top: 12px; border-top: 1px solid var(--rule); }

@media (max-width: 760px) {
  .cs { grid-template-columns: 32px minmax(0, 1fr); padding-bottom: 48px; }
  .cs-body { grid-column: 1 / -1; margin-top: 18px; }
  .list li, .list.tl li { grid-template-columns: 1fr; gap: 4px; }
  .list .num { display: none; }
  .duo { grid-template-columns: 1fr; }
  .cover img { aspect-ratio: 4 / 3; }
}

/* imagem + texto lado a lado dentro de uma seção */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--gutter); align-items: start; }
.split .fig.photo img { filter: grayscale(1) contrast(1.08); }

/* tela do MVP recriada em P&B */
.phone {
  /* proporção de um iPhone Air: 74,7 × 156,2 mm */
  margin: 0;
  width: 100%;
  max-width: 264px;
  aspect-ratio: 74.7 / 156.2;
  border: 1px solid var(--ink);
  border-radius: 44px;
  padding: 12px 0 0;
  overflow: hidden;
  font-size: 12px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  position: relative;
}
/* dynamic island */
.phone::before { content: ""; position: absolute; top: 11px; left: 50%; translate: -50% 0; width: 76px; height: 22px; border-radius: 12px; background: var(--ink); }
.ph-status { display: flex; justify-content: space-between; align-items: center; height: 24px; padding: 0 26px; margin-bottom: 14px; font-size: 10px; }
.ph-nav { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; padding: 0 18px 12px; font-size: 11px; }
.ph-kid { text-align: center; text-decoration: underline; text-underline-offset: 3px; }
.ph-title { background: var(--ink); color: var(--paper); font-weight: 200; font-size: 36px; letter-spacing: -.04em; line-height: 1; padding: 18px 18px 14px; }
.ph-intro { padding: 12px 18px; border-bottom: 1px solid var(--ink); font-size: 11px; line-height: 1.4; }
.ph-intro b { font-weight: 600; }
.ph-list { list-style: none; }
.ph-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-weight: 500; }
.ph-list li span { font-weight: 300; }
.ph-tab { display: flex; justify-content: space-around; padding: 14px 0 22px; margin-top: auto; border-top: 1px solid var(--ink); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .phone { margin: 0 auto; }
}

/* trechos de áudio das entrevistas */
.voices { list-style: none; border-top: 1px solid var(--ink); }
.voice { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 20px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.vplay { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--ink); background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.vplay:hover, .voice.on .vplay { background: var(--ink); }
.vplay .ic { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--ink); margin-left: 3px; }
.vplay:hover .ic, .voice.on .vplay .ic { border-left-color: var(--paper); }
.voice.on .vplay .ic { width: 11px; height: 13px; border: 0; margin: 0; border-left: 3.5px solid var(--paper); border-right: 3.5px solid var(--paper); }
.voice blockquote { margin: 0 0 16px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; line-height: 1.4; letter-spacing: -.01em; }
.vbar { height: 1px; background: var(--rule); margin-bottom: 10px; cursor: pointer; position: relative; }
.vbar::after { content: ""; position: absolute; inset: -8px 0; }
.vbar span { display: block; height: 100%; width: 0; background: var(--ink); }
.voice .mono { font-size: 11px; }

/* ══ sistema de linhas ══
   Uma linha só aparece em três lugares: abrindo uma seção, separando linhas
   de tabela (índice, contato) e no topo/rodapé da página. Dentro do conteúdo,
   quem organiza é o espaço e a tipografia. */
.cover, .case-title, .project-body { border-bottom: 0; }
.cs { border-bottom: 0; border-top: 1px solid var(--rule); padding: 28px 0 88px; }
.case-title { padding-bottom: 64px; }
.pager { border-top: 1px solid var(--rule); }

/* o título da seção acompanha a leitura, no lugar de mais traços */
.cs > .num, .cs-label { position: sticky; top: 24px; align-self: start; }

/* conteúdo interno sem bordas: ritmo vertical e contadores pequenos */
.stats, .list, .duo, .voices { border-top: 0; padding-top: 0; }
.list li, .voice { border-bottom: 0; }
.list { display: grid; gap: 22px; }
.list li { padding: 0; }
.voices { display: grid; gap: 40px; }
.voice { padding: 0; }
.stats > div { padding-top: 0; }
.cs-body .note, .project-text .note { border-top: 0; padding-top: 0; }
.cs-body > * + * { margin-top: 40px; }

@media (max-width: 760px) {
  .cs > .num, .cs-label { position: static; }
  .cs { padding-bottom: 64px; }
}

/* ══ case the cat & co. ══ */
.cover-video video { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; filter: grayscale(1) contrast(1.1); background: var(--ink); }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; }
.tags li { border: 1px solid var(--ink); border-radius: 999px; padding: 5px 12px; }

/* trecho de vídeo vertical */
.clip { margin: 0; position: relative; max-width: 300px; }
.clip video { display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; filter: grayscale(1) contrast(1.05); background: var(--ink); }
.clip-play { position: absolute; left: 50%; top: calc(50% - 14px); translate: -50% -50%; width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: opacity .25s, scale .25s; }
.clip-play:hover { scale: 1.06; }
.clip-play .ic { width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 14px; border-color: transparent transparent transparent var(--ink); margin-left: 4px; }
.clip.on .clip-play { opacity: 0; pointer-events: none; }
.clip figcaption { font-size: 11px; margin-top: 10px; }
.pull { font-size: clamp(20px, 1.9vw, 26px); font-weight: 300; line-height: 1.3; letter-spacing: -.015em; text-indent: 0 !important; margin-top: 24px; }

/* app recriado + passos */
.app { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.app-phone { width: 264px; }
.app-phone .scr { display: none; padding: 6px 18px 0; flex: 1; flex-direction: column; animation: scr-in .45s cubic-bezier(.2, .7, 0, 1); }
.app-phone .scr.on { display: flex; }
@keyframes scr-in { from { opacity: 0; translate: 0 8px; } }
.ph-date { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.ph-hello { font-size: 21px; font-weight: 300; line-height: 1.2; letter-spacing: -.02em; margin: 18px 0 18px; }
.ph-hello b { font-weight: 600; }
.ph-cats { display: grid; grid-template-columns: 1fr 1fr; margin: auto -18px 0; border-top: 1px solid var(--ink); }
.ph-cats > div { padding: 12px 12px 14px; display: flex; flex-direction: column; gap: 6px; min-height: 190px; font-size: 11px; }
.ph-cats > div + div { border-left: 1px solid var(--ink); }
.ph-cats .alert { background: var(--ink); color: var(--paper); }
.ph-cats .alert .soft { color: rgba(255,255,255,.55); }
.ph-cats .mono { font-size: 8px; letter-spacing: .08em; text-transform: uppercase; }
.ph-cats b { font-size: 15px; font-weight: 500; }
.ph-cats p { font-size: 10.5px; line-height: 1.35; }
.ph-cats .pill { align-self: start; border: 1px solid currentColor; border-radius: 999px; padding: 3px 9px; font-size: 8px; text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.ph-cats > div > :last-child { margin-top: auto; }
.spark { width: 100%; height: auto; overflow: visible; }
.spark .band { fill: rgba(0,0,0,.07); }
.spark path { fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linejoin: round; }
.spark circle { fill: var(--ink); }
.ph-cap { font-size: 8px; margin: 6px 0 14px; }
.ph-ev { list-style: none; display: grid; gap: 11px; font-size: 11.5px; line-height: 1.35; }
.ph-ev .mono { display: block; font-size: 8px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 2px; }
.ph-legal { font-size: 8px; margin-top: auto; padding-bottom: 10px; }
.app-steps { list-style: none; display: grid; gap: 4px; }
.app-steps button { all: unset; cursor: pointer; display: grid; grid-template-columns: 36px 1fr; column-gap: 8px; padding: 12px 0; color: var(--soft); transition: color .25s; font-size: clamp(20px, 2vw, 28px); font-weight: 300; letter-spacing: -.02em; line-height: 1.15; }
.app-steps button .mono { font-size: 11px; padding-top: 8px; letter-spacing: 0; }
.app-steps button small { grid-column: 2; font-size: 13px; letter-spacing: 0; color: inherit; margin-top: 4px; }
.app-steps button.on, .app-steps button:hover { color: var(--ink); }
.app-steps button:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.feats { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11px; color: var(--soft); }
.feats li::before { content: "+ "; color: var(--ink); }

.fig.wide img { width: 100%; }
.specs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; font-size: 13px; }
.specs .k { display: block; margin-bottom: 6px; }
.specs span:not(.k) { color: var(--soft); }

/* camadas do dado, em passos */
.layers-x { display: grid; gap: 22px; }
.lay-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.lay-steps button { all: unset; cursor: pointer; display: grid; gap: 4px; font-size: 15px; color: var(--soft); transition: color .25s; }
.lay-steps button .mono { font-size: 11px; }
.lay-steps button.on, .lay-steps button:hover { color: var(--ink); }
.lay-track { height: 1px; background: var(--rule); position: relative; }
.lay-track span { position: absolute; left: 0; top: -1px; height: 3px; width: 25%; background: var(--ink); transition: translate .6s cubic-bezier(.2, .7, 0, 1); }
.lay-panes { display: grid; }
.lay-pane { grid-area: 1 / 1; opacity: 0; translate: 0 6px; transition: opacity .4s, translate .4s; pointer-events: none; }
.lay-pane.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.lay-pane .mono { font-size: 11px; }
.lay-ex { font-size: clamp(22px, 2.4vw, 34px); font-weight: 200; line-height: 1.15; letter-spacing: -.03em; margin: 10px 0 14px; }
.lay-who { font-size: 11px; display: inline-block; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 11px; }

.list li b.mono { display: block; font-weight: 400; font-size: 11px; color: var(--soft); margin-bottom: 4px; }
.links { list-style: none; display: grid; gap: 14px; }
.links li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; font-size: 16px; }
.links a { text-decoration: underline; text-underline-offset: 4px; }
.links span { font-size: 14px; }

@media (max-width: 760px) {
  .app { grid-template-columns: 1fr; justify-items: center; }
  .app-steps { justify-self: stretch; }
  .specs { grid-template-columns: 1fr 1fr; }
  .lay-steps { grid-template-columns: 1fr 1fr; }
  .lay-track { display: none; }
  .links li { grid-template-columns: 1fr; gap: 2px; }
  .cover-video video { aspect-ratio: 4 / 3; }
}
.sublabel { font-size: 16px; padding-top: 24px; }

/* loops de vídeo em P&B */
.fig.loop video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1) contrast(1.08); background: var(--ink); }

/* filme sob demanda */
.film { margin: 0; position: relative; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.film img, .film iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.film img { filter: grayscale(1) contrast(1.05) brightness(.82); }
.film-play { all: unset; position: absolute; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 14px; cursor: pointer; color: var(--paper); font-size: 16px; }
.film-play .ic { width: 52px; height: 52px; border-radius: 50%; background: var(--paper); position: relative; flex: none; transition: scale .25s; }
.film-play .ic::after { content: ""; position: absolute; left: 50%; top: 50%; translate: -35% -50%; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.film-play:hover .ic { scale: 1.06; }
.film-play .soft { color: rgba(255,255,255,.6); font-size: 11px; margin-left: 6px; }
.split.media-first { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
@media (max-width: 760px) { .split.media-first { grid-template-columns: 1fr; } }

/* celular com prints reais do app, em P&B */
.app-phone.shots { padding: 0; background: var(--paper); }
.app-phone.shots .scr { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; padding: 0; filter: grayscale(1) contrast(1.04); animation: scr-in .45s cubic-bezier(.2, .7, 0, 1); }
.app-phone.shots .scr.on { display: block; }
.app-phone.shots::before { z-index: 2; }

/* dois clipes, mesma proporção */
.duo-clips { display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 20px; }
.duo-clips .clip { max-width: none; }
.duo-clips figcaption { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; }
.duo-clips figcaption .mono { font-size: 11px; }

/* números: sem quebra, base alinhada */
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
.stats b { white-space: nowrap; font-size: clamp(34px, 3.4vw, 54px); }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .duo-clips { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ══ aparelho: moldura de iPhone Air, com a tela recuada ══ */
.device { margin: 0; width: 264px; aspect-ratio: 74.7 / 156.2; background: var(--ink); border-radius: 46px; padding: 8px; box-shadow: 0 0 0 1px var(--ink), 0 30px 60px -30px rgba(0,0,0,.35); flex: none; }
.device .screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.device .sb { height: 30px; flex: none; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 22px 0 26px; font-size: 10px; letter-spacing: 0; }
.device .island { width: 74px; height: 21px; border-radius: 12px; background: var(--ink); margin-top: 4px; }
.device .sig { justify-self: end; display: flex; gap: 2px; align-items: flex-end; }
.device .sig b { width: 3px; background: var(--ink); border-radius: 1px; }
.device .sig b:nth-child(1) { height: 4px; } .device .sig b:nth-child(2) { height: 6px; } .device .sig b:nth-child(3) { height: 8px; }
.device .view { position: relative; flex: 1; }
.device .view .scr { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; display: none; filter: grayscale(1) contrast(1.04); animation: scr-in .45s cubic-bezier(.2, .7, 0, 1); }
.device .view .scr.on { display: block; }
.device .home-ind { height: 18px; flex: none; display: grid; place-items: center; }
.device .home-ind::after { content: ""; width: 88px; height: 4px; border-radius: 2px; background: var(--ink); }

/* o clipe do Diego em destaque, o da sócia menor ao lado */
.duo-clips { grid-template-columns: minmax(0, 320px) minmax(0, 190px); align-items: end; gap: 24px; }
.duo-clips .clip:nth-child(2) .clip-play { width: 48px; height: 48px; }
.duo-clips .clip:nth-child(2) .clip-play .ic { border-width: 7px 0 7px 11px; margin-left: 3px; }
@media (max-width: 760px) { .duo-clips { grid-template-columns: 1.6fr 1fr; gap: 12px; } }
.split.solo { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); align-items: center; }
@media (max-width: 760px) { .split.solo { grid-template-columns: 1fr; } }
.specs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; font-size: 14px; }
@media (max-width: 760px) { .specs.two { grid-template-columns: 1fr; } }

/* ══ case Contra ══ */
.def { border-left: 2px solid var(--ink); padding: 4px 0 4px 18px; font-size: 14px; max-width: 60ch; }
.def .mono { display: block; font-size: 11px; margin-bottom: 6px; }

/* trecho em vídeo, largo */
.clip-wide { position: relative; }
.clip-wide video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(1); background: var(--ink); }
.clip-wide .clip-play { position: absolute; left: 50%; top: calc(50% - 14px); translate: -50% -50%; width: 72px; height: 72px; border-radius: 50%; border: 0; background: var(--paper); cursor: pointer; display: grid; place-items: center; transition: opacity .25s, scale .25s; }
.clip-wide .clip-play:hover { scale: 1.06; }
.clip-wide .clip-play .ic { width: 0; height: 0; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); margin-left: 5px; }
.clip-wide.on .clip-play { opacity: 0; pointer-events: none; }
.clip-wide figcaption { font-size: 11px; margin-top: 10px; }

/* calculadora de proteção */
.calc { display: grid; gap: 18px; }
.calc .mono { font-size: 11px; }
.calc-tiers { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc-tiers button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; width: 100%; padding: 14px; border: 1px solid var(--rule); transition: background .2s, color .2s, border-color .2s; }
.calc-tiers button b { font-weight: 500; font-size: 16px; white-space: nowrap; }
.calc-tiers button span { font-size: 12px; color: var(--soft); }
.calc-tiers button:hover { border-color: var(--ink); }
.calc-tiers button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.calc-tiers button.on span { color: rgba(255,255,255,.6); }
.calc-panes { display: grid; }
.calc-pane { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 24px; opacity: 0; translate: 0 6px; transition: opacity .35s, translate .35s; pointer-events: none; }
.calc-pane.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.calc-pane > div { display: grid; gap: 6px; align-content: start; font-size: 13px; }
.calc-pane b { font-weight: 200; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.calc-pane .hl b { font-weight: 300; }
.calc-f { margin-top: 4px; }

/* gráficos em P&B */
.curve svg, .funnel svg { width: 100%; height: auto; overflow: visible; }
.curve .ax, .funnel .ax { stroke: var(--rule); stroke-width: 1; }
.curve .c1 { fill: none; stroke: rgba(0,0,0,.3); stroke-width: 1.5; }
.curve .c2 { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.curve circle { fill: var(--ink); } .curve .dot1 { fill: rgba(0,0,0,.3); }
.curve text, .funnel text { font-family: var(--sans); fill: var(--ink); }
.curve .lb, .funnel .lb { font-size: 13px; font-weight: 500; }
.curve .st { font-size: 13px; }
.curve .mt, .funnel .mt { font: 10px var(--mono); fill: var(--soft); }
.curve .tag { font: 11px var(--mono); }
.funnel .fa { fill: none; stroke: rgba(0,0,0,.3); stroke-width: 1.2; stroke-dasharray: 3 4; }
.funnel .fb { fill: none; stroke: var(--ink); stroke-width: 1.6; }
.funnel circle { fill: var(--ink); } .funnel .oa { fill: rgba(0,0,0,.3); }
.funnel .ring { fill: none; stroke: var(--ink); stroke-width: 1; }
.funnel .n { font-size: 26px; font-weight: 200; fill: rgba(0,0,0,.4); }
.funnel .n.b { fill: var(--ink); font-weight: 300; }
.funnel figcaption { font-size: 11px; margin-top: 10px; }

/* lista de resultados com valor à direita */
.list.results li { grid-template-columns: 32px minmax(0, 1fr) auto; align-items: baseline; }
.list.results li > span:nth-child(2) { display: grid; gap: 4px; }
.list.results a { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; justify-self: start; }
.list.results .val { font-weight: 200; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.04em; white-space: nowrap; }
.list .k small { display: block; font-weight: 400; font-size: 12px; margin-top: 2px; }

@media (max-width: 760px) {
  .calc-tiers { grid-template-columns: 1fr 1fr; }
  .calc-pane { grid-template-columns: 1fr; gap: 14px; }
  .list.results li { grid-template-columns: 1fr; }
}

/* calculadora: caixas do mesmo tamanho e painéis na mesma grade de 4 colunas */
.calc-tiers { align-items: stretch; }
.calc-tiers li { display: flex; }
.calc-tiers button { height: 100%; min-height: 84px; align-content: start; }
.calc-pane { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.calc-pane > div { padding: 0 14px; }
.calc-pane .hl { grid-column: span 2; }
.calc-pane b { font-size: clamp(28px, 2.6vw, 40px); }

/* valores de orçamento protegido, com rótulo */
.list.results .val { display: grid; justify-items: end; gap: 2px; }
.list.results .val b { font-weight: 200; font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.04em; white-space: nowrap; }
.list.results .val small { font-size: 10px; }
.prose .cite { text-indent: 0 !important; font-size: 13px; }

@media (max-width: 760px) {
  .calc-pane { grid-template-columns: 1fr 1fr; gap: 14px 8px; }
  .calc-pane > div { padding: 0; }
  .list.results .val { justify-items: start; }
}
.calc-pane > div > .mono { white-space: nowrap; }

/* prévia da Contra: portas testadas uma a uma, só uma fica de pé */
.mark-doors { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
.mark-doors .doors { display: flex; gap: 12px; align-items: flex-end; }
.mark-doors i { display: block; width: 28px; height: 84px; border: 1px solid var(--ink); animation: probe 5s infinite; }
.mark-doors i:nth-child(2) { animation-delay: .7s; }
.mark-doors i:nth-child(3) { animation-delay: 1.4s; }
.mark-doors i:nth-child(5) { animation-delay: 2.1s; }
.mark-doors i:nth-child(4) { animation: pick 5s infinite; }
.mark-doors b { font-weight: 300; font-size: 44px; letter-spacing: -.05em; line-height: 1; }
@keyframes probe { 0%, 100% { background: transparent; } 5% { background: var(--ink); } 13% { background: transparent; } }
@keyframes pick { 0%, 54% { background: transparent; } 60%, 94% { background: var(--ink); } 100% { background: transparent; } }
@media (prefers-reduced-motion: reduce) { .mark-doors i { animation: none; } .mark-doors i:nth-child(4) { animation: none; background: var(--ink); } }

/* portas de verdade: maçaneta e chão */
.mark-doors .doors { padding: 0 10px; border-bottom: 1px solid var(--ink); }
.mark-doors i { position: relative; width: 30px; height: 88px; border-bottom: 0; }
.mark-doors i::before { content: ""; position: absolute; right: 5px; top: 50%; width: 5px; height: 5px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.mark-doors i::after { content: ""; position: absolute; right: 6.5px; top: calc(50% + 7px); width: 2px; height: 5px; background: #fff; mix-blend-mode: difference; }

/* calculadora: números cabem na coluna, quebram no traço se precisar */
.calc-pane b { white-space: normal; font-size: clamp(24px, 2.1vw, 32px); line-height: 1.05; overflow-wrap: anywhere; }
.calc-pane .hl b { font-size: clamp(28px, 2.6vw, 40px); }
.calc-pane > div { min-width: 0; }

/* ── em breve: a linha inteira esmaecida, ainda clicável ── */
.row.soon.in { opacity: .38; transition: opacity .25s, transform .9s cubic-bezier(.2, .7, 0, 1); }
.row.soon.in:hover, .row.soon.in:focus-visible { opacity: 1; }
.project-text .building { margin-top: 24px; color: var(--soft); }

/* ── idioma: PT EN ES no cabeçalho de todas as páginas ── */
.mast-end { display: inline-flex; justify-content: flex-end; align-items: baseline; gap: 20px; }
.langs { display: inline-flex; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.langs a { color: var(--soft); }
.langs a[aria-current="true"] { color: currentColor; text-decoration: underline; text-underline-offset: 3px; }
html.i18n-wait body { visibility: hidden; }


/* em andamento: o ponto pulsa, a linha fica em destaque */
.state.wip .dot { animation: wip-pulse 1.6s ease-in-out infinite; }
@keyframes wip-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .15; } }
@media (prefers-reduced-motion: reduce) { .state.wip .dot { animation: none; } }

/* listas simples do case Skeelo (certezas e dúvidas) */
ul.plain { list-style: none; display: grid; gap: 8px; }
ul.plain li { padding-left: 14px; position: relative; }
ul.plain li::before { content: "–"; position: absolute; left: 0; color: var(--soft); }
.duo.two-lists p.k { font-weight: 500; margin-bottom: 10px; }
.list.marcos li { grid-template-columns: 64px minmax(0, 1fr); }
.list.agenda li { grid-template-columns: 56px minmax(0, .9fr) minmax(0, 1.6fr) 28px; }
@media (max-width: 760px) { .list.agenda li { grid-template-columns: 1fr; } }

/* ══ capa do Skeelo: o número e o produto, numa faixa preta ══ */
.sk-cover { background: var(--ink); color: var(--paper); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 6vw, 88px) clamp(24px, 5vw, 72px); overflow: hidden; }
.sk-num .mono { font-size: 11px; color: rgba(255,255,255,.55); }
.sk-num .big { font-weight: 100; font-size: clamp(72px, 11vw, 168px); letter-spacing: -.06em; line-height: .9; margin: 14px 0 18px; white-space: nowrap; }
.sk-num .cap { font-size: 15px; max-width: 28ch; color: rgba(255,255,255,.75); }
.sk-phones { display: flex; gap: 16px; align-items: flex-end; }
.sk-phones .device { width: clamp(130px, 13vw, 190px); padding: 6px; border-radius: 32px; background: #111; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.sk-phones .device .screen { border-radius: 26px; }
.sk-phones .device .sb { height: 22px; padding: 0 16px 0 18px; font-size: 8px; }
.sk-phones .device .island { width: 52px; height: 15px; margin-top: 3px; }
.sk-phones .device .home-ind { height: 12px; }
.sk-phones .device .home-ind::after { width: 60px; height: 3px; }
.sk-phones .device:nth-child(2) { transform: translateY(-28px); }
.sk-phones .device .view .scr { display: block; }

/* recorte de imprensa */
.fig.clipping img { display: block; width: 100%; max-width: 420px; border: 1px solid var(--rule); filter: grayscale(1); }

@media (max-width: 900px) {
  .sk-cover { grid-template-columns: 1fr; }
  .sk-phones { justify-content: center; }
  .sk-phones .device { width: 28vw; }
}
@media (max-width: 900px) {
  .sk-phones { gap: 8px; }
  .sk-phones .device { width: 24vw; padding: 4px; border-radius: 22px; }
  .sk-phones .device .screen { border-radius: 18px; }
  .sk-phones .device .sb { height: 16px; padding: 0 8px; font-size: 6px; }
  .sk-phones .device .island { width: 30px; height: 9px; }
  .sk-phones .device:nth-child(2) { transform: translateY(-16px); }
}

/* mascote do Skeelo ao lado dos números */
.mascote { align-items: center; }
.mascote img { display: block; width: 100%; max-width: 280px; }
.mascote .stats { grid-template-columns: 1fr; gap: 28px; }

/* capa do Skeelo com o esquilo branco */
.sk-mark { margin: 0; justify-self: end; }
.sk-mark img { display: block; width: clamp(200px, 26vw, 380px); height: auto; }
/* telas do app sobre fundo branco, na seção do produto */
.sk-phones.on-light { justify-content: center; padding: 12px 0 4px; }
.sk-phones.on-light .device { background: var(--ink); box-shadow: none; }
@media (max-width: 900px) { .sk-mark { justify-self: center; } .sk-mark img { width: 60vw; } }
.list.agenda li { grid-template-columns: 96px minmax(0, .9fr) minmax(0, 1.6fr) 28px; }
.list.agenda li > .mono:first-child { white-space: nowrap; }

/* prévia do Skeelo: o esquilo branco sobre o preto */
.mark-skeelo { background: var(--ink); }
.mark-skeelo img { width: 52%; height: auto; display: block; }


.index-head, .row { grid-template-columns: 56px minmax(0, 1.65fr) minmax(0, 2.45fr) minmax(0, 1fr) 64px 96px; }
.index-head, .row { grid-template-columns: 56px minmax(0, 1.55fr) minmax(0, 2.55fr) 148px 56px 96px; }

/* prévia da Contra: a dúvida oscila e assenta em convicção */
.mark-curve { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.mark-curve .curve { display: grid; gap: 6px; width: 240px; }
.mark-curve svg { display: block; width: 240px; height: 96px; overflow: visible; }
.mark-curve path { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.mark-curve .o { fill: var(--paper); stroke: var(--ink); stroke-width: 1.1; }
.mark-curve .f { fill: var(--ink); }
.mark-curve .ends { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); }
.mark-curve b { font-weight: 300; font-size: 44px; letter-spacing: -.05em; line-height: 1; }
