/* ==========================================================================
   Para a Minha Macabeça — folha de estilos
   Mobile first. Sem dependências externas (tipos de letra do sistema).
   ========================================================================== */

:root {
  --ink: #0a0304;
  --wine-950: #14030a;
  --wine-800: #3b0a18;
  --wine-700: #5c0f22;
  --wine-500: #8a1c35;
  --rose: #b98394;
  --gold: #c9a46e;
  --gold-hi: #f1e0bd;
  --cream: #f7eddc;
  --paper-ink: #2b1719;
  --text: #f5ebe0;
  --muted: #cdb7b0;

  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --serif-display: "Cormorant Garamond", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --serif-text: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */

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

[hidden] {
  display: none !important;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(138, 28, 53, .45), transparent 60%),
    radial-gradient(90% 60% at 100% 110%, rgba(92, 15, 34, .55), transparent 60%),
    linear-gradient(180deg, #140309 0%, var(--ink) 60%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--serif-text);
  font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

p,
h1,
h2 {
  overflow-wrap: break-word;
}

code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: .9em;
  color: var(--gold-hi);
}

:focus-visible {
  outline: 3px solid var(--gold-hi);
  outline-offset: 3px;
}

[tabindex="-1"]:focus {
  outline: none;
}

/* ---------- Fundo: partículas, véu e flash ---------- */

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

.veil {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(201, 164, 110, .10), transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(185, 131, 148, .10), transparent 45%);
  animation: drift 26s ease-in-out infinite alternate;
  will-change: transform;
}

.flash {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: radial-gradient(circle at 50% 40%, rgba(241, 224, 189, .34), transparent 62%);
  opacity: 0;
  transition: opacity .6s ease;
}

.flash.is-on {
  opacity: 1;
}

.pause-veil {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(10, 3, 4, .15), rgba(10, 3, 4, .92) 75%);
  opacity: 0;
  transition: opacity .7s ease;
}

body.is-pausing .pause-veil {
  opacity: 1;
}

/* ---------- Barra superior ---------- */

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left));
  background: linear-gradient(180deg, rgba(10, 3, 4, .94), rgba(10, 3, 4, 0));
  pointer-events: none;
}

.topbar > * {
  pointer-events: auto;
}

.topbar__count {
  margin: 0;
  font-family: var(--sans);
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(201, 164, 110, .15);
}

.progress__fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wine-500), var(--gold), var(--gold-hi));
  box-shadow: 0 0 12px rgba(201, 164, 110, .6);
  transition: width .8s var(--ease);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 110, .45);
  background: rgba(20, 3, 9, .75);
  color: var(--gold-hi);
  font-family: var(--sans);
  font-size: .85rem;
  letter-spacing: .03em;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color .3s, background-color .3s;
}

.chip:hover {
  border-color: var(--gold);
}

.chip[aria-pressed="true"] {
  background: rgba(92, 15, 34, .75);
}

.eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
  width: 14px;
}

.eq i {
  display: block;
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background: var(--gold);
}

.chip.is-playing .eq i,
body.is-music-playing .play-icon::before {
  animation: eq 1s ease-in-out infinite;
}

.chip.is-playing .eq i:nth-child(2) {
  animation-delay: -.3s;
}

.chip.is-playing .eq i:nth-child(3) {
  animation-delay: -.6s;
}

@keyframes eq {
  0%, 100% { height: 30%; }
  50% { height: 100%; }
}

/* ---------- Cenas ---------- */

#stage {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
}

.scene {
  display: none;
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 92px max(20px, env(safe-area-inset-left)) 48px max(20px, env(safe-area-inset-right));
  align-items: center;
  justify-content: center;
}

.scene.is-current {
  display: flex;
  animation: sceneIn 1.1s var(--ease) both;
}

.scene.is-leaving {
  display: flex;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.035);
  filter: blur(6px);
  transition: opacity .6s ease, transform .6s ease, filter .6s ease;
}

.scene__inner {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}

.scene__inner--wide,
.scene--wide .scene__inner {
  max-width: 980px;
}

@keyframes sceneIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 1.1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-family: var(--sans);
  font-size: .72rem;
  letter-spacing: .24em;
  line-height: 1.5;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--gold);
}

.label::before,
.label::after {
  content: "";
  flex: 0 0 auto;
  width: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.label::after {
  transform: scaleX(-1);
}

.title {
  margin: .2em 0 .1em;
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  line-height: 1.08;
  color: var(--gold-hi);
  text-shadow: 0 0 28px rgba(201, 164, 110, .35);
}

.lead {
  margin: 0;
  max-width: 34em;
  font-size: clamp(1.15rem, 3.6vw, 1.45rem);
  color: var(--text);
}

.lead--small {
  font-size: clamp(1.02rem, 3vw, 1.2rem);
  color: var(--muted);
}

.note {
  margin: 0;
  font-family: var(--sans);
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted);
}

.note--small {
  font-size: .8rem;
}

/* Cena 1 — luz que se revela lentamente */

.scene--opening .scene__inner {
  gap: 28px;
}

.light {
  position: absolute;
  left: 50%;
  top: 36%;
  width: min(130vw, 760px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 224, 189, .34) 0%, rgba(201, 164, 110, .14) 30%, transparent 64%);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
  transform: translate(-50%, -50%) scale(.6);
  animation: lightReveal 3.6s var(--ease) .2s forwards;
}

@keyframes lightReveal {
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ---------- Botões ---------- */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  max-width: 100%;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid rgba(201, 164, 110, .6);
  background: linear-gradient(180deg, rgba(92, 15, 34, .9), rgba(40, 6, 16, .95));
  color: var(--gold-hi);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: .03em;
  text-align: center;
  line-height: 1.3;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 235, 190, .12);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s, opacity .3s;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: var(--gold-hi);
  box-shadow: 0 14px 40px rgba(138, 28, 53, .55), 0 0 24px rgba(201, 164, 110, .25);
}

.btn:active {
  transform: translateY(0) scale(.98);
}

.btn:disabled {
  opacity: .5;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.btn--gold {
  background: linear-gradient(180deg, #e6cd9c, #b08a5a);
  border-color: var(--gold-hi);
  color: #1a0508;
  font-weight: 600;
}

.btn--gold:hover {
  color: #1a0508;
}

.btn--ghost {
  background: transparent;
  border-color: rgba(245, 235, 224, .28);
  color: var(--text);
  box-shadow: none;
}

.btn--large {
  min-height: 60px;
  padding: 16px 32px;
  font-size: 1.08rem;
}

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

.scene-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 12px;
}

.scene-nav .btn {
  min-width: 150px;
  flex: 1 1 150px;
  max-width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.row--center {
  justify-content: center;
}

/* ---------- Cena 2 — mensagem ---------- */

.message {
  display: grid;
  gap: 1.2em;
  margin: 0;
  max-width: 36em;
  font-size: clamp(1.12rem, 3.4vw, 1.4rem);
  line-height: 1.8;
  color: var(--text);
}

.message p {
  margin: 0;
}

/* ---------- Cena 3 — envelope e carta ---------- */

.envelope-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: opacity .6s ease;
}

.envelope-wrap.is-gone {
  display: none;
}

.envelope {
  position: relative;
  display: block;
  width: min(84vw, 360px);
  aspect-ratio: 1.55 / 1;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  perspective: 1200px;
  -webkit-tap-highlight-color: transparent;
  transition: transform .5s var(--ease);
}

.envelope:hover {
  transform: translateY(-4px);
}

.envelope__body {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  border: 1px solid rgba(201, 164, 110, .7);
  background:
    linear-gradient(to bottom right, transparent 49%, rgba(90, 60, 30, .10) 50%, transparent 52%),
    linear-gradient(to bottom left, transparent 49%, rgba(90, 60, 30, .10) 50%, transparent 52%),
    linear-gradient(160deg, #f6ead2, #e3cca2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 40px rgba(201, 164, 110, .28);
}

.envelope__flap {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 56%;
  background: linear-gradient(180deg, #fbf1dc, #e6d0a6);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform-origin: 50% 0;
  transition: transform 1s var(--ease);
  z-index: 0;
  border-radius: 10px 10px 0 0;
}

.envelope.is-open .envelope__flap {
  transform: rotateX(180deg);
}

.envelope__seal {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b13a58, #5c0f22);
  box-shadow: 0 0 0 4px rgba(201, 164, 110, .5), 0 8px 18px rgba(0, 0, 0, .4);
  animation: sealPulse 2.8s ease-in-out infinite;
  transition: opacity .5s ease;
}

.envelope.is-open .envelope__seal {
  opacity: 0;
}

.envelope__seal svg {
  width: 26px;
  height: 26px;
  fill: #f1e0bd;
}

@keyframes sealPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.06); }
}

.envelope-caption {
  color: var(--gold-hi);
  font-size: .95rem;
}

.letter {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

html.js .letter {
  display: none;
}

html.js .letter.is-open {
  display: block;
  animation: paperIn 1.2s var(--ease) both;
}

@keyframes paperIn {
  from {
    opacity: 0;
    transform: translateY(36px) rotateX(8deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.paper {
  position: relative;
  padding: clamp(28px, 7vw, 54px) clamp(22px, 6vw, 56px);
  border-radius: 6px;
  background: linear-gradient(170deg, #fcf5e6 0%, #f2e3c6 100%);
  color: var(--paper-ink);
  font-family: var(--serif-text);
  font-size: clamp(1.02rem, 3vw, 1.14rem);
  line-height: 1.85;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .6),
    0 0 0 1px rgba(201, 164, 110, .5),
    inset 0 0 60px rgba(160, 110, 50, .12);
}

.paper::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(138, 28, 53, .16);
  border-radius: 3px;
  pointer-events: none;
}

.paper p {
  margin: 0 0 1.05em;
  min-height: 1.2em;
}

.paper__salute {
  font-family: var(--serif-display);
  font-size: 1.55em;
  color: var(--wine-700);
}

.paper__sign {
  margin: 1.6em 0 0 !important;
}

.paper__sign span {
  display: block;
}

.paper__sign span:last-child {
  font-style: italic;
  color: var(--wine-700);
}

.letter__controls {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

html:not(.js) .envelope-wrap,
html:not(.js) .gate,
html:not(.js) .js-only {
  display: none !important;
}

/* ---------- Cena 4 — cartões ---------- */

.cards {
  display: grid;
  gap: 16px;
  width: 100%;
  align-items: start;
}

.card {
  position: relative;
  width: 100%;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 164, 110, .35);
  background: linear-gradient(160deg, rgba(92, 15, 34, .55), rgba(20, 3, 9, .88));
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .4s, transform .4s var(--ease), box-shadow .4s;
  -webkit-tap-highlight-color: transparent;
}

.card:hover {
  border-color: rgba(241, 224, 189, .7);
  transform: translateY(-2px);
}

.card[aria-expanded="true"] {
  border-color: var(--gold);
  cursor: default;
  transform: none;
}

.card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.card__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(201, 164, 110, .55);
  background: rgba(10, 3, 4, .55);
  color: var(--gold-hi);
}

.card__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card__title {
  flex: 1;
  font-family: var(--serif-display);
  font-size: 1.45rem;
  line-height: 1.1;
  color: var(--gold-hi);
}

.card__hint {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .03em;
  color: var(--muted);
  text-align: right;
}

.card__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .7s var(--ease);
}

.card[aria-expanded="true"] .card__reveal {
  grid-template-rows: 1fr;
}

.card__body {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.card__text {
  display: block;
  margin-top: 14px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--text);
}

.card[aria-expanded="true"] .card__hint {
  color: var(--gold);
}

html:not(.js) .card__reveal {
  grid-template-rows: 1fr;
}

html:not(.js) .card__hint {
  display: none;
}

.progress-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.mini-progress {
  width: min(260px, 70vw);
  height: 3px;
  border-radius: 3px;
  background: rgba(201, 164, 110, .18);
  overflow: hidden;
}

.mini-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--wine-500), var(--gold-hi));
  transition: width .7s var(--ease);
}

@media (min-width: 900px) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Cena 5 — respiração ---------- */

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--muted);
}

.steps li {
  position: relative;
  padding-left: 18px;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.breath {
  position: relative;
  width: min(72vw, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin: 8px auto;
}

.breath__halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 224, 189, .30), rgba(185, 131, 148, .10) 45%, transparent 70%);
  filter: blur(8px);
  transform: scale(1);
  transition: transform 4s ease-in-out;
}

.breath__orb {
  position: relative;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 40% 35%, #f7ead0, #c9a46e 35%, #8a1c35 80%, #3b0a18);
  box-shadow: 0 0 60px rgba(201, 164, 110, .45), inset 0 0 30px rgba(255, 240, 200, .35);
  transform: scale(1);
  transition: transform 4s ease-in-out;
}

.breath__text {
  font-family: var(--serif-display);
  font-size: 1.5rem;
  color: #2a0810;
  text-shadow: 0 1px 0 rgba(255, 240, 200, .4);
}

.breath__count {
  margin: 0;
  font-family: var(--sans);
  font-size: .95rem;
  letter-spacing: .08em;
  color: var(--gold-hi);
}

.breath__status {
  max-width: 34em;
  min-height: 3em;
}

/* ---------- Cena 6 — música ---------- */

.music-card {
  width: 100%;
  max-width: 460px;
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 164, 110, .35);
  background: rgba(20, 3, 9, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: left;
}

.play-icon {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  width: 16px;
  height: 16px;
}

.play-icon::before {
  content: "";
  width: 3px;
  height: 60%;
  border-radius: 2px;
  background: var(--gold-hi);
  box-shadow: 5px 0 0 var(--gold-hi), 10px 0 0 var(--gold-hi);
  display: block;
  margin-left: 2px;
}

body:not(.is-music-playing) .play-icon::before {
  animation: none;
  height: 60%;
}

.field {
  display: grid;
  gap: 8px;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--muted);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  min-height: 32px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: .9rem;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

.music-card code {
  word-break: break-all;
}

.note--warn {
  color: var(--gold-hi);
}

/* ---------- Cena 7 — surpresa final ---------- */

.gate {
  display: flex;
  justify-content: center;
  width: 100%;
  padding-top: 8vh;
}

.gate.is-gone {
  display: none;
}

.surprise {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.surprise.is-revealed,
html:not(.js) .surprise {
  display: flex;
  animation: rise 1.4s var(--ease) both;
}

html:not(.js) .surprise {
  animation: none;
}

.heart {
  width: clamp(72px, 20vw, 104px);
  height: auto;
  fill: #a8475e;
  filter: drop-shadow(0 0 18px rgba(201, 164, 110, .7));
  animation: heartBeat 1.6s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.12); }
  30% { transform: scale(1); }
  45% { transform: scale(1.08); }
}

.final-title {
  margin: 0;
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 7vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--gold-hi);
  text-shadow: 0 0 30px rgba(201, 164, 110, .7), 0 0 60px rgba(201, 164, 110, .3);
}

.final-text {
  display: grid;
  gap: 1em;
  max-width: 36em;
  font-size: clamp(1.08rem, 3.2vw, 1.3rem);
  line-height: 1.8;
  color: var(--text);
}

.final-text p {
  margin: 0;
}

.final-text__love {
  font-size: 1.15em;
  color: var(--gold-hi);
}

.final-hug {
  margin: 4px 0 0;
  font-style: italic;
  font-size: clamp(1.1rem, 3.4vw, 1.35rem);
  color: var(--gold-hi);
}

.privacy-note {
  margin-top: 18px;
  opacity: .75;
}

/* ---------- Movimento reduzido ---------- */

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .veil,
  .light {
    animation: none;
  }

  .light {
    opacity: 1;
    transform: translate(-50%, -50%);
  }

  .breath__halo,
  .breath__orb {
    transition: none;
  }

  .heart,
  .envelope__seal {
    animation: none;
  }

  .eq i {
    height: 60%;
  }
}

/* ---------- Ecrãs mais largos ---------- */

@media (min-width: 768px) {
  .scene {
    padding: 112px 40px 64px;
  }

  .scene__inner {
    gap: 26px;
  }

  .paper {
    font-size: 1.2rem;
  }
}

@media (max-width: 340px) {
  .topbar__count {
    font-size: .68rem;
    letter-spacing: .08em;
  }

  .chip {
    padding: 8px 10px;
  }

  .btn {
    padding: 14px 18px;
  }
}
