/* ═══════════════════════════════════════════════════════════
   His Seoul, Her Heart — Luciana Kaveh
   Paleta: meia-noite de Seul + luz de vela
   ═══════════════════════════════════════════════════════════ */

:root {
  --midnight:      #0a0e17;  /* fundo profundo */
  --midnight-soft: #101623;  /* fundo de seção */
  --ink:           #1a2233;  /* superfícies */
  --candle:        #e0b36a;  /* dourado principal */
  --candle-bright: #f2cf8f;  /* dourado claro / brilho */
  --ember:         #c97b3d;  /* âmbar quente */
  --ivory:         #f3ecdd;  /* texto principal */
  --ivory-dim:     #b9b2a4;  /* texto secundário */

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;
  --font-hangul: "Nanum Myeongjo", serif;

  --ease-lux: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--midnight);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--candle); color: var(--midnight); }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── Utilitários tipográficos ─────────────────────────────── */

.hangul { font-family: var(--font-hangul); color: var(--candle); }
.hangul-sep { color: var(--ivory-dim); margin: 0 0.35em; }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 1.75rem;
}
.eyebrow .hangul { font-size: 0.9rem; letter-spacing: 0.2em; }
.eyebrow--center { text-align: center; }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  margin-bottom: 2.25rem;
  color: var(--ivory);
}
.section__title em {
  font-style: italic;
  background: linear-gradient(105deg, var(--candle) 20%, var(--candle-bright) 50%, var(--candle) 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.section__title--center { text-align: center; }

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--ivory);
}

p { color: var(--ivory-dim); }
.lead, .section__title { color: var(--ivory); }

/* ─── Botões ───────────────────────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: color .45s var(--ease-lux), border-color .45s var(--ease-lux),
              box-shadow .45s var(--ease-lux), background-position .9s var(--ease-lux),
              transform .45s var(--ease-lux);
}

.btn--gold {
  color: var(--midnight);
  background: linear-gradient(105deg, var(--candle) 0%, var(--candle-bright) 45%, var(--candle) 90%);
  background-size: 220% 100%;
  background-position: 0% 0;
  box-shadow: 0 0 0 rgba(224, 179, 106, 0);
}
.btn--gold:hover, .btn--gold:focus-visible {
  background-position: 95% 0;
  box-shadow: 0 6px 32px rgba(224, 179, 106, 0.35);
  transform: translateY(-2px);
}

.btn--ghost {
  color: var(--ivory);
  border-color: rgba(243, 236, 221, 0.35);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  border-color: var(--candle);
  color: var(--candle-bright);
}

.btn--wide { width: 100%; }

:focus-visible {
  outline: 2px solid var(--candle-bright);
  outline-offset: 3px;
}

/* ─── Canvas de brasas ─────────────────────────────────────── */

#embers {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

/* ─── Navegação ────────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem clamp(1.25rem, 4vw, 3.5rem);
  transition: background .5s var(--ease-lux), padding .5s var(--ease-lux),
              box-shadow .5s var(--ease-lux);
}
.nav--scrolled {
  background: rgba(10, 14, 23, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  box-shadow: 0 1px 0 rgba(224, 179, 106, 0.14);
}

/* Countdown para o lançamento */
.nav__countdown {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  text-decoration: none;
}

.countdown__label {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-right: 1.3rem;
  border-right: 1px solid rgba(224, 179, 106, 0.3);
  font-size: 0.66rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--candle);
}
.countdown__date {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--ivory-dim);
}

.countdown__units {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.3ch;
}

.countdown__num {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(160deg, var(--candle-bright) 10%, var(--candle) 60%, var(--ember) 110%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.countdown__num.tick {
  animation: cdtick 0.55s var(--ease-lux);
}
@keyframes cdtick {
  0%   { opacity: 0; transform: translateY(-0.5em); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.countdown__cap {
  margin-top: 0.28rem;
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}

.countdown__sep {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(224, 179, 106, 0.55);
  transform: translateY(-0.35em);
  animation: cdpulse 2s ease-in-out infinite;
}
@keyframes cdpulse {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 0.3; }
}

/* estado pós-lançamento */
.nav__countdown--live .countdown__units {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--candle-bright);
  letter-spacing: 0.04em;
}

/* ─── Player da trilha sonora ──────────────────────────────── */

.player {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.player__btn {
  position: relative;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  border: 1px solid rgba(224, 179, 106, 0.5);
  background: transparent;
  color: var(--candle);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .4s var(--ease-lux), color .4s var(--ease-lux),
              box-shadow .4s var(--ease-lux);
}
.player__btn:hover {
  background: var(--candle);
  color: var(--midnight);
  box-shadow: 0 0 26px rgba(224, 179, 106, 0.4);
}

/* anel de progresso da música */
.player__ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(var(--candle-bright) calc(var(--p, 0) * 1%), rgba(224, 179, 106, 0.16) 0);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(closest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  opacity: 0;
  transition: opacity .5s;
  pointer-events: none;
}
.player--playing .player__ring { opacity: 1; }

.player__icon { width: 0.85rem; height: 0.85rem; }
.player__icon--play { margin-left: 2px; }
.player__icon--pause { display: none; }
.player--playing .player__icon--play { display: none; }
.player--playing .player__icon--pause { display: block; }

.player__meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.player__title {
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  transition: color .4s;
}
.player--playing .player__title { color: var(--candle); }

/* equalizador */
.player__eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 0.85rem;
}
.player__eq i {
  width: 2.5px;
  height: 100%;
  background: linear-gradient(to top, var(--ember), var(--candle-bright));
  border-radius: 2px;
  transform: scaleY(0.18);
  transform-origin: bottom;
  animation: eqdance 1.1s ease-in-out infinite;
  animation-play-state: paused;
}
.player--playing .player__eq i { animation-play-state: running; }
.player__eq i:nth-child(1) { animation-delay: 0s; }
.player__eq i:nth-child(2) { animation-delay: 0.25s; animation-duration: 0.9s; }
.player__eq i:nth-child(3) { animation-delay: 0.1s; animation-duration: 1.3s; }
.player__eq i:nth-child(4) { animation-delay: 0.4s; }
@keyframes eqdance {
  0%, 100% { transform: scaleY(0.18); }
  35%      { transform: scaleY(1); }
  65%      { transform: scaleY(0.45); }
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.5vw, 2.4rem);
}

/* ─── Seletor de idioma (bandeiras) ────────────────────────── */

.lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: clamp(0.4rem, 1.5vw, 1.2rem);
  border-right: 1px solid rgba(224, 179, 106, 0.25);
}

.lang__btn {
  padding: 2px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 4px;
  line-height: 0;
  opacity: 0.42;
  filter: saturate(0.35);
  transform: scale(1);
  transition: opacity .35s var(--ease-lux), filter .35s var(--ease-lux),
              transform .35s var(--ease-lux), box-shadow .35s var(--ease-lux);
}
.lang__btn svg {
  display: block;
  width: 23px;
  height: 15px;
  border-radius: 3px;
}
.lang__btn:hover {
  opacity: 0.85;
  filter: saturate(0.9);
  transform: scale(1.12);
}
.lang__btn--active {
  opacity: 1;
  filter: none;
  box-shadow: 0 0 0 1px rgba(224, 179, 106, 0.75), 0 0 14px rgba(224, 179, 106, 0.35);
}
.nav__links a {
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory-dim);
  transition: color .35s;
}
.nav__links a:hover { color: var(--candle-bright); }

.nav__cta {
  color: var(--candle) !important;
  border: 1px solid rgba(224, 179, 106, 0.5);
  padding: 0.55rem 1.15rem;
  transition: background .35s, color .35s !important;
}
.nav__cta:hover {
  background: var(--candle);
  color: var(--midnight) !important;
}

/* ─── Hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -4%;
  background: url("../img/foto-capa.png") center 22% / cover no-repeat;
  animation: kenburns 36s var(--ease-lux) infinite alternate;
  will-change: transform;
}
@keyframes kenburns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.09) translateX(-1.5%); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10, 14, 23, 0.88) 0%, rgba(10, 14, 23, 0.55) 42%, rgba(10, 14, 23, 0.15) 75%),
    linear-gradient(to top, var(--midnight) 0%, rgba(10, 14, 23, 0.25) 32%, rgba(10, 14, 23, 0.35) 100%);
}

.hero__content {
  position: relative;
  z-index: 4;
  padding: 0 clamp(1.5rem, 7vw, 7.5rem);
  max-width: 60rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.74rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 2.4rem;
}
.hero__eyebrow .hangul {
  font-size: 0.95rem;
  letter-spacing: 0.25em;
}
.eyebrow-rule {
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(to right, var(--candle), transparent);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.4rem, 10vw, 7.8rem);
  line-height: 0.98;
  letter-spacing: 0.005em;
}
.title-line { display: block; }
.hero__title em { font-style: italic; font-weight: 500; }
.title-line--gold {
  background: linear-gradient(100deg, var(--candle) 10%, var(--candle-bright) 38%, var(--ember) 72%, var(--candle) 95%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shimmer 7s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

.hero__tagline {
  margin-top: 2.1rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--ivory);
  letter-spacing: 0.04em;
}

.hero__actions {
  margin-top: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__scroll {
  position: absolute;
  z-index: 4;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.hero__scroll-line {
  width: 1px;
  height: 3.4rem;
  background: linear-gradient(to bottom, transparent, var(--candle));
  overflow: hidden;
  position: relative;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, transparent, var(--candle-bright));
  animation: scrollhint 2.4s var(--ease-lux) infinite;
}
@keyframes scrollhint {
  0%   { top: -100%; }
  60%, 100% { top: 100%; }
}

/* Animação de entrada do hero */
.load-rise {
  opacity: 0;
  transform: translateY(34px);
  filter: blur(6px);
  animation: loadrise 1.3s var(--ease-lux) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes loadrise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ─── Seções ───────────────────────────────────────────────── */

.section {
  position: relative;
  padding: clamp(6rem, 12vw, 9.5rem) clamp(1.5rem, 7vw, 7.5rem);
}
.section__inner {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Marca d'água em hangul */
.hangul-watermark {
  position: absolute;
  top: 4rem;
  right: clamp(0.5rem, 4vw, 4rem);
  font-family: var(--font-hangul);
  font-size: clamp(8rem, 22vw, 19rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 179, 106, 0.12);
  writing-mode: vertical-rl;
  user-select: none;
  pointer-events: none;
  z-index: 1;
}
.hangul-watermark--right { right: auto; left: clamp(0.5rem, 4vw, 4rem); }

/* ─── A História ───────────────────────────────────────────── */

.historia { background: var(--midnight); }

.historia__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.historia__themes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.historia__themes li {
  position: relative;
  padding: 2.2rem 1.9rem 2rem;
  background: linear-gradient(160deg, rgba(26, 34, 51, 0.55), rgba(16, 22, 35, 0.85));
  border: 1px solid rgba(224, 179, 106, 0.14);
  transition: border-color .5s var(--ease-lux), transform .5s var(--ease-lux),
              box-shadow .5s var(--ease-lux);
}
.historia__themes li:hover {
  border-color: rgba(224, 179, 106, 0.45);
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
}
.theme__hangul {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
  opacity: 0.9;
}
.historia__themes h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.6rem;
  color: var(--ivory);
}
.historia__themes p { font-size: 0.98rem; line-height: 1.7; }

.historia__standsintro {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.45rem;
  color: var(--candle-bright);
  margin-bottom: 1.9rem;
  letter-spacing: 0.03em;
}

/* ─── Where it began ───────────────────────────────────────── */

.momentos { background: var(--midnight-soft); }

.momentos__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 30rem) 1fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.momentos__photo-wrap { position: relative; }

.momentos__photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
}
/* moldura dourada deslocada */
.momentos__photo-wrap::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid rgba(224, 179, 106, 0.35);
  border-radius: 4px;
  pointer-events: none;
}
.momentos__photo img {
  width: 100%;
  transform: scale(1.14);
  transition: transform 2.4s var(--ease-lux);
  will-change: transform;
}

/* revelação em cortina: um painel ::after desliza para fora da foto.
   (clip-path no próprio elemento zeraria sua geometria visível e o
   IntersectionObserver nunca o marcaria como visível) */
.momentos__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--midnight-soft);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.5s var(--ease-lux) 0.15s;
  z-index: 2;
}
.reveal-clip.visible .momentos__photo::after { transform: scaleX(0); }
.reveal-clip.visible .momentos__photo img { transform: scale(1.02); }

/* moldura e legenda entram depois da cortina */
.momentos__photo-wrap::before {
  opacity: 0;
  transition: opacity 1s var(--ease-lux) 0.9s;
}
.reveal-clip.visible::before { opacity: 1; }

.momentos__photo-caption {
  display: block;
  margin-top: 2.4rem;
  /* centraliza a legenda dentro da moldura dourada (deslocada 1.4rem à direita) */
  margin-left: 1.4rem;
  margin-right: -1.4rem;
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  opacity: 0;
  translate: 0 12px;
  transition: opacity 1s var(--ease-lux) 0.8s, translate 1s var(--ease-lux) 0.8s;
}
.reveal-clip.visible .momentos__photo-caption { opacity: 1; translate: 0 0; }

.moments {
  list-style: none;
  counter-reset: none;
}
.moments li {
  position: relative;
  padding: 1.9rem 0 1.9rem 2.2rem;
  border-left: 1px solid rgba(224, 179, 106, 0.22);
}
.moments li::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2.55rem;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--candle);
  box-shadow: 0 0 14px rgba(224, 179, 106, 0.8);
}
.moments li:last-child { padding-bottom: 0.4rem; }

.moment__marker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 0.5rem;
}
.moments h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--ivory);
  margin-bottom: 0.45rem;
}
.moments p { font-size: 1rem; line-height: 1.7; }

/* ─── Teaser (vídeo) ───────────────────────────────────────── */

.teaser {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  padding: clamp(6rem, 12vw, 9rem) clamp(1.5rem, 7vw, 7.5rem);
}

.teaser__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
}
/* iOS: esconde o botão de play nativo (fica sob o veil e não recebe toque) */
.teaser__video::-webkit-media-controls,
.teaser__video::-webkit-media-controls-panel,
.teaser__video::-webkit-media-controls-overlay-play-button,
.teaser__video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

.teaser__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 75% at 50% 50%, rgba(10, 14, 23, 0.32) 0%, rgba(10, 14, 23, 0.82) 100%),
    linear-gradient(to bottom, var(--midnight) 0%, transparent 18%, transparent 82%, var(--midnight) 100%);
}

.teaser__content {
  position: relative;
  z-index: 2;
  max-width: 46rem;
}

.teaser__line {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.8rem);
  font-weight: 500;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}
.teaser__line em {
  font-style: italic;
  color: var(--candle-bright);
}

.teaser__closer {
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
}
.teaser__closer em {
  font-style: italic;
  background: linear-gradient(105deg, var(--candle) 15%, var(--candle-bright) 50%, var(--ember) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Citação ──────────────────────────────────────────────── */

.quote {
  position: relative;
  padding: clamp(5.5rem, 11vw, 9rem) clamp(1.5rem, 7vw, 7.5rem);
  background:
    linear-gradient(rgba(10, 14, 23, 0.9), rgba(10, 14, 23, 0.94)),
    url("../img/foto-capa.png") center 30% / cover no-repeat fixed;
}
.quote__inner { max-width: 56rem; margin: 0 auto; text-align: center; }

.quote blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 3rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ivory);
}
.quote blockquote em {
  font-style: italic;
  color: var(--candle-bright);
}
.quote cite {
  display: block;
  margin-top: 2.2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--candle);
}

/* ─── O Livro ──────────────────────────────────────────────── */

.livro { background: var(--midnight-soft); }

.livro__grid {
  display: grid;
  grid-template-columns: minmax(17rem, 26rem) 1fr;
  gap: clamp(3rem, 7vw, 6.5rem);
  align-items: center;
}

.livro__book-wrap {
  position: relative;
  perspective: 1400px;
}
.book {
  position: relative;
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
  will-change: transform;
  animation: bookfloat 7s ease-in-out infinite;
}
@keyframes bookfloat {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}
.book img {
  border-radius: 4px;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 8px 24px rgba(0, 0, 0, 0.5);
}
.book__sheen {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: linear-gradient(115deg, transparent 30%, rgba(242, 207, 143, 0.14) 48%, transparent 62%);
  background-size: 240% 100%;
  background-position: 120% 0;
  transition: background-position 1.1s var(--ease-lux);
  pointer-events: none;
}
.livro__book-wrap:hover .book__sheen { background-position: -60% 0; }

.book__glow {
  position: absolute;
  inset: 12% -6% -4% -6%;
  background: radial-gradient(ellipse at 50% 85%, rgba(201, 123, 61, 0.28), transparent 65%);
  filter: blur(28px);
  z-index: -1;
}

.livro__facts {
  list-style: none;
  margin: 2.4rem 0 2.8rem;
  border-top: 1px solid rgba(224, 179, 106, 0.16);
}
.livro__facts li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 2rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(224, 179, 106, 0.16);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
}
.livro__facts li span:first-child {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--candle);
  white-space: nowrap;
}

/* ─── A Autora ─────────────────────────────────────────────── */

.autora { background: var(--midnight); }
.autora__inner { max-width: 46rem; }
.autora__inner p:not(.eyebrow) { margin-bottom: 1.5rem; }

.autora__mark {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  line-height: 1.3;
  margin: 2.4rem 0 !important;
  background: linear-gradient(105deg, var(--candle) 20%, var(--candle-bright) 55%, var(--candle) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── Carta da autora ──────────────────────────────────────── */

.letter {
  position: relative;
  margin-top: 4.5rem;
  padding: clamp(2.2rem, 5vw, 3.4rem);
  border: 1px solid rgba(224, 179, 106, 0.32);
  background: linear-gradient(165deg, rgba(26, 34, 51, 0.5), rgba(16, 22, 35, 0.92));
}
.letter::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(224, 179, 106, 0.13);
  pointer-events: none;
}

.letter__eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--candle);
  margin-bottom: 2rem !important;
}
.letter__eyebrow .hangul { font-size: 0.85rem; letter-spacing: 0.2em; }

.letter__greeting {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 2.7vw, 1.55rem);
  color: var(--candle-bright);
  margin-bottom: 1.4rem !important;
}

.letter__line {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.35rem);
  line-height: 1.6;
  color: var(--ivory);
  margin-bottom: 1.15rem !important;
}

.letter__signoff {
  margin: 2.4rem 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--ivory-dim);
}
.letter__signature {
  font-family: "Great Vibes", "Cormorant Garamond", cursive;
  font-size: clamp(2.1rem, 4.5vw, 2.7rem);
  line-height: 1.15;
  color: var(--candle);
  text-shadow: 0 0 24px rgba(224, 179, 106, 0.25);
}

/* ─── Lançamento / Formulário ──────────────────────────────── */

.lancamento {
  position: relative;
  padding: clamp(6rem, 12vw, 10rem) clamp(1.5rem, 7vw, 7.5rem);
  overflow: hidden;
}
.lancamento__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 60% at 50% 110%, rgba(201, 123, 61, 0.22), transparent 70%),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(224, 179, 106, 0.12), transparent 65%),
    var(--midnight-soft);
}
.lancamento__inner {
  position: relative;
  z-index: 2;
  max-width: 38rem;
  margin: 0 auto;
}
.lancamento__sub {
  text-align: center;
  margin-bottom: 3.2rem;
}

.form__fields {
  display: grid;
  gap: 2.4rem;
  margin-bottom: 2.6rem;
}

.field { position: relative; }

.field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(243, 236, 221, 0.25);
  padding: 0.9rem 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ivory);
  caret-color: var(--candle);
  transition: border-color .4s;
}
.field input:focus { outline: none; }

.field label {
  position: absolute;
  left: 0;
  top: 0.9rem;
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--ivory-dim);
  pointer-events: none;
  transition: transform .4s var(--ease-lux), font-size .4s var(--ease-lux),
              color .4s, letter-spacing .4s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  transform: translateY(-1.7rem);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--candle);
}

.field__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: linear-gradient(to right, var(--candle), var(--candle-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease-lux);
}
.field input:focus ~ .field__line { transform: scaleX(1); }

.form__error {
  color: #e8a3a3;
  font-size: 0.92rem;
  text-align: center;
  margin: -1.2rem 0 1.6rem;
}

.form__privacy {
  margin-top: 1.4rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ivory-dim);
  opacity: 0.75;
}

/* Sucesso */
.form__success {
  text-align: center;
  animation: successin 1s var(--ease-lux);
}
@keyframes successin {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.success__heart {
  display: inline-block;
  font-size: 2.6rem;
  color: var(--candle);
  animation: heartbeat 1.6s ease-in-out infinite;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 34px rgba(224, 179, 106, 0.55);
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  12%      { transform: scale(1.22); }
  24%      { transform: scale(1); }
  36%      { transform: scale(1.14); }
  48%      { transform: scale(1); }
}
.form__success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.form__success .hangul { display: inline-block; margin-left: 0.3em; }

/* ─── Rodapé ───────────────────────────────────────────────── */

.footer {
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
  border-top: 1px solid rgba(224, 179, 106, 0.14);
  background: var(--midnight);
}
.footer__monogram {
  display: inline-grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid rgba(224, 179, 106, 0.4);
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--candle);
  margin-bottom: 1.1rem;
}
.footer p {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--ivory-dim);
}
.footer__hangul {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* Contato */
.footer__contact {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}
.footer__contact span[data-i18n] {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--candle);
}
.footer__sep { color: var(--ivory-dim); margin: 0 0.6em; }
.footer__contact a {
  color: var(--candle);
  text-decoration: none;
  border-bottom: 1px solid rgba(224, 179, 106, 0.35);
  padding-bottom: 1px;
  transition: color .35s, border-color .35s;
}
.footer__contact a:hover {
  color: var(--candle-bright);
  border-color: var(--candle-bright);
}

/* Aviso legal de ficção — fine print, discreto */
.footer__disclaimer {
  max-width: 46rem;
  margin: 2.4rem auto 0;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(224, 179, 106, 0.1);
  font-size: 0.68rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: var(--ivory-dim);
  opacity: 0.5;
  text-align: justify;
}

/* Powered by */
.footer__powered {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.footer__powered a {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity .35s var(--ease-lux);
}
.footer__powered a:hover { opacity: 1; }
.footer__powered img {
  height: 20px;
  width: auto;
  display: block;
}

/* ─── Modo coreano: tipografia adequada ao hangul ──────────── */

html[lang="ko"] body {
  font-family: "Noto Sans KR", "Jost", "Segoe UI", sans-serif;
}
html[lang="ko"] .section__title,
html[lang="ko"] .hero__tagline,
html[lang="ko"] .historia__standsintro,
html[lang="ko"] .historia__themes h3,
html[lang="ko"] .moments h3,
html[lang="ko"] .quote blockquote p,
html[lang="ko"] .teaser__line,
html[lang="ko"] .teaser__closer,
html[lang="ko"] .form__success h3,
html[lang="ko"] .livro__facts li,
html[lang="ko"] .autora__mark,
html[lang="ko"] .letter__greeting,
html[lang="ko"] .letter__line,
html[lang="ko"] .field input {
  font-family: "Noto Serif KR", "Nanum Myeongjo", "Cormorant Garamond", serif;
}
html[lang="ko"] .section__title { line-height: 1.28; letter-spacing: 0; }
html[lang="ko"] .quote blockquote p { line-height: 1.55; }
html[lang="ko"] .eyebrow,
html[lang="ko"] .btn,
html[lang="ko"] .nav__links a,
html[lang="ko"] .moment__marker,
html[lang="ko"] .countdown__label,
html[lang="ko"] .countdown__cap,
html[lang="ko"] .player__title,
html[lang="ko"] .momentos__photo-caption,
html[lang="ko"] .livro__facts li span:first-child {
  letter-spacing: 0.16em;
}

/* ─── Reveal ao rolar ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(5px);
  transition: opacity 1.1s var(--ease-lux), transform 1.1s var(--ease-lux),
              filter 1.1s var(--ease-lux);
  transition-delay: var(--d, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ─── Responsivo ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .livro__grid { grid-template-columns: 1fr; }
  .livro__book-wrap { max-width: 20rem; margin: 0 auto; }
  .momentos__grid { grid-template-columns: 1fr; }
  .momentos__photo-wrap { max-width: 26rem; }
  .countdown__label { display: none; }
  .quote { background-attachment: scroll; }
}

@media (max-width: 640px) {
  .nav { padding-left: 0.9rem; padding-right: 0.9rem; }
  .nav__links { gap: 0.7rem; }
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__cta { padding: 0.35rem 0.5rem; font-size: 0.58rem; white-space: nowrap; letter-spacing: 0.08em; }
  .countdown__num { font-size: 1.05rem; }
  .countdown__cap { font-size: 0.45rem; letter-spacing: 0.18em; }
  .countdown__units { gap: 0.22rem; }
  .countdown__sep { font-size: 0.85rem; }
  .countdown__unit { min-width: 2ch; }
  /* player mínimo: só o botão */
  .player__meta { display: none; }
  .player__btn { width: 2.1rem; height: 2.1rem; }
  .player__icon { width: 0.7rem; height: 0.7rem; }
  /* bandeiras compactas */
  .lang { gap: 0.3rem; padding-right: 0.5rem; }
  .lang__btn svg { width: 19px; height: 13px; }
  .hero__content { padding-top: 5rem; }
  .hero__actions .btn { width: 100%; text-align: center; }
  .hangul-watermark { font-size: 7.5rem; opacity: 0.7; }
  .hero__scroll { display: none; }
  /* teaser: texto encostado no rodapé para liberar o vídeo */
  .teaser {
    align-items: end;
    padding-top: 4rem;
    padding-bottom: 2.25rem;
  }
  .teaser__veil {
    background:
      linear-gradient(to bottom, var(--midnight) 0%, transparent 14%, transparent 45%, rgba(10, 14, 23, 0.75) 72%, var(--midnight) 100%);
  }
  .teaser__line { font-size: 0.98rem; line-height: 1.45; margin-bottom: 0.45rem; }
  .teaser__closer { margin-top: 1.1rem; font-size: 1.75rem; }
}

/* ─── Movimento reduzido ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__bg, .title-line--gold, .book, .success__heart,
  .hero__scroll-line::after, .countdown__sep, .countdown__num { animation: none !important; }
  .player__eq i { animation: none; transform: scaleY(0.5); }
  .load-rise { animation-duration: 0.01s; animation-delay: 0s; }
  .reveal { transition-duration: 0.01s; transition-delay: 0s; }
  .momentos__photo::after { display: none; }
  .momentos__photo-wrap::before,
  .momentos__photo-caption { opacity: 1; translate: 0 0; transition: none; }
  .momentos__photo img { transform: scale(1.02); transition: none; }
  #embers { display: none; }
}
