/* =========================================================
   Lorena & Paulinho — Opção 3 "Refinada"
   Mobile-first: base = ~375px, depois min-width para tablet/desktop
   ========================================================= */

:root {
  --bg: #FAF4EC;
  --bg-alt: #F3E8DA;
  --paper: #FFFDFA;
  --ink: #463E37;
  --ink-soft: #756A60;
  --line: #E2D5C4;
  --rose: #DE8E96;
  --coral: #E68A5C;
  --sky: #5B9AB5;
  --sage: #7C896B;
  --deep: #3A2E27;

  --accent: var(--coral);
  --script-color: var(--rose);

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Parisienne", cursive;
  --font-body: "Mulish", system-ui, sans-serif;

  --maxw: 1200px;
  --gutter: 22px;
  --arch: 999px 999px 7px 7px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

/* Toque de azul: realce de seleção de texto em sky */
::selection {
  background: color-mix(in srgb, var(--sky) 42%, transparent);
  color: var(--deep);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(32px, 7vw, 80px) 0;
  position: relative;
}

#recados-preview {
  padding-top: clamp(64px, 13vw, 140px);
}

.section--alt {
  background: var(--bg-alt);
}

.section--paper {
  background: var(--paper);
}

#frase {
  scroll-margin-top: 64px;
  padding: clamp(76px, 18vw, 160px) 0 clamp(56px, 14vw, 140px);
}

#historia {
  scroll-margin-top: 64px;
  padding-top: clamp(64px, 14vw, 120px);
}

#historia .section-head {
  margin-bottom: clamp(44px, 8vw, 96px);
}

.center {
  text-align: center;
}

/* ---------- Reveal on scroll ---------- */
body.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2, .7, .2, 1), transform 1s cubic-bezier(.2, .7, .2, 1);
}

body.js-reveal .reveal.in {
  opacity: 1;
  transform: none;
}

.reveal.d1 {
  transition-delay: .12s;
}

.reveal.d2 {
  transition-delay: .24s;
}

.reveal.d3 {
  transition-delay: .36s;
}

/* ---------- Tipografia ---------- */
.overline {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin: 0 0 14px;
}

.script {
  font-family: var(--font-script);
  color: var(--script-color);
  line-height: 0.95;
  font-weight: 400;
}

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
}

.lead {
  color: var(--ink-soft);
}

/* ---------- Cabeçalho de seção ---------- */
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 7vw, 84px);
}

.section-head .script {
  font-size: clamp(44px, 11vw, 60px);
  margin-bottom: 6px;
  display: block;
}

.section-head .headline {
  font-size: clamp(20px, 5vw, 27px);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.section-head .sub {
  color: var(--ink-soft);
  font-size: 1rem;
  margin-top: 12px;
}

/* ---------- Divisor botânico ---------- */
.sprig {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 20px auto;
}

.sprig::before,
.sprig::after {
  content: "";
  height: 1px;
  width: clamp(36px, 8vw, 120px);
  background: linear-gradient(to var(--dir, right), transparent, var(--line));
}

.sprig::before {
  --dir: left;
}

/* Desktop: linhas do divisor botânico mais compridas (mobile fica como está) */
@media (min-width: 900px) {
  .sprig::before,
  .sprig::after {
    width: clamp(120px, 12vw, 220px);
  }
}

.sprig .leaves {
  display: none;
}

.leaf {
  width: 7px;
  height: 17px;
  background: var(--sage);
  opacity: 0.8;
}

.leaf.l {
  border-radius: 100% 0 70% 0;
  transform: rotate(-24deg);
}

.leaf.r {
  border-radius: 0 100% 0 70%;
  transform: rotate(24deg);
}

.leaf.s {
  height: 11px;
  width: 5px;
  opacity: 0.6;
}

.leaf.berry {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--rose) 70%, var(--coral));
  opacity: 0.85;
}

/* ---------- Botões — touch targets mínimo 44px ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: all .28s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  filter: brightness(1.06);
}

.btn--ghost {
  background: transparent;
  color: var(--sky);
  border-color: var(--sky);
}

.btn--ghost:hover {
  background: var(--sky);
  color: #fff;
}

.btn--light {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: transparent;
  color: #fff;
}

.btn--booking {
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}

.btn--booking:hover {
  filter: brightness(1.08);
}

.btn--sm {
  min-height: 38px;
  padding: 9px 18px;
  font-size: 10.5px;
  letter-spacing: .12em;
}

.btn--whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

.btn--whatsapp:hover {
  filter: brightness(1.06);
}

.partner-card {
  max-width: 560px;
  margin: clamp(8px, 2vw, 16px) 20px clamp(24px, 5vw, 40px) 30px;
  padding: clamp(24px, 5vw, 36px) clamp(22px, 5vw, 30px);
  background: linear-gradient(170deg,
      color-mix(in srgb, var(--sage) 10%, var(--paper)),
      color-mix(in srgb, var(--sky) 7%, var(--paper)));
  border: 1px solid color-mix(in srgb, var(--sage) 25%, transparent);
  border-radius: 16px;
  text-align: left;
}

.partner-card__overline {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sage);
}

.partner-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 5.5vw, 30px);
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 14px;
}

.partner-card__text {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: .95rem;
  line-height: 1.55;
}

.partner-card__text:last-of-type {
  margin-bottom: 20px;
}

/* ---------- Placeholder de foto ---------- */
.photo {
  position: relative;
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(-45deg, rgba(124, 137, 107, 0.10) 0 12px, rgba(124, 137, 107, 0.02) 12px 24px);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo span {
  font-family: "Courier New", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(255, 253, 250, 0.82);
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 2px;
  text-align: center;
}

.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch {
  border-radius: var(--arch);
}

/* ============================ NAV ============================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--gutter);
  transition: all .35s ease;
}

.nav .monogram {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  text-decoration: none;
  color: var(--ink);
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav.page-nav .monogram {
  opacity: 1;
  pointer-events: auto;
}

.monogram__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: block;
  margin-top: -3px;
  margin-left: -10px;
  background-color: currentColor;
  -webkit-mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}


.nav::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(var(--nav-blur, 0px));
  -webkit-backdrop-filter: blur(var(--nav-blur, 0px));
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.nav.at-top {
  background: linear-gradient(180deg, rgba(45, 38, 32, 0.50) 55%, rgba(45, 38, 32, 0) 100%);
}

.nav.at-top .nav-toggle {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

/* Mobile nav: gaveta lateral */
.nav-links {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  bottom: auto;
  height: 100vh;
  height: 100dvh;
  width: min(82vw, 320px);
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 90px 28px 40px;
  background: #FFFDFA;
  transform: translateX(100%);
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: none;
  display: flex;
  z-index: 55;
  overflow-y: auto;
}

.nav-links.open {
  transform: translateX(0);
  box-shadow: -20px 0 50px -30px rgba(0, 0, 0, 0.4);
}

.nav-links a {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink) !important;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: block;
}

/* Ações rápidas na nav mobile (presentinho + presença) */
.nav-quick {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 60;
  margin-left: auto;
  margin-right: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav.page-nav .nav-quick {
  opacity: 1;
  pointer-events: auto;
}

.nav-quick__gift {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #7AAFC4;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity .2s;
}

.nav-quick__gift:hover {
  opacity: .85;
}

.nav-quick__rsvp {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 99px;
  padding: 6px 11px;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity .2s;
}

.nav-quick__rsvp:hover {
  opacity: .85;
}


.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 8px;
  min-width: 44px;
  min-height: 44px;
  z-index: 60;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.nav.page-nav .nav-toggle {
  opacity: 1;
  pointer-events: auto;
}

/* ============================ HERO ============================ */
.hero {
  position: relative;
  height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg .photo {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Zoom leve + deslocamento para abrir espaco acima dos rostos do casal,
   sem precisar trocar a foto (o .hero tem overflow:hidden, entao a sobra e cortada) */
.hero__bg .photo img {
  transform: scale(1.26) translateY(12%);
}

.hero__bg .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(50, 44, 38, 0.42), rgba(50, 44, 38, 0.28) 45%, rgba(50, 44, 38, 0.65));
}

.hero__frame {
  position: absolute;
  inset: clamp(12px, 2.4vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 2;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 3;
  padding: 100px var(--gutter) 40px;
  max-width: 960px;
  width: 100%;
}

/* Grupo do topo (overline + logo + nomes + data) — deslocado para cima e mais compacto
   entre si, para nao cobrir os rostos do casal na foto de capa; a contagem regressiva e
   o resto do hero ficam no lugar de sempre */
.hero__top-group {
  transform: translateY(clamp(-48px, -6.5vw, -28px));
}

.hero .overline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(10px, 2.5vw, 13px);
  margin-bottom: 4px;
}

.hero__names {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 500;
  font-size: clamp(48px, 13vw, 120px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.3);
}

.hero__names .amp {
  font-family: var(--font-script);
  font-weight: 400;
  display: inline-block;
  font-size: 0.62em;
  vertical-align: baseline;
  margin: 0 0.1em;
  opacity: 0.95;
}

/* Logo decorativa na capa — entre "Destination Wedding" e o nome */
.hero__logo-img {
  display: block;
  width: clamp(140px, 32vw, 220px);
  height: auto;
  margin: -10px auto -16px;
  filter: brightness(0) invert(1) drop-shadow(0 2px 16px rgba(0, 0, 0, 0.30));
  pointer-events: none;
}

/* Data da cerimônia — empilhada no mobile */
.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(14px, 3.5vw, 22px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Contagem regressiva */
.countdown {
  display: flex;
  gap: clamp(12px, 3.5vw, 44px);
  justify-content: center;
  margin-top: clamp(75px, calc(86vh - 449px), 355px);
  flex-wrap: wrap;
}

.cd-unit {
  min-width: 56px;
  position: relative;
}

.cd-unit+.cd-unit::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(6px, 1.75vw, 22px));
  top: 8px;
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.3);
}

.cd-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 8vw, 60px);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.cd-label {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0.9;
}

.scroll-cue {
  position: static;
  transform: none;
  z-index: 3;
  display: block;
  margin-top: 8px;
}

.scroll-cue svg {
  display: block;
  animation: cue-fade 2.2s ease-in-out infinite;
}

.scroll-line {
  animation: cue-line 2.2s ease-in-out infinite;
}

.scroll-arrow-path {
  animation: cue-arrow 2.2s ease-in-out infinite;
}

@keyframes cue-fade {

  0%,
  100% {
    opacity: .35;
  }

  50% {
    opacity: 1;
  }
}

@keyframes cue-line {

  0%,
  100% {
    stroke-dashoffset: 26;
  }

  50% {
    stroke-dashoffset: 12;
  }
}

@keyframes cue-arrow {

  0%,
  100% {
    transform: translateY(-26px);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* ============================ FRASE / INTRO ============================ */
.intro-quote {
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.intro-quote .mark {
  font-family: var(--font-script);
  color: var(--script-color);
  font-size: clamp(80px, 14vw, 130px);
  line-height: 0.4;
  display: block;
  text-align: center;
  transform: translateX(-12px);
  margin-bottom: 24px;
}

.intro-quote p {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

@media (min-width: 900px) {
  .intro-quote p {
    font-size: 26px;
    line-height: 1.7;
  }
}

/* ============================ HISTÓRIA — timeline ---------- */
/* Mobile: linha à esquerda, tudo em coluna única */
.tl {
  position: relative;
  display: grid;
  gap: clamp(48px, 9vw, 110px);
}

.tl::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 26px;
  width: 1px;
  background: linear-gradient(var(--line), var(--sky) 50%, var(--line));
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding-left: 60px;
  position: relative;
}

.tl-item .badge {
  position: absolute;
  left: 26px;
  top: 28px;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--sky);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--sky);
  z-index: 2;
  box-shadow: 0 8px 20px -12px rgba(70, 62, 55, 0.5);
}

.tl-photo {
  position: relative;
}

.tl-photo .photo {
  aspect-ratio: 1/1;
  border-radius: 12px;
}

.tl-photo::before {
  content: "";
  position: absolute;
  inset: -10px -10px 10px 10px;
  border: 1px solid var(--sky);
  border-radius: 12px;
  opacity: 0.55;
  z-index: -1;
}

.tl-text h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 40px);
  margin: 0 0 12px;
}

.tl-text .when {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-text p {
  color: var(--ink-soft);
  margin: 0;
  text-align: justify;
}

/* ============================ O GRANDE DIA ============================ */
.section--deep {
  background: var(--bg-alt);
  color: var(--ink);
}

.section--deep .section-head .headline {
  color: var(--ink);
}

.section--deep .section-head .sub {
  color: var(--ink-soft);
}

.section--deep .sprig::before,
.section--deep .sprig::after {
  background: linear-gradient(to var(--dir, right), transparent, rgba(70, 62, 55, 0.25));
}

/* Mobile: cards empilhados */
.daygrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.event-card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(70, 62, 55, 0.14);
  border-radius: 12px;
  padding: clamp(22px, 5vw, 46px);
  text-align: center;
}

.event-card .photo {
  aspect-ratio: 5/4;
  margin-bottom: 22px;
  border-radius: var(--arch);
  border-color: rgba(70, 62, 55, 0.18);
}

.event-card .kicker {
  font-family: var(--font-script);
  color: var(--rose);
  font-size: 36px;
  line-height: 1;
}

.event-card h3 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: clamp(22px, 5vw, 32px);
  margin: 4px 0 16px;
}

.event-card .meta-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.event-card .meta-row strong {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.3rem;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
}

.event-card .btn {
  margin-top: 22px;
  width: 100%;
}

/* Timeline do dia — scrollável no mobile */
.day-ribbon {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: flex-start;
  gap: 0;
  margin-top: clamp(36px, 6vw, 76px);
  position: relative;
  padding-bottom: 4px;
}

.day-ribbon::-webkit-scrollbar {
  display: none;
}

.ribbon-item {
  text-align: center;
  flex: 0 0 auto;
  min-width: 100px;
  position: relative;
  padding-top: 30px;
}

.ribbon-item::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(70, 62, 55, 0.22);
}

.ribbon-item::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 50%;
  transform: translateX(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--bg-alt);
}

.ribbon-item:first-child::before {
  left: 50%;
}

.ribbon-item:last-child::before {
  right: 50%;
}

.ribbon-item .t {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
}

.ribbon-item .n {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 3px;
}

/* ============================ TOQUES DE SKY (azul-água da paleta) ============================ */

/* Dots da timeline do dia: alternando coral / sky */
.ribbon-item:nth-child(even)::after {
  background: var(--sky);
}

/* Borda decorativa das fotos da história: pares em sky */
.tl-item:nth-child(even) .tl-photo::before {
  border-color: var(--sky);
}

/* Bagazinha do sprig botânico — tom rosado suave */
.leaf.berry {
  background: color-mix(in srgb, var(--rose) 70%, var(--coral));
}


/* Presente na nav: sky quando a nav está scrollada (fundo sólido) */

/* ============================ TÍTULO DE CONTEÚDO (sub-páginas) ============================ */

.page-content-title {
  text-align: center;
  padding: clamp(32px, 7vw, 80px) var(--gutter) 0;
  background: var(--paper);
}

.page-content-title .sprig {
  margin-bottom: clamp(32px, 6vw, 56px);
}

.page-content-title__h {
  font-family: var(--font-script);
  font-size: clamp(36px, 10vw, 62px);
  font-weight: 400;
  color: var(--script-color);
  line-height: 1.25;
  margin: 0;
  padding-bottom: 0.12em;
}

/* ============================ PAGE HERO (páginas internas) ============================ */

.page-hero {
  background:
    radial-gradient(ellipse at 50% 130%, color-mix(in srgb, var(--rose) 22%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 15% -10%, color-mix(in srgb, var(--coral) 14%, transparent) 0%, transparent 48%),
    var(--deep);
  padding: clamp(100px, 18vw, 150px) var(--gutter) clamp(52px, 8vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -5%;
  width: 110%;
  height: clamp(40px, 6vw, 70px);
  background: var(--bg);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.page-hero .overline {
  display: none;
}

.page-hero__title {
  font-family: var(--font-script);
  font-size: clamp(46px, 13vw, 86px);
  color: #fff;
  line-height: 1.05;
  display: block;
  margin: 10px 0 0;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.28);
  position: relative;
  z-index: 1;
}

.page-hero .sprig {
  position: relative;
  z-index: 1;
  margin-top: 20px;
}

.page-hero .sprig::before,
.page-hero .sprig::after {
  background: linear-gradient(to var(--dir, right), transparent, rgba(255, 255, 255, 0.18));
}

.page-hero .leaf {
  background: rgba(255, 255, 255, 0.35);
}

.page-hero .leaf.berry {
  background: var(--rose);
  opacity: 1;
}

/* Art layer (SVG temático espalhado pelo fundo) */
.page-hero__art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.13;
  z-index: 0;
}

.page-hero__art svg {
  width: 100%;
  height: 100%;
}

/* Titulo longo ("O Destination Wedding") quebra em 2 linhas — reduz um pouco o padding
   de cima e de baixo do hero (mantendo folga segura do nav fixo e da curva) para igualar
   a altura total a das demais paginas, sem precisar diminuir mais a fonte do titulo */
.page-hero--dw {
  padding-top: clamp(85px, 16vw, 135px);
  padding-bottom: clamp(40px, 7vw, 68px);
}

.page-hero--dw .page-hero__title {
  font-size: clamp(36px, 9.8vw, 74px);
}

/* Cores por seção — sobrescrevem o background base */
.page-hero--destino {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #dff6fa 38%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 125%, color-mix(in srgb, #68d8ec 50%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 10% -5%, color-mix(in srgb, #48c0d8 30%, transparent) 0%, transparent 55%),
    #1a8090;
}

.page-hero--viagem {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #fff3e0 42%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 125%, color-mix(in srgb, #ffc880 52%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 10% -5%, color-mix(in srgb, #f0a050 32%, transparent) 0%, transparent 55%),
    #c06018;
}

.page-hero--transporte {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #e2f8ee 38%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 125%, color-mix(in srgb, #68d8a0 50%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 10% -5%, color-mix(in srgb, #48c07a 30%, transparent) 0%, transparent 55%),
    #2a8855;
}

.page-hero--casamento {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #fff0f5 42%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 125%, color-mix(in srgb, #f8a8cc 52%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 10% -5%, color-mix(in srgb, #e878a8 32%, transparent) 0%, transparent 55%),
    #b83070;
}

.page-hero--dicas {
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, #fff2e8 42%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 65% 125%, color-mix(in srgb, #f09860 52%, transparent) 0%, transparent 65%),
    radial-gradient(ellipse at 10% -5%, color-mix(in srgb, #e07840 32%, transparent) 0%, transparent 55%),
    #a84818;
}

/* ============================ PAGE SUBNAV ============================ */

.page-subnav {
  position: sticky;
  top: 68px;
  z-index: 40;
  background: rgba(250, 244, 236, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  gap: 0;
  overflow: hidden;
}

.page-subnav__menu-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: none;
  border: none;
  border-right: 1px solid var(--line);
  padding: 14px 16px 14px 0;
  margin-right: 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .2s;
}

.page-subnav__menu-btn:hover {
  color: var(--accent);
}

.page-subnav__menu-btn.open {
  color: var(--accent);
}

.page-subnav__chevron {
  transition: transform .25s;
  flex-shrink: 0;
}

.page-subnav__menu-btn.open .page-subnav__chevron {
  transform: rotate(180deg);
}

/* Dropdown de seções */
.page-sections-dropdown {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 39;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 40px -12px rgba(58, 46, 39, 0.16);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .22s, transform .22s;
}

.page-sections-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.psd-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 32px) var(--gutter);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 20px clamp(16px, 4vw, 36px);
}

.psd-dw-link {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
}

.psd-section__title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.psd-section__title--plain {
  cursor: default;
  color: var(--accent);
}

.psd-section__links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.psd-section__links a {
  font-size: 13px;
  color: var(--ink-soft);
  text-decoration: none;
  line-height: 1.3;
  transition: color .18s;
}

.psd-section__links a:hover {
  color: var(--ink);
}

.psd-section__links a.psd-active {
  color: var(--accent);
  font-weight: 600;
}

.page-subnav__pills {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 10px 0;
  flex: 1;
}

.page-subnav__pills::-webkit-scrollbar {
  display: none;
}

.page-subnav__pill {
  font-size: 12px;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  padding: 6px 13px;
  border-radius: 99px;
  border: 1px solid transparent;
  transition: all .2s;
  flex-shrink: 0;
}

.page-subnav__pill:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
}

.page-subnav__pill.active {
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-color: color-mix(in srgb, var(--accent) 28%, transparent);
}

/* ============================ MARKDOWN BODY ============================ */
#intro.section {
  padding-top: clamp(32px, 7vw, 72px);
  padding-bottom: clamp(32px, 7vw, 72px);
}

#intro .wrap {
  padding-left: 12px;
  padding-right: 12px;
}

@media (min-width: 600px) {
  #intro .wrap {
    padding-left: var(--gutter);
    padding-right: var(--gutter);
  }
}

.md-body {
  font-family: var(--font-body);
  font-size: clamp(16px, 3.5vw, 19px);
  line-height: 1.8;
  color: var(--ink);
  margin: 0 auto;
}

.md-body h1 {
  font-family: var(--font-script);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 400;
  color: var(--script-color);
  line-height: 1.1;
  margin: 0 0 28px;
  text-align: center;
}

.md-body p {
  margin: 0 0 20px;
  color: var(--ink);
  text-align: left;
  padding-left: 25px;
  padding-right: 14px;
}

.md-body p:last-child {
  margin-bottom: 0;
}

.md-body strong {
  font-weight: 700;
  color: var(--ink);
}

/* ============================ GALERIA ============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 128px;
  grid-auto-flow: dense;
  gap: 10px;
}

.gallery .photo {
  cursor: pointer;
  transition: transform .4s, box-shadow .4s;
  border-radius: 5px;
}

.gallery .photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(60, 50, 42, 0.5));
  opacity: 0;
  transition: opacity .3s;
}

.gallery .photo:hover::after {
  opacity: 1;
}

/* Mobile: tudo em 2 colunas — prioriza quadrados e verticais */
.g-1 {
  grid-column: span 2;
  grid-row: span 3;
}

.g-2,
.g-3,
.g-4,
.g-5,
.g-6 {
  grid-column: span 1;
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
  grid-row: span 2;
}

/* Quadrado pequeno — preenche buracos deixados pelo encaixe denso da grade */
.g-sq {
  grid-column: span 1;
  grid-row: span 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(40, 35, 30, 0.92);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  width: min(96vw, 720px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0 auto;
}

.lightbox .frame {
  width: 100%;
  max-height: 70vh;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox .frame .photo {
  position: relative;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  border: none;
  background: transparent;
  background-image: none;
}

/* ---- Cartão de informações: quem enviou + legenda ---- */
.lightbox-meta {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px -20px rgba(58, 46, 39, .25);
  color: var(--ink);
  text-align: left;
  overflow: hidden;
}

.lightbox-meta__header {
  padding: clamp(14px, 3.5vw, 18px) clamp(16px, 4vw, 22px) 16px;
}

.lightbox-meta__byline {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 0 0 18px;
}

.lightbox-meta__eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--ink-soft);
  opacity: .8;
  margin: 0;
}

.lightbox-meta__name {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink-soft);
  line-height: 1;
}

.lightbox-meta__caption {
  color: var(--ink);
  font-style: italic;
  font-size: 1.05rem;
  margin: 6px 0 0;
}

.lightbox-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 clamp(16px, 4vw, 22px);
  margin: clamp(6px, 1.5vw, 10px) 0 0;
}

.lightbox-divider::before,
.lightbox-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.lightbox-divider__icon {
  flex-shrink: 0;
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: var(--accent);
  -webkit-mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ---- Comentários ---- */
.lightbox-comments-section {
  padding: clamp(16px, 4vw, 22px) clamp(16px, 4vw, 22px) clamp(26px, 6vw, 34px);
}

.lightbox-comments-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.lightbox-comments-empty {
  color: var(--ink-soft);
  font-size: .88rem;
  font-style: italic;
  margin: 0;
}

.lightbox-comments {
  display: flex;
  flex-direction: column;
}

.lightbox-comment {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lightbox-comment:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lightbox-comment .lc-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}

.lightbox-comment .lc-body {
  min-width: 0;
  flex: 1;
}

.lightbox-comment .lc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.lightbox-comment .lc-name {
  font-weight: 700;
  color: var(--ink);
  font-size: .86rem;
}

.lightbox-comment .lc-text {
  color: var(--ink);
  font-size: .9rem;
  line-height: 1.4;
  margin: 2px 0 0;
}

.lightbox-comment .lc-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: .74rem;
  cursor: pointer;
  padding: 2px 0;
  white-space: nowrap;
  text-decoration: underline;
}

.lightbox-comment .lc-remove:hover {
  color: var(--accent);
}

/* ---- Formulário de comentário ---- */
.lightbox-comment-form-card {
  padding: clamp(26px, 6vw, 34px) clamp(16px, 4vw, 22px) clamp(30px, 7vw, 40px);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.lightbox-comment-form input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  padding: 8px 2px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  margin-bottom: 10px;
  transition: border-color .2s;
}

.lightbox-comment-form input::placeholder,
.lightbox-comment-form textarea::placeholder {
  color: var(--ink-soft);
  opacity: .75;
}

.lightbox-comment-form input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.lightbox-comment-form__row {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 6px 6px 6px 14px;
  transition: border-color .2s;
}

.lightbox-comment-form__row:focus-within {
  border-color: var(--accent);
}

.lightbox-comment-form textarea {
  flex: 1;
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  background: transparent;
  border: none;
  resize: none;
  min-height: 22px;
  max-height: 100px;
}

.lightbox-comment-form textarea:focus {
  outline: none;
}

.lightbox-comment-send {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .15s, opacity .15s;
}

.lightbox-comment-send:hover {
  transform: scale(1.06);
}

.lightbox-comment-send svg {
  transform: translate(-1px, 1px);
}

.gp-lightbox-card {
  background: var(--paper);
  border-radius: 12px;
  overflow: hidden;
}

.gp-lightbox-card .frame {
  width: 100%;
  margin: 0;
}

.gp-lightbox-card .frame .photo {
  border-radius: 0;
}

.gp-lightbox-cta {
  padding: clamp(16px, 4vw, 24px);
  text-align: center;
}

.gallery .photo .pc-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 3px;
  padding: 0 10px 10px;
  background: linear-gradient(180deg, rgba(15, 12, 10, 0) 0%, rgba(15, 12, 10, .25) 45%, rgba(15, 12, 10, .85) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .01em;
  z-index: 1;
}

.pc-overlay__caption {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
  opacity: .9;
}

.pc-overlay__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}

.pc-overlay__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pc-overlay__name strong {
  font-weight: 700;
}

.pc-overlay__comments {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  opacity: .9;
}

.pc-overlay__comments svg {
  flex-shrink: 0;
}

.lightbox .frame .photo img {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
}

.lightbox .close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

/* ============================ RSVP ============================ */
.rsvp-card {
  max-width: 740px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(24px, 5vw, 64px);
  box-shadow: 0 30px 60px -40px rgba(70, 62, 55, 0.6);
  position: relative;
}

.rsvp-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  pointer-events: none;
}

.rsvp-inner {
  position: relative;
}

.field {
  display: block;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--sky);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sky) 22%, transparent);
}

.field textarea {
  resize: vertical;
  min-height: 88px;
}

/* Campo 2 colunas — empilhado no mobile */
.field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  transition: all .2s;
  min-height: 52px;
}

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

.choice label:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
  color: var(--accent);
}

.rsvp-thanks {
  text-align: center;
  display: none;
}

.rsvp-thanks.show {
  display: block;
}

.rsvp-thanks .script {
  font-size: 56px;
}

.rsvp-form.hide {
  display: none;
}

/* ============================ PRESENTES ============================ */
.gift-intro {
  max-width: 720px;
  margin: 0 auto clamp(36px, 6vw, 66px);
  text-align: center;
}

.pix-box {
  max-width: 580px;
  margin: 0 auto clamp(36px, 6vw, 70px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(22px, 4vw, 44px);
  text-align: center;
  position: relative;
}

.pix-box::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed var(--accent);
  border-radius: 8px;
  opacity: 0.55;
  pointer-events: none;
}

.pix-box .label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.pix-box .key {
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 30px);
  margin: 10px 0 20px;
  color: var(--ink);
  word-break: break-all;
}

/* Mobile: 1 coluna */
.gifts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gift-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.gift-card .ph-wrap {
  padding: 0;
}

.gift-card .photo {
  aspect-ratio: 1/1;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}

.gift-card .photo img {
  object-fit: cover;
}

.gift-card .body {
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gift-card h4 {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}

.gift-card .price {
  color: var(--ink);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
  text-align: left;
}

.gift-card .desc {
  font-size: .92rem;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px;
  text-align: left;
}

.gift-card .btn {
  width: 100%;
  margin-top: auto;
  padding: 8px 10px;
  font-size: .8rem;
}

@media (min-width: 700px) {
  .gifts {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

/* ============================ INFORMAÇÕES ============================ */
/* Mobile: 1 coluna */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: clamp(22px, 4vw, 40px);
  text-align: center;
}

.info-card .ico {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  margin: 0 auto 16px;
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin-bottom: 10px;
}

.info-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  margin-bottom: 0.6em;
}

.info-card .dress-swatches {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

/* ============================ LOCAL / MAPA ============================ */
/* Mobile: coluna única */
.map-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 56px);
}

.map-canvas {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  background: radial-gradient(circle at 28% 38%, color-mix(in srgb, var(--sage) 24%, transparent), transparent 42%), radial-gradient(circle at 72% 72%, color-mix(in srgb, var(--sky) 32%, transparent), transparent 46%), var(--bg-alt);
}

.map-canvas .grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.45;
}

.map-canvas .road {
  position: absolute;
  height: 5px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 4px;
}

.map-canvas .road.r1 {
  width: 70%;
  top: 40%;
  left: -5%;
  transform: rotate(-8deg);
}

.map-canvas .road.r2 {
  width: 55%;
  top: 64%;
  right: -5%;
  transform: rotate(12deg);
}

.map-canvas .pin {
  position: absolute;
  top: 46%;
  left: 48%;
  transform: translate(-50%, -100%);
  text-align: center;
}

.map-canvas .pin .dot {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 6px 16px -6px var(--accent);
}

.map-canvas .pin .label {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.3);
}

.map-info {
  padding: clamp(18px, 3vw, 26px);
}

.map-info h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 14px;
}

.btn--maps {
  display: flex;
  width: fit-content;
  margin: 18px auto 0;
  background: var(--sky);
  border-color: var(--sky);
  color: #fff;
}

.btn--maps:hover {
  filter: brightness(1.06);
}

/* ============================ MAPA REAL DA ROTA (como-chegar) ============================ */
.route-map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
}

.route-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.route-stops {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3vw, 26px);
  background: var(--paper);
}

.route-stops ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  border-left: 2px solid var(--sky);
}

.route-stops li {
  font-size: 0.93rem;
  color: var(--ink-soft);
  padding-left: 14px;
  position: relative;
}

.route-stops li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--paper);
}

.route-stops li strong {
  color: var(--ink);
}

@media (min-width: 900px) {
  .map-wrap--route {
    grid-template-columns: 1.1fr 1fr;
    align-items: start;
  }

  .map-wrap--route .route-map {
    grid-row: 1 / 3;
  }
}

/* ============================ RECADOS ============================ */
.msg-form {
  max-width: 740px;
  margin: 0 auto clamp(36px, 6vw, 64px);
  display: grid;
  gap: 14px;
}

/* Mobile: 1 coluna */
.msg-list {
  columns: 1;
  column-gap: 18px;
}

.msg-card {
  break-inside: avoid;
  margin-bottom: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 44px 22px 24px;
}

.msg-card .quote {
  font-family: var(--font-script);
  color: var(--sky);
  font-size: 72px;
  line-height: 0.6;
  margin-bottom: -16px;
}

.msg-card p {
  font-family: var(--font-display);
  font-size: 1.22rem;
  line-height: 1.35;
  color: var(--ink);
  font-style: italic;
  margin: 0;
  word-break: break-word;
}

.msg-card .from {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin-top: 12px;
}

.msg-empty {
  text-align: center;
  color: var(--ink-soft);
  padding: 30px;
  column-span: all;
}

/* ============================ FOOTER ============================ */
.footer {
  position: relative;
  background: var(--sky);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 10vw, 128px) var(--gutter);
}


.footer__frame {
  position: absolute;
  inset: clamp(12px, 2vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

.footer .overline {
  color: var(--paper);
}

.footer .script {
  color: #fff;
  font-size: clamp(44px, 10vw, 78px);
}

.footer .meta {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
  opacity: 0.75;
  margin-top: 12px;
}

.footer .sprig::before,
.footer .sprig::after {
  background: linear-gradient(to var(--dir, right), transparent, rgba(255, 255, 255, 0.25));
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

.footer .credit {
  margin-top: 36px;
  font-size: 11px;
  opacity: 0.9;
  letter-spacing: 0.1em;
}

/* Overlay escuro ao abrir menu mobile */
#navOverlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(30, 24, 20, 0.6);
}

#navOverlay.open {
  display: block;
}

/* Botão hamburguer vira ✕ quando aberto */
.nav-toggle .icon-close {
  display: none;
}

.nav-toggle.open .icon-menu {
  display: none;
}

.nav-toggle.open .icon-close {
  display: block;
}

/* ============================ MULTI-PAGE ============================ */

/* Nav sólida — usada nas páginas internas E no index fora da capa */
.nav.page-nav {
  background: rgba(250, 244, 236, 1);
  backdrop-filter: none;
  box-shadow: 0 1px 0 var(--line);
  padding-top: 6px;
  padding-bottom: 6px;
}

.nav.page-nav .monogram,
.nav.page-nav .nav-toggle {
  color: var(--ink) !important;
  text-shadow: none !important;
}

.nav.page-nav.at-top {
  background: rgba(250, 244, 236, 1);
}

.nav.page-nav.at-top .monogram,
.nav.page-nav.at-top .nav-toggle {
  color: var(--ink) !important;
  text-shadow: none !important;
}

.nav.page-nav .nav-links a {
  color: var(--ink) !important;
  text-shadow: none !important;
}


.nav-links a.active-page {
  color: var(--accent) !important;
}

.nav-links a.active-page::after {
  width: 100% !important;
}

/* Cabeçalho de página interna */
.page-header {
  padding: clamp(96px, 16vw, 160px) var(--gutter) clamp(48px, 8vw, 96px);
  text-align: center;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, color-mix(in srgb, var(--rose) 14%, transparent), transparent 70%);
  pointer-events: none;
}

.page-header__logo {
  width: 56px;
  height: auto;
  display: block;
  margin: 8px auto 0;
  opacity: 1;
}

.page-header .script {
  font-size: clamp(38px, 9vw, 60px);
  display: block;
  margin-bottom: 4px;
  position: relative;
  color: var(--script-color);
}

.page-header .headline {
  font-size: clamp(20px, 4.5vw, 36px);
  position: relative;
}

.page-header .sub {
  color: var(--ink-soft);
  margin-top: 10px;
  position: relative;
}

.page-header .sprig {
  margin-top: 24px;
}

/* Variante do cabeçalho do Mural de Recados — bilhetinhos com fita adesiva nos cantos,
   como se o próprio cabeçalho fosse um pedacinho do mural. Substitui o brilho rosa genérico. */
.page-header--recados,
.page-header--galeria,
.page-header--presentes,
.page-header--rsvp {
  background: var(--sky);
  border-bottom-color: transparent;
  padding-top: clamp(118px, 20vw, 172px);
  padding-bottom: clamp(20px, 4vw, 36px);
}

.page-header--recados .sprig,
.page-header--galeria .sprig,
.page-header--presentes .sprig,
.page-header--rsvp .sprig {
  margin-top: 14px;
}

.page-header--recados::before,
.page-header--galeria::before,
.page-header--presentes::before,
.page-header--rsvp::before {
  content: none;
}

.page-header--recados .overline,
.page-header--galeria .overline,
.page-header--presentes .overline,
.page-header--rsvp .overline {
  color: var(--paper);
}

.page-header--recados .script,
.page-header--galeria .script,
.page-header--presentes .script,
.page-header--rsvp .script {
  color: #fff;
}

.page-header--recados .sprig::before,
.page-header--recados .sprig::after,
.page-header--galeria .sprig::before,
.page-header--galeria .sprig::after,
.page-header--presentes .sprig::before,
.page-header--presentes .sprig::after,
.page-header--rsvp .sprig::before,
.page-header--rsvp .sprig::after {
  background: linear-gradient(to var(--dir, right), transparent, rgba(255, 255, 255, 0.3));
}

.page-header--recados .leaf,
.page-header--galeria .leaf,
.page-header--presentes .leaf,
.page-header--rsvp .leaf {
  background: #fff;
  opacity: 0.85;
}

.page-header--recados .leaf.berry,
.page-header--galeria .leaf.berry,
.page-header--presentes .leaf.berry,
.page-header--rsvp .leaf.berry {
  background: var(--coral);
}

.gallery-upload-row {
  text-align: center;
  margin-top: 28px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

@media (min-width: 900px) {
  .gallery-upload-row {
    margin-top: 56px;
  }
}

.mural-note {
  position: absolute;
  width: clamp(40px, 8vw, 58px);
  height: clamp(40px, 8vw, 58px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mural-note svg {
  width: 48%;
  height: 48%;
  color: var(--ink-soft);
  opacity: 0.8;
}

.mural-note::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 50%;
  width: 30px;
  height: 16px;
  transform: translateX(-50%) rotate(-3deg);
  opacity: 0.85;
  border-radius: 1px;
}

.mural-note::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 12px;
  height: 1px;
  background: var(--line);
}

.mural-note--1 {
  top: clamp(58px, 12vw, 82px);
  left: clamp(10px, 5vw, 38px);
  transform: rotate(-7deg);
}

.mural-note--1::before {
  background: var(--rose);
}

.mural-note--2 {
  top: clamp(68px, 13vw, 92px);
  right: clamp(10px, 5vw, 38px);
  transform: rotate(6deg);
}

.mural-note--2::before {
  background: var(--sky);
}

/* Gallery preview (index) */
.gp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 145px 145px 130px 130px 145px;
  grid-template-areas:
    "feat feat"
    "feat feat"
    "a    b"
    "a    c"
    "d    d";
  gap: 10px;
}

.gp-slot[data-slot="1"] {
  grid-area: a;
}

.gp-slot[data-slot="2"] {
  grid-area: b;
}

.gp-slot[data-slot="3"] {
  grid-area: c;
}

.gp-slot[data-slot="4"] {
  grid-area: d;
}

/* Layouts alternativos conforme a quantidade real de fotos — evita
   buracos vazios na grade e fotos repetidas quando há poucas fotos. */
#gpGrid[data-count="1"] {
  grid-template-columns: 1fr;
  grid-template-rows: none;
  grid-template-areas: "feat";
}

#gpGrid[data-count="1"] .gp-featured .photo {
  aspect-ratio: 4 / 3;
  height: auto;
}

#gpGrid[data-count="2"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: none;
  grid-template-areas: "feat a";
}

#gpGrid[data-count="2"] .photo {
  aspect-ratio: 1 / 1;
  height: auto;
}

#gpGrid[data-count="3"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 150px;
  grid-template-areas:
    "feat feat"
    "a    b";
}

#gpGrid[data-count="4"] {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 145px 145px 145px 145px;
  grid-template-areas:
    "feat feat"
    "feat feat"
    "a    b"
    "a    c";
}

.gp-slot {
  overflow: hidden;
  border-radius: 8px;
}

.gp-slot .photo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
  background-image: none;
  background-color: var(--bg);
}

.gp-slot .photo:hover {
  transform: scale(1.02);
  box-shadow: 0 16px 32px -16px rgba(70, 62, 55, .55);
}

.gp-slot .photo.is-fading {
  opacity: 0;
  transition: opacity .55s ease !important;
  transform: none !important;
}

.gp-slot .photo img {
  transition: transform 1.1s cubic-bezier(.16, 1, .3, 1), opacity .6s ease;
  will-change: transform;
}

.gp-slot .photo img.gp-img-enter {
  opacity: 0;
}

.gp-slot .photo:not(.is-fading) {
  opacity: 1;
  transition: opacity .55s ease, transform .4s ease, box-shadow .4s ease;
}

.gp-featured {
  grid-area: feat;
}

@media (min-width: 600px) {
  .gp-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    grid-template-areas:
      "feat b c"
      "feat a d";
    gap: 12px;
  }

  .gp-featured {
    grid-area: feat;
  }

  .gp-slot[data-slot="1"] {
    grid-area: a;
  }

  .gp-slot[data-slot="2"] {
    grid-area: b;
  }

  .gp-slot[data-slot="3"] {
    grid-area: c;
  }

  .gp-slot[data-slot="4"] {
    grid-area: d;
  }

  #gpGrid[data-count="1"] {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: "feat";
    max-width: 520px;
    margin: 0 auto;
  }

  #gpGrid[data-count="2"] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-template-areas: "feat a";
    max-width: 640px;
    margin: 0 auto;
  }

  /* Foto em destaque bem mais alta à esquerda; à direita, uma foto média
     em cima e uma mais baixa embaixo (em vez de dois quadrados iguais). */
  #gpGrid[data-count="3"] {
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(3, 110px);
    grid-template-areas:
      "feat b"
      "feat b"
      "feat a";
  }

  #gpGrid[data-count="4"] {
    grid-template-columns: 1.4fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    grid-template-areas:
      "feat a b"
      "feat a c";
  }
}

@media (min-width: 900px) {
  .gp-grid {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 14px;
  }

  #gpGrid[data-count="3"] {
    grid-template-rows: repeat(3, 130px);
  }

  #gpGrid[data-count="4"] {
    grid-template-rows: 240px 240px;
  }
}

/* Cards de navegação rápida (seção "Explore") */
.quick-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.quick-link-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(18px, 3.5vw, 32px);
  text-align: center;
  text-decoration: none;
  color: var(--ink);
  transition: all .28s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.quick-link-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--accent) 30%, transparent);
}

.quick-link-card .ql-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-link-card .ql-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: 500;
}

.quick-link-card .ql-sub {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* ============================ INFO PAGE ============================ */

/* Sticky section nav */
.info-nav {
  position: sticky;
  top: 58px;
  z-index: 40;
  background: rgba(255, 253, 250, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, .1);
}

.info-nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
}

.info-nav-inner::-webkit-scrollbar {
  display: none;
}

.info-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}

.info-nav a:hover {
  color: var(--accent);
}

.info-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.info-nav .in-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Section icon header */
.section-icon-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(28px, 5vw, 48px);
}

.section-icon-head .sih-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section-icon-head .sih-text .overline {
  margin: 0 0 2px;
}

.section-icon-head .sih-text .headline {
  font-size: clamp(22px, 4.5vw, 36px);
}

/* Accommodation cards */
.accomm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.accomm-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.accomm-card .ac-photo {
  height: 160px;
}

.accomm-card .ac-photo .photo {
  height: 100%;
  border-radius: 0;
  border: none;
}

.accomm-card .ac-body {
  padding: 18px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.accomm-card .ac-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.accomm-card .ac-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.accomm-card .ac-desc {
  color: var(--ink-soft);
  font-size: .93rem;
  flex: 1;
  margin-bottom: 14px;
}

.accomm-card .ac-details {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.ac-detail {
  display: flex;
  align-items: center;
  gap: 5px;
}

.accomm-card.featured {
  border-color: var(--accent);
}

.accomm-card.featured .ac-badge {
  color: var(--rose);
}

/* Airport/passagem cards */
.airport-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.airport-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}

.airport-card.main {
  border-color: var(--accent);
  position: relative;
  overflow: hidden;
}

.airport-card.main::before {
  content: "Principal";
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
}

.airport-card .ap-code {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .08em;
  line-height: 1;
}

.airport-card .ap-city {
  font-size: .93rem;
  color: var(--ink-soft);
  margin: 2px 0 16px;
}

.airport-card .ap-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ap-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--ink-soft);
}

.ap-row strong {
  color: var(--ink);
  min-width: 60px;
}

/* Transport cards */
.transport-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.transport-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 20px;
}

.transport-card .tr-ico {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.transport-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 8px;
}

.transport-card p {
  color: var(--ink-soft);
  font-size: .93rem;
  margin-bottom: .5em;
}

.transport-card p:last-child {
  margin: 0;
}

/* Dress code */
.dresscode-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.dc-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 4vw, 36px);
  display: flex;
  flex-direction: column;
}

.dc-panel .dc-title {
  font-family: var(--font-script);
  font-size: clamp(32px, 6vw, 44px);
  color: var(--script-color);
  line-height: 1;
  margin-bottom: 16px;
}

.dc-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1 1 auto;
}

.dc-items li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.dc-items li:last-child {
  border-bottom: none;
}

.dc-items li::before {
  content: "✓";
  color: #5a9e6f;
  font-weight: 700;
  flex-shrink: 0;
}

.avoid-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.avoid-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: #FEE2E2;
  color: #991B1B;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin: 2px;
}

.avoid-chip::before {
  content: "✕ ";
  font-size: 10px;
}

.swatch-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
  align-items: center;
}

.swatch-big {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, .08);
  flex-shrink: 0;
}

.dc-note {
  background: color-mix(in srgb, var(--sage) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--sage) 30%, transparent);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .87rem;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* Ceremony timeline */
.ceremony-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 4vw, 48px);
}

.ceremony-tl {
  position: relative;
  padding-left: 0;
}

.ceremony-tl::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 64px;
  width: 1px;
  background: linear-gradient(var(--line), var(--sky) 50%, var(--line));
}

.ctl-item {
  display: grid;
  grid-template-columns: 52px 24px 1fr;
  gap: 0 14px;
  align-items: flex-start;
  padding: 14px 0;
}

.ctl-time {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
  padding-top: 3px;
}

.ctl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  margin-top: 4px;
}

.ctl-body h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 3px;
}

.ctl-body p {
  color: var(--ink-soft);
  font-size: .9rem;
  margin: 0;
}

.ceremony-notes {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(20px, 4vw, 32px);
}

.ceremony-notes h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin-bottom: 14px;
}

.cnote {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: .93rem;
}

.cnote:last-child {
  border-bottom: none;
}

.cnote-ico {
  flex-shrink: 0;
  color: var(--accent);
  margin-top: 2px;
}

/* Tips grid */
.tips-grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.tip-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.tip-ico {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1.4;
}

.tip-body h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--ink);
}

.tip-body p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* FAQ accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(17px, 3vw, 21px);
  font-weight: 500;
  color: var(--ink);
}

.faq-q:hover {
  color: var(--accent);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .28s ease, background .2s;
  font-style: normal;
  font-size: 18px;
  line-height: 1;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4, 0, .2, 1), padding .38s;
}

.faq-a-inner {
  padding: 0 0 18px 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.faq-item.open .faq-a {
  max-height: 500px;
}

/* ============================ MODAL RSVP ============================ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(30, 24, 20, 0.72);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(24px, 5vw, 48px);
  position: relative;
  box-shadow: 0 32px 64px -32px rgba(70, 62, 55, 0.6);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
}

.modal-close:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.modal-title {
  font-family: var(--font-script);
  color: var(--script-color);
  font-size: clamp(32px, 7vw, 44px);
  line-height: 1.15;
  margin-top: 22px;
  margin-bottom: 12px;
  padding-right: 36px;
}

.modal-sub {
  color: var(--ink-soft);
  font-size: .9rem;
  margin-bottom: clamp(20px, 4vw, 32px);
}

/* ---------- Upload de foto (modal) ---------- */
.upload-drop {
  border: 2px dashed var(--line);
  border-radius: 12px;
  padding: clamp(24px, 6vw, 40px) 20px;
  text-align: center;
  color: var(--ink-soft);
  transition: border-color .2s, background .2s;
}

.upload-drop svg {
  color: var(--sky);
  margin-bottom: 10px;
}

.upload-drop__text {
  margin: 0 0 14px;
  font-size: .92rem;
}

.upload-drop.is-dragover {
  border-color: var(--sky);
  background: color-mix(in srgb, var(--sky) 8%, transparent);
}

.upload-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.upload-preview__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px;
}

.upload-preview__thumb {
  width: 56px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.upload-preview__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-preview__caption {
  flex: 1;
  min-width: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  padding: 8px 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  resize: vertical;
  min-height: 56px;
}

.upload-preview__caption:focus {
  outline: none;
  border-color: var(--sky);
}

.upload-preview__remove {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(30, 24, 20, 0.12);
  color: var(--ink);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ============================ SEÇÃO EXPLORE REDESENHADA ============================ */
#explore {
  padding: clamp(48px, 10vw, 96px) 0;
}

#explore .section-head {
  margin-bottom: clamp(44px, 9vw, 84px);
}

.explore-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card de bloco principal (RSVP / Presentes) */
.explore-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: pointer;
  margin-bottom: 20px;
  /* Reset para quando usado como <button> */
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  font-family: var(--font-body);
  -webkit-tap-highlight-color: transparent;
}

.explore-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.explore-card:last-child {
  margin-bottom: 0;
}

.explore-card--featured {
  background: color-mix(in srgb, var(--rose) 8%, var(--paper));
  border-color: color-mix(in srgb, var(--rose) 28%, var(--line));
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.ec-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--coral);
  color: #fff;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 9px;
  border-radius: 20px;
}

.ec-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.explore-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 24px -14px color-mix(in srgb, var(--accent) 30%, transparent);
}

.explore-card .ec-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-card .ec-body {
  flex: 1;
  min-width: 0;
}

.explore-card .ec-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 3.5vw, 22px);
  font-weight: 500;
}

.explore-card .ec-sub {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 2px;
}

.explore-card .ec-arrow {
  color: var(--ink-soft);
  flex-shrink: 0;
  transition: transform .25s;
}

.explore-card:hover .ec-arrow {
  transform: translateX(4px);
  color: var(--accent);
}

/* Bloco de informações com subseções expandidas */
.explore-info-block {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.explore-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.explore-info-header .ec-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.explore-info-header .ec-body {
  flex: 1;
}

.explore-info-header .ec-title {
  font-family: var(--font-display);
  font-size: clamp(17px, 3.5vw, 22px);
  font-weight: 500;
}

.explore-info-header .ec-sub {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 2px;
}

.explore-info-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.explore-info-links li {
  border-bottom: 1px solid var(--line);
}

.explore-info-links li:last-child {
  border-bottom: none;
}

.explore-info-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 24px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s, color .2s;
}

.explore-info-links a:hover {
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  color: var(--accent);
}

.explore-info-links .il-label {
  flex: 1;
}

.explore-info-links .il-arrow {
  color: var(--line);
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}

.explore-info-links a:hover .il-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* ============================ MURAL DE RECADOS PREVIEW ============================ */
.recados-preview-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.recado-preview-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 36px 22px 22px;
  break-inside: avoid;
}

.recado-preview-card.pinned {
  border-color: var(--rose);
}

.recado-preview-card .rp-quote {
  font-family: var(--font-script);
  color: var(--sky);
  font-size: 54px;
  line-height: 0.6;
  margin-bottom: -14px;
}

.recado-preview-card .rp-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 1.35;
  word-break: break-word;
}

.recado-preview-card .rp-from {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.recado-empty-card {
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}

.recado-empty-card .re-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.recado-empty-card p {
  color: var(--ink-soft);
  font-size: .95rem;
  margin-bottom: 16px;
}

/* Hero clicável — cursor indica interatividade */
.hero {
  cursor: pointer;
}

/* ============================ TABLET (min-width: 600px) ============================ */
@media (min-width: 600px) {
  :root {
    --gutter: clamp(24px, 4vw, 48px);
  }

  body {
    font-size: 17px;
  }

  .choice {
    flex-direction: row;
  }

  .field-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

  .gift-card .btn {
    width: auto;
  }

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

  .msg-list {
    columns: 2;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 138px;
  }

  .g-1 {
    grid-column: span 2;
    grid-row: span 3;
  }

  .g-2,
  .g-3,
  .g-4,
  .g-5,
  .g-6 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-wide {
    grid-column: span 4;
    grid-row: span 2;
  }

  .g-sq {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero__meta {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
  }

  .hero__meta::before,
  .hero__meta::after {
    content: "";
    height: 1px;
    width: clamp(24px, 5vw, 70px);
    background: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
  }

  .day-ribbon {
    justify-content: center;
    overflow-x: visible;
  }

  .ribbon-item {
    flex: 1;
    min-width: 100px;
    max-width: 160px;
  }
}

/* ============================ DESKTOP (min-width: 900px) ============================ */
@media (min-width: 900px) {
  :root {
    --gutter: clamp(40px, 5vw, 86px);
  }

  body {
    font-size: 18px;
  }

  .countdown {
    margin-top: clamp(24px, 3vw, 40px);
  }

  /* Nav: links inline, hamburguer e ações rápidas ocultos */
  .nav-toggle,
  .nav-quick {
    display: none;
  }

  .nav-links {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: clamp(18px, 2.4vw, 34px);
    background: transparent;
    transform: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    overflow: visible;
    transition: opacity .4s ease, visibility .4s ease;
  }

  .nav-links li:first-child {
    display: none;
  }

  .nav-links a {
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    position: relative;
  }

  .nav.page-nav {
    justify-content: center;
    padding-inline: clamp(18px, 3vw, 44px);
  }

  .nav.page-nav .monogram {
    position: absolute;
    left: clamp(18px, 3vw, 44px);
  }

  .nav.page-nav .nav-links {
    margin-left: 0;
  }

  @media (max-width: 1240px) {
    .nav.page-nav {
      padding-inline: clamp(108px, 10vw, 132px);
    }

    .nav.page-nav .nav-links {
      gap: clamp(12px, 1.35vw, 18px);
    }

    .nav.page-nav .nav-links a {
      font-size: 11px;
      letter-spacing: 0.12em;
    }
  }

  .explore-list {
    max-width: 752px;
    margin: 0 auto;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background: currentColor;
    transition: width .25s;
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  .nav.at-top .nav-links a {
    color: #fff !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
  }

  /* No hero (at-top), esconde os links no desktop — aparecem ao rolar */
  .nav.at-top .nav-links {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .page-subnav {
    top: 58px;
    background: var(--paper);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .page-subnav__menu-btn {
    font-size: 13px;
    gap: 8px;
    padding: 16px 18px 16px 0;
    margin-right: 18px;
  }

  .page-subnav__menu-btn svg {
    width: 17px;
    height: 17px;
  }

  .page-subnav__pills {
    padding: 12px 0;
    gap: 8px;
  }

  .page-subnav__pill {
    font-size: 14px;
    padding: 8px 16px;
  }

  .psd-dw-link {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .psd-section__title {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .psd-section__links {
    gap: 9px;
  }

  .psd-section__links a {
    font-size: 16px;
    line-height: 1.35;
  }

  .pn-link {
    gap: 14px;
    font-size: 17px;
  }

  .pn-link svg {
    width: 26px;
    height: 26px;
  }

  .pn-link .pn-label {
    font-size: 22px;
  }

  .pn-link .pn-dir {
    font-size: 13px;
    letter-spacing: 0.18em;
  }

  /* Timeline: 2 colunas, linha no centro */
  .tl::before {
    left: 50%;
  }

  .tl-item {
    grid-template-columns: 1fr 1fr;
    gap: clamp(72px, 10vw, 170px);
    padding-left: 0;
    align-items: center;
  }

  .tl-item .badge {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .tl-item:nth-child(even) .tl-photo {
    order: 2;
  }

  .tl-item:nth-child(even) .tl-photo::before {
    inset: -14px 14px 14px -14px;
  }

  .tl-photo .photo {
    aspect-ratio: 1/1;
  }

  .tl-photo::before {
    inset: -14px -14px 14px 14px;
  }

  .daygrid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(26px, 4vw, 44px);
  }

  .event-card .btn {
    width: auto;
  }

  .gifts {
    grid-template-columns: repeat(3, 1fr);
  }

  .info-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 34px);
  }

  .map-wrap {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
  }

  .msg-list {
    columns: 3;
  }

  .gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 150px;
    gap: 16px;
  }

  .g-1 {
    grid-column: span 2;
    grid-row: span 3;
  }

  .g-2 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-3 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-4 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-5 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-6 {
    grid-column: span 2;
    grid-row: span 2;
  }

  .g-wide {
    grid-column: span 4;
    grid-row: span 2;
  }

  .g-sq {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery .photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 38px -24px rgba(70, 62, 55, 0.7);
  }

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

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

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

  .dresscode-split {
    grid-template-columns: 1fr 1fr;
  }

  /* O .section-divider entre os dois .dc-panel (grid-column:1/-1) quebrava o
     auto-placement do grid: os dois cards acabavam empilhados na coluna 1, cada um
     com a coluna 2 vazia ao lado, em vez de ficarem lado a lado. Posição explícita
     resolve: os dois cards na linha 1 (colunas 1 e 2), o divisor na linha 2 inteira. */
  .dresscode-split .dc-panel:first-of-type {
    grid-column: 1;
    grid-row: 1;
  }

  .dresscode-split .dc-panel:last-of-type {
    grid-column: 2;
    grid-row: 1;
  }

  .dresscode-split .section-divider {
    grid-row: 2;
  }

  .tips-grid-cards {
    grid-template-columns: 1fr 1fr;
  }

  .ceremony-wrap {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }

  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px var(--accent);
  }

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

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

  .quick-links-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .quick-link-card:hover {
    transform: translateY(-4px);
  }

  .accomm-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .transport-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tips-grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .recados-preview-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Historia — garantir centralização total no mobile */
@media (max-width: 899px) {

  /* A linha vertical fica a 26px da esquerda do .tl,
     e o badge centraliza nela. O padding-left de 60px no item
     garante que o conteúdo fique à direita do badge sem transbordar */
  .tl {
    padding-left: 0;
    overflow: visible;
  }

  .tl-item {
    padding-left: 60px;
    padding-right: 20px;
    max-width: 100%;
  }

  /* Certifica que texto não transborda para a direita */
  .tl-text {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Decorator do tl-photo não vai para fora da tela */
  .tl-photo::before {
    inset: -8px 0 8px 8px;
  }
}

@media (min-width: 600px) {
  .recados-preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recado-empty-card {
    grid-column: 1 / -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .explore-card {
    padding: 26px 28px;
  }
}

.village-intro-text {
  max-width: 680px;
  padding-left: 30px;
  padding-right: 20px;
}

.praia-intro-text {
  max-width: 680px;
  padding-left: 8px;
  padding-right: 8px;
}

.praia-music-block {
  max-width: 680px;
}

.hospedagem-intro-text {
  max-width: 680px;
  padding-left: 30px;
  padding-right: 20px;
}

.passagem-intro-text {
  max-width: 680px;
  padding-left: 30px;
  padding-right: 20px;
}

.dresscode-intro-text {
  max-width: 680px;
  padding: 0 clamp(0px, 6vw, 28px);
}

.locomocao-intro-text {
  max-width: 680px;
  padding-left: 8px;
  padding-right: 8px;
}

/* ============================ TAREFA 1 — HERO AJUSTES ============================ */

/* Hero: coluna com espaço distribuído entre conteúdo e botões */
.hero__inner {
  align-self: center;
  margin-top: 0;
  padding-top: 0px;
  padding-bottom: 0;
}

/* Menu vertical integrado ao fluxo */
.hero-nav {
  position: static;
  transform: none;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  width: max-content;
  margin-top: auto;
  padding-bottom: max(clamp(10px, 2vw, 20px), env(safe-area-inset-bottom, 0px));
}

@media (min-width: 900px) {
  .hero-nav {
    padding-bottom: clamp(18px, 2.2vw, 30px);
  }
}

@media (min-width: 900px) {
  .hero__bg .photo img {
    transform: scale(1.26) translateY(8%);
  }

  .hero__inner {
    margin-top: clamp(34px, 3.8vw, 58px);
  }

  .hero .overline {
    font-size: clamp(13px, 1.15vw, 17px);
    letter-spacing: 0.42em;
    margin-top: -92px;
    margin-bottom: 142px;
  }

  .hero__logo-img {
    width: clamp(184px, 15.8vw, 248px);
    margin: 30px auto -34px;
  }

  .hero__names {
    font-size: clamp(44px, 4.9vw, 62px);
  }

  .hero__top-group {
    transform: none;
  }

  .hero__meta {
    margin-top: 26px;
  }

  .countdown {
    margin-top: clamp(46px, 3.6vw, 72px);
  }

  .hero-nav__hint {
    font-size: clamp(12px, 1vw, 14px);
    max-width: 240px;
  }

  .scroll-cue {
    margin-top: 18px;
  }
}

.hero-nav a:not(.scroll-cue) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(110px, 30vw, 150px);
  height: clamp(24px, 6vw, 32px);
  padding: 0 clamp(10px, 2.5vw, 16px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: clamp(9px, 2.5vw, 12px);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .22s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.hero-nav a:not(.scroll-cue):hover,
.hero-nav a:not(.scroll-cue):active {
  background: rgba(255, 255, 255, 0.32);
}

.hero-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(6px, 2vw, 10px);
}

@keyframes hint-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.75;
  }
}

.hero-nav__hint {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-body);
  font-weight: 600;
  max-width: 180px;
  text-align: center;
  line-height: 1.35;
  animation: hint-pulse 3s ease-in-out infinite;
}

.hero-nav__label {
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1px;
  margin-top: 6px;
}

/* Hero: coluna com conteúdo partindo do topo */
.hero {
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: clamp(24px, 5vw, 48px);
  padding-top: clamp(80px, 16vw, 120px);
  padding-bottom: max(clamp(6px, 1.5vw, 16px), env(safe-area-inset-bottom, 0px));
}

/* ============================ DESTINATION WEDDING HUB ============================ */
.dw-category {
  margin-bottom: clamp(32px, 6vw, 56px);
}

.dw-cat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.dw-cat-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dw-cat-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 4vw, 24px);
  font-weight: 500;
  color: var(--ink);
}

@media (min-width: 900px) {
  .dw-cat-header {
    gap: clamp(24px, 4vw, 72px);
  }

  /* .explore-list é centralizado (max-width:752px + margin:auto) — o cabeçalho
     precisa da mesma largura/centralização pra o ícone+título ficar alinhado
     com o início dos cards abaixo, em vez de ficar colado na borda esquerda. */
  .dw-cat-header {
    max-width: 752px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Mesmo caso na página de Dicas & FAQ: .faq-list é centralizado
     (max-width:760px), mas o cabeçalho "FAQ" ficava colado na borda. */
  #faq .section-icon-head {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Dresscode: as fotos de referência (mulheres/homens) têm proporções
     naturais diferentes, então cada uma renderizava numa altura, e os
     títulos "Para elas"/"Para eles" ficavam desalinhados. Fixando a
     mesma proporção (a mais alta das duas) com object-fit:contain, as
     duas caixas de imagem ficam com a mesma altura — sem cortar ninguém,
     já que o fundo da foto casa com o fundo do card. */
  .dc-panel img {
    aspect-ratio: 864 / 762;
    object-fit: contain;
    background: var(--paper);
  }

  /* Mais respiro entre a foto e o título "Para elas"/"Para eles" */
  .dc-panel .dc-title {
    margin-top: 20px;
  }
}

/* ============================ INFO HUB CARDS ============================ */

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: clamp(28px, 5vw, 48px);
}

.hub-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(20px, 4vw, 36px) clamp(16px, 3vw, 28px);
  text-decoration: none;
  color: var(--ink);
  transition: border-color .28s, box-shadow .28s, transform .28s;
  aspect-ratio: 1 / 1.1;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

.hub-card:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 32px -16px color-mix(in srgb, var(--accent) 28%, transparent);
  transform: translateY(-3px);
}

.hub-card__ico {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.hub-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px, 3.5vw, 22px);
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.2;
}

.hub-card__sub {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.45;
  flex: 1;
}

.hub-card__arrow {
  position: absolute;
  bottom: 14px;
  right: 16px;
  color: var(--line);
  transition: color .28s, transform .28s;
}

.hub-card--featured {
  aspect-ratio: unset;
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 16px;
  padding: clamp(20px, 4vw, 28px);
}

.hub-card--featured .hub-card__ico {
  margin-bottom: 0;
  flex-shrink: 0;
}

.hub-card--featured .hub-card__body {
  flex: 1;
}

.hub-card--featured .hub-card__title {
  font-size: clamp(18px, 4vw, 26px);
}

.hub-card--featured .hub-card__arrow {
  position: static;
  margin-left: auto;
  flex-shrink: 0;
}

.hub-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.hub-card__tags span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 999px;
  padding: 3px 10px;
}

.hub-card:hover .hub-card__arrow {
  color: var(--accent);
  transform: translateX(3px);
}

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

  .hub-card {
    aspect-ratio: auto;
    min-height: 220px;
  }
}

/* ============================ INFO-TABS (mini-nav entre páginas) ============================ */

.info-tabs {
  position: sticky;
  top: 58px;
  z-index: 40;
  background: rgba(255, 253, 250, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px -6px rgba(0, 0, 0, .1);
}

.info-tabs-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 4px;
}

.info-tabs-inner::-webkit-scrollbar {
  display: none;
}

.info-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  flex-shrink: 0;
}

.info-tabs a:hover {
  color: var(--accent);
}

.info-tabs a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============================ DESTINATION CARDS (destaques) ============================ */

.dest-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: clamp(24px, 4vw, 40px);
}

.dest-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.dest-card__ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dest-card h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}

.dest-card p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
  text-align: left;
}

@media (min-width: 600px) {
  .dest-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .dest-highlights {
    max-width: 760px;
    margin: clamp(24px, 4vw, 40px) auto 0;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================ HOSPEDAGEM MINI CARDS (viagem.html) ============================ */

.stay-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(20px, 3.5vw, 36px);
}

.stay-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.stay-card__photo {
  height: 140px;
}

.stay-card__photo .photo {
  height: 100%;
  border-radius: 0;
  border: none;
}

.stay-card__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Empurra o par de botões para o final do card, alinhando com os cards vizinhos
   mesmo quando a descrição acima tem tamanhos diferentes (grid estica os cards da
   mesma linha para a mesma altura) */
.stay-card__spacer {
  flex: 1 1 auto;
}

.stay-card__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.stay-card__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 4px;
}

.stay-card__type {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.stay-card__meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  flex-wrap: wrap;
}

.stay-meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.stay-card__badge--placeholder {
  display: none;
}

@media (min-width: 600px) {
  .stay-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Cards sem badge real (ex.: Vivenda do Rosa, Lagoa do Rosa) reservam a mesma altura
     dos que têm badge, pra título/tipo/botões alinharem quando os cards ficam lado a lado */
  .stay-card__badge--placeholder {
    display: block;
    visibility: hidden;
  }
}

	@media (min-width: 900px) {
	  .stay-grid {
	    grid-template-columns: repeat(2, 1fr);
	    padding-left: clamp(32px, 5vw, 96px);
	    padding-right: clamp(32px, 5vw, 96px);
	  }
	
	  .stay-card__photo {
	    height: 160px;
	  }
}

/* ============================ FLIGHT DEALS (preços automáticos) ============================ */

.flight-deals-head {
  text-align: center;
  margin: clamp(28px, 6vw, 44px) 20px 18px 30px;
}

.flight-deals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 20px clamp(8px, 2vw, 14px) 30px;
}

@media (min-width: 600px) {
  .flight-deals {
    grid-template-columns: repeat(3, 1fr);
  }
}

.flight-deal-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}

.flight-deal-card__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.flight-deal-card__price {
  font-family: var(--font-display);
  font-size: clamp(26px, 6vw, 32px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}

.flight-deal-card__route {
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.flight-deal-card__meta {
  font-size: .78rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.flight-deal-card__airline {
  font-size: .75rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.flight-deal-card__btn {
  display: block;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--sky);
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  margin-top: auto;
}

.flight-deal-card__btn:hover {
  color: var(--accent);
}

.flight-deals__updated {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 2px 0 0;
}

.flight-deals__updated-sub {
  display: block;
  font-size: .74rem;
  color: color-mix(in srgb, var(--ink-soft) 70%, transparent);
  margin-top: 2px;
}

/* ============================ TRANSPORTE OPTIONS ============================ */

.transport-opts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: clamp(20px, 4vw, 36px) 0;
}

.transport-opt {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.transport-opt__ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.transport-opt h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 4px;
}

.transport-opt p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0 0 .3em;
}

.transport-opt .opt-price {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 6px;
}

@media (min-width: 600px) {
  .transport-opts {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================ TIMELINE DO DIA (o-casamento.html) ============================ */

.day-tl {
  position: relative;
  max-width: 640px;
  margin: clamp(20px, 4vw, 40px) auto 0;
}

.day-tl::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 52px;
  width: 1px;
  background: linear-gradient(var(--line), var(--sky) 50%, var(--line));
}

.day-tl-item {
  display: grid;
  grid-template-columns: 44px 20px 1fr;
  gap: 0 16px;
  align-items: flex-start;
  padding: 12px 0;
}

.day-tl-time {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
  padding-top: 2px;
  white-space: nowrap;
}

.day-tl-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
  margin-top: 3px;
}

.day-tl-dot.highlight {
  background: var(--rose);
  box-shadow: 0 0 0 2px var(--rose);
  width: 14px;
  height: 14px;
  margin-top: 2px;
}

.day-tl-body h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;
}

.day-tl-body p {
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Programação: aumenta a legibilidade do miolo da página sem afetar as outras seções */

/* ---------- Recepção / canoa de boas-vindas ---------- */
.welcome-canoe {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  max-width: 680px;
  margin: clamp(20px, 4vw, 32px) auto 0;
  background: color-mix(in srgb, var(--sky) 12%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--sky) 30%, var(--line));
  border-radius: 14px;
  padding: clamp(16px, 3vw, 24px);
}

.welcome-canoe__ico {
  flex-shrink: 0;
  font-size: 1.6rem;
  line-height: 1;
}

.welcome-canoe h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.welcome-canoe p {
  color: var(--ink-soft);
  font-size: .92rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

/* ============================ DRESS CODE PALETA CHIPS ============================ */

.color-chips {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(16px, 3vw, 28px);
  justify-content: center;
}

.color-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.color-chip__swatch {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.07);
}

.color-chip__label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: center;
  max-width: 56px;
  line-height: 1.3;
}

/* ============================ DICAS PAGE ============================ */

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 720px;
  margin: clamp(20px, 4vw, 40px) auto 0;
}

.tip-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.tip-row:first-child {
  border-top: 1px solid var(--line);
}

.tip-row__ico {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1.4;
  width: 32px;
  text-align: center;
}

.tip-row__body h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 2px;
}

.tip-row__body p {
  font-size: .9rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ============================ PREV/NEXT NAVIGATION ============================ */

.page-nav-pn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 40px) var(--gutter);
  border-top: 1px solid var(--line);
  max-width: var(--maxw);
  margin: 0 auto;
}

.pn-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color .2s;
}

.pn-link:hover {
  color: var(--accent);
}

.pn-link.next {
  flex-direction: row-reverse;
}

.pn-link .pn-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  display: block;
}

.pn-link .pn-dir {
  font-size: 10px;
  display: block;
}

.pn-link:hover .pn-label {
  color: var(--accent);
}

/* ============================ INFO PAGE — OVERLINE HEADER VARIANT ============================ */

.page-header--dest {
  padding-top: clamp(100px, 17vw, 164px);
  padding-bottom: clamp(36px, 6vw, 72px);
}

.page-header .overline {
  position: relative;
  color: var(--sky);
}

/* ============================ NOTE BOX (dica destacada) ============================ */

.note-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: color-mix(in srgb, var(--sky) 12%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--sky) 35%, transparent);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: .9rem;
  color: var(--ink-soft);
  margin: clamp(16px, 3vw, 28px) 0;
}

.note-box .nb-ico {
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 1px;
}

.note-box strong {
  color: var(--ink);
}

/* ============================ WARN BOX ============================ */

.warn-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: color-mix(in srgb, #E3B341 8%, var(--paper));
  border: 1px solid color-mix(in srgb, #E3B341 35%, transparent);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: .78rem;
  line-height: 1.45;
  color: var(--ink-soft);
  margin: clamp(16px, 3vw, 28px) 20px clamp(16px, 3vw, 28px) 30px;
}

.warn-box .wb-ico {
  color: #C9971F;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================ DRESSCODE — PALETA DAS MADRINHAS ============================ */
.dc-palette-card {
  margin: 0 auto;
  max-width: 260px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 18px;
  gap: 6px;
}

.dc-palette-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 6px;
  margin-top: 6px;
  max-width: 200px;
}

.dc-swatch {
  width: 22px;
  height: 22px;
  margin: 0 auto;
}

.dc-label {
  font-size: 8px;
  max-width: 44px;
  margin: 0 auto;
}

/* ============================ HOSPEDAGEM — OPÇÕES ============================ */

.opt-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 680px;
  margin-bottom: clamp(24px, 5vw, 40px);
}

.opt-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: .95rem;
}

.opt-item__emoji {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.opt-rec {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--coral);
  background: color-mix(in srgb, var(--coral) 12%, transparent);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.lp-divider {
  text-align: center;
  color: var(--ink-soft);
  font-family: var(--font-script);
  font-size: 1.6rem;
  margin: clamp(28px, 6vw, 48px) 0;
  position: relative;
}

.lp-divider__icon {
  display: inline-block;
  width: clamp(56px, 9vw, 76px);
  height: clamp(56px, 9vw, 76px);
  background-color: var(--accent);
  -webkit-mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  vertical-align: middle;
}

.lp-divider::before,
.lp-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - clamp(46px, 8vw, 62px));
  height: 1px;
  background: var(--line);
}

.lp-divider--plain {
  font-size: 2.3rem;
}

.lp-divider--plain::before,
.lp-divider--plain::after {
  display: none;
}

.lp-divider--symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vw, 22px);
}

.lp-divider--symbol::before,
.lp-divider--symbol::after {
  position: static;
  width: clamp(70px, 16vw, 130px);
  background: linear-gradient(to right, transparent, var(--line));
}

.lp-divider--symbol::after {
  background: linear-gradient(to left, transparent, var(--line));
}

.lp-divider::before {
  left: 0;
}

.lp-divider::after {
  right: 0;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 4vw, 28px);
  padding: clamp(36px, 8vw, 72px) var(--gutter);
}

.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: var(--line);
}

.section-divider__icon {
  width: clamp(48px, 9vw, 64px);
  height: clamp(48px, 9vw, 64px);
  flex-shrink: 0;
  display: block;
  background-color: var(--ink-soft);
  -webkit-mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  mask-image: url('/assets/images/1. LOGO VETOR (SIMBOLO).svg');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.village-box {
  background: color-mix(in srgb, var(--rose) 8%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--rose) 22%, var(--line));
  border-radius: 14px;
  padding: clamp(20px, 4vw, 36px);
  max-width: 680px;
  margin-bottom: clamp(20px, 4vw, 32px);
  font-size: .95rem;
}

.village-box p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

.village-box__title {
  font-family: var(--font-display);
  font-size: clamp(21px, 4.6vw, 26px);
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 500;
}

.discount-badge {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 26px);
  text-align: left;
  background: linear-gradient(170deg,
      color-mix(in srgb, var(--coral) 9%, var(--paper)),
      color-mix(in srgb, var(--rose) 7%, var(--paper)));
  border: 1px solid color-mix(in srgb, var(--coral) 20%, transparent);
  border-radius: 16px;
  padding: clamp(22px, 5vw, 34px) clamp(20px, 5vw, 32px);
  margin: clamp(6px, 2vw, 12px) 20px clamp(20px, 4vw, 28px) 30px;
  max-width: 540px;
}

.discount-badge__amount {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(2px, 1vw, 6px);
  line-height: 1;
  flex-shrink: 0;
}

.discount-badge__text {
  padding-left: clamp(4px, 1vw, 8px);
}

.discount-badge__pct {
  font-family: var(--font-display);
  font-size: clamp(64px, 19vw, 92px);
  font-weight: 600;
  color: var(--coral);
  line-height: 0.78;
  margin-top: -0.08em;
}

.discount-badge__off {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 500;
  color: var(--coral);
}

.discount-badge__desc {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 4vw, 20px);
  color: var(--ink);
  line-height: 1.3;
}

.discount-badge__period {
  margin: clamp(6px, 1.5vw, 9px) 0 0;
  font-size: clamp(13px, 3.2vw, 15px);
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.discount-badge__highlight {
  display: inline;
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  color: var(--coral);
}

.heart-note {
  text-align: center;
  padding: clamp(20px, 4vw, 32px) clamp(16px, 4vw, 28px);
  background: color-mix(in srgb, var(--rose) 8%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--rose) 22%, transparent);
  border-radius: 12px;
  font-size: .95rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: clamp(20px, 4vw, 32px);
}

.heart-note .emoji {
  font-size: 28px;
  display: block;
  margin-bottom: 10px;
}

.heart-note strong {
  color: var(--ink);
}

/* ============================ FLOATING MUSIC PLAYER ============================ */

#floatingMusic {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 9999;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.13);
  padding: 10px 14px 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 270px;
  animation: fmSlideIn .3s ease;
}

@keyframes fmSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#floatingMusic .fm-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

#floatingMusic .fm-note {
  font-size: 1rem;
  flex-shrink: 0;
}

#floatingMusic .fm-title {
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#floatingMusic .fm-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-radius: 50%;
  transition: background .15s;
  flex-shrink: 0;
}

#floatingMusic .fm-btn:hover {
  background: var(--bg-alt);
}

/* ============================================================
   LISTA DE PRESENTES — carrinho / checkout (mini-ecommerce)
   ============================================================ */
.gift-howto {
  margin-top: 12px;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* Indicador de cotas disponíveis / esgotado */
.gift-stock-info {
  font-size: 11px;
  color: var(--ink-soft);
  margin: -2px 0 6px;
  min-height: 16px;
  line-height: 1.3;
}

.gift-stock-info.esgotado {
  color: #dc2626;
  font-weight: 700;
}

.gift-actions .gift-add[disabled] {
  opacity: .45;
  cursor: default;
}

/* Resumo de pagamento no checkout */
.pay-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .85rem 1rem;
  margin: 1rem 0 .5rem;
  background: var(--bg-alt);
  font-size: .88rem;
}

.pay-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  padding: .15rem 0;
}

.pay-summary__fee {
  color: var(--ink-soft);
  font-size: .8rem;
}

.pay-summary__net {
  border-top: 1px solid var(--line);
  margin-top: .4rem;
  padding-top: .4rem;
}

.pay-summary__net strong {
  color: var(--sage);
}

/* Ações dentro do card de presente */
.gift-actions {
  margin-top: auto;
}

.gift-actions .gift-add {
  width: 100%;
  padding: 8px 10px;
  font-size: .8rem;
  margin-top: 0;
}

/* Stepper de quantidade (card + linha do carrinho) */
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sky);
  border-radius: 999px;
  overflow: hidden;
  background: var(--bg);
}

.qty-btn {
  min-width: 38px;
  min-height: 38px;
  border: none;
  background: transparent;
  color: var(--sky);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background .18s, color .18s;
}

.qty-btn:hover {
  background: var(--sky);
  color: #fff;
}

.qty-val {
  min-width: 30px;
  text-align: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}

.gift-actions .qty-stepper {
  width: 100%;
  justify-content: space-between;
}

/* Botão flutuante do carrinho (FAB) — injetado por cart.js */
#cartFab {
  position: fixed;
  bottom: 24px;
  left: 20px;
  z-index: 9998;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform .2s, filter .2s;
}

#cartFab:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

.cart-fab__label {
  line-height: 1;
}

.cart-fab__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

/* ---------- Página de checkout ---------- */
.wrap--narrow {
  max-width: 920px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.checkout-h {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 14px;
}

.checkout-summary .checkout-h {
  margin-top: 26px;
}

.checkout-summary .checkout-h:first-child {
  margin-top: 0;
}

/* Linha de item no carrinho */
.cart-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line__img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-alt);
}

.cart-line__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__title {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 2px;
  font-size: .95rem;
  line-height: 1.3;
}

.cart-line__price {
  font-size: .78rem;
  color: var(--ink-soft);
  margin: 0 0 8px;
}

.cart-line__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.cart-line__sub {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.cart-line__remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-soft);
  font-size: .75rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 0;
}

.cart-line__remove:hover {
  color: var(--coral);
}

/* Resumo / total */
.checkout-total-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 22px;
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-display);
}

.checkout-total-row span {
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.checkout-total-row strong {
  font-size: 30px;
  color: var(--ink);
}

/* Rótulos dos campos (label.field > span) */
.field>span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.field>span em {
  color: var(--coral);
  font-style: normal;
}

/* Métodos de pagamento */
.pay-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.pay-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}

.pay-opt:has(input:checked) {
  border-color: var(--sky);
  background: color-mix(in srgb, var(--sky) 10%, transparent);
}

.pay-opt input {
  width: 18px;
  height: 18px;
  accent-color: var(--sky);
}

.pay-opt__body {
  display: flex;
  flex-direction: column;
}

.pay-opt__body strong {
  font-size: .95rem;
  color: var(--ink);
}

.pay-opt__body small {
  font-size: .78rem;
  color: var(--ink-soft);
}

.checkout-submit {
  width: 100%;
}

.checkout-error {
  color: var(--coral);
  font-size: .85rem;
  font-weight: 600;
  margin: 0 0 12px;
}

.checkout-back {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-size: .85rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.checkout-back:hover {
  color: var(--accent);
}

/* Estados vazio / sucesso */
.checkout-empty,
.checkout-success {
  text-align: center;
  padding: 30px 0;
}

.checkout-empty .btn {
  margin-top: 18px;
}

.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.success-title {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--ink);
  margin: 0 0 8px;
}

.success-total {
  margin: 14px 0 4px;
  font-size: 1.05rem;
}

.success-id {
  font-size: .82rem;
  color: var(--ink-soft);
}

.success-id code {
  font-family: monospace;
}

.success-note {
  font-size: .85rem;
  color: var(--ink-soft);
  max-width: 460px;
  margin: 14px auto 0;
}

.checkout-success .pix-box {
  max-width: 460px;
}

@media (min-width: 760px) {
  .checkout-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }
}

/* ============================ PÁGINAS "O DESTINATION WEDDING" — ALINHAMENTO DE TEXTO NO DESKTOP ============================ */
/* Bloco colocado ao final do arquivo de propósito: .village-box__title, .discount-badge, .partner-card,
   .opt-list e .heart-note têm suas próprias regras de margin definidas mais acima no arquivo — como têm a
   mesma especificidade (uma classe), a regra que vem depois no CSS vence. Precisa ficar aqui para realmente
   sobrescrever margin-left/right dessas regras e centralizar no desktop. */
@media (min-width: 900px) {

  /* "Sul do Brasil / A Praia do Rosa" já aparece no título cursivo do topo — some só no desktop */
  .praia-icon-head--mobile-only {
    display: none;
  }

  /* "O espaço do casamento / Village Praia do Rosa" já aparece no título cursivo do topo — some só no desktop */
  .village-icon-head--mobile-only {
    display: none;
  }

  /* "Onde ficar / Hospedagem" já aparece no título cursivo do topo — some só no desktop */
  .hospedagem-icon-head--mobile-only {
    display: none;
  }

  /* "Como voar / Passagens Aéreas" já aparece no título cursivo do topo — some só no desktop */
  .passagem-icon-head--mobile-only {
    display: none;
  }

  /* "Como se vestir / Dress Code" já aparece no título cursivo do topo — some só no desktop */
  .dresscode-icon-head--mobile-only {
    display: none;
  }

  /* Todos os textos de intro ficam com a mesma largura/centralização (padrão de 760px) e padding simétrico (zero, já que a centralização faz o trabalho) */
  .village-intro-text,
  .praia-intro-text,
  .praia-music-block,
  .hospedagem-intro-text,
  .hospedagem-pode-label,
  .passagem-intro-text,
  .dresscode-intro-text,
  .locomocao-intro-text {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  /* O título (ícone + "Opções de Transporte") acompanha a mesma centralização
     do parágrafo abaixo — é o título que se alinha ao texto, não o contrário. */
  #locomocao .section-icon-head {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Componentes com margin lateral assimétrica embutida (ou sem centralização) — centraliza no desktop */
  .opt-list,
  .heart-note,
  .discount-badge,
  .partner-card {
    margin-left: auto;
    margin-right: auto;
  }

  /* Mais respiro entre o texto acima e o card de desconto */
  .discount-badge {
    margin-top: clamp(24px, 4vw, 36px);
  }

  /* Alinha o menu "Seções" + pills com a coluna de texto de 760px (centralizada dentro
     de .wrap, que por sua vez é centralizado em var(--maxw)) das páginas já padronizadas */
  .page-subnav--760 {
    padding-left: calc(max(var(--gutter), (100vw - var(--maxw)) / 2 + var(--gutter)) + max(0px, (min(100vw, var(--maxw)) - 2 * var(--gutter) - 760px) / 2));
  }

  /* Programação: o padding vertical de .section (clamp(32px,7vw,80px)) some entre a
     linha do tempo e "Informações importantes" cresce demais em telas largas — reduz
     só o topo da seção seguinte, no desktop */
  #cerimonia {
    padding-top: clamp(16px, 2vw, 32px);
  }

  /* Alinha "08 de Abril de 2027 / The Wedding Day" com a foto abaixo (mesma largura/centralização de 760px) */
  .programacao-icon-head {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Reabordagem da "Paleta das Madrinhas": no mobile é um card vertical estreito
     (ícone em cima, tudo centralizado) — no desktop vira um card mais largo com o
     ícone ao lado do conteúdo e as bolinhas de cor numa fileira única, em vez do
     grid apertado de 3 colunas com swatches minúsculos */
  .dc-palette-card {
    max-width: 640px;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    padding: 30px 38px;
    gap: 24px;
  }

  .dc-palette-card .wb-ico {
    margin-top: 3px;
  }

  .dc-palette-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    max-width: none;
    justify-content: flex-start;
    margin-top: 18px;
  }

  .dc-swatch {
    width: 42px;
    height: 42px;
    margin: 0;
  }

  .dc-label {
    font-size: 10.5px;
    max-width: none;
    margin: 0;
  }

  #programacao .section-icon-head .sih-text .overline {
    font-size: 13px;
  }

  #programacao .section-icon-head .sih-text .headline {
    font-size: clamp(30px, 5vw, 40px);
  }

  #programacao .day-tl-time {
    font-size: 17px;
  }

  #programacao .day-tl-body h4 {
    font-size: 20px;
  }

  #programacao .day-tl-body p {
    font-size: 1rem;
    line-height: 1.75;
  }

  #cerimonia .ceremony-notes h3 {
    font-size: 24px;
  }

  #cerimonia .cnote {
    font-size: 1rem;
    line-height: 1.7;
  }
}
