/* Davi Valente — páginas de pacotes.
   Linguagem herdada do login do SYNQ OS (fundo com luz difusa a derivar, grão, vidro, campos em pílula),
   trocando o laranja pelo bordô dos PDFs. Tipos: Instrument Serif (títulos), Pinyon Script (iniciais), Inter (texto). */

:root {
  --wine-900: #170709;
  --wine-800: #2a070c;
  --wine-700: #4a0d15;
  --wine-600: #6e1420;
  --wine-500: #9b2335;
  --rose-400: #c24a5a;
  --ivory: #f4ece2;
  --gold: #c9a27a;

  /* tema claro */
  --bg: #fbf7f4;
  --surface: #f3e8e3;
  --ink: #2b0d12;
  --ink-2: #5d3d41;
  --ink-3: #8a6c6f;
  --line: rgb(43 13 18 / 0.12);
  --accent: #7a1622;
  --glass-bg: linear-gradient(125deg, rgb(255 255 255 / 0.78), rgb(251 247 244 / 0.62));
  --glass-line: rgb(122 22 34 / 0.14);
  --glass-hi: rgb(255 255 255 / 0.9);
  --field-bg: rgb(255 255 255 / 0.7);
  --field-line: rgb(43 13 18 / 0.16);
  --atmo-a: rgb(155 35 53 / 0.16);
  --atmo-b: rgb(194 74 90 / 0.14);
  --atmo-c: rgb(201 162 122 / 0.14);
  --grain: 0.05;
  --header-bg: rgb(251 247 244 / 0.72);
  --shadow: 0 24px 70px rgb(74 13 21 / 0.12);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --script: "Pinyon Script", cursive;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 4rem);
  --max: 78rem;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 22px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #170709;
    --surface: #22090d;
    --ink: #f4ece2;
    --ink-2: rgb(244 236 226 / 0.72);
    --ink-3: rgb(244 236 226 / 0.5);
    --line: rgb(244 236 226 / 0.12);
    --accent: #e3a2ab;
    --glass-bg: linear-gradient(125deg, rgb(255 255 255 / 0.08), rgb(23 7 9 / 0.72));
    --glass-line: rgb(255 255 255 / 0.12);
    --glass-hi: rgb(255 255 255 / 0.3);
    --field-bg: rgb(5 1 2 / 0.35);
    --field-line: rgb(244 236 226 / 0.16);
    --atmo-a: rgb(155 35 53 / 0.5);
    --atmo-b: rgb(194 74 90 / 0.24);
    --atmo-c: rgb(201 162 122 / 0.1);
    --grain: 0.08;
    --header-bg: rgb(23 7 9 / 0.62);
    --shadow: 0 24px 80px rgb(0 0 0 / 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #170709;
  --surface: #22090d;
  --ink: #f4ece2;
  --ink-2: rgb(244 236 226 / 0.72);
  --ink-3: rgb(244 236 226 / 0.5);
  --line: rgb(244 236 226 / 0.12);
  --accent: #e3a2ab;
  --glass-bg: linear-gradient(125deg, rgb(255 255 255 / 0.08), rgb(23 7 9 / 0.72));
  --glass-line: rgb(255 255 255 / 0.12);
  --glass-hi: rgb(255 255 255 / 0.3);
  --field-bg: rgb(5 1 2 / 0.35);
  --field-line: rgb(244 236 226 / 0.16);
  --atmo-a: rgb(155 35 53 / 0.5);
  --atmo-b: rgb(194 74 90 / 0.24);
  --atmo-c: rgb(201 162 122 / 0.1);
  --grain: 0.08;
  --header-bg: rgb(23 7 9 / 0.62);
  --shadow: 0 24px 80px rgb(0 0 0 / 0.35);
  color-scheme: dark;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  -webkit-tap-highlight-color: transparent;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: var(--grain);
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 600; }
.sr-only, .sr-initial {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; border-radius: 999px; background: var(--wine-600); color: var(--ivory); }
.skip:focus { top: 1rem; }
.muted { color: var(--ink-2); }
.hint { font-size: 0.78rem; color: var(--ink-3); margin: 0; }
.center { text-align: center; }

/* luz difusa a derivar, como no login do SYNQ OS */
.atmosphere {
  position: fixed;
  inset: -24%;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 38% at 22% 30%, var(--atmo-a), transparent 72%),
    radial-gradient(ellipse 40% 30% at 78% 66%, var(--atmo-b), transparent 72%),
    radial-gradient(ellipse 30% 24% at 66% 22%, var(--atmo-c), transparent 70%);
  animation: drift 14s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(-4%, 3%, 0) scale(0.98); }
  to { transform: translate3d(4%, -3%, 0) scale(1.06); }
}

/* ---------- tipografia de marca ---------- */
.display {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3.1rem, 8.6vw, 8.4rem); }
.display-lg { font-size: clamp(2.6rem, 5.6vw, 5.2rem); }
.display-md { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.dw { display: inline-block; white-space: nowrap; }
.sw {
  font-family: var(--script);
  text-transform: none;
  font-size: 1.5em;
  line-height: 0;
  margin-right: -0.04em;
  vertical-align: -0.06em;
  position: relative;
  z-index: 1;
}
.dw-script { font-family: var(--script); text-transform: none; font-size: 0.72em; letter-spacing: 0; margin-inline: 0.05em 0.1em; }
.season, .kicker, .price-label, .pkg-kind, .motto {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
}
.season { color: var(--ink-2); margin-bottom: 1.4rem; }
.kicker { color: var(--accent); margin-bottom: 0.9rem; }
.lead { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1.9vw, 1.55rem); line-height: 1.35; color: var(--ink-2); max-width: 32ch; margin-top: 1.4rem; }

/* logótipo do PDF usado como máscara: herda a cor do texto em qualquer tema */
.logo, .wordmark {
  display: inline-block;
  background: currentColor;
  -webkit-mask: var(--m) center / contain no-repeat;
  mask: var(--m) center / contain no-repeat;
}
.logo { --m: url("../img/brand/logo-mask.png"); height: 64px; aspect-ratio: 624 / 560; }
.logo-lg { height: clamp(96px, 10vw, 128px); }
.wordmark { --m: url("../img/brand/wordmark-mask.png"); height: 44px; aspect-ratio: 946 / 488; }
.mono {
  display: block;
  width: 72px;
  aspect-ratio: 941 / 814;
  margin-top: 2.5rem;
  background: var(--accent);
  -webkit-mask: url("../img/brand/monogram-mask.png") center / contain no-repeat;
  mask: url("../img/brand/monogram-mask.png") center / contain no-repeat;
}

/* ---------- botões e vidro ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.9rem;
  padding: 0 1.5rem;
  border: 0;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 160ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease), filter 220ms var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-sm { min-height: 2.5rem; padding: 0 1.15rem; font-size: 0.8rem; }
.btn-lg { min-height: 3.3rem; padding: 0 1.9rem; }
.btn-primary {
  color: var(--ivory);
  background: linear-gradient(120deg, var(--wine-600), var(--wine-500) 55%, var(--rose-400));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.32), 0 6px 26px rgb(155 35 53 / 0.32);
}
.btn-light { color: var(--wine-700); background: var(--ivory); box-shadow: inset 0 1px 0 #fff, 0 8px 28px rgb(0 0 0 / 0.22); }
.btn-ghost { color: var(--ivory); background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.22); }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { filter: brightness(1.08); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 8px 34px rgb(155 35 53 / 0.45); }
  .btn-light:hover { background: #fff; }
  .btn-ghost:hover { background: rgb(255 255 255 / 0.12); }
}
.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--line); } }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- formulário de entrada (mesma caixa do registo do SYNQ OS) ---------- */
.gate {
  min-height: calc(100dvh - 6rem);
  display: grid;
  align-items: center;
  padding: max(1.5rem, env(safe-area-inset-top)) var(--gutter) max(1.5rem, env(safe-area-inset-bottom));
}
.gate-inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 30rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.gate-copy { position: relative; }
.gate-copy .logo { margin-bottom: 2.2rem; color: var(--ink); }
.gate-photo {
  position: absolute;
  right: 0;
  top: 0;
  width: clamp(9rem, 15vw, 13.5rem);
  aspect-ratio: 3 / 4.4;
  border-radius: 999px 999px 18px 18px;
  overflow: hidden;
  z-index: -1;
  opacity: 0.9;
  box-shadow: var(--shadow);
}
.gate-photo img { width: 100%; height: 100%; object-fit: cover; }
.gate-card { padding: clamp(1.5rem, 3vw, 2.25rem); animation: enter 900ms 120ms var(--ease) both; }
.gate-card > .muted { margin: 0.7rem 0 0; font-size: 0.95rem; }
.gate-copy > * { animation: enter 900ms var(--ease) both; }
.gate-copy > :nth-child(2) { animation-delay: 60ms; }
.gate-copy > :nth-child(3) { animation-delay: 120ms; }
.gate-copy > :nth-child(4) { animation-delay: 180ms; }
@keyframes enter { from { opacity: 0; transform: translateY(0.75rem); } to { opacity: 1; transform: none; } }

.form { display: grid; gap: 0.95rem; margin-top: 1.6rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
.field label {
  padding-inline: 1.1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input, .field select {
  width: 100%;
  height: 3rem;
  padding: 0 1.1rem;
  border: 1px solid var(--field-line);
  border-radius: 999px;
  background: var(--field-bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.field select {
  padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%239b2335' stroke-width='1.5'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
}
.field input[type="date"] { min-width: 0; }
.field input::-webkit-date-and-time-value { text-align: left; }
.field input:focus-visible, .field select:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(155 35 53 / 0.25); }
.field [aria-invalid="true"] { border-color: #d0566a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.8rem; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { margin-top: 0.2rem; width: 1.05rem; height: 1.05rem; accent-color: var(--wine-500); flex: none; }
.check.invalid { color: #d0566a; }
.form-error { margin: 0; padding: 0.6rem 1rem; border-radius: 16px; font-size: 0.82rem; color: #f3b4bd; background: rgb(155 35 53 / 0.18); border: 1px solid rgb(208 86 106 / 0.35); }
:root[data-theme="light"] .form-error { color: #8e1c2c; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .form-error { color: #8e1c2c; } }
.form .btn-lg { width: 100%; margin-top: 0.4rem; }

/* bloqueio: antes do formulário só aparece a entrada */
html:not(.is-unlocked) main,
html:not(.is-unlocked) .site-footer,
html:not(.is-unlocked) .site-header .brand,
html:not(.is-unlocked) .site-header .nav,
html:not(.is-unlocked) .site-header .btn { display: none; }
html:not(.is-unlocked) .site-header { justify-content: flex-end; }
html.is-unlocked .gate { display: none; }
html.is-unlocking .gate { animation: gate-out 650ms var(--ease) forwards; pointer-events: none; }
@keyframes gate-out { to { opacity: 0; transform: scale(0.97); filter: blur(6px); } }

/* ---------- cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem var(--gutter);
  padding-top: max(0.7rem, env(safe-area-inset-top));
  transition: background-color 300ms var(--ease), border-color 300ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: var(--header-bg);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
}
.brand { display: inline-flex; color: var(--ink); }
.nav { display: flex; gap: 2rem; font-size: 0.85rem; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color 160ms; }
.nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 0.5rem; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: none; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: block; }
}
/* o cabeçalho fica sobre a foto do topo até rolar */
html.is-unlocked .site-header:not(.scrolled) { color: var(--ivory); }
html.is-unlocked .site-header:not(.scrolled) .brand,
html.is-unlocked .site-header:not(.scrolled) .nav a { color: var(--ivory); }
main { margin-top: -4.6rem; }
main:focus { outline: none; }

/* ---------- topo com foto ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 115%; object-fit: cover; object-position: center 22%; will-change: transform; }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(23 7 9 / 0.55), transparent 28%),
    radial-gradient(120% 70% at 15% 100%, rgb(74 13 21 / 0.92), rgb(110 20 32 / 0.55) 45%, transparent 75%),
    linear-gradient(0deg, rgb(23 7 9 / 0.75), transparent 55%);
}
.hero-copy { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) clamp(3rem, 9vh, 6rem); }
.hero .season, .hero .lead { color: rgb(244 236 226 / 0.85); }
.welcome { margin-top: 1.6rem; font-size: 0.9rem; color: rgb(244 236 226 / 0.75); }
html.just-unlocked .hero-media img { animation: hero-in 1600ms var(--ease) both; }
html.just-unlocked .hero-copy > * { animation: enter 1100ms var(--ease) both; }
html.just-unlocked .hero-copy > :nth-child(1) { animation-delay: 250ms; }
html.just-unlocked .hero-copy > :nth-child(2) { animation-delay: 330ms; }
html.just-unlocked .hero-copy > :nth-child(3) { animation-delay: 410ms; }
html.just-unlocked .hero-copy > :nth-child(4) { animation-delay: 490ms; }
@keyframes hero-in { from { clip-path: inset(18% 22% 18% 22% round 999px 999px 24px 24px); transform: scale(1.18); } to { clip-path: inset(0 0 0 0 round 0); transform: scale(1); } }

/* ---------- secções ---------- */
.section { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 11vw, 9rem) var(--gutter); }
.section-head { max-width: 46rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-head .muted { margin-top: 1.2rem; font-size: 1.05rem; }

.manifesto { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.manifesto-tall { border-radius: 999px 999px 20px 20px; overflow: hidden; aspect-ratio: 3 / 4.6; }
.manifesto-tall img { width: 100%; height: 100%; object-fit: cover; }
.manifesto-copy p { font-family: var(--serif); font-size: clamp(1.25rem, 1.9vw, 1.6rem); line-height: 1.42; color: var(--ink-2); max-width: 34ch; }
.manifesto-copy strong { color: var(--ink); font-weight: 400; }
.manifesto-copy em { color: var(--accent); }
.strips { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: clamp(1rem, 3vw, 2rem); }
.strips figure { aspect-ratio: 16 / 7; overflow: hidden; border-radius: 14px; }
.strips img { width: 100%; height: 100%; object-fit: cover; }

.reasons { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); }
.reasons-head { position: sticky; top: 7rem; align-self: start; }
.reasons-head .muted { margin-top: 1.2rem; }
.reasons-list { list-style: none; margin: 0; padding: 0; }
.reasons-list li { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.reasons-list li:last-child { border-bottom: 1px solid var(--line); }
.reasons-list h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; margin-bottom: 0.5rem; }
.reasons-list p { margin: 0; color: var(--ink-2); max-width: 52ch; }

/* faixas em bordô (iguais nos dois temas, como as páginas vinho dos PDFs) */
.band {
  position: relative;
  color: var(--ivory);
  background:
    radial-gradient(90% 80% at 12% 8%, rgb(194 74 90 / 0.45), transparent 60%),
    radial-gradient(70% 70% at 90% 100%, rgb(23 7 9 / 0.85), transparent 70%),
    linear-gradient(160deg, var(--wine-500), var(--wine-600) 38%, var(--wine-800));
  isolation: isolate;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.fineart {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(5rem, 11vw, 9rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.fineart-copy h2 { margin-bottom: 2rem; }
.fineart-copy p { color: rgb(244 236 226 / 0.82); max-width: 46ch; }
.fineart-copy strong { color: var(--ivory); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.mosaic figure { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; }
.mosaic figure:nth-child(3n + 2) { transform: translateY(2.4rem); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- pacotes ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }
.jump a {
  display: inline-flex; gap: 0.75rem; align-items: baseline;
  padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; font-size: 0.85rem; transition: background-color 160ms;
}
.jump a:hover { background: var(--line); }
.jump-price { font-family: var(--serif); font-size: 1.05rem; color: var(--accent); }

.pkg {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line);
}
.pkg-photo { position: sticky; top: 6.5rem; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); }
.pkg-photo img { width: 100%; height: 100%; object-fit: cover; }
.pkg-flip .pkg-photo { order: 2; }
.pkg-accent {
  color: var(--ivory);
  border-top-color: transparent;
  border-image: linear-gradient(160deg, var(--wine-500), var(--wine-600) 40%, var(--wine-800)) fill 0 // 0 100vmax;
  --line: rgb(244 236 226 / 0.16);
  --ink-2: rgb(244 236 226 / 0.75);
  --ink-3: rgb(244 236 226 / 0.55);
  --accent: #f1c6cc;
}
.pkg-kind { display: flex; gap: 0.9rem; align-items: center; color: var(--ink-2); margin-bottom: 1.2rem; }
.badge { padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--ivory); color: var(--wine-600); letter-spacing: 0.2em; }
.pkg-name { margin-bottom: 1.4rem; }
.pkg-pitch { font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.35; color: var(--ink-2); max-width: 34ch; }
.specs { margin: 2rem 0 0; }
.specs div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); gap: 1rem; padding: 0.95rem 0; border-top: 1px solid var(--line); }
.specs div:last-child { border-bottom: 1px solid var(--line); }
.specs dt { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.specs dd { margin: 0; color: var(--ink-2); }
.pkg-foot { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-top: 2.4rem; }
.price { display: flex; align-items: baseline; gap: 1.2rem; margin: 0; }
.price-label { color: var(--ink-2); }
.price-value { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); line-height: 1; }

.break { height: clamp(22rem, 80vh, 48rem); overflow: hidden; }
.break img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }

/* ---------- tabela comparativa ---------- */
.compare h2 { margin-bottom: 2.5rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }
table { width: 100%; min-width: 40rem; border-collapse: collapse; }
th, td { padding: 1.05rem 1.2rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--serif); text-transform: uppercase; font-size: 1.6rem; font-weight: 400; line-height: 1; padding-top: 1.6rem; }
thead th .sw { font-size: 1.5em; }
tbody th { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); width: 26%; }
td { color: var(--ink-2); }
tr > :last-child { background: rgb(155 35 53 / 0.08); }
.row-price td { font-family: var(--serif); font-size: 1.8rem; color: var(--ink); }
tbody tr:last-child > * { border-bottom: 0; }

/* ---------- extras ---------- */
.extras { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding-top: 0; }
.extras .muted { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.extras-list { list-style: none; margin: 0; padding: 0; }
.extras-list li { display: flex; align-items: baseline; gap: 0.8rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.leader { flex: 1; border-bottom: 1px dotted var(--ink-3); transform: translateY(-0.3em); }
.extras-price { font-family: var(--serif); font-size: 1.45rem; color: var(--accent); white-space: nowrap; }

/* ---------- galeria ---------- */
.gallery { position: relative; padding-bottom: clamp(3rem, 7vw, 6rem); }
.gallery-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding-inline: var(--gutter);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: none; height: clamp(20rem, 62vh, 36rem); scroll-snap-align: start; border-radius: 16px; overflow: hidden; }
.gallery-track img { height: 100%; width: auto; max-width: none; object-fit: cover; }
.gallery-nav { display: flex; gap: 0.5rem; justify-content: flex-end; padding: 1.2rem var(--gutter) 0; max-width: var(--max); margin: 0 auto; }

/* ---------- depoimentos ---------- */
.reviews-head { text-align: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.script-sub { font-family: var(--script); font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--accent); margin: 0.6rem 0 0; }
.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.review { padding-top: 1.6rem; border-top: 1px solid var(--line); }
.review blockquote { margin: 0; }
.review p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.42; }
.review p::before { content: "“"; }
.review p::after { content: "”"; }
.review figcaption { font-size: 0.85rem; color: var(--ink-2); }
.review figcaption::before { content: "— "; }
.motto { text-align: center; color: var(--accent); margin-top: clamp(3rem, 6vw, 5rem); }

/* ---------- dúvidas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); padding-top: 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.35rem 0; cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 999px; border: 1px solid var(--line); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); transition: transform 300ms var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-a p { color: var(--ink-2); max-width: 58ch; padding-bottom: 1.4rem; margin: 0; }
details[open] .faq-a { animation: enter 400ms var(--ease); }

/* ---------- próximos passos ---------- */
.next { display: grid; place-items: center; text-align: center; padding: clamp(6rem, 14vw, 11rem) var(--gutter); }
.next-media { position: absolute; inset: 0; z-index: -2; }
.next-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.22; mix-blend-mode: luminosity; }
.next-copy { max-width: 44rem; }
.next-copy h2 { margin-bottom: 2.4rem; }
.next-copy p { color: rgb(244 236 226 / 0.85); }
.next-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 2.6rem 0; }
.sign { font-style: italic; font-weight: 500; }
.sign span { display: inline-block; margin-top: 0.6rem; font-family: var(--script); font-style: normal; font-weight: 400; font-size: 2.2rem; }

/* ---------- rodapé ---------- */
.site-footer { display: grid; justify-items: center; gap: 1.2rem; text-align: center; padding: clamp(4rem, 8vw, 6rem) var(--gutter) max(3rem, env(safe-area-inset-bottom)); }
.site-footer .motto { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6rem; font-size: 0.88rem; }

/* ---------- revelação das fotos ao rolar (só com JS) ---------- */
html.js .reveal img { clip-path: inset(14% 0 0 0); transform: scale(1.08); transition: clip-path 1200ms var(--ease), transform 1600ms var(--ease); }
html.js .reveal.in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---------- faixa animada no topo (a mesma ideia da landing do SYNQ OS, em bordô) ---------- */
.ticker {
  position: relative;
  z-index: 51;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
  background: linear-gradient(90deg, var(--wine-700), var(--wine-500) 25%, var(--rose-400) 50%, var(--wine-500) 75%, var(--wine-700)) 0 0 / 200% 100%;
  animation: ticker-glow 9s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}
.ticker-track {
  display: flex;
  gap: 40px;
  padding-left: 40px;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: marquee 48s linear infinite;
}
.ticker-track span::after { content: "✦"; margin-left: 40px; opacity: 0.7; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ticker-glow { to { background-position: -200% 0; } }

/* idioma em pílula, como no SYNQ OS */
.lang { display: inline-flex; padding: 3px; border-radius: 999px; }
.lang a { padding: 0.45rem 0.75rem; border-radius: 999px; font-size: 0.72rem; letter-spacing: 0.1em; text-decoration: none; color: inherit; opacity: 0.7; transition: opacity 160ms, background-color 160ms; }
.lang a:hover { opacity: 1; }
.lang a[aria-current] { opacity: 1; color: var(--ivory); background: linear-gradient(120deg, var(--wine-600), var(--wine-500) 55%, var(--rose-400)); }

/* ---------- vidro líquido (reflexo + luz que segue o ponteiro, como os planos da landing do SYNQ OS) ---------- */
:root {
  --lg-bg: rgb(255 255 255 / 0.55);
  --lg-border: rgb(122 22 34 / 0.14);
  --lg-hi: rgb(255 255 255 / 0.95);
  --lg-refl: rgb(255 255 255 / 0.65);
  --lg-spot: rgb(255 255 255 / 0.8);
  --lg-shadow: rgb(74 13 21 / 0.18);
  --lg-solid: #fbf7f4;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --lg-bg: rgb(34 9 13 / 0.5);
    --lg-border: rgb(255 255 255 / 0.16);
    --lg-hi: rgb(255 255 255 / 0.3);
    --lg-refl: rgb(255 255 255 / 0.16);
    --lg-spot: rgb(227 162 171 / 0.18);
    --lg-shadow: rgb(0 0 0 / 0.6);
    --lg-solid: #22090d;
  }
}
:root[data-theme="dark"] {
  --lg-bg: rgb(34 9 13 / 0.5);
  --lg-border: rgb(255 255 255 / 0.16);
  --lg-hi: rgb(255 255 255 / 0.3);
  --lg-refl: rgb(255 255 255 / 0.16);
  --lg-spot: rgb(227 162 171 / 0.18);
  --lg-shadow: rgb(0 0 0 / 0.6);
  --lg-solid: #22090d;
}
.lg {
  --mx: 50%;
  --my: 12%;
  --spot: 0.5;
  position: relative;
  isolation: isolate;
  background: var(--lg-bg);
  border: 1px solid var(--lg-border);
  border-radius: var(--radius);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  box-shadow: inset 0 1px 0 var(--lg-hi), inset 0 -1px 0 rgb(0 0 0 / 0.05), 0 30px 80px -28px var(--lg-shadow);
}
.lg::before, .lg::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; }
.lg::before { background: linear-gradient(135deg, var(--lg-refl) 0%, transparent 38%, transparent 62%, rgb(255 255 255 / 0.07) 100%); }
.lg::after { opacity: var(--spot); background: radial-gradient(360px circle at var(--mx) var(--my), var(--lg-spot), transparent 62%); transition: opacity 250ms ease; }
@media (hover: hover) and (pointer: fine) { .lg:hover { --spot: 1; } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .lg { background: var(--lg-solid); } }
.gate-card.lg { border-radius: 28px; }
.review.lg { padding: 1.8rem; border-top: 1px solid var(--lg-border); }
.extras-list.lg { padding: 0.6rem 1.6rem; }
.extras-list.lg li:last-child { border-bottom: 0; }
.jump a.lg { border-color: var(--lg-border); }
.icon-btn.lg, .lang.lg { border-radius: 999px; box-shadow: inset 0 1px 0 var(--lg-hi); }
/* sobre a foto do topo o cabeçalho fica claro: o vidro escurece um pouco */
html.is-unlocked .site-header:not(.scrolled) .lg { --lg-bg: rgb(23 7 9 / 0.28); --lg-border: rgb(255 255 255 / 0.28); --lg-refl: rgb(255 255 255 / 0.18); }

/* ---------- responsivo ---------- */
@media (max-width: 960px) {
  .gate-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .gate-copy { text-align: center; }
  .gate-copy .lead { margin-inline: auto; }
  .gate-photo { display: none; }
  .gate-card { max-width: 32rem; width: 100%; margin: 0 auto; }
  .manifesto, .reasons, .fineart, .pkg, .extras, .faq { grid-template-columns: 1fr; }
  .manifesto-tall { max-width: 22rem; width: 100%; }
  .reasons-head { position: static; }
  .pkg-photo { position: relative; top: 0; aspect-ratio: 4 / 3.6; }
  .pkg-flip .pkg-photo { order: 0; }
  .reviews-list { grid-template-columns: 1fr; }
  .nav { display: none; }
}
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
  .strips { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic figure:nth-child(3n + 2) { transform: none; }
  .mosaic figure:nth-child(2n) { transform: translateY(1.6rem); }
  .specs div { grid-template-columns: 1fr; gap: 0.2rem; }
  .pkg-foot { flex-direction: column; align-items: stretch; }
  .pkg-foot .btn { width: 100%; }
  .price { justify-content: space-between; }
  .logo { height: 40px; }
  .next-actions .btn { width: 100%; }
  .next-actions .btn span { overflow: hidden; text-overflow: ellipsis; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .atmosphere, .ticker, .ticker-track, .gate-card, .gate-copy > *, html.just-unlocked .hero-media img, html.just-unlocked .hero-copy > * { animation: none; }
  html.js .reveal img { clip-path: none; transform: none; transition: none; }
  html.is-unlocking .gate { animation-duration: 1ms; }
}
