/* ==========================================================================
   Base de sites de casamento — Petit Souvenir
   Este arquivo NÃO tem cores nem fontes fixas: tudo vem de css/theme.css,
   que o build.py gera a partir de site.config.json.
   Escala tipográfica = padrão Birthday Trindade / Luiza e Felipe / Rachel e Afonso
   (ver docs/02-padroes-de-layout.md). Mexa nos tokens, não nos valores soltos.
   ========================================================================== */

:root {
  /* escala tipográfica (desktop) */
  --fs-nav: 10px;        --ls-nav: 2.2px;
  --fs-eyebrow: 12px;    --ls-eyebrow: 4px;
  --fs-eyebrow-sm: 10px; --ls-eyebrow-sm: 3px;
  --fs-h2: 32px;         --ls-h2: 2px;
  --fs-h3: 20px;
  --fs-body: 14px;       --lh-body: 1.75;
  --fs-date: 14px;       --ls-date: 4px;
  --fs-place: 12px;      --ls-place: 3.5px;
  --fs-btn: 10px;        --ls-btn: 2.2px;
  --fs-count: 28px;      --fs-count-label: 10px;
  --fs-small: 10px;
  --hero-name-size: clamp(52px, 5vw, 72px);
  --hero-mono-h: 150px;
  --icon: 92px;          --icon-lg: 104px;
  /* espaços */
  --pad-section: 96px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
section { scroll-margin-top: 64px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--c-bg); color: var(--c-text); padding: 10px 14px; }
.skip-link:focus { left: 8px; }

/* ---------- tons de seção: escuro (padrão) e claro ---------- */
.tone-dark  { --t-bg: var(--c-bg);     --t-text: var(--c-text);     --t-muted: var(--c-text-muted);     --t-accent: var(--c-accent);     --t-line: var(--c-line); }
.tone-light { --t-bg: var(--c-bg-alt); --t-text: var(--c-ink);      --t-muted: var(--c-ink);            --t-accent: var(--c-accent-alt); --t-line: var(--c-line-alt); }
.section { background: var(--t-bg); color: var(--t-text); }

/* ---------- tipografia ---------- */
.eyebrow { font-size: var(--fs-eyebrow); letter-spacing: var(--ls-eyebrow); text-transform: uppercase; color: var(--t-accent); margin-bottom: 14px; }
.eyebrow--sm { font-size: var(--fs-eyebrow-sm); letter-spacing: var(--ls-eyebrow-sm); margin-bottom: 10px; }
.h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h2); line-height: 1.3; letter-spacing: var(--ls-h2); color: var(--t-heading, var(--t-text)); }
.tone-light .h2 { --t-heading: var(--c-heading-alt); }
.h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-h3); line-height: 1.35; letter-spacing: 2px; color: var(--t-text); }
.text { font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: .02em; color: var(--t-muted); text-wrap: pretty; }
.ornament { display: flex; align-items: center; gap: 12px; color: var(--c-accent); font-size: 8px; }
.ornament span { width: 56px; height: 1px; background: linear-gradient(90deg, transparent, var(--c-accent)); }
.ornament span:last-child { transform: scaleX(-1); }
.fade-line { height: 1px; background: linear-gradient(90deg, transparent, var(--c-accent-line) 18%, var(--c-accent-line) 82%, transparent); }
.icon { width: var(--icon); height: auto; margin: 0 auto 20px; }
.icon--lg { width: var(--icon-lg); }

/* ---------- botões ----------
   data-style no <body>: frame (moldura dupla em degrau) | square | rounded | pill   */
.btn {
  --btn-line: var(--t-accent, var(--c-accent));
  --btn-color: var(--t-text, var(--c-text));
  --btn-veil: rgba(0, 0, 0, .18);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 280px; min-height: 58px; padding: 0 36px;
  border: 0; background: none; cursor: pointer; text-decoration: none; isolation: isolate;
  color: var(--btn-color); font-family: inherit; font-size: var(--fs-btn); letter-spacing: var(--ls-btn);
  text-transform: uppercase; white-space: nowrap;
}
.btn span { position: relative; padding-top: 2px; }
.btn-frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; display: none; }
.btn-frame path { fill: none; stroke: var(--btn-line); vector-effect: non-scaling-stroke; }
.btn-frame .bf-outer { stroke-width: 1.5; }
.btn-frame .bf-inner { stroke-width: 1; opacity: .72; }
.btn-frame .bf-fill { stroke: none; fill: var(--btn-veil); opacity: 0; transition: opacity .3s var(--ease); }
body[data-style="frame"] .btn-frame { display: block; }
body[data-style="frame"] .btn:hover .bf-fill, body[data-style="frame"] .btn:focus-visible .bf-fill { opacity: 1; }
body:not([data-style="frame"]) .btn { border: 1px solid var(--btn-line); border-radius: var(--btn-radius); transition: background-color .3s var(--ease); }
body:not([data-style="frame"]) .btn:hover, body:not([data-style="frame"]) .btn:focus-visible { background: var(--btn-veil); }
body[data-style="square"] { --btn-radius: 0; }
body[data-style="rounded"] { --btn-radius: 10px; }
body[data-style="pill"] { --btn-radius: 999px; }
.btn:focus-visible { outline: 2px solid var(--btn-line); outline-offset: 4px; }
.btn:disabled { opacity: .6; cursor: default; }
.tone-light .btn { --btn-veil: rgba(40, 52, 64, .07); }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 28px 16px 16px; transition: background .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease); }
.nav.is-solid { padding: 14px 16px 12px; background: var(--c-nav-solid); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--c-accent-line); }
.nav-row { position: relative; display: flex; align-items: center; justify-content: center; max-width: 1100px; min-height: 32px; margin: 0 auto; }
.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-link { position: relative; font-size: var(--fs-nav); letter-spacing: var(--ls-nav); text-transform: uppercase; text-decoration: none; color: var(--c-nav-text); padding: 6px 0 6px; white-space: nowrap; }
.nav-link::after { content: ''; position: absolute; left: -10px; right: -10px; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--c-accent) 30%, var(--c-accent) 70%, transparent); transform: scaleX(0); opacity: 0; transition: transform .45s var(--ease), opacity .45s var(--ease); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); opacity: 1; }
.nav-sep { color: var(--c-accent); font-size: 6px; }
.nav-burger, .menu-close { all: unset; box-sizing: border-box; display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; background: var(--c-burger-bg); border: 1px solid var(--c-accent-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 6px 18px rgba(20, 30, 40, .22); }
.nav-burger span { display: block; width: 22px; height: 1px; background: var(--c-nav-text); }
.nav-burger span:nth-child(2) { width: 14px; margin-left: 8px; }
/* Menu do celular (regra fixa 2026-11-18): só monograma + itens, fundo SÓLIDO (cor do fundo, sem imagem nem
   transparência), abre de cima para baixo, e o botão não sai do lugar: o próprio hambúrguer vira o X. */
.menu-panel { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 80px 24px 40px; background: var(--c-menu-bg, var(--c-bg)); overflow: hidden; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease), visibility 0s linear .55s; }
.menu-panel.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease); }
.menu-panel > * { opacity: 0; translate: 0 -10px; transition: opacity .3s var(--ease), translate .45s var(--ease); }
.menu-panel.is-open > * { opacity: 1; translate: 0 0; transition-delay: .18s; }
.menu-panel a { position: relative; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; text-decoration: none; color: var(--c-nav-text); }
.menu-panel .menu-mono { position: relative; height: 64px; width: auto; margin-bottom: 12px; }
.menu-close { display: none !important; }   /* o X é o próprio hambúrguer (mesma posição) */
.nav-burger span { transition: transform .4s var(--ease), opacity .3s var(--ease), width .4s var(--ease), margin .4s var(--ease); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- ornamentos (peças soltas nos cantos) ---------- */
.deco { position: absolute; height: auto; width: var(--w, min(17vw, 240px)); pointer-events: none; user-select: none; }
.deco--tl { left: 0; top: var(--y, 0); }      .deco--tr { right: 0; top: var(--y, 0); }
.deco--bl { left: 0; bottom: var(--y, 0); }   .deco--br { right: 0; bottom: var(--y, 0); }
.deco--ml { left: 0; top: var(--y, 50%); }    .deco--mr { right: 0; top: var(--y, 50%); }
.is-mirrored { scale: -1 1; }   /* espelhar com 'scale', nunca com transform: evita girar ao recarregar (iPhone/Safari) */
.is-flipped  { scale: 1 -1; }
.is-rotated  { scale: -1 -1; }
.deco { opacity: 0; translate: 0 18px; transition: opacity 1.6s var(--ease), translate 1.6s var(--ease); }
.deco.is-visible { opacity: 1; translate: 0 0; }
.relief { position: absolute; height: auto; width: min(17vw, 240px); pointer-events: none; user-select: none; }

/* ---------- hero (fica fixo; o resto sobe por cima) ---------- */
.hero { position: relative; z-index: 0; height: 100svh; min-height: 560px; display: flex; align-items: center; justify-content: center; padding: 92px 24px 72px; overflow: hidden; background: var(--c-bg); }
body[data-hero="sticky"] .hero { position: sticky; top: 0; }
.hero-ornament { position: absolute; width: min(25vw, 360px); height: auto; pointer-events: none; animation: fadeIn 2.2s var(--ease) both; }
.hero-ornament--tl { left: 0; top: 0; } .hero-ornament--tr { right: 0; top: 0; }
.hero-ornament--bl { left: 0; bottom: 0; } .hero-ornament--br { right: 0; bottom: 0; }
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; will-change: transform, opacity; }
.hero-mono { width: auto; height: var(--hero-mono-h); margin-bottom: 28px; }
.hero-names { margin: 0; font-family: var(--font-hero); font-weight: 400; font-size: var(--hero-name-size); line-height: 1.35; letter-spacing: var(--ls-hero, 0); padding: .05em .3em .12em; color: var(--c-hero-name); }
.hero-names .e { font-size: .7em; }
.hero .ornament { margin: 14px 0 20px; }
.hero-date { font-size: var(--fs-date); letter-spacing: var(--ls-date); margin-bottom: 10px; padding-left: 4px; }
.hero-place { font-size: var(--fs-place); letter-spacing: var(--ls-place); text-transform: uppercase; color: var(--c-accent); margin-bottom: 32px; }
.hero-scroll { position: absolute; z-index: 1; bottom: 26px; left: 50%; width: 1px; height: 42px; transform: translateX(-50%); overflow: hidden; }
.hero-scroll span { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, var(--c-accent)); animation: scrollHint 2.4s var(--ease) infinite; }
.flow { position: relative; z-index: 2; background: var(--c-bg); box-shadow: 0 -24px 60px rgba(20, 30, 40, .28); }

/* ---------- seções ---------- */
.section { position: relative; display: flex; flex-direction: column; align-items: center; padding: var(--pad-section) 24px; text-align: center; overflow: hidden; }
.section-head { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; margin-bottom: 44px; }
.section-sub { max-width: 520px; margin-top: 16px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--t-muted); }
.carta-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; max-width: 600px; }
.carta-inner .h2 { margin-bottom: 28px; }
.carta-text { display: flex; flex-direction: column; gap: 20px; }
.signature { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 28px; font-size: var(--fs-body); color: var(--t-muted); }
.signature-names { font-family: var(--font-display); font-size: 20px; line-height: 1.5; letter-spacing: .06em; margin-top: 4px; color: var(--t-accent-sig, var(--t-text)); }
.tone-light .signature-names { --t-accent-sig: var(--c-heading-alt); }

.countdown { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 500px; margin-top: 52px; padding: 20px 14px; background: var(--c-card-bg); }
.countdown::before { content: ''; position: absolute; inset: 0; border: 16px solid transparent; border-image: var(--frame-img) 30 stretch; pointer-events: none; }
body:not([data-style="frame"]) .countdown::before { border: 1px solid var(--t-accent); border-image: none; border-radius: var(--btn-radius); }
.cd-cell { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px 6px; }
.cd-cell + .cd-cell { border-left: 1px solid var(--t-line); }
.cd-num { font-size: var(--fs-count); line-height: 1; font-variant-numeric: tabular-nums; color: var(--t-text); }
.tone-light .cd-num { color: var(--c-heading-alt); }
.cd-label { font-size: var(--fs-count-label); letter-spacing: 2px; text-transform: uppercase; color: var(--t-accent); }

.day-info { position: relative; z-index: 1; width: 100%; max-width: 460px; display: flex; flex-direction: column; align-items: center; }
.info-list { width: 100%; margin: 12px 0 32px; }
.info-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--t-line); font-size: var(--fs-body); line-height: 1.6; text-align: right; }
.info-row:first-child { border-top: 0; }
.info-row dt { color: var(--t-accent); font-size: var(--fs-small); letter-spacing: 2.2px; text-transform: uppercase; white-space: nowrap; }
.info-row dd { margin: 0; }
.info-row dd strong { display: block; font-weight: 400; font-size: 16px; }

.cards { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 28px; width: 100%; max-width: 920px; }
.frame-card { position: relative; flex: 1 1 360px; max-width: 440px; display: flex; flex-direction: column; align-items: center; padding: 60px 40px 52px; scroll-margin-top: 92px; }
.frame-card::before { content: ''; position: absolute; inset: 0; border: 26px solid transparent; border-image: var(--frame-img) 30 stretch; pointer-events: none; }
body:not([data-style="frame"]) .frame-card::before { border: 1px solid var(--t-accent); border-image: none; border-radius: calc(var(--btn-radius) * 1.4); }
.frame-card > * { position: relative; }   /* conteúdo sempre acima da moldura (::before) — regra de contraste 2026-11-18 */
.frame-card .h3 { margin-bottom: 16px; }
.frame-card .text { margin-bottom: 32px; flex: 1; }

.message-form, .form-success { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: 520px; }
.form-success { align-items: center; gap: 28px; }
.form-success p { font-size: 16px; line-height: 1.8; }
.form-input { width: 100%; height: 56px; padding: 20px 20px 14px; border-radius: 8px; border: 1px solid var(--c-line); background: var(--c-input-bg); color: var(--c-text); font-family: inherit; font-size: var(--fs-body); letter-spacing: .02em; transition: border-color .3s var(--ease), background .3s var(--ease); }
.form-input--area { height: 190px; resize: none; line-height: 1.7; }
.form-input::placeholder { color: var(--c-text-muted); opacity: 1; }
.form-input:focus { outline: none; border-color: var(--c-accent); }
select.form-input { appearance: none; }
.message-form .btn { align-self: center; margin-top: 10px; }
.form-status { text-align: center; font-size: 12px; letter-spacing: 1px; line-height: 1.7; }
.form-status--error { color: var(--c-error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.footer { position: relative; z-index: 2; background: var(--c-bg); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 24px 36px; text-align: center; color: var(--c-text); }
.footer::before { content: ''; position: absolute; top: 0; left: 50%; width: min(1040px, calc(100% - 48px)); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--c-accent-line) 18%, var(--c-accent-line) 82%, transparent); }
.footer-mono { width: auto; height: 52px; margin-bottom: 8px; }
.footer-names { font-size: var(--fs-small); letter-spacing: 2px; text-transform: uppercase; }
.footer-date { font-size: var(--fs-small); letter-spacing: 2px; text-transform: uppercase; color: var(--c-accent); }
.footer-dev { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--c-text-muted); }
.footer-rule { width: 140px; height: 1px; margin-bottom: 24px; background: linear-gradient(90deg, transparent, var(--c-accent-line) 30%, var(--c-accent-line) 70%, transparent); }
.footer-dev img { height: 42px; width: auto; }

/* ---------- movimento ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.cards .reveal:nth-child(2) { transition-delay: .14s; }
.hero-inner > * { animation: heroIn 1.4s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .15s; } .hero-inner > :nth-child(3) { animation-delay: .3s; }
.hero-inner > :nth-child(4) { animation-delay: .4s; }  .hero-inner > :nth-child(5) { animation-delay: .5s; }
.hero-inner > :nth-child(6) { animation-delay: .62s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes scrollHint { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .deco { opacity: 1; translate: 0 0; transition: none; }
  .hero-inner > *, .hero-ornament, .hero-scroll span { animation: none; }
  .menu-panel, .menu-panel > *, .nav-burger span { transition: none !important; }
}

/* ---------- tablet: menu hambúrguer ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav, .nav.is-solid { padding: 12px 16px; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none; }
  .nav.is-solid::before, .nav.is-solid::after { content: none; display: none; }   /* celular: só a caixa do hambúrguer, sem linha/risco ao rolar (regra 2026-11-24) */
  .nav-burger { pointer-events: auto; }
  .nav-row { min-height: 48px; }
  .hero-ornament { width: 30vw; }
}

/* ---------- celular ---------- */
@media (max-width: 640px) {
  :root { --fs-h2: 28px; --hero-name-size: min(48px, 13vw); --hero-mono-h: 112px; --pad-section: 84px; }
  .hero { padding: 84px 24px 72px; }
  .hero-ornament { width: 36vw; }
  .hero-names { white-space: nowrap; padding: .05em .12em .12em; }
  .hero-place { line-height: 1.9; }
  .hero-place .sep { display: none; }
  .hero-place .nowrap { display: block; }
  .btn { min-width: 0; width: 100%; max-width: 290px; padding: 0 20px; }
  .countdown { padding: 16px 6px; }
  :root { --fs-count: 24px; --fs-count-label: 8px; }
  .info-row { flex-direction: column; align-items: center; gap: 4px; text-align: center; }
  .frame-card { flex-basis: 100%; padding: 52px 28px 48px; }
  .frame-card::before { border-width: 22px; }
  .relief { width: 24vw; }
  .deco { width: var(--w-m, 90px); }
  .deco--hide-m { display: none; }
}

/* ==========================================================================
   MÓDULOS EXTRAS (padrões do site Beatriz & Gabriel) — programação, como chegar,
   hospedagem, dicas, presentes, galeria, RSVP com eventos. Ver docs/07-modulos-extras.md
   ========================================================================== */
.cards--wide { max-width: 1120px; }
.cards--wide .frame-card { flex: 1 1 300px; max-width: 360px; }
.frame-card .text + .text { margin-top: -20px; }
.frame-card h4, .tip-heading { font-weight: 400; }

/* programação */
.ev-details { display: flex; flex-direction: column; gap: 12px; font-size: var(--fs-body); line-height: var(--lh-body); margin-bottom: 24px; flex: 1; }
.ev-when { color: var(--t-accent); letter-spacing: 3px; text-transform: uppercase; font-size: 12px; }
.ev-dress { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 8px; }
.ev-dress-icon { width: auto; height: 110px; object-fit: contain; }
.tag { display: inline-block; padding: 10px 20px; border: 1px solid var(--t-accent); border-radius: 999px; font-size: var(--fs-small); letter-spacing: 2.2px; text-transform: uppercase; }
.dress-guide, .note-box { position: relative; z-index: 1; display: grid; grid-template-columns: var(--icon) 1fr; gap: 32px; align-items: center; width: 100%; max-width: 920px; margin-top: 56px; padding: 32px 0; border-top: 1px solid var(--t-line); text-align: left; }
.dress-guide .icon, .note-box .icon { margin: 0; }
.dress-guide .h3 { margin-bottom: 12px; }
.dress-guide .text + .text, .note-box .text + .text { margin-top: 10px; }
.note-box { margin-top: 28px; border-top: 0; border: 1px solid var(--t-line); padding: 28px 32px; }
.contact-list { display: flex; flex-direction: column; gap: 6px; margin: 14px 0 20px; font-size: var(--fs-body); }
.contact-list strong { font-weight: 400; margin-right: 10px; }
.contact-list a { color: var(--t-accent); text-underline-offset: 4px; }
.frame-card .contact-list { align-items: center; margin-bottom: 28px; }

/* áreas que se abrem (details) */
.acc-wrap, .acc-stack { position: relative; z-index: 1; width: 100%; max-width: 920px; }
.acc-wide { max-width: 1120px; }
.acc-stack { display: flex; flex-direction: column; gap: 14px; }
.acc > summary { display: grid; grid-template-columns: var(--icon) 1fr 44px; align-items: center; gap: 24px; min-height: 120px; padding: 14px 28px; list-style: none; cursor: pointer; text-align: left; border: 1px solid var(--t-line); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary:hover { border-color: var(--t-accent); background: var(--c-card-bg); }
.acc > summary:focus-visible { outline: 1px dashed var(--t-accent); outline-offset: 4px; }
.acc-icon { width: var(--icon); height: var(--icon); object-fit: contain; }
.acc-text { display: grid; gap: 8px; }
.acc-text small { color: var(--t-accent); font-size: var(--fs-small); letter-spacing: 3px; text-transform: uppercase; }
.acc-text strong { font-weight: 400; font-size: 20px; letter-spacing: 2px; text-transform: uppercase; }
.acc > summary i { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--t-accent); border-radius: 50%; font: normal 24px/1 sans-serif; color: var(--t-accent); transition: transform .35s var(--ease), background-color .3s var(--ease), color .3s var(--ease); }
.acc[open] > summary i { transform: rotate(45deg); background: var(--t-accent); color: var(--t-bg); }
.acc-body { padding: 28px 8px 8px; text-align: left; font-size: var(--fs-body); line-height: var(--lh-body); animation: accIn .5s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.acc--tip .acc-body p { padding: 10px 0; border-bottom: 1px solid var(--t-line); }
.acc--tip .acc-body strong { font-weight: 400; letter-spacing: 1px; }
.acc--tip .acc-body .insta { color: var(--t-accent); text-underline-offset: 4px; }
.tip-heading { margin: 24px 0 4px; font-size: var(--fs-h3); letter-spacing: 1px; color: var(--t-accent); }

/* hospedagem */
.stay-intro { display: grid; gap: 10px; max-width: 760px; margin: 0 auto 36px; text-align: center; }
.stay-group + .stay-group { margin-top: 28px; }
.stay-price { margin: 0 0 14px; font-weight: 400; font-size: var(--fs-small); letter-spacing: 4px; color: var(--t-accent); text-align: center; }
.stay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.stay { display: flex; flex-direction: column; gap: 8px; min-height: 130px; padding: 20px 24px; border: 1px solid var(--t-line); border-top: 3px double var(--t-accent); text-decoration: none; color: inherit; transition: transform .35s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease); }
a.stay:hover { transform: translateY(-3px); background: var(--c-card-bg); }
.stay-dist { font-size: var(--fs-small); letter-spacing: 2px; text-transform: uppercase; color: var(--t-accent); }
.stay-name { margin: 0; font-weight: 400; font-size: 16px; line-height: 1.3; }
.stay-extra { font-size: 12px; line-height: 1.6; }
.stay-link { margin-top: auto; font-weight: 400; font-size: var(--fs-small); letter-spacing: 2px; text-transform: uppercase; text-decoration: underline; text-underline-offset: 5px; }

/* presentes */
.gift-box { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 560px; }
.gift-box .btn, .gift-box .soon { margin-top: 20px; }
.soon { padding: 16px 28px; border: 1px solid var(--t-line); font-size: var(--fs-btn); letter-spacing: var(--ls-btn); text-transform: uppercase; opacity: .7; }

/* RSVP com eventos */
.rsvp-wrap { position: relative; z-index: 1; width: 100%; max-width: 680px; display: flex; flex-direction: column; align-items: center; }
.rsvp-wrap .message-form { max-width: 680px; }
.rsvp-events { margin: 8px 0 0; padding: 24px 0 0; border: 0; border-top: 1px solid var(--t-line); text-align: left; }
.rsvp-events legend { padding: 0; font-size: var(--fs-small); letter-spacing: 3px; text-transform: uppercase; color: var(--t-accent); }
.rsvp-events > p { margin: 8px 0 14px; font-size: 14px; opacity: .85; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: 6px; cursor: pointer; font-size: 12px; line-height: 1.5; transition: border-color .3s var(--ease), background-color .3s var(--ease), opacity .3s; }
.check:has(input:checked) { border-color: var(--c-accent); background: var(--c-card-bg); }
.check.is-disabled { opacity: .4; cursor: not-allowed; }
.check input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--c-accent); }

/* galeria (carrossel arrastável + lightbox) */
.galeria { padding-left: 0; padding-right: 0; }
.gallery { position: relative; z-index: 1; width: 100%; }
.g-viewport { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; scroll-snap-type: x proximity; }
.g-viewport::-webkit-scrollbar { display: none; }
.g-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.g-track { display: flex; gap: 10px; width: max-content; padding: 0 10px; }
.g-photo { flex: none; width: clamp(220px, 21vw, 330px); aspect-ratio: 3 / 4; padding: 0; overflow: hidden; border: 0; background: transparent; cursor: zoom-in; scroll-snap-align: center; }
.g-photo img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, scale .6s var(--ease); }
.g--gray .g-photo img { filter: grayscale(1); }
.g-photo:hover img, .g-photo:focus-visible img { opacity: .9; scale: 1.02; }
.g-photo:focus-visible { outline: 2px solid var(--c-accent); outline-offset: -4px; }
.lightbox { width: min(92vw, 920px); max-width: none; max-height: 92vh; margin: auto; padding: 0; overflow: hidden; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(14, 20, 26, .86); backdrop-filter: blur(3px); }
.lb-stage { position: relative; display: grid; place-items: center; }
.lb-stage img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lb-close, .lb-nav { position: absolute; display: grid; place-items: center; border: 1px solid var(--c-accent-line); background: rgba(14, 20, 26, .55); color: #fff; cursor: pointer; font-size: 28px; line-height: 1; transition: background-color .25s; }
.lb-close:hover, .lb-nav:hover { background: rgba(14, 20, 26, .85); }
.lb-close { top: 10px; right: 10px; width: 42px; height: 42px; border-radius: 50%; }
.lb-nav { top: 50%; width: 42px; height: 58px; translate: 0 -50%; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }

@media (max-width: 760px) {
  .dress-guide, .note-box { grid-template-columns: 1fr; text-align: center; gap: 16px; }
  .dress-guide .icon, .note-box .icon { margin: 0 auto; }
  .acc > summary { grid-template-columns: 64px 1fr 36px; gap: 14px; min-height: 96px; padding: 12px 14px; }
  .acc-icon { width: 64px; height: 64px; }
  .acc-text strong { font-size: 16px; letter-spacing: 1.5px; }
  .acc > summary i { width: 34px; height: 34px; font-size: 24px; }
  .stay-grid { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .g-photo { width: 62vw; }
}
@media (max-width: 480px) { .stay-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .acc-body { animation: none; } .g-photo img { transition: none; } }

/* ---------- acabamento hot stamping (theme.finish = "hotstamp") ----------
   Dourado de folha metálica em textos, linhas, molduras e botões.
   Imagens douradas (monograma, ornamentos, ícones) usam versões *-foil.webp (_ferramentas/foil.py). */
.foil-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
body[data-finish="hotstamp"] {
  --foil: linear-gradient(115deg, #B8913A 0%, #F3DC94 18%, #FFF6D2 30%, #D9B45A 46%, #F1D78A 64%, #A9822F 82%, #EBCF7E 100%);
  --foil-deep: linear-gradient(115deg, #5E4512 0%, #8A6A24 20%, #B8943F 34%, #7A5C1E 52%, #9C7A2E 70%, #6A4F17 86%, #8A6A24 100%);
  --foil-line: linear-gradient(90deg, transparent, #B8913A 14%, #F3DC94 32%, #FFF6D2 48%, #D9B45A 66%, #A9822F 86%, transparent);
  --foil-line-deep: linear-gradient(90deg, transparent, #7A5C1E 14%, #B8943F 40%, #8A6A24 66%, #6A4F17 86%, transparent);
  --foil-small: linear-gradient(100deg, #E6C873 0%, #FFF3C8 28%, #F1D78A 52%, #FFF6D2 74%, #E2C068 100%);   /* letras pequenas: só tons claros da folha, para não sumirem no azul */
  --foil-press: drop-shadow(0 1px 0 rgba(36, 26, 6, .38)) drop-shadow(0 -.5px 0 rgba(255, 246, 214, .18));
}
body[data-finish="hotstamp"] .tone-light { --foil: var(--foil-deep); --foil-small: var(--foil-deep); --foil-line: var(--foil-line-deep); --foil-press: drop-shadow(0 1px 0 rgba(255, 255, 255, .7)); }

/* textos dourados: folha recortada na letra + leve "prensado" */
body[data-finish="hotstamp"] :is(.eyebrow, .hero-names, .hero-place, .cd-label, .info-row dt, .footer-date, .nav-sep, .ornament i, .ev-when, .stay-price, .stay-dist, .tip-heading, .rsvp-events legend, .acc-text small) {
  background: var(--foil); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; filter: var(--foil-press);
}
body[data-finish="hotstamp"] .hero-names .e { -webkit-text-fill-color: inherit; }
/* nome dos noivos: folha clara e simétrica, para os dois nomes terem o mesmo brilho */
body[data-finish="hotstamp"] h1.hero-names.hero-names { background-image: linear-gradient(100deg, #EBCF7E 0%, #FFF3C8 16%, #F1D78A 32%, #FFF6D2 50%, #F1D78A 68%, #FFF3C8 84%, #EBCF7E 100%); }
body[data-finish="hotstamp"] :is(.eyebrow, .hero-place, .cd-label, .info-row dt, .footer-date, .ev-when, .stay-dist, .rsvp-events legend, .acc-text small) { background-image: var(--foil-small); }

/* linhas e fios */
body[data-finish="hotstamp"] .ornament span { background: var(--foil-line); }
body[data-finish="hotstamp"] :is(.fade-line, .footer-rule, .footer::before, .nav-link::after) { background: var(--foil-line); }
body[data-finish="hotstamp"] .nav.is-solid { box-shadow: none; }
body[data-finish="hotstamp"] .nav.is-solid::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--foil-line); }
@media (max-width: 960px) { body[data-finish="hotstamp"] .nav.is-solid::after { content: none; display: none; } }

/* botões: moldura em degradê de folha (SVG) */
body[data-finish="hotstamp"] .btn-frame :is(.bf-outer, .bf-inner) { stroke: url(#foil-light); }
body[data-finish="hotstamp"] .tone-light .btn-frame :is(.bf-outer, .bf-inner) { stroke: url(#foil-deep); }
body[data-finish="hotstamp"] .btn-frame { filter: drop-shadow(0 1px 0 rgba(36, 26, 6, .3)); }
body[data-finish="hotstamp"]:not([data-style="frame"]) .btn { border-color: transparent; border-image: var(--foil) 1; }

/* Formulários no celular (regra fixa 2026-11-25): campos com 16px para o iPhone NÃO ampliar a página ao tocar na caixa
   (Safari dá zoom em campo com menos de 16px); o foco só leva até o campo, com respiro em cima e embaixo. */
.form-input { scroll-margin: 96px 0 120px; }
@media (max-width: 760px) {
  .form-input { font-size: 16px; }
}
