﻿/* ==========================================================================
   PamÃªlla & Jakson â€” landing page
   Base em tokens.css (tokens, reset, botÃµes, campos, utilitÃ¡rios).
   OrganizaÃ§Ã£o:
   01. Estrutura e decoraÃ§Ãµes flutuantes
   02. NavegaÃ§Ã£o
   03. Hero
   04. VersÃ­culo
   05. Data e calendÃ¡rio
   06. Local
   07. ProgramaÃ§Ã£o
   08. Traje
   09. RSVP
   10. Presentes
   11. RodapÃ©
   12. Modais e checkout
   13. Toasts, estados e responsivo
   ========================================================================== */

/* 01. Estrutura e decoraÃ§Ãµes flutuantes
   ========================================================================== */

[hidden] {
  display: none !important;
}

body {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(171, 196, 171, 0.16), transparent 70%),
    var(--cream);
  overflow-x: clip;
}

.page {
  position: relative;
  overflow: clip;
}

main {
  display: block;
}

.decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Linha fina decorativa entre blocos */
.rule {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

/* 02. NavegaÃ§Ã£o
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
}

.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(251, 249, 244, 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  backdrop-filter: blur(16px) saturate(120%);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out),
    border-color var(--dur) var(--ease-out);
}

.nav.is-scrolled::before,
body.menu-open .nav::before {
  opacity: 1;
  border-bottom-color: var(--line-soft);
}

.nav__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}

.nav__brand img {
  height: 34px;
  width: auto;
  transition: opacity var(--dur) var(--ease-out);
}

.nav__brand:hover img {
  opacity: 0.72;
}

.nav__links ul {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}

.nav__links a {
  position: relative;
  display: inline-block;
  padding: 0.35rem 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color var(--dur) var(--ease-out);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--sage-600);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.nav__cta {
  min-height: 40px;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  transition: background var(--dur), border-color var(--dur);
}

.nav__toggle span {
  display: block;
  width: 17px;
  height: 1.4px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-out), opacity 0.2s;
}

.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.7px) rotate(-45deg);
}

.nav__progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1.5px;
  width: 100%;
  background: var(--sage-400);
  transform: scaleX(0);
  transform-origin: 0 50%;
  opacity: 0.85;
}

/* Menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-nav) - 1);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: calc(var(--nav-h) + 1.5rem) var(--gutter) 2rem;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(171, 196, 171, 0.2), transparent 70%),
    var(--cream);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: none;
}

.mobile-menu a:not(.btn) {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.1rem);
  color: var(--ink);
}

.mobile-menu .btn {
  margin-top: 0.5rem;
  width: 100%;
}

.mobile-menu__meta {
  margin-top: auto;
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

body.menu-open {
  overflow: hidden;
}

/* 03. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3rem, 6vw, 5rem);
  overflow: clip;
}

.hero__ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -18%;
  right: -12%;
  width: 780px;
  height: 780px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(171, 196, 171, 0.26), transparent 66%);
  filter: blur(6px);
}

.decor--hero-spray {
  top: 4%;
  right: -7%;
  width: min(30vw, 360px);
  opacity: 0.5;
  transform: rotate(7deg);
  animation: floatSlow 16s ease-in-out infinite;
}

.decor--hero-stem {
  bottom: -5%;
  left: -6%;
  width: min(23vw, 260px);
  opacity: 0.3;
  transform: rotate(-7deg);
  animation: floatSlow 19s ease-in-out infinite reverse;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  width: 100%;
}

.hero__copy {
  max-width: 620px;
}

.hero__eyebrow {
  letter-spacing: 0.34em;
}

.hero__title {
  margin: 1.1rem 0 1.3rem;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

.hero__title > span {
  display: inline-block;
}

.hero__amp {
  padding: 0 0.06em;
  font-style: italic;
  font-weight: 300;
  color: var(--sage-600);
  font-size: 0.82em;
  transform: translateY(-0.02em);
}

.hero__subtitle {
  max-width: 36ch;
  color: var(--text-soft);
  font-size: var(--fs-md);
  line-height: 1.75;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(1.6rem, 3vw, 2.3rem);
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__meta-item svg {
  width: 15px;
  height: 15px;
  color: var(--sage-600);
  flex: none;
}

.hero__meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sage-400);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.8rem, 3.2vw, 2.5rem);
}

.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: clamp(2.4rem, 5vw, 4rem);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__scroll-label {
  transition: color var(--dur);
}

.hero__scroll:hover .hero__scroll-label {
  color: var(--ink-2);
}

.hero__scroll-line {
  position: relative;
  width: 46px;
  height: 1px;
  background: var(--sage-200);
  overflow: hidden;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--sage-600);
  transform: translateX(-100%);
  animation: scrollLine 2.6s var(--ease-soft) infinite;
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: min(100%, 440px);
}

.hero__arch {
  position: relative;
  margin: 0;
  padding: 11px;
  background: var(--paper);
  border: 1px solid rgba(229, 224, 212, 0.8);
  border-radius: var(--radius-arch);
  box-shadow: var(--shadow-md);
}

.hero__arch img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: 999px 999px 15px 15px;
  filter: saturate(0.92) contrast(1.01);
}

.hero__badge {
  position: absolute;
  left: -2.6rem;
  bottom: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.9rem 1.1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.hero__badge img {
  height: 26px;
  width: auto;
}

.hero__badge-date {
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  color: var(--muted);
  white-space: nowrap;
}

.hero__badge-names {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--ink-2);
}

.decor--hero-bloom {
  right: -3rem;
  bottom: -4rem;
  width: min(38%, 168px);
  opacity: 0.55;
  transform: rotate(10deg);
  animation: floatSlow 13s ease-in-out infinite;
}

/* 04. VersÃ­culo
   ========================================================================== */

.verse {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  background: var(--sage-50);
  overflow: clip;
}

.verse::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(560px 320px at 50% 0%, rgba(255, 255, 255, 0.65), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.25), transparent 40%);
  pointer-events: none;
}

.verse__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  text-align: center;
}

.verse__inner .floral-divider {
  margin-bottom: 0.4rem;
}

.verse__text p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.15rem + 2.1vw, 2.75rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.36;
  color: var(--sage-800);
  max-width: 24ch;
  margin-inline: auto;
}

.verse__ref {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-style: normal;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.decor--verse {
  left: -11rem;
  bottom: -9rem;
  width: 420px;
  opacity: 0.35;
  transform: rotate(6deg);
}

/* 05. Data e calendÃ¡rio
   ========================================================================== */

.date {
  position: relative;
  padding: var(--section-y) 0;
  overflow: clip;
}

.date__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6.5rem);
}

.date__copy {
  max-width: 560px;
}

.date__copy .section-title {
  margin: 0.7rem 0 1rem;
}

.date__intro {
  max-width: 40ch;
}

.date__countdown-label {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 0.625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.5rem, 1.8vw, 1.3rem);
  margin-top: 2rem;
}

.countdown__unit {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 62px;
}

.countdown__value {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}

.countdown__label {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown__sep {
  width: 1px;
  height: 46px;
  margin-top: 0.35rem;
  background: var(--line);
}

.date__past {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 2.1rem;
}

.date__past-date {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.date__past-meta {
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.date__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 410px);
}

.calendar {
  position: relative;
  z-index: 1;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.calendar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line-soft);
}

.calendar__month {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
}

.calendar__year {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.calendar__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin: 1rem 0 0.35rem;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--muted);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar__day {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 50%;
  font-size: 0.8125rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.calendar__day--empty {
  visibility: hidden;
}

.calendar__day--special {
  background: var(--sage-400);
  color: var(--sage-900);
  box-shadow: 0 10px 22px -14px rgba(100, 127, 102, 0.9);
}

.calendar__day--special::after {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--sage-900);
  opacity: 0.45;
}

.calendar__foot {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.calendar__line {
  flex: 1;
  height: 1px;
  background: var(--line-soft);
}

.calendar__weekday {
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-700);
  white-space: nowrap;
}

.date__seal {
  position: absolute;
  right: -2.4rem;
  bottom: -2.4rem;
  width: 120px;
  opacity: 0.5;
  transform: rotate(-9deg);
  z-index: 0;
}

.decor--date {
  right: -9rem;
  top: 6%;
  width: 320px;
  opacity: 0.32;
  transform: rotate(4deg);
}

/* 06. Local
   ========================================================================== */

.locations {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--cream-2);
  overflow: clip;
}

.locations__head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.4rem, 3vw, 2.4rem);
}

.venue {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(229, 224, 212, 0.75);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.venue:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.venue__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--sage-50);
}

.venue__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}

.venue:hover .venue__media img {
  transform: scale(1.035);
}

.venue__fallback {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(320px 220px at 70% 20%, rgba(255, 255, 255, 0.7), transparent 70%),
    var(--sage-50);
}

.venue__fallback img {
  width: 34%;
  opacity: 0.34;
}

.venue__fallback-name {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem);
  font-style: italic;
  color: var(--sage-700);
  letter-spacing: 0.01em;
}

.venue__media.is-empty .venue__fallback {
  display: flex;
}

.venue__media.is-empty img[data-venue-image] {
  display: none;
}

.venue__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.45rem;
  padding: clamp(1.4rem, 2.6vw, 2rem);
}

.venue__kind {
  margin-bottom: 0.25rem;
  font-size: 0.5625rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.venue__kind::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  margin-right: 0.5rem;
  vertical-align: 2px;
  background: var(--sage-400);
}

.venue__name {
  max-width: 22ch;
  font-size: clamp(1.3rem, 1.1rem + 0.55vw, 1.65rem);
  font-weight: 400;
  line-height: 1.18;
}

.venue__time {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--ink-2);
}

.venue__time svg {
  width: 14px;
  height: 14px;
  color: var(--sage-600);
}

.venue__address {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.venue__note {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-3);
}

.venue__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-800);
}

.venue__link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--dur) var(--ease-out);
}

.venue__link:hover svg {
  transform: translateX(3px);
}

.venue__link[hidden] {
  display: none;
}

/* 07. ProgramaÃ§Ã£o
   ========================================================================== */

.schedule {
  position: relative;
  padding: var(--section-y) 0;
  background: var(--sage-50);
  overflow: clip;
}

.schedule .section-head {
  max-width: 620px;
}

.timeline {
  --time-w: 64px;
  --marker-w: 28px;
  --col-gap: 22px;
  position: relative;
  max-width: 700px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: calc(var(--time-w) + var(--col-gap) + (var(--marker-w) / 2));
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--sage-300) 12%, var(--sage-300) 88%, transparent);
}

.timeline__item {
  display: grid;
  grid-template-columns: var(--time-w) var(--marker-w) minmax(0, 1fr);
  gap: 0 var(--col-gap);
  padding: 1.15rem 0;
}

.timeline__time {
  padding-top: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-align: right;
  color: var(--sage-700);
  font-variant-numeric: tabular-nums;
}

.timeline__marker {
  display: flex;
  justify-content: center;
  padding-top: 0.55rem;
}

.timeline__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border: 1px solid var(--sage-600);
  border-radius: 50%;
  background: var(--sage-50);
  box-shadow: 0 0 0 4px var(--sage-50);
}

.timeline__item:last-child .timeline__dot {
  background: var(--sage-400);
  border-color: var(--sage-400);
}

.timeline__content {
  padding-bottom: 0.4rem;
}

.timeline__content h3 {
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.timeline__content p {
  max-width: 46ch;
  margin-top: 0.3rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-3);
}

.decor--schedule {
  right: -12rem;
  bottom: -8rem;
  width: 420px;
  opacity: 0.28;
  transform: rotate(-8deg);
}

/* 08. Traje
   ========================================================================== */

.dress {
  position: relative;
  padding: var(--section-y) 0;
  overflow: clip;
}

.dress__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.dress__copy {
  max-width: 590px;
}

.dress__copy .section-title {
  margin: 0.7rem 0 1rem;
}

.dress__highlight {
  position: relative;
  max-width: 560px;
  margin: clamp(1.8rem, 3.5vw, 2.4rem) 0 1.8rem;
  padding: 1.4rem 3.4rem 1.4rem 1.6rem;
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-left: 2px solid var(--sage-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.dress__highlight h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--sage-900);
}

.dress__highlight p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--ink-3);
}

.dress__highlight-mark {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: var(--sage-600);
  opacity: 0.75;
}

.dress__highlight-mark img {
  width: 22px;
  height: 22px;
}

.dress__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.dress__list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-2);
}

.dress__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.55rem;
  border: 1px solid var(--sage-500);
  border-radius: 50%;
}

.dress__palette-wrap {
  margin-bottom: 2.2rem;
}

.dress__palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.dress__palette-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.dress__palette-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--cream), 0 0 0 5px var(--line);
}

.dress__palette-name {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  max-width: 76px;
}

.dress__cta {
  align-self: flex-start;
}

.dress__visual {
  position: relative;
  justify-self: center;
  width: min(100%, 380px);
}

.dress__frame {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  overflow: hidden;
  background:
    radial-gradient(280px 220px at 50% 0%, rgba(255, 255, 255, 0.8), transparent 75%),
    var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 190px 190px var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.dress__frame img {
  width: auto;
  height: min(48vh, 380px);
  max-width: 100%;
  object-fit: contain;
}

.dress__frame-caption {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
}

.dress__frame-label {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--sage-900);
}

.dress__frame-sub {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.dress__swatch-card {
  position: absolute;
  left: -1.6rem;
  bottom: 2.2rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.dress__swatch {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--sage-400);
}

.dress__swatch-card strong {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--ink);
}

.dress__swatch-card small {
  font-size: 0.5625rem;
  color: var(--muted);
}

.decor--dress {
  right: -8rem;
  bottom: -5rem;
  width: 260px;
  opacity: 0.3;
  transform: rotate(9deg);
}

/* 09. RSVP
   ========================================================================== */

.rsvp {
  position: relative;
  padding: var(--section-y) 0;
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--sage-100) 100%);
  overflow: clip;
}

.rsvp__card {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: clamp(2.2rem, 4vw, 3rem) auto 0;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  background: var(--paper);
  border: 1px solid rgba(229, 224, 212, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.rsvp__deadline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-700);
  text-align: center;
}

.rsvp__deadline:empty {
  display: none;
}

.rsvp__deadline svg {
  width: 14px;
  height: 14px;
}

.rsvp__embed iframe {
  width: 100%;
  min-height: 820px;
  border: 0;
  border-radius: 12px;
  background: var(--cream);
}

.rsvp__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: clamp(2.5rem, 6vw, 4rem) 1rem;
  text-align: center;
}

.rsvp__empty[hidden] {
  display: none;
}

.rsvp__empty img {
  width: 112px;
  opacity: 0.5;
}

.rsvp__empty p {
  max-width: 42ch;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-3);
}

.rsvp__note {
  margin-top: 1.3rem;
  font-size: 0.75rem;
  line-height: 1.6;
  text-align: center;
  color: var(--muted);
}

.rsvp__note:empty {
  display: none;
}

.decor--rsvp {
  right: -8rem;
  top: 8%;
  width: 300px;
  opacity: 0.3;
  transform: rotate(-6deg);
}

/* 10. Presentes
   ========================================================================== */

.gifts {
  position: relative;
  padding: var(--section-y) 0;
  overflow: clip;
}

.gifts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 1.8rem);
  margin-top: clamp(2.4rem, 4.5vw, 3.4rem);
}

.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease-out);
}

.gift-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gift-card__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 1.4rem;
  overflow: hidden;
  background:
    radial-gradient(240px 180px at 50% 30%, rgba(255, 255, 255, 0.85), transparent 72%),
    linear-gradient(155deg, var(--sage-50), var(--cream-2));
}

.gift-card__media img {
  width: 78%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s var(--ease-out);
}

.gift-card:hover .gift-card__media img {
  transform: scale(1.045);
}

.gift-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.3rem 0.6rem;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-800);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.gift-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.2rem 1.25rem 1.3rem;
}

.gift-card__name {
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.2;
}

.gift-card__desc {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--muted);
}

.gift-card__quota {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.gift-card__bar {
  height: 3px;
  overflow: hidden;
  background: var(--sage-100);
  border-radius: 3px;
}

.gift-card__bar span {
  display: block;
  height: 100%;
  background: var(--sage-500);
  border-radius: 3px;
  transition: width 0.7s var(--ease-out);
}

.gift-card__stock {
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.gift-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.9rem;
}

.gift-card__price strong {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.gift-card__price small {
  font-size: 0.6875rem;
  color: var(--muted);
}

.gift-card__action {
  width: 100%;
  margin-top: 0.9rem;
}

.gift-card--sold {
  opacity: 0.66;
  filter: grayscale(0.45);
}

.gift-card--sold:hover {
  transform: none;
  box-shadow: var(--shadow-xs);
}

.gift-card--sold .gift-card__media img {
  filter: grayscale(1);
  opacity: 0.55;
}

.gift-card--sold .gift-card__action {
  display: none;
}

.gift-card__sold-tag {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-2);
  background: rgba(251, 249, 244, 0.94);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  box-shadow: var(--shadow-xs);
}

.gifts__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 3rem 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

.gifts__empty[hidden] {
  display: none;
}

.gifts__empty img {
  width: 26px;
  opacity: 0.6;
}

.gifts__checkout-note {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.55rem;
  max-width: 640px;
  margin: 2.6rem auto 0;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
}

.gifts__checkout-note svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.12rem;
  color: var(--sage-600);
}

.decor--gifts {
  left: -10rem;
  bottom: -7rem;
  width: 380px;
  opacity: 0.24;
  transform: rotate(7deg);
}

/* 11. RodapÃ©
   ========================================================================== */

.footer {
  position: relative;
  padding: clamp(4rem, 8vw, 6rem) 0 2.5rem;
  overflow: clip;
  color: var(--cream);
  background:
    radial-gradient(700px 380px at 50% 0%, rgba(171, 196, 171, 0.14), transparent 70%),
    var(--sage-800);
  text-align: center;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.footer__logo {
  width: auto;
  height: 74px;
  opacity: 0.95;
  filter: drop-shadow(0 10px 26px rgba(20, 30, 22, 0.35));
}

.footer__message {
  max-width: 36ch;
  margin-top: 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--cream);
}

.footer__signature {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--sage-200);
}

.footer__note {
  font-size: 0.625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, 0.55);
}

.footer__hashtag {
  padding-bottom: 0.15rem;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--sage-200);
  border-bottom: 1px solid rgba(251, 249, 244, 0.25);
}

.footer__hashtag:hover {
  color: var(--cream);
  border-color: rgba(251, 249, 244, 0.5);
}

.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  margin-top: 2.2rem;
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  color: rgba(251, 249, 244, 0.42);
}

.footer__admin {
  transition: color var(--dur);
}

.footer__admin:hover {
  color: rgba(251, 249, 244, 0.8);
}

.floral-divider--light {
  color: var(--sage-300);
}

.floral-divider--light::before {
  background: linear-gradient(90deg, transparent, rgba(200, 217, 194, 0.4));
}

.floral-divider--light::after {
  background: linear-gradient(90deg, rgba(200, 217, 194, 0.4), transparent);
}

.decor--footer {
  left: 50%;
  bottom: -10rem;
  width: min(90vw, 900px);
  opacity: 0.09;
  transform: translateX(-50%);
}

/* 12. Modais e checkout
   ========================================================================== */

.modal {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: none;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 1.25rem;
  background: transparent;
  border: 0;
}

.modal[open] {
  display: grid;
  place-items: center;
}

.modal::backdrop {
  background: rgba(40, 47, 40, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal__panel {
  position: relative;
  width: min(100%, 760px);
  max-height: 88vh;
  max-height: 88dvh;
  overflow: auto;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.35s var(--ease-out);
  overscroll-behavior: contain;
}

.modal--gift .modal__panel {
  width: min(100%, 620px);
}

.modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}

.modal__title {
  margin-top: 0.35rem;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.modal__close {
  display: grid;
  flex: none;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}

.modal__close:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--sage-300);
}

.modal__close svg {
  width: 17px;
  height: 17px;
}

/* Modal de trajes */
.dress-modal__tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}

.dress-modal__tabs::-webkit-scrollbar {
  display: none;
}

.dress-modal__tab {
  padding: 0.7rem 1rem;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}

.dress-modal__tab[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--sage-400);
}

.dress-modal__body {
  min-height: 320px;
}

.dress-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.dress-modal__figure {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
}

.dress-modal__figure img {
  width: auto;
  max-width: 100%;
  height: 230px;
  object-fit: contain;
}

.dress-modal__figure--placeholder {
  min-height: 230px;
  padding: 2rem;
  background:
    radial-gradient(220px 180px at 50% 40%, rgba(255, 255, 255, 0.9), transparent 75%),
    var(--sage-50);
  border-style: dashed;
}

.dress-modal__figure--placeholder img {
  width: 90px;
  height: auto;
  opacity: 0.45;
}

.dress-modal__title {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.dress-modal__text {
  max-width: 60ch;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-3);
}

.dress-modal__palette {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.dress-modal__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem 0.3rem 0.35rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.dress-modal__chip span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(44, 50, 44, 0.08);
}

.dress-modal__note {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--line-soft);
}

/* Modal de presente */
.gift-checkout__summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  padding-bottom: 1.4rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}

.gift-checkout__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  padding: 0.8rem;
  background: linear-gradient(155deg, var(--sage-50), var(--cream-2));
  border-radius: var(--radius-sm);
}

.gift-checkout__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gift-checkout__info h3 {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.gift-checkout__info p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.gift-checkout__price {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--ink);
}

.gift-checkout__price small {
  font-size: 0.6875rem;
  font-weight: 300;
  color: var(--muted);
}

.gift-checkout__form {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.gift-checkout__quantity {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gift-checkout__quantity[hidden] {
  display: none;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  padding: 0.3rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}

.stepper__btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  color: var(--ink-2);
  border-radius: 50%;
  transition: background var(--dur), color var(--dur);
}

.stepper__btn:hover {
  background: var(--sage-100);
  color: var(--ink);
}

.stepper__input {
  width: 48px;
  padding: 0.2rem 0;
  font-size: 0.9375rem;
  text-align: center;
  color: var(--ink);
  background: transparent;
  border: 0;
  -moz-appearance: textfield;
  font-variant-numeric: tabular-nums;
}

.stepper__input::-webkit-outer-spin-button,
.stepper__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.gift-checkout__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.gift-checkout__fields .field:first-child,
.gift-checkout__fields .field:nth-child(2) {
  grid-column: auto;
}

.gift-checkout__fields .field:last-child {
  grid-column: 1 / -1;
}

.gift-checkout__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--muted);
}

.gift-checkout__note svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 0.15rem;
  color: var(--sage-600);
}

.gift-checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.form-error {
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #7e3d37;
  background: #faf0ee;
  border: 1px solid #ecd5d1;
  border-radius: var(--radius-xs);
}

.form-error[hidden] {
  display: none;
}

.gift-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0.5rem 0.5rem;
  text-align: center;
}

.gift-success[hidden] {
  display: none;
}

.gift-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--sage-800);
  background: var(--sage-100);
  border-radius: 50%;
}

.gift-success__icon svg {
  width: 30px;
  height: 30px;
}

.gift-success h3 {
  font-size: 1.8rem;
}

.gift-success p {
  max-width: 40ch;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-3);
}

/* 13. Toasts, estados e responsivo
   ========================================================================== */

.toast-region {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  z-index: var(--z-toast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  width: min(92vw, 480px);
  pointer-events: none;
  transform: translateX(-50%);
}

.toast {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--cream);
  background: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  pointer-events: auto;
  animation: toastIn 0.35s var(--ease-out);
}

.toast svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
}

.toast--success {
  background: var(--sage-800);
}

.toast--error {
  background: #7e3d37;
}

.toast--info {
  background: var(--ink);
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.noscript {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: var(--z-toast);
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  color: var(--cream);
  background: var(--ink);
  border-radius: 12px;
  text-align: center;
}

/* Barra de rolagem discreta */
@supports (scrollbar-width: thin) {
  html {
    scrollbar-width: thin;
    scrollbar-color: var(--sage-300) transparent;
  }
}

/* ------------------------- Estados auxiliares -------------------------- */

.load-error {
  position: fixed;
  inset: 0 0 auto;
  z-index: var(--z-toast);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  color: #6f3a34;
  background: #faf0ee;
  border-bottom: 1px solid #ecd5d1;
}

.load-error p {
  margin: 0;
}

.gift-card__media img.is-fallback {
  width: 34%;
  height: auto;
  opacity: 0.4;
}

.dress-modal__figure--placeholder {
  grid-column: 1 / -1;
}

.floral-divider--light img {
  opacity: 0.8;
  filter: brightness(3.2) saturate(0.4);
}

/* ----------------------------- Keyframes ------------------------------- */

@keyframes floatSlow {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 -14px;
    rotate: 1.5deg;
  }
}

@keyframes scrollLine {
  0% {
    transform: translateX(-100%);
  }
  55%,
  100% {
    transform: translateX(100%);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ----------------------------- Responsivo ------------------------------ */

@media (max-width: 1080px) {
  .nav__links {
    display: none;
  }

  .nav__toggle {
    display: inline-flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 3.5rem);
    padding-bottom: 4.5rem;
  }

  .hero__grid {
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .hero__visual {
    width: min(100%, 400px);
  }

  .dress__swatch-card {
    left: -1rem;
  }

  .decor--hero-spray {
    right: -12%;
    opacity: 0.38;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(2.8rem, 7vw, 4rem);
  }

  .hero__copy {
    max-width: 640px;
  }

  .hero__title {
    font-size: clamp(3rem, 10vw, 4.6rem);
  }

  .hero__visual {
    justify-self: center;
    width: min(100%, 390px);
  }

  .hero__badge {
    left: -1.4rem;
    bottom: 1.8rem;
  }

  .decor--hero-bloom {
    right: -1.5rem;
    bottom: -2.5rem;
    width: 120px;
  }

  .hero__scroll {
    margin-top: 2.6rem;
  }

  .date__grid,
  .dress__grid {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 4rem);
  }

  .date__visual,
  .dress__visual {
    justify-self: start;
  }

  .date__copy,
  .dress__copy {
    max-width: 640px;
  }

  .dress__visual {
    justify-self: center;
    width: min(100%, 360px);
  }

  .locations__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .gifts__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decor--date,
  .decor--rsvp,
  .decor--dress {
    opacity: 0.22;
  }

  .decor--verse {
    opacity: 0.25;
  }

  .footer__meta {
    gap: 1rem;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 68px;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero__title {
    font-size: clamp(2.75rem, 12.5vw, 3.7rem);
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__meta {
    gap: 0.7rem;
    font-size: 0.625rem;
    letter-spacing: 0.14em;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__badge {
    left: 0.8rem;
    bottom: 1rem;
    padding: 0.7rem 0.9rem;
  }

  .hero__badge img {
    height: 22px;
  }

  .decor--hero-spray {
    top: 2%;
    right: -22%;
    width: 240px;
    opacity: 0.28;
  }

  .decor--hero-stem {
    display: none;
  }

  .hero__scroll {
    display: none;
  }

  .countdown {
    gap: 0.45rem;
  }

  .countdown__unit {
    min-width: 52px;
  }

  .countdown__value {
    font-size: clamp(1.9rem, 8vw, 2.4rem);
  }

  .date__seal {
    display: none;
  }

  .decor--date,
  .decor--verse {
    opacity: 0.18;
  }

  .locations {
    padding-inline: 0;
  }

  .timeline {
    --time-w: 48px;
    --marker-w: 20px;
    --col-gap: 14px;
  }

  .timeline__content h3 {
    font-size: 1.2rem;
  }

  .timeline__content p {
    font-size: 0.82rem;
  }

  .timeline__time {
    font-size: 0.6875rem;
  }

  .dress__highlight {
    padding-right: 1.4rem;
  }

  .dress__highlight-mark {
    display: none;
  }

  .dress__visual {
    width: min(100%, 330px);
  }

  .dress__swatch-card {
    left: auto;
    right: -0.6rem;
    bottom: 1.2rem;
  }

  .gifts__grid {
    grid-template-columns: 1fr;
  }

  .rsvp__embed iframe {
    min-height: 980px;
  }

  .rsvp__card {
    padding: 1rem;
  }

  .modal {
    padding: 0;
  }

  .modal[open] {
    align-items: end;
  }

  .modal__panel {
    width: 100%;
    max-height: 92dvh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 1.4rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom));
  }

  .modal--dress .modal__grid {
    grid-template-columns: 1fr;
  }

  .dress-modal__grid {
    grid-template-columns: 1fr;
  }

  .dress-modal__figure img {
    height: 200px;
  }

  .gift-checkout__summary {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.9rem;
  }

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

  .gift-checkout__actions {
    flex-direction: column-reverse;
  }

  .gift-checkout__actions .btn {
    width: 100%;
  }

  .footer__logo {
    height: 60px;
  }

  .decor--footer {
    bottom: -6rem;
  }

  .toast-region {
    bottom: 1rem;
  }
}

@media (max-width: 400px) {
  .hero__eyebrow {
    letter-spacing: 0.24em;
  }

  .hero__title {
    font-size: 2.55rem;
  }

  .countdown__unit {
    min-width: 46px;
  }

  .countdown__sep {
    height: 38px;
  }

  .locations__grid,
  .gifts__grid {
    gap: 1rem;
  }
}

/* Em telas baixas, o hero nÃ£o forÃ§a 100vh */
@media (max-height: 720px) and (min-width: 901px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + 2.5rem);
    padding-bottom: 3.5rem;
  }

  .hero__scroll {
    display: none;
  }
}

/* ==========================================================================
   ExperiÃªncia mobile e novas seÃ§Ãµes (RSVP em modal, loja, recados)
   ========================================================================== */

/* Hero e navegaÃ§Ã£o centralizados no mobile ------------------------------- */

@media (max-width: 900px) {
  .nav__inner {
    justify-content: center;
  }

  .nav__brand img {
    height: 46px;
  }

  .nav__actions {
    position: absolute;
    right: var(--gutter);
    top: 50%;
    transform: translateY(-50%);
  }

  .hero__copy {
    text-align: center;
    margin-inline: auto;
  }

  .hero__eyebrow {
    justify-content: center;
  }

  .hero__title {
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__meta {
    justify-content: center;
  }

  .hero__visual {
    margin-inline: auto;
  }

  .hero__badge {
    display: none;
  }
}

@media (max-width: 680px) {
  :root {
    --nav-h: 72px;
  }

  .nav__brand img {
    height: 58px;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 2rem);
  }

  .hero__title {
    font-size: clamp(2.8rem, 13vw, 3.8rem);
  }

  .hero__actions {
    align-items: stretch;
  }

  .hero__meta {
    flex-direction: column;
    gap: 0.45rem;
    max-width: 30ch;
    margin-inline: auto;
  }

  .hero__meta-dot {
    display: none;
  }

  .hero__visual {
    width: min(100%, 330px);
  }

  .hero__arch {
    padding: 9px;
  }

  .decor--hero-spray {
    top: 3%;
    right: -18%;
    width: 220px;
    opacity: 0.24;
  }

  .decor--hero-bloom {
    right: -1rem;
    bottom: -2.2rem;
    width: 104px;
    opacity: 0.4;
  }

  /* SeÃ§Ã£o de data centralizada no mobile */
  .date__copy {
    text-align: center;
  }

  .date__intro,
  .date__past {
    margin-inline: auto;
  }

  .date__past {
    align-items: center;
  }

  .countdown {
    justify-content: center;
  }

  .date__visual {
    width: min(100%, 312px);
  }

  .date__copy .section-title {
    text-align: center;
  }

  /* CalendÃ¡rio compacto */
  .calendar {
    padding: 1rem 1.05rem;
  }

  .calendar__month {
    font-size: 1.25rem;
  }

  .calendar__grid {
    gap: 2px;
  }

  .calendar__day {
    font-size: 0.72rem;
  }

  .calendar__week {
    margin-top: 0.8rem;
    font-size: 0.5rem;
  }

  .calendar__foot {
    margin-top: 1rem;
  }

  /* ProgramaÃ§Ã£o com texto um pouco maior */
  .timeline__content h3 {
    font-size: 1.38rem;
  }

  .timeline__content p {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .timeline__time {
    font-size: 0.75rem;
  }

  .timeline__item {
    padding: 1.3rem 0;
  }

  /* Presentes: primeiros cartÃµes inline, restante na loja */
  .gifts__grid .gift-card:nth-child(n + 5) {
    display: none;
  }

  .gifts__shop-cta {
    display: flex;
    justify-content: center;
    margin-top: 1.6rem;
  }
}

/* AnimaÃ§Ã£o do calendÃ¡rio -------------------------------------------------- */

.calendar__day {
  transition: opacity 0.7s var(--ease-out), color 0.4s var(--ease-out);
}

.calendar__day--special {
  position: relative;
  z-index: 1;
}

.calendar__day--special::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid var(--sage-500);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

.date__visual.is-visible .calendar__day:not(.calendar__day--special) {
  opacity: 0.46;
}

.date__visual.is-visible .calendar__day--special {
  animation: calendarDayPop 0.95s cubic-bezier(0.2, 0.75, 0.25, 1) 0.2s both;
}

.date__visual.is-visible .calendar__day--special::before {
  animation: calendarRing 2.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.45s both;
}

.calendar:hover .calendar__day {
  opacity: 1;
}

@keyframes calendarDayPop {
  0% {
    transform: scale(0.55);
    opacity: 0;
  }
  55% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes calendarRing {
  0% {
    opacity: 0;
    transform: scale(0.55);
  }
  45% {
    opacity: 0.85;
  }
  100% {
    opacity: 0.32;
    transform: scale(1.22);
  }
}

/* RSVP em modal ----------------------------------------------------------- */

.rsvp__card--cta {
  max-width: 720px;
  margin-inline: auto;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}

.rsvp__prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.rsvp__ornament {
  display: inline-flex;
  color: var(--sage-600);
  opacity: 0.85;
}

.rsvp__prompt-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  line-height: 1.25;
  color: var(--ink);
}

.rsvp__prompt-text {
  max-width: 34ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
}

.rsvp__fallback {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-700);
  border-bottom: 1px solid var(--sage-300);
}

.modal--rsvp .modal__panel {
  width: min(100%, 760px);
}

.rsvp-modal__deadline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-700);
  text-align: center;
}

.rsvp-modal__deadline:empty {
  display: none;
}

.rsvp-modal__deadline svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--sage-600);
}

.rsvp-modal__google iframe {
  width: 100%;
  height: min(68vh, 720px);
  border: 0;
  border-radius: 12px;
  background: var(--cream);
}

.rsvp-modal__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
  text-align: center;
}

.rsvp-modal__empty[hidden] {
  display: none;
}

.rsvp-modal__empty img {
  width: 100px;
  opacity: 0.45;
}

.rsvp-modal__empty p {
  max-width: 40ch;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-3);
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rsvp-form[hidden] {
  display: none;
}

.rsvp-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.rsvp-form__grid .field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rsvp-form__grid .field--span {
  grid-column: 1 / -1;
}

.rsvp-form__error {
  padding: 0.7rem 0.9rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #7d3f38;
  background: #fbf0ed;
  border: 1px solid #e7c7c1;
  border-radius: 10px;
}

.rsvp-form__error[hidden] {
  display: none;
}

.rsvp-form__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.6rem;
}

.rsvp-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 0.5rem 0.6rem;
  text-align: center;
}

.rsvp-success[hidden] {
  display: none;
}

.rsvp-success__icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--sage-800);
  background: var(--sage-100);
  border-radius: 50%;
}

.rsvp-success__icon svg {
  width: 30px;
  height: 30px;
}

.rsvp-success h3 {
  font-size: 1.7rem;
  font-weight: 400;
}

.rsvp-success p {
  max-width: 40ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.rsvp-modal__note {
  margin-top: 1.1rem;
  padding-top: 1rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line-soft);
}

.rsvp-modal__note:empty {
  display: none;
}

@media (max-width: 680px) {
  .rsvp-form__grid {
    grid-template-columns: 1fr;
  }

  .rsvp-form__actions {
    flex-direction: column-reverse;
  }

  .rsvp-form__actions .btn {
    width: 100%;
  }

  .rsvp-modal__google iframe {
    height: 72dvh;
  }
}

/* Loja de presentes em modal --------------------------------------------- */

.gifts__shop-cta {
  display: none;
  margin-top: 1.8rem;
}

.gifts__shop-cta svg {
  width: 16px;
  height: 16px;
}

.modal--shop .modal__panel {
  width: min(100%, 980px);
}

.shop__hint {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}

.shop-empty {
  grid-column: 1 / -1;
  padding: 2.5rem 1rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  text-align: center;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.shop-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
  box-shadow: var(--shadow-xs);
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.shop-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.shop-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 0.9rem;
  background: linear-gradient(160deg, var(--sage-50), var(--cream-2));
}

.shop-card__media img {
  width: 72%;
  height: 100%;
  object-fit: contain;
}

.shop-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem 0.9rem;
}

.shop-card__name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--ink);
}

.shop-card__price {
  font-size: 0.8rem;
  color: var(--ink-2);
}

.shop-card__stock {
  font-size: 0.5625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.shop-card--sold {
  opacity: 0.6;
  cursor: default;
}

.shop-card--sold:hover {
  transform: none;
  box-shadow: var(--shadow-xs);
}

.shop-card--sold .shop-card__media img {
  filter: grayscale(1);
  opacity: 0.5;
}

@media (max-width: 680px) {
  .gifts__shop-cta {
    display: flex;
  }

  .shop__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .shop-card__media {
    padding: 0.6rem;
  }

  .shop-card__body {
    padding: 0.6rem 0.65rem 0.8rem;
  }

  .shop-card__name {
    font-size: 0.98rem;
  }

  .modal--shop .modal__panel {
    height: 92dvh;
    max-height: 92dvh;
  }
}

/* Recado para o casal ----------------------------------------------------- */

.message-cta {
  position: relative;
  padding: var(--section-y) 0;
  overflow: clip;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(255, 255, 255, 0.7), transparent 70%),
    var(--sage-50);
  text-align: center;
}

.message-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.message-cta__ornament {
  display: inline-flex;
  color: var(--sage-600);
  opacity: 0.85;
}

.message-cta .section-title {
  max-width: 22ch;
}

.message-cta .section-copy {
  max-width: 48ch;
}

.message-cta .btn {
  margin-top: 0.6rem;
}

@media (max-width: 680px) {
  .message-cta .btn {
    max-width: 100%;
    padding-inline: 1.2rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    line-height: 1.4;
    white-space: normal;
  }
}

.decor--message {
  right: -10rem;
  bottom: -6rem;
  width: 360px;
  opacity: 0.25;
  transform: rotate(-6deg);
}

/* ==========================================================================
   Rodada 3 â€” agenda, mapa em modal, traje compacto, loja persistente e RSVP
   ========================================================================== */

/* Data: calendÃ¡rio mais compacto, centralizado e clicÃ¡vel ------------------ */
.date__visual {
  width: min(100%, 370px);
}

.calendar {
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
}

.calendar__month {
  font-size: 1.45rem;
}

.calendar__day--special {
  border: 0;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.calendar__day--special:focus-visible {
  outline: 2px solid var(--sage-700);
  outline-offset: 3px;
}

.date__save {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  padding: 0.55rem 0;
  font-family: var(--font-sans);
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-800);
  border-bottom: 1px solid var(--sage-300);
  transition: color var(--dur), border-color var(--dur);
}

.date__save svg {
  width: 16px;
  height: 16px;
  color: var(--sage-600);
}

.date__save:hover {
  color: var(--ink);
  border-color: var(--sage-600);
}

.modal__panel--narrow {
  width: min(100%, 540px);
}

.calendar-save {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.2rem;
  margin-bottom: 1.2rem;
  text-align: center;
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-md);
}

.calendar-save__event {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}

.calendar-save__meta {
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-700);
}

.calendar-save__location {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-3);
}

.calendar-save__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.calendar-save__hint {
  margin-top: 1rem;
  font-size: 0.7rem;
  text-align: center;
  color: var(--muted);
}

/* Mapa em modal ------------------------------------------------------------ */
.modal--map .modal__panel {
  width: min(100%, 740px);
}

.map__address {
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-3);
}

.map__frame {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--sage-50);
  border: 1px solid var(--line-soft);
  border-radius: 14px;
}

.map__frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.9rem;
}

/* Traje compacto ----------------------------------------------------------- */
.dress--compact {
  padding: clamp(3.2rem, 6vw, 5rem) 0;
}

.dress__compact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.dress__compact .dress__copy {
  max-width: 620px;
}

.dress__compact .dress__highlight {
  margin: 1.4rem 0 0;
  padding: 1.1rem 1.3rem;
}

.dress__compact .dress__highlight p {
  font-size: 0.82rem;
}

.dress__visual--compact {
  width: min(100%, 270px);
  justify-self: center;
}

.dress__frame--compact {
  gap: 0.8rem;
  padding: 1.1rem;
  border-radius: 160px 160px var(--radius-md) var(--radius-md);
}

.dress__frame--compact img {
  height: min(34vh, 250px);
}

.dress__frame--compact .dress__frame-label {
  font-size: 1.2rem;
}

.dress__actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.dress__actions .dress__cta {
  align-self: auto;
}

.dress--compact .decor--dress {
  width: 190px;
  opacity: 0.22;
}

/* Loja persistente e compacta --------------------------------------------- */
.gifts__shop-cta {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.modal--shop .modal__panel {
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  overflow-y: auto;
  background: var(--cream);
  border: 0;
  border-radius: 0;
}

.modal--shop .modal__head {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 1rem var(--gutter);
  margin: 0;
  background: rgba(251, 249, 244, 0.94);
  border-bottom: 1px solid var(--line-soft);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.modal--shop .modal__title {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
}

.shop__head-actions {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 0.55rem;
}

.shop__close-label {
  padding: 0.4rem 0.85rem;
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color var(--dur), color var(--dur);
}

.shop__close-label:hover {
  color: var(--ink);
  border-color: var(--sage-400);
}

.shop__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 860px;
  margin: 1.2rem auto 2.5rem;
  padding-inline: var(--gutter);
}

.shop-card {
  border-radius: 14px;
}

.shop-card__media {
  aspect-ratio: 4 / 3;
  padding: 0.65rem;
}

.shop-card__media img {
  width: 70%;
}

.shop-card__body {
  gap: 0.1rem;
  padding: 0.6rem 0.7rem 0.75rem;
}

.shop-card__name {
  font-size: 1rem;
}

.shop-card__price {
  font-size: 0.74rem;
}

.shop-card__stock {
  font-size: 0.5rem;
}

@media (max-width: 900px) {
  .dress__compact {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dress__compact .dress__copy {
    text-align: center;
    margin-inline: auto;
  }

  .dress__compact .dress__highlight {
    text-align: left;
  }

  .dress__visual--compact {
    width: min(100%, 235px);
  }

  .dress__frame--compact img {
    height: 210px;
  }
}

@media (max-width: 680px) {
  .date__visual {
    width: min(100%, 300px);
  }

  .calendar {
    padding: 1rem 1.1rem;
  }

  .calendar__month {
    font-size: 1.2rem;
  }

  .calendar__day {
    font-size: 0.7rem;
  }

  .date__save {
    margin-inline: auto;
  }

  .shop__grid {
    gap: 0.65rem;
  }

  .shop-card__name {
    font-size: 0.92rem;
  }

  .shop-card__price {
    font-size: 0.7rem;
  }

  .modal--shop .modal__head {
    padding: 0.85rem var(--gutter);
  }

  .shop__hint {
    display: none;
  }

  .map__frame {
    aspect-ratio: 4 / 3;
  }

  .calendar-save__actions .btn {
    width: 100%;
  }
}

/* RSVP por cÃ³digo de convite ---------------------------------------------- */
.rsvp-code__intro {
  max-width: 44ch;
  margin: 0 auto 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-3);
  text-align: center;
}

.rsvp-code__row {
  display: flex;
  gap: 0.6rem;
  align-items: stretch;
}

.rsvp-code__row .input {
  flex: 1;
  min-width: 0;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  text-align: center;
}

.rsvp-code__row .btn {
  flex: none;
  min-height: 48px;
}

.rsvp-invite {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.rsvp-invite[hidden] {
  display: none;
}

.rsvp-invite__head {
  text-align: center;
}

.rsvp-invite__title {
  margin: 0.3rem 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1.15;
  color: var(--ink);
}

.rsvp-invite__status {
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
}

.rsvp-invite__status.is-confirmed {
  color: var(--sage-700);
}

.rsvp-members-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.2rem;
}

.rsvp-members-toggle {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-700);
  border-bottom: 1px solid var(--sage-300);
}

.rsvp-members {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.rsvp-member {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color var(--dur), background var(--dur);
}

.rsvp-member:hover {
  border-color: var(--sage-300);
  background: var(--cream-2);
}

.rsvp-member input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage-600);
  flex: none;
}

.rsvp-member__name {
  flex: 1;
}

.rsvp-member__badge {
  padding: 0.15rem 0.5rem;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-800);
  background: var(--sage-100);
  border-radius: var(--radius-pill);
}

.rsvp-invite__summary {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--sage-700);
  text-align: center;
}

.rsvp-success__summary {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--sage-800);
}

.rsvp-form__actions--center {
  justify-content: center;
}

@media (max-width: 680px) {
  .rsvp-code__row {
    flex-direction: column;
  }

  .rsvp-code__row .btn {
    width: 100%;
  }

  .rsvp-members-head {
    align-items: flex-start;
  }

  .modal--rsvp .modal__panel {
    max-height: 94dvh;
  }
}

/* ==========================================================================
   Rodada 4 â€” prÃ©via de presentes compacta (2 colunas) e seletor do RSVP
   ========================================================================== */

.gifts__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  margin-top: clamp(1.8rem, 3.5vw, 2.6rem);
}

.gift-card--compact {
  border-radius: 14px;
  cursor: pointer;
}

.gift-card--compact:focus-visible {
  outline: 2px solid var(--sage-700);
  outline-offset: 3px;
}

.gift-card--compact .gift-card__media {
  aspect-ratio: 4 / 3;
  padding: 0.65rem;
}

.gift-card--compact .gift-card__media img {
  width: 70%;
  height: auto;
}

.gift-card--compact .gift-card__body {
  gap: 0.1rem;
  padding: 0.6rem 0.7rem 0.75rem;
}

.gift-card--compact .gift-card__name {
  font-size: 1rem;
}

.gift-card--compact .gift-card__desc,
.gift-card--compact .gift-card__quota,
.gift-card--compact .gift-card__action {
  display: none;
}

.gift-card--compact .gift-card__price {
  margin-top: 0.15rem;
}

.gift-card--compact .gift-card__price strong {
  font-size: 0.9rem;
}

.gift-card--compact .gift-card__tag {
  top: 0.55rem;
  left: 0.55rem;
  padding: 0.22rem 0.5rem;
  font-size: 0.5rem;
}

.gift-card--compact .gift-card__sold-tag {
  right: 0.55rem;
  bottom: 0.55rem;
  left: 0.55rem;
  padding: 0.4rem 0.5rem;
  font-size: 0.5rem;
}

/* PrÃ©via: 4 presentes (2x2) + botÃ£o â€œver todosâ€. */
.gifts__grid .gift-card:nth-child(n + 5) {
  display: none;
}

.rsvp-mode {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.3rem;
  margin: 0 auto 1.1rem;
  width: fit-content;
  max-width: 100%;
  background: var(--sage-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-pill);
}

.rsvp-mode[hidden] {
  display: none;
}

.rsvp-mode__btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-700);
  background: transparent;
  border: 0;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--dur), color var(--dur);
}

.rsvp-mode__btn.is-active {
  color: var(--ink);
  background: var(--paper);
  box-shadow: var(--shadow-xs);
}

.rsvp-mode__btn:focus-visible {
  outline: 2px solid var(--sage-700);
  outline-offset: 2px;
}

@media (max-width: 680px) {
  .gifts__grid {
    gap: 0.65rem;
  }

  .gift-card--compact .gift-card__name {
    font-size: 0.92rem;
  }

  .gift-card--compact .gift-card__price strong {
    font-size: 0.82rem;
  }

  .rsvp-mode {
    width: 100%;
  }

  .rsvp-mode__btn {
    flex: 1;
    padding-inline: 0.5rem;
  }
}


