:root {
  --ivory: #f4efe6;
  --paper: #fbf8f2;
  --stone: #d9cdbd;
  --sand: #c4b09a;
  --ink: #28241f;
  --muted: #756b60;
  --green: #263a31;
  --green-deep: #17271f;
  --espresso: #2a1d19;
  --wine: #603d3b;
  --cream: #eee5d7;
  --line: rgba(40,36,31,.18);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--stone); }

.nav-shell {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  color: #fff;
  mix-blend-mode: difference;
}
.brand {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: .08em;
}
.brand span { font-style: italic; }
.nav-links {
  display: flex;
  gap: 24px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.nav-links a { text-decoration: none; opacity: .88; }
.nav-links a:hover { opacity: 1; }
.menu-toggle { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.65), transparent 28%),
    linear-gradient(135deg, #d7c9b8 0%, #bcae9e 38%, #8c8175 100%);
  color: white;
}
.hero::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to top, rgba(25,23,20,.58), rgba(25,23,20,.06) 58%);
  pointer-events:none;
}
.hero-photo {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:0;
}
.photo-placeholder {
  border: 1px solid rgba(255,255,255,.28);
}
.photo-placeholder span {
  position: relative;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.5);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: rgba(30,27,23,.14);
  backdrop-filter: blur(4px);
}
.arch {
  position:absolute;
  border: 1px solid rgba(255,255,255,.22);
  border-bottom:0;
  border-radius: 52% 52% 0 0;
  z-index:1;
}
.arch-one { width: 37vw; height: 64vh; right: 7vw; bottom: 0; }
.arch-two { width: 28vw; height: 52vh; right: 11.5vw; bottom: 0; }
.hero-copy {
  position:relative;
  z-index:3;
  width:100%;
  padding: 0 8vw 12vh;
}
.eyebrow {
  margin:0 0 16px;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-size:10px;
  font-weight:400;
}
.hero h1, h2, .footer-names {
  font-family:var(--serif);
  font-weight:400;
  margin:0;
}
.hero h1 {
  font-size:clamp(62px, 10.5vw, 150px);
  line-height:.83;
  letter-spacing:-.045em;
}
.hero h1 em { font-weight:400; }
.hero-date {
  font-family:var(--serif);
  font-size:24px;
  letter-spacing:.22em;
  margin:34px 0 6px;
}
.hero-line {
  margin: 8px 0 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: .01em;
}
.scroll-cue {
  position:absolute;
  z-index:4;
  bottom:33px;
  right:5vw;
  display:flex;
  align-items:center;
  gap:12px;
  color:#fff;
  text-decoration:none;
  font-size:9px;
  letter-spacing:.18em;
  text-transform:uppercase;
}
.scroll-cue i { display:block; height:1px; width:48px; background:#fff; }

.countdown-section {
  padding: 110px 7vw 120px;
  text-align:center;
  background: var(--paper);
}
.countdown {
  max-width:1050px;
  margin:48px auto 0;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.countdown div { position:relative; }
.countdown div:not(:last-child)::after {
  content:"";
  position:absolute;
  right:0;
  top:12%;
  height:72%;
  width:1px;
  background:var(--line);
}
.countdown strong {
  display:block;
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(52px,7.4vw,105px);
  line-height:1;
}
.countdown span {
  display:block;
  margin-top:13px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.2em;
}

.section-light { background:var(--ivory); }
.story { padding: 140px 8vw; }
.story-grid {
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns: .82fr 1.18fr;
  gap:9vw;
  align-items:center;
}
.story-copy { max-width:470px; }
.story-copy h2, .section-heading h2, .info-intro h2, .message-copy h2, .planner h2 {
  font-size:clamp(48px,6vw,86px);
  line-height:.9;
  letter-spacing:-.025em;
  margin-bottom:35px;
}
.story-copy p:not(.eyebrow) { font-size:14px; color:#514a43; }
.editorial-photo {
  min-height:650px;
  background:
    linear-gradient(140deg, rgba(255,255,255,.2), rgba(39,34,29,.3)),
    linear-gradient(150deg,#cbb9a6,#91877b);
  display:flex;align-items:center;justify-content:center;color:white;
}

.venue { position:relative; min-height:830px; overflow:hidden; }
.ceremony {
  display:flex;
  align-items:center;
  padding:130px 10vw;
  background:#ddd2c4;
}
.venue-ornament {
  position:absolute;
  right:5vw;
  bottom:-25px;
  width:min(48vw,590px);
  opacity:.34;
}
.venue-ornament svg { width:100%; fill:none; stroke:#6b5f53; stroke-width:1; }
.venue-copy { position:relative; z-index:2; max-width:650px; }
.venue-copy h2 {
  font-size:clamp(58px,8vw,112px);
  line-height:.82;
  letter-spacing:-.04em;
}
.venue-copy h2 span { font-size:.62em; font-style:italic; }
.venue-meta {
  display:flex;
  gap:55px;
  margin:55px 0 35px;
  padding-top:25px;
  border-top:1px solid rgba(40,36,31,.24);
}
.venue-meta div { display:flex; flex-direction:column; gap:4px; }
.venue-meta small, .info-grid small {
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:9px;
}
.venue-meta strong { font-family:var(--serif); font-size:23px; font-weight:500; }
.address { font-size:13px; margin:0 0 28px; }
.text-link {
  display:inline-flex;
  align-items:center;
  gap:15px;
  text-decoration:none;
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:10px;
  padding-bottom:8px;
  border-bottom:1px solid currentColor;
}
.text-link span { font-size:16px; }


.reception {
  background:
    radial-gradient(circle at 85% 17%, rgba(130,108,75,.17), transparent 23%),
    var(--green-deep);
  color:var(--cream);
  display:grid;
  grid-template-columns: 1fr .8fr;
  gap:8vw;
  align-items:center;
  padding:140px 8vw;
}
.reception .venue-copy { max-width:700px; }
.reception-intro { max-width:430px; color:#d2c7b9; margin:45px 0 25px; }
.rosewood-photo {
  min-height:650px;
  background:
    linear-gradient(160deg,rgba(98,61,57,.3),rgba(18,29,23,.5)),
    linear-gradient(145deg,#5a4a3c,#243b30 58%,#171b18);
  display:flex; align-items:center; justify-content:center;
}
.light-link { color:var(--cream); }
.botanical-shadow {
  position:absolute;
  width:520px;height:520px;
  left:-210px;bottom:-130px;
  border-radius: 47% 53% 60% 40%;
  border:1px solid rgba(222,211,193,.12);
  box-shadow: 120px -90px 0 -118px rgba(222,211,193,.18),
              190px -10px 0 -187px rgba(222,211,193,.2);
  transform:rotate(24deg);
}

.dress-code {
  background:var(--espresso);
  color:var(--cream);
  text-align:center;
  padding:125px 8vw;
}
.dress-code h2 {
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(75px,12vw,175px);
  line-height:.8;
  margin:20px 0 38px;
}
.dress-code p:last-child { font-size:13px;color:#cdbfb1; }

.rsvp {
  padding:140px 8vw;
  background:var(--paper);
}
.section-heading { max-width:750px; margin:0 auto 70px; text-align:center; }
.section-heading p:last-child { font-size:14px;color:var(--muted); }
.wedding-form {
  max-width:720px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.field { display:flex; flex-direction:column; gap:8px; }
.field.full { grid-column:1/-1; }
.field label, fieldset legend {
  font-size:9px;
  letter-spacing:.17em;
  text-transform:uppercase;
  font-weight:400;
}
.field label small { text-transform:none;letter-spacing:0; }
input[type="text"], textarea {
  width:100%;
  border:0;
  border-bottom:1px solid #a89d91;
  background:transparent;
  border-radius:0;
  padding:12px 0;
  color:var(--ink);
  outline:none;
}
input[type="text"]:focus, textarea:focus { border-bottom-color:var(--ink); }
textarea { resize:vertical; }
.attendance {
  border:0;
  padding:0;
  margin:0;
}
.attendance legend { margin-bottom:15px; }
.attendance label {
  display:flex;
  align-items:center;
  gap:10px;
  margin:7px 0;
  text-transform:none;
  letter-spacing:0;
  font-size:13px;
}
.primary-button, .outline-button {
  grid-column:1/-1;
  margin-top:20px;
  padding:18px 27px;
  border:1px solid var(--ink);
  background:var(--ink);
  color:white;
  text-transform:uppercase;
  letter-spacing:.17em;
  font-size:9px;
  cursor:pointer;
}
.primary-button:hover { opacity:.88; }
.technical-note {
  max-width:720px;
  margin:24px auto 0;
  font-size:10px;
  color:#958a7e;
  text-align:center;
}

.gifts {
  min-height:640px;
  padding:130px 8vw;
  display:flex;
  align-items:center;
  background:
    linear-gradient(120deg,rgba(244,239,230,.96),rgba(217,205,189,.84)),
    #d8cabc;
}
.gifts-inner { max-width:800px;margin:auto;text-align:center; }
.gifts h2 {
  font-family:var(--serif);
  font-size:clamp(52px,7vw,95px);
  font-weight:400;
  line-height:.9;
  margin:22px 0 30px;
}
.gifts p:not(.eyebrow) { max-width:560px;margin:0 auto 40px;color:#5f554c; }
.outline-button { background:transparent;color:var(--ink); width:auto; }
.outline-button:disabled { opacity:.55;cursor:default; }

.info-section {
  background:#32382f;
  color:var(--cream);
  padding:130px 8vw;
}
.info-intro { max-width:1200px;margin:0 auto 65px; }
.info-grid {
  max-width:1200px;
  margin:auto;
  border-top:1px solid rgba(238,229,215,.26);
  display:grid;
  grid-template-columns:repeat(5,1fr);
}
.info-grid article {
  min-height:180px;
  padding:27px 25px 25px 0;
  border-right:1px solid rgba(238,229,215,.2);
}
.info-grid article:not(:first-child) { padding-left:25px; }
.info-grid article:last-child { border-right:0; }
.info-grid small { display:block;color:#b9aea0;margin-bottom:24px; }
.info-grid strong {
  font-family:var(--serif);
  font-size:23px;
  font-weight:400;
  line-height:1.15;
}

.message-section {
  background:linear-gradient(145deg,var(--green-deep),#1f261f 50%,#382622);
  color:var(--cream);
  padding:140px 8vw;
}
.message-layout {
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:9vw;
}
.message-copy p:last-child { color:#c8bcad;max-width:380px; }
.dark-form input[type="text"], .dark-form textarea {
  color:var(--cream);
  border-bottom-color:rgba(238,229,215,.44);
}
.dark-form input:focus, .dark-form textarea:focus { border-bottom-color:var(--cream); }
.light-button { background:var(--cream);color:var(--green-deep);border-color:var(--cream); }

.planner {
  background:#ede3d6;
  padding:130px 8vw;
}
.planner-card {
  max-width:780px;
  margin:auto;
  text-align:center;
}
.planner-card > p:not(.eyebrow):not(.planner-name) { color:#665d53; }
.planner-contacts {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  max-width:720px;
  margin:42px auto 0;
}
.planner-contact {
  padding-top:26px;
  border-top:1px solid rgba(40,36,31,.18);
}
.planner-name {
  font-family:var(--serif);
  font-size:25px;
  margin:0 0 12px;
}
.muted-link { color:#86786b; }

footer {
  min-height:580px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 8vw;
  background:#181915;
  color:#e8dfd2;
}
.footer-names { font-size:clamp(55px,8vw,110px);line-height:1; }
footer p { margin:5px 0;font-size:11px;letter-spacing:.13em; }
footer .footer-names span { font-style:italic; }
footer i { width:1px;height:65px;background:#746c61;margin:35px 0; }
.footer-last { font-family:var(--serif);font-size:20px;letter-spacing:0; }

.reveal.pending-reveal {
  opacity:0;
  transform:translateY(22px);
  transition: opacity .9s ease, transform .9s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }

@media (max-width: 850px) {
  .nav-shell { height:66px;padding:0 22px;mix-blend-mode:normal;color:var(--ink);background:rgba(244,239,230,.88);backdrop-filter:blur(12px); }
  .brand { font-size:22px; }
  .menu-toggle {
    display:flex;
    width:36px;height:36px;
    padding:0;border:0;background:transparent;
    flex-direction:column;justify-content:center;gap:6px;
  }
  .menu-toggle span { display:block;width:22px;height:1px;background:currentColor;margin-left:auto;transition:.3s; }
  .nav-links {
    position:absolute;
    top:66px;left:0;right:0;
    display:none;
    flex-direction:column;
    gap:0;
    background:rgba(244,239,230,.98);
    color:var(--ink);
    padding:12px 22px 25px;
  }
  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 0;border-bottom:1px solid rgba(40,36,31,.09); }
  .hero { min-height:100svh; }
  .hero-copy { padding:0 24px 14vh; }
  .hero h1 { font-size:64px; }
  .hero-date { font-size:20px; }
  .hero-line { max-width:320px; font-size:20px; }
  .arch-one { width:72vw;height:52vh;right:-9vw; }
  .arch-two { width:55vw;height:43vh;right:-1vw; }
  .scroll-cue { display:none; }

  .countdown-section { padding:90px 20px; }
  .countdown { grid-template-columns:1fr 1fr; gap:38px 0; }
  .countdown div:nth-child(2)::after { display:none; }
  .countdown div:not(:last-child)::after { height:65%; }
  .countdown strong { font-size:58px; }

  .story { padding:100px 22px; }
  .story-grid { grid-template-columns:1fr;gap:55px; }
  .story-copy h2, .section-heading h2, .info-intro h2, .message-copy h2, .planner h2 { font-size:52px; }
  .editorial-photo { min-height:520px; }

  .venue { min-height:auto; }
  .ceremony { padding:110px 24px 130px; }
  .venue-copy h2 { font-size:64px; }
  .venue-ornament { width:96vw;right:-38vw;opacity:.25; }
  .venue-meta { gap:30px; }
  .venue-meta strong { font-size:20px; }

  .reception { grid-template-columns:1fr;padding:110px 24px;gap:65px; }
  .rosewood-photo { min-height:520px;order:-1; }
  .botanical-shadow { display:none; }

  .dress-code { padding:100px 20px; }
  .dress-code h2 { font-size:88px; }

  .rsvp { padding:100px 22px; }
  .section-heading { margin-bottom:55px; }
  .wedding-form { grid-template-columns:1fr; }
  .field.full, .primary-button { grid-column:1; }

  .gifts { padding:100px 22px;min-height:560px; }
  .gifts h2 { font-size:54px; }

  .info-section { padding:100px 22px; }
  .info-grid { grid-template-columns:1fr 1fr; }
  .info-grid article, .info-grid article:not(:first-child) {
    min-height:155px;padding:24px 18px 20px 0;border-bottom:1px solid rgba(238,229,215,.2);
  }
  .info-grid article:nth-child(even) { padding-left:18px;border-right:0; }
  .info-grid article:last-child { border-right:1px solid rgba(238,229,215,.2); }

  .message-section { padding:100px 22px; }
  .message-layout { grid-template-columns:1fr;gap:60px; }
  .planner { padding:100px 22px; }
  .planner-contacts { grid-template-columns:1fr; gap:28px; }
  footer { min-height:520px;padding:80px 20px; }
  .footer-names { font-size:58px; }
}

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


/* V5 */
.lang-switch{display:inline-flex;align-items:center;gap:7px;margin-left:2px;padding-left:14px;border-left:1px solid currentColor}
.lang-switch i{width:1px;height:12px;background:currentColor;opacity:.35}
.lang-btn{appearance:none;border:0;padding:0;background:transparent;color:inherit;font:inherit;font-size:10px;letter-spacing:.13em;cursor:pointer;opacity:.48}
.lang-btn.active{opacity:1;text-decoration:underline;text-underline-offset:4px}

.travel-section{padding:140px 8vw;background:#e8ded1;color:var(--ink)}
.travel-heading{max-width:820px;margin:0 auto 75px;text-align:center}
.travel-heading h2{font-family:var(--serif);font-weight:400;font-size:clamp(54px,7vw,96px);line-height:.88;letter-spacing:-.03em;margin:0 0 32px}
.travel-heading>p:last-child{max-width:650px;margin:0 auto;color:#665c52;font-size:13px}
.hotel-grid{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(40,36,31,.23);border-bottom:1px solid rgba(40,36,31,.23)}
.hotel-card{position:relative;min-height:455px;padding:34px 35px 38px;display:flex;flex-direction:column;border-right:1px solid rgba(40,36,31,.20)}
.hotel-card:last-child{border-right:0}.featured-hotel{background:rgba(255,255,255,.20)}
.hotel-number{font-family:var(--serif);font-size:17px;color:#75695e;margin-bottom:58px}
.hotel-kicker{margin:0 0 13px;text-transform:uppercase;letter-spacing:.17em;font-size:9px}
.hotel-card h3{font-family:var(--serif);font-size:38px;font-weight:400;line-height:.95;margin:0 0 16px}
.hotel-address{margin:0 0 30px;font-size:10px;text-transform:uppercase;letter-spacing:.10em;color:#776c61}
.hotel-description{margin:0 0 35px;color:#594f47;font-size:12px;line-height:1.7}
.hotel-link{margin-top:auto;display:inline-flex;align-items:center;gap:12px;width:max-content;color:inherit;text-decoration:none;text-transform:uppercase;letter-spacing:.15em;font-size:9px;padding-bottom:7px;border-bottom:1px solid currentColor}
.hotel-note{max-width:760px;margin:34px auto 0;text-align:center;font-size:9px;line-height:1.7;color:#817568}

@media (max-width:1100px) and (min-width:851px){.nav-links{gap:14px;font-size:9px}.lang-switch{padding-left:9px}}
@media (max-width:850px){
  .lang-switch{margin:14px 0 0;padding:14px 0 0;border-left:0;border-top:1px solid rgba(40,36,31,.12);width:100%}
  .travel-section{padding:100px 22px}.travel-heading{margin-bottom:55px}.travel-heading h2{font-size:54px}
  .hotel-grid{grid-template-columns:1fr;border-bottom:0}.hotel-card{min-height:auto;padding:32px 0 38px;border-right:0;border-bottom:1px solid rgba(40,36,31,.20)}
  .featured-hotel{background:transparent}.hotel-number{margin-bottom:35px}.hotel-card h3{font-size:40px}
}


/* V7 — Dress code detalhado */
.dress-inner { max-width:1050px; margin:0 auto; }
.dress-intro { max-width:620px; margin:0 auto 55px !important; }
.dress-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1px;
  max-width:900px;
  margin:0 auto;
  background:rgba(238,229,215,.18);
  border:1px solid rgba(238,229,215,.20);
}
.dress-card {
  text-align:left;
  padding:38px 42px;
  background:var(--espresso);
}
.dress-label {
  margin:0 0 18px !important;
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:9px !important;
  color:#dfd2c3 !important;
}
.dress-card p:last-child {
  margin:0;
  color:#cdbfb1;
  font-size:12px;
  line-height:1.8;
}

/* V7 — RSVP simples e sem redirecionamento */
.hidden-field { position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.attendance-option { padding:13px 0; border-bottom:1px solid rgba(40,36,31,.12); }
#attending-details[hidden], .rsvp-success[hidden], .form-error[hidden] { display:none !important; }
.form-error {
  grid-column:1/-1;
  margin:2px 0 0;
  color:#8b3731;
  font-size:11px;
  text-align:center;
}
.rsvp-success {
  max-width:760px;
  margin:10px auto 0;
  padding:58px 45px;
  border:1px solid rgba(40,36,31,.18);
  text-align:center;
  background:rgba(255,255,255,.28);
}
.rsvp-success h3 {
  margin:0 0 22px;
  font-family:var(--serif);
  font-size:clamp(46px,6vw,72px);
  font-weight:400;
  line-height:.9;
}
.rsvp-success > p:not(.eyebrow):not(.rsvp-success-note) {
  max-width:560px;
  margin:0 auto 22px;
  color:var(--muted);
  font-size:13px;
}
.rsvp-success-note { margin:0; font-size:10px; color:#8a8075; }
#rsvp-submit[disabled] { opacity:.55; cursor:wait; }

@media (max-width:850px) {
  .dress-grid { grid-template-columns:1fr; }
  .dress-card { padding:30px 24px; }
  .rsvp-success { padding:45px 22px; }
}


/* V8 — monograma e listas de presentes */
.gift-list-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gift-card {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid rgba(40,36,31,.15);
  background: rgba(255,255,255,.42);
  min-height: 170px;
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.gift-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40,36,31,.32);
  background: rgba(255,255,255,.58);
}
.gift-card-label {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 9px;
  color: #7b6f63;
}
.gift-card strong {
  font-family: var(--serif);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 400;
  line-height: .95;
  margin: 18px 0 26px;
}
.gift-card-link {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: 9px;
}

@media (max-width:850px) {
.gift-list-grid { grid-template-columns: 1fr; gap: 14px; }
  .gift-card { min-height: 150px; padding: 22px 20px; }
}


/* V10 — fotografias reais */
.hero-photo {
  overflow:hidden;
}
.hero-photo img {
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center center;
}
.hero::after {
  z-index:2;
  background:
    linear-gradient(to top, rgba(18,17,15,.70) 0%, rgba(18,17,15,.30) 42%, rgba(18,17,15,.08) 72%),
    linear-gradient(to right, rgba(18,17,15,.23), transparent 58%);
}
.editorial-photo,
.rosewood-photo {
  overflow:hidden;
  position:relative;
}
.editorial-photo img,
.rosewood-photo img {
  width:100%;
  height:100%;
  min-height:inherit;
  display:block;
  object-fit:cover;
}
.editorial-photo img {
  object-position:center 48%;
}
.rosewood-photo img {
  object-position:center center;
}

@media (max-width:850px) {
  .hero-photo img {
    object-position:center center;
  }
  .editorial-photo img {
    object-position:center 48%;
  }
  .rosewood-photo img {
    object-position:center center;
  }
}

/* V12 — monograma Ex-Libris apenas no encerramento do site */
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.footer-monogram {
  width: clamp(108px, 10vw, 150px);
  margin: 0 0 28px;
  color: #e8dfd2;
}
.footer-monogram svg {
  display: block;
  width: 100%;
  height: auto;
  fill: currentColor;
}
@media (max-width:850px) {
  .footer-monogram {
    width: 108px;
    margin-bottom: 24px;
  }
}

.gift-card:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }

/* Formulários e navegação acessível. */
[hidden] { display: none !important; }
section[id], main[id] { scroll-margin-top: 90px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.primary-button:disabled { opacity: .55; cursor: wait; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; background: var(--paper); color: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.dark-form .form-error { color: #ffe0d4; }
.message-success { align-self: center; text-align: center; padding: 40px 24px; border: 1px solid rgba(238,229,215,.35); }
.message-success h3 { font-family: var(--serif); font-size: clamp(38px, 5vw, 56px); font-weight: 400; line-height: 1.1; margin: 0 0 22px; }
.message-success p { font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.pending-reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
  .gift-card { transition: none; }
}

/* Refinamento visual: mesma identidade, proporções e acabamentos mais leves. */
body { -webkit-font-smoothing: antialiased; }
.nav-shell {
  color: var(--ink);
  background: rgba(251,248,242,.94);
  border-bottom: 1px solid rgba(40,36,31,.09);
  mix-blend-mode: normal;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-links { align-items: center; }
.nav-links a { text-underline-offset: 7px; text-decoration-thickness: 1px; }
.nav-links a:hover { text-decoration: underline; }
.lang-btn { opacity: .72; }
.eyebrow { letter-spacing: .23em; }
.hero h1 { line-height: .94; letter-spacing: -.035em; }
.hero-date { font-size: 22px; letter-spacing: .19em; margin-top: 28px; }
.hero-line { line-height: 1.5; }
.countdown { max-width: 940px; }
.countdown strong { font-variant-numeric: tabular-nums; }
.story-copy h2, .section-heading h2, .info-intro h2,
.message-copy h2, .planner h2, .travel-heading h2 {
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.story-copy p:not(.eyebrow), .section-heading p:last-child,
.message-copy p:last-child, .travel-heading > p:last-child,
.planner-card > p:not(.eyebrow) { line-height: 1.9; }
.venue-copy h2 { line-height: .96; }
.venue-meta { border-top-color: rgba(40,36,31,.18); }
.text-link { font-size: 10px; gap: 12px; line-height: 1.6; }
.text-link span { font-size: inherit; }
.text-link span:last-child:not(:first-child) { font-size: 15px; }
.muted-link { color: #62564b; }
.section-heading { margin-bottom: 58px; }
.wedding-form { gap: 30px; }
.field label, fieldset legend { font-size: 10px; letter-spacing: .14em; }
.field label small { color: var(--muted); }
input[type="text"], textarea {
  padding: 14px 10px;
  font-size: 16px;
  line-height: 1.6;
  background: rgba(255,255,255,.23);
  border-bottom-color: rgba(40,36,31,.3);
}
input[type="text"]::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
.attendance-option { padding: 15px 0; }
.attendance .attendance-option { font-size: 13px; letter-spacing: 0; line-height: 1.7; }
.attendance-option input { width: 17px; height: 17px; accent-color: var(--green); flex-shrink: 0; }
.primary-button, .outline-button {
  min-height: 54px;
  letter-spacing: .16em;
  font-size: 10px;
  background: var(--green);
  border-color: var(--green);
  transition: background-color .2s ease, border-color .2s ease;
}
.primary-button:hover:not(:disabled) { opacity: 1; background: var(--green-deep); border-color: var(--green-deep); }
.outline-button { background: transparent; color: var(--green); }
.light-button { background: var(--cream); border-color: var(--cream); color: var(--green-deep); }
.light-button:hover:not(:disabled) { background: var(--paper); border-color: var(--paper); }
.dark-form input[type="text"], .dark-form textarea { background: rgba(238,229,215,.035); }
.gifts-inner { width: 100%; max-width: 940px; }
.gifts h2 {
  max-width: 18ch;
  margin: 22px auto 28px;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.gifts p:not(.eyebrow) { font-size: 14px; line-height: 1.9; margin-bottom: 46px; }
.gift-list-grid { max-width: 940px; gap: 20px; }
.gift-card {
  min-height: 210px;
  padding: 28px;
  background: rgba(251,248,242,.64);
  border-color: rgba(40,36,31,.16);
}
.gift-card strong { font-size: clamp(32px, 3vw, 42px); line-height: 1.1; margin: 24px 0; }
.gift-card-label { color: #65594e; }
.gift-card-link { padding-top: 17px; border-top: 1px solid rgba(40,36,31,.12); line-height: 1.6; letter-spacing: .12em; }
.gift-card:hover { background: var(--paper); border-color: rgba(40,36,31,.32); }
.hotel-card h3 { line-height: 1.08; text-wrap: balance; }
.hotel-number { margin-bottom: 42px; }
.hotel-description { font-size: 13px; line-height: 1.85; }
.hotel-note { font-size: 11px; color: #665c52; line-height: 1.85; }
.rsvp-success, .message-success { scroll-margin-top: 100px; }
.rsvp-success h3 { line-height: 1.05; }
.rsvp-success-note { color: #665c52; font-size: 12px; line-height: 1.8; }

@media (max-width: 850px) {
  .nav-links { align-items: stretch; }
  .menu-toggle { width: 44px; height: 44px; }
  .nav-links .lang-btn { min-height: 36px; min-width: 36px; }
  .hero-copy { padding-bottom: 11vh; }
  .hero h1 { font-size: clamp(54px, 11vw, 78px); }
  .hero-date { font-size: 19px; }
  .hero-line { font-size: 20px; }
  .story-copy h2, .section-heading h2, .info-intro h2,
  .message-copy h2, .planner h2, .travel-heading h2 { font-size: clamp(42px, 9vw, 60px); }
  .venue-copy h2 { font-size: clamp(48px, 10vw, 72px); }
  .venue-meta { flex-wrap: wrap; gap: 24px 30px; }
  .section-heading, .travel-heading { margin-bottom: 42px; }
  .gifts h2 { font-size: clamp(42px, 9vw, 60px); }
  .gift-list-grid { gap: 16px; }
  .gift-card { min-height: 180px; padding: 24px; }
  .gift-card strong { font-size: 36px; margin: 18px 0; }
  .hotel-number { margin-bottom: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .primary-button, .outline-button { transition: none; }
  .gift-card:hover { transform: none; }
}
