/* ============================================================
   A PRIMEIRA NAIA • PAPER CRAFT
   Caderno envelhecido, papéis em camadas e cor fosca viva.
   Sem vidro, glow, metal, brilho ou gradiente cromático.
   ============================================================ */

:root {
  color-scheme: light;

  /* Papéis e materiais */
  --paper-cream: #f4e6c7;
  --paper-light: #fffaf0;
  --paper-aged: #e7d1a2;
  --paper-shadow: #c3a878;
  --kraft: #a96f3f;
  --kraft-dark: #704522;
  --tape: rgba(221, 198, 147, 0.86);
  --grid: rgba(54, 92, 128, 0.18);
  --grid-strong: rgba(54, 92, 128, 0.25);

  /* Paleta viva, fosca e saturada */
  --coral: #e9584f;
  --coral-2: #d9473f;
  --coral-soft: #f5b0a7;
  --teal: #07887e;
  --teal-dark: #05645f;
  --teal-soft: #91cbc2;
  --mustard: #d89919;
  --mustard-soft: #edc76a;
  --lavender: #9a70b2;
  --lavender-soft: #cbb3d6;
  --denim: #35668c;
  --navy: #183653;
  --gold: #c78b18;
  --gold-2: #e0aa2d;
  --gold-soft: #f0d588;

  /* Tinta */
  --ink: #142d46;
  --ink-2: #30445a;
  --ink-3: #56616a;
  --ink-4: #716b5f;
  --white-ink: #fffaf0;

  /* Compatibilidade com nomes antigos */
  --bg-0: #8b673f;
  --bg-1: #b98f5d;
  --bg-2: var(--paper-cream);
  --panel: var(--paper-light);
  --glass: var(--paper-light);
  --glass-2: var(--paper-aged);
  --glass-brd: rgba(87, 61, 33, 0.28);
  --glass-brd-2: rgba(87, 61, 33, 0.48);
  --gold-soft-bg: #f5df9c;

  --font-display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --font-body: "Bricolage Grotesque", Arial, system-ui, sans-serif;

  /* Sombras físicas curtas, lançadas para baixo e para a direita */
  --shadow-contact: 3px 5px 0 rgba(78, 48, 23, 0.22);
  --shadow-card: 7px 9px 0 rgba(78, 48, 23, 0.20), 1px 2px 2px rgba(78, 48, 23, 0.18);
  --shadow-deep: 13px 16px 0 rgba(78, 48, 23, 0.20), 2px 4px 8px rgba(50, 34, 19, 0.24);
  --shadow-lg: var(--shadow-deep);
  --shadow-glow: var(--shadow-card);

  --ease-paper: cubic-bezier(0.22, 0.78, 0.23, 1);
  --ease: var(--ease-paper);
}

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

html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

html {
  background: #896239;
}

body {
  position: relative;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 500;
  background-color: #a77b4b;
  background-image:
    repeating-linear-gradient(8deg, rgba(75, 44, 20, 0.08) 0 1px, transparent 1px 9px),
    repeating-linear-gradient(96deg, rgba(255, 248, 224, 0.06) 0 1px, transparent 1px 13px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  touch-action: pan-y;
}

body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
}

body::before {
  inset: 0;
  z-index: 0;
  border: clamp(8px, 1.2vw, 18px) solid rgba(91, 54, 25, 0.34);
  box-shadow: inset 0 0 0 2px rgba(255, 244, 216, 0.16);
}

body::after {
  z-index: 1;
  top: 7%;
  bottom: 7%;
  left: 50%;
  width: 18px;
  transform: translateX(-50%);
  background: rgba(94, 62, 34, 0.08);
  box-shadow: 8px 0 13px rgba(94, 62, 34, 0.09), -8px 0 13px rgba(255, 250, 236, 0.28);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid var(--teal);
  outline-offset: 4px;
}

/* ============================ CADERNO / DECK ============================ */

#deck {
  position: relative;
  z-index: 2;
  width: 100vw;
  height: 100dvh;
  padding: clamp(8px, 1.2vw, 18px);
}

.slide {
  --slide-accent: var(--coral);
  --slide-accent-soft: var(--coral-soft);
  position: absolute;
  inset: clamp(8px, 1.2vw, 18px);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(82px, 9vh, 116px) clamp(52px, 6.3vw, 126px) clamp(88px, 10vh, 116px);
  overflow: hidden;
  color: var(--ink);
  background-color: var(--paper-cream);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 27px, var(--grid) 27px 28px),
    repeating-linear-gradient(90deg, transparent 0 27px, var(--grid) 27px 28px),
    repeating-linear-gradient(13deg, rgba(111, 76, 35, 0.025) 0 1px, transparent 1px 15px);
  border: 2px solid #b89863;
  border-radius: 4px 8px 5px 7px;
  box-shadow: var(--shadow-deep), inset 0 0 58px rgba(122, 78, 29, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(3%, 0, 0) rotate(0.25deg) scale(0.99);
  transform-origin: center bottom;
  transition: opacity 420ms var(--ease-paper), transform 520ms var(--ease-paper), visibility 0s linear 520ms;
  pointer-events: none;
}

.slide:nth-child(6n + 2) { --slide-accent: var(--teal); --slide-accent-soft: var(--teal-soft); }
.slide:nth-child(6n + 3) { --slide-accent: var(--mustard); --slide-accent-soft: var(--mustard-soft); }
.slide:nth-child(6n + 4) { --slide-accent: var(--lavender); --slide-accent-soft: var(--lavender-soft); }
.slide:nth-child(6n + 5) { --slide-accent: var(--denim); --slide-accent-soft: #9fb9cc; }
.slide:nth-child(6n) { --slide-accent: var(--gold); --slide-accent-soft: var(--gold-soft); }

/* Tira de papel rasgado e margem vermelha do caderno */
.slide::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 29px;
  right: 4.5%;
  width: clamp(110px, 13vw, 240px);
  height: 20px;
  background: var(--slide-accent);
  clip-path: polygon(0 17%, 7% 2%, 13% 18%, 20% 0, 28% 13%, 36% 3%, 44% 18%, 53% 1%, 61% 15%, 69% 4%, 78% 18%, 87% 0, 94% 12%, 100% 4%, 98% 81%, 89% 94%, 80% 79%, 71% 97%, 62% 82%, 52% 98%, 43% 83%, 34% 96%, 24% 80%, 15% 96%, 7% 81%, 1% 90%);
  box-shadow: var(--shadow-contact);
  opacity: 0.94;
}

.slide::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: clamp(31px, 4vw, 68px);
  width: 2px;
  background: rgba(201, 76, 66, 0.30);
  box-shadow: 5px 0 0 rgba(201, 76, 66, 0.08);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 500ms var(--ease-paper), transform 620ms var(--ease-paper), visibility 0s;
  pointer-events: auto;
}

.slide.leaving-prev {
  transform: translate3d(-3%, -1%, 0) rotate(-0.35deg) scale(0.985);
}

.slide.active [data-anim] {
  animation: paper-drop 650ms var(--ease-paper) both;
}

.slide.active [data-anim="1"] { animation-delay: 40ms; }
.slide.active [data-anim="2"] { animation-delay: 110ms; }
.slide.active [data-anim="3"] { animation-delay: 180ms; }
.slide.active [data-anim="4"] { animation-delay: 250ms; }
.slide.active [data-anim="5"] { animation-delay: 320ms; }
.slide.active [data-anim="6"] { animation-delay: 390ms; }

@keyframes paper-drop {
  from { opacity: 0; transform: translate3d(0, 18px, 0) rotate(-1.1deg) scale(1.015); }
  72% { opacity: 1; transform: translate3d(0, -2px, 0) rotate(0.16deg) scale(0.998); }
  to { opacity: 1; transform: none; }
}

/* ============================ TIPOGRAFIA DE RECORTE ============================ */

.kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 8px;
  margin-bottom: 22px;
  padding: 9px 17px 8px;
  color: var(--navy);
  background: var(--tape);
  border: 1px solid rgba(117, 83, 44, 0.22);
  box-shadow: 2px 3px 0 rgba(85, 54, 25, 0.14);
  font-family: var(--font-display);
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-0.7deg);
  clip-path: polygon(2% 5%, 11% 1%, 20% 5%, 30% 0, 40% 4%, 51% 1%, 61% 5%, 71% 0, 81% 4%, 91% 1%, 99% 6%, 97% 94%, 88% 99%, 77% 95%, 67% 100%, 56% 96%, 45% 100%, 34% 95%, 22% 99%, 11% 95%, 1% 98%);
}

.kicker::before {
  content: "";
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  background: var(--slide-accent);
  border: 1px solid rgba(20, 45, 70, 0.18);
  transform: rotate(5deg);
}

.kicker .blk {
  color: #4b514f;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.title,
.tc-title,
.gift-title,
.cover-hero,
.gcard .gc-title,
.stat .s-value {
  font-family: var(--font-display);
  font-weight: 800;
  text-wrap: balance;
}

.title {
  max-width: 19ch;
  color: var(--ink);
  font-size: clamp(40px, 4.6vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.title .hl,
.title .gold,
.title .coral,
.tc-title .hl,
.tc-title .gold,
.tc-title .coral,
.gift-title .hl,
.cover-hero .hero-2 {
  display: inline;
  padding: 0 0.12em 0.04em;
  color: var(--white-ink);
  background: var(--slide-accent);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
}

.title .gold,
.tc-title .gold { background: var(--gold); color: #192c3e; }
.title .coral,
.tc-title .coral { background: var(--coral); color: var(--white-ink); }

.desc,
.tc-body,
.gift-desc {
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.55;
}

.desc {
  max-width: 55ch;
  margin-top: 23px;
  font-size: clamp(17px, 1.32vw, 22px);
}

.desc strong,
.tc-body strong,
.gift-desc strong,
.keylist b,
.tc-list b,
.gcard .gc-body b {
  color: var(--ink);
  font-weight: 800;
}

.desc .accent,
.tc-body .accent { color: var(--teal-dark); font-weight: 800; }

.source {
  width: fit-content;
  margin-top: 20px;
  padding: 7px 10px;
  color: #50564f;
  background: rgba(255, 250, 240, 0.68);
  border-left: 4px solid var(--mustard);
  font-size: 12px;
  line-height: 1.35;
}

.source b { color: var(--ink-2); font-weight: 800; }

.rule {
  width: 70px;
  height: 9px;
  margin: 20px 0;
  background: var(--coral);
  clip-path: polygon(0 25%, 9% 5%, 20% 20%, 31% 0, 43% 18%, 55% 3%, 68% 20%, 81% 0, 100% 20%, 97% 85%, 84% 100%, 69% 82%, 53% 100%, 38% 80%, 20% 100%, 0 82%);
}

/* ============================ LAYOUTS ============================ */

.split-grid,
.gift-grid {
  display: grid;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  gap: clamp(32px, 4vw, 78px);
}

.split-grid { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); }
.split-grid.reverse { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.split-grid.reverse .col-media { order: -1; }

.split-grid.poster-media { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); }
.split-grid.poster-media.reverse { grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr); }

.split-grid .col-text,
.gift-grid .col-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(24px, 2.5vw, 42px);
  background-color: var(--paper-light);
  background-image: repeating-linear-gradient(8deg, rgba(115, 83, 45, 0.028) 0 1px, transparent 1px 13px);
  border: 1px solid rgba(102, 73, 40, 0.30);
  box-shadow: var(--shadow-card);
  clip-path: polygon(0.8% 1.2%, 11% 0.4%, 21% 1.1%, 32% 0.2%, 43% 1%, 54% 0.3%, 66% 1.1%, 77% 0.2%, 89% 1%, 99.2% 0.4%, 100% 11%, 99.3% 24%, 100% 37%, 99.2% 50%, 100% 63%, 99.3% 76%, 100% 89%, 99.1% 99%, 88% 99.4%, 76% 98.9%, 64% 99.7%, 52% 99%, 40% 99.6%, 28% 99%, 16% 99.7%, 0.5% 99%, 0 88%, 0.7% 74%, 0 60%, 0.6% 46%, 0 31%, 0.7% 16%);
  transform: rotate(-0.18deg);
}

.split-grid .col-text::before,
.gift-grid .col-text::before,
.textcard::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -10px;
  left: 42%;
  width: clamp(82px, 8vw, 126px);
  height: 25px;
  background: var(--tape);
  border: 1px solid rgba(117, 83, 44, 0.15);
  box-shadow: 1px 2px 0 rgba(85, 54, 25, 0.12);
  transform: rotate(1.8deg);
  clip-path: polygon(1% 14%, 9% 2%, 18% 13%, 28% 1%, 38% 11%, 50% 0, 62% 12%, 73% 2%, 83% 14%, 92% 3%, 99% 12%, 97% 89%, 87% 99%, 76% 88%, 65% 100%, 53% 89%, 42% 99%, 31% 88%, 20% 99%, 10% 88%, 2% 97%);
}

.split-grid .col-media,
.gift-grid .col-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.split-grid .col-text .title {
  max-width: 18ch;
  font-size: clamp(30px, 3.1vw, 52px);
  line-height: 1.02;
}

.split-grid .col-text .desc { margin-top: 18px; }
.split-grid .col-text .tc-close { margin-top: 17px; }
.split-grid .col-text .tc-list,
.split-grid .col-text .keylist { margin-top: 20px; }

/* Molduras de papelão e kraft */
.media-frame,
.pm-frame,
.poster-frame {
  position: relative;
  max-width: 100%;
  padding: clamp(7px, 0.8vw, 12px);
  overflow: visible;
  background: var(--kraft);
  border: 3px solid var(--kraft-dark);
  border-radius: 3px 7px 4px 6px;
  box-shadow: var(--shadow-deep);
  transform: rotate(0.35deg);
}

.media-frame::before,
.pm-frame::before,
.poster-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -11px 7px 8px -9px;
  background: var(--slide-accent-soft);
  border: 1px solid rgba(83, 55, 28, 0.25);
  box-shadow: var(--shadow-contact);
  transform: rotate(-1.15deg);
  clip-path: polygon(1% 2%, 12% 0, 24% 2%, 37% 0.5%, 49% 2%, 62% 0, 75% 2%, 88% 0.4%, 99% 2%, 100% 98%, 87% 100%, 73% 98%, 61% 100%, 47% 98%, 34% 100%, 19% 98%, 1% 100%);
}

.media-frame::after,
.pm-frame::after,
.poster-frame::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -14px;
  right: 13%;
  width: clamp(72px, 7vw, 112px);
  height: 24px;
  background: var(--tape);
  border: 1px solid rgba(117, 83, 44, 0.16);
  transform: rotate(4deg);
  clip-path: polygon(2% 10%, 12% 0, 24% 12%, 36% 1%, 49% 11%, 62% 0, 76% 13%, 88% 2%, 99% 12%, 97% 90%, 86% 100%, 73% 88%, 61% 100%, 48% 89%, 35% 100%, 23% 88%, 11% 100%, 2% 90%);
}

.media-frame {
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 3 / 2;
}

.img-slot {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper-aged);
  border: 1px solid rgba(67, 43, 20, 0.52);
}

.img-slot img.real,
.media-frame img.fill,
.pm-frame img,
.poster-frame img {
  display: block;
  max-width: 100%;
  border-radius: 1px;
  transition: opacity 350ms var(--ease-paper);
}

.img-slot img.real {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame img.fill { width: 100%; height: 100%; object-fit: cover; }
.pm-frame img,
.poster-frame img { width: 100%; height: auto; object-fit: contain; }
.pm-frame { display: flex; max-height: 72vh; }
.pm-frame img { max-height: calc(72vh - 20px); }
.poster-frame { display: inline-flex; }
.poster-frame img { max-height: 72vh; }

.img-slot img.real[data-loaded="0"],
.pm-frame img[data-loaded="0"],
.poster-frame img[data-loaded="0"] { opacity: 0; }

.glow-ring { display: none !important; }

/* O próprio frame é o controle de ampliação, sem botão ou ícone exposto. */
[data-infographic-frame] {
  z-index: 2;
  cursor: zoom-in;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

[data-infographic-frame]:focus { outline: none; }
[data-infographic-frame]:focus-visible {
  outline: 3px solid rgba(19, 105, 116, 0.72);
  outline-offset: 5px;
}

/* ============================ LIGHTBOX DO INFOGRÁFICO ============================ */

.lightbox-open { overflow: hidden !important; }
.lightbox-open .slide.active { overflow: hidden !important; }

.infographic-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  padding:
    max(8px, env(safe-area-inset-top))
    max(8px, env(safe-area-inset-right))
    max(8px, env(safe-area-inset-bottom))
    max(8px, env(safe-area-inset-left));
  overflow: hidden;
  overscroll-behavior: none;
  background: rgba(16, 28, 40, 0.98);
  touch-action: none;
}

.infographic-lightbox[hidden] { display: none !important; }

.infographic-lightbox:fullscreen {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: #101c28;
}

.infographic-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  cursor: zoom-out;
  outline: none;
}

.infographic-lightbox__stage:focus-visible {
  outline: 2px solid rgba(255, 250, 240, 0.58);
  outline-offset: -4px;
}

.infographic-lightbox__image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  cursor: zoom-out;
}

.infographic-lightbox__clone {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  overflow: visible;
  cursor: zoom-out;
  transform: none;
  transform-origin: center;
}

.infographic-lightbox__clone:is(svg) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 34px;
  color: var(--ink-2);
  text-align: center;
  background-color: var(--paper-aged);
  background-image:
    repeating-linear-gradient(0deg, transparent 0 21px, rgba(53, 102, 140, 0.14) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 21px, rgba(53, 102, 140, 0.14) 21px 22px);
}

.placeholder .ph-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  color: var(--white-ink);
  background: var(--teal);
  border: 2px solid var(--teal-dark);
  box-shadow: var(--shadow-contact);
  transform: rotate(-2deg);
}

.placeholder .ph-icon svg { width: 29px; height: 29px; }
.placeholder .ph-badge {
  padding: 7px 13px;
  color: var(--navy);
  background: var(--mustard-soft);
  border: 1px dashed var(--kraft-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.placeholder .ph-title {
  max-width: 17ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(21px, 2vw, 33px);
  font-weight: 800;
  line-height: 1.08;
  text-wrap: balance;
}

/* Fundo full bleed vira foto colada no caderno */
.slide-bg {
  position: absolute;
  z-index: -1;
  inset: 38px;
  overflow: hidden;
  background: var(--kraft);
  border: 8px solid var(--kraft);
  box-shadow: var(--shadow-deep);
  transform: rotate(-0.35deg);
}
.slide-bg .bg-real { width: 100%; height: 100%; object-fit: cover; opacity: 0.24; filter: sepia(0.12) saturate(0.82) contrast(0.82); }
.slide-bg .bg-real[data-loaded="0"] { opacity: 0; }
.slide-bg .bg-scrim { position: absolute; inset: 0; background: rgba(244, 230, 199, 0.64); }

/* Cover */
.slide.cover,
.slide.statement,
.slide.closing { align-items: center; text-align: center; }
.slide.cover { justify-content: center; }
.cover-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1160px);
  padding: clamp(34px, 5vw, 72px);
  background: rgba(255, 250, 240, 0.91);
  border: 1px solid rgba(87, 61, 33, 0.30);
  box-shadow: var(--shadow-card);
  clip-path: polygon(1% 2%, 12% 0.6%, 24% 2%, 38% 0.4%, 51% 2%, 65% 0.5%, 78% 2%, 91% 0.4%, 99% 2%, 100% 98%, 88% 99.5%, 74% 98%, 61% 100%, 47% 98.2%, 33% 100%, 19% 98%, 1% 100%);
}
.cover-kicker { align-self: center; }
.cover-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: -0.045em;
  line-height: 0.88;
}
.cover-hero .hero-1,
.cover-hero .hero-2 { font-size: clamp(60px, 9.4vw, 146px); }
.cover-hero .hero-1 { color: var(--navy); }
.cover-hero .hero-2 { margin-top: 0.08em; background: var(--coral); color: var(--white-ink); transform: rotate(-1deg); box-shadow: var(--shadow-contact); }
.cover-support { max-width: 47ch; margin-top: 30px; color: var(--ink-2); font-size: clamp(18px, 1.5vw, 25px); line-height: 1.48; }
.cover-presenter {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  color: var(--ink-3);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cover-presenter .cp-dot { width: 12px; height: 12px; background: var(--teal); border: 2px solid var(--teal-dark); transform: rotate(7deg); }

/* Poster */
.slide.poster { align-items: center; justify-content: center; padding-inline: clamp(40px, 5vw, 96px); text-align: center; }
.poster-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 100%; height: 100%; }
.poster-kicker { align-self: center; margin-bottom: 0; }

/* Texto em papel rasgado */
.slide.textslide { align-items: center; justify-content: center; }
.textcard {
  position: relative;
  width: min(100%, 1080px);
  padding: clamp(38px, 4vw, 66px) clamp(38px, 4.5vw, 76px);
  overflow: visible;
  background-color: var(--paper-light);
  background-image: repeating-linear-gradient(7deg, rgba(115, 83, 45, 0.028) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(102, 73, 40, 0.34);
  box-shadow: var(--shadow-deep);
  clip-path: polygon(1% 2%, 12% 0, 23% 1.7%, 35% 0.3%, 47% 1.6%, 60% 0, 72% 1.8%, 84% 0.2%, 99% 1.4%, 100% 98%, 87% 100%, 74% 98.4%, 61% 100%, 48% 98%, 34% 100%, 21% 98%, 1% 100%);
}
.textcard::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 12px; background: var(--slide-accent); }
.tc-title { max-width: 24ch; color: var(--ink); font-size: clamp(32px, 3.1vw, 54px); letter-spacing: -0.025em; line-height: 1.03; }
.tc-body { max-width: 72ch; margin-top: 21px; font-size: clamp(17px, 1.35vw, 22px); }
.tc-close { margin-top: 20px; color: var(--ink); font-size: clamp(16px, 1.2vw, 20px); font-weight: 800; line-height: 1.5; }
.tc-close .coral { color: var(--coral-2); }
.tc-close .gold { color: #8b5c00; }

/* Listas como etiquetas costuradas */
.keylist,
.tc-list {
  display: grid;
  gap: 11px;
}
.keylist { grid-template-columns: 1fr; }
.tc-list { grid-template-columns: 1fr; }
.tc-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.keylist li,
.tc-list li {
  display: flex;
  align-items: flex-start;
  min-width: 0;
  gap: 11px;
  list-style: none;
  color: var(--ink-2);
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.38;
}
.keylist li .kmark,
.tc-list li .kmark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  color: var(--white-ink);
  background: var(--teal);
  border: 1px solid var(--teal-dark);
  box-shadow: 2px 2px 0 rgba(43, 67, 61, 0.20);
  transform: rotate(-3deg);
}
.keylist li:nth-child(even) .kmark,
.tc-list li:nth-child(even) .kmark { background: var(--coral); border-color: #a83a34; transform: rotate(3deg); }
.keylist li .kmark svg,
.tc-list li .kmark svg { width: 12px; height: 12px; }
.keylist li .role,
.tc-list li .role { color: var(--ink-3); font-weight: 500; }

/* Cabeçalho de dia dentro da lista de cronograma (slide de boas-vindas) */
.tc-list li:has(.cron-day) { grid-column: 1 / -1; margin-top: 6px; }
.tc-list li:has(.cron-day):first-child { margin-top: 0; }
.tc-list li:has(.cron-day) .kmark { display: none; }
.tc-list .cron-day {
  width: fit-content;
  padding: 3px 12px;
  color: var(--white-ink);
  background: var(--denim);
  border: 1px solid var(--ink);
  box-shadow: 2px 2px 0 rgba(43, 67, 61, 0.20);
  transform: rotate(-1deg);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Cards de papel colorido */
.cards-head { max-width: 62ch; margin-bottom: clamp(26px, 3vh, 42px); }
.card-grid { display: grid; width: 100%; gap: clamp(14px, 1.3vw, 22px); }
.card-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gcard {
  position: relative;
  min-width: 0;
  padding: clamp(20px, 1.7vw, 29px);
  overflow: visible;
  color: var(--ink);
  background: var(--paper-light);
  border: 1px solid rgba(91, 61, 31, 0.32);
  box-shadow: var(--shadow-card);
  clip-path: polygon(1% 2%, 16% 0, 31% 2%, 47% 0.4%, 63% 2%, 79% 0, 99% 2%, 100% 98%, 83% 100%, 66% 98%, 48% 100%, 31% 98%, 14% 100%, 0 98%);
  transition: transform 180ms var(--ease-paper), box-shadow 180ms var(--ease-paper);
}
.gcard:nth-child(4n + 2) { background: #e8f3ef; transform: rotate(0.45deg); }
.gcard:nth-child(4n + 3) { background: #f3e6b8; transform: rotate(-0.4deg); }
.gcard:nth-child(4n) { background: #eadff0; transform: rotate(0.25deg); }
.gcard:hover { transform: translateY(-3px) rotate(-0.2deg); box-shadow: var(--shadow-deep); }
.gcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: var(--slide-accent); }
.gcard .gc-index { color: var(--coral-2); font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: 0.05em; }
.gcard .gc-title { margin: 11px 0 9px; color: var(--ink); font-size: clamp(18px, 1.45vw, 25px); line-height: 1.12; }
.gcard .gc-body { color: var(--ink-3); font-size: clamp(13px, 0.98vw, 16px); line-height: 1.48; }
.gcard .gc-tag { display: inline-block; margin-top: 13px; padding: 6px 11px; color: var(--navy); background: var(--mustard-soft); border: 1px solid #a97916; font-size: 12px; font-weight: 800; transform: rotate(-1deg); }

/* Estatísticas */
.stat-row { display: grid; gap: clamp(14px, 1.5vw, 24px); margin-top: clamp(24px, 3vh, 40px); }
.stat-row.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat-row.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat-row.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: clamp(17px, 1.5vw, 25px); background: var(--paper-light); border: 1px solid rgba(91, 61, 31, 0.34); box-shadow: var(--shadow-contact); transform: rotate(-0.25deg); }
.stat:nth-child(even) { background: #e3f0ec; transform: rotate(0.35deg); }
.stat .s-value { color: var(--gold); font-size: clamp(33px, 3.2vw, 58px); letter-spacing: -0.035em; line-height: 1; -webkit-text-fill-color: currentColor; }
.stat .s-value.coral { color: var(--coral); -webkit-text-fill-color: currentColor; }
.stat .s-label { margin-top: 9px; color: var(--ink-3); font-size: clamp(12px, 0.92vw, 15px); font-weight: 700; line-height: 1.35; }

/* Statement, capítulo e fechamento */
.statement .title { max-width: 21ch; font-size: clamp(44px, 5.2vw, 98px); }
.statement .desc { margin-inline: auto; text-align: center; }
.slide.chapter { align-items: flex-start; justify-content: center; }
.chapter .chap-num { color: var(--slide-accent); font-family: var(--font-display); font-size: clamp(88px, 12vw, 210px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.84; text-shadow: 5px 6px 0 rgba(78, 48, 23, 0.16); -webkit-text-fill-color: currentColor; }
.chapter .chap-label { margin-top: 14px; }
.slide.closing { justify-content: center; }
.closing .title { margin-inline: auto; }
.closing .desc { margin-inline: auto; }
.closing .cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  padding: 17px 31px;
  color: var(--white-ink);
  background: var(--coral);
  border: 2px solid #a93b35;
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 23px);
  font-weight: 800;
  transform: rotate(-0.7deg);
  clip-path: polygon(1% 8%, 10% 1%, 21% 7%, 33% 0, 45% 6%, 57% 1%, 69% 7%, 81% 0, 99% 7%, 97% 92%, 86% 100%, 73% 93%, 59% 100%, 46% 92%, 33% 100%, 19% 92%, 2% 99%);
}
.closing .cta-btn svg { width: 22px; height: 22px; }

/* Presente e download */
.slide.gift { align-items: center; justify-content: center; }
.gift-grid { grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr); }
.gift-title { max-width: 16ch; color: var(--ink); font-size: clamp(37px, 3.9vw, 69px); letter-spacing: -0.035em; line-height: 1.01; }
.gift-desc { max-width: 45ch; margin-top: 21px; font-size: clamp(17px, 1.3vw, 22px); }
.dl-btn {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 12px;
  margin-top: 30px;
  padding: 17px 28px;
  color: var(--white-ink);
  background: var(--teal);
  border: 2px solid var(--teal-dark);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.35vw, 21px);
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transform: rotate(-0.6deg);
  transition: transform 160ms var(--ease-paper), box-shadow 160ms var(--ease-paper);
  clip-path: polygon(1% 7%, 10% 0, 21% 6%, 33% 1%, 45% 7%, 57% 0, 69% 6%, 81% 1%, 99% 7%, 97% 93%, 86% 100%, 73% 94%, 59% 100%, 46% 93%, 33% 100%, 19% 93%, 2% 99%);
}
.dl-btn:hover { transform: translateY(-3px) rotate(0.2deg); box-shadow: var(--shadow-deep); }
.dl-btn:active { transform: translateY(1px) scale(0.985); }
.dl-btn svg { width: 21px; height: 21px; }
.dl-sub { max-width: 42ch; margin-top: 14px; color: var(--ink-3); font-size: 14px; font-weight: 600; line-height: 1.45; }
.dl-sub code { padding: 3px 7px; color: var(--navy); background: var(--gold-soft); border: 1px solid #b98620; font-family: ui-monospace, Menlo, monospace; font-size: 0.9em; }

/* Marca */
.brand-mark { display: inline-flex; align-items: center; gap: 13px; }
.chevron-a {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  color: var(--gold);
  background: var(--navy);
  border: 2px solid #0c263e;
  box-shadow: var(--shadow-contact);
  transform: rotate(-2deg);
}
.chevron-a svg { width: 24px; height: 24px; }
.brand-mark .brand-word { color: var(--ink); font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.brand-mark .brand-word span { color: var(--coral-2); }

/* ============================ HUD EM ETIQUETAS ============================ */

#hud { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.progress-track { position: absolute; top: 0; right: 0; left: 0; height: 7px; background: #d2b98b; border-bottom: 1px solid rgba(87, 61, 33, 0.38); }
.progress-fill { width: 0; height: 100%; background: var(--coral); transition: width 450ms var(--ease-paper); }
.hud-top,
.hud-bottom { position: absolute; display: flex; align-items: center; justify-content: space-between; }
.hud-top { top: clamp(22px, 3.2vh, 36px); right: clamp(31px, 4.8vw, 76px); left: clamp(31px, 4.8vw, 76px); }
.hud-bottom { right: clamp(31px, 4.8vw, 76px); bottom: clamp(20px, 2.8vh, 32px); left: clamp(31px, 4.8vw, 76px); }
.hud-brand { display: inline-flex; align-items: center; gap: 10px; }
.hud-brand .chevron-a { width: 34px; height: 34px; }
.hud-brand .chevron-a svg { width: 18px; height: 18px; }
.hud-brand .txt,
.hud-block,
.counter,
.kbd-hint {
  color: var(--ink-2);
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(87, 61, 33, 0.30);
  box-shadow: var(--shadow-contact);
}
.hud-brand .txt { padding: 7px 10px; font-family: var(--font-display); font-size: 14px; font-weight: 800; transform: rotate(0.4deg); }
.hud-brand .txt span { color: var(--coral-2); }
.hud-block { padding: 8px 12px; color: var(--ink-3); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-0.4deg); }
.counter { padding: 8px 12px; font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: 0.05em; }
.counter .cur { color: var(--coral-2); }
.counter .sep { margin: 0 4px; color: var(--ink-4); }
.controls { display: inline-flex; align-items: center; gap: 9px; pointer-events: auto; }
.ctrl-btn,
.click-zone,
.dot-i { border: 0; cursor: pointer; }
.ctrl-btn {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--navy);
  background: var(--paper-light);
  border: 2px solid var(--kraft-dark);
  box-shadow: var(--shadow-contact);
  transition: transform 150ms var(--ease-paper), background 150ms var(--ease-paper);
}
.ctrl-btn:nth-child(2) { background: var(--mustard-soft); }
.ctrl-btn:hover { color: var(--white-ink); background: var(--teal); transform: translateY(-2px) rotate(-2deg); }
.ctrl-btn:active { transform: translateY(1px) scale(0.96); }
.ctrl-btn svg { width: 19px; height: 19px; }
.ctrl-btn.disabled,
.ctrl-btn:disabled { opacity: 0.38; cursor: not-allowed; pointer-events: none; }

.click-zone {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  min-width: 0;
  color: var(--navy);
  background: transparent;
  opacity: 0;
  pointer-events: auto;
  transition: opacity 180ms var(--ease-paper);
}
.click-zone:hover,
.click-zone:focus-visible { opacity: 1; }
.click-zone.left {
  left: 0;
  justify-content: flex-start;
  width: var(--click-zone-left-width, max(11vw, 74px));
  padding-left: var(--click-zone-left-padding, 18px);
}
.click-zone.right {
  right: 0;
  justify-content: flex-end;
  width: var(--click-zone-right-width, max(11vw, 74px));
  padding-right: var(--click-zone-right-padding, 18px);
}
.click-zone .cz-chevron { display: grid; place-items: center; width: 43px; height: 43px; background: var(--paper-light); border: 2px solid var(--kraft-dark); box-shadow: var(--shadow-contact); }
.click-zone .cz-chevron svg { width: 21px; height: 21px; }

.dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 50vw;
  gap: 6px;
  pointer-events: auto;
  transform: translateX(-50%);
}
.dot-i { width: 8px; height: 8px; background: #9d8969; border: 1px solid #74583a; transform: rotate(3deg); transition: width 180ms var(--ease-paper), background 180ms var(--ease-paper); }
.dot-i:nth-child(even) { transform: rotate(-3deg); }
.dot-i:hover { background: var(--teal); }
.dot-i.active { width: 24px; background: var(--coral); border-color: #9e3933; }

.kbd-hint {
  position: absolute;
  bottom: 74px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transform: translateX(-50%) rotate(-0.4deg);
  transition: opacity 350ms var(--ease-paper);
}
.kbd-hint kbd { padding: 3px 7px; color: var(--white-ink); background: var(--navy); border: 1px solid #0b263f; font-family: var(--font-body); font-size: 11px; font-weight: 800; box-shadow: 2px 2px 0 rgba(78, 48, 23, 0.22); }
.kbd-hint.hidden { opacity: 0; pointer-events: none; }

/* ============================ RESPONSIVIDADE ============================ */

@media (max-width: 980px) {
  .slide {
    padding: 82px 48px 92px;
  }

  .split-grid,
  .split-grid.reverse,
  .split-grid.poster-media,
  .split-grid.poster-media.reverse,
  .gift-grid {
    gap: 26px;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  }

  .split-grid .col-text,
  .gift-grid .col-text { padding: 25px; }
  .split-grid .col-text .title { font-size: clamp(28px, 4vw, 42px); }
  .desc { font-size: clamp(15px, 1.8vw, 18px); }
  .keylist li,
  .tc-list li { font-size: clamp(13px, 1.55vw, 16px); }
  .dots { max-width: 42vw; }
}

@media (max-width: 720px), (max-height: 620px) and (orientation: portrait) {
  html,
  body { overflow: hidden; }

  body::after { display: none; }

  #deck { padding: 0; }

  .slide {
    inset: 5px;
    display: block;
    padding: 78px 16px 86px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-padding-top: 78px;
    background-image:
      repeating-linear-gradient(0deg, transparent 0 23px, var(--grid) 23px 24px),
      repeating-linear-gradient(90deg, transparent 0 23px, var(--grid) 23px 24px),
      repeating-linear-gradient(13deg, rgba(111, 76, 35, 0.025) 0 1px, transparent 1px 13px);
    -webkit-overflow-scrolling: touch;
  }

  .slide::after { left: 15px; }
  .slide::before { top: 52px; right: 6%; width: 86px; height: 14px; }

  .split-grid,
  .split-grid.reverse,
  .split-grid.poster-media,
  .split-grid.poster-media.reverse,
  .gift-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 24px;
  }

  .split-grid.reverse .col-media,
  .split-grid .col-media,
  .gift-grid .col-media { order: 2; width: 100%; height: auto; }

  .split-grid .col-text,
  .gift-grid .col-text {
    order: 1;
    width: 100%;
    padding: 23px 19px 22px;
    clip-path: polygon(1% 1%, 18% 0, 35% 1%, 52% 0, 70% 1%, 87% 0, 99% 1%, 100% 99%, 83% 100%, 66% 99%, 49% 100%, 32% 99%, 15% 100%, 0 99%);
  }

  .split-grid .col-text::before,
  .gift-grid .col-text::before { left: 34%; width: 88px; height: 21px; }

  .kicker {
    max-width: 100%;
    margin-bottom: 17px;
    padding: 8px 12px 7px;
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .kicker .blk { display: none; }

  .split-grid .col-text .title,
  .title,
  .gift-title,
  .tc-title {
    max-width: 100%;
    font-size: clamp(29px, 9.1vw, 41px);
    line-height: 1;
  }

  .desc,
  .gift-desc,
  .tc-body {
    max-width: 100%;
    margin-top: 17px;
    font-size: clamp(15px, 4.3vw, 18px);
    line-height: 1.48;
  }

  .keylist,
  .tc-list,
  .split-grid .col-text .keylist,
  .split-grid .col-text .tc-list { margin-top: 18px; }

  .tc-list.two-col { grid-template-columns: 1fr; }
  .keylist li,
  .tc-list li { font-size: 14px; line-height: 1.38; }

  .tc-close { font-size: 15px; }

  .media-frame,
  .pm-frame,
  .poster-frame {
    width: calc(100% - 8px);
    max-height: none;
    padding: 7px;
    box-shadow: 7px 9px 0 rgba(78, 48, 23, 0.20);
  }

  .media-frame { aspect-ratio: 3 / 2; }
  .pm-frame img,
  .poster-frame img { max-height: none; }

  .slide.gift,
  .slide.poster,
  .slide.cover,
  .slide.textslide,
  .slide.closing,
  .slide.statement { display: block; text-align: left; }

  .cover-inner,
  .textcard { margin-top: 8px; padding: 27px 20px; }
  .cover-kicker { align-self: flex-start; }
  .cover-hero { align-items: flex-start; }
  .cover-hero .hero-1,
  .cover-hero .hero-2 { font-size: clamp(47px, 15vw, 70px); }
  .cover-support { font-size: 17px; text-align: left; }
  .poster-inner { height: auto; }
  .poster-kicker { align-self: flex-start; }
  .statement .title,
  .closing .title { max-width: 100%; font-size: clamp(35px, 11vw, 52px); text-align: left; }
  .statement .desc,
  .closing .desc { margin-inline: 0; text-align: left; }
  .closing .cta-btn { margin-top: 25px; padding: 15px 22px; }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4,
  .stat-row.cols-2,
  .stat-row.cols-3,
  .stat-row.cols-4 { grid-template-columns: 1fr; }

  .hud-top { top: 17px; right: 18px; left: 18px; }
  .hud-bottom { right: 18px; bottom: 16px; left: 18px; }
  .hud-brand .txt { display: none; }
  .hud-brand .chevron-a { width: 32px; height: 32px; }
  .hud-block { max-width: 56vw; overflow: hidden; padding: 7px 9px; font-size: 9px; letter-spacing: 0.08em; text-overflow: ellipsis; white-space: nowrap; }
  .counter { padding: 7px 9px; font-size: 13px; }
  .controls { gap: 7px; }
  .ctrl-btn { width: 39px; height: 39px; }
  .dots,
  .kbd-hint,
  .click-zone { display: none; }

  .dl-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
    font-size: 16px;
  }

  .source { font-size: 11px; }
}

@media (max-height: 680px) and (min-width: 721px) {
  .slide { padding-top: 68px; padding-bottom: 72px; }
  .split-grid .col-text { padding: 22px 26px; }
  .kicker { margin-bottom: 13px; padding-block: 7px; }
  .split-grid .col-text .title { font-size: clamp(27px, 3vw, 43px); }
  .split-grid .col-text .desc { margin-top: 13px; font-size: clamp(14px, 1.2vw, 18px); }
  .split-grid .col-text .keylist,
  .split-grid .col-text .tc-list { margin-top: 14px; }
  .keylist li,
  .tc-list li { font-size: clamp(12px, 0.95vw, 15px); }
  .media-frame { max-height: 62vh; }
  .pm-frame,
  .pm-frame img { max-height: 64vh; }
  .hud-top { top: 17px; }
  .hud-bottom { bottom: 15px; }
  .dots { bottom: 21px; }
  .kbd-hint { display: none; }
}


/* ============================ LINHA DO TEMPO EM PAPEL ============================ */

.slide.timeline {
  padding-inline: clamp(26px, 3.4vw, 64px);
  padding-block: clamp(66px, 7vh, 92px) clamp(96px, 11vh, 128px);
  justify-content: center;
}

.tl-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  justify-content: center;
  gap: clamp(10px, 1.5vh, 20px);
  min-height: 0;
}

.tl-kicker { align-self: center; }

.tl-title {
  max-width: 28ch;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 54px);
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.tl-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.7vw, 14px);
  width: 100%;
  padding-block: clamp(8px, 1.4vh, 18px);
}

/* costura de linha de barbante atravessando a página */
.tl-thread {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  border-top: 3px dashed rgba(112, 69, 34, 0.55);
  transform: translateY(-50%) rotate(-0.25deg);
  z-index: 0;
}

.tl-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 134px;
  --tl-tone: var(--coral);
}

.tl-item[data-tone="1"] { --tl-tone: var(--teal); }
.tl-item[data-tone="2"] { --tl-tone: var(--mustard); }
.tl-item[data-tone="3"] { --tl-tone: var(--lavender); }
.tl-item[data-tone="4"] { --tl-tone: var(--denim); }

.tl-item:nth-child(odd) { flex-direction: column; margin-bottom: clamp(30px, 4.6vh, 58px); }
.tl-item:nth-child(even) { flex-direction: column-reverse; margin-top: clamp(30px, 4.6vh, 58px); }

/* moldura polaroid presa na página */
.tl-photo {
  position: relative;
  width: 100%;
  padding: 7px 7px 9px;
  background: var(--paper-light);
  border: 1px solid rgba(117, 83, 44, 0.3);
  box-shadow: var(--shadow-card);
  transform: rotate(-1.4deg);
  transition: transform 260ms var(--ease-paper), box-shadow 260ms var(--ease-paper);
}

.tl-item:nth-child(even) .tl-photo { transform: rotate(1.6deg); }
.tl-item:nth-child(3n) .tl-photo { transform: rotate(2.1deg); }
.tl-item:nth-child(4n) .tl-photo { transform: rotate(-2.4deg); }

.tl-photo::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(117, 83, 44, 0.14);
  pointer-events: none;
}

.tl-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--paper-aged);
  filter: saturate(0.94) contrast(1.02);
}

/* fita crepe segurando a foto */
.tl-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 54%;
  height: 21px;
  background: var(--tape);
  border: 1px solid rgba(117, 83, 44, 0.2);
  box-shadow: 1px 2px 0 rgba(85, 54, 25, 0.12);
  transform: translateX(-50%) rotate(-3deg);
  clip-path: polygon(3% 12%, 14% 0, 27% 14%, 41% 2%, 55% 15%, 69% 1%, 83% 14%, 97% 3%, 96% 88%, 84% 99%, 70% 86%, 56% 98%, 42% 85%, 28% 99%, 15% 87%, 4% 97%);
}

.tl-item:nth-child(even) .tl-tape { transform: translateX(-50%) rotate(4deg); }

/* alfinete que prende o cartão na costura */
.tl-pin {
  width: 13px;
  height: 13px;
  margin-block: clamp(6px, 1vh, 12px);
  background: var(--tl-tone);
  border: 1px solid rgba(20, 45, 70, 0.22);
  box-shadow: 2px 2px 0 rgba(85, 54, 25, 0.18);
  transform: rotate(45deg);
}

.tl-item figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}

.tl-mark {
  padding: 2px 9px 1px;
  color: var(--white-ink);
  background: var(--tl-tone);
  border: 1px solid rgba(20, 45, 70, 0.2);
  box-shadow: 2px 2px 0 rgba(85, 54, 25, 0.16);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(12px, 1.05vw, 17px);
  letter-spacing: 0.04em;
  transform: rotate(-1deg);
}

.tl-note {
  max-width: 17ch;
  color: var(--ink-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(9.5px, 0.78vw, 13px);
  line-height: 1.22;
  text-wrap: balance;
}

.tl-item.is-key .tl-photo { border-color: var(--tl-tone); box-shadow: var(--shadow-deep); }
.tl-item.is-key .tl-mark { font-size: clamp(13px, 1.2vw, 19px); }

.tl-item:hover .tl-photo,
.tl-item:focus-within .tl-photo {
  transform: rotate(0deg) scale(1.9);
  box-shadow: var(--shadow-deep);
  z-index: 40;
}

.tl-item:hover,
.tl-item:focus-within { z-index: 40; }

.tl-foot {
  max-width: 60ch;
  color: var(--ink-2);
  font-size: clamp(12px, 1vw, 16px);
  line-height: 1.5;
  text-align: center;
}

/* QR real encaixado no espaço reservado da arte */
.pm-stack { position: relative; display: block; width: 100%; }

.pm-qr {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7%;
  background: var(--paper-light);
  box-shadow: 1px 2px 0 rgba(78, 48, 23, 0.28);
}

.pm-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ============================ CARTÃO DE QR ============================ */

.qr-card {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  margin-top: 18px;
  padding: 12px 18px 12px 12px;
  background: var(--paper-light);
  border: 1px solid rgba(117, 83, 44, 0.3);
  box-shadow: var(--shadow-card);
  transform: rotate(-0.8deg);
}

.qr-card img {
  display: block;
  width: clamp(96px, 9vw, 148px);
  height: auto;
  background: #fff;
  border: 1px solid rgba(117, 83, 44, 0.22);
  padding: 6px;
}

.qr-side { display: flex; flex-direction: column; gap: 6px; }

.qr-label {
  color: var(--white-ink);
  background: var(--slide-accent);
  padding: 4px 10px 3px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(12px, 1vw, 16px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.qr-sub {
  max-width: 24ch;
  color: var(--ink-2);
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.4;
}

@media (max-width: 980px) {
  .tl-item { max-width: 120px; }
  .tl-item:nth-child(odd) { margin-bottom: clamp(24px, 4vh, 44px); }
  .tl-item:nth-child(even) { margin-top: clamp(24px, 4vh, 44px); }
}

@media (max-width: 720px) {
  .slide.timeline { padding-inline: 14px; }
  .tl-wrap { justify-content: flex-start; overflow-y: auto; gap: 10px; padding-bottom: 84px; -webkit-overflow-scrolling: touch; }
  .tl-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 10px;
    padding-block: 6px;
  }
  .tl-thread { display: none; }
  .tl-item,
  .tl-item:nth-child(odd),
  .tl-item:nth-child(even) {
    max-width: none;
    flex-direction: column;
    margin: 0;
  }
  .tl-item:hover .tl-photo,
  .tl-item:focus-within .tl-photo { transform: none; }
  .tl-title { font-size: clamp(22px, 6vw, 30px); }
  .qr-card { width: 100%; transform: none; }
}

/* ============================ MOVIMENTO REDUZIDO ============================ */

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

  .slide,
  .slide.leaving-prev,
  .slide.active,
  .slide.active [data-anim],
  [data-infographic-frame],
  .infographic-lightbox__stage,
  .infographic-lightbox__clone { transform: none !important; }
}

@media print {
  html,
  body { height: auto; overflow: visible; background: white; }
  #deck { height: auto; padding: 0; }
  .slide { position: relative; inset: auto; min-height: 100vh; break-after: page; opacity: 1 !important; visibility: visible !important; transform: none !important; }
  #hud,
  .click-zone,
  .infographic-lightbox { display: none !important; }
}

/* ---------- BIGVIDEO (depoimento com som) ---------- */
.slide.bigvideo { align-items: center; justify-content: center; padding-inline: clamp(24px, 4vw, 80px); text-align: center; }
.bv-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; }
.bv-kicker { align-self: center; margin-bottom: 0; }
.bv-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 1000px;
}
.bv-frame {
  position: relative;
  padding: clamp(7px, 0.8vw, 12px);
  background: var(--kraft);
  border: 3px solid var(--kraft-dark);
  border-radius: 3px 7px 4px 6px;
  box-shadow: var(--shadow-deep);
  transform: rotate(-0.3deg);
  max-width: 100%;
}
.bv-frame::before {
  content: "";
  position: absolute;
  top: -13px;
  left: 50%;
  width: 110px;
  height: 26px;
  margin-left: -55px;
  background: var(--tape);
  border: 1px solid rgba(87, 61, 33, 0.25);
  transform: rotate(-2deg);
  border-radius: 2px;
  z-index: 2;
  pointer-events: none;
}
.bv-media {
  display: block;
  width: min(1060px, 88vw);
  max-height: 62vh;
  background: #000;
  border-radius: 2px;
}
.bv-note {
  display: inline-block;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--ink);
  background: var(--mustard-soft);
  border: 2px solid var(--kraft-dark);
  border-radius: 999px;
  padding: 6px 18px;
  box-shadow: var(--shadow-contact);
}
@media (max-width: 860px) {
  .slide.bigvideo { display: block; text-align: left; }
  .bv-inner { height: auto; align-items: flex-start; }
  .bv-kicker { align-self: flex-start; }
  .bv-title { font-size: clamp(24px, 7vw, 34px); text-align: left; }
  .bv-media { width: 100%; max-height: none; }
}

/* bigvideo múltiplo: depoimentos lado a lado */
.bv-grid { display: flex; align-items: center; justify-content: center; }
.bv-grid.is-multi { gap: clamp(14px, 2vw, 30px); }
.bv-item { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0; }
.bv-item .bv-frame:nth-child(1) { transform: rotate(-0.3deg); }
.bv-grid.is-multi .bv-item:nth-child(2) .bv-frame { transform: rotate(0.4deg); }
.bv-grid.is-multi .bv-media { width: auto; height: min(54vh, 560px); max-width: 44vw; }
.bv-label {
  display: inline-block;
  font-weight: 800;
  font-size: clamp(14px, 1.3vw, 18px);
  color: var(--white-ink);
  background: var(--teal);
  border: 2px solid var(--kraft-dark);
  border-radius: 999px;
  padding: 4px 16px;
  box-shadow: var(--shadow-contact);
}
@media (max-width: 860px) {
  .bv-grid.is-multi { flex-direction: column; }
  .bv-grid.is-multi .bv-media { width: 100%; height: auto; max-width: 100%; }
}

/* ---------- PRINTS (mural de depoimentos) ---------- */
.slide.prints { align-items: center; justify-content: center; padding-inline: clamp(24px, 4vw, 80px); text-align: center; }
.pr-wrap { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; width: 100%; height: 100%; }
.pr-kicker { align-self: center; margin-bottom: 0; }
.pr-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 1000px;
}
.pr-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 20px);
  max-width: 1500px;
}
.pr-item { margin: 0; }
.pr-item:nth-child(odd) { transform: rotate(-1.1deg); }
.pr-item:nth-child(even) { transform: rotate(0.9deg); }
.pr-photo {
  position: relative;
  padding: 6px 6px 10px;
  background: var(--paper-light);
  border: 2px solid var(--paper-shadow);
  border-radius: 3px;
  box-shadow: var(--shadow-card);
}
.pr-tape {
  position: absolute;
  top: -11px;
  left: 50%;
  width: 54px;
  height: 20px;
  margin-left: -27px;
  background: var(--tape);
  border: 1px solid rgba(87, 61, 33, 0.25);
  transform: rotate(-3deg);
  border-radius: 2px;
}
.pr-media {
  display: block;
  width: auto;
  height: clamp(200px, 30vh, 320px);
  border-radius: 2px;
}
.pr-foot { font-weight: 700; color: var(--ink-2); font-size: clamp(14px, 1.3vw, 18px); }
@media (max-width: 860px) {
  .slide.prints { display: block; text-align: left; }
  .pr-wrap { height: auto; align-items: flex-start; }
  .pr-kicker { align-self: flex-start; }
  .pr-title { text-align: left; }
  .pr-media { height: 220px; }
}

/* modal de leitura do print: na página, 3x o tamanho padrão, sem tela cheia */
.pr-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 54, 83, 0.72);
  cursor: zoom-out;
}
.pr-modal[hidden] { display: none; }
.pr-modal__img {
  height: min(90vh, 960px); /* 3x o clamp(200px, 30vh, 320px) do mural */
  width: auto;
  background: var(--paper-light);
  border: 3px solid var(--kraft-dark);
  border-radius: 6px;
  box-shadow: var(--shadow-deep);
}
.pr-photo { cursor: zoom-in; }

/* lightbox com overlay (QR): o conjunto imagem+QR entra no modal sem desalinhar */
.infographic-lightbox__clone.pm-stack {
  position: relative;
  display: block;
  width: fit-content;
  height: fit-content;
  max-width: 100%;
  max-height: 100%;
}
.infographic-lightbox__clone.pm-stack > img[data-infographic-primary] {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  opacity: 1;
}

/* bigvideo: tiles menores com botão de play, modal com som */
.bv-frame { position: relative; }
.bv-item { cursor: pointer; }
.bv-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 44px;
  color: var(--white-ink);
  text-shadow: 2px 3px 0 rgba(20, 45, 70, 0.55);
  pointer-events: none;
}
.bv-grid.is-multi .bv-media { height: min(38vh, 380px); max-width: 30vw; }
.bv-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 54, 83, 0.78);
}
.bv-modal[hidden] { display: none; }
.bv-modal__video {
  max-width: 88vw;
  max-height: 86vh;
  background: #000;
  border: 3px solid var(--kraft-dark);
  border-radius: 6px;
  box-shadow: var(--shadow-deep);
}
@media (max-width: 860px) {
  .bv-grid.is-multi .bv-media { max-width: 100%; }
}
