 :root {
  --olive: #555648;
  --olive-deep: #34382b;
  --sage: #a7a797;
  --gold: #b09868;
  --ivory: #f8f5ed;
  --beige: #e6e1d6;
  --ink: #333429;
  --white: #fffdf8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: 'Montserrat', sans-serif; line-height: 1.7; }
a { color: inherit; }
.site-header { min-height: 78px; padding: 12px clamp(18px, 5vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: rgba(255,253,248,.96); border-bottom: 1px solid rgba(176,152,104,.45); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--olive); }
.brand-crown { font-size: 34px; color: var(--gold); line-height: 1; }
.brand strong { display: block; font: 600 23px/1.1 'Cormorant Garamond', serif; letter-spacing: .02em; }
.brand i { color: var(--gold); font-style: normal; }
.brand small { display: block; text-transform: uppercase; letter-spacing: .22em; font-size: 9px; text-align: center; margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); }
.nav a { text-decoration: none; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; }
.nav a:hover, footer a:hover { color: var(--gold); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 25px; color: var(--olive); }
.hero { min-height: 650px; padding: 70px 20px 80px; text-align: center; position: relative; overflow: hidden; background: var(--olive-deep); color: var(--white); border-bottom: 1px solid rgba(176,152,104,.5); display: flex; align-items: center; justify-content: center; }
.hero-photo { position: absolute; inset: 0 0 0 42%; background: linear-gradient(90deg, var(--olive-deep) 0%, rgba(52,56,43,.35) 32%, rgba(52,56,43,.04) 100%), url("foto-maos-aliancas.jpg") center/cover no-repeat; opacity: .96; }
.hero-content { position: relative; z-index: 2; width: min(100%, 660px); margin-right: auto; padding: 24px; text-align: center; }
.hero:before { content: '❧'; position: absolute; color: rgba(167,167,151,.18); font-size: clamp(100px, 19vw, 250px); left: -30px; top: 26%; transform: rotate(-35deg); z-index: 1; }
.hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,39,27,.16), transparent 75%); pointer-events: none; z-index: 1; }
.hero-decoration { color: var(--gold); font-size: 30px; }
.eyebrow { text-transform: uppercase; letter-spacing: .24em; color: var(--gold); font-size: 11px; font-weight: 600; margin: 0 0 14px; }
.crown { color: var(--gold); font-size: 48px; line-height: 1.25; }
h1, h2, h3, .verse, .signature, .closing p { font-family: 'Cormorant Garamond', serif; }
h1 { color: var(--olive-deep); font-size: clamp(56px, 8vw, 100px); line-height: .95; font-weight: 500; margin: 15px 0 22px; }
h1 span { color: var(--gold); font-weight: 400; }
.mobile-break { display: none; }
.gold-rule { max-width: 300px; margin: 0 auto 25px; display: flex; align-items: center; gap: 12px; color: var(--gold); }
.gold-rule:before, .gold-rule:after { content: ''; height: 1px; background: var(--gold); flex: 1; }
.verse { font-size: clamp(23px, 3vw, 31px); max-width: 680px; margin: 0 auto; line-height: 1.25; color: var(--white); }
.verse-ref { color: #e0c58b; font: 500 12px 'Montserrat', sans-serif; letter-spacing: .16em; margin: 12px 0 25px; }
.hero-note { font-size: 13px; color: #e2dfd3; }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 28px 0; }
.button { display: inline-flex; justify-content: center; align-items: center; border-radius: 3px; padding: 13px 22px; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font: 600 10px 'Montserrat', sans-serif; border: 1px solid var(--gold); cursor: pointer; transition: transform .2s, background .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button-gold { background: var(--olive); color: var(--white); border-color: var(--olive); }
.button-outline { color: var(--olive); background: transparent; }
.button-muted { background: #e8e4da; color: #777466; cursor: not-allowed; }
.date-placeholder { font-size: 10px; letter-spacing: .1em; color: #e2d7b8; margin-top: 30px; }
.section { padding: 85px 20px; text-align: center; }
h2 { font-size: clamp(38px, 5vw, 55px); font-weight: 500; line-height: 1.1; color: var(--olive); margin: 0 0 15px; }
.ornament { font-size: 27px; color: var(--gold); margin: 10px 0 20px; }
.section-copy { max-width: 700px; margin: 0 auto; font-size: 14px; color: #68685c; }
.story { background: var(--white); }
.story-layout { max-width: 1000px; margin: 28px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 38px; text-align: left; }
.story-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 5px solid #f0e8d8; box-shadow: 0 8px 28px rgba(52,56,43,.12); }
.story-text .section-copy, .story-text .signature { text-align: left; }
.signature { font-size: 26px; color: var(--olive); font-style: italic; margin: 25px 0 0; }
.day-section { padding: 70px 20px; background: linear-gradient(120deg, #e5e2d8, #f8f5ed); }
.day-card { max-width: 1000px; margin: auto; text-align: center; background: rgba(255,253,248,.88); padding: clamp(28px, 5vw, 60px); border: 1px solid rgba(176,152,104,.6); box-shadow: 0 15px 45px rgba(52,56,43,.07); }
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 20px; }
.detail { padding: 10px 25px; border-right: 1px solid rgba(176,152,104,.55); }
.detail:last-child { border-right: 0; }
.detail-icon { color: var(--gold); font-size: 30px; }
.detail h3 { color: var(--olive); font-size: 25px; margin: 4px 0; }
.detail p { margin: 0; font-size: 12px; color: #69695c; }
.small-note, .security-note { color: #8a877a; font-size: 10px; margin-top: 25px; }
.gifts { background: var(--ivory); }
.gift-box { max-width: 440px; margin: 35px auto 0; padding: 30px; background: var(--white); border: 1px solid rgba(176,152,104,.55); }
.gift-icon { font-size: 32px; color: var(--gold); }
.gift-box h3 { color: var(--olive); font-size: 28px; margin: 8px 0; }
.gift-box p { font-size: 12px; color: #777466; }
.rsvp-section { padding: 70px 20px; background: var(--olive); }
.rsvp-card { max-width: 720px; margin: auto; padding: clamp(25px, 5vw, 55px); background: var(--white); text-align: center; border: 1px solid var(--gold); }
.rsvp-card .section-copy { margin-bottom: 28px; }
form { text-align: left; display: grid; gap: 9px; }
label { font-size: 11px; font-weight: 600; color: var(--olive); margin-top: 6px; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid #d7d2c5; background: #fffefa; color: var(--ink); font: 13px 'Montserrat', sans-serif; border-radius: 2px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(176,152,104,.4); border-color: var(--gold); }
form .button { margin-top: 10px; }
.form-message { font-size: 12px; color: var(--olive); }
.closing { text-align: center; padding: 60px 20px; background: var(--olive-deep); color: var(--ivory); }
.closing .crown { font-size: 40px; }
.closing p { font-size: 26px; margin: 12px 0 0; }
.closing span { color: #d5c39b; font-size: 10px; letter-spacing: .18em; }
.closing h2 { font-size: 30px; color: var(--ivory); margin: 25px 0 10px; }
.closing strong { color: #d5c39b; font: 500 28px 'Cormorant Garamond', serif; }
footer { display: flex; justify-content: space-between; gap: 15px; padding: 20px clamp(18px, 5vw, 72px); background: #292d23; color: #d8d5ce; font-size: 10px; }
footer a { text-decoration: none; }
@media (max-width: 800px) {
  .site-header { min-height: 68px; }
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 12px 22px 20px; border-bottom: 1px solid var(--beige); flex-direction: column; align-items: stretch; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid #eeeadf; }
  .hero { min-height: 660px; padding: 50px 12px 65px; align-items: flex-start; }
  .hero-photo { inset: 0; background: linear-gradient(180deg, rgba(34,39,27,.35), var(--olive-deep) 68%), url("foto-maos-aliancas.jpg") center top/auto 48% no-repeat; opacity: .95; }
  .hero-content { padding: 34px 12px 8px; margin: 0 auto; }
  .hero:before { left: -55px; top: 18%; }
  .mobile-break { display: block; }
  .story-layout { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .story-text .section-copy, .story-text .signature { text-align: center; }
  .detail-grid { grid-template-columns: 1fr; margin: 25px 0; }
  .detail { border-right: 0; border-bottom: 1px solid rgba(176,152,104,.4); padding: 18px 8px; }
  .detail:last-child { border-bottom: 0; }
  .section { padding: 65px 22px; }
  footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *:before, *:after { transition: none !important; } }


/* CORREÇÃO DE CONTRASTE DA CAPA — Rafael & Lizandra */
.hero {
  isolation: isolate;
  background: #252b1b !important;
  color: #fffdf8 !important;
}
.hero-photo {
  z-index: -1 !important;
  inset: 0 0 0 38% !important;
  width: auto !important;
  height: auto !important;
  background-image:
    linear-gradient(90deg, #252b1b 0%, rgba(37,43,27,.84) 18%, rgba(37,43,27,.18) 68%, rgba(37,43,27,.08) 100%),
    url("foto-maos-aliancas.jpg") !important;
  background-position: center, center !important;
  background-size: cover, cover !important;
  background-repeat: no-repeat, no-repeat !important;
  opacity: 1 !important;
}
.hero-content {
  z-index: 2 !important;
  position: relative !important;
  width: min(100%, 650px) !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  color: #fffdf8 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.25);
}
.hero h1,
.hero h1 span {
  color: #fff8e8 !important;
  text-shadow: 0 2px 8px rgba(0,0,0,.48) !important;
}
.hero h1 span { color: #e0bd70 !important; }
.hero .eyebrow,
.hero .verse,
.hero .verse-ref,
.hero .hero-note,
.hero .date-placeholder {
  color: #fff8e8 !important;
  text-shadow: 0 1px 4px rgba(0,0,0,.55);
}
.hero .verse-ref { color: #e8ca83 !important; }
.hero .button-outline {
  color: #fff8e8 !important;
  border-color: #d2b36f !important;
  background: rgba(37,43,27,.55) !important;
}
.hero .button-gold {
  color: #252b1b !important;
  background: #e4bd68 !important;
  border-color: #e4bd68 !important;
}
@media (max-width: 800px) {
  .hero {
    min-height: 700px !important;
    padding: 34px 12px 58px !important;
    align-items: flex-start !important;
  }
  .hero-photo {
    inset: 0 !important;
    background-image:
      linear-gradient(180deg, rgba(37,43,27,.15) 0%, rgba(37,43,27,.55) 28%, #252b1b 60%, #252b1b 100%),
      url("foto-maos-aliancas.jpg") !important;
    background-position: center, center top !important;
    background-size: cover, auto 48% !important;
  }
  .hero-content {
    width: 100% !important;
    padding: 155px 10px 10px !important;
    margin: 0 auto !important;
  }
  .hero h1 {
    font-size: clamp(48px, 13vw, 72px) !important;
    line-height: .95 !important;
    margin: 12px 0 20px !important;
  }
}


/* LISTA DE PRESENTES ACESSÍVEIS — Rafael & Lizandra */
.gift-shop-link {
  max-width: 980px; margin: 34px auto 42px; padding: 24px clamp(18px, 4vw, 38px);
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  text-align: left; background: var(--white); border: 1px solid rgba(176,152,104,.6);
}
.gift-shop-link > div { flex: 1; }
.gift-shop-link h3 { color: var(--olive); font-size: 27px; margin: 3px 0 5px; }
.gift-shop-link p { color: #68685c; font-size: 12px; margin: 0; }
.gift-subtitle { color: var(--olive); font-size: 29px; margin: 30px 0 20px; }
.gift-grid { max-width: 1050px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; text-align: left; }
.gift-card { min-width: 0; padding: 23px 19px; background: var(--white); border: 1px solid #e5ddcc; display: flex; flex-direction: column; align-items: flex-start; }
.gift-card-icon { font-size: 28px; color: var(--gold); line-height: 1.2; }
.gift-card h4 { color: var(--olive); font: 600 23px/1.05 'Cormorant Garamond', serif; margin: 13px 0 8px; }
.gift-card p { color: #68685c; font-size: 12px; line-height: 1.6; margin: 0 0 12px; }
.gift-price { color: #5e604e; font-size: 11px; font-weight: 600; margin-top: auto; padding: 8px 0 13px; }
.gift-card a, .gift-inspiration a { color: #555648; font-size: 11px; font-weight: 600; text-underline-offset: 3px; }
.gift-card a:hover, .gift-inspiration a:hover { color: #92743d; }
.gift-inspiration { margin: 22px auto 0; color: #68685c; font-size: 12px; }
.gift-pix-box { max-width: 650px; margin-top: 35px; }
.gift-pix-box p { line-height: 1.7; }
@media (max-width: 900px) { .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .gift-shop-link { flex-direction: column; align-items: stretch; text-align: center; }
  .gift-shop-link .button { width: 100%; }
  .gift-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gift-card { padding: 17px 13px; }
  .gift-card h4 { font-size: 21px; }
  .gift-card p { font-size: 11px; }
  .gift-price { font-size: 10px; }
}
@media (max-width: 360px) { .gift-grid { grid-template-columns: 1fr; } }


/* Galeria de fotos do casal */
.photo-gallery {
  width: min(100%, 980px);
  margin: 28px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
  gap: 18px;
}
.photo-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f0e7;
  box-shadow: 0 12px 30px rgba(35, 39, 27, .12);
}
.photo-gallery img {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  object-position: center 42%;
}
.photo-gallery figcaption {
  padding: 12px 16px;
  color: #596047;
  font-family: Georgia, serif;
  font-style: italic;
  text-align: center;
}
.story-photo {
  object-position: center 38%;
}
