/* ==========================================================================
   Velvet Book Club — Landing page
   Paleta Velvet · outono em NY · scrapbook boho · UX inspirado na Apple
   ========================================================================== */

:root {
  /* Paleta Velvet */
  --ivory: #F4E9DE;        /* Marfim Quente */
  --ivory-2: #EDE0D1;
  --paper: #FBF6EF;
  --sand: #D8B7A3;         /* Areia Rosada */
  --cinnamon: #B97A74;     /* Vermelho Canela */
  --terracotta: #C58D6D;   /* Terracota Suave */
  --caramel: #B08968;      /* Caramelo Fosco */
  --sage: #B5B09A;         /* Sálvia Aveludada */
  --mauve: #C7B1BA;        /* Malva Vintage */
  --graphite: #7B746F;     /* Grafite Pastel */
  --velvet: #93725A;

  /* Tons claros e profundos derivados da paleta (superfícies e ícones) */
  --sage-tint: #E0DBCF;
  --mauve-tint: #E7DCDB;
  --terracotta-tint: #E6CEBE;
  --caramel-tint: #DFCDBC;
  --cinnamon-tint: #E2C7C0;
  --sand-tint: #EEDED2;
  --sage-deep: #5D594A;
  --blush: #F0E2D7;          /* Areia Rosada em tom pastel (fundo do hero) */
  --black: #1B120E;
  --chocolate: #6B4430;

  /* Tons escuros (café) */
  --espresso: #241913;
  --espresso-2: #34251D;
  --espresso-3: #1B120E;

  /* Semânticos */
  --ink: #2E211A;
  --ink-2: #5A463A;
  --on-dark: #F4E9DE;
  --on-dark-2: #D9C7B6;
  --cta: #8A4B44;
  --cta-hover: #773E38;
  --gold: #D4B07A;
  --gold-light: #E3C495;
  --focus: #8A4B44;
  --error: #9B2F25;
  --success: #3F6A3A;

  /* Tipografia */
  --font-hero: "Instrument Serif", "Bodoni Moda", Georgia, serif;
  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;

  /* Forma & profundidade */
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 12px;
  --shadow-1: 0 1px 2px rgba(36, 25, 19, .06), 0 10px 28px rgba(36, 25, 19, .10);
  --shadow-2: 0 2px 6px rgba(36, 25, 19, .14), 0 28px 56px rgba(36, 25, 19, .28);

  /* Movimento */
  --ease: cubic-bezier(.22, .72, .2, 1);

  --nav-h: 56px;

  /* Textura de papel (ruído sutil) */
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .24 0 0 0 0 .17 0 0 0 .55 -.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* Borda de papel rasgado */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V16L2.5 15.6L7.2 11.9L15.7 11.2L21.8 10.9L27.6 9.2L31.7 10.9L35.1 9.9L41.8 12.6L46.9 9.2L51.0 11.1L57.6 11.6L63.5 9.4L68.1 11.8L70.7 9.4L77.2 11.1L79.8 10.1L88.5 10.3L91.7 11.2L100.9 9.8L109.7 5.9L117.3 8.4L126.4 6.7L130.1 9.1L139.2 10.9L148.7 13.3L154.2 11.4L161.0 7.6L170.2 10.2L175.2 13.2L177.7 14.5L186.8 14.9L194.1 15.0L202.6 14.5L211.5 18.5L217.0 20.9L223.1 18.7L225.9 15.2L234.2 12.0L239.2 12.4L244.3 12.2L247.5 11.3L251.3 11.8L257.6 15.2L260.8 19.1L270.3 21.3L276.7 20.2L285.2 21.4L291.3 19.8L297.5 17.9L306.7 18.4L315.6 15.6L319.2 19.3L326.6 17.6L334.8 16.5L343.5 16.4L349.6 14.2L352.8 16.6L361.4 14.7L369.2 13.5L377.7 12.9L380.2 9.1L382.9 9.6L387.5 12.0L392.2 13.1L401.7 13.1L409.5 10.5L416.5 10.4L420.7 8.5L426.7 9.5L432.4 7.9L438.4 8.0L441.7 9.0L449.9 9.0L456.3 6.7L464.2 5.7L467.5 6.3L472.7 3.9L478.8 7.2L484.0 4.6L492.4 7.2L500.0 5.1L504.4 3.0L509.1 6.4L516.5 6.9L521.9 7.0L527.5 8.9L530.1 11.2L538.1 8.4L546.1 10.0L552.9 9.3L561.3 14.4L570.1 14.5L573.8 15.0L579.6 16.9L587.4 16.1L591.1 16.1L597.9 16.1L600.0 16.0V40Z'/%3E%3C/svg%3E");
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--espresso);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

html.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; overflow-wrap: break-word; }
h1, h2, h3 { overflow-wrap: break-word; }

::selection { background: var(--mauve); color: var(--ink); }
html { scrollbar-color: var(--caramel) var(--ivory); accent-color: var(--cta); }
input, textarea { caret-color: var(--cta); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
p:last-child { margin-bottom: 0; }
a { color: inherit; }
em { font-style: italic; }

main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: max(20px, env(safe-area-inset-left)) max(20px, env(safe-area-inset-right));
}
.container--narrow { max-width: 860px; }

@media (min-width: 768px) {
  .container { padding-inline: max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right)); }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top)); }

/* ---------- Ícones ---------- */
.icon {
  width: 24px;
  height: 24px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--sm { width: 18px; height: 18px; }
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Botões (pílulas estilo Apple) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 980px;
  font: 600 1rem/1.1 var(--font-body);
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), scale .15s var(--ease);
}
.btn:active { scale: .97; }
.btn:disabled { opacity: .55; cursor: progress; }

.btn--primary {
  background: var(--cta);
  color: var(--paper);
  box-shadow: 0 6px 16px rgba(20, 13, 10, .28);
}
.btn--primary:hover { background: var(--cta-hover); }

.btn--outline {
  background: transparent;
  border-color: rgba(46, 33, 26, .35);
  color: var(--ink);
}
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--ivory); }

.btn--light { background: var(--ivory); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  min-height: 44px;
  font-weight: 600;
  color: var(--cta);
  text-decoration: none;
}
.link-arrow .icon { transition: translate .2s var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover .icon { translate: 3px 0; }


/* ---------- Navegação ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top);
  background: rgba(247, 238, 231, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(46, 33, 26, .08);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  --focus: var(--cta);
}
.nav.is-scrolled { background: rgba(247, 238, 231, .9); border-bottom-color: rgba(46, 33, 26, .12); }

.nav__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  flex: none;
}
.nav__brand img { height: 26px; width: auto; }
.nav__brand-sub {
  padding-left: 10px;
  border-left: 1px solid rgba(46, 33, 26, .2);
  font: 600 .6875rem/1 var(--font-body);
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav__links { display: none; }

.nav__actions { display: flex; align-items: center; gap: 6px; }

.nav__toggle,
.menu__close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ivory);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.nav__toggle { color: var(--ink); }
.nav__toggle:hover { background: rgba(46, 33, 26, .07); }
.menu__close:hover { background: rgba(244, 233, 222, .08); }

.menu :focus-visible { outline-color: var(--gold); }

@media (max-width: 459px) {
  .nav__brand-sub { display: none; }
}

@media (min-width: 1040px) {
  .nav__links {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .nav__links a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 980px;
    font-size: .875rem;
    color: var(--ink-2);
    text-decoration: none;
    transition: color .2s var(--ease), background-color .2s var(--ease);
  }
  .nav__links a:hover { color: var(--black); }
  .nav__links a.is-active { color: var(--black); background: rgba(46, 33, 26, .07); }
  .nav__toggle { display: none; }
}

/* ---------- Menu mobile ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: rgba(27, 18, 14, .97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  color: var(--ivory);
  opacity: 0;
  transition: opacity .22s var(--ease);
}
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; }

.menu__top {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
}
.menu__logo { height: 26px; width: auto; }

.menu__links {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  flex: 1;
}
.menu__links a {
  display: flex;
  align-items: center;
  min-height: 60px;
  border-bottom: 1px solid rgba(244, 233, 222, .08);
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--ivory);
  text-decoration: none;
  translate: 0 12px;
  opacity: 0;
  transition: translate .4s var(--ease), opacity .4s var(--ease), color .2s;
}
.menu.is-open .menu__links a { translate: none; opacity: 1; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 30ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 60ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 90ms; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 120ms; }
.menu.is-open .menu__links a:nth-child(6) { transition-delay: 150ms; }
.menu.is-open .menu__links a:nth-child(7) { transition-delay: 180ms; }
.menu__links a:hover { color: var(--gold-light); }

.menu__footer { padding-block: 28px 32px; flex: none; }
.menu__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 16px 0 0;
  color: var(--on-dark-2);
}
.menu__social a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  text-decoration: none;
}

/* ---------- Superfícies ---------- */
.section {
  position: relative;
  padding-block: clamp(84px, 11vw, 150px);
  background-color: var(--bg);
  overflow-x: clip;
}

.section--ivory { --bg: var(--ivory); --edge: #FFFBF5; background-image: var(--noise); }
.section--sand { --bg: var(--sand-tint); --edge: #F8F0EA; background-image: var(--noise); }
.section--sage { --bg: var(--sage-tint); --edge: #F0EDE5; background-image: var(--noise); }
.section--mauve { --bg: var(--mauve-tint); --edge: #F5EFEE; background-image: var(--noise); }
.section--dark { --bg: var(--espresso); --edge: #4A372C; color: var(--on-dark); --focus: var(--gold); }
.section--dark-2 { --bg: var(--espresso-2); --edge: #5A443A; color: var(--on-dark); --focus: var(--gold); }

/* Papel de parede floral vintage */
.wallpaper {
  --bg: var(--espresso);
  background-color: var(--espresso);
  background-image:
    radial-gradient(ellipse 80% 70% at 30% 40%, rgba(27, 18, 14, .62), rgba(27, 18, 14, .86)),
    url("../img/wallpaper.webp");
  background-size: auto, 440px 440px;
  background-repeat: no-repeat, repeat;
}
.wallpaper--soft {
  background-image:
    linear-gradient(rgba(27, 18, 14, .9), rgba(27, 18, 14, .9)),
    url("../img/wallpaper.webp");
}

/* Borda de papel rasgado no topo das seções */
.torn-top::before,
.torn-top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 30px;
  pointer-events: none;
  -webkit-mask: var(--torn) repeat-x 0 0 / 600px 100%;
  mask: var(--torn) repeat-x 0 0 / 600px 100%;
}
.torn-top::after { /* fibras claras aparecendo na borda */
  top: -31px;
  z-index: 3;
  background: var(--edge);
  -webkit-mask-position: 173px 0;
  mask-position: 173px 0;
}
.torn-top::before {
  top: -27px;
  z-index: 4;
  background: var(--bg);
}

/* ---------- Componentes scrapbook ---------- */
.frame {
  position: relative;
  margin: 0;
  aspect-ratio: var(--ar);
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .38));
}
.frame__photo {
  position: absolute;
  top: var(--t);
  left: var(--l);
  width: calc(100% - var(--l) - var(--r));
  height: calc(100% - var(--t) - var(--b));
  object-fit: cover;
  background: #3a2a21;
  filter: sepia(.12) saturate(.95) contrast(1.02);
}
.frame__border {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.frame--ornate { --ar: 1000 / 1250; --t: 13.5%; --b: 13.1%; --l: 17.1%; --r: 16.9%; }
.frame--oval { --ar: 1000 / 1376; --t: 14.2%; --b: 16.6%; --l: 14.1%; --r: 14.3%; }
.frame--oval .frame__photo { border-radius: 50%; }
.frame--slim { --ar: 1000 / 1436; --t: 5.9%; --b: 6.1%; --l: 8.7%; --r: 9%; }

.polaroid {
  position: relative;
  margin: 0;
  padding: 8px 8px 0;
  background: #FBF7F0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12), 0 14px 30px rgba(36, 25, 19, .24);
  rotate: var(--rot, 0deg);
  transition: rotate .35s var(--ease), scale .35s var(--ease), translate .8s var(--ease), opacity .8s var(--ease);
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #E7D9C9;
  filter: sepia(.1) saturate(.95);
}
.polaroid figcaption {
  padding: 10px 4px 14px;
  font-family: var(--font-hand);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  color: var(--ink);
}

.note {
  position: absolute;
  padding: 28px 26px 24px;
  background: url("../img/paper-landscape.webp") center / 100% 100% no-repeat;
  rotate: var(--rot, 0deg);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28));
}
.note p {
  margin: 0;
  font-family: var(--font-hand);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
}

.tape {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  width: 92px;
  height: 26px;
  translate: -50% 0;
  rotate: -4deg;
  background-color: var(--tape, rgba(216, 183, 163, .85));
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, .16) 0 5px, transparent 5px 10px);
  clip-path: polygon(3% 0, 97% 0, 100% 18%, 97% 34%, 100% 50%, 97% 66%, 100% 82%, 97% 100%, 3% 100%, 0 82%, 3% 66%, 0 50%, 3% 34%, 0 18%);
  opacity: .9;
}
.tape--sage { --tape: rgba(181, 176, 154, .88); }
.tape--mauve { --tape: rgba(199, 177, 186, .9); }
.tape--sand { --tape: rgba(216, 183, 163, .88); }

.sticker {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .28));
}

.paper-card {
  position: relative;
  padding: clamp(40px, 5vw, 64px) clamp(28px, 4.5vw, 60px);
  background: url("../img/paper-portrait.webp") center / 100% 100% no-repeat;
  filter: drop-shadow(0 18px 30px rgba(36, 25, 19, .2));
  color: var(--ink);
}
.paper-card__title {
  margin-bottom: 18px;
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: center;
}
.paper-card p { color: var(--ink-2); line-height: 1.7; }

/* ---------- Cabeçalhos de seção ---------- */
.section-head {
  max-width: 780px;
  margin: 0 auto clamp(44px, 6vw, 76px);
  text-align: center;
}
.section-head h2 {
  font-size: clamp(2.15rem, 5.4vw, 3.75rem);
  color: var(--ink);
}
.section-head__lead {
  margin-top: 18px;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
}
.section-head--light h2 { color: var(--ivory); }
.section-head--light .section-head__lead { color: var(--on-dark-2); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 32px);
  padding-bottom: 60px;
  background-color: var(--blush);
  background-image:
    radial-gradient(ellipse 60% 55% at 72% 42%, rgba(255, 250, 244, .75), transparent 70%),
    var(--noise);
  color: var(--ink);
  overflow-x: clip;
  --focus: var(--cta);
}

/* Celular e tablet: texto à esquerda, imagens à direita, botões embaixo */
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  grid-template-areas:
    "title   media"
    "lead    media"
    "actions actions"
    "ticket  ticket";
  grid-template-rows: auto 1fr auto auto;
  column-gap: 14px;
  align-items: start;
}
.hero__copy { display: contents; }
.hero__title { grid-area: title; }
.hero__lead { grid-area: lead; }
.hero__collage { grid-area: media; }
.hero__actions { grid-area: actions; }
.hero__ticket { grid-area: ticket; }

/* Título: maiúsculas condensadas + itálico fluido (Instrument Serif) */
.hero__title {
  container-type: inline-size;
  font-family: var(--font-hero);
  font-weight: 400;
  line-height: .86;
  letter-spacing: 0;
  color: var(--black);
}
.hero__caps {
  display: block;
  font-size: 12vw;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero__word {
  display: block;
  margin: .02em 0 .06em;
  font-size: 14vw;
  font-style: italic;
  line-height: .8;
  letter-spacing: -.01em;
  color: var(--chocolate);
}
.hero__small {
  display: block;
  margin: 0 0 .12em .1em;
  font-size: .4em;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--ink-2);
}
@supports (container-type: inline-size) {
  .hero__caps { font-size: 36cqi; }
  .hero__word { font-size: 32cqi; }
}

.hero__lead {
  max-width: 30em;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 22px;
  margin-top: 28px;
}
.hero__actions .btn { flex: 1 1 100%; }

/* Ingresso do clube (mesmo vocabulário dos tickets da seção do Ives) */
.hero__ticket {
  margin-top: 24px;
  filter: drop-shadow(0 10px 16px rgba(46, 33, 26, .22));
}
.ticket {
  display: flex;
  align-items: stretch;
  max-width: 100%;
  background: var(--ivory);
  color: var(--ink);
  rotate: -1.5deg;
  -webkit-mask:
    radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51% 100% no-repeat;
  mask:
    radial-gradient(circle at 0 50%, transparent 8px, #000 8.5px) left / 51% 100% no-repeat,
    radial-gradient(circle at 100% 50%, transparent 8px, #000 8.5px) right / 51% 100% no-repeat;
}
.ticket__stub {
  display: grid;
  place-items: center;
  flex: none;
  padding: 0 16px 0 22px;
  border-right: 2px dashed rgba(46, 33, 26, .28);
  font-family: var(--font-hero);
  font-size: 2.2rem;
  font-style: italic;
  line-height: 1;
  color: var(--cta);
}
.ticket__list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  align-content: center;
  gap: 4px 20px;
  margin: 0;
  padding: 12px 24px 12px 16px;
  list-style: none;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
}
.ticket__list li { white-space: nowrap; }
@media (max-width: 439px) {
  .ticket__stub { display: none; }
  .ticket__list { gap: 4px 14px; padding: 12px 18px 12px 18px; }
}
.ticket__list li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 8px 2px 0;
  border-radius: 50%;
  background: var(--cta);
  vertical-align: middle;
}

/* Colagem (coluna da direita no celular) */
.hero__collage {
  position: relative;
  width: 100%;
  margin-top: 2px;
  padding: 0 0 30%;
}
.hero__frame {
  width: 100%;
  filter:
    drop-shadow(0 2px 3px rgba(46, 33, 26, .3))
    drop-shadow(10px 22px 26px rgba(46, 33, 26, .42));
}
.hero__polaroid { position: absolute; right: -4%; bottom: 0; width: 60%; padding: 5px 5px 16px; }
.hero__polaroid img { aspect-ratio: 1; }
.hero__polaroid .tape { width: 52px; height: 18px; top: -9px; }
.hero__leaves { --rot: -14deg; top: -6%; left: -10%; width: 42%; rotate: var(--rot); }
.hero__seal { --rot: -10deg; bottom: 12%; left: -6%; width: 30%; rotate: var(--rot); }

/* ---------- Abertura do scrapbook (overdrive) ----------
   Só CSS: roda no primeiro paint, sem depender de JS. Sem movimento
   para quem prefere menos animação: tudo aparece direto no lugar final. */
@media (prefers-reduced-motion: no-preference) {
  /* Título: tinta que se espalha no papel, linha a linha */
  .hero__caps,
  .hero__word {
    -webkit-mask-image: linear-gradient(100deg, #000 40%, transparent 60%);
    mask-image: linear-gradient(100deg, #000 40%, transparent 60%);
    -webkit-mask-size: 250% 100%;
    mask-size: 250% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    animation: ink 1s cubic-bezier(.3, .6, .2, 1) both;
  }
  /* A máscara cobre a caixa da linha: estende a área para não cortar Ó e Ç */
  .hero__caps { padding-block: .22em .2em; margin-block: -.22em -.2em; }
  .hero__word { padding-block: .22em .2em; margin-block: -.2em -.14em; }
  .hero__caps { animation-delay: .1s; }
  .hero__word { animation-duration: 1.3s; animation-delay: .35s; }

  .hero__lead { animation: rise .7s var(--ease) .9s both; }
  .hero__actions { animation: rise .7s var(--ease) 1s both; }
  .ticket { animation: ticket-in .9s var(--ease) 1.15s both; }

  /* Moldura: pendurada no prego, balança e assenta (pêndulo amortecido) */
  .hero__frame {
    transform-origin: 50% 0;
    animation:
      frame-hang 1.8s cubic-bezier(.37, 0, .63, 1) .15s both,
      frame-sway 6s ease-in-out 2.4s infinite alternate;
  }
  .hero__leaves {
    animation:
      leaf-fall 1.4s var(--ease) .5s both,
      leaf-sway 4.5s ease-in-out 2.4s infinite alternate;
  }
  .hero__polaroid { animation: drop-in 1.1s cubic-bezier(.3, .7, .3, 1) .75s both; }
  .hero__polaroid .tape { animation: tape-stick .45s var(--ease) 1.5s both; }
  .hero__seal { animation: stamp .7s cubic-bezier(.3, .7, .3, 1) 1.55s both; }

  /* Pausa o movimento contínuo quando o hero sai da tela */
  .hero.is-offscreen .hero__frame,
  .hero.is-offscreen .hero__leaves { animation-play-state: paused; }
}

@keyframes ink {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: blur(6px); opacity: .3; }
  55%  { filter: blur(0); opacity: 1; }
  to   { -webkit-mask-position: 0 0; mask-position: 0 0; filter: blur(0); opacity: 1; }
}
@keyframes rise {
  from { opacity: 0; translate: 0 14px; }
}
@keyframes ticket-in {
  from { opacity: 0; translate: 0 26px; rotate: 5deg; }
  70%  { opacity: 1; rotate: -2.4deg; }
  to   { translate: 0 0; rotate: -1.5deg; }
}
@keyframes frame-hang {
  0%   { opacity: 0; translate: 0 -48px; rotate: -9deg; }
  16%  { opacity: 1; }
  30%  { translate: 0 0; rotate: 6deg; }
  46%  { rotate: -3.6deg; }
  62%  { rotate: 2deg; }
  76%  { rotate: -1deg; }
  89%  { rotate: .4deg; }
  100% { translate: 0 0; rotate: 0deg; }
}
@keyframes frame-sway {
  from { rotate: 0deg; }
  to   { rotate: .6deg; }
}
@keyframes leaf-fall {
  0%   { opacity: 0; translate: -40px -90px; rotate: calc(var(--rot, 0deg) - 70deg); }
  35%  { opacity: 1; }
  60%  { translate: 6px 4px; rotate: calc(var(--rot, 0deg) + 8deg); }
  80%  { translate: -2px 0; rotate: calc(var(--rot, 0deg) - 3deg); }
  100% { translate: 0 0; rotate: var(--rot, 0deg); }
}
@keyframes leaf-sway {
  from { rotate: var(--rot, 0deg); }
  to   { rotate: calc(var(--rot, 0deg) + 4deg); }
}
@keyframes drop-in {
  0%   { opacity: 0; translate: 60px -150px; rotate: calc(var(--rot, 0deg) + 22deg); scale: 1.1; }
  25%  { opacity: 1; }
  62%  { translate: 0 6px; rotate: calc(var(--rot, 0deg) - 3deg); scale: 1; }
  82%  { translate: 0 -2px; rotate: calc(var(--rot, 0deg) + 1deg); }
  100% { translate: 0 0; rotate: var(--rot, 0deg); scale: 1; }
}
@keyframes tape-stick {
  0%   { opacity: 0; scale: 1.4; rotate: -14deg; }
  70%  { opacity: .95; scale: .96; rotate: -3deg; }
  100% { opacity: .9; scale: 1; rotate: -4deg; }
}
@keyframes stamp {
  0%   { opacity: 0; scale: 2.1; rotate: calc(var(--rot, 0deg) - 35deg); }
  55%  { opacity: 1; scale: .8; rotate: var(--rot, 0deg); }
  75%  { scale: 1.07; }
  100% { scale: 1; rotate: var(--rot, 0deg); }
}

@media (min-width: 600px) {
  .hero__grid { column-gap: 28px; }
  .hero__caps { font-size: 21cqi; }
  .hero__word { font-size: 25cqi; margin-left: .3em; }
  .hero__small { display: inline; margin: 0; }
  .hero__lead { font-size: 1.125rem; }
  .hero__actions { justify-content: flex-start; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__ticket { justify-self: start; }
  .ticket__list { grid-template-columns: repeat(4, auto); gap: 0 18px; }
  .hero__polaroid { width: 46%; padding: 8px 8px 26px; }
  .hero__polaroid img { aspect-ratio: 4 / 5; }
}

@media (min-width: 980px) {
  .hero {
    padding-top: calc(var(--nav-h) + 48px);
    padding-bottom: 0;
  }
  .hero__grid {
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    grid-template-areas: "copy media";
    grid-template-rows: auto;
    gap: 24px;
    align-items: start;
  }
  .hero__copy {
    display: block;
    grid-area: copy;
    position: relative;
    z-index: 2;
    padding-bottom: 48px;
  }
  .hero__caps { font-size: 21cqi; }
  .hero__word { font-size: 25cqi; margin-left: .45em; }
  .hero__lead { margin-top: 26px; font-size: 1.2rem; }
  .hero__ticket { margin-top: 32px; }
  .ticket { display: inline-flex; }
  .ticket__list { grid-template-columns: repeat(2, auto); gap: 4px 20px; }
  /* A colagem desce e fica presa sob a faixa de tropes */
  /* Topo da moldura na linha das maiúsculas; a base continua presa sob a faixa de tropes */
  .hero__collage {
    margin: 3px -64px -74px 0;
    padding: 0;
  }
  .hero__frame {
    width: min(86%, max(560px, calc((100svh - var(--nav-h) - 64px) * .8)));
    margin: 0 10% 0 auto;
    filter:
      drop-shadow(0 3px 4px rgba(46, 33, 26, .3))
      drop-shadow(18px 30px 36px rgba(46, 33, 26, .45));
  }
  .hero__polaroid { top: 4%; right: 0; bottom: auto; width: 28%; }
  .hero__polaroid .tape { width: 92px; height: 26px; top: -13px; }
  .hero__leaves { top: 0; left: 0; width: 21%; }
  .hero__seal { bottom: 30%; left: 1%; width: 12%; }
}

/* Faixa de tropes */
.ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  padding: 18px 0 42px;
  background: var(--terracotta);
  color: var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.ticker__track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
  white-space: nowrap;
}
.ticker__track span::after {
  content: "✦";
  margin: 0 26px;
  font-size: .85rem;
  font-style: normal;
  color: var(--espresso-2);
  opacity: .55;
}
.ticker:hover .ticker__track,
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__toggle {
  position: absolute;
  top: 12px;
  right: max(12px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--terracotta);
  box-shadow: 0 0 0 1px rgba(46, 33, 26, .25), -14px 0 18px 4px var(--terracotta);
  color: var(--ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.ticker__toggle::before { content: ""; position: absolute; inset: -4px; }
.ticker__toggle:hover { background: #CF9B7D; }
.ticker__toggle:focus-visible { outline-color: var(--ink); }
.ticker__icon-play { display: none; }
.ticker.is-paused .ticker__icon-play { display: block; }
.ticker.is-paused .ticker__icon-pause { display: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- SOBRE ---------- */
.about { display: grid; gap: 56px; align-items: center; }

.about__collage {
  position: relative;
  width: min(100%, 420px);
  margin-inline: auto;
  padding-bottom: 16%;
}
.about__frame { width: 68%; }
.about__polaroid { position: absolute; right: 0; bottom: 0; width: 46%; }
.about__flowers { top: -5%; left: 58%; width: 24%; rotate: 14deg; }

.about__card {
  background-image: url("../img/paper-landscape.webp");
  text-align: left;
}
.about__logo { width: 116px; margin: 0 auto 8px; }

.stats {
  display: grid;
  margin: clamp(56px, 8vw, 96px) 0 0;
  border-top: 1px solid rgba(46, 33, 26, .16);
}
.stats__item {
  padding: 26px 0;
  border-bottom: 1px solid rgba(46, 33, 26, .16);
  text-align: center;
}
.stats dt {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--cta);
}
.stats dd { margin: 6px 0 0; color: var(--ink-2); }

.scene {
  position: relative;
  margin: clamp(64px, 9vw, 112px) 0 0;
}
.scene img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
}
.scene__note {
  left: 50%;
  bottom: -28px;
  width: min(82%, 380px);
  translate: -50% 0;
}
.scene__note p { font-size: 1.3rem; }

@media (min-width: 768px) {
  .scene img { aspect-ratio: 16 / 9; }
  .scene__note { left: auto; right: 4%; bottom: -36px; translate: none; }
}

@media (min-width: 900px) {
  .about { grid-template-columns: .85fr 1.15fr; gap: 72px; }
  .about__collage { margin: 0; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stats__item { border-bottom: 0; padding: 36px 20px 0; }
  .stats__item + .stats__item { border-left: 1px solid rgba(46, 33, 26, .16); }
}

/* ---------- COMO FUNCIONA ---------- */
.how { display: grid; gap: 64px; align-items: center; }

.steps { margin: 0; padding: 0; list-style: none; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  padding: 26px 0;
  border-top: 1px solid rgba(46, 33, 26, .15);
}
.step:last-child { border-bottom: 1px solid rgba(46, 33, 26, .15); }
.step__num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  color: var(--cta);
}
.section--sage .step__num { color: var(--sage-deep); }
.step h3 { margin-bottom: 6px; font-size: 1.4rem; color: var(--ink); }
.step p { color: var(--ink-2); }

.how__media {
  position: relative;
  width: min(100%, 340px);
  margin-inline: auto;
  padding-bottom: 10%;
}
.how__note { left: -4%; bottom: 0; width: 70%; }
.how__note p { font-size: 1.3rem; }

@media (min-width: 900px) {
  .how { grid-template-columns: 1.15fr .85fr; gap: 80px; }
  .how__note { left: -16%; }
}

/* ---------- BENTO (inclusos) ---------- */
.bento { display: grid; gap: 16px; }

.tile {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border: 1px solid rgba(244, 233, 222, .09);
  border-radius: var(--radius-lg);
  background: rgba(52, 37, 29, .94);
  color: var(--on-dark);
}
.tile h3 { margin: 20px 0 8px; font-size: 1.55rem; color: var(--ivory); }
.tile p { font-size: 1rem; color: var(--on-dark-2); }

.tile--sage { --hue: 181, 176, 154; }
.tile--mauve { --hue: 199, 177, 186; }
.tile--terracotta { --hue: 197, 141, 109; }
.tile--caramel { --hue: 176, 137, 104; }
.tile[class*="tile--"]:not(.tile--photo) {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(var(--hue, 212, 176, 122), .2), transparent 60%),
    rgba(52, 37, 29, .94);
  border-color: rgba(var(--hue, 244, 233, 222), .22);
}
.tile__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(var(--hue, 212, 176, 122), .18);
  color: rgb(var(--hue, 212, 176, 122));
}

.tile--photo {
  display: flex;
  align-items: flex-end;
  min-height: 440px;
  padding: 0;
}
.tile--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .9s var(--ease);
}
.tile--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 13, 10, 0) 30%, rgba(20, 13, 10, .9) 100%);
}
.tile__body { position: relative; z-index: 1; padding: 30px 28px; }

@media (max-width: 699px) {
  .tile:not(.tile--photo) {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    padding: 24px 22px;
  }
  .tile:not(.tile--photo) .tile__icon { width: 48px; height: 48px; grid-row: span 2; }
  .tile:not(.tile--photo) h3 { margin: 4px 0 6px; font-size: 1.4rem; }
  .tile--a { min-height: 400px; }
  .tile--f { min-height: 340px; }
}
.tile__body h3 { margin-top: 0; }
.tile--f { min-height: 380px; }

@media (hover: hover) {
  .tile--photo:hover img { scale: 1.04; }
}

@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--a, .tile--f { grid-column: span 2; }
  .tile--f { min-height: 420px; }
  .tile--f img { object-position: 50% 45%; }
}

@media (min-width: 1000px) {
  .bento { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  .tile { padding: 36px 34px; }
  .tile--a { grid-column: 1 / span 3; grid-row: 1 / span 2; min-height: 560px; }
  .tile--b, .tile--c { grid-column: 4 / span 3; }
  .tile--d, .tile--e, .tile--f { grid-column: span 2; }
  .tile--f { min-height: 0; }
  .tile--photo { padding: 0; }
}

/* ---------- LEITURAS ---------- */
/* Grupos do universo Velvet */
.groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.group {
  padding: 10px 10px 16px;
  border: 1px solid rgba(46, 33, 26, .1);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-1);
  text-align: center;
  transition: translate .8s var(--ease), opacity .8s var(--ease), box-shadow .3s var(--ease);
}
.group img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.group h3 {
  margin-top: 14px;
  font-size: 1.3rem;
  letter-spacing: .02em;
  color: var(--ink);
}

@media (hover: hover) {
  .group:hover { box-shadow: var(--shadow-2); }
}

@media (min-width: 900px) {
  .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .group { padding: 12px 12px 20px; }
  .group h3 { margin-top: 18px; font-size: 1.6rem; }
}

/* ---------- PLANOS ---------- */
.plans {
  display: grid;
  gap: 28px;
  max-width: 980px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 38px 28px 28px;
  border-radius: var(--radius-lg);
}
.plan--active {
  border: 1px solid rgba(212, 176, 122, .4);
  background: var(--espresso);
  box-shadow: var(--shadow-2);
  color: var(--on-dark);
  --focus: var(--gold);
}
.plan--soon {
  border: 1px solid rgba(46, 33, 26, .12);
  background: var(--paper);
  box-shadow: var(--shadow-1);
  color: var(--ink);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  translate: -50% 0;
  margin: 0;
  padding: 8px 14px;
  border-radius: 980px;
  background: var(--sage-tint);
  color: var(--sage-deep);
  font: 600 .75rem/1 var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(93, 89, 74, .25);
}
.plan__period {
  margin: 0 0 8px;
  font: 600 .8125rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.plan--soon .plan__period { color: var(--cta); }
.plan__name { font-size: clamp(1.9rem, 3.4vw, 2.4rem); line-height: 1.05; color: var(--ivory); }
.plan--soon .plan__name { color: var(--ink); }
.plan__desc { margin: 10px 0 0; font-size: 1rem; color: var(--on-dark-2); }
.plan--soon .plan__desc { color: var(--ink-2); }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 22px 0 24px;
  font-variant-numeric: tabular-nums;
  color: var(--ivory);
}
.plan--soon .plan__price { color: var(--ink); }
.plan__currency { font-size: 1.25rem; font-weight: 600; }
.plan__value { font: 600 4rem/1 var(--font-body); letter-spacing: -.04em; }
.plan__per { font-size: 1.0625rem; color: var(--on-dark-2); }
.plan--soon .plan__per { color: var(--ink-2); }

.plan__list {
  display: grid;
  align-content: start;
  gap: 14px;
  flex: 1;
  margin: 0 0 28px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(244, 233, 222, .14);
  list-style: none;
}
.plan--soon .plan__list { border-top-color: rgba(46, 33, 26, .12); }
.plan__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--ivory);
}
.plan--soon .plan__list li { color: var(--ink); }
.plan__list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(212, 176, 122, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D4B07A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan--soon .plan__list li::before {
  background: rgba(138, 75, 68, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A4B44' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.btn--gold {
  background: var(--gold);
  color: var(--espresso);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .35);
}
.btn--gold:hover { background: var(--gold-light); }

/* Plano indisponível: parece botão, mas não é clicável */
.btn--unavailable {
  border: 1.5px dashed rgba(46, 33, 26, .3);
  background: rgba(46, 33, 26, .05);
  color: var(--ink-2);
  box-shadow: none;
  cursor: not-allowed;
}
.btn--unavailable:active { scale: none; }

@media (min-width: 860px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
  .plan { padding: 44px 36px 34px; }
}

/* ---------- IVES ---------- */
.host { display: grid; gap: 64px; align-items: center; }

.host__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--gold-light);
}
.host__text { margin-top: 26px; }
.host__text p { font-size: 1.0625rem; color: var(--on-dark-2); }
.host__text em { color: var(--ivory); }


.host__media {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
  padding-bottom: 20%;
}
.arch {
  width: 72%;
  margin: 0 0 0 auto;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  outline: 1px solid rgba(212, 176, 122, .55);
  outline-offset: 10px;
}
.arch img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.1) saturate(.95); }
.host__oval { position: absolute; left: 0; bottom: 0; width: 46%; }
.host__leaves { top: 6%; left: 2%; width: 26%; rotate: -20deg; }
.host__vertical { display: none; }

@media (min-width: 900px) {
  .host { grid-template-columns: 1.05fr .95fr; gap: 72px; }
  .host__vertical {
    display: block;
    position: absolute;
    top: 0;
    right: -44px;
    margin: 0;
    padding-left: 12px;
    border-left: 1px solid rgba(212, 176, 122, .45);
    writing-mode: vertical-rl;
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--on-dark-2);
  }
}

/* O livro do Ives */
.book {
  display: grid;
  gap: 40px;
  align-items: center;
  max-width: 940px;
  margin: clamp(88px, 11vw, 136px) auto 0;
}
.book__frame { width: min(64%, 250px); margin-inline: auto; }
.book__card {
  position: relative;
  isolation: isolate;
  padding: 46px 34px 36px;
  color: var(--ink);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .35));
}
.book__card::before,
.book__card::after {
  content: "";
  position: absolute;
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.book__card::before { /* papel kraft ao fundo */
  inset: -12px 14px 14px -10px;
  z-index: -2;
  background-image: url("../img/paper-kraft.webp");
  rotate: -3deg;
}
.book__card::after { /* papel marfim */
  inset: 0;
  z-index: -1;
  background-image: url("../img/paper-landscape.webp");
}
.book__title { margin-bottom: 12px; font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-style: italic; color: var(--ink); }
.book__card p { color: var(--ink-2); }
.book__card .link-arrow { margin-top: 6px; }
.book__card :focus-visible { outline-color: var(--cta); }

@media (min-width: 800px) {
  .book { grid-template-columns: 260px 1fr; gap: 56px; }
  .book__frame { width: 100%; }
  .book__card { padding: 52px 48px 44px; }
}

/* ---------- DIÁRIO ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery .polaroid figcaption { font-size: 1.15rem; }

@media (hover: hover) {
  .gallery .polaroid:hover { rotate: 0deg; scale: 1.03; }
}

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
}
@media (min-width: 1100px) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 32px; }
  .gallery li:nth-child(even) { margin-top: 28px; }
  .gallery .polaroid { padding: 10px 10px 0; }
  .gallery .polaroid figcaption { font-size: 1.3rem; }
}
.gallery__cta { margin-top: 60px; text-align: center; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid rgba(46, 33, 26, .16); }
.faq__item { border-bottom: 1px solid rgba(46, 33, 26, .16); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.4rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(46, 33, 26, .07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E211A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: rotate .3s var(--ease), background-color .2s;
}
.faq__item[open] summary::after { rotate: 45deg; background-color: rgba(138, 75, 68, .14); }
.faq__item summary:hover::after { background-color: rgba(46, 33, 26, .12); }
.faq__answer { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__item[open] .faq__answer { animation: faq-in .32s var(--ease); }
@keyframes faq-in { from { opacity: 0; translate: 0 -6px; } }

/* ---------- CTA FINAL ---------- */
.cta-final {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: min(80svh, 720px);
  padding-block: 120px 140px;
  overflow: hidden;
  text-align: center;
  color: var(--ivory);
  --focus: var(--gold);
}
.cta-final__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 75% 70% at 50% 50%, rgba(27, 18, 14, .6), rgba(27, 18, 14, .86));
}
.cta-final__seal { width: 84px; margin: 0 auto 22px; }
.cta-final h2 {
  max-width: 13ch;
  margin-inline: auto;
  font-size: clamp(2.4rem, 6.4vw, 4.5rem);
  color: var(--ivory);
}
.cta-final p { margin: 18px auto 32px; font-size: 1.125rem; color: var(--on-dark-2); }

/* ---------- CONTATO ---------- */
#contato { --focus: var(--gold); }
.contact { max-width: 720px; }
.contact h2 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); color: var(--ivory); }
.contact__lead { margin-top: 16px; font-size: 1.125rem; color: var(--on-dark-2); }

.contact__list {
  margin: 34px 0 0;
  text-align: left;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(244, 233, 222, .1);
  border-radius: 22px;
  background: rgba(244, 233, 222, .04);
  list-style: none;
}
.contact__list li + li a { border-top: 1px solid rgba(244, 233, 222, .08); }
.contact__list a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 18px;
  color: var(--ivory);
  text-decoration: none;
  transition: background-color .2s var(--ease);
}
.contact__list a:hover { background: rgba(244, 233, 222, .06); }
.contact__list a:focus-visible { outline-offset: -3px; border-radius: 22px; }
.contact__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 12px;
  background: rgba(212, 176, 122, .15);
  color: var(--gold);
}
.contact__icon .icon { width: 22px; height: 22px; }
.contact__text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: .9375rem;
  line-height: 1.35;
  color: var(--on-dark-2);
  overflow-wrap: anywhere;
}
.contact__text strong { font-size: 1rem; font-weight: 600; color: var(--ivory); }
.contact__chev { color: rgba(244, 233, 222, .4); }

@media (min-width: 960px) {
  .contact__info { text-align: center; }
  .contact__lead { margin-inline: auto; }
}

/* ---------- Rodapé ---------- */
.footer {
  padding: 76px 0 calc(32px + env(safe-area-inset-bottom));
  background: var(--espresso-3);
  color: var(--on-dark-2);
  --focus: var(--gold);
}
.footer__grid { display: grid; gap: 40px; }
.footer__brand img { width: 150px; margin-bottom: 16px; }
.footer__brand p { font-size: .9375rem; }
.footer__label {
  margin-bottom: 6px;
  font: 600 .75rem/1.2 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; }
.footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: .9375rem;
  color: var(--on-dark-2);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer__nav a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(244, 233, 222, .1);
  font-size: .8125rem;
  color: #B8A493;
}
.footer__bottom p { margin: 0; }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 979px) {
  .footer { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
}

/* ---------- CTA fixo (celular) ---------- */
.mobile-cta {
  position: fixed;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(244, 233, 222, .12);
  border-radius: 22px;
  background: rgba(27, 18, 14, .84);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  color: var(--ivory);
  translate: 0 160%;
  transition: translate .4s var(--ease);
  --focus: var(--gold);
}
.mobile-cta.is-visible { translate: none; }
.mobile-cta__text { display: flex; flex-direction: column; min-width: 0; font-size: .8125rem; line-height: 1.25; color: var(--on-dark-2); }
.mobile-cta__text strong { font-size: .9375rem; color: var(--ivory); }
@media (min-width: 980px) {
  .mobile-cta { display: none; }
}

/* ---------- Animações de entrada ---------- */
.js [data-reveal] {
  opacity: 0;
  translate: 0 28px;
  transition: opacity .8s var(--ease), translate .8s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .ticker__track { animation: none; }
  .ticker__toggle { display: none; }
  .menu, .menu__links a { transition: none; }
  .menu__links a { translate: none; opacity: 1; }
  .faq__item[open] .faq__answer { animation: none; }
  .btn:active { scale: none; }
}
