/* ===== Tokens ===================================================== */
:root {
  --cream: #f8f0e3;
  --cream-2: #f1e4cf;
  --sand: #e4d2b5;
  --ink: #2b1d14;
  --ink-soft: #5e4a3b;
  --night: #1a120c;
  --night-2: #261a12;
  --gold: #c99a4b;
  --gold-2: #e8b45a;
  --candle: #ffd58a;
  --radius: 22px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); }
h3 { font-size: 1.6rem; }
em { font-style: italic; color: var(--gold); }
p { margin: 0 0 1em; }
.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2em;
}

/* ===== Buttons ==================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .95em 1.7em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  text-decoration: none; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer; border: 0;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: var(--night); box-shadow: 0 10px 30px -10px rgba(201,154,75,.8);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(232,180,90,.95); }
.btn--ghost { border: 1.5px solid currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(201,154,75,.12); }
.btn--soon { background: transparent; border: 1.5px dashed var(--sand); color: var(--ink-soft); cursor: default; }
.btn:focus-visible { outline: 3px solid var(--candle); outline-offset: 3px; }

/* ===== Progress + nav ============================================= */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: linear-gradient(90deg, var(--gold), var(--candle));
  transform-origin: 0 50%; transform: scaleX(0);
}
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  color: var(--cream);
  transition: background .4s ease, color .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.is-solid {
  background: rgba(26,18,12,.92); color: var(--cream);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding-top: 12px; padding-bottom: 12px; box-shadow: 0 1px 0 rgba(232,180,90,.18);
}
.brand { display: flex; align-items: center; gap: .55em; text-decoration: none; font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand svg { width: 22px; height: 22px; fill: var(--gold-2); }
.nav nav { display: flex; gap: clamp(14px, 2.4vw, 34px); }
.nav nav a { text-decoration: none; font-weight: 600; font-size: .92rem; opacity: .85; }
.nav nav a:hover { opacity: 1; color: var(--gold-2); }
@media (max-width: 640px) { .nav nav a:not(:first-child) { display: none; } }

/* ===== Stack (apagada / acesa) ==================================== */
.stack { position: relative; overflow: hidden; border-radius: var(--radius); }
.stack img { width: 100%; height: 100%; object-fit: cover; }
.stack__on { position: absolute; inset: 0; opacity: 0; }

/* ===== Hero ======================================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: radial-gradient(ellipse at 70% 40%, #4a3020 0%, var(--night-2) 45%, var(--night) 100%);
  color: var(--cream); overflow: hidden;
  display: flex; align-items: center;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 80px); align-items: center;
  padding: 120px var(--gutter) 80px;
}
.hero__title { font-size: clamp(3rem, 7.4vw, 6.6rem); font-weight: 500; }
.hero__title em { color: var(--candle); }
.split { display: inline-block; }
.split .ch { display: inline-block; will-change: transform, opacity; }
.hero__lead { max-width: 34em; color: rgba(248,240,227,.78); font-size: 1.08rem; }
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__figure { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__stack { aspect-ratio: 3 / 4; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.halo {
  position: absolute; inset: -18%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,138,.45) 0%, rgba(255,213,138,0) 65%);
  filter: blur(10px); opacity: .6;
}
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 3; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(248,240,227,.5); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  border-radius: 2px; background: var(--candle); animation: hint 1.8s ease-in-out infinite;
}
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; padding-top: 110px; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas { justify-content: center; }
  .hero__figure { width: min(78%, 340px); }
}

/* ===== Sticky "role para acender" ================================= */
.light { position: relative; height: 300vh; background: var(--night); color: var(--cream); }
.light__pin {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--gutter);
  padding: 80px var(--gutter);
}
.light__glow {
  position: absolute; left: 25%; top: 50%; width: 90vmin; height: 90vmin; transform: translate(-50%, -50%) scale(.4);
  border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.55), rgba(255,200,110,0) 65%);
  opacity: 0; pointer-events: none;
}
.light__stage { position: relative; justify-self: center; height: min(78vh, 720px); aspect-ratio: 3 / 4; max-width: 100%; }
.light__stack { width: 100%; height: 100%; box-shadow: 0 50px 100px -40px rgba(0,0,0,.9); }
.light__copy { position: relative; min-height: 10em; }
.light__line {
  position: absolute; left: 0; right: 0; top: 0;
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.8rem); line-height: 1.1; opacity: 0;
}
.light__line em { color: var(--candle); }
.light__meter { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 2px; background: rgba(248,240,227,.15); }
.light__meter span { display: block; height: 100%; background: var(--candle); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 860px) {
  .light__pin { grid-template-columns: 1fr; grid-template-rows: 1fr auto; text-align: center; padding-top: 90px; }
  .light__stage { height: 56vh; }
  .light__glow { left: 50%; top: 42%; }
  .light__copy { min-height: 6.5em; }
  .light__line { font-size: 1.9rem; }
}

/* ===== Parallax manifesto ========================================= */
.manifesto {
  position: relative; min-height: 115vh; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  background: var(--night-2); color: var(--cream);
}
.manifesto__bg {
  position: absolute; left: 0; top: -20%; width: 100%; height: 140%; object-fit: cover;
  opacity: .28; filter: blur(3px) saturate(1.1);
}
.manifesto::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(26,18,12,.2), rgba(26,18,12,.85) 75%);
}
.manifesto__inner { position: relative; z-index: 2; max-width: 980px; padding: 120px var(--gutter); }
.manifesto__kicker { font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.manifesto__text { font-size: clamp(2.6rem, 6.8vw, 6rem); font-weight: 500; }
.manifesto__text em { color: var(--candle); }
.manifesto__sub { max-width: 36em; margin: 1.5em auto 0; color: rgba(248,240,227,.8); font-size: 1.1rem; }

/* ===== Horizontal collection ====================================== */
.collection { background: var(--cream); position: relative; overflow-x: clip; }
.collection__pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.collection__track {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 60px);
  padding: 80px var(--gutter) 40px; width: max-content; will-change: transform;
}
.collection__intro { width: min(420px, 80vw); flex: none; }
.collection__intro p:not(.eyebrow) { color: var(--ink-soft); }
.collection__arrow { font-size: 2.4rem; color: var(--gold); animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(12px); } }
.collection__cards { display: flex; gap: clamp(24px, 3.5vw, 52px); }
.collection__outro { width: min(340px, 75vw); flex: none; font-family: var(--serif); font-size: 2rem; line-height: 1.15; }
.collection__outro .btn { font-family: var(--sans); font-size: .95rem; }

.card {
  flex: none; display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px);
}
.card__body { width: clamp(240px, 22vw, 300px); display: flex; flex-direction: column; gap: 12px; }
.card__media {
  position: relative; flex: none; aspect-ratio: 12 / 25; height: min(72vh, 680px);
  border-radius: var(--radius); cursor: pointer; overflow: visible;
}
.card__media .stack { position: absolute; inset: 0; box-shadow: 0 30px 60px -30px rgba(43,29,20,.55); }
.card__media .stack img { object-position: 50% 35%; }
.card__glow {
  position: absolute; inset: -14% -20%; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(255,200,110,.7), rgba(255,200,110,0) 62%); opacity: 0;
}
.card__switch {
  position: absolute; right: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: .45em;
  padding: .45em .85em; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(26,18,12,.62); color: var(--cream); font: 700 .78rem var(--sans);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.card__switch i { width: 9px; height: 9px; border-radius: 50%; background: #8a7a6a; transition: background .3s, box-shadow .3s; }
.card.is-lit .card__switch i { background: var(--candle); box-shadow: 0 0 10px var(--candle); }
.card__badge {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  padding: .35em .8em; border-radius: 999px; font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: var(--cream); color: var(--ink-soft);
}
.card__title { font-size: 1.85rem; margin: 6px 0 0; }
.card__subtitle { margin: 0; color: var(--gold); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.card__desc { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.card__specs { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.card__specs li { font-size: .78rem; padding: .3em .75em; border-radius: 999px; background: var(--cream-2); color: var(--ink-soft); }
.card .btn { align-self: flex-start; margin-top: 6px; }

/* Mobile: coleção vira lista vertical (sem pin) */
@media (max-width: 760px) {
  .collection__pin { height: auto; overflow: visible; display: block; }
  .collection__track { width: auto; flex-direction: column; align-items: stretch; padding-top: 90px; }
  .collection__intro, .collection__outro { width: auto; }
  .collection__arrow { display: none; }
  .collection__cards { flex-direction: column; gap: 56px; }
  .card { width: 100%; flex-direction: column; align-items: stretch; }
  .card__body { width: auto; }
  .card__media { width: min(100%, 300px); height: auto; margin-inline: auto; }
}

/* ===== Sticky details ============================================= */
.details {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 100px);
  padding: 120px var(--gutter); background: var(--cream-2);
}
.details__sticky { position: sticky; top: 96px; }
.details__sticky img { border-radius: var(--radius); box-shadow: 0 40px 80px -40px rgba(43,29,20,.6); width: auto; max-width: 100%; max-height: calc(100vh - 136px); margin-inline: auto; }
.details__list { padding-top: 6vh; }
.feature { padding: 34px 0; border-top: 1px solid rgba(43,29,20,.12); min-height: 34vh; }
.feature__num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); font-weight: 600; }
.feature h3 { margin-top: .3em; }
.feature p { color: var(--ink-soft); max-width: 30em; }
@media (max-width: 860px) {
  .details { grid-template-columns: 1fr; padding-top: 80px; }
  .details__sticky { position: relative; top: 0; }
  .feature { min-height: 0; }
}

/* ===== Steps ====================================================== */
.steps { padding: 120px var(--gutter); text-align: center; background: var(--cream); }
.steps__list {
  list-style: none; margin: 56px auto 0; padding: 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.step {
  padding: 40px 28px; border-radius: var(--radius); background: #fffaf2;
  box-shadow: 0 20px 50px -30px rgba(43,29,20,.35);
}
.step__icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: radial-gradient(circle, var(--candle), var(--gold)); color: var(--night); font-size: 1.3rem; margin-bottom: 16px;
}
.step p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .steps__list { grid-template-columns: 1fr; } }

/* ===== Final CTA ================================================== */
.final {
  position: relative; overflow: hidden; text-align: center;
  padding: 160px var(--gutter); background: var(--night); color: var(--cream);
}
.final h2 { position: relative; z-index: 1; font-weight: 500; font-size: clamp(2.6rem, 6vw, 5rem); }
.final h2 em { color: var(--candle); }
.final .btn { position: relative; z-index: 1; margin-top: 18px; }
.final__glow {
  position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; transform: translate(-50%, -50%);
  border-radius: 50%; background: radial-gradient(circle, rgba(255,200,110,.35), rgba(255,200,110,0) 65%);
}

.footer { padding: 40px var(--gutter); background: var(--night); color: rgba(248,240,227,.7); text-align: center; border-top: 1px solid rgba(248,240,227,.08); }
.footer p { margin: 0 0 .3em; }
.footer__small { font-size: .82rem; opacity: .7; }

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