/* ==========================================================================
   Diego & Estela — base compartilhada + landing page
   Mobile first. Tablet ≥ 600px. Desktop ≥ 900px.
   ========================================================================== */

:root {
  --cream: #f1ebe3;
  --cream-deep: #e7dfd6;
  --paper: #f6f2ec;
  --sky: #dfd5cc;
  --ink: #23211d;
  --ink-soft: #4a463f;
  --muted: #7b756c;
  --dark: #292720;
  --night: #34312b;
  --hero-bg: #3b3833;
  --line: rgba(35, 33, 29, .16);
  --line-strong: rgba(35, 33, 29, .32);
  --on-dark: #f3eee7;
  --error: #8b3b2b;
  --success: #4d5a3f;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gutter: 24px;
  --max: 1200px;
  --section-y: clamp(72px, 12vw, 160px);
  --header-h: 64px;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, fieldset, legend { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid currentColor; outline-offset: 4px; }
[tabindex="-1"]:focus { outline: none; }
::selection { background: var(--ink); color: var(--cream); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Grão de papel */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Transição entre páginas ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .35s var(--ease) both vt-out; }
::view-transition-new(root) { animation: .7s var(--ease-out) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Tipografia ---------- */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.title-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(46px, 12.5vw, 96px);
  line-height: .98;
  letter-spacing: -.01em;
}
.lead { font-size: 15px; line-height: 1.65; }

/* ---------- Botões ---------- */
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .5s var(--ease), border-color .5s var(--ease), opacity .3s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  background: var(--sweep, var(--cream));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleY(1); transform-origin: top; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .4s var(--ease); flex: none; }
.btn svg.arrow { width: 22px; height: 13px; }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:hover svg.diag { transform: translate(3px, -3px); }

.btn--dark { background: var(--dark); color: var(--on-dark); border: 1px solid var(--dark); --sweep: var(--cream); }
.btn--dark:hover { color: var(--dark); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); --sweep: var(--ink); }
.btn--outline:hover { color: var(--on-dark); }
.btn--light { border: 1px solid rgba(243, 238, 231, .6); color: var(--on-dark); --sweep: var(--on-dark); }
.btn--light:hover { color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }
.btn.is-loading { pointer-events: none; color: transparent !important; }
.btn.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px; height: 18px;
  border: 1px solid var(--on-dark);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.btn--outline.is-loading::after { border-color: var(--ink); border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.link-arrow span { position: relative; padding-bottom: 5px; }
.link-arrow span::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
}
.link-arrow:hover span::after { animation: underline .8s var(--ease); }
@keyframes underline { 0% { transform: scaleX(1); transform-origin: right; } 45% { transform: scaleX(0); transform-origin: right; } 55% { transform: scaleX(0); transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }
.link-arrow svg { width: 24px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow--back:hover svg { transform: translateX(-6px); }

/* ---------- Formulários ---------- */
.field { display: block; }
.field__label {
  display: block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field__label small { font-weight: 400; letter-spacing: .08em; text-transform: none; font-size: 12px; color: var(--muted); }
.input {
  width: 100%;
  appearance: none;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line-strong);
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 0 100% / 0 1px;
  padding: 10px 0 12px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--ink);
  transition: background-size .6s var(--ease), border-color .3s;
}
.input::placeholder { color: rgba(35, 33, 29, .35); }
.input:focus { outline: none; background-size: 100% 1px; }
textarea.input { resize: vertical; min-height: 96px; font-size: 16px; }
.field.has-error .input { border-color: var(--error); }
.field__error { display: none; margin-top: 8px; font-size: 13px; color: var(--error); }
.field.has-error .field__error { display: block; }
.field__hint { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: right; }

/* ---------- Opções (radio em cartões) ---------- */
.choice { display: grid; gap: 10px; margin-top: 6px; }
.choice__opt { position: relative; display: block; cursor: pointer; }
.choice__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__opt > span {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 16px 20px;
  border: 1px solid var(--line-strong);
  font-size: 16px;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.choice__opt svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; flex: none; opacity: .35; transition: opacity .3s; }
.choice__opt:hover > span { border-color: var(--ink); }
.choice__opt input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.choice__opt input:checked + span svg { opacity: 1; }
.choice__opt input:focus-visible + span { outline: 1px solid var(--ink); outline-offset: 3px; }
.choice__sub { display: block; font-size: 13px; opacity: .65; margin-top: 2px; }

/* ---------- Stepper (− 0 +) ---------- */
.stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--line-strong); }
.stepper__btn { width: 44px; height: 44px; display: grid; place-items: center; transition: background-color .3s; }
.stepper__btn:hover { background: rgba(35, 33, 29, .06); }
.stepper__btn:disabled { opacity: .3; cursor: default; background: none; }
.stepper__btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.stepper__value { min-width: 28px; text-align: center; font-family: var(--serif); font-size: 24px; line-height: 1; }

/* ---------- Abre/fecha com altura animada ---------- */
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.collapse__inner { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s .6s; }
.collapse.is-open { grid-template-rows: 1fr; }
.collapse.is-open .collapse__inner { visibility: visible; transition-delay: 0s; }

/* ---------- Check desenhado ---------- */
.check-draw { width: 64px; height: 64px; fill: none; stroke: var(--ink); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.check-draw circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: draw 1.2s var(--ease-out) .1s forwards; }
.check-draw path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease-out) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.form-error { padding: 14px 16px; border-left: 2px solid var(--error); background: rgba(139, 59, 43, .06); color: var(--error); font-size: 14px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: var(--gutter);
  color: var(--ink);
  view-transition-name: header;
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
}
.has-hero .site-header { color: var(--on-dark); }
.site-header.is-solid {
  background: rgba(241, 235, 227, .9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.logo {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: .04em;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
/* Idioma (i18n.js): PT / EN, ao lado do menu */
html.i18n-wait body { visibility: hidden; }
.lang-switch {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 44px;
  margin-left: auto;
  margin-right: 10px;
  padding: 0 6px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: inherit;
}
.lang-switch span { opacity: .5; transition: opacity .3s var(--ease); }
.lang-switch span.is-on { opacity: 1; }
.lang-switch i { font-style: normal; opacity: .35; letter-spacing: 0; }
.lang-switch:hover span { opacity: 1; }
.lang-switch:hover span:not(.is-on) { text-decoration: underline; text-underline-offset: 4px; }

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  display: grid;
  place-content: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform .35s var(--ease), opacity .2s;
}
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav {
  position: fixed;
  inset: 0;
  background: var(--hero-bg);
  color: var(--on-dark);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.nav ul { text-align: center; display: grid; gap: 14px; }
.nav li { overflow: hidden; }
.nav a {
  display: inline-block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 38px;
  line-height: 1.15;
  text-decoration: none;
  transform: translateY(110%);
  transition: transform .7s var(--ease-out);
}
.nav li:nth-child(2) a { transition-delay: .05s; }
.nav li:nth-child(3) a { transition-delay: .1s; }
.nav li:nth-child(4) a { transition-delay: .15s; }
.nav li:nth-child(5) a { transition-delay: .2s; }
.nav [aria-current="page"] { opacity: .55; }
.menu-open .nav { opacity: 1; visibility: visible; }
.menu-open .nav a { transform: none; }
.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   RODAPÉ
   ========================================================================== */
.farewell { background: var(--sky); text-align: center; padding-top: 56px; overflow: hidden; }
.farewell .title-italic { font-size: clamp(40px, 11vw, 96px); position: relative; z-index: 1; }
.farewell img {
  width: 100%;
  min-height: 96px;
  object-fit: cover;
  object-position: 50% 100%;
  margin-top: clamp(-10px, 2vw, 40px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%);
  mask-image: linear-gradient(to bottom, transparent, #000 22%);
}
.site-footer__bar {
  background: var(--night);
  color: rgba(243, 238, 231, .7);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
}

/* ==========================================================================
   MOVIMENTO
   ========================================================================== */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* Palavras que sobem de dentro de uma máscara */
[data-split] .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 .08em .14em 0;
  margin: 0 -.08em -.14em 0;
}
[data-split] .w > span { display: inline-block; }
.js [data-split].reveal { opacity: 1; transform: none; }
.js [data-split] .w > span {
  transform: translateY(108%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 60ms + var(--d, 0s));
}
.js [data-split].is-in .w > span { transform: none; }

/* Imagem revelada de baixo para cima */
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-out) var(--d, 0s); }
.js .reveal-img img { transform: scale(1.18); transition: transform 1.8s var(--ease-out) var(--d, 0s); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-in img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .reveal-img, .js .reveal-img img, .js [data-split] .w > span { opacity: 1; transform: none; clip-path: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ==========================================================================
   LANDING — HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--hero-bg);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0 0 auto 0;
  height: 78%;
  z-index: -1;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: 52% 30%;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 92%);
  animation: hero-zoom 2.6s var(--ease-out) both;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(rgba(0,0,0,.28), transparent);
  z-index: 0;
  pointer-events: none;
}
@keyframes hero-zoom { from { transform: scale(1.08); opacity: 0; } to { transform: none; opacity: 1; } }

.hero__content { position: relative; text-align: center; padding: 0 var(--gutter) 96px; }
.hero__content .eyebrow { font-weight: 400; letter-spacing: .32em; }
.hero__title {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(64px, 19.5vw, 172px);
  line-height: .84;
  margin: 18px 0 20px;
}
.hero__title > span { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title > span > span { display: block; }
.hero__date { font-size: 13px; letter-spacing: .3em; text-transform: uppercase; }
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 28px;
  translate: -50% 0;
  padding: 8px;
  animation: nudge 2.4s ease-in-out infinite;
}
.hero__scroll svg { width: 36px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.2; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.js .hero__content .eyebrow,
.js .hero__date { animation: rise 1.4s var(--ease-out) both; }
.js .hero__content .eyebrow { animation-delay: .35s; }
.js .hero__date { animation-delay: 1s; }
.js .hero__title > span > span { animation: line-up 1.4s var(--ease-out) both; }
.js .hero__title > span:nth-child(1) > span { animation-delay: .5s; }
.js .hero__title > span:nth-child(2) > span { animation-delay: .65s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }

/* ==========================================================================
   LANDING — NOSSA HISTÓRIA
   ========================================================================== */
.story { padding: 64px 0 72px; overflow: hidden; }
.story__inner { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; column-gap: 14px; }
.story__text .title-italic { font-size: clamp(46px, 13vw, 112px); }
.story__text p { margin: 22px 0 30px; font-size: 14px; line-height: 1.6; max-width: 34ch; }
.story__photos { position: relative; aspect-ratio: 46 / 92; margin-right: calc(var(--gutter) * -1 - 6px); }
.photo {
  position: absolute;
  /* moldura de polaroid, igual à da Nossa história */
  padding: 6px 6px 24px;
  background: var(--cream);
  box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 14px 30px -12px rgba(40, 32, 22, .35);
  /* pode ser pega e arrastada (polaroids.js) */
  translate: var(--dx, 0px) var(--dy, 0px);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}
.photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.photo.is-dragging {
  cursor: grabbing;
  scale: 1.035;
  box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 30px 50px -16px rgba(40, 32, 22, .45);
}
html.is-dragging-photo, html.is-dragging-photo * { cursor: grabbing !important; }
.photo--1 { top: 0; right: 0; width: 100%; aspect-ratio: 416 / 486; rotate: -3.2deg; }
.photo--2 { bottom: 0; left: -14%; width: 104%; aspect-ratio: 428 / 304; rotate: 5.6deg; z-index: 1; }
.js .photo.reveal { transform: translateY(48px) rotate(var(--r0, 0deg)); }
.js .photo--1.reveal { --r0: 3deg; }
.js .photo--2.reveal { --r0: -4deg; --d: .15s; }
.js .photo.reveal.is-in { transform: none; }
.js .photo.reveal {
  transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease-out) var(--d, 0s),
    scale .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

/* ==========================================================================
   LANDING — CONTAGEM
   ========================================================================== */
.countdown {
  position: relative;
  background: var(--cream-deep);
  padding: 56px 0 64px;
  overflow: hidden;
  text-align: center;
}
.leaves { position: absolute; pointer-events: none; color: #6f675c; fill: currentColor; opacity: .26; }
.leaves--top { top: -40px; left: -60px; width: min(560px, 90vw); animation: sway 9s ease-in-out infinite alternate; transform-origin: 0 0; }
.leaves--bottom { bottom: -50px; left: -40px; width: min(300px, 50vw); opacity: .18; animation: sway 11s ease-in-out infinite alternate-reverse; }
@keyframes sway { from { transform: rotate(-1.5deg) translateX(-6px); } to { transform: rotate(1.5deg) translateX(6px); } }
.countdown__inner { position: relative; }
.countdown .eyebrow { font-size: 13px; letter-spacing: .3em; }
.countdown__grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 820px; margin: 22px auto 0; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; }
.countdown__num { font-family: var(--serif); font-size: clamp(44px, 13vw, 112px); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.countdown__label { margin-top: 12px; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.countdown__done { font-family: var(--serif); font-style: italic; font-size: clamp(48px, 12vw, 104px); margin-top: 12px; }

/* ==========================================================================
   LANDING — O GRANDE DIA
   ========================================================================== */
.big-day { padding: 64px 0 72px; }
.big-day__inner { max-width: 760px; }
.big-day__date {
  margin-top: 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.big-day__sub { margin-top: 8px; padding-bottom: 26px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-soft); }
.details { display: grid; gap: 28px; margin: 30px 0 36px; }
.details li { display: grid; grid-template-columns: 24px 1fr; gap: 26px; align-items: start; }
.details__icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.2; margin-top: 2px; }
.details h3 { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 6px; }
.details p { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.big-day__actions { display: grid; gap: 12px; }

/* ==========================================================================
   LANDING — PAISAGEM
   ========================================================================== */
.landscape { position: relative; height: clamp(140px, 36vw, 540px); overflow: hidden; background: #8a847a; }
/* sobra 15% em cima e embaixo para o parallax não mostrar o fundo */
.landscape img { position: absolute; top: -15%; left: 0; width: 100%; height: 130%; object-fit: cover; object-position: 50% 45%; }

/* ==========================================================================
   LANDING — RSVP / INFO / PRESENTES
   ========================================================================== */
.rsvp { padding: 64px 0 56px; text-align: center; }
.rsvp__inner { max-width: 760px; }
.rsvp .eyebrow { font-size: 11px; }
.rsvp .title-italic { margin: 22px 0; font-size: clamp(42px, 11.5vw, 96px); }
.rsvp p:not(.eyebrow) { font-size: 14px; line-height: 1.6; max-width: 42ch; margin: 0 auto 28px; }
.rsvp__inner::after { content: ""; display: block; height: 1px; background: var(--line); margin-top: 64px; }

.info { padding: 16px 0 64px; }
.gifts { padding: 32px 0 80px; }
.split .title-italic { font-size: clamp(38px, 10.5vw, 80px); margin-bottom: 26px; }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item h3 { font: inherit; }
.accordion__item button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  text-align: left;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
  transition: transform .45s var(--ease);
}
.plus::after { transform: rotate(90deg); }
[aria-expanded="true"] .plus::after { transform: rotate(0deg); }
.accordion__panel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease); }
.accordion__content { overflow: hidden; }
.js .accordion__panel { grid-template-rows: 0fr; }
.js .accordion__panel .accordion__content { visibility: hidden; transition: visibility 0s .5s; }
.js .accordion__panel.is-open { grid-template-rows: 1fr; }
.js .accordion__panel.is-open .accordion__content { visibility: visible; transition-delay: 0s; }
/* Traje: terno e vestido em aquarela, na mesma escala entre si */
.dresscode { display: flex; align-items: flex-start; gap: 6%; max-width: 420px; padding: 4px 0 36px; }
.dresscode img { display: block; height: auto; }
.dresscode__terno { width: 40%; }
.dresscode__vestido { width: 52%; margin-top: 6%; }
.accordion__content p { padding: 0 32px 24px 0; font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }

.gifts__body p { font-size: 15px; line-height: 1.6; max-width: 40ch; }
.gifts__body .btn { display: flex; width: fit-content; margin: 30px auto 0; }

/* ==========================================================================
   TABLET
   ========================================================================== */
@media (min-width: 600px) {
  :root { --gutter: 40px; }
  .story__inner { column-gap: 32px; }
  .story__photos { margin-right: 0; }
  .story__text p { font-size: 15px; }
  .countdown__label { font-size: 11px; }
  .big-day__actions { grid-template-columns: 1fr 1fr; }
  .site-footer__bar { justify-content: center; gap: 48px; }
}

/* ==========================================================================
   DESKTOP
   ========================================================================== */
@media (min-width: 900px) {
  :root { --gutter: 56px; --header-h: 84px; }
  .lead { font-size: 18px; }

  /* Header */
  .logo { font-size: 28px; }
  .menu-toggle { display: none; }
  .nav { margin-left: auto; }
  .lang-switch { margin: 0 -6px 0 clamp(20px, 3vw, 44px); }
  .nav { position: static; opacity: 1; visibility: visible; background: none; color: inherit; display: block; }
  .nav ul { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
  .nav li { overflow: visible; }
  .nav__home { display: none; }
  .nav a {
    transform: none;
    font-family: var(--sans);
    font-style: normal;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .24em;
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
  }
  .nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease);
  }
  .nav a:hover::after, .nav [aria-current="page"]::after { transform: scaleX(1); }
  .nav [aria-current="page"] { opacity: 1; }
  .nav__cta a { padding: 12px 20px; border: 1px solid currentColor; transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s; }
  .nav__cta a::after { display: none; }
  .nav__cta a:hover, .nav__cta a[aria-current="page"] { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
  .has-hero .site-header:not(.is-solid) .nav__cta a:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }

  /* Hero */
  .hero { justify-content: center; }
  .hero__media { inset: 0 0 0 auto; width: 64%; height: 100%; }
  .hero__media img {
    height: 112%;
    object-position: 50% 35%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 38%);
    mask-image: linear-gradient(to right, transparent 0%, #000 38%);
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 30%;
    background: linear-gradient(transparent, rgba(30, 28, 24, .45));
    z-index: -1;
    pointer-events: none;
  }
  .hero__content {
    width: 100%;
    max-width: calc(var(--max) + var(--gutter) * 2);
    margin-inline: auto;
    padding: var(--header-h) var(--gutter) 0;
    text-align: left;
  }
  .hero__title { font-size: clamp(100px, 11vw, 180px); margin: 26px 0 30px; }
  .hero__content .eyebrow { font-size: 13px; }
  .hero__date { font-size: 14px; }
  .hero__scroll { bottom: 36px; }

  /* História */
  .story { padding: var(--section-y) 0; }
  .story__inner { grid-template-columns: 5fr 6fr; column-gap: clamp(48px, 7vw, 120px); }
  .story__text p { font-size: 18px; margin: 36px 0 44px; }
  .story__photos { aspect-ratio: 1 / 1; max-width: 620px; justify-self: end; width: 100%; }
  .photo--1 { width: 64%; right: 4%; top: 0; }
  .photo--2 { width: 62%; left: 0; bottom: 2%; }
  .photo { padding: 11px 11px 46px; }

  /* Contagem */
  .countdown { padding: 110px 0 120px; }
  .countdown .eyebrow { font-size: 14px; }
  .countdown__grid { margin-top: 36px; }
  .countdown__label { font-size: 12px; margin-top: 18px; }

  /* Grande dia */
  .big-day { padding: var(--section-y) 0; }
  .big-day__inner {
    max-width: calc(var(--max) + var(--gutter) * 2);
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(48px, 8vw, 140px);
    align-items: start;
  }
  .big-day__date { font-size: 16px; margin-top: 26px; }
  .big-day__sub { border-bottom: 0; padding-bottom: 0; font-size: 17px; }
  .big-day__body { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 18px; }
  .details { gap: 36px; margin: 34px 0 44px; }
  .details h3 { font-size: 14px; }
  .details p { font-size: 17px; }

  /* RSVP */
  .rsvp { padding: var(--section-y) 0 72px; }
  .rsvp .eyebrow { font-size: 12px; }
  .rsvp p:not(.eyebrow) { font-size: 17px; margin-bottom: 40px; }
  .rsvp .btn { min-width: 320px; }
  .rsvp__inner::after { margin-top: 110px; }

  /* Info + Presentes */
  .split { display: grid; grid-template-columns: 5fr 7fr; column-gap: clamp(48px, 8vw, 140px); align-items: start; }
  .split .title-italic { margin-bottom: 0; }
  .info { padding: 40px 0 72px; }
  .gifts { padding: 72px 0 var(--section-y); }
  .accordion__item button { padding: 26px 0; font-size: 13px; }
  .accordion__content p { font-size: 17px; }
  .gifts__body { border-top: 1px solid var(--line); padding-top: 28px; }
  .gifts__body p { font-size: 18px; }
  .gifts__body .btn { margin: 36px 0 0; }

  /* Rodapé */
  .farewell { padding-top: 96px; }
  .site-footer__bar { font-size: 12px; justify-content: space-between; padding-inline: var(--gutter); }
}

@media (min-width: 1440px) {
  .hero__media { width: 62%; }
}
