/* ═══════════════════════════════════════════════════════════════
   Casandra & Carlos — 26 · 09 · 2026
   Paleta do convite (verde-oliva, creme, renda) num layout web
   ═══════════════════════════════════════════════════════════════ */

:root {
  --verde: #7B865F;
  --verde-claro: #97a077;
  /* para texto pequeno sobre creme: escuro q.b. para ler bem (contraste ~4.3:1) */
  --verde-texto: #59653e;
  --verde-escuro: #59653e;
  --verde-profundo: #46512f;
  --creme: #F8F9F0;
  --creme-quente: #f1f1e2;
  --branco: #fffef9;
  --dourado: #b1a065;
  --linha: rgba(123, 134, 95, .28);
  --sombra-suave: 0 6px 24px rgba(70, 81, 47, .10);
  --sombra-card: 0 20px 60px rgba(50, 58, 30, .35);
  --raio: 18px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --script: "Pinyon Script", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

[hidden] { display: none !important; }

/* As <picture> só existem para servir WebP com PNG de reserva — não devem
   contar para o layout, senão o posicionamento das imagens partia-se. */
picture { display: contents; }

html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--serif);
  color: var(--verde-escuro);
  background: var(--creme);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ───────────────────────────── navegação ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(248, 249, 240, .88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linha);
  transition: box-shadow .3s;
}

.nav.rolou { box-shadow: 0 4px 20px rgba(70,81,47,.08); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  color: var(--verde-escuro);
  font-size: 1.05rem;
  letter-spacing: .22em;
  flex-shrink: 0;
}

.nav-logo img { width: 34px; }

.nav-logo i {
  font-style: normal;
  font-family: var(--script);
  color: var(--dourado);
  letter-spacing: 0;
}

.nav-links {
  min-width: 0;
  display: flex;
  justify-content: safe center;
  max-width: 100%;
  gap: clamp(.2rem, 2vw, 1rem);
  overflow-x: auto;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  text-decoration: none;
  color: var(--verde);
  font-size: .92rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .5rem .65rem;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .2s, color .2s;
}

.nav-links a:hover { background: rgba(123,134,95,.12); color: var(--verde-profundo); }

.nav-links a.activo {
  background: rgba(123, 134, 95, .14);
  color: var(--verde-profundo);
}

/* ───────────────────────────── botões ── */

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--serif);
  font-size: 1.02rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--creme);
  background: var(--verde-escuro);
  border: none;
  border-radius: 999px;
  padding: .95rem 2rem;
  cursor: pointer;
  transition: background .25s, transform .15s, box-shadow .25s;
  box-shadow: 0 8px 22px rgba(70, 81, 47, .28);
}

.botao:hover {
  background: var(--verde-profundo);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(70, 81, 47, .38);
}

.botao:active { transform: translateY(0); }

/* ───────────────────────────── cartões ── */

.cartao {
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  box-shadow: var(--sombra-suave);
}

/* ───────────────────────────── hero (mantém o espírito do convite) ── */

.hero {
  min-height: 100svh;
  display: grid;
  place-items: center;
  position: relative;
  padding: 5.4rem 0 4rem;
  background-color: var(--verde);
  background-image:
    radial-gradient(ellipse at 50% -20%, rgba(255,255,255,.10), transparent 60%),
    radial-gradient(ellipse at 50% 120%, rgba(30,40,10,.18), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.lace-card {
  position: relative;
  width: min(640px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(2.2rem, 6vw, 3.4rem) clamp(1.4rem, 5vw, 3rem);
  text-align: center;
  border: 16px solid transparent;
  border-radius: 6px;
  background:
    linear-gradient(var(--creme), var(--creme)) padding-box,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Crect width='22' height='22' fill='%23e9ebdb'/%3E%3Ccircle cx='11' cy='11' r='8.2' fill='none' stroke='%237B865F' stroke-width='1'/%3E%3Cg fill='%237B865F'%3E%3Cellipse cx='11' cy='6.6' rx='2' ry='3'/%3E%3Cellipse cx='11' cy='15.4' rx='2' ry='3'/%3E%3Cellipse cx='6.6' cy='11' rx='3' ry='2'/%3E%3Cellipse cx='15.4' cy='11' rx='3' ry='2'/%3E%3C/g%3E%3Ccircle cx='11' cy='11' r='1.6' fill='%23e9ebdb'/%3E%3Ccircle cx='0' cy='0' r='2.6' fill='%23f8f9f0'/%3E%3Ccircle cx='22' cy='0' r='2.6' fill='%23f8f9f0'/%3E%3Ccircle cx='0' cy='22' r='2.6' fill='%23f8f9f0'/%3E%3Ccircle cx='22' cy='22' r='2.6' fill='%23f8f9f0'/%3E%3C/svg%3E") border-box repeat,
    linear-gradient(#e9ebdb, #e9ebdb) border-box;
  box-shadow: var(--sombra-card);
}

.lace-card::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(123, 134, 95, .55);
  outline: 1px solid rgba(123, 134, 95, .28);
  outline-offset: 3px;
  pointer-events: none;
}

.monograma {
  width: clamp(140px, 30vw, 190px);
  margin: 0 auto .4rem;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(70,81,47,.12));
}

.nomes {
  font-weight: 500;
  font-size: clamp(1.6rem, 5.6vw, 2.4rem);
  letter-spacing: .24em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--verde-escuro);
  display: grid;
  gap: .1em;
}

.nomes .amp {
  font-family: var(--script);
  font-size: 1.4em;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dourado);
  line-height: .8;
}

.data-linha {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: .9em;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--verde);
}

.data-linha i { font-style: normal; color: var(--verde-claro); letter-spacing: 0; }

.local-linha {
  margin-top: .6rem;
  font-size: clamp(.9rem, 2.8vw, 1.05rem);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: clamp(.8rem, 4vw, 1.7rem);
  margin: 1.8rem auto 0;
  padding-top: 1.4rem;
  width: fit-content;
  border-top: 1px solid var(--linha);
}

.countdown div { display: grid; gap: .12rem; min-width: 3em; }

.countdown b {
  font-size: clamp(1.55rem, 6vw, 2.1rem);
  font-weight: 500;
  color: var(--verde-profundo);
  font-variant-numeric: tabular-nums;
}

.countdown small {
  font-size: .66rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

.save-the-date {
  font-family: var(--script);
  font-size: clamp(1.6rem, 6vw, 2.1rem);
  color: var(--dourado);
  margin-top: 1.5rem;
}

.seta-baixo {
  position: absolute;
  bottom: .9rem;
  left: 50%;
  translate: -50% 0;
  color: var(--creme);
  opacity: .85;
  padding: .5rem;
  animation: flutuar-seta 2.6s ease-in-out infinite;
}

.seta-baixo:hover { opacity: 1; }

@keyframes flutuar-seta {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(7px); }
}

/* ───────────────────────────── flores decorativas ── */

.flor {
  position: absolute;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 24px rgba(40, 48, 20, .28));
  animation: respirar 7s ease-in-out infinite;
}

/* --par é o deslocamento de parallax (definido pelo main.js ao rolar) */
@keyframes respirar {
  0%, 100% { transform: translateY(var(--par, 0px)) rotate(0deg); }
  50%      { transform: translateY(calc(var(--par, 0px) - 6px)) rotate(1.6deg); }
}

/* ───────────────────────────── pétalas a cair (hero) ── */

.petalas {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.petalas i {
  position: absolute;
  top: -5%;
  width: 13px;
  height: 13px;
  background: radial-gradient(circle at 35% 30%, #fffef9, #eceedb);
  border-radius: 62% 38% 55% 45% / 55% 62% 38% 45%;
  opacity: 0;
  animation: cair-petala linear infinite;
}

.petalas i:nth-child(1) { left: 8%;  animation-duration: 16s; animation-delay: 0s;   scale: .8; }
.petalas i:nth-child(2) { left: 22%; animation-duration: 21s; animation-delay: 5s;  }
.petalas i:nth-child(3) { left: 37%; animation-duration: 18s; animation-delay: 11s; scale: .7; }
.petalas i:nth-child(4) { left: 55%; animation-duration: 23s; animation-delay: 2s;  scale: 1.1; }
.petalas i:nth-child(5) { left: 68%; animation-duration: 17s; animation-delay: 8s;  }
.petalas i:nth-child(6) { left: 82%; animation-duration: 20s; animation-delay: 14s; scale: .85; }
.petalas i:nth-child(7) { left: 93%; animation-duration: 24s; animation-delay: 4s;  scale: .75; }

@keyframes cair-petala {
  0%   { opacity: 0; transform: translate3d(0, -4vh, 0) rotate(0deg); }
  6%   { opacity: .5; }
  50%  { transform: translate3d(-22px, 50vh, 0) rotate(140deg); }
  88%  { opacity: .35; }
  100% { opacity: 0; transform: translate3d(16px, 106vh, 0) rotate(260deg); }
}

.flor-hero-esq {
  width: clamp(120px, 24vw, 220px);
  top: clamp(30px, 5vw, 60px);
  left: clamp(-50px, -6vw, -20px);
}

.flor-hero-dir {
  width: clamp(140px, 28vw, 280px);
  bottom: 5vh;
  right: clamp(-60px, -7vw, -24px);
  animation-delay: -3s;
}

.flor-meio-dir {
  width: clamp(120px, 22vw, 220px);
  right: clamp(-55px, -7vw, -20px);
  bottom: -60px;
  transform: scaleX(-1);
  z-index: 2;
  opacity: .8;
}

.flor-fim-esq {
  width: clamp(130px, 24vw, 240px);
  left: clamp(-45px, -5vw, -20px);
  bottom: -40px;
  z-index: 2;
  animation-delay: -2s;
  opacity: .9;
}

/* ───────────────────────────── secções ── */

.seccao {
  position: relative;
  padding: clamp(3.4rem, 9vw, 6rem) 1.2rem;
}

.seccao-destacada {
  background: var(--creme-quente);
  border-top: 1px solid var(--linha);
  border-bottom: 1px solid var(--linha);
}

.miolo {
  max-width: 700px;
  margin-inline: auto;
  text-align: center;
}

.rotulo-seccao {
  font-family: var(--script);
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  color: var(--dourado);
  margin-bottom: .4rem;
}

.titulo-seccao {
  font-size: clamp(1.75rem, 5.2vw, 2.4rem);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--verde-escuro);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pre-titulo {
  font-size: clamp(.8rem, 2.6vw, .95rem);
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--verde-texto);
  margin-bottom: .9rem;
}

.texto-corrido {
  font-size: clamp(1.12rem, 3.2vw, 1.3rem);
  line-height: 1.75;
  max-width: 50ch;
  margin-inline: auto;
  color: #6d7553;
}

.texto-corrido.pequeno { font-size: 1.1rem; }

.texto-corrido b { color: var(--verde-profundo); font-weight: 600; }

.amp-script {
  font-family: var(--script);
  font-size: 1.35em;
  color: var(--dourado);
  vertical-align: -0.08em;
}

/* ───────────────────────────── convite (no hero) ── */

.sub-convite {
  font-style: italic;
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  color: var(--verde-texto);
  margin-top: .7rem;
}

.convite-pessoal {
  margin: 1.5rem auto 0;
  max-width: 420px;
  padding-top: 1.3rem;
  border-top: 1px solid var(--linha);
}

.convidamos {
  font-size: .92rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

.nome-convidado {
  font-family: var(--script);
  font-size: clamp(2.3rem, 7.5vw, 3.2rem);
  color: var(--verde-profundo);
  margin-top: .4rem;
  line-height: 1.15;
}

.lugares-info {
  margin-top: .4rem;
  font-size: .92rem;
  letter-spacing: .12em;
  color: var(--verde);
}

/* ───────────────────────────── rsvp ── */

.prazo {
  font-size: clamp(1rem, 3vw, 1.12rem);
  font-style: italic;
  color: #6d7553;
  margin-bottom: 1.8rem;
}

.prazo b { font-style: normal; font-weight: 600; color: var(--verde-profundo); }

.rsvp-form {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
  max-width: 460px;
  margin-inline: auto;
  padding: clamp(1.6rem, 5vw, 2.4rem);
}

.rsvp-convidado {
  width: 100%;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(123, 134, 95, .18);
}

.rsvp-convidado-nome {
  font-family: var(--script);
  font-size: clamp(1.8rem, 6vw, 2.3rem);
  color: var(--verde-profundo);
  line-height: 1.15;
}

.rsvp-convidado-lugares {
  margin-top: .4rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--verde-escuro);
}

.campo { display: grid; gap: .65rem; justify-items: center; width: 100%; }

.campo label {
  font-size: .78rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

.campo input[type="text"] {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-align: center;
  color: var(--verde-escuro);
  background: var(--creme);
  border: 1px solid var(--linha);
  border-radius: 12px;
  padding: .8rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}

.campo input[type="text"]:focus {
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(123, 134, 95, .15);
}

.botao-whatsapp { width: 100%; }

.link-nao-vou {
  font-family: var(--serif);
  font-size: .92rem;
  font-style: italic;
  color: var(--verde-escuro);
  background: none;
  border: none;
  border-bottom: 1px dotted var(--verde-claro);
  padding-bottom: 2px;
  cursor: pointer;
  transition: color .2s;
}

.link-nao-vou:hover { color: var(--verde-escuro); }

/* ───────────────────────────── galeria do dress code ── */

.titulo-nota {
  display: block;
  margin-top: .2rem;
  font-size: .58em;
  letter-spacing: .16em;
  color: var(--verde-claro);
}

.galeria-dica {
  margin-top: .2rem;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

/* ── paleta de cores do jardim ── */

.paleta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem 1.5rem;
  margin-top: .6rem;
}

.paleta figure { display: grid; gap: .5rem; justify-items: center; }

/* círculo de "tecido": brilho suave + costura tracejada à volta */
.paleta .cor {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .38), transparent 48%),
    var(--c);
  box-shadow: inset 0 -2px 6px rgba(70, 81, 47, .18), 0 3px 8px rgba(70, 81, 47, .14);
  outline: 1px dashed rgba(123, 134, 95, .55);
  outline-offset: 3px;
}

.paleta figcaption {
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

.paleta-nota {
  margin-top: 1.1rem;
  font-style: italic;
  font-size: 1rem;
  color: var(--verde-texto);
}

/* ── cartões elas / eles ── */

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: .9rem;
  max-width: 620px;
  margin: 1.6rem auto 0;
}

.duo-cartao {
  padding: 1.5rem 1.4rem 1.6rem;
  display: grid;
  gap: .55rem;
  justify-items: center;
  text-align: center;
  color: var(--verde);
}

.duo-cartao h4 {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  color: var(--verde-escuro);
}

.duo-cartao p {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #6d7553;
  max-width: 30ch;
}

.galeria {
  position: relative;
  margin-top: 1.8rem;
}

.galeria-faixa {
  /* offsetParent dos slides: torna item.offsetLeft utilizável como posição de
     scroll no main.js */
  position: relative;
  display: flex;
  gap: clamp(.8rem, 2.5vw, 1.4rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  /* sem scroll-behavior: smooth — o scroll suave nativo é cancelado pelo
     scroll-snap; a animação das setas é feita no main.js */
  scrollbar-width: none;
  /* espaço lateral para o 1.º e último slide ficarem centrados;
     em cima, folga para a fita adesiva e a rotação dos quadros */
  padding: 1.2rem max(1.2rem, calc((100% - 380px) / 2)) 1rem;
  outline: none;
}

.galeria-faixa::-webkit-scrollbar { display: none; }

.galeria-faixa:focus-visible { outline: 2px solid var(--verde); outline-offset: 4px; }

.galeria-item {
  flex: 0 0 auto;
  width: min(380px, 78vw);
  scroll-snap-align: center;
  text-align: center;
  --rot: 0deg;   /* inclinação de "quadro afixado"; o activo endireita-se */
  --sobe: 0px;
}

.galeria-item:nth-child(odd)  { --rot: -1.5deg; }
.galeria-item:nth-child(even) { --rot: 1.8deg; }
.galeria-item.activo          { --rot: 0deg; }

.galeria-botao {
  position: relative;
  display: block;
  width: 100%;
  padding: 8px;
  border: 1px solid var(--linha);
  border-radius: var(--raio);
  background: var(--branco);
  box-shadow: var(--sombra-suave);
  cursor: zoom-in;
  transform: rotate(var(--rot)) translateY(var(--sobe));
  transition: transform .5s ease, box-shadow .25s ease;
}

.galeria-item.activo .galeria-botao { box-shadow: 0 14px 34px rgba(70, 81, 47, .16); }

.galeria-botao:hover { --sobe: -3px; box-shadow: 0 14px 34px rgba(70,81,47,.16); }

/* fita adesiva translúcida a "segurar" cada quadro */
.galeria-botao::after {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 92px;
  height: 26px;
  translate: -50% 0;
  rotate: -3deg;
  background: linear-gradient(rgba(241, 241, 226, .82), rgba(233, 235, 219, .72));
  clip-path: polygon(3% 6%, 97% 0, 100% 94%, 0 100%);
  box-shadow: 0 2px 5px rgba(70, 81, 47, .14);
  pointer-events: none;
}

.galeria-botao img {
  display: block;
  width: 100%;
  height: min(58vh, 460px);
  object-fit: cover;
  object-position: top center;
  border-radius: calc(var(--raio) - 10px);
}

.galeria-item figcaption {
  margin-top: .8rem;
  font-size: .76rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--verde-texto);
}

.galeria-seta {
  position: absolute;
  top: calc(50% - 1.2rem);
  translate: 0 -50%;
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--linha);
  background: rgba(255, 254, 249, .94);
  color: var(--verde-escuro);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--sombra-suave);
  transition: background .2s, opacity .2s;
}

.galeria-seta:hover { background: var(--verde-escuro); color: var(--creme); }

.galeria-seta:disabled { opacity: .25; cursor: default; }

.galeria-seta:disabled:hover { background: rgba(255, 254, 249, .94); color: var(--verde-escuro); }

.galeria-seta-esq { left: clamp(.4rem, 3vw, 2rem); }
.galeria-seta-dir { right: clamp(.4rem, 3vw, 2rem); }

.galeria-pontos {
  display: flex;
  justify-content: center;
  gap: .2rem;
  margin-top: .2rem;
}

/* botão de 28px (alvo de toque confortável) com o ponto desenhado no meio */
.galeria-pontos button {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.galeria-pontos button::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid var(--verde-claro);
  transition: background .25s, transform .25s, border-color .25s;
}

.galeria-pontos button[aria-selected="true"]::before {
  background: var(--verde);
  border-color: var(--verde);
  transform: scale(1.4);
}

/* ── imagem ampliada ── */

.lupa {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(56, 64, 40, .93);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: lupa-entrar .25s ease;
  overflow-y: auto;
}

@keyframes lupa-entrar { from { opacity: 0 } to { opacity: 1 } }

.lupa-conteudo {
  text-align: center;
  margin: auto;
  animation: lupa-zoom .28s cubic-bezier(.2, .7, .3, 1);
}

@keyframes lupa-zoom {
  from { opacity: .3; transform: scale(.94); }
  to   { opacity: 1; transform: scale(1); }
}

.lupa-conteudo img {
  display: block;
  max-width: min(100%, 620px);
  max-height: 82vh;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

.lupa-conteudo figcaption {
  margin-top: 1rem;
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--creme);
}

.lupa-fechar {
  position: fixed;
  top: clamp(.8rem, 3vw, 1.6rem);
  right: clamp(.8rem, 3vw, 1.6rem);
  z-index: 101;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(248, 249, 240, .45);
  background: rgba(248, 249, 240, .12);
  color: var(--creme);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background .2s;
}

.lupa-fechar:hover { background: rgba(248, 249, 240, .28); }

.lupa-seta {
  position: fixed;
  top: 50%;
  translate: 0 -50%;
  z-index: 101;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(248, 249, 240, .45);
  background: rgba(248, 249, 240, .12);
  color: var(--creme);
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: background .2s;
}

.lupa-seta:hover { background: rgba(248, 249, 240, .28); }

.lupa-seta-esq { left: clamp(.5rem, 2.5vw, 1.6rem); }
.lupa-seta-dir { right: clamp(.5rem, 2.5vw, 1.6rem); }

/* ───────────────────────────── localização ── */

.cartao-mapa {
  margin: 1.6rem auto;
  padding: .9rem;
  display: grid;
  gap: .9rem;
  max-width: 620px;
}

.mapa-embed {
  position: relative;
  border-radius: calc(var(--raio) - 8px);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--creme-quente);
}

.mapa-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.direcoes {
  margin-top: 1.4rem;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}

.mapa-ilustrado {
  margin: 1.8rem auto 0;
  max-width: 560px;
}

.mapa-ilustrado summary {
  cursor: pointer;
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--verde);
  padding: .6rem 1rem;
  border-radius: 999px;
  display: inline-block;
  border: 1px solid var(--linha);
  transition: background .2s;
  list-style: none;
}

.mapa-ilustrado summary::-webkit-details-marker { display: none; }

.mapa-ilustrado summary:hover { background: rgba(123,134,95,.1); }

.mapa-ilustrado[open] summary { background: rgba(123,134,95,.12); }

.mapa { margin-top: 1.2rem; }

.mapa img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 1px solid var(--linha);
  box-shadow: var(--sombra-suave);
}

.mapa figcaption {
  margin-top: .8rem;
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--verde-texto);
  text-transform: uppercase;
}

/* ───────────────────────────── presentes ── */

.sub-seccao {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  text-indent: .3em;
  color: var(--verde);
  margin: 2.6rem 0 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.sub-seccao::before,
.sub-seccao::after {
  content: "";
  height: 1px;
  width: 2.4rem;
  background: var(--linha);
}

.lojas {
  display: grid;
  gap: .8rem;
  max-width: 520px;
  margin-inline: auto;
}

.loja {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.4rem;
  text-align: left;
}

.loja-texto { display: grid; gap: .15rem; }

.loja-nome {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--verde-escuro);
}

.loja-desc {
  font-size: .88rem;
  font-style: italic;
  color: var(--verde-texto);
}

.botao-loja {
  font-size: .8rem;
  padding: .6rem 1.1rem;
  letter-spacing: .1em;
  box-shadow: none;
  background: var(--verde);
  flex-shrink: 0;
}

.botao-loja:hover { background: var(--verde-escuro); box-shadow: 0 6px 16px rgba(70,81,47,.25); }

.dados-bancarios {
  margin-top: 1.4rem;
  max-width: 460px;
  margin-inline: auto;
  overflow: hidden;
}

.dado {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.2rem;
  text-align: left;
}

.dado + .dado { border-top: 1px solid rgba(123, 134, 95, .18); }

.dado-rotulo {
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--verde-texto);
  width: 5.2em;
  flex-shrink: 0;
}

.dado-valor {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--verde-profundo);
  flex: 1;
}

.botao-copiar {
  font-family: var(--serif);
  font-size: .76rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--verde);
  background: var(--creme);
  border: 1px solid var(--linha);
  border-radius: 999px;
  padding: .4rem .85rem;
  cursor: pointer;
  transition: all .2s;
}

.botao-copiar:hover { background: var(--verde); color: var(--creme); }

.botao-copiar.copiado { background: var(--verde-escuro); border-color: var(--verde-escuro); color: var(--creme); }

/* ───────────────────────────── rodapé ── */

.rodape {
  text-align: center;
  padding: 3rem 1rem 3.5rem;
  color: var(--creme);
  background: var(--verde);
  background-image: radial-gradient(ellipse at 50% -40%, rgba(255,255,255,.10), transparent 60%);
}

.rodape img {
  width: 70px;
  margin-bottom: .6rem;
  filter: brightness(0) invert(1);
  opacity: .9;
}

.rodape-nomes { font-size: 1.25rem; letter-spacing: .3em; text-transform: uppercase; }

.rodape-data { margin-top: .5rem; font-size: .85rem; letter-spacing: .4em; opacity: .75; }

/* ───────────────────────────── animações de entrada ── */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform .9s ease;
}

.reveal.visivel { opacity: 1; transform: translateY(0); }

@keyframes entrar-suave {
  to { opacity: 1; transform: none; }
}

/* o convite entra elemento a elemento, como quem abre um envelope */
.hero-card > * { opacity: 0; transform: translateY(14px); }

.hero-card.visivel > * {
  animation: entrar-suave .75s cubic-bezier(.2, .6, .2, 1) forwards;
}

.hero-card.visivel > *:nth-child(1) { animation-delay: .1s; }
.hero-card.visivel > *:nth-child(2) { animation-delay: .28s; }
.hero-card.visivel > *:nth-child(3) { animation-delay: .42s; }
.hero-card.visivel > *:nth-child(4) { animation-delay: .56s; }
.hero-card.visivel > *:nth-child(5) { animation-delay: .7s; }
.hero-card.visivel > *:nth-child(6) { animation-delay: .82s; }
.hero-card.visivel > *:nth-child(7) { animation-delay: .92s; }
.hero-card.visivel > *:nth-child(8) { animation-delay: 1.02s; }

/* a paleta brota círculo a círculo */
.miolo.reveal .paleta figure { opacity: 0; transform: scale(.6) translateY(8px); }

.miolo.reveal.visivel .paleta figure {
  animation: entrar-suave .55s cubic-bezier(.25, .9, .35, 1.15) forwards;
}

.miolo.reveal.visivel .paleta figure:nth-child(1) { animation-delay: .25s; }
.miolo.reveal.visivel .paleta figure:nth-child(2) { animation-delay: .35s; }
.miolo.reveal.visivel .paleta figure:nth-child(3) { animation-delay: .45s; }
.miolo.reveal.visivel .paleta figure:nth-child(4) { animation-delay: .55s; }
.miolo.reveal.visivel .paleta figure:nth-child(5) { animation-delay: .65s; }
.miolo.reveal.visivel .paleta figure:nth-child(6) { animation-delay: .75s; }

/* os cartões elas/eles seguem-se à paleta */
.miolo.reveal .duo-cartao { opacity: 0; transform: translateY(16px); }

.miolo.reveal.visivel .duo-cartao {
  animation: entrar-suave .7s cubic-bezier(.2, .6, .2, 1) forwards;
}

.miolo.reveal.visivel .duo-cartao:nth-child(1) { animation-delay: .55s; }
.miolo.reveal.visivel .duo-cartao:nth-child(2) { animation-delay: .72s; }

/* as linhas dos sub-títulos desenham-se */
.miolo.reveal .sub-seccao::before,
.miolo.reveal .sub-seccao::after { width: 0; }

.miolo.reveal.visivel .sub-seccao::before,
.miolo.reveal.visivel .sub-seccao::after {
  width: 2.4rem;
  transition: width 1s ease .35s;
}

/* o número dos segundos "respira" a cada tique */
.countdown b.tique { animation: tique-suave .45s ease; }

@keyframes tique-suave {
  0%   { opacity: .25; transform: translateY(-5px); }
  100% { opacity: 1; transform: none; }
}

/* o botão principal respira devagarinho, a chamar o olhar */
.botao-whatsapp { position: relative; }

.botao-whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(70, 81, 47, .45);
  opacity: 0;
  z-index: -1;
  animation: pulso-cta 3.8s ease-in-out infinite;
}

@keyframes pulso-cta {
  0%, 100% { opacity: 0; }
  50%      { opacity: .55; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .flor, .seta-baixo, .petalas i, .botao-whatsapp::after,
  .countdown b.tique, .lupa-conteudo { animation: none; }
  .petalas { display: none; }
  .hero-card > *, .miolo.reveal .paleta figure, .miolo.reveal .duo-cartao {
    opacity: 1; transform: none; animation: none;
  }
  .miolo.reveal .sub-seccao::before,
  .miolo.reveal .sub-seccao::after { width: 2.4rem; transition: none; }
  html { scroll-behavior: auto; }
  .lupa { animation: none; }
}

/* ───────────────────────────── mobile ── */

@media (max-width: 560px) {
  /* uma só linha: monograma + ligações deslizáveis — poupa ~50px de ecrã */
  .nav { padding: .4rem .6rem; }
  .nav-logo span { display: none; }
  .nav-logo img { width: 30px; }
  .nav-links { justify-content: flex-start; }
  .nav-links a { font-size: .82rem; padding: .5rem .5rem; }
  html { scroll-padding-top: 62px; }
  .hero { padding-top: 4.6rem; }
  /* no telemóvel arrasta-se com o dedo — as setas só estorvam */
  .galeria-seta { display: none; }
  .galeria-botao img { height: min(52vh, 400px); }
  .lace-card { border-width: 13px; }
  .lace-card::before { inset: 7px; outline-offset: 2px; }
  .countdown { gap: 1rem; }
  .loja { flex-direction: column; align-items: stretch; text-align: center; padding: 1.2rem; }
  .loja-texto { justify-items: center; }
  .dado { flex-wrap: wrap; }
}

.campo select{font:inherit;font-size:1rem;padding:.6rem 1rem;color:var(--verde-profundo);background:var(--creme);border:1px solid var(--linha);border-radius:8px}
html:not(.has-motion) .reveal,html:not(.has-motion) .miolo.reveal .paleta figure,html:not(.has-motion) .miolo.reveal .duo-cartao{opacity:1;transform:none}
