/* ============================================================
   Amanda & Deivison — Site de Casamento
   Tema claro e floral: papel creme, oliva, marsala, girassol, azul
   Inspirado no convite oficial do casal.
   ============================================================ */

:root {
  --bg-dark:      #f8f2e6;   /* papel creme principal */
  --bg-dark-2:    #f1e8d6;   /* creme um pouco mais escuro */
  --bg-navy:      #eef0e2;   /* seção com leve tom oliva */
  --bg-navy-2:    #e9ecdd;
  --bg-wine:      #f6ebe6;   /* seção com leve tom marsala */
  --panel:        rgba(122,80,30,0.05);
  --panel-border: rgba(139,58,58,0.22);

  --blush:        #7c1f2b;   /* títulos — marsala */
  --blush-soft:   #9c3b45;
  --cream:        #3c3324;   /* texto principal — marrom-oliva escuro */
  --cream-dim:    #6d6350;   /* texto secundário */
  --gold:         #a9832f;   /* dourado/girassol para detalhes */
  --gold-soft:    #c9a24f;
  --maroon:       #7c1f2b;
  --maroon-deep:  #5c1620;
  --maroon-soft:  rgba(124,31,43,0.12);
  --green-badge:  #dbe4cc;
  --green-badge-text: #45592e;
  --gold-badge:   #f3e3bb;
  --gold-badge-text: #7a5a12;
  --blue-dot:     #1e3a8a;   /* azul royal */
  --blue-royal:   #1e3a8a;
  --blue-royal-deep: #142a63;

  --font-script: 'Pinyon Script', cursive;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Cormorant Garamond', 'EB Garamond', serif;

  --radius: 6px;
  --max-width: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--cream);
  background: var(--bg-dark);
  background-image:
    radial-gradient(rgba(169,131,47,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blush);
  margin: 0 0 0.4em;
  line-height: 1.15;
}

.section { padding: 76px 0; position: relative; }
.section.bg-navy   { background: var(--bg-navy); }
.section.bg-dark2  { background: var(--bg-dark-2); }
.section.bg-wine   { background: var(--bg-wine); }

.eyebrow {
  display: block;
  text-align: center;
  font-family: var(--font-body);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6em;
}

.section-title {
  text-align: center;
  font-size: clamp(2.1rem, 6vw, 2.9rem);
}

.section-lead {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.6rem;
  color: var(--cream-dim);
  font-size: 1.15rem;
}

/* Divisor de três pontinhos (dourado / azul / marsala) */
.dots-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 2.4rem;
}
.dots-divider::before,
.dots-divider::after {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(169,131,47,0.45);
}
.dots-divider span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.dots-divider span:nth-child(1) { background: var(--gold); }
.dots-divider span:nth-child(2) { background: var(--blue-dot); }
.dots-divider span:nth-child(3) { background: var(--blush-soft); }

/* Faixa floral decorativa entre seções — traço fino + flores em SVG inline (girassol/marsala/azul) */
.floral-strip {
  height: 64px;
  background: var(--bg-wine);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='60' viewBox='0 0 400 60'%3E%3Cpath d='M0 30 Q 50 10, 100 30 T 200 30 T 300 30 T 400 30' fill='none' stroke='%237c8a5e' stroke-width='1.5' opacity='0.6'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  overflow: hidden;
}
.floral-strip .flor { font-size: 1.3rem; }
.floral-strip .flor.girassol { color: var(--gold); }
.floral-strip .flor.marsala  { color: var(--blush); }
.floral-strip .flor.azul     { color: var(--blue-dot); }

/* Cantos florais (girassol, rosas marsala e flores azul royal) — inspirados no convite */
.corner-floral {
  position: absolute;
  width: 130px;
  height: 118px;
  pointer-events: none;
  z-index: 1;
}
.corner-floral.tl { top: 0; left: 0; }
.corner-floral.br { bottom: 0; right: 0; transform: rotate(180deg); }
.hero, footer { overflow: hidden; }

/* ============ HEADER / NAV ============ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: rgba(248,242,230,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(169,131,47,0.22);
}
.navbar .logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--blush);
  letter-spacing: 0.05em;
}
.navbar .logo .heart { color: var(--maroon); margin: 0 6px; font-size: 1rem; }

.menu-toggle {
  background: none;
  border: none;
  color: var(--blush);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-dark-2);
  border-bottom: 1px solid rgba(169,131,47,0.22);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 28px;
  border-top: 1px solid rgba(60,51,36,0.08);
  color: var(--cream);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mobile-menu a:hover { color: var(--blush); }

/* ============ HERO ============ */

.hero {
  text-align: center;
  padding: 80px 0 64px;
  position: relative;
}

.hero-names {
  font-size: clamp(1.6rem, 8vw, 2.3rem);
  letter-spacing: 0.02em;
}

.hero-monogram {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.2rem, 15vw, 4.6rem);
  color: var(--blush);
  letter-spacing: 0.02em;
  margin-bottom: 0.1em;
}

.hero-sub {
  color: var(--cream-dim);
  max-width: 480px;
  margin: 1.2rem auto 0;
  font-size: 1.15rem;
}

.hero-date {
  margin-top: 1.6rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  color: var(--blue-dot);
  font-size: 1.05rem;
}

.countdown {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2.4rem auto 0;
}
.countdown-item {
  border: 1px solid rgba(169,131,47,0.4);
  border-radius: var(--radius);
  min-width: 74px;
  padding: 14px 8px;
  text-align: center;
  background: rgba(255,255,255,0.5);
}
.countdown-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--blush);
  font-variant-numeric: tabular-nums;
}
.countdown-label {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 4px;
}

.hero-cta { margin-top: 2.2rem; }

/* ============ BOTÕES ============ */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 999px;
  border: 1px solid var(--maroon);
  color: var(--blush);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn:hover { background: var(--maroon-soft); }

.btn-primary {
  background: var(--maroon);
  border-color: var(--maroon);
  color: #fff8f0;
}
.btn-primary:hover { background: var(--maroon-deep); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-block { width: 100%; text-align: center; }

/* ============ TIMELINE (Nossa história) ============ */

.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: rgba(79,126,168,0.4);
}
.timeline-item { position: relative; margin-bottom: 2.4rem; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg-dark);
  border: 2px solid var(--blue-dot);
}
.timeline-year {
  font-family: var(--font-display);
  color: var(--blue-dot);
  font-size: 1.05rem;
  font-weight: 700;
}
.timeline-title {
  font-family: var(--font-display);
  color: var(--blush);
  font-size: 1.5rem;
  margin: 0.2em 0 0.3em;
}
.timeline-text { color: var(--cream-dim); }

/* ============ PADRINHOS ============ */

.padrinhos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.padrinho-card {
  text-align: center;
  padding: 22px 12px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
}
.padrinho-card .avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: rgba(124,31,43,0.08);
  border: 1px solid var(--panel-border);
}
.padrinho-card .nome { color: var(--blush); font-family: var(--font-display); font-size: 1.05rem; }
.padrinho-card .papel { color: var(--cream-dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* ============ DETALHES (Cerimônia & Recepção) ============ */

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 2.6rem;
}
.detail-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 26px 18px;
  text-align: center;
}
.detail-card .icon { font-size: 1.6rem; color: var(--gold); margin-bottom: 8px; }
.detail-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.detail-card p { margin: 0; color: var(--cream-dim); font-size: 0.95rem; }

.map-frame {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
}
.map-frame iframe { width: 100%; height: 320px; border: 0; display: block; }
.map-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--blush);
  text-decoration: underline;
  font-size: 0.95rem;
}

.recepcao-note { text-align: center; margin-top: 2rem; }
.recepcao-note h3 { font-size: 1.3rem; }
.recepcao-note p { color: var(--cream-dim); }

/* ============ GALERIA ============ */

.gallery-carousel-wrap {
  position: relative;
}
.gallery-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.gallery-grid::-webkit-scrollbar { height: 6px; }
.gallery-grid::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 999px; }
.gallery-grid .g-item {
  flex: 0 0 auto;
  width: 130px;
  height: 130px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .gallery-grid .g-item { width: 160px; height: 160px; }
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--bg-dark);
  color: var(--maroon);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(60,51,36,0.18);
}
.gallery-arrow--prev { left: -6px; }
.gallery-arrow--next { right: -6px; }
.gallery-arrow:hover { background: var(--gold-badge); }
@media (max-width: 639px) {
  .gallery-arrow { display: none; }
}
.gallery-grid .g-item {
  aspect-ratio: 1;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  background: var(--panel);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.gallery-grid .g-item img,
.gallery-grid .g-item video { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-item .placeholder-icon { color: var(--gold); font-size: 1.8rem; }
.gallery-grid .g-item .legenda {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #fff8f0;
  background: linear-gradient(transparent, rgba(60,51,36,0.7));
}

.gallery-grid .g-item--clicavel { cursor: pointer; }
.gallery-grid .g-item--clicavel:hover .g-photo,
.gallery-grid .g-item--clicavel:focus-visible .g-photo { transform: scale(1.06); }
.gallery-grid .g-item .g-photo { transition: transform 0.35s ease; }

.g-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(60,51,36,0.55);
  color: #fff8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  padding-left: 3px;
  pointer-events: none;
}

/* ============ LIGHTBOX ============ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.aberto { display: flex; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 26, 18, 0.86);
}
.lightbox-frame {
  position: relative;
  z-index: 1;
  max-width: min(760px, 92vw);
  max-height: 88vh;
  background: var(--bg-dark);
  border: 1px solid var(--gold-soft);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: lb-entrada 0.25s ease;
}
@keyframes lb-entrada {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(169,131,47,0.35);
  border-radius: calc(var(--radius) - 4px);
  pointer-events: none;
}
.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}
.lightbox-video {
  max-width: 100%;
  max-height: 68vh;
  border-radius: 6px;
  position: relative;
  z-index: 1;
  background: #000;
}
.lightbox-legenda {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--blush);
  text-align: center;
  position: relative;
  z-index: 1;
}
.lightbox-fechar {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--cream-dim);
  cursor: pointer;
  padding: 4px 8px;
}
.lightbox-fechar:hover { color: var(--blush); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(248,242,230,0.85);
  border: 1px solid var(--panel-border);
  color: var(--blush);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-nav:hover { background: var(--bg-dark-2); transform: translateY(-50%) scale(1.06); }
.lightbox-nav--prev { left: -8px; }
.lightbox-nav--next { right: -8px; }
@media (max-width: 480px) {
  .lightbox-nav { width: 36px; height: 36px; font-size: 0.95rem; }
  .lightbox-nav--prev { left: 4px; }
  .lightbox-nav--next { right: 4px; }
}
.lb-corner {
  position: absolute;
  width: 90px;
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.lb-corner--tl { top: 0; left: 0; }
.lb-corner--br { bottom: 0; right: 0; transform: rotate(180deg); }
@media (max-width: 480px) {
  .lightbox-frame { padding: 16px; }
  .lb-corner { width: 60px; }
}

/* ============ PRESENTES ============ */

.filter-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-pill {
  border: 1px solid var(--panel-border);
  background: transparent;
  color: var(--cream-dim);
  padding: 10px 20px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  cursor: pointer;
}
.filter-pill.active { background: var(--maroon); border-color: var(--maroon); color: #fff8f0; }

.gift-card {
  border: 1px solid var(--panel-border);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  background: var(--panel);
  margin-bottom: 20px;
  overflow: hidden;
}
.gift-card .gift-icon {
  text-align: center;
  padding: 30px 0;
  font-size: 1.8rem;
  color: var(--gold);
  background: rgba(169,131,47,0.08);
}
.gift-card .gift-body { padding: 22px 24px 26px; }
.gift-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge.disponivel { background: var(--green-badge); color: var(--green-badge-text); }
.badge.reservado   { background: var(--gold-badge); color: var(--gold-badge-text); }
.badge.adquirido   { background: rgba(124,31,43,0.14); color: var(--blush-soft); }
.gift-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.gift-card .desc { color: var(--cream-dim); margin-bottom: 16px; }
.gift-card .preco { font-family: var(--font-display); font-size: 1.3rem; color: var(--blush); margin-bottom: 16px; }
.gift-card .reservado-nota { font-style: italic; color: var(--cream-dim); font-size: 0.92rem; }

.gift-categoria-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 3px 11px;
  margin: 0 0 10px 8px;
}

.filter-pills-categoria { margin-bottom: 1rem; }

.gift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.gift-grid .gift-card { margin-bottom: 0; }
@media (max-width: 640px) {
  .gift-grid { grid-template-columns: 1fr; }
}

.gift-empty-msg {
  text-align: center;
  color: var(--cream-dim);
  font-style: italic;
  margin: 30px 0;
}

.gift-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 30px 0 10px;
}
.gift-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid var(--panel-border);
  background: transparent;
  color: var(--cream-dim);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  cursor: pointer;
}
.gift-page-btn.active { background: var(--maroon); border-color: var(--maroon); color: #fff8f0; }
.gift-page-btn:disabled { opacity: 0.4; cursor: default; }

/* Card especial "Presentear em dinheiro" — chave PIX oculta até o clique */
.pix-card {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(169,131,47,0.09), var(--panel));
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 28px;
}
.pix-card .gift-icon { font-size: 2rem; color: var(--gold); margin-bottom: 10px; }
.pix-reveal {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--panel-border);
  display: none;
}
.pix-reveal.show { display: block; }
.pix-qrcode { width: 170px; height: 170px; margin: 0 auto 14px; border: 1px solid var(--panel-border); border-radius: var(--radius); background: #fff; }
.pix-chave-box {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--panel-border);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
  max-width: 340px;
  margin: 0 auto;
}
.pix-chave-box span { font-size: 0.95rem; color: var(--cream); overflow: hidden; text-overflow: ellipsis; }
.pix-agradecimento { margin-top: 14px; font-style: italic; color: var(--cream-dim); font-size: 0.95rem; }

/* ============ RSVP (lookup por código) ============ */

.rsvp-box {
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 30px 26px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-bottom: 8px;
}
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 13px 16px;
  border: 1px solid rgba(60,51,36,0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.7);
  color: var(--cream);
}
.form-row textarea { resize: vertical; min-height: 90px; }
.form-row input::placeholder, .form-row textarea::placeholder { color: rgba(60,51,36,0.35); }

.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-group label {
  flex: 1; min-width: 100px; text-align: center;
  text-transform: none; letter-spacing: 0; font-size: 0.98rem;
  border: 1px solid rgba(60,51,36,0.18);
  border-radius: 999px; padding: 10px 12px; cursor: pointer;
}
.radio-group input { display: none; }
.radio-group input:checked + label { background: var(--maroon); border-color: var(--maroon); color: #fff8f0; }

/* Lista de acompanhantes com checkbox individual (☑ nome) no RSVP */
.acompanhantes-list { display: flex; flex-direction: column; gap: 10px; }
.acompanhante-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(60,51,36,0.15);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: rgba(255,255,255,0.5);
}
.acompanhante-row input[type="checkbox"] {
  width: 20px; height: 20px; accent-color: var(--maroon); cursor: pointer; flex-shrink: 0;
}
.acompanhante-row input[type="text"] {
  flex: 1;
  border: 1px solid rgba(60,51,36,0.18);
  border-radius: var(--radius);
  padding: 8px 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.8);
  color: var(--cream);
}
.acompanhante-row .nome-fixo { flex: 1; font-size: 1rem; }

.feedback-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  text-align: center;
  display: none;
}
.feedback-box.show { display: block; }
.feedback-box.success { background: rgba(69,89,46,0.12); border: 1px solid var(--green-badge-text); color: var(--green-badge-text); }
.feedback-box.error   { background: rgba(124,31,43,0.1); border: 1px solid var(--maroon); color: var(--maroon-deep); }

.rsvp-summary-box {
  border: 1px solid var(--green-badge-text);
  background: rgba(69,89,46,0.12);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 22px;
  text-align: center;
}
.rsvp-summary-box p { color: var(--green-badge-text); margin-bottom: 12px; font-size: 1rem; }
.rsvp-summary-box .rsvp-summary-contato { color: var(--cream-dim); font-size: 0.85rem; margin-bottom: 0; }
.rsvp-summary-agradecimento { text-align: center; color: var(--green-badge-text); font-size: 1.05rem; margin-bottom: 20px; }
.rsvp-summary-contato { color: var(--cream-dim); font-size: 0.85rem; margin-top: 14px; }

/* Bloco travado (informações da recepção) */
.locked-box {
  border: 1px solid rgba(60,51,36,0.15);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream-dim);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.locked-box .lock-icon { font-size: 1.3rem; color: var(--gold); flex-shrink: 0; }

/* ============ RECADOS (mural) ============ */

.recado-card {
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  background: var(--panel);
}
.recado-card .nome { font-family: var(--font-display); color: var(--blush); margin-bottom: 4px; }
.recado-card .texto { color: var(--cream-dim); font-style: italic; }
.recado-vazio { text-align: center; color: var(--cream-dim); font-style: italic; margin: 1.4rem 0; }

/* ============ FOOTER ============ */

footer {
  background: var(--bg-dark-2);
  text-align: center;
  padding: 56px 24px 40px;
}
footer .monogram {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}
footer .tagline { color: var(--cream-dim); font-style: italic; margin-bottom: 20px; }
footer .admin-link {
  font-size: 0.85rem;
  color: rgba(60,51,36,0.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
footer .admin-link:hover { color: var(--cream-dim); }

/* Botão flutuante voltar ao topo */
.scroll-top {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(248,242,230,0.9);
  border: 1px solid rgba(169,131,47,0.45);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 2px 8px rgba(60,51,36,0.15);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }

/* ============ MODAL: Presentear (físico/dinheiro) ============ */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(60,51,36,0.45);
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.show { display: flex; }
.modal-box {
  background: var(--bg-dark);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 24px;
  max-width: 420px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none; border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--cream-dim);
  cursor: pointer;
}

/* ============ RESPONSIVO ============ */

@media (min-width: 640px) {
  .details-grid { grid-template-columns: repeat(4, 1fr); }
  .padrinhos-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 2px solid var(--blue-dot); outline-offset: 2px; }
