/* ==========================================================================
   Matheus Nogari · site
   Cores e fontes ficam nos tokens do :root. Textos ficam em content/*.json.
   Cada seção segue uma referência (ver comentários "ref:" no build.mjs).
   ========================================================================== */

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* Coconat (Collletttivo & Sara Lavazza, SIL OFL). Só tem romano: o itálico vira reto (font-synthesis). */
@font-face {
  font-family: "Coconat";
  src: url("../fonts/coconat-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Coconat";
  src: url("../fonts/coconat-demi.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Archivo variável: largura 62–125% e peso 100–900. A versão condensada é a mesma fonte. */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  font-synthesis: none;
  /* Cor: preto, branco, cinza e amarelo */
  --white: oklch(1 0 0);
  --gray: oklch(0.955 0 0);
  --gray-2: oklch(0.88 0 0);
  --ink: oklch(0.15 0 0);
  --ink-2: oklch(0.4 0 0);
  --black: oklch(0.13 0 0);
  --on-black: oklch(0.97 0 0);
  --on-black-2: oklch(0.74 0 0);
  --line-dark: oklch(0.3 0 0);
  /* dourado #C5AE79. Antes: #C7990C (site antigo), oklch(0.88 0.17 95) (amarelo) */
  --yellow: oklch(0.758 0.075 87.1);
  /* dourado mais escuro para a serifa sobre branco/cinza claro (contraste 4.3:1 no branco) */
  --gold-deep: oklch(0.58 0.1 86);
  --em: var(--gold-deep);
  --on-yellow: oklch(0.13 0 0);

  /* Tipografia */
  /* teste Coconat (ref. Olyver). Anterior: "Instrument Serif", "Times New Roman", Georgia, serif */
  --serif: "Coconat", "Times New Roman", Georgia, serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --fs-h2: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem);
  --fs-h3: clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem);
  --fs-lead: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --k: 0.53; /* largura média de uma letra condensada (só vale sem JS; o main.js mede e encaixa exato) */

  /* Espaço e layout */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 3rem);
  --max: 90rem;
  --section: clamp(5rem, 3.5rem + 7vw, 10rem);
  --radius: 4px;

  /* Camadas */
  --z-header: 10;

  /* Movimento */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--on-yellow); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: var(--ink) var(--gray); }

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}
h2 { font-size: var(--fs-h2); }
h2 em { font-style: italic; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

/* Título-padrão do site: condensada em caixa alta com intervenções em serifa itálica.
   A serifa é dourada (--em): escura no claro, clara nas seções pretas. */
.mix {
  font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 0.92; text-wrap: balance;
}
.mix em {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  text-transform: none; letter-spacing: -0.04em; font-size: 0.78em; color: var(--em, inherit);
}
.statement, .compare, .velaa, .testimonials, .interlude, .closing { --em: var(--yellow); }
/* Sobre: fundo cinza médio no celular, então o dourado escurece mais um passo */
.about { --em: var(--yellow); }
/* Entrelinha por trecho: a linha só com Coconat (menor) fica mais junta; a linha com condensada mantém 0.92.
   O h2 tem entrelinha baixa e cada trecho define a sua (o .c no condensado, o em na serifa). */
.mix:has(em), .statement__text { line-height: 0.74; }
.mix .c, .statement__text .w { line-height: 0.92; }
.mix em { line-height: 1; }


/* Condensada: a "voz alta" do site */
.fit, .stack__word, .footer__h, .footer__nav a {
  font-family: var(--sans);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 0.86;
}
.fit { display: block; white-space: nowrap; text-align: center; font-size: calc(100cqw / (var(--n) * var(--k))); }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: calc(var(--z-header) + 1);
  background: var(--ink); color: var(--white); padding: 0.75rem 1rem; border-radius: var(--radius);
}
.skip:focus { top: 0.75rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Seções escuras: foco em amarelo */
.statement, .compare, .velaa, .testimonials, .interlude, .closing { color: var(--on-black); }
.statement :focus-visible, .compare :focus-visible, .velaa :focus-visible,
.testimonials :focus-visible, .interlude :focus-visible, .closing :focus-visible { outline-color: var(--yellow); }

/* Botões -------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.9rem 1.6rem;
  background: var(--ink); color: var(--white);
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 2.75rem; padding: 0.55rem 1rem; font-size: 0.9375rem; }
.btn--accent { background: var(--yellow); color: var(--on-yellow); }
.btn--accent:hover { background: var(--ink); color: var(--white); }
.closing .btn--accent:hover { background: var(--white); color: var(--ink); }
.btn--ghost { background: none; color: inherit; border-color: color-mix(in oklch, currentColor 45%, transparent); }
.btn--ghost:hover { border-color: currentColor; }

/* Header (ref: olyver) ------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--gray-2); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.logo { display: block; flex: none; padding-block: 0.75rem; }
.logo img { height: 1.375rem; width: auto; }
.site-nav {
  display: flex; gap: 2rem; margin-inline: auto;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
}
.site-nav a { text-decoration: none; padding-block: 0.75rem; }
.site-nav a:hover { text-decoration: underline; }
.site-header__actions { display: flex; align-items: center; gap: 0.75rem; }
.lang {
  display: inline-grid; place-items: center; min-width: 2.75rem; min-height: 2.75rem;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-decoration: none;
  border: 1px solid var(--gray-2); border-radius: var(--radius);
  transition: border-color 0.25s;
}
.lang:hover { border-color: var(--ink); }

/* 1. Hero (ref: olyver) ------------------------------------------------------ */
/* Base comum aos dois testes */
.hero { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2rem, 1rem + 2vw, 3rem); }
.hero__name { display: contents; }
.hero__reel { position: relative; display: block; overflow: hidden; background: var(--gray); aspect-ratio: 16 / 9; }
.hero__base { display: grid; gap: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--gray-2); }

/* Teste A (ref: olyver): nome desencontrado, muito branco em volta */
.hero--a .hero__stage { display: flex; flex-direction: column; min-height: 72svh; }
.hero--a .hero__first, .hero--a .hero__last {
  font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -0.045em;
  font-size: clamp(3.5rem, 20vw, 7rem);
}
/* o h1 é display:contents, então a ordem visual vem do order: nome, trabalhos, sobrenome */
.hero--a .hero__first { order: 1; margin-top: auto; align-self: flex-start; }
.hero--a .hero__reel { order: 2; }
.hero--a .hero__last { order: 3; }
.hero--a .hero__base { order: 4; }
.hero--a .hero__reel { width: 76%; margin: 0.4rem 0 0.4rem 12%; }
.hero--a .hero__last { align-self: flex-end; margin-bottom: auto; }
.hero--a .hero__base { margin-top: 2.5rem; }
@media (min-width: 900px) {
  .hero--a .hero__stage { min-height: calc(100svh - 4.25rem); }
  .hero--a .hero__first, .hero--a .hero__last { font-size: min(8.6vw, 19svh); }
  .hero--a .hero__first { margin-left: 21%; }
  .hero--a .hero__reel { width: 22%; margin: 0.25rem 0 0.75rem 38.5%; }
  .hero--a .hero__last { align-self: flex-start; margin-left: 47%; }
}

/* Teste B (ref: adcker): título gigante centralizado, trabalhos entre parênteses */
.hb { position: relative; display: grid; justify-items: center; }
/* O título cabe inteiro na primeira tela: o tamanho sai da altura disponível (4 linhas). */
.hero--b { --hb-h: calc(100svh - 4.25rem - 3rem); }
@media (min-width: 900px) { .hero--b .hb__title { min-height: var(--hb-h); align-content: center; } }
.hb__title {
  display: grid; justify-items: center; text-align: center;
  font-family: var(--sans); font-stretch: 118%; font-weight: 600; text-transform: uppercase;
  font-size: min(18.5vw, var(--hb-h) / 3.5); line-height: 0.86; letter-spacing: -0.035em;
}
.hb__line { display: block; }
.hb__mid { display: flex; align-items: center; justify-content: center; gap: 0.04em; height: 0.86em; }
.hb__mid > span:not(.hb__reel) { font-weight: 400; line-height: 1; }
.hb__ast { font-size: 0.6em; align-self: flex-start; margin-top: 0.1em; margin-right: -0.02em; }
.hb__reel { width: 0.8em; height: 0.8em; aspect-ratio: 1; margin-inline: 0.12em; }
.hb__note { font-family: var(--serif); font-size: 1rem; line-height: 1.2; display: flex; align-items: center; gap: 0.75rem; }
.hb__note .reel__toggle { position: static; width: 2.25rem; height: 2.25rem; background: var(--gray); }
.hb__note--l { display: none; }
.hb__note--r { margin-top: 1rem; }
.hero--b .hero__base { width: 100%; margin-top: 2.5rem; }
/* Teste C: a mesma composição com a condensada do resto do site */
.hero--c .hb__title { font-stretch: 62%; font-weight: 800; letter-spacing: -0.015em; font-size: min(34vw, var(--hb-h) / 3.5); }
.hero--c .hb__mid > span:not(.hb__reel) { font-weight: 500; }
@media (min-width: 900px) {
  .hb__title { font-size: min(15vw, var(--hb-h) / 3.5); }
  .hb__note { position: absolute; font-size: min(15vw, var(--hb-h) / 3.5); }
  .hb__note > span { font-size: 1.25rem; max-width: 12ch; }
  /* posições em "em" do título: linha 2 (parênteses) e linha 3 */
  /* posições em "em" do título (a nota tem o mesmo font-size dele): meio da linha 2 e da linha 3 */
  .hb__note { --top: calc((var(--hb-h) - 3.44em) / 2); }
  .hb__note--r { top: calc(var(--top) + 1.29em); translate: 0 -50%; left: calc(50% + var(--r, 1.65em)); margin: 0; }
  .hb__note--l { display: flex; top: calc(var(--top) + 2.15em); translate: 0 -50%; right: calc(50% + var(--l, 1.45em)); text-align: right; }
  .hero--c .hb__note { font-size: min(34vw, var(--hb-h) / 3.5); --r: 1.15em; --l: 0.88em; }
  .hb__note .reel__toggle { font-size: 1rem; }
}
.hero__reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.hero__reel img.is-on, .hero__reel img.was-on { opacity: 1; }
.hero__reel img.is-on { z-index: 1; }
.reel__toggle {
  position: absolute; right: 0.75rem; bottom: 0.75rem; z-index: 2;
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: var(--white); border: 0; border-radius: 50%; cursor: pointer;
  opacity: 0.85; transition: opacity 0.25s;
}
.reel__toggle:hover { opacity: 1; }
.reel__toggle .icon, .marquee__toggle .icon { width: 1rem; height: 1rem; }
.reel__toggle .icon--play, .marquee__toggle .icon--play { display: none; }
[aria-pressed="true"] > .icon--play { display: block; }
[aria-pressed="true"] > .icon--pause { display: none; }
.hero__lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 40ch; }

/* 2. Declaração (ref: lxl) ----------------------------------------------------- */
.statement { background: var(--black); padding-block: var(--section) calc(var(--section) * 0.6); }
.statement__text {
  font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.6rem, 1rem + 5.6vw, 6rem); line-height: 0.92; letter-spacing: -0.02em;
  text-align: center; text-wrap: balance; max-width: 18ch; margin-inline: auto;
}
.statement__text em {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  text-transform: none; letter-spacing: -0.04em; font-size: 0.78em; color: var(--yellow); line-height: 1;
  /* Centro da altura-x da Coconat alinhado ao centro das maiúsculas da condensada:
     (0,686/2 − 0,78 × 0,508/2) / 0,78 ≈ 0,186em. Só desloca, não mexe no espaçamento das linhas. */
  position: relative; top: -0.186em;
}

/* 4. Sobre (ref: pamidor) ------------------------------------------------------ */
.about { position: relative; background: var(--black); color: var(--on-black); overflow: hidden; }
.about :focus-visible { outline-color: var(--yellow); }
.about__photo { display: block; }
.about__photo img {
  width: 100%; aspect-ratio: 3 / 4; max-height: 115vw; object-fit: cover; object-position: 50% 20%;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent);
          mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.about__copy { position: relative; padding-bottom: var(--section); margin-top: -4rem; }
.about__copy h2 { font-size: clamp(3.5rem, 1.6rem + 6vw, 7.5rem); line-height: 0.86; margin-bottom: 1.75rem; }
.about__copy p { font-size: var(--fs-lead); line-height: 1.5; max-width: 38ch; }
.about__copy p + p { margin-top: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; max-width: 34rem; }
.tags li {
  padding: 0.5em 0.95em; border: 1px solid color-mix(in oklch, var(--ink) 40%, transparent);
  font-size: 0.875rem; font-weight: 500; line-height: 1.2; background: color-mix(in oklch, var(--white) 25%, transparent);
}
.facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 26rem;
  margin-top: 2.5rem; border-top: 1px solid var(--ink);
}
.facts__item { padding: 1.1rem 0.75rem 0 0; }
.facts__item + .facts__item { padding-left: 0.85rem; border-left: 1px solid color-mix(in oklch, var(--ink) 25%, transparent); }
.facts dt {
  font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.5rem, 2rem + 2vw, 3.75rem); line-height: 0.9; font-variant-numeric: lining-nums;
}
.facts dd { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.4; }

/* 5. Agência sem camadas (ref: thundor) ----------------------------------------- */
.compare { background: var(--black); padding-block: var(--section); overflow: clip; }
.compare__line .fit { line-height: 0.82; }
.compare__line { container-type: inline-size; color: var(--yellow); }
.compare__lead {
  max-width: 34ch; margin: clamp(2rem, 1rem + 3vw, 4rem) auto;
  font-family: var(--serif); font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.875rem); line-height: 1.25;
  text-align: center; color: var(--on-black);
}
/* 6. O que eu entrego (ref: the romans) ----------------------------------------- */
.deliver { background: var(--gray); padding-block: var(--section); }
.deliver__intro { text-align: center; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); max-width: 20ch; margin: 0 auto clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.stack { display: grid; justify-items: center; }
.stack__line {
  display: flex; align-items: center; gap: 0.06em;
  font-size: clamp(3rem, 0.5rem + 11vw, 11.5rem);
}
.stack__line--flip .stack__img { order: -1; }
.stack__word { padding-top: 0.04em; white-space: nowrap; }
.stack__img { flex: none; height: 0.82em; aspect-ratio: 1; overflow: hidden; }
.stack__img img { width: 100%; height: 100%; object-fit: cover; }

/* 7. Serviços em órbita (ref: ramotion) ------------------------------------------ */
.services { padding-block: var(--section); }
.center-head { text-align: center; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 5rem); }
.center-head h2 { font-size: clamp(2.5rem, 1.1rem + 5.2vw, 7rem); max-width: 16ch; margin-inline: auto; }
.center-head p { max-width: 42ch; margin: 1.75rem auto 0; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.section-head { display: grid; gap: 1.25rem 4rem; grid-template-columns: minmax(0, 1fr); align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section-head h2 { max-width: 15ch; }
.section-head p { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.orbit { position: relative; }
.orbit__art, .orbit__label { display: none; }
.orbit__group + .orbit__group { margin-top: 2rem; }
.orbit__heading { margin-bottom: 0.9rem; font-size: var(--fs-small); font-weight: 600; }
.orbit__group ul { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.45em 0.95em; border-radius: 999px; white-space: nowrap;
  font-size: 1.0625rem; font-weight: 500; line-height: 1.2;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.pill--core { background: var(--ink); color: var(--white); }
.pill--core:hover { background: var(--yellow); color: var(--on-yellow); }
.pill--out { border: 1px solid var(--gray-2); color: var(--ink-2); background: var(--white); }
.pill__glyph { width: 0.9em; height: 0.9em; flex: none; fill: var(--yellow); }
.pill--core:hover .pill__glyph { fill: var(--ink); }

@media (min-width: 900px) {
  .orbit { container-type: inline-size; aspect-ratio: 1000 / 620; max-width: 70rem; margin-inline: auto; }
  .orbit__art { display: block; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .orbit__ring { fill: none; stroke: oklch(0.6 0 0); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
  .orbit__axis-line { stroke: oklch(0.6 0 0); stroke-width: 1; stroke-dasharray: 1 4; vector-effect: non-scaling-stroke; }
  .orbit__dot { fill: var(--ink); }
  .orbit__label { display: block; position: absolute; font-weight: 600; line-height: 1.2; font-size: clamp(0.9375rem, 1.7cqw, 1.125rem); }
  .orbit__label--brand { right: calc(100% - 10.6%); top: 50%; translate: 0 -50%; text-align: right; }
  .orbit__label--perf { left: 89.4%; top: 50%; translate: 0 -50%; }
  .orbit__label--core { left: 50%; top: 18.5%; translate: -50% 0; text-align: center; }
  .orbit__heading { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .orbit__group + .orbit__group { margin-top: 0; }
  .orbit__group ul { display: contents; }
  .pill {
    position: absolute; left: calc(var(--x) / 10 * 1%); top: calc(var(--y) / 6.2 * 1%);
    translate: -50% -50%; font-size: clamp(0.8125rem, 1.65cqw, 1.125rem);
  }
}

/* 3. Trabalhos: título condensado + carrossel (ref: velour) ------------------------- */
.selected { background: var(--gray); padding-block: var(--section); }
.selected__head { display: grid; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 5rem); }
.selected h2 { font-size: clamp(3.25rem, 1.2rem + 7vw, 8.5rem); line-height: 0.86; max-width: 11ch; }
.selected__side p { max-width: 38ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.selected__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.marquee { overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.marquee.is-dragging { cursor: grabbing; }
.marquee img { -webkit-user-drag: none; pointer-events: none; }
.marquee__track { will-change: transform; }
.marquee__track { display: flex; align-items: flex-end; gap: 1.25rem; width: max-content; }
.marquee__item { flex: none; padding-bottom: 0.75rem; border-bottom: 1px solid var(--ink); }
.marquee__item img { width: 100%; object-fit: cover; background: var(--gray-2); }
.marquee__item--c { width: clamp(11rem, 7rem + 10vw, 17rem); }
.marquee__item--c img { aspect-ratio: 790 / 1185; }
.marquee__item--p { width: clamp(15rem, 9rem + 16vw, 27rem); }
.marquee__item--p img { aspect-ratio: 4 / 3; }
.marquee__controls { display: flex; justify-content: flex-end; margin-top: 1rem; }
.marquee__toggle {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem;
  background: none; border: 1px solid var(--gray-2); border-radius: 50%; cursor: pointer;
  transition: border-color 0.25s;
}
.marquee__toggle:hover { border-color: var(--ink); }

/* 9. Frase fixa com imagens passando (ref: velaa) ------------------------------------ */
.velaa { position: relative; background: var(--black); }
.velaa__sticky {
  position: sticky; top: 0; z-index: 2; height: 100svh;
  display: grid; place-items: center; padding-inline: var(--gutter); pointer-events: none;
}
.velaa__text {
  font-family: var(--serif); font-size: clamp(2.1rem, 1rem + 3.8vw, 4.75rem); line-height: 1.04; letter-spacing: -0.04em;
  text-align: center; max-width: 19ch; text-wrap: balance;
  text-shadow: 0 2px 40px oklch(0 0 0 / 0.55);
}
.velaa__images {
  margin-top: -100svh;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4vw; row-gap: 6vh;
  padding: 30svh var(--gutter) 40svh;
}
.velaa__img--l { grid-column: 1; }
.velaa__img--r { grid-column: 2; margin-top: 26vh; }
.velaa__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: brightness(0.5) saturate(0.9); }

/* 10. Processo: passos em condensada gigante, como a lista de entregas ------------- */
.process { padding-block: var(--section); }
.steps { border-top: 1px solid var(--ink); }
.steps__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 0.25rem 1rem;
  padding-block: clamp(1.25rem, 1rem + 1vw, 2rem); border-bottom: 1px solid var(--gray-2);
}
.steps__n { font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 3rem); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.steps__word {
  font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(3rem, 1rem + 8vw, 8.5rem); line-height: 0.86; letter-spacing: -0.02em;
}
.steps__item p { grid-column: 2; max-width: 36ch; color: var(--ink-2); }
.models { margin-top: var(--section); }
.models__title { font-size: clamp(2.5rem, 1.2rem + 4.4vw, 5.5rem); max-width: 14ch; }
.models__grid { display: grid; grid-template-columns: minmax(0, 1fr); margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.models__item { padding-block: 1.75rem; border-top: 1px solid var(--ink); }
.models__item h4 {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 0.95; margin-bottom: 0.75rem;
}
.models__item p { color: var(--ink-2); max-width: 36ch; }

/* 11. Depoimentos (ref: fundo desfocado com granulado e linhas) ----------------------- */
.testimonials { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section); background: var(--black); }
.testimonials__bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"),
    linear-gradient(oklch(0.13 0 0 / 0.72), oklch(0.13 0 0 / 0.72)),
    url("../img/blur-gray.webp") center / cover;
}
.testimonials__bg::before, .testimonials__bg::after { content: ""; position: absolute; pointer-events: none; }
.testimonials__bg::before { inset: clamp(1.5rem, 4vw, 4rem) 0; border-block: 1px solid oklch(1 0 0 / 0.28); }
.testimonials__bg::after { inset: 0 clamp(1rem, 12vw, 18rem); border-inline: 1px solid oklch(1 0 0 / 0.28); }
.quotes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
/* Foto e nome sempre no pé do card: o tamanho do texto não mexe na posição deles */
.quote { display: flex; flex-direction: column; }
.quote figcaption { margin-top: auto; padding-top: 1.5rem; }
.quote--lead blockquote p::before {
  content: "\201C"; display: block; margin-bottom: 0.1em;
  font-size: 2.4em; line-height: 0.6; color: var(--yellow); font-style: normal;
}
.quote blockquote p { color: oklch(0.93 0 0); max-width: 58ch; }
.quote:not(.quote--lead) blockquote p::before { content: "\201C"; }
.quote blockquote p::after { content: "\201D"; }
.quote--lead { text-align: center; }
.quote--lead blockquote p {
  margin-inline: auto; max-width: 30ch; color: var(--on-black);
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.75rem, 1.15rem + 2.3vw, 3.25rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance;
}
.quote figcaption { display: flex; align-items: center; gap: 0.85rem; font-size: var(--fs-small); }
.quote--lead figcaption { justify-content: center; text-align: left; }
.quote figcaption img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.quote figcaption strong { display: block; font-weight: 600; color: var(--on-black); }
.quote figcaption span { color: oklch(0.85 0 0); line-height: 1.35; }

/* 12. Dúvidas -------------------------------------------------------------------- */
.faq { padding-block: var(--section); background: var(--gray); }
.faq h2 { font-size: clamp(2.5rem, 0.6rem + 4.4vw, 6rem); }
.faq__grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.faq__list { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--gray-2); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  min-height: 3.5rem; padding-block: 1.25rem; cursor: pointer; list-style: none;
  font-size: 1.1875rem; font-weight: 600; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.faq summary .icon--plus { transition: transform 0.4s var(--ease-out); }
.faq details[open] summary .icon--plus { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.5rem; color: var(--ink-2); max-width: 62ch; }

/* 13. Tela limpa (ref: tela preta com texto pequeno) ----------------------------------- */
.interlude {
  display: grid; grid-template-rows: 1fr auto; justify-items: center;
  min-height: 75svh; padding: var(--section) var(--gutter) 3rem; background: var(--black); text-align: center;
}
.interlude__text {
  align-self: center; max-width: 52ch;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.24em; line-height: 2.1; text-transform: uppercase;
}
.interlude__link {
  margin-top: 3rem; padding-block: 0.5rem;
  font-family: var(--serif); font-size: 1.375rem; text-transform: uppercase; letter-spacing: 0.01em;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
  transition: color 0.3s;
}
.interlude__link:hover { color: var(--yellow); }

/* 14. Convite final com prints soltos ------------------------------------------------- */
.closing {
  position: relative; overflow: hidden; display: grid; place-items: center;
  min-height: 100svh; padding: var(--section) var(--gutter); background: var(--black);
}
.closing__float { position: absolute; inset: 0; }
.float {
  position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
  width: calc(var(--w) * 2.2vw); opacity: 0.5;
}
.float--extra { display: none; }
.float img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.closing__center { position: relative; z-index: 1; max-width: 46rem; text-align: center; }
.closing__center::before {
  content: ""; position: absolute; inset: -30% -25%; z-index: -1;
  background: radial-gradient(closest-side, oklch(0.13 0 0 / 0.92) 40%, transparent);
}
.closing h2 { font-size: clamp(3.25rem, 1.4rem + 6vw, 7.5rem); line-height: 0.9; }
.closing__center p { margin: 1.5rem auto 2.25rem; max-width: 36ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--on-black-2); }

/* 15. Rodapé (ref: the romans) ------------------------------------------------------- */
.site-footer { background: var(--gray); color: var(--ink); }
.footer__hello {
  display: block; container-type: inline-size; padding-block: clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1rem, 0.5rem + 1.5vw, 2rem);
  text-decoration: none; transition: color 0.4s var(--ease-out);
}
.footer__hello .fit { line-height: 0.8; padding-top: 0.06em; }
.footer__hello:hover { color: var(--ink-2); }
.footer__wa { display: inline-block; width: 0.74em; height: 0.74em; margin-left: 0.14em; vertical-align: 0.02em; fill: currentColor; transition: color 0.4s var(--ease-out), transform 0.6s var(--ease-out); }
.footer__hello:hover .footer__wa { color: var(--yellow); transform: rotate(-8deg); }
.footer__cols { border-top: 1px solid var(--gray-2); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.footer__col { padding-block: 2rem; }
.footer__col + .footer__col { border-top: 1px solid var(--gray-2); }
.footer__h { font-size: 1.125rem; margin-bottom: 1.25rem; letter-spacing: 0.01em; }
.footer__col p { font-size: var(--fs-small); line-height: 1.5; }
.footer__col p + p { margin-top: 1rem; }
.footer__k { display: block; color: var(--ink-2); }
.footer__col p a { text-decoration: none; font-weight: 600; }
.footer__col p a:hover { text-decoration: underline; }
.footer__nav a { display: block; width: fit-content; padding-block: 0.3rem; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); text-decoration: none; }
.footer__nav a:hover { color: var(--ink-2); }
.footer__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 2rem; padding-block: 1.5rem;
  border-top: 1px solid var(--gray-2); font-size: 0.875rem; color: var(--ink-2);
}
.footer__logo { height: 1.5rem; width: auto; margin-right: auto; }
.footer__bar a { text-decoration: none; padding-block: 0.6rem; }
.footer__bar a:hover { color: var(--ink); text-decoration: underline; }

/* Responsivo ------------------------------------------------------------------------- */
@media (max-width: 899px) {
  .site-nav { display: none; }
  .site-header__actions { margin-left: auto; }
}
@media (max-width: 479px) {
  .btn--small span:not(.sr) { display: none; }
  .btn--small { width: 2.75rem; padding: 0; }
  .logo img { height: 1.0625rem; }
  .hero__base .btn, .selected__actions .btn, .closing .btn { width: 100%; }
  .facts__item { padding-right: 0.5rem; }
  .facts__item + .facts__item { padding-left: 0.6rem; }
}

@media (min-width: 760px) {
  .hero__base { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 3rem; }
  .section-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .steps__item { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 22rem); align-items: end; }
  .steps__item p { grid-column: 3; }
  .selected__head { grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); }
  .models__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(1.5rem, 1rem + 2vw, 3rem); }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(2rem, 1rem + 3vw, 4rem); }
  .quote--lead { grid-column: 1 / -1; padding-bottom: 3.5rem; }
  .quote:not(.quote--lead) { padding-top: 2rem; border-top: 1px solid oklch(1 0 0 / 0.28); }
  .faq__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4rem; }
  .faq__grid h2 { position: sticky; top: 7rem; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__col { padding: 2rem 2rem 3rem 0; }
  .footer__col + .footer__col { border-top: 0; border-left: 1px solid var(--gray-2); padding-left: 2rem; }

  /* Sobre: retrato ocupa a seção, texto à esquerda sobre o fundo claro */
  .about { display: grid; align-items: center; min-height: min(56vw, 100svh); background: var(--black); }
  .about__photo { position: absolute; inset: 0; }
  .about__photo img { height: 100%; aspect-ratio: auto; max-height: none; object-position: 30% 30%; -webkit-mask-image: none; mask-image: none; }
  .about__photo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to right, oklch(0.13 0 0 / 0.92), oklch(0.13 0 0 / 0.6) 38%, transparent 58%);
  }
  .about__copy { margin-top: 0; padding-block: var(--section); }
  .about__copy > * { max-width: 34rem; }
}

@media (min-width: 900px) {
  /* Hero: nome em duas linhas desencontradas com a imagem no meio */

  .velaa__images { column-gap: 8vw; padding-inline: 6vw; }
  .float { width: calc(var(--w) * 1vw); }
  .float--extra { display: block; }
}

/* Movimento ---------------------------------------------------------------------------- */
/* Tudo começa visível; a animação só toca quando o elemento entra na tela (main.js adiciona .is-in). */
@media (prefers-reduced-motion: no-preference) {
  .hero__first, .hero__last { animation: rise 1.2s var(--ease-out) both; }
  .hero__last { animation-delay: 0.12s; }
  .hb__line { animation: rise 1.1s var(--ease-out) both; }
  .hb__line:nth-child(2) { animation-delay: 0.08s; } .hb__line:nth-child(3) { animation-delay: 0.16s; } .hb__line:nth-child(4) { animation-delay: 0.24s; }
  @keyframes rise { from { transform: translateY(0.18em); filter: blur(6px); } to { transform: none; filter: none; } }

  [data-reveal].is-in { animation: card-up 1s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms); }
  [data-reveal="pop"].is-in { animation-name: pop; animation-duration: 0.8s; animation-delay: calc(var(--d, 0) * 70ms + 150ms); }
  [data-reveal="wipe"].is-in { animation-name: wipe; animation-duration: 1.1s; animation-delay: 0.1s; }
  @keyframes card-up { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
  @keyframes pop { from { opacity: 0; scale: 0.7; filter: blur(4px); } to { opacity: 1; scale: 1; filter: none; } }
  @keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

  .orbit__ring { transform-box: fill-box; transform-origin: center; animation: spin 90s linear infinite; }
  .orbit__ring + .orbit__ring { animation-duration: 60s; animation-direction: reverse; }
  @keyframes spin { to { rotate: 360deg; } }


  /* Movimento ligado ao scroll: só anda quando a pessoa rola */
  @supports (animation-timeline: view()) {
    .statement .w { animation: lit linear both; animation-timeline: view(); animation-range: entry 40% cover 50%; }
    @keyframes lit { from { opacity: 0.5; } to { opacity: 1; } }

    .compare__line .fit { animation: slide-l linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .compare__line:last-of-type .fit { animation-name: slide-r; }
    @keyframes slide-l { from { translate: -18% 0; opacity: 0.3; } to { translate: 0 0; opacity: 1; } }
    @keyframes slide-r { from { translate: 18% 0; opacity: 0.3; } to { translate: 0 0; opacity: 1; } }

    .float { animation: float linear both; animation-timeline: view(); }
    @keyframes float { from { translate: 0 calc(var(--s) * 9vh); } to { translate: 0 calc(var(--s) * -9vh); } }

    .about__photo img { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
    @keyframes settle { from { scale: 1.08; } to { scale: 1; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); }
  .marquee__item { scroll-snap-align: start; }
  .marquee__item[aria-hidden="true"] { display: none; }
  .marquee__controls, .reel__toggle { display: none; }
}

/* ==========================================================================
   Proposta (/p/<cliente>/): resumo do site + escopo e orçamento.
   Gerada pelo build.mjs a partir de content/propostas/*.json.
   ========================================================================== */
.pr-header__label {
  margin-inline: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2);
}

/* Hero: "Design ( trabalhos ) para" + nome do cliente na largura toda */
.pr-hero { padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(3rem, 2rem + 3vw, 5rem); }
.pr-meta {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; padding-bottom: 1rem; margin-bottom: clamp(2rem, 1rem + 4vw, 4.5rem);
  border-bottom: 1px solid var(--gray-2); font-size: var(--fs-small);
}
.pr-meta div { display: flex; gap: 0.45rem; }
.pr-meta dt { color: var(--ink-2); }
.pr-meta dd { font-weight: 600; }
.pr-title {
  display: block; container-type: inline-size; text-align: center;
  font-family: var(--sans); font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.015em; line-height: 0.86;
}
.pr-title__top {
  display: flex; align-items: center; justify-content: center; gap: 0.04em;
  font-size: clamp(3.25rem, 1rem + 11vw, 11rem); height: 0.9em;
}
.pr-paren { font-weight: 500; }
.pr-title__top em {
  font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%;
  text-transform: none; letter-spacing: -0.04em; font-size: 0.78em; color: var(--em); margin-left: 0.18em;
  /* centro da altura-x da Coconat no centro das maiúsculas (mesma conta do bloco preto, aqui dentro do flex) */
  position: relative; top: -0.097em;
}
.pr-reel { width: 0.8em; height: 0.8em; aspect-ratio: 1; margin-inline: 0.1em; }
.pr-client { margin-top: 0.08em; padding-bottom: 0.04em; }
.pr-intro {
  display: grid; gap: 2rem; margin-top: clamp(2rem, 1rem + 3vw, 4rem);
  padding-top: 1.5rem; border-top: 1px solid var(--gray-2);
}
.pr-intro__text { max-width: 44ch; font-size: var(--fs-lead); line-height: 1.5; color: var(--ink-2); }
.pr-intro__text strong { color: var(--ink); font-weight: 600; }
.pr-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); border-top: 1px solid var(--ink); }
.pr-glance div { padding: 1rem 1rem 0 0; }
.pr-glance div + div { padding-left: 1rem; border-left: 1px solid var(--gray-2); }
.pr-glance dt { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.pr-glance dd {
  margin-top: 0.35rem; font-stretch: 62%; font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 1.3rem + 1.2vw, 2.6rem); line-height: 0.95; font-variant-numeric: lining-nums; white-space: nowrap;
}

/* Quem faz: cabeçalho da seção de trabalhos com os números do Sobre */
.is-proposal .selected .facts { margin-top: 2rem; }

/* Escopo */
.pr-scope { padding-block: var(--section); }
.pr-scope__list { border-top: 1px solid var(--ink); }
.pr-scope__item {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.75rem 1rem; align-items: baseline;
  padding-block: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); border-bottom: 1px solid var(--gray-2);
}
.pr-scope__title {
  font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em;
  font-size: clamp(2.25rem, 1rem + 4.6vw, 5rem); line-height: 0.88; text-wrap: balance;
}
.pr-scope__body { grid-column: 2; }
.pr-scope__body > p:first-child { max-width: 46ch; color: var(--ink-2); }
.pr-scope__body .tags { margin-top: 1.25rem; }
.pr-scope__time { margin-top: 1.25rem; font-size: var(--fs-small); font-weight: 600; }
.pr-scope__time span { font-weight: 400; color: var(--ink-2); margin-right: 0.35rem; }

/* Orçamento */
.pr-budget { padding-block: var(--section); background: var(--gray); }
.pr-budget__grid { display: grid; gap: 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
.pr-budget h2 { font-size: clamp(3rem, 1rem + 6vw, 7.5rem); line-height: 0.86; }
/* Título todo em Coconat: sem a condensada, a serifa vai no tamanho cheio */
.pr-budget h2 em { font-size: 1em; line-height: 0.9; }
.pr-table { width: 100%; border-collapse: collapse; font-variant-numeric: lining-nums tabular-nums; }
.pr-table th, .pr-table td { padding: 1rem 0; text-align: left; vertical-align: baseline; border-bottom: 1px solid var(--gray-2); }
.pr-table td:last-child { text-align: right; padding-left: 1.5rem; white-space: nowrap; font-weight: 600; }
.pr-table thead th { padding-top: 0; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); border-bottom-color: var(--ink); }
.pr-table thead th:last-child { text-align: right; }
.pr-table__off td { color: var(--ink-2); }
.pr-table tfoot th, .pr-table tfoot td {
  padding-top: 1.25rem; border-bottom: 0;
  font-stretch: 62%; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.5rem); line-height: 0.9;
}
.pr-table tfoot th { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); }
.pr-budget__note { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--ink); }
.pr-budget__note h3 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.5rem; }
.pr-budget__note p, .pr-budget__note li { color: var(--ink-2); max-width: 52ch; }
.pr-budget__note li { padding-left: 1rem; position: relative; }
.pr-budget__note li::before { content: "–"; position: absolute; left: 0; }
.pr-budget__note li + li { margin-top: 0.35rem; }

/* Convite final com dois botões */
.pr-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.closing .btn--ghost { color: var(--on-black); }
.is-proposal .footer__bar span a { text-decoration: none; }
.is-proposal .footer__bar span a:hover { text-decoration: underline; }

@media (max-width: 599px) {
  .pr-header__label { display: none; }
  .pr-glance { grid-template-columns: minmax(0, 1fr); }
  .pr-glance div, .pr-glance div + div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 0.85rem 0; border-left: 0; border-bottom: 1px solid var(--gray-2); }
  .pr-glance dd { margin-top: 0; font-size: 1.9rem; }
  .is-proposal .site-header__actions { margin-left: auto; }
  .pr-actions .btn { width: 100%; }
}
@media (min-width: 760px) {
  .pr-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: end; gap: 3rem; }
  .pr-scope__item { grid-template-columns: 5rem minmax(0, 1fr) minmax(0, 26rem); }
  .pr-scope__body { grid-column: 3; }
}
@media (min-width: 900px) {
  /* O título é medido pela largura da própria coluna (cqw), senão a palavra longa
     ("investimento.") passa por baixo da tabela entre 900 e 1300px. */
  .pr-budget__grid { container-type: inline-size; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
  .pr-budget h2 { position: sticky; top: 7rem; font-size: min(7.5rem, 6.3cqw); }
}

/* Impressão / salvar em PDF: só o conteúdo, sem carrossel e sem prints soltos */
@media print {
  .site-header, .skip, .marquee, .marquee__controls, .closing__float, .pr-actions, .statement { display: none !important; }
  .closing { min-height: 0; }
  [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; }
  .pr-scope__item, .pr-table tr, .quote { break-inside: avoid; }
}

/* Sobre em fundo escuro (foto no café): tags, números e divisórias em tons claros */
.about .tags li { border-color: oklch(1 0 0 / 0.35); background: oklch(0.13 0 0 / 0.35); }
.about .facts { border-top-color: oklch(1 0 0 / 0.6); }
.about .facts__item + .facts__item { border-left-color: oklch(1 0 0 / 0.25); }
.about__copy p { color: oklch(0.9 0 0); }
