/* ===================== TOKENS ===================== */
:root {
  --cream: #FCFAF4;
  --beige: #F4EFE4;
  --surface: #FFFDF9;
  --text-primary: #33291E;
  --text-secondary: #574636;
  --text-tertiary: #8B7E6C;
  --olive: #5B6A46;
  --sage: #8E9C7C;
  --sage-light: #BAC6A6;
  --terracota: #BE7F55;
  --border: #EDE6D7;
  --chip-green-bg: #EEF0E7;
  --chip-green-fg: #5B6A46;
  --chip-terracota-bg: #F3E7DE;
  --chip-terracota-fg: #BE7F55;
  --chip-purple-bg: #EDE9F1;
  --chip-purple-fg: #7A6EA0;
  --stripe-a: #F4ECDD;
  --stripe-b: #EDE4D3;
  --stripe-green-a: #E8EDE0;
  --stripe-green-b: #DFE6D4;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text-primary);
  font-family: 'Hanken Grotesk', sans-serif;
}
::selection { background: var(--sage-light); color: var(--text-primary); }
img { max-width: 100%; display: block; }
a { color: inherit; }

.section-max { max-width: 1180px; margin: 0 auto; padding: 64px 40px 0; }
.faq-max { max-width: 820px; margin: 0 auto; padding: 64px 40px 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 600;
}
.eyebrow-light { color: var(--sage-light); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 46px;
  letter-spacing: -0.015em;
  margin: 16px 0 0;
}
.section-title-light { color: var(--cream); }
.section-sub { margin: 14px auto 0; font-size: 16px; color: var(--text-secondary); max-width: 460px; }
.section-sub-wide { max-width: 520px; line-height: 1.6; }

.placeholder-img {
  background: repeating-linear-gradient(135deg, var(--stripe-a), var(--stripe-a) 12px, var(--stripe-b) 12px, var(--stripe-b) 24px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.placeholder-img span {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A2937C;
}
.placeholder-img-green {
  background: repeating-linear-gradient(135deg, var(--stripe-green-a), var(--stripe-green-a) 12px, var(--stripe-green-b) 12px, var(--stripe-green-b) 24px);
}
.placeholder-img-green span { color: #9AA88A; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--olive); color: var(--cream); font-size: 14px; padding: 11px 22px; }
.btn-lg { font-size: 16px; padding: 15px 32px; }
.btn-outline {
  background: transparent;
  color: var(--olive);
  font-size: 16px;
  padding: 14px 30px;
  border: 1.5px solid var(--olive);
}
.btn-sm { font-size: 14px; padding: 10px 18px; border: 1.5px solid var(--olive); background: transparent; color: var(--olive); }
.btn-terracota { background: var(--terracota); color: var(--cream); font-size: 14px; padding: 12px 0; width: 100%; }

/* ===================== NAV ===================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 250, 244, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.02em;
}
.accent, .amp { color: var(--sage); }
.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}
.nav-cta-mobile { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
}

/* ===================== HERO ===================== */
.hero { padding-top: 56px; padding-bottom: 32px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 22px 0 0;
}
.amp { font-weight: 400; font-size: 64px; }
.hero-text {
  margin: 26px 0 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 420px;
}
.hero-meta {
  display: flex;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
}
.hero-meta-item { font-size: 16px; color: var(--text-primary); font-weight: 600; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--terracota); display: inline-block; }
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-photo-wrap { position: relative; }
.hero-photo { aspect-ratio: 4/5; border-radius: 22px; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.save-the-date {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(51, 41, 30, 0.08);
}
.std-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage); font-weight: 600; }
.std-date { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 40px; line-height: 1; color: var(--olive); margin-top: 4px; }

.countdown {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.countdown-label { font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 600; }
.countdown-items { display: flex; gap: 36px; }
.countdown-item { text-align: center; }
.countdown-num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 44px; line-height: 1; color: var(--text-primary); }
.countdown-num-accent { color: var(--sage); }
.countdown-unit { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-tertiary); margin-top: 4px; }

/* ===================== CHIPS ===================== */
.chip { font-size: 13px; font-weight: 600; padding: 8px 15px; border-radius: 999px; }
.chip-green { background: var(--chip-green-bg); color: var(--chip-green-fg); }
.chip-terracota { background: var(--chip-terracota-bg); color: var(--chip-terracota-fg); }
.chip-purple { background: var(--chip-purple-bg); color: var(--chip-purple-fg); }
.chip-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 11px; }

/* ===================== LOCAL ===================== */
.local-section { background: var(--beige); margin-top: 64px; padding: 60px 0; }
.local-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch; }
.map-card { border: 1px solid var(--border); border-radius: 22px; overflow: hidden; background: var(--surface); display: flex; flex-direction: column; }
.map-embed { flex: 1; min-height: 280px; }
.map-embed iframe { width: 100%; height: 100%; display: block; }
.map-footer { padding: 16px 24px; }
.map-footer-sub { font-size: 13px; color: var(--text-tertiary); text-align: center; }

.quando-card { border: 1px solid var(--border); border-radius: 22px; background: var(--surface); padding: 32px; display: flex; flex-direction: column; }
.quando-time-label, .quando-address-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 600; }
.quando-time { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 56px; line-height: 1; color: var(--olive); margin-top: 10px; }
.quando-hint { font-size: 14px; color: var(--text-secondary); margin: 14px 0 0; line-height: 1.5; }
.quando-divider { height: 1px; background: var(--border); margin: 26px 0; }
.quando-address { font-size: 16px; font-weight: 600; color: var(--text-primary); line-height: 1.5; margin: 10px 0 0; }
.quando-cta { margin-top: 22px; width: 100%; font-size: 14px; padding: 12px 22px; }
.quando-cta ~ .quando-cta { margin-top: 12px; }

/* ===================== TRAJE ===================== */
.traje { padding-top: 64px; }
.traje .section-head { margin-bottom: 20px; }
.dresscode-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.dresscode-card { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); padding: 28px 30px; }
.dresscode-list { margin: 18px 0 0; padding-left: 20px; }
.dresscode-list li { font-size: 14.5px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px; }
.dresscode-list li:last-child { margin-bottom: 0; }
.dresscode-note { margin: 26px auto 0; font-size: 13px; color: var(--text-tertiary); text-align: center; max-width: 640px; }

/* ===================== INSPIRAÇÕES ===================== */
.inspiracoes-section { background: var(--beige); margin-top: 64px; padding: 60px 0; }
.inspiracoes-section .section-head { margin-bottom: 20px; }
.pinterest-embed { margin-top: 40px; display: flex; justify-content: center; overflow-x: auto; }

/* ===================== HOSPEDAGEM ===================== */
.hospedagem { padding-top: 64px; }
.hospedagem-content { max-width: 620px; margin: 40px auto 0; text-align: center; }
.hospedagem-content p { font-size: 16px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 18px; }
.hospedagem-content .btn { margin-top: 8px; }
.hospedagem-content .hospedagem-note { margin: 26px 0 0; font-size: 13px; color: var(--text-tertiary); }

/* ===================== PRESENTES ===================== */
.presentes-section { background: var(--beige); margin-top: 64px; padding: 60px 0; }
.presentes-section .section-head { margin-bottom: 20px; }
.gifts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.gift-card { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); overflow: hidden; }
.gift-emoji { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 64px; overflow: hidden; }
.gift-emoji img { width: 100%; height: 100%; object-fit: cover; }
.gift-emoji-a { background: var(--chip-green-bg); }
.gift-emoji-b { background: var(--chip-terracota-bg); }
.gift-emoji-c { background: var(--chip-purple-bg); }
.gift-emoji-d { background: #EAF0EF; }
.gift-emoji-e { background: #F5EFE0; }
.gift-emoji-f { background: #F0E9E2; }
.gift-body { padding: 22px 24px; }
.gift-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gift-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 18px; }
.gift-sub { font-size: 13px; color: var(--text-tertiary); margin-top: 2px; }
.gift-price { background: var(--chip-green-bg); color: var(--chip-green-fg); font-size: 15px; font-weight: 700; padding: 6px 12px; border-radius: 10px; white-space: nowrap; }
.gift-btn { margin-top: 18px; }
.gift-btn-card { width: 100%; font-size: 14px; padding: 11px 0; margin-top: 10px; }

.pix-box {
  margin-top: 26px;
  border: 1px dashed #C8BBA4;
  border-radius: 16px;
  background: var(--surface);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  flex-wrap: wrap;
}
.pix-label { font-size: 14px; color: var(--text-secondary); }
.pix-key { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 16px; color: var(--olive); }
.pix-copy {
  background: transparent;
  border: 1.5px solid var(--olive);
  color: var(--olive);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.pix-copy.copied { background: var(--olive); color: var(--cream); }

/* ===================== PIX MODAL ===================== */
.pix-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(51, 41, 30, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.pix-modal-overlay[hidden] { display: none; }
.pix-modal {
  position: relative;
  background: var(--cream);
  border-radius: 22px;
  padding: 40px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(51, 41, 30, 0.25);
}
.pix-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pix-modal-title { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 24px; margin: 6px 0 0; }
.pix-modal-price { display: inline-block; margin-top: 10px; background: var(--chip-green-bg); color: var(--chip-green-fg); font-size: 15px; font-weight: 700; padding: 6px 14px; border-radius: 10px; }
.pix-modal-qr { width: 220px; height: 220px; margin: 24px auto 0; border-radius: 12px; border: 1px solid var(--border); }
.pix-modal-qr[hidden] { display: none; }
.pix-modal-note { font-size: 14px; color: var(--text-secondary); margin: 24px 0 0; }
.pix-modal-note[hidden] { display: none; }
.pix-modal-hint { font-size: 13px; color: var(--text-tertiary); margin: 14px 0 0; }
.pix-modal-hint[hidden] { display: none; }
.pix-box-modal { margin-top: 16px; padding: 16px 18px; }

/* ===================== RSVP ===================== */
.rsvp-section { background: var(--olive); margin-top: 64px; padding: 60px 0; }
.rsvp-head { max-width: 720px; margin: 0 auto; padding: 0 40px; text-align: center; }
.rsvp-sub { margin: 14px auto 0; font-size: 16px; color: #DDE3D2; max-width: 440px; }
.rsvp-form-wrap { max-width: 560px; margin: 40px auto 0; padding: 0 40px; }
.rsvp-form { background: var(--cream); border-radius: 22px; padding: 36px 38px; display: flex; flex-direction: column; gap: 22px; }
.field-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-tertiary); font-weight: 600; margin-bottom: 9px; }
.rsvp-form input[type="text"],
.rsvp-form textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--text-primary);
  font-family: 'Hanken Grotesk', sans-serif;
  outline: none;
}
.rsvp-form textarea { min-height: 90px; resize: vertical; }
.rsvp-form input:focus,
.rsvp-form textarea:focus { border-color: var(--olive); }

.toggle-group { display: flex; gap: 10px; }
.toggle-btn {
  flex: 1;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 0;
  border-radius: 999px;
  cursor: pointer;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-family: 'Hanken Grotesk', sans-serif;
  transition: all .15s;
}
.toggle-btn.active-yes { border-color: var(--olive); background: var(--olive); color: var(--cream); }
.toggle-btn.active-no { border-color: var(--terracota); background: var(--terracota); color: var(--cream); }

.stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
}
.stepper-label { font-size: 15px; color: var(--text-secondary); }
.stepper-controls { display: flex; align-items: center; gap: 16px; }
.stepper-btn {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1.5px solid #C8BBA4;
  color: var(--olive);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
}
.stepper-val { font-size: 17px; font-weight: 600; min-width: 16px; text-align: center; }

.rsvp-submit { width: 100%; font-size: 16px; padding: 15px 0; }
.rsvp-feedback { text-align: center; font-size: 14px; color: var(--olive); margin: 0; min-height: 18px; }

/* ===================== FAQ ===================== */
.faq { padding-bottom: 40px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; }
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Hanken Grotesk', sans-serif;
}
.faq-question span:first-child { font-size: 16px; font-weight: 600; color: var(--text-primary); }
.faq-sign {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--chip-green-bg);
  color: var(--chip-green-fg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer p { margin: 0; padding: 0 24px 22px; font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.faq-item[data-open="true"] .faq-answer { max-height: 200px; }

/* ===================== FOOTER ===================== */
.footer { margin-top: 64px; background: var(--beige); border-top: 1px solid var(--border); padding: 48px 40px 40px; }
.footer-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.footer-divider { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--sage); margin-bottom: 22px; }
.footer-divider .line { width: 60px; height: 1px; background: #D9CDB6; }
.footer-divider .leaf { font-size: 20px; }
.footer-names { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 44px; letter-spacing: -0.02em; }
.footer-meta { font-size: 15px; color: var(--text-secondary); margin-top: 12px; }
.footer-hashtag { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracota); font-weight: 600; margin-top: 20px; }
.footer-note { font-size: 12.5px; color: var(--text-tertiary); margin-top: 32px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .section-max { padding-left: 22px; padding-right: 22px; }
  .faq-max { padding-left: 22px; padding-right: 22px; }

  .nav-inner { padding: 14px 22px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 22px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-cta-mobile { display: inline-block; margin-top: 8px; }
  .nav-cta-desktop { display: none; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-wrap { order: -1; }
  .hero-title { font-size: 54px; }
  .amp { font-size: 38px; }
  .hero-text { max-width: 100%; }
  .save-the-date { left: 16px; bottom: -18px; padding: 12px 16px; }
  .std-date { font-size: 30px; }

  .countdown { margin-top: 40px; padding: 18px 20px; flex-direction: column; align-items: stretch; gap: 14px; }
  .countdown-label { text-align: center; }
  .countdown-items { justify-content: space-around; gap: 12px; }
  .countdown-num { font-size: 30px; }

  .local-section { margin-top: 56px; padding: 48px 0; }
  .local-grid { grid-template-columns: 1fr; }

  .traje { padding-top: 56px; }
  .dresscode-grid { grid-template-columns: 1fr; }

  .inspiracoes-section { margin-top: 56px; padding: 48px 0; }

  .hospedagem { padding-top: 56px; }

  .presentes-section { margin-top: 56px; padding: 48px 0; }
  .gifts-grid { grid-template-columns: 1fr; }

  .rsvp-section { margin-top: 56px; padding: 48px 0; }
  .rsvp-form { padding: 24px 22px; }
  .rsvp-form-wrap { padding: 0 22px; }
  .rsvp-head { padding: 0 22px; }


  .faq { padding-top: 56px; }

  .section-title { font-size: 34px; }
  .footer-names { font-size: 34px; }
}
