@font-face {
  font-family: "Cormorant";
  src: url("assets/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("assets/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("assets/dm-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --gold: #edce86;
  --bright-gold: #ffdfa1;
  --ivory: #fff5e4;
  --muted: #eddfc9;
  --background: #071d15;
  --edge: #deb66d4a;
  --serif: "Cormorant", Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
  font-family: var(--sans);
  background: var(--background);
  color: var(--ivory);
}
* { box-sizing: border-box; }
body, figure, h1, h2, p { margin: 0; }
body { min-width: 0; min-height: 100vh; background: var(--background); color: var(--ivory); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button:disabled { cursor: wait; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #ffd88e; outline-offset: 5px; }
[hidden] { display: none !important; }
img { width: 100%; height: 100%; display: block; object-fit: cover; }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; overflow: hidden; clip-path: inset(50%); height: 1px; width: 1px; white-space: nowrap;
}
.skip-link:focus {
  z-index: 10; position: absolute; top: 0.6rem; left: 0.6rem; padding: 0.7rem;
  color: #10281e; background: var(--ivory);
}

.masthead {
  position: relative;
  z-index: 4;
  background: #061a12;
  border-bottom: 1px solid var(--edge);
}
.masthead-inner {
  display: flex;
  margin-inline: auto;
  width: min(100% - 108px, 1320px);
  min-height: 68px;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ivory);
  font: 650 clamp(1.65rem, 2.3vw, 2.05rem)/1 var(--serif);
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.wordmark i { font-weight: 500; color: var(--gold); }
.brand-seal {
  width: 29px;
  height: 29px;
  transform: rotate(45deg);
  border: 1px solid #deb56f9c;
  border-radius: 5px;
  box-shadow: inset 0 0 0 4px #e5b96217;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.brand-seal span { transform: rotate(-45deg); font: normal 1rem/1 var(--serif); }
.music-control { position: relative; }
.music-toggle {
  display: flex;
  align-items: center;
  min-height: 40px;
  gap: 9px;
  padding: 5px 13px 5px 8px;
  background: #f8e3af0a;
  border: 1px solid #d6ad6861;
  color: #ffe5b0;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s;
}
.music-toggle:hover, .music-toggle[aria-pressed="true"] { background: #f8e3af24; }
.music-icon { font: 1.1rem/1 Georgia, serif; }
.music-settings {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  width: 175px;
  padding: 13px;
  background: #112c22;
  border: 1px solid #d6ad687a;
  color: var(--ivory);
  font-size: 0.8rem;
}
.music-settings label { display: grid; gap: 5px; }
.music-settings input { width: 100%; accent-color: var(--gold); }

.hero { position: relative; isolation: isolate; overflow: clip; }
.hero-inner {
  display: grid;
  position: relative;
  align-items: center;
  min-height: max(710px, calc(100svh - 69px));
  background: #051b13;
  isolation: isolate;
}
.hero-copy {
  position: relative;
  z-index: 2;
  margin-left: max(5.2vw, (100vw - 1260px) / 2);
  width: min(46vw, 660px);
  padding: 35px 0 42px;
  align-self: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  font-weight: 800;
  line-height: 1.3;
}
.eyebrow span { font: 1em Georgia, serif; }
.hero h1 {
  font: 630 clamp(3.4rem, 5.32vw, 5.2rem)/0.88 var(--serif);
  letter-spacing: -0.05em;
  text-wrap: balance;
  margin: 19px 0 21px;
}
.intro-line, .headline-body, .hero h1 em { display: block; }
.headline-body { max-width: 15.5ch; }
.hero h1 em {
  color: var(--bright-gold);
  font-weight: 510;
  text-shadow: 0 0 46px #ffc67045, 0 0 6px #ffb63913;
}
.subheadline {
  max-width: 460px;
  color: var(--muted);
  font-size: clamp(0.94rem, 1.21vw, 1.06rem);
  line-height: 1.56;
}
.offer { margin-top: 20px; }
.offer-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 17px;
  margin-bottom: 12px;
}
.quantity { color: var(--ivory); font-size: 0.88rem; font-weight: 700; }
.price { color: var(--gold); white-space: nowrap; }
.price span { font-size: 0.72rem; font-weight: 650; }
.price strong { margin-left: 2px; font: 700 1.9rem/1 var(--serif); letter-spacing: -0.035em; }
.buy {
  position: relative;
  min-height: 56px;
  display: inline-flex;
  padding: 13px 24px;
  justify-content: center;
  gap: 10px;
  align-items: center;
  background: linear-gradient(125deg, #dc2c35 0%, #b7192a 52%, #a81426 100%);
  border: 1px solid #ffcc79b0;
  box-shadow: 0 0 0 3px #e2a44019, 0 9px 29px #0c050354;
  color: #fff5df;
  border-radius: 5px;
  font-weight: 850;
  font-size: 0.88rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
  overflow: clip;
}
.buy span { color: #ffe1a3; font-size: 0.98rem; }
.buy:hover {
  transform: translateY(-2px);
  background: linear-gradient(125deg, #ed3d43, #bd2030 65%, #a71322);
  box-shadow: 0 0 0 3px #e2a44039, 0 0 25px #ef832731;
}
.buy::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, #ffe2a747 49%, transparent 60%);
  transform: translateX(-110%);
  animation: glint 9s 2s infinite;
  pointer-events: none;
}
@keyframes glint {
  0%, 33% { transform: translateX(-110%); }
  56%, 100% { transform: translateX(110%); }
}
.microcopy { color: #efe0c6; font-size: 0.76rem; margin-top: 11px; }
.proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 16px;
  padding: 0;
  margin: 16px 0 0;
  list-style: none;
  color: #eedec3;
  font-size: 0.76rem;
}
.proof li { display: flex; align-items: center; gap: 6px; text-shadow: 0 1px 5px #091812b5; }
.proof li::before { content: "✦"; font: 0.6rem/1 Georgia, serif; color: var(--gold); }

.art, .ambience, .motes { position: absolute; inset: 0; pointer-events: none; }
.art { z-index: -1; }
.portrait { position: absolute; overflow: hidden; }
.ornamental-star {
  position: absolute;
  color: #ffe4a2;
  text-shadow: 0 0 18px #ffb84dc9;
  font: normal 2.6rem/1 Georgia, serif;
}
.scene-caption {
  position: absolute;
  z-index: 1;
  color: #ffe9b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 800;
  text-shadow: 0 1px 7px #120903;
}
.scene-caption span:first-child, .scene-caption span:last-child {
  display: inline-block;
  width: 23px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.ambience { z-index: 0; }
.motes { z-index: 1; }
.motes i {
  position: absolute;
  width: var(--dot);
  height: var(--dot);
  top: var(--y);
  left: var(--x);
  border-radius: 50%;
  background: #ffe0a0;
  box-shadow: 0 0 8px 1px #f1b7609e;
  opacity: 0.28;
  animation: float var(--duration) var(--delay) ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate(-4px, 7px); opacity: 0.15; }
  49% { transform: translate(14px, -22px); opacity: 0.58; }
}

/* A — o retrato ocupa o próprio cenário da primeira dobra. */
{
  --background: #051e14;
}
.hero-inner {
  background:
    radial-gradient(ellipse at 78% 29%, #a4672b30, transparent 54%),
    radial-gradient(ellipse at 0% 100%, #1a5b3d, transparent 54%),
    linear-gradient(98deg, #061b13 26%, #103c27 64%, #152c1e);
}
.portrait {
  inset: 0 0 0 33%;
  mask-image: linear-gradient(90deg, transparent, #0008 25%, #000 49%);
}
.hero-photo { object-position: 51% 36%; }
.art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scene-photo-small) center 43% / cover;
  filter: blur(31px) saturate(1.35);
  opacity: 0.16;
  mask-image: linear-gradient(90deg, transparent 12%, #000 65%, transparent);
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #041910 1%, #04191035 23%, transparent 68%);
}
.ambience {
  background:
    radial-gradient(circle at 89% 5%, #ffbd4f49 0, #ffbd4f11 6%, transparent 12%),
    radial-gradient(circle at 96% 39%, #f5b95740 0, transparent 9%),
    radial-gradient(circle at 54% 76%, #cc922834 0, transparent 9%);
}
.first-star { right: 8%; top: 9%; }
.second-star { right: 5%; bottom: 22%; font-size: 1.38rem; }
.scene-caption { right: 8%; bottom: 5.2%; z-index: 2; }

@media (max-width: 1000px) {
  .masthead-inner { width: calc(100% - 66px); }
  .hero-copy { width: min(49vw, 520px); margin-left: 5%; }
  .hero h1 { font-size: clamp(3.1rem, 6.6vw, 4.45rem); }
  .subheadline { max-width: 385px; }
  .offer-value { display: grid; gap: 2px; }
}
@media (max-width: 680px) {
  .masthead-inner { width: calc(100% - 38px); min-height: 57px; gap: 12px; }
  .wordmark { font-size: 1.58rem; gap: 7px; }
  .brand-seal { width: 21px; height: 21px; }
  .brand-seal span { font-size: 0.8rem; }
  .music-toggle { padding: 5px 7px; gap: 5px; font-size: 0.65rem; min-height: 37px; max-width: 112px; }
  .music-icon { font-size: 0.95rem; }
  .music-label { text-align: left; }
  .hero-inner { align-items: start; min-height: 0; display: flex; flex-direction: column; }
  .hero-copy {
    order: -1;
    margin: 0 auto;
    width: min(100% - 36px, 500px);
    text-align: center;
    padding: 20px 0 0;
  }
  .hero .eyebrow { justify-content: center; font-size: 0.66rem; letter-spacing: 0.13em; }
  .hero h1 {
    font-size: clamp(2.38rem, calc(8.9vw + 0.48rem), 4.03rem);
    line-height: 0.87;
    letter-spacing: -0.052em;
    margin: 9px 0 13px;
  }
  .headline-body { max-width: 100%; margin-inline: auto; }
  .subheadline {
    max-width: min(100%, 365px);
    margin-inline: auto;
    font-size: 0.88rem;
    line-height: 1.41;
  }
  .offer { margin-top: 12px; }
  .offer-value { justify-items: center; gap: 3px; margin-bottom: 8px; }
  .quantity { font-size: 0.77rem; }
  .price span { font-size: 0.69rem; }
  .price strong { font-size: 1.65rem; }
  .buy { min-height: 46px; padding: 10px 14px; font-size: 0.78rem; }
  .offer .buy { width: min(100%, 305px); }
  .microcopy { margin-top: 7px; font-size: 0.70rem; }
  .proof { justify-content: center; margin-top: 8px; font-size: 0.64rem; gap: 3px 9px; }
  .proof li { gap: 3px; }
  .proof li::before { font-size: 0.48rem; }
  .art { position: relative; margin-top: -38px; height: clamp(355px, 90vw, 495px); inset: auto; width: 100%; }
  .motes i:nth-child(n+16) { display: none; }
  .portrait { inset: 0; mask-image: linear-gradient(180deg, transparent 0, #0009 18%, #000 34%); }
  .hero-photo { object-position: 51% 45%; }
  .art::after { background: linear-gradient(0deg, #041910 1%, #0419105a 15%, transparent 40%); }
  .first-star { right: 6%; top: 17%; font-size: 1.7rem; }
  .second-star { right: 8%; bottom: 22%; }
  .scene-caption { right: 0; width: 100%; bottom: 6%; }
}
@media (max-width: 375px) {
  .masthead-inner { width: calc(100% - 32px); }
  .hero-copy { width: calc(100% - 31px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
