: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 {
  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; }
}
