/* Método PACTO · Dani Carmo */

@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-light-italic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-regular-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Blauer Nue"; src: url("../fonts/blauernue-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodonimoda-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --night: #010328;
  --slate: #323e6b;
  --slate-deep: #283359;
  --rust: #973714;
  --rust-deep: #7e2d0f;
  --paper: #f4e8d3;
  --paper-deep: #eadcc2;
  --mist: #efefef;

  --ink: var(--night);
  --ink-soft: #3a4470;
  --on-dark: var(--paper);
  --on-dark-soft: #cfc6c0;

  --font: "Blauer Nue", "Helvetica Neue", Arial, sans-serif;

  /* five type steps */
  --t-display: clamp(2.5rem, 6.4vw, 6rem);
  --t-title: clamp(1.75rem, 3.4vw, 3.25rem);
  --t-lead: clamp(1.25rem, 1.7vw, 1.625rem);
  --t-body: 1.0625rem;
  --t-small: 0.875rem;

  --m: clamp(18px, 1.6vw, 24px);
  --pad: clamp(24px, 4.4vw, 72px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(56px, 6vw, 96px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --scallop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 14 A14 14 0 0 1 28 14 Z'/%3E%3C/svg%3E");
  --scallop-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M0 0 A14 14 0 0 0 28 0 Z'/%3E%3C/svg%3E");
  --solid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect width='8' height='8'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--slate) var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--on-dark);
  font-family: var(--font);
  font-size: var(--t-body);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-variant-numeric: tabular-nums;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--rust); color: var(--paper); }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--paper); }
h1, h2, h3 { font-weight: 300; letter-spacing: -0.03em; line-height: 1.02; text-wrap: balance; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: var(--m); top: -100px; background: var(--paper); color: var(--night); padding: 12px 16px; z-index: 100; }
.skip:focus { top: var(--m); }
.pending { background: rgba(151, 55, 20, 0.14); padding: 0 0.25em; }

/* the brush word: thin high-contrast italic, one per phrase (from Dani's own identity) */
.brush {
  font-family: "Bodoni Moda", "Didot", "Bodoni 72", serif; font-style: italic; font-weight: 560;
  font-size: 1.1em; letter-spacing: -0.005em; color: var(--brush, var(--slate));
  font-variation-settings: "opsz" 20; padding-right: 0.03em;
}
body, .on-slate, .tapete { --brush: #a9c6dd; }
.on-paper, .pact, .picker__q, .letter, .terms, .ticket, .mini-ticket, .reply__card, .back, .card, .dlg { --brush: var(--slate); }
.pact h1 .brush { font-size: 1.02em; font-weight: 520; }
.letter__body .brush { font-size: 1.12em; }

/* buttons: one shape, square */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 0; border-radius: 0; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
  user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn--rust { background: var(--rust); color: var(--paper); }
.btn--night { background: var(--night); color: var(--paper); }
.btn--ghost { background: transparent; color: var(--night); border: 2px solid var(--night); }
.btn--ghost-light { background: transparent; color: var(--paper); border: 2px solid var(--paper); }
.btn .arrow { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--rust:hover { background: var(--rust-deep); }
  .btn--night:hover { background: var(--slate); }
  .btn--ghost:hover { background: var(--night); color: var(--paper); }
  .btn--ghost-light:hover { background: var(--paper); color: var(--night); }
  .btn:hover .arrow { transform: translateX(4px); }
}
.micro { font-size: var(--t-small); color: var(--ink-soft); }

/* header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 var(--m);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.spiral { display: inline-block; aspect-ratio: 800 / 542; background: currentColor; -webkit-mask: url("../img/simbolo.webp") center / contain no-repeat; mask: url("../img/simbolo.webp") center / contain no-repeat; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); font-size: var(--t-small); }
.site-nav a:not(.btn) { text-decoration: none; padding: 8px 0; color: var(--on-dark-soft); transition: color 200ms ease; }
@media (hover: hover) { .site-nav a:not(.btn):hover { color: var(--paper); } }
.site-nav .btn { min-height: 44px; padding: 0 18px; font-size: var(--t-small); }

/* hero */
.hero {
  display: grid; grid-template-columns: 7fr 5fr; gap: 12px;
  padding: 0 var(--m) var(--m);
  min-height: calc(100svh - 76px);
}
.pact {
  container-type: inline-size;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
}
.pact__band { display: flex; gap: 6px; padding: 6px; background: var(--paper); }
.pact__band span:nth-child(even) { background: var(--slate); }
.pact__band span {
  flex: 1; display: grid; place-items: center; height: 56px;
  background: var(--night); color: var(--paper);
  font-weight: 500; font-size: 1.375rem; letter-spacing: 0.02em;
}
.pact__body {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(40px, 6cqi, 80px) clamp(20px, 6cqi, 72px);
}
.pact h1 { font-size: clamp(1.625rem, 7cqi, 4.25rem); line-height: 0.98; letter-spacing: -0.035em; }
.pact h1 span { display: block; white-space: nowrap; }
.pact h1 span + span { font-weight: 500; font-size: 1.34em; letter-spacing: -0.04em; margin-top: 0.06em; }
.pact__lead { margin-top: 36px; max-width: 40ch; font-size: var(--t-body); color: var(--ink); }
.pact__actions { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pact__actions + .micro { margin-top: 16px; }
.pact__foot {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px;
  padding: 20px 24px 28px; font-size: var(--t-small); color: var(--ink-soft);
  border-top: 6px dotted var(--paper-deep);
}

.portrait {
  position: relative; overflow: hidden;
  background: var(--slate);
  display: flex; align-items: flex-end; justify-content: center;
}
.portrait__spiral {
  position: absolute; width: 150%; left: -18%; top: 6%;
  color: var(--slate-deep);
  animation: drift 140s linear infinite;
}
.portrait__frames { position: relative; width: 100%; height: 100%; }
.portrait__frames img {
  position: absolute; bottom: -12%; margin: 0;
  width: min(108%, 700px); height: auto; left: 50%; right: auto; transform: translateX(-50%);
  transition: opacity 1600ms ease;
}
.portrait__frames img:not(.is-on) { opacity: 0; }
.portrait figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 2;
  background: var(--night); color: var(--paper); padding: 8px 12px; font-size: var(--t-small);
}
@keyframes drift { to { transform: rotate(360deg); } }

/* separator dot centred on x-height */
.dot { display: inline-block; width: 4px; height: 4px; margin: 0 0.5em; border-radius: 50%; background: currentColor; vertical-align: 0.22em; }
.nowrap { white-space: nowrap; }

/* section scaffolding */
.section { padding: var(--section) var(--m); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.title { font-size: var(--t-title); }
.statement { font-size: clamp(1.375rem, 2.3vw, 2.125rem); line-height: 1.28; letter-spacing: -0.02em; font-weight: 300; max-width: 30ch; }
.on-paper { background: var(--paper); color: var(--ink); }
.on-slate { background: var(--slate); color: var(--paper); }

/* dores: drag row */
.dores__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.dores__top .statement { margin-top: 20px; color: var(--on-dark-soft); }
.row-ctrl { display: flex; gap: 8px; }
.row-ctrl button {
  width: 52px; height: 52px; border: 0; background: var(--paper); color: var(--night); cursor: pointer;
  display: grid; place-items: center; transition: transform 160ms var(--ease-out), opacity 200ms ease;
}
.row-ctrl button:active { transform: scale(0.94); }
.row-ctrl button[disabled] { opacity: 0.35; cursor: default; }
.row-ctrl svg { width: 22px; height: 22px; }
.progress { margin-top: 40px; height: 6px; background: var(--slate); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(0.2); transition: transform 120ms linear; }
.scenes {
  display: flex; gap: 32px; margin: 48px 0 0; padding: 0 0 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.scenes::-webkit-scrollbar { display: none; }
.scene { flex: 0 0 300px; min-width: 0; scroll-snap-align: start; display: flex; flex-direction: column; }
.scene h3 { font-size: var(--t-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.scene p { margin-top: 10px; color: var(--on-dark-soft); font-size: var(--t-body); line-height: 1.5; }
.scene__gap { flex: 0 0 calc(var(--h, 96px) * 0.35); }
.scene__note {
  margin-top: auto; padding: 22px 24px 24px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--paper); color: var(--night);
}
.scene__note strong { font-weight: 300; font-size: clamp(1.625rem, 2.3vw, 2.125rem); line-height: 1; letter-spacing: -0.035em; }
.scene__note span { font-size: var(--t-small); color: var(--ink-soft); }
.scene:nth-child(5n+2) .scene__note { background: var(--slate-deep); color: var(--paper); }
.scene:nth-child(5n+2) .scene__note span { color: var(--paper); }
.scene:nth-child(5n+3) .scene__note { background: var(--slate); color: var(--paper); }
.scene:nth-child(5n+3) .scene__note span { color: var(--on-dark-soft); }
.scene:nth-child(5n+4) .scene__note { background: var(--mist); }
.dores__close { margin-top: clamp(40px, 4vw, 64px); font-size: clamp(1.375rem, 2.3vw, 2.125rem); font-weight: 300; letter-spacing: -0.02em; line-height: 1.28; max-width: 34ch; }
.dores__close b { font-weight: 500; }

/* live thing */
.picker { margin-top: clamp(40px, 4.5vw, 72px); background: var(--paper); color: var(--ink); }
.picker__q { padding: clamp(28px, 3.4vw, 48px) var(--pad); }
.picker__q h3 { font-size: var(--t-title); }
.picker__q p { margin-top: 16px; color: var(--ink-soft); max-width: 46ch; }
.chips { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  min-height: 48px; padding: 0 20px; border: 0; cursor: pointer;
  background: var(--paper-deep); color: var(--night); font-weight: 500; font-size: 1rem;
  transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out);
}
.chip:active { transform: scale(0.97); }
.chip[aria-checked="true"] { background: var(--night); color: var(--paper); }
@media (hover: hover) { .chip:not([aria-checked="true"]):hover { background: #e1d1b4; } }
.picker__a {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.9fr); gap: 0 clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3vw, 40px) var(--pad); background: var(--slate); color: var(--paper);
  border-top: 6px dotted var(--paper);
}
.picker__letter { min-width: 0.9em; font-size: clamp(4.5rem, 8vw, 7rem); font-weight: 300; line-height: 0.8; letter-spacing: -0.04em; color: var(--paper); }
.picker__a h4 { margin: 0; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.picker__a p { margin-top: 12px; max-width: 52ch; color: var(--on-dark-soft); }
.picker__a .btn { margin-top: 20px; }
.picker__path { margin-top: 14px; font-size: var(--t-small); color: var(--on-dark-soft); }
.picker__path b { color: var(--paper); font-weight: 600; }

/* virada: title, note, facts */

/* método: stacking sheets */
.metodo__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.metodo__head h2 { font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.04em; }
.metodo__head p { max-width: 34ch; color: var(--on-dark-soft); }
.sheets { position: relative; --tab: 72px; --top: 16px; --sheet-h: clamp(280px, 40svh, 380px); }
/* the price card is the sixth layer: it lands on Operação and covers its body, so only the five tabs remain */
.sheet-end { position: sticky; top: calc(var(--top) + 5 * var(--tab)); z-index: 1; }
.sheet-end .mini-ticket { min-height: calc(var(--sheet-h) - var(--tab)); }
.sheet {
  --i: 0;
  position: sticky; top: calc(16px + var(--i) * 72px);
  height: var(--sheet-h);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 72px auto 1fr;
  column-gap: var(--gap);
  overflow: hidden;
  background: var(--bg); color: var(--fg);
  margin-bottom: 24px;
}
.sheet__tab { grid-column: 1 / -1; grid-row: 1; margin: 0; display: flex; align-items: center; gap: 10px; padding: 0 var(--pad); font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; white-space: nowrap; overflow: hidden; }
.sheet__tab i { font-style: normal; font-weight: 300; }
.sheet__tab .dot { margin: 0 0.5em 0 0; }
.sheet__tab b { font-weight: 300; }
.sheet__tab .k { font-weight: 600; }
.sheet__text { grid-column: 1 / span 7; grid-row: 2; align-self: start; padding: 8px var(--pad) 36px; }
.sheet__text .sub { font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
.sheet__text > p { font-size: var(--t-body); font-weight: 500; max-width: 40ch; }
.sheet__text ul { margin-top: 28px; display: grid; gap: 10px; max-width: 44ch; }
.sheet__text li { padding-left: 22px; position: relative; }
.sheet__text li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 8px; height: 8px; background: currentColor; border-radius: 50%; }
.sheet__letter {
  grid-column: 7 / -1; grid-row: 2 / -1; align-self: end; justify-self: end;
  font-size: clamp(9rem, 19vw, 19rem); font-weight: 300; line-height: 0.74; letter-spacing: -0.04em;
  color: var(--letter); margin: 0 calc(var(--pad) * 0.4) -0.04em 0;
  user-select: none;
}
.sheet--p { --bg: var(--paper); --fg: var(--night); --letter: var(--night); }
.sheet--a { --bg: var(--slate); --fg: var(--paper); --letter: var(--paper); --i: 1; }
.sheet--c { --bg: var(--rust); --fg: var(--paper); --letter: var(--paper); --i: 2; }
.sheet--t { --bg: var(--mist); --fg: var(--night); --letter: var(--slate); --i: 3; }
.sheet--o { --bg: var(--paper); --fg: var(--night); --letter: var(--night); --i: 4; margin-bottom: 0; }

/* para quem: the conditions sheet */
.condicoes { display: grid; place-items: center; }
.terms {
  width: min(100%, 1180px); background: var(--paper); color: var(--ink);
  padding: 44px clamp(22px, 5vw, 64px);
  -webkit-mask: var(--scallop) top left / 28px 14px repeat-x, var(--solid) 0 14px / 100% calc(100% - 28px) no-repeat, var(--scallop-down) bottom left / 28px 14px repeat-x;
  mask: var(--scallop) top left / 28px 14px repeat-x, var(--solid) 0 14px / 100% calc(100% - 28px) no-repeat, var(--scallop-down) bottom left / 28px 14px repeat-x;
}
.terms > h2 { font-size: var(--t-title); text-align: center; }
.terms > p { text-align: center; margin: 8px auto 0; max-width: 40ch; color: var(--ink-soft); }
.terms__cols { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 5vw, 72px); }
.terms__group { padding-top: 8px; }
.terms__group + .terms__group { border-left: 6px dotted var(--paper-deep); padding-left: clamp(24px, 5vw, 72px); }
.terms__group h3 { font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; }
.terms__group ul { margin-top: 16px; display: grid; gap: 10px; }
.terms__group li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 1rem; line-height: 1.45; }
.terms__group svg { width: 22px; height: 22px; margin-top: 0; }
.terms__group--no li { color: var(--ink-soft); }

/* quem sou eu */
.sobre { align-items: start; }
.sobre__photo { grid-column: 1 / span 5; position: sticky; top: 24px; }
.sobre__letter { grid-column: 7 / span 6; }
.letter {
  background: var(--paper); color: var(--ink);
  padding: clamp(28px, 5vw, 64px);
  -webkit-mask: var(--solid) 0 0 / 100% calc(100% - 14px) no-repeat, var(--scallop-down) bottom left / 28px 14px repeat-x;
  mask: var(--solid) 0 0 / 100% calc(100% - 14px) no-repeat, var(--scallop-down) bottom left / 28px 14px repeat-x;
}
.letter h2 { font-size: var(--t-title); }
.letter__body { margin-top: 32px; display: grid; gap: 1.2em; font-size: 1.0625rem; line-height: 1.6; max-width: 58ch; }
.letter__body p:first-child { font-size: var(--t-lead); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.letter__sign { margin-top: 40px; }
.letter__sign strong { display: block; font-size: var(--t-lead); font-style: italic; font-weight: 300; letter-spacing: -0.02em; }
.letter__sign span { font-size: var(--t-small); color: var(--ink-soft); }
.stub {
  margin-top: 6px; padding: 20px clamp(28px, 5vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center;
  background: var(--paper); color: var(--ink); border-top: 6px dotted var(--night);
}
.stub a { font-weight: 500; }

/* placeholder for pending photographs */
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--slate); color: var(--paper);
  display: flex; align-items: flex-end; padding: 24px;
}
figcaption.cap { margin-top: 12px; font-size: var(--t-small); color: var(--on-dark-soft); }

/* prova */
.prova__head { align-items: end; }
.prova__head h2 { grid-column: 1 / span 9; font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.04em; }
.prova__head p { grid-column: 10 / span 3; color: var(--ink-soft); }
.logos { margin-top: clamp(48px, 5vw, 80px); }
.logos h3 { font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; }
.logos ul { margin-top: 32px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.logos li { background: var(--mist); display: grid; place-items: center; aspect-ratio: 3 / 2; overflow: hidden; }
.logos img { width: 78%; height: auto; mix-blend-mode: multiply; }

/* duas formas: the ticket and its stub */
.formas__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.formas__head h2 { font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.04em; }
.formas__head p { max-width: 32ch; font-size: var(--t-lead); line-height: 1.3; color: var(--on-dark-soft); }
.ticket { display: grid; grid-template-columns: 7fr 5fr; background: var(--paper); color: var(--ink); }
.ticket__main { padding: var(--pad); }
.ticket__stub { padding: var(--pad); background: var(--mist); border-left: 8px dotted var(--night); display: flex; flex-direction: column; }
.ticket h3 { font-size: var(--t-title); }
.ticket .intro { margin-top: 16px; max-width: 42ch; }
.ticket__main ul { margin-top: 32px; display: grid; gap: 14px; }
.ticket__main li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.ticket svg { width: 22px; height: 22px; margin-top: 2px; }
.price { margin-top: 32px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; }
.price strong { font-size: var(--t-display); font-weight: 300; letter-spacing: -0.04em; line-height: 0.9; }
.price span { color: var(--ink-soft); }
.ticket__main .btn, .ticket__stub .btn { margin-top: 32px; width: 100%; max-width: 420px; }
.ticket .micro { margin-top: 14px; }
.ticket__stub p.intro { margin-top: 20px; max-width: 40ch; }
.steps { margin-top: 32px; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: baseline; }
.steps li::before { counter-increment: s; content: counter(s); font-size: var(--t-lead); font-weight: 300; color: var(--slate); line-height: 1; }
.ticket__stub .push { margin-top: auto; }
.alem { margin-top: 28px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.alem h3 { grid-column: 1 / span 4; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.2; }
.alem p { grid-column: 6 / span 7; color: var(--on-dark-soft); }


/* shared CTA pair */
.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; }
.btn--paper { background: var(--paper); color: var(--night); }
@media (hover: hover) and (pointer: fine) { .btn--paper:hover { background: var(--mist); } }

/* picker autoplay cue */
.chip { position: relative; overflow: hidden; }
.chip::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rust); transform: scaleX(0); transform-origin: left; }
.picker.is-auto .chip[aria-checked="true"]::after { animation: chip-fill 5000ms linear forwards; }
@keyframes chip-fill { to { transform: scaleX(1); } }

/* virada: one card holds the whole argument */
.tapete {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  background: var(--night); color: var(--paper);
}
.tapete__text { grid-column: 1 / span 7; padding: var(--pad) var(--pad) 40px; align-self: end; }
.tapete__text h2 { font-size: var(--t-title); line-height: 1; letter-spacing: -0.035em; }
.tapete__text p { margin-top: 28px; max-width: 52ch; color: var(--on-dark-soft); }
.tapete__photo { grid-column: 8 / -1; grid-row: 1 / span 2; margin: 0; overflow: hidden; }
.tapete__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tapete__costs { grid-column: 1 / span 7; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 0 0 var(--pad); align-self: end; margin-bottom: var(--pad); }
.tapete__costs li { background: var(--slate); padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 10px; }
.tapete__costs strong { font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.tapete__costs span { color: var(--on-dark-soft); font-size: 0.9375rem; line-height: 1.45; }
.tapete__foot {
  grid-column: 1 / -1; display: flex; align-items: center; gap: clamp(20px, 3vw, 40px);
  padding: 28px var(--pad); background: var(--paper-deep); color: var(--night);
  border-top: 8px dotted var(--night);
}
.tapete__foot .spiral { flex: 0 0 auto; width: 72px; color: var(--slate); }
.tapete__foot p { flex: 1; font-size: var(--t-lead); line-height: 1.3; letter-spacing: -0.015em; max-width: 46ch; }

/* mini ticket after the modules */
.mini-ticket {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px clamp(24px, 4vw, 64px);
  background: var(--paper); color: var(--ink); padding: 24px var(--pad);
  border-left: 10px dotted var(--night);
}
.mini-ticket__name strong, .mini-ticket__price strong { display: block; font-size: var(--t-title); font-weight: 300; letter-spacing: -0.03em; line-height: 1; }
.mini-ticket > div > span { display: block; margin-top: 8px; font-size: var(--t-small); color: var(--ink-soft); }
.mini-ticket__price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.mini-ticket__price .btn { margin-top: 18px; }
.mini-ticket ul { margin-top: 18px; display: grid; gap: 8px; }
.mini-ticket li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 1rem; }
.mini-ticket svg { width: 20px; height: 20px; margin-top: 2px; }

/* conditions CTA */
.terms__cta { margin-top: 28px; padding-top: 22px; border-top: 6px dotted var(--paper-deep); display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: center; gap: 12px 20px; }
.terms__cta .or { line-height: 56px; font-size: 1.5rem; }
.terms__diag { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.terms__diag .micro { margin: 0; }

/* credentials strip with perforated dividers */

.sobre__img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.creds {
  margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  background: var(--slate);
}
.creds li { padding: 26px 18px 28px; text-align: center; }
.creds li + li { border-left: 6px dotted rgba(244, 232, 211, 0.32); }
.creds strong { display: block; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; }
.creds span { display: block; margin-top: 10px; font-size: var(--t-small); color: var(--on-dark-soft); }

/* prova: videos + WhatsApp prints */
.prova { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); align-items: stretch; }
.vids { position: relative; margin: 0; background: var(--night); overflow: hidden; aspect-ratio: 9 / 16; max-height: 820px; justify-self: stretch; }
.vids video { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 400ms ease; }
.vids.is-swapping video { opacity: 0; }
.vids__bars { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; gap: 6px; }
.vids__bars span { flex: 1; height: 4px; background: rgba(244, 232, 211, 0.35); overflow: hidden; }
.vids__bars i { display: block; height: 100%; background: var(--paper); transform: scaleX(0); transform-origin: left; }
.vids__ctrl { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; }
.vids__ctrl .btn { flex: 1; min-height: 48px; padding: 0 12px; font-size: 0.9375rem; }
.vids__ctrl .btn--ghost-light { background: rgba(1, 3, 40, 0.55); }
.prints { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); height: 0; min-height: 100%; overflow: hidden; background: var(--paper-deep); padding: 0 var(--gap); }
.prints__col { display: flex; flex-direction: column; gap: var(--gap); animation: prints-up 60s linear infinite; }
.prints__col--down { animation-name: prints-down; animation-duration: 52s; }
.prints:hover .prints__col, .prints:focus-within .prints__col { animation-play-state: paused; }
.prints li { background: #fff; padding: 6px; }
.prints img { width: 100%; height: auto; }
@keyframes prints-up { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--gap) / 2)); } }
@keyframes prints-down { from { transform: translateY(calc(-50% - var(--gap) / 2)); } to { transform: translateY(0); } }
.prova__cta { margin-top: clamp(32px, 4vw, 56px); display: flex; justify-content: center; }

/* event strip */
.eventos { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.eventos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.footer-logo { display: block; width: min(560px, 70vw); height: auto; margin: 56px 0 24px; }

/* faq: index cards */
.faq__inner { width: min(100%, 980px); margin: 0 auto; }
.faq__inner h2 { font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.04em; margin-bottom: 36px; }
.card {
  --tab-x: calc(var(--n, 0) * min(118px, 9vw));
  position: relative; margin-top: -10px;
  background: var(--cbg, var(--paper)); color: var(--night);
  clip-path: polygon(var(--tab-x) 0, calc(var(--tab-x) + 220px) 0, calc(var(--tab-x) + 236px) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px, max(0px, calc(var(--tab-x) - 16px)) 40px);
}
.card:nth-child(3n+2) { --cbg: var(--mist); }
.card:nth-child(3n+3) { --cbg: var(--paper-deep); }
.card summary {
  list-style: none; cursor: pointer; display: block; padding: 0 clamp(20px, 4vw, 48px) 28px;
}
.card summary::-webkit-details-marker { display: none; }
.card__tab { display: block; height: 40px; }
.card__q { display: flex; justify-content: space-between; gap: 24px; align-items: baseline; padding-top: 18px; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }
.card__q::after { content: "Ver resposta"; flex: 0 0 auto; font-size: var(--t-small); font-weight: 600; color: var(--slate); text-decoration: underline; text-underline-offset: 0.25em; }
.card[open] .card__q::after { content: "Fechar"; color: var(--ink-soft); }
.card__a { padding: 0 clamp(20px, 4vw, 48px) 36px; max-width: 64ch; font-size: 1.0625rem; }
.card summary:focus-visible { outline-offset: -6px; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .card::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .card[open]::details-content { height: auto; }
}

/* final: the reply card */
.reply { position: relative; overflow: hidden; padding-bottom: 0; min-height: 0; padding-top: clamp(72px, 8vw, 128px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
.reply__note { grid-column: 1 / span 4; align-self: end; padding-bottom: 72px; }
.reply__note p { font-size: var(--t-lead); line-height: 1.32; color: var(--on-dark-soft); }
.reply__note p + p { margin-top: 20px; color: var(--paper); }
.reply__card {
  grid-column: 6 / -1; margin-bottom: -60px;
  background: var(--paper); color: var(--ink);
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px) calc(60px + clamp(32px, 4vw, 56px));
  transform: rotate(-2deg); transform-origin: bottom left;
  text-align: center;
}
.reply__card h2 { font-size: var(--t-display); line-height: 0.96; letter-spacing: -0.04em; }
.reply__card > p { margin: 20px auto 0; max-width: 40ch; font-size: 1.125rem; }
.reply__actions { margin-top: 36px; display: grid; gap: 10px; }
.reply__actions .btn { width: 100%; min-height: 60px; }
.reply__card .micro { margin-top: 14px; }
.signatures { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; }
.signatures div { position: relative; border-top: 6px dotted var(--night); padding-top: 12px; font-size: var(--t-small); color: var(--ink-soft); }
.signatures strong { display: block; margin-bottom: 4px; font-size: var(--t-lead); font-style: italic; font-weight: 300; color: var(--ink); letter-spacing: -0.02em; }

/* the pact lands, then both signatures are drawn */
.js .reply__card { transition: transform 1100ms cubic-bezier(0.16, 1, 0.3, 1), opacity 700ms ease; }
.js .reply:not(.signed) .reply__card { transform: translateY(48px) rotate(-7deg); opacity: 0; }
.js .signatures div { clip-path: inset(0 100% 0 0); transition: clip-path 900ms cubic-bezier(0.65, 0, 0.35, 1); }
.js .signatures div + div { transition-delay: 450ms; }
.js .reply.signed .signatures div { clip-path: inset(0 0 0 0); transition-delay: 700ms; }
.js .reply.signed .signatures div + div { transition-delay: 1200ms; }

/* footer: the back of the card */
.site-footer { padding: 0 var(--m) var(--m); }
.footer__band { display: flex; gap: 6px; height: 8px; margin-bottom: 0; }
.footer__band span { flex: 1; background: var(--slate); }
.back {
  margin-top: 40px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad);
  background: var(--paper); color: var(--ink);
  padding: calc(var(--pad) + 28px) var(--pad) 28px;
  -webkit-mask: var(--scallop) top left / 56px 28px repeat-x, var(--solid) 0 28px / 100% calc(100% - 28px) no-repeat;
  mask: var(--scallop) top left / 56px 28px repeat-x, var(--solid) 0 28px / 100% calc(100% - 28px) no-repeat;
}
.back h2 { font-size: var(--t-title); }
.back__msg p { margin-top: 20px; max-width: 38ch; }
.back__addr { position: relative; padding-right: 110px; }
.back__addr ul { display: grid; gap: 12px; font-size: var(--t-body); }
.back__addr a { text-decoration: none; display: inline-flex; gap: 12px; align-items: baseline; }
.back__addr a span { font-size: var(--t-small); color: var(--ink-soft); min-width: 78px; }
@media (hover: hover) { .back__addr a:hover b { text-decoration: underline; } }
.back__addr b { font-weight: 500; }
.stamp { position: absolute; top: 0; right: 0; width: 88px; background: var(--paper); padding: 6px; outline: 6px dotted var(--slate); outline-offset: -6px; }
.stamp div { aspect-ratio: 3 / 4; background: var(--slate); overflow: hidden; }
.stamp img { width: 190%; max-width: none; margin: -6% 0 0 -48%; }
.imprint { grid-column: 1 / -1; margin-top: 24px; padding-top: 20px; border-top: 6px dotted var(--paper-deep); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--t-small); color: var(--ink-soft); }

/* mobile sticky choice bar */
.choicebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: var(--night);
  transform: translateY(110%); transition: transform 320ms var(--ease-drawer);
}
.choicebar.is-on { transform: none; }
.choicebar .btn { min-height: 52px; padding: 0 10px; font-size: 0.9375rem; }

/* diagnosis dialog */
.dlg {
  width: min(100% - 24px, 640px); max-height: min(92svh, 860px); margin: auto;
  padding: 0; border: 0; background: var(--paper); color: var(--ink);
  overflow: auto; overscroll-behavior: contain;
}
.dlg::backdrop { background: rgba(1, 3, 40, 0.78); }
.dlg[open] { animation: dlg-in 360ms var(--ease-drawer); }
.dlg.is-closing { animation: dlg-out 200ms var(--ease-out) forwards; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes dlg-out { to { opacity: 0; transform: translateY(16px); } }
.dlg__bar { display: flex; gap: 6px; padding: 6px; }
.dlg__bar span { flex: 1; height: 8px; background: var(--paper-deep); transition: background-color 300ms ease; }
.dlg__bar span.is-done { background: var(--night); }
.dlg__inner { padding: clamp(24px, 5vw, 48px); }
.dlg__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.dlg__top h2 { font-size: var(--t-title); }
.dlg__close { flex: 0 0 auto; width: 44px; height: 44px; border: 0; background: var(--paper-deep); cursor: pointer; display: grid; place-items: center; transition: transform 160ms var(--ease-out); }
.dlg__close:active { transform: scale(0.94); }
.dlg__close svg { width: 20px; height: 20px; }
.dlg__sub { margin-top: 10px; color: var(--ink-soft); }
.step { margin-top: 32px; border: 0; padding: 0; min-width: 0; }
.step[hidden] { display: none; }
.step legend { padding: 0; font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.015em; line-height: 1.25; }
.field { margin-top: 20px; display: grid; gap: 8px; }
.field label, .field .lbl { font-weight: 600; font-size: 0.9375rem; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 54px; padding: 12px 16px; font-size: 1rem;
  background: #fbf6ec; border: 2px solid #d9c9aa; border-radius: 0; color: var(--night);
  transition: border-color 200ms ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--night); }
.field input::placeholder, .field textarea::placeholder { color: #6d6a7c; }
.field [aria-invalid="true"] { border-color: var(--rust); }
.err { font-size: var(--t-small); color: var(--rust); font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.phone { display: grid; grid-template-columns: 128px 1fr; gap: 8px; }
.opts { margin-top: 20px; display: grid; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: flex; align-items: center; min-height: 54px; padding: 0 18px; background: #fbf6ec; border: 2px solid #d9c9aa; font-weight: 500; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.opt input:checked + span { background: var(--night); color: var(--paper); border-color: var(--night); }
.opt input:focus-visible + span { outline: 3px solid var(--rust); outline-offset: 2px; }
.dlg__nav { margin-top: 32px; display: flex; justify-content: space-between; gap: 12px; }
.dlg__nav .btn { flex: 1; }
.dlg__nav .btn--ghost { flex: 0 0 auto; }
.dlg__done { margin-top: 28px; }
.dlg__done p + p { margin-top: 14px; }
.dlg__done .btn { margin-top: 28px; }
.privacy { margin-top: 18px; font-size: var(--t-small); color: var(--ink-soft); }

/* reveal (only when script runs) */
.js [data-reveal] > * { opacity: 0; transform: translateY(24px); }
.js [data-reveal].in > * { opacity: 1; transform: none; transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
.js .hero-in { opacity: 0; transform: translateY(20px); }
.js .is-loaded .hero-in { opacity: 1; transform: none; transition: opacity 800ms var(--ease-out), transform 1000ms var(--ease-out); transition-delay: calc(var(--d, 0) * 90ms + 80ms); }

@supports (animation-timeline: view()) {
  .sheet__letter { animation: letter-rise linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  @keyframes letter-rise { from { transform: translateY(18%); } to { transform: none; } }
}

@supports (animation-timeline: scroll()) {
  .portrait__frames { animation: portrait-drift linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes portrait-drift { to { transform: translateY(5%) scale(1.04); } }
}

/* hero stacks below 900 */
@media (max-width: 899px) {
  .hero { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .portrait { order: -1; height: 44svh; min-height: 320px; }
  .portrait__frames img { width: min(86%, 460px); bottom: -12%; }
  .portrait figcaption { left: 12px; bottom: 36px; }
  .pact { margin: -24px 10px 0; position: relative; z-index: 2; }
}
@media (min-width: 1280px) {
  .scenes { overflow: visible; }
  .scene { flex: 1 1 0; }
}

/* tablet */
@media (max-width: 1023px) {
  .tapete__text { grid-column: 1 / -1; }
  .tapete__photo { grid-column: 1 / -1; grid-row: auto; }
  .tapete__photo img { aspect-ratio: 16 / 9; height: auto; }
  .tapete__costs { grid-column: 1 / -1; padding: var(--pad); margin: 0; }
  .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .creds li:nth-child(4) { border-left: 0; }
  .creds li:nth-child(n+4) { border-top: 6px dotted rgba(244, 232, 211, 0.32); }
  .prova { grid-template-columns: 1fr 1fr; }

  .site-nav a:not(.btn) { display: none; }
  .sobre__photo { grid-column: 1 / span 5; }
  .sobre__letter { grid-column: 6 / -1; }
  .prova__head h2 { grid-column: 1 / -1; }
  .prova__head p { grid-column: 1 / span 9; margin-top: 24px; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__stub { border-left: 0; border-top: 8px dotted var(--night); }
  .reply__note { grid-column: 1 / span 5; }
  .reply__card { grid-column: 6 / -1; }
  .metodo__head, .formas__head { flex-direction: column; align-items: flex-start; }
}

/* phone */
@media (max-width: 719px) {
  :root { --section: 64px; }
  .site-header { height: 64px; }
  .brand img { height: 36px; }
  .site-nav .btn { min-height: 42px; padding: 0 14px; font-size: 0.875rem; }
  .hero { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .portrait { order: -1; height: 38svh; min-height: 280px; }
  .portrait figcaption { display: none; }
  .portrait__frames img { width: min(70%, 320px); bottom: -10%; }
  .portrait figcaption { left: 12px; bottom: 36px; }
  .pact { margin: -24px 10px 0; position: relative; z-index: 2; }
  .pact__band span { height: 44px; font-size: 1.125rem; }
  .pact__body { padding: 36px 18px 32px; }
  .pact h1 { font-size: clamp(1.5rem, 7.6cqi, 2.25rem); }
  .pact__lead { margin-top: 24px; }
  .pact__actions { flex-direction: column; align-items: stretch; width: 100%; margin-top: 32px; }
  .pact__foot { gap: 6px 18px; }
  .dores__top { flex-direction: column; align-items: flex-start; }
  .row-ctrl { display: none; }
  .scenes { gap: 16px; }
  .scene { flex-basis: 76vw; }
  .scene__gap { flex-basis: calc(var(--h, 96px) * 0.2); }
  .picker__a { grid-template-columns: 1fr; }
  .picker__letter { font-size: 4.5rem; margin-bottom: 12px; }
  .picker__a .btn { width: 100%; }
  .prova__head p { grid-column: 1 / -1; }
  .sheets { --tab: 52px; --top: 12px; }
  .sheet { top: calc(12px + var(--i) * 52px); grid-template-rows: 52px auto; height: auto; margin-bottom: 16px; }
  .sheet-end .mini-ticket { min-height: 0; }
  .sheet__tab { font-size: 1rem; padding: 0 20px; gap: 8px; }
  .sheet__letter { display: none; }
  .sheet__text { grid-column: 1 / -1; grid-row: 2; padding: 4px 20px 28px; }
  .sheet__text p { font-size: 1.0625rem; }
  .terms { padding: 44px 22px; }
  .terms__cols { grid-template-columns: 1fr; gap: 40px; }
  .terms__group + .terms__group { border-left: 0; padding-left: 0; border-top: 6px dotted var(--paper-deep); padding-top: 32px; }
  .sobre__photo, .sobre__letter { grid-column: 1 / -1; position: static; }
  .sobre__photo { margin-bottom: 40px; }
  .logos ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ticket__main .btn, .ticket__stub .btn { max-width: none; }
  .alem h3, .alem p { grid-column: 1 / -1; }
  .card { --tab-x: calc(var(--n, 0) * 28px); clip-path: polygon(var(--tab-x) 0, calc(var(--tab-x) + 150px) 0, calc(var(--tab-x) + 162px) 40px, 100% 40px, 100% 100%, 0 100%, 0 40px, max(0px, calc(var(--tab-x) - 12px)) 40px); }
  .card__tab { width: 150px; padding-left: 16px; }
  .reply { display: block; min-height: 0; }
  .reply__note { padding-bottom: 48px; }
  .reply__card { width: 94%; margin: 0 auto -60px; transform: rotate(-1deg); }
  .signatures { gap: 16px; }
  .back { grid-template-columns: 1fr; -webkit-mask-size: 48px 24px, 100% calc(100% - 24px); mask-size: 48px 24px, 100% calc(100% - 24px); -webkit-mask-position: top left, 0 24px; mask-position: top left, 0 24px; padding-top: 64px; }
  .back__addr { padding-right: 0; padding-top: 0; }
  .back__msg { padding-right: 84px; }
  .stamp { width: 68px; top: 40px; right: 22px; position: absolute; }
  .back__addr .stamp { top: auto; }

  .tapete { display: block; }
  .tapete__text { padding: 32px 22px 28px; }
  .tapete__photo img { aspect-ratio: 4 / 3; height: auto; }
  .tapete__costs { grid-template-columns: 1fr; padding: 22px; margin: 0; }
  .tapete__foot { flex-direction: column; align-items: flex-start; padding: 24px 22px; }
  .tapete__foot .btn { width: 100%; }
  .mini-ticket { grid-template-columns: 1fr; border-left: 0; border-top: 8px dotted var(--night); padding: 24px 22px; }
  .mini-ticket__price { text-align: left; align-items: stretch; }
  .mini-ticket .btn { width: 100%; }
  .cta-pair { flex-direction: column; width: 100%; }
  .cta-pair .btn { width: 100%; }
  .terms__cta { flex-direction: column; align-items: stretch; text-align: center; gap: 4px; }
  .terms__cta .or { line-height: 1.6; }
  .terms__diag { align-items: stretch; }
  .creds { grid-template-columns: 1fr 1fr; }
  .creds li + li { border-left: 0; }
  .creds li:nth-child(even) { border-left: 6px dotted rgba(244, 232, 211, 0.32); }
  .creds li:nth-child(n+3) { border-top: 6px dotted rgba(244, 232, 211, 0.32); }
  .creds li { padding: 22px 16px; }
  .prova { grid-template-columns: 1fr; gap: 16px; }
  .vids { aspect-ratio: 9 / 14; max-height: 78svh; }
  .prints { height: 560px; min-height: 0; padding: 0 10px; gap: 10px; }
  .prints__col { gap: 10px; }
  .eventos { grid-template-columns: 1fr 1fr; }
  .choicebar { display: grid; }
  body.has-choicebar { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .portrait__spiral { animation: none; }
  .js [data-reveal] > *, .js .hero-in { opacity: 1; transform: none; }
  .js [data-reveal].in > *, .js .is-loaded .hero-in { transition: opacity 300ms ease; transform: none; }
  .sheet__letter { animation: none; }
  .prints__col { animation: none; }
  .prints { overflow-y: auto; }
  .chip::after { display: none; }
  .portrait__frames { animation: none; }
  .js .reply:not(.signed) .reply__card { transform: rotate(-2deg); }
  .js .signatures div { clip-path: none; }
  .portrait__frames img { transition: none; }
  .dlg[open], .dlg.is-closing { animation-duration: 1ms; }
}

/* ---------- organic corners ---------- */
:root { --r: clamp(16px, 1.7vw, 26px); --r-sm: 12px; }
.btn, .chip { border-radius: 999px; }
.row-ctrl button, .dlg__close { border-radius: 50%; }
.progress, .progress span, .vids__bars span { border-radius: 99px; }
.pact, .portrait, .picker, .tapete, .terms, .ticket, .reply__card, .dlg, .creds, .vids, .prints, .sobre__img, .eventos img { border-radius: var(--r); overflow: hidden; }
.pact__band span { border-radius: 10px; }
.scene__note, .tapete__costs li, .logos li, .prints li, .field input, .field textarea, .field select, .opt span { border-radius: var(--r-sm); }
.prints li { overflow: hidden; }
.prints img { border-radius: 8px; }
.sheet { border-radius: var(--r) var(--r) 0 0; }
.sheet-end .mini-ticket { border-radius: 0 0 var(--r) var(--r); }
.letter { border-radius: var(--r) var(--r) 0 0; }
.stub { border-radius: 0 0 var(--r) var(--r); }
.back { border-radius: 0 0 var(--r) var(--r); }
.stamp { border-radius: 10px; }
.stamp div { border-radius: 6px; }
.dlg__bar span:first-child { border-radius: 99px 0 0 99px; }
.dlg__bar span:last-child { border-radius: 0 99px 99px 0; }
.dlg__bar { padding: 10px 10px 0; }

/* FAQ: rounded index cards with a rounded tab on top */
.cards { padding-top: 18px; }
.card { clip-path: none; border-radius: var(--r); margin-top: 30px; }
.card:first-child { margin-top: 0; }
.card::before {
  content: ""; position: absolute; top: -18px; left: calc(var(--tab-x) + 22px);
  width: 160px; height: 26px; background: var(--cbg, var(--paper)); border-radius: 14px 14px 0 0;
}
.card__tab { height: 0; }
.card summary { padding-top: 22px; }
@media (max-width: 719px) {
  .card { clip-path: none; margin-top: 26px; }
  .card::before { width: 110px; left: calc(var(--tab-x) + 16px); }
  .sheet { border-radius: 16px 16px 0 0; }
}
.portrait figcaption { border-radius: 99px; padding: 8px 16px; }
.reply__card .signatures div { border-radius: 0; }

.brush.keep { white-space: nowrap; }
.dores__top .statement { max-width: none; }
.dores__close { max-width: none; }
.dores__close .keep, .dores__top .keep { display: inline-block; }

/* organic photo mosaic beside each answer */
.mosaic { position: relative; height: clamp(220px, 22vw, 300px); }
.mosaic img { position: absolute; object-fit: cover; background: var(--slate-deep); }
.mosaic img:nth-child(1) { left: 0; top: 6%; width: 58%; height: 82%; border-radius: 58% 42% 46% 54% / 52% 44% 56% 48%; }
.mosaic img:nth-child(2) { right: 0; top: 0; width: 44%; height: 50%; border-radius: 46% 54% 38% 62% / 55% 40% 60% 45%; }
.mosaic img:nth-child(3) { right: 6%; bottom: 0; width: 40%; height: 46%; border-radius: 50%; }
@media (max-width: 1023px) {
  .picker__a { grid-template-columns: auto minmax(0, 1fr); }
  .mosaic { grid-column: 1 / -1; margin-top: 28px; height: 220px; }
}
@media (max-width: 719px) {
  .picker__a { grid-template-columns: 1fr; }
  .mosaic { height: 190px; margin-top: 24px; }
  .dores__close .keep, .dores__top .keep { display: inline; white-space: normal; }
}
@media (max-width: 380px) { .brush.keep { font-size: 0.98em; } }
@media (max-width: 719px) { .dores__close { font-size: 1.3125rem; } }
