:root {
  --olive: #8f9d68;
  --olive-deep: #5a6b42;
  --olive-soft: #9aa984;
  --olive-mist: #e9ede3;
  --olive-leaf: #c7d0be;
  --sage: #88a69f;
  --cream-leaf: #f1f2c8;
  --sand: #f2f2f0;
  --sand-deep: #e8e8e4;
  --paper: #f5f5f5;
  --ink: #2a2a28;
  --ink-soft: #5c5c56;
  --line: rgba(90, 107, 66, 0.16);
  --accent: var(--olive);
  --accent-deep: var(--olive-deep);
  --surface: rgba(255, 255, 255, 0.78);
  --gold: #a8945a;
  --error: #8a3a3a;
  --shadow: 0 18px 50px rgba(90, 107, 66, 0.08);
  --radius: 16px;
  --font-script: "Great Vibes", "Segoe Script", cursive;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(245, 245, 245, 0.42), rgba(242, 242, 240, 0.55)),
    url("/assets/img/paper-texture.jpg");
  background-size: auto, cover;
  background-position: center, center;
  background-attachment: fixed, fixed;
  background-repeat: no-repeat, no-repeat;
  line-height: 1.65;
}

.page-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 480px at 0% 8%, rgba(154, 169, 132, 0.16), transparent 58%),
    radial-gradient(820px 440px at 100% 0%, rgba(136, 166, 159, 0.12), transparent 55%);
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.95rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(245, 245, 245, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.monogram {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  text-decoration: none;
  color: var(--olive-deep);
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.monogram .heart {
  width: 0.72rem;
  height: 0.72rem;
  fill: var(--olive);
  display: block;
  flex-shrink: 0;
  position: relative;
  top: 0.05em;
  transform-origin: center;
  animation: pulse 2.8s ease-in-out infinite;
}

.site-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.35rem; }

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--olive-deep);
  background: var(--olive-mist);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--olive-deep);
}

#inicio,
#cerimonia,
#presentes {
  scroll-margin-top: 88px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 4.5rem;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 245, 245, 0.2), rgba(241, 242, 200, 0.12));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 1.5rem 1rem;
  animation: rise 1s ease both;
}

.hero-verse {
  margin: 0 auto 1.75rem;
  max-width: 34rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(0.98rem, 2.1vw, 1.15rem);
  line-height: 1.55;
  color: var(--ink-soft);
  animation: rise 1.1s ease both;
}

.hero-verse cite {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.88em;
  font-style: italic;
  color: var(--olive);
}

.hero-names {
  margin: 0;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(3.4rem, 11vw, 6.2rem);
  line-height: 1.05;
  color: var(--olive-deep);
  letter-spacing: 0.01em;
}

.hero-names .name { display: block; }

.hero-names .ampersand {
  display: block;
  margin: 0.15rem 0;
  font-size: 0.55em;
  color: var(--olive);
  line-height: 1;
}

.hero-invite {
  margin: 1.35rem auto 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-when {
  margin: 1.75rem auto 2rem;
  max-width: 26rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(74, 86, 48, 0.28);
}

.hero-weekday {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

.hero-date {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero-date .month {
  color: var(--olive-deep);
  font-weight: 600;
}

.hero-date .heart {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--olive);
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section h2,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.1;
  color: var(--olive-deep);
}

.page-subtitle {
  margin: 0.85rem auto 0;
  max-width: 36rem;
  color: var(--ink-soft);
}

.section {
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 4.5rem;
}

.section-alt {
  background:
    linear-gradient(180deg, rgba(199, 208, 190, 0.28), rgba(255, 255, 255, 0.35));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.container { width: min(100%, 980px); margin: 0 auto; }
.container.narrow { width: min(100%, 680px); }

.lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-soft);
  text-align: center;
}

.countdown-section {
  background:
    linear-gradient(135deg, var(--olive-deep) 0%, var(--olive) 48%, var(--sage) 100%);
  color: #f8f7f0;
  position: relative;
  overflow: hidden;
}

.countdown-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 280px at 20% 0%, rgba(255, 255, 255, 0.12), transparent 60%),
    radial-gradient(500px 260px at 90% 100%, rgba(184, 154, 79, 0.2), transparent 55%);
  pointer-events: none;
}

.countdown-section .container { position: relative; z-index: 1; }

.countdown-section h2 {
  color: #fffdf6;
  text-align: center;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.countdown-item {
  background: rgba(255, 253, 247, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  padding: 1.25rem 0.75rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(36, 48, 20, 0.18);
  color: var(--olive-deep);
  animation: rise 0.8s ease both;
}

.countdown-item:nth-child(2) { animation-delay: 0.08s; }
.countdown-item:nth-child(3) { animation-delay: 0.16s; }
.countdown-item:nth-child(4) { animation-delay: 0.24s; }

.countdown-item span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
  color: var(--olive-deep);
}

.countdown-item small {
  display: block;
  margin-top: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: var(--olive);
}

.message-section .lead { font-size: 1.12rem; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-deep) 100%);
  color: #f8f7f0;
  box-shadow: 0 10px 24px rgba(79, 92, 46, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #7a8d48 0%, var(--olive-deep) 100%);
}

.btn-ghost {
  background: rgba(255, 253, 247, 0.7);
  border-color: var(--olive-leaf);
  color: var(--olive-deep);
}

.btn-ghost:hover {
  border-color: var(--olive);
  background: var(--olive-mist);
}

.info-block {
  margin-top: 0;
  padding: 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-row + .info-row {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.info-label {
  display: block;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: var(--olive);
  font-weight: 700;
}

.info-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  color: var(--olive-deep);
}

.info-block .btn { margin-top: 1.5rem; }

.ceremony-lead {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}

.ceremony-venue {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 1.25rem;
  align-items: stretch;
  margin-top: 2.5rem;
}

.ceremony-venue-solo {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.ceremony-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.map-embed {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
  min-height: 100%;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
}

.gift-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 360px));
  justify-content: center;
  gap: 1.35rem;
}

.section-gifts {
  position: relative;
  background:
    linear-gradient(180deg, rgba(199, 208, 190, 0.22), rgba(255, 255, 255, 0.28) 35%, rgba(241, 242, 200, 0.12));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gifts-heading .page-subtitle {
  max-width: 38rem;
}

.gifts-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
}

.gifts-divider {
  display: block;
  width: min(220px, 55vw);
  height: auto;
  margin: 1rem auto 1.25rem;
  opacity: 0.9;
}

.gifts-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gifts-stats {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.gifts-stats strong {
  color: var(--olive-deep);
  font-weight: 700;
}

.gifts-stats-sep {
  margin: 0 0.45rem;
  opacity: 0.5;
}

.gifts-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
}

.gifts-filter {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.gifts-filter:hover {
  color: var(--olive-deep);
}

.gifts-filter.is-active {
  background: var(--olive-deep);
  color: #f8f7f0;
}

.gift-item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(90, 107, 66, 0.06);
  animation: rise 0.7s ease both;
  animation-delay: calc(var(--gift-i, 0) * 0.05s);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.gift-item.is-available:hover {
  transform: translateY(-3px);
  border-color: rgba(143, 157, 104, 0.45);
  box-shadow: 0 20px 44px rgba(90, 107, 66, 0.1);
}

.gift-media {
  position: relative;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.gift-media img {
  width: 100%;
  height: auto;
  display: block;
}

.gift-media-empty {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background:
    linear-gradient(160deg, #f7f6f1 0%, var(--olive-mist) 55%, rgba(199, 208, 190, 0.55));
}

.gift-media-placeholder {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(90, 107, 66, 0.25);
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.7), transparent 55%),
    linear-gradient(135deg, var(--olive-soft), var(--sage));
  opacity: 0.75;
}

.gift-ribbon {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(42, 42, 40, 0.72);
  color: #f8f7f0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.gift-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  padding: 1.15rem 1.2rem 1.25rem;
  flex: 1;
  min-width: 0;
}

.gift-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.gift-copy h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--olive-deep);
}

.gift-copy p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.gift-price {
  margin-top: 0.85rem !important;
  font-family: var(--font-display);
  font-size: 1.35rem !important;
  font-weight: 600;
  color: var(--olive-deep) !important;
}

.gift-status-open {
  flex-shrink: 0;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--olive-mist);
  color: var(--olive-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.gift-open-claim,
.gift-buy-link {
  width: 100%;
  max-width: none;
  justify-content: center;
  text-align: center;
}

.gift-claim {
  margin-top: 0.85rem;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(248, 247, 240, 0.9);
  border: 1px solid var(--line);
  animation: rise 0.35s ease both;
}

.gift-claim[hidden] {
  display: none !important;
}

.gift-claim-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.gift-claim-row {
  display: flex;
  gap: 0.55rem;
  align-items: stretch;
}

.gift-claim-input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font: inherit;
  background: #fff;
  color: var(--ink);
}

.gift-claim-input:focus {
  outline: 0;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(143, 157, 104, 0.2);
}

.gift-claim-btn {
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  white-space: nowrap;
  border-radius: 12px;
}

.gift-claim-cancel {
  margin-top: 0.65rem;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gift-claim-help {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.gift-taken-note {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.gift-item.is-taken {
  background: rgba(255, 255, 255, 0.45);
}

.gift-item.is-taken .gift-copy h3,
.gift-item.is-taken .gift-price,
.gift-item.is-taken .gift-copy p:not(.gift-taken-note) {
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(90, 107, 66, 0.45);
  color: rgba(90, 107, 66, 0.72) !important;
}

.gift-item.is-taken .gift-media img {
  filter: grayscale(0.45) brightness(0.96);
}

.gift-item.is-filtered-out {
  display: none !important;
}

.gifts-empty-state {
  margin-top: 0.5rem;
  padding: 2.4rem 1.4rem;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.55);
}

.gifts-empty-state[hidden] {
  display: none !important;
}

.gifts-empty-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--olive-deep);
}

.gifts-empty-text {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.gift-flash {
  margin: 0 auto 1.5rem;
  max-width: 42rem;
  padding: 0.95rem 1.15rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
}

.gift-flash-success {
  background: rgba(143, 157, 104, 0.16);
  color: var(--olive-deep);
  border: 1px solid rgba(143, 157, 104, 0.28);
}

.gift-flash-error {
  background: rgba(138, 58, 58, 0.08);
  color: var(--error);
  border: 1px solid rgba(138, 58, 58, 0.18);
}

.companions-label-row {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.companions-help {
  margin: 0 0 0.85rem;
}

.companions-list {
  display: grid;
  gap: 0.75rem;
}

.companion-public-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
}

.companion-child-check {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 !important;
  font-size: 0.88rem;
  color: var(--ink-soft);
  white-space: nowrap;
}

.companion-child-check input {
  width: auto;
}

.btn-link {
  border: 0;
  background: transparent;
  color: var(--olive-deep);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.section-rsvp {
  background:
    linear-gradient(180deg, rgba(199, 208, 190, 0.12), transparent 42%);
}

.rsvp-container { width: min(100%, 720px); }

.rsvp-title {
  margin: 0 0 0.75rem;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.3rem, 5vw, 3.2rem);
  color: var(--olive-deep);
}

.rsvp-intro {
  margin: 0 auto 1.75rem;
  text-align: center;
  max-width: 34rem;
  color: var(--ink-soft);
}

.rsvp-form {
  background: #fff;
  border: 1px solid #d4dbe3;
  border-radius: 8px;
  padding: 48px 40px;
  box-shadow: 0 8px 30px rgba(36, 48, 40, 0.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 28px !important;
}

.form-group-confirmacao,
.form-group-qtd {
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.control-label {
  display: block;
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 14px;
  color: #2c2c2a;
}

.form-group-confirmacao .control-label,
.form-group-qtd .control-label {
  margin: 0;
  flex: 1;
  white-space: nowrap;
}

.control-label-subtitle {
  display: block;
  margin-top: 4px;
  font-weight: 400;
  font-size: 12px;
  color: #7a7a7a;
}

.control-field { width: 100%; }

.form-control {
  width: 100%;
  border: 1px solid #cfd6de;
  border-radius: 4px;
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: 0;
  border-color: var(--olive);
  box-shadow: 0 0 0 3px rgba(95, 110, 58, 0.15);
}

.confirmacao-options {
  display: flex;
  gap: 12px;
}

.radio-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #cfd6de;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  margin: 0 !important;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card span {
  font-weight: 600;
  text-transform: lowercase;
  color: #4a4a4a;
}

.radio-card:has(input:checked) {
  border-color: var(--olive);
  background: var(--olive-mist);
}

.radio-card:has(input:checked) span {
  color: var(--olive-deep);
}

.control-field-qtd { width: auto; }

.control-field-qtd .form-control {
  width: 96px;
}

.form-group-submit {
  margin-bottom: 0 !important;
  align-items: center;
}

.btn-rsvp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 16px 24px;
  background: var(--olive);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-rsvp:hover { background: var(--olive-deep); }

.rsvp-sent {
  text-align: center;
  padding: 40px 24px;
  border-radius: 8px;
  border: 1px solid #d4dbe3;
  background: #fff;
  animation: rise 0.7s ease both;
}

.rsvp-sent-text {
  margin: 0 0 0.5rem;
  color: var(--olive);
  font-size: 1.15rem;
  font-weight: 700;
}

.rsvp-sent-sub {
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
}

.alert {
  margin-bottom: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 8px;
}

.alert-error {
  background: rgba(138, 58, 58, 0.08);
  color: var(--error);
  border: 1px solid rgba(138, 58, 58, 0.18);
}

.alert ul { margin: 0; padding-left: 1.1rem; }

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 2rem;
}

.site-footer {
  padding: 2.8rem 1.25rem 3.2rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(232, 236, 224, 0.65));
}

.footer-names {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--olive-deep);
}

.footer-date {
  margin: 0.4rem 0 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes soft-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0;
    background: rgba(255, 253, 247, 0.98);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 0.85rem 1rem; }

  .hero { min-height: calc(100svh - 76px); padding-inline: 1rem; }
  .countdown { grid-template-columns: repeat(2, 1fr); }
  .ceremony-venue { grid-template-columns: 1fr; }
  .map-embed iframe { min-height: 280px; }

  .gift-list {
    grid-template-columns: 1fr;
  }

  .gift-copy h3 {
    font-size: 1.35rem;
  }

  .gifts-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .gifts-filters {
    width: 100%;
    justify-content: space-between;
  }

  .gift-open-claim,
  .gift-claim-row {
    max-width: none;
    width: 100%;
  }

  .gift-claim-row {
    flex-direction: column;
  }

  .companion-public-row {
    grid-template-columns: 1fr;
  }
  .invite-frames { grid-template-columns: 1fr; justify-items: center; }

  .rsvp-form { padding: 40px 24px; }

  .form-group-confirmacao,
  .form-group-qtd {
    flex-direction: column !important;
    align-items: flex-start;
  }

  .form-group-confirmacao .control-label,
  .form-group-qtd .control-label {
    margin: 0 0 24px;
    white-space: normal;
  }

  .confirmacao-options { width: 100%; }

  .control-field-qtd,
  .control-field-qtd .form-control {
    width: 100%;
  }
}
