/* ---------------------------------------------------------------
   Formatura · Caio Nápoli Vieira
   --------------------------------------------------------------- */

:root {
  --midnight: #0b1628;
  --navy: #12243d;
  --navy-2: #1f3a5f;
  --steel: #6f86a6;
  --gold: #c4a36a;
  --gold-light: #dcc59a;
  --gold-deep: #8f7040;
  --ivory: #f5f1ea;
  --paper: #ece6db;
  --ink: #13213a;
  --ink-soft: #4d5b70;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Superfícies ---------- */

.dark {
  position: relative;
  background: var(--midnight);
  color: var(--ivory);
  isolation: isolate;
}
.dark::before {                      /* granulado sutil */
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  opacity: .07;
  pointer-events: none;
  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");
}
.light { background: var(--ivory); }
.paper { background: var(--paper); }

.section { padding: clamp(5rem, 11vw, 9.5rem) 0; }

/* ---------- Tipografia ---------- */

.eyebrow,
.kicker,
.result__label,
.result__sub,
.quiz__count,
.quiz__form-id,
.details dt,
.field label,
.field legend {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: .9rem;
  margin: 0 0 1.6rem;
  color: var(--gold-deep);
}
.kicker span {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  font-style: italic;
}
.kicker span::after {
  content: "";
  display: inline-block;
  width: 2.2rem; height: 1px;
  margin-left: .9rem;
  vertical-align: middle;
  background: currentColor;
  opacity: .6;
}
.dark .kicker { color: var(--gold); }

.title {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.title--xl { font-size: clamp(2.5rem, 6vw, 4.8rem); line-height: 1.02; }
.title em { font-style: italic; color: var(--gold-deep); }
.dark .title em { color: var(--gold); }

.lead {
  max-width: 34rem;
  margin: 0 0 1.4rem;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink-soft);
}
.dark .lead { color: rgba(245, 241, 234, .68); }
.lead strong { font-weight: 500; color: var(--ink); }

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

.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.6rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.8rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--ivory);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .5; cursor: progress; }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--midnight); }
.btn--gold:hover { background: transparent; color: var(--gold); }

.btn--ghost-light { background: transparent; border-color: rgba(245, 241, 234, .35); color: var(--ivory); }
.btn--ghost-light:hover { border-color: var(--ivory); background: var(--ivory); color: var(--midnight); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- Fotos ---------- */

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--navy);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.6s var(--ease);
}
.photo:hover img { transform: scale(1); }

/* ---------- Capa ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-bottom: 2.5rem;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}
.nav__mark {
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  margin: 0; padding: 0;
  list-style: none;
}
.nav__links a {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(245, 241, 234, .7);
  transition: color .3s;
}
.nav__links a:hover { color: var(--gold); }
.nav__gold { color: var(--gold) !important; }
.nav__cta {
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--gold);
  color: var(--ivory) !important;
}

.hero__grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.eyebrow {
  margin: 0 0 2rem;
  font-size: clamp(.84rem, 1.25vw, 1rem);
  letter-spacing: .3em;
  color: var(--gold);
}

.hero__quiz-link {
  display: inline-flex;
  gap: .6rem;
  margin-top: 2.4rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(196, 163, 106, .45);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-light);
  transition: color .3s, border-color .3s;
}
.hero__quiz-link span { transition: transform .4s var(--ease); }
.hero__quiz-link:hover { color: var(--ivory); border-color: var(--ivory); }
.hero__quiz-link:hover span { transform: translateX(4px); }

.hero__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(3.1rem, 8.2vw, 7.2rem);
  line-height: .98;
  letter-spacing: -.03em;
}
.hero__name span { display: block; }
.hero__name .it {
  padding-left: .9em;
  font-style: italic;
  color: var(--gold);
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 2.8rem;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .75);
}
.hero__meta .line { width: 3.5rem; height: 1px; background: var(--gold); }

.hero__photo {
  aspect-ratio: 4 / 5.4;
  max-height: 72vh;
  width: 100%;
  justify-self: end;
  overflow: visible;
}
.hero__photo img, .hero__photo:hover img { transform: none; }
.hero__photo::before {               /* moldura deslocada */
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(196, 163, 106, .45);
  z-index: 2;
  pointer-events: none;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(245, 241, 234, .14);
  padding-top: 1.6rem;
}
.countdown__item { display: flex; align-items: baseline; gap: .7rem; }
.countdown__item span {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--ivory);
}
.countdown__item small {
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
}

/* ---------- Convite ---------- */

.invite {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}
.invite__photo { aspect-ratio: 3 / 4; }
.signature {
  margin: 2.6rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-deep);
}

/* ---------- Evento ---------- */

.section__head { margin-bottom: 3.5rem; }
.section__head--center { text-align: center; }
.section__head--center .kicker { justify-content: center; }
.section__head--center .lead { margin-left: auto; margin-right: auto; }

.details { margin: 0; border-top: 1px solid rgba(19, 33, 58, .22); }
.details__row {
  display: grid;
  grid-template-columns: 12rem 1fr;
  gap: 2rem;
  align-items: baseline;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(19, 33, 58, .22);
}
.details dt { color: var(--gold-deep); }
.details dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  line-height: 1.15;
}
.details dd small {
  display: block;
  margin-top: .4rem;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 300;
  color: var(--ink-soft);
}

/* ---------- Traje ---------- */

.dress {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: center;
}
.dress__photo { aspect-ratio: 3 / 4; }
.dress__photo img { object-position: center 60%; }

/* ---------- Bar ---------- */

.bar__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}
.bar__head .title { margin-bottom: 0; }
.bar__head .lead { margin-bottom: .4rem; }

.menu {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.menu__label {
  margin: 0 0 .6rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid var(--ink);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.menu__list { margin: 0; padding: 0; list-style: none; }
.menu__list--2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.menu__list li {
  display: flex;
  flex-direction: column;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(19, 33, 58, .16);
}
.menu__name {
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.2;
}
.menu__name sup, .menu__note sup { font-family: var(--sans); font-size: .7rem; color: var(--gold-deep); }
.menu__desc { font-size: .86rem; font-weight: 300; color: var(--ink-soft); }
.menu__note { margin: 1.2rem 0 0; font-size: .8rem; color: var(--ink-soft); }

/* ---------- Teste ---------- */

.quiz-wrap { max-width: 880px; }

.quiz {
  position: relative;
  border: 1px solid rgba(196, 163, 106, .32);
  padding: clamp(1.8rem, 5vw, 3.8rem);
  min-height: 25rem;
  display: flex;
  flex-direction: column;
}
.quiz::before, .quiz::after {        /* cantos */
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  border-color: var(--gold);
  border-style: solid;
}
.quiz::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.quiz::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.quiz__screen { flex: 1; display: flex; flex-direction: column; animation: fade .6s var(--ease); }
.quiz__screen[data-screen="start"] { align-items: center; justify-content: center; gap: 2rem; text-align: center; }
.quiz__form-id { margin: 0; color: var(--steel); }

@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.quiz__top { display: flex; justify-content: space-between; align-items: center; }
.quiz__count { color: var(--steel); }
.quiz__count b { font-weight: 500; color: var(--gold); }
.quiz__back {
  padding: 0;
  border: 0;
  background: none;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, .55);
  cursor: pointer;
}
.quiz__back:hover { color: var(--gold); }
.quiz__back:disabled { visibility: hidden; }

.quiz__progress { height: 1px; margin: 1.2rem 0 2.6rem; background: rgba(245, 241, 234, .14); }
.quiz__progress i { display: block; height: 100%; width: 0; background: var(--gold); transition: width .6s var(--ease); }

.quiz__question {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.15;
}

.quiz__options { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(245, 241, 234, .12); }
.quiz__option {
  display: flex;
  align-items: baseline;
  gap: 1.4rem;
  width: 100%;
  padding: 1.15rem .2rem;
  border: 0;
  border-bottom: 1px solid rgba(245, 241, 234, .12);
  background: none;
  text-align: left;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(245, 241, 234, .86);
  cursor: pointer;
  transition: color .3s, padding .4s var(--ease), background .3s;
}
.quiz__option b {
  flex: none;
  width: 1.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--gold);
}
.quiz__option:hover,
.quiz__option.is-selected { color: var(--gold-light); padding-left: .9rem; }
.quiz__option.is-selected { background: rgba(196, 163, 106, .07); }

/* Resultado */
.result { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.result__label { margin: 0 0 1.6rem; color: var(--steel); }
.result__archetype {
  margin: 0 0 .4rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--gold);
}
.result__drink {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: .98;
}
.result__text { margin: 0 0 2rem; font-weight: 300; color: rgba(245, 241, 234, .8); }
.result__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.result__sub { margin: 0 0 .8rem; color: var(--gold); }
.result__list { margin: 0; padding: 0; list-style: none; }
.result__list li {
  padding: .45rem 0;
  border-bottom: 1px solid rgba(245, 241, 234, .1);
  font-size: .92rem;
  font-weight: 300;
  color: rgba(245, 241, 234, .8);
}
.result__zero { margin: 1.6rem 0 0; font-size: .9rem; font-weight: 300; color: rgba(245, 241, 234, .7); }
.result__zero b { font-weight: 500; color: var(--gold-light); }
.result .actions { margin-top: 2.2rem; }
.result__note { margin: 1rem 0 0; font-size: .8rem; color: var(--steel); }

/* Entrar no mural */
.share-wall {
  margin-top: 2.6rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(245, 241, 234, .12);
}
.share-wall .result__sub small { letter-spacing: .05em; text-transform: none; color: var(--steel); }
.share-wall__text { margin: 0 0 1.1rem; font-size: .92rem; font-weight: 300; color: rgba(245, 241, 234, .72); }
.share-wall__form { display: flex; flex-wrap: wrap; gap: .6rem; }
.share-wall__form input {
  flex: 1 1 14rem;
  min-height: 3.1rem;
  padding: 0 1rem;
  border: 1px solid rgba(245, 241, 234, .25);
  border-radius: 0;
  background: transparent;
  color: var(--ivory);
}
.share-wall__form .btn { flex: 1 0 auto; }
.share-wall__form input::placeholder { color: rgba(245, 241, 234, .4); }
.share-wall__form input:focus { outline: none; border-color: var(--gold); }

/* Mural dos drinks */
.drinkwall { margin-top: clamp(4rem, 8vw, 6rem); }
.drinkwall__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .6rem 1rem;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(245, 241, 234, .14);
}
.drinkwall__head h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.drinkwall__head p {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--steel);
}
.drinkwall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: .8rem;
}
.dw-card { padding: 1.4rem 1.3rem; border: 1px solid rgba(245, 241, 234, .12); }
.dw-card.is-mine { box-shadow: inset 0 0 0 1px var(--gold); }
.dw-card h4 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 1.25rem; line-height: 1.25; }
.dw-card p { margin: .6rem 0 0; font-size: .86rem; font-weight: 300; color: rgba(245, 241, 234, .65); }
.drinkwall__empty { margin: 0; font-weight: 300; color: rgba(245, 241, 234, .65); }

.demo-tag {
  display: inline-block;
  margin: 0 0 1.4rem;
  padding: .3rem .65rem;
  border: 1px dashed currentColor;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .55;
}

/* ---------- Presença ---------- */

.rsvp {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2rem;
}
.field { display: flex; flex-direction: column; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full, .field--choice { grid-column: 1 / -1; }
.field label, .field legend { margin-bottom: .5rem; padding: 0; color: var(--ink-soft); }
.field small { letter-spacing: .05em; text-transform: none; opacity: .7; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .7rem 0;
  border: 0;
  border-bottom: 1px solid rgba(19, 33, 58, .3);
  border-radius: 0;
  background: transparent;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 10px) 55%, calc(100% - 5px) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.field textarea { resize: vertical; min-height: 5rem; }
.field input::placeholder, .field textarea::placeholder { color: rgba(77, 91, 112, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-deep); }
.field.is-invalid input, .field.is-invalid.field--choice .choice span { border-color: #9b3b3b; }

.field--choice { display: flex; flex-direction: row; flex-wrap: wrap; gap: .8rem; }
.field--choice legend { width: 100%; margin-bottom: 1rem; float: left; }
.choice { position: relative; cursor: pointer; margin: 0 !important; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: .85rem 1.5rem;
  border: 1px solid rgba(19, 33, 58, .3);
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  transition: all .3s var(--ease);
}
.choice:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.choice input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.form__footer { grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; }
.form__status { margin: 0; font-size: .88rem; color: var(--ink-soft); }
.form__status.is-error { color: #9b3b3b; }

.thanks { grid-column: 2; }
.thanks .kicker span { font-style: normal; }

.check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: -1rem;
  font-size: .9rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.check input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--ink); }

/* ---------- Recados ---------- */

.bar__head .lead a { color: var(--ink); text-underline-offset: 3px; }
#recados .bar__head { grid-template-columns: 1fr; gap: 1.2rem; }
#recados .bar__head .lead { max-width: 36rem; }

.notes { columns: 3 260px; column-gap: 3rem; }
.note {
  break-inside: avoid;
  margin: 0 0 2.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(19, 33, 58, .2);
}
.note blockquote {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink);
}
.note blockquote::before { content: "“"; color: var(--gold-deep); }
.note blockquote::after { content: "”"; color: var(--gold-deep); }
.note figcaption {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.notes__empty { margin: 0; font-weight: 300; color: var(--ink-soft); }

.mural-loading {
  margin: 0;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .55;
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .25; } }

.menu-toggle { display: none; margin-top: 1.6rem; }
.notes__more { margin-top: .5rem; }

/* ---------- Rodapé ---------- */

.footer { padding: 5rem 0 4rem; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .3rem; }
.footer__mark { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.footer__name { margin: 1rem 0 0; font-family: var(--serif); font-size: 1.6rem; font-weight: 300; }
.footer__meta { margin: 0; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }

/* ---------- Animação de entrada ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .photo img, .quiz__screen { transition: none; animation: none; transform: none; }
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .nav__links li:not(:last-child) { display: none; }

  .hero__grid { grid-template-columns: 1fr; padding-top: 1rem; }
  .hero__photo { max-height: none; aspect-ratio: 4 / 4.2; width: calc(100% - 14px); justify-self: start; }
  .hero__name .it { padding-left: .6em; }

  .invite, .dress, .rsvp, .result, .bar__head, .menu { grid-template-columns: 1fr; }
  .invite__photo, .dress__photo { aspect-ratio: 4 / 4.4; }
  .dress__photo { order: -1; }
  .thanks { grid-column: 1; }
}

@media (max-width: 600px) {
  body { font-size: 14.5px; }
  .eyebrow { font-size: .74rem; letter-spacing: .16em; }
  .quiz { min-height: 0; }
  .quiz__screen[data-screen="start"] { padding: 1.5rem 0; }

  /* Carta resumida no celular */
  .menu-toggle { display: inline-flex; }
  .menu.is-collapsed .menu__list--2 li:nth-child(n+7),
  .menu.is-collapsed .menu__list--2 ~ .menu__note,
  .menu.is-collapsed > div:nth-child(2) { display: none; }
  .countdown { grid-template-columns: repeat(4, auto); justify-content: space-between; }
  .countdown__item { flex-direction: column; gap: .35rem; }
  .details__row { grid-template-columns: 1fr; gap: .6rem; padding: 1.6rem 0; }
  .form { grid-template-columns: 1fr; }
  .result__cols, .menu__list--2 { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; }
}
