/* =========================================================
   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: 20px;
  --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;
}

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

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

#frase {
  scroll-margin-top: 58px;
}

.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(32px, 8vw, 44px);
  margin-bottom: 2px;
  display: block;
}

.section-head .headline {
  font-size: clamp(28px, 7vw, 60px);
  line-height: 1.06;
  letter-spacing: 0.005em;
}

.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;
}

.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;
}

/* ---------- 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;
}

.monogram__icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: block;
  margin-top: -3px;
  margin-left: -10px;
  background-color: currentColor;
  -webkit-mask-image: url('images/1. LOGO VETOR (SIMBOLO).svg');
  mask-image: url('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));
  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 .monogram,
.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;
}

.nav.at-top .nav-toggle {
  color: #fff;
}

/* ============================ 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;
}

.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%;
}

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

.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;
}

/* Data da cerimônia — empilhada no mobile */
.hero__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  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(60px, 18vh, 120px);
  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: clamp(20px, 4.5vw, 38px);
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}

/* ============================ 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(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  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(20px, 4vw, 36px) var(--gutter) 0;
}

.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%;
}

/* 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: 56px;
  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;
  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 */
.g-1 {
  grid-column: span 2;
  grid-row: span 2;
}

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

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

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

.lightbox.open {
  display: flex;
}

.lightbox .frame {
  width: min(92vw, 760px);
  aspect-ratio: 3/2;
}

.lightbox .frame .photo {
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.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;
}

/* ============================ 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 {
  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 h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 5vw, 36px);
  margin-bottom: 14px;
}

/* ============================ 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: 22px 22px 24px;
}

.msg-card .quote {
  font-family: var(--font-script);
  color: var(--sky);
  font-size: 44px;
  line-height: 0.5;
}

.msg-card p {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  font-style: italic;
  margin: 8px 0 0;
}

.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;
}

/* ============================ 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 .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;
}

/* Gallery preview (index) */
.gp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 180px 150px 150px;
  gap: 10px;
}

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

.gp-slot .photo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: transform .4s ease, box-shadow .4s ease;
}

.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:not(.is-fading) {
  opacity: 1;
  transition: opacity .55s ease, transform .4s ease, box-shadow .4s ease;
}

.gp-featured {
  grid-column: span 2;
}

@media (min-width: 600px) {
  .gp-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 210px 210px;
    gap: 12px;
  }

  .gp-featured {
    grid-column: 1;
    grid-row: span 2;
  }
}

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

/* 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);
}

.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;
}

.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: var(--accent);
  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;
  margin-bottom: 4px;
}

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

/* ============================ SEÇÃO EXPLORE REDESENHADA ============================ */
.explore-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Card de bloco principal (RSVP / Presentes) */
.explore-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s;
  cursor: pointer;
  margin-bottom: 12px;
  /* 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: 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-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: 20px 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: 40px;
  line-height: 0.5;
  margin-bottom: 10px;
}

.recado-preview-card .rp-text {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recado-preview-card .rp-from {
  font-size: 11px;
  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 2;
  }

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

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

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

  .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;
  }

  /* 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;
    gap: 27px;
    background: transparent;
    transform: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    overflow: visible;
  }

  .nav-links a {
    border-bottom: none;
    padding: 4px 0;
    font-size: 12px;
    position: relative;
  }

  .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);
  }

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

  .tl-item {
    grid-template-columns: 1fr 1fr;
    gap: clamp(34px, 6vw, 90px);
    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 2;
  }

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

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

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

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

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

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

  .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;
  }

  .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(3, 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);
  }

  .explore-card {
    padding: 22px 24px;
  }
}

/* ============================ 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(28px, 6vw, 48px), env(safe-area-inset-bottom, 0px));
}

.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(20px, 5vw, 40px), 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);
}

/* ============================ 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 {
    grid-template-columns: repeat(4, 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;
}

.stay-card__photo {
  height: 140px;
}

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

.stay-card__body {
  padding: 16px 18px 20px;
}

.stay-card__badge {
  font-size: 10px;
  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: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}

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

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

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

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

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

  .stay-card__photo {
    height: 160px;
  }
}

/* ============================ ROUTE CARDS (aeroportos) ============================ */

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

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

.route-card.main {
  border-color: var(--accent);
}

.route-card .rc-code {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .06em;
  line-height: 1;
  margin-bottom: 2px;
}

.route-card .rc-city {
  font-size: .9rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.route-card .rc-rows {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rc-row {
  display: flex;
  gap: 10px;
  font-size: .88rem;
  color: var(--ink-soft);
}

.rc-row strong {
  color: var(--ink);
  min-width: 70px;
  flex-shrink: 0;
}

.route-card .rc-tag {
  display: inline-block;
  margin-top: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
}

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

/* ============================ 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;
}

/* ---------- 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: 14px;
  align-items: flex-start;
  background: color-mix(in srgb, var(--accent) 8%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: .9rem;
  color: var(--ink-soft);
  margin: clamp(16px, 3vw, 28px) 0;
}

.warn-box .wb-ico {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================ 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::before,
.lp-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: calc(50% - 44px);
  height: 1px;
  background: var(--line);
}

.lp-divider::before {
  left: 0;
}

.lp-divider::after {
  right: 0;
}

.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(18px, 4vw, 22px);
  color: var(--ink);
  margin: 0 0 16px;
  font-weight: 500;
}

.discount-badge {
  display: flex;
  gap: 16px;
  align-items: center;
  background: color-mix(in srgb, var(--coral) 10%, var(--paper));
  border: 1px solid color-mix(in srgb, var(--coral) 22%, transparent);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 4px 0 16px;
}

.discount-badge__pct {
  font-family: var(--font-display);
  font-size: clamp(40px, 10vw, 56px);
  font-weight: 600;
  color: var(--coral);
  line-height: 1;
  flex-shrink: 0;
}

.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);
}