/* =========================================================================
 * TIPOGRAFIA CONFIGURÁVEL — troque as fontes aqui (e o link no <head>)
 * ========================================================================= */
:root {
  --font-script: 'Great Vibes', 'Brush Script MT', cursive;   /* títulos manuscritos */
  --font-serif: 'Cormorant Garamond', Georgia, serif;          /* detalhes elegantes */
  --font-body: 'Quicksand', system-ui, -apple-system, 'Segoe UI', sans-serif; /* textos */

  /* Paleta */
  --rosa: #FF689D;
  --rosa-pink: #FF3D88;
  --rosa-medio: #F17CA8;
  --rosa-suave: #FEA7C6;
  --rosa-claro: #F7D1E2;
  --lilas: #D1B3E8;
  --azul-bebe: #B8E5FF;
  --amarelo: #FFE28A;
  --menta: #BFECC8;
  --branco: #FFFFFF;
  --dourado: #FFD700;

  /* Tons derivados para leitura e profundidade */
  --dourado-suave: #D9B36C;
  --ink: #6B3A52;          /* texto principal (contraste AA sobre fundo claro) */
  --ink-soft: #8E5F76;
  --accent-text: #C2185B;  /* rosa escuro para textos destacados */
  --bg: #FDF5F8;
  --bg-tint: #FBEAF2;
  --card: rgba(255, 255, 255, 0.86);
  --line: #F3D3E1;
  --shadow: 0 18px 45px -22px rgba(201, 76, 130, 0.45), 0 2px 8px rgba(201, 76, 130, 0.06);
  --radius: 26px;
  --ease: cubic-bezier(.22, .8, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #FFE6F0 0%, transparent 60%),
    radial-gradient(900px 500px at 110% 20%, #F1E4FA 0%, transparent 60%),
    var(--bg);
  overflow-x: hidden;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}
img { max-width: 100%; height: auto; display: block; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rosa-medio); outline-offset: 3px; border-radius: 10px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 12px; }

/* --------------------------------- Títulos -------------------------------- */
.script-title {
  font-family: var(--font-script);
  font-weight: 400;
  color: var(--accent-text);
  line-height: 1.1;
  margin: 0;
  letter-spacing: .01em;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: .95rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rosa-medio);
  margin-bottom: 4px;
}
.divider {
  display: block;
  width: 150px; height: 18px;
  margin: 10px auto 0;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 18'%3E%3Cg fill='none' stroke='%23D9B36C' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M4 9h46c8 0 10-6 16-6'/%3E%3Cpath d='M146 9h-46c-8 0-10-6-16-6'/%3E%3C/g%3E%3Cpath d='M75 15s-6-3.6-7.6-7.2C66.3 5.3 68 3 70.6 3c1.6 0 2.8.9 3.4 1.9h2c.6-1 1.8-1.9 3.4-1.9 2.6 0 4.3 2.3 3.2 4.8C81 11.4 75 15 75 15z' fill='%23FF689D'/%3E%3C/svg%3E");
}

/* --------------------------------- Botões --------------------------------- */
.btn {
  --h: 54px;
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, opacity .25s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.btn:active { transform: scale(.97); }
.btn .i { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rosa) 0%, var(--rosa-pink) 100%);
  box-shadow: 0 12px 26px -12px rgba(255, 61, 136, .75), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--primary:hover { box-shadow: 0 16px 30px -12px rgba(255, 61, 136, .85), inset 0 1px 0 rgba(255,255,255,.35); transform: translateY(-1px); }
.btn--ghost {
  color: var(--accent-text);
  background: rgba(255,255,255,.75);
  box-shadow: inset 0 0 0 1.5px var(--rosa-suave);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: #fff; transform: translateY(-1px); }
.btn--block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled {
  opacity: .5; cursor: not-allowed; pointer-events: none; filter: saturate(.6);
}
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,.55);
  transform: scale(0); animation: ripple .6s var(--ease) forwards;
}
.btn--ghost .ripple, .btn--add .ripple { background: rgba(255, 104, 157, .22); }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 28px 16px 70px;
  text-align: center;
}
.hero__inner { width: 100%; max-width: 640px; display: flex; flex-direction: column; align-items: center; }
.hero__crest {
  width: min(94vw, 560px, max(300px, calc((100svh - 430px) * 1.26)));
  filter: drop-shadow(0 22px 40px rgba(241, 124, 168, .28));
  animation: crestIn 1.2s var(--ease) both, floaty 7s ease-in-out 1.2s infinite;
}
.hero__crest img { width: 100%; }
@keyframes crestIn { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes floaty { 50% { transform: translateY(-6px); } }

.hero h1 { font-size: clamp(2.6rem, 10vw, 4rem); margin-top: 18px; }
.hero__date {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 4.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 8px 0 6px;
}
.ornament { width: 38px; height: 10px; background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 10'%3E%3Cpath d='M1 5h26c4 0 5-3 8-3' fill='none' stroke='%23D9B36C' stroke-width='1.2' stroke-linecap='round'/%3E%3Ccircle cx='36' cy='5' r='1.6' fill='%23D9B36C'/%3E%3C/svg%3E"); }
.ornament--flip { transform: scaleX(-1); }
.hero__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 4.4vw, 1.35rem);
  color: var(--ink-soft);
  max-width: 30ch;
  margin: 6px auto 26px;
}
.hero__actions { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 360px; }
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; max-width: none; justify-content: center; }
}
.scroll-cue {
  position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px var(--rosa-suave);
  display: none;
}
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--rosa-medio); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (min-height: 900px) and (min-width: 720px) { .scroll-cue { display: block; } }

/* -------------------------------- Seções --------------------------------- */
.section { position: relative; padding: 72px 16px; }
.section--tint { background: linear-gradient(180deg, transparent, var(--bg-tint) 18%, var(--bg-tint) 82%, transparent); }
.section__head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.section__head h2 { font-size: clamp(2.5rem, 10vw, 3.6rem); }
.section__lead {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.12rem, 4.2vw, 1.3rem);
  color: var(--ink-soft); margin: 16px auto 0; max-width: 34ch;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.card--form { max-width: 620px; margin: 0 auto; padding: 28px 20px; }
@media (min-width: 560px) { .card--form { padding: 38px 40px; } }
.card--form::before, .location::before {
  content: ""; position: absolute; inset: 8px; border-radius: calc(var(--radius) - 8px);
  border: 1px dashed rgba(217, 179, 108, .45); pointer-events: none;
}

/* ------------------------------- Formulário ------------------------------- */
.q { display: block; font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; line-height: 1.3; }
.hint { margin: -4px 0 16px; color: var(--ink-soft); font-size: .98rem; }
.field { margin-bottom: 26px; }
input[type="text"] {
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 1.05rem;
  transition: border-color .2s, box-shadow .2s;
}
input[type="text"]::placeholder { color: #C59AAE; }
input[type="text"]:focus { outline: none; border-color: var(--rosa-medio); box-shadow: 0 0 0 4px rgba(254, 167, 198, .35); }
input[aria-invalid="true"] { border-color: #E0457B; }
.field__error, .form__error { color: #C2185B; font-size: .92rem; font-weight: 600; margin: 6px 4px 0; min-height: 0; }
.field__error:empty, .form__error:empty { display: none; }
.form__error { text-align: center; margin: 0 0 14px; }

.companions { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.companions legend { padding: 0; }
.companion-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.companion {
  position: relative;
  padding: 16px 14px 14px;
  border-radius: 20px;
  background: linear-gradient(180deg, #FFF9FB, #FFF2F7);
  border: 1px solid var(--line);
  animation: popIn .4s var(--ease) both;
}
.companion.is-leaving { animation: popOut .28s var(--ease) forwards; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.98); } }
@keyframes popOut { to { opacity: 0; transform: scale(.96); height: 0; } }
.companion__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.companion__title { font-weight: 700; color: var(--rosa-medio); font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.companion__remove {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 0; background: transparent; color: var(--ink-soft); font-weight: 600; font-size: .9rem; cursor: pointer;
}
.companion__remove:hover { background: #fff; color: var(--accent-text); }
.companion__remove svg { width: 16px; height: 16px; fill: currentColor; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.seg label:first-of-type { grid-column: 1 / -1; } /* Adulto em cima, as duas opções de criança embaixo */
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 52px; padding: 6px 10px;
  border-radius: 14px; border: 1.5px solid var(--line); background: #fff;
  font-weight: 600; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: all .2s var(--ease);
}
.seg input:checked + label { border-color: var(--rosa); background: #FFE9F1; color: var(--accent-text); box-shadow: 0 6px 14px -10px rgba(255, 61, 136, .9); }
.seg input:focus-visible + label { outline: 3px solid var(--rosa-medio); outline-offset: 2px; }
.seg.is-invalid label { border-color: #E0457B; }

.btn--add {
  width: 100%;
  color: var(--accent-text);
  background: transparent;
  border: 1.5px dashed var(--rosa-suave);
  font-weight: 700;
}
.btn--add span { font-size: 1.4rem; line-height: 1; }
.btn--add:hover { background: #FFF4F8; border-color: var(--rosa); }

.summary {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  margin: 0 0 22px;
}
.summary__item--total { grid-column: 1 / -1; }
@media (min-width: 560px) { .summary { grid-template-columns: repeat(5, 1fr); } .summary__item--total { grid-column: auto; } }
.summary__item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 12px 6px; border-radius: 18px; background: #FFF6FA; border: 1px solid var(--line);
}
.summary__n { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; line-height: 1; color: var(--accent-text); transition: transform .3s var(--ease); }
.summary__n.bump { transform: scale(1.25); }
.summary__l { font-size: .85rem; font-weight: 700; color: var(--ink); margin-top: 4px; line-height: 1.2; }
.summary__l small { display: block; font-weight: 500; color: var(--ink-soft); font-size: .78rem; }
.summary__item--total { background: linear-gradient(135deg, #FFE3EE, #F3E6FB); border-color: transparent; }

.btn__spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.5); border-top-color: #fff; animation: spin .8s linear infinite; }
.is-loading .btn__spinner { display: inline-block; }
.is-loading .btn__label { opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.notice {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 18px; margin-bottom: 22px; border-radius: 18px;
  background: linear-gradient(135deg, #FFF0F6, #F5EDFC); border: 1px solid var(--line); font-size: .96rem;
}
.notice strong { color: var(--accent-text); }

/* Sucesso */
.success { text-align: center; padding: 26px 4px 8px; position: relative; outline: none; }
.success__title { font-size: clamp(2.3rem, 9vw, 3.1rem); animation: crestIn .9s var(--ease) both; }
.success__text { color: var(--ink-soft); margin: 14px auto 22px; max-width: 36ch; }
.success__burst { position: absolute; inset: -40px -10px; pointer-events: none; overflow: visible; }

/* --------------------------------- Presentes ------------------------------ */
.gift-grid { display: grid; gap: 18px; max-width: 880px; margin: 0 auto; }
@media (min-width: 720px) { .gift-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
.gift { padding: 34px 26px 30px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.gift p { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); margin: 4px 0 22px; max-width: 28ch; flex: 1; }
.gift__icon { width: 76px; height: 76px; border-radius: 50%; background: #FFF4F8; display: grid; place-items: center; margin-bottom: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.gift__icon svg { width: 46px; height: 46px; }
.gift__title { font-family: var(--font-serif); font-size: 1.7rem; font-weight: 600; margin: 0 0 4px; color: var(--ink); }
.gift__ribbon { font-size: 1.6rem; filter: saturate(.85); }

/* -------------------------------- Localização ----------------------------- */
.location { max-width: 880px; margin: 0 auto; overflow: hidden; display: grid; }
@media (min-width: 800px) { .location { grid-template-columns: 1.1fr 1fr; } }
.location__map { min-height: 240px; background: linear-gradient(135deg, #FDEAF2, #F1E7FA); position: relative; }
.location__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px; text-align: center; color: var(--ink-soft); font-weight: 600;
  background-image: radial-gradient(circle at 1px 1px, rgba(241, 124, 168, .25) 1px, transparent 0); background-size: 18px 18px;
}
.map-placeholder svg { width: 46px; height: 46px; fill: var(--rosa-suave); }
.location__info { padding: 28px 24px 30px; position: relative; }
.location__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rosa-medio); }
.location__name { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; margin: 2px 0 14px; color: var(--ink); line-height: 1.25; }
.location__address { margin: 2px 0 14px; font-size: 1.05rem; }
.is-pending { color: var(--ink-soft); font-style: italic; letter-spacing: .06em; }
.location__pending { font-size: .95rem; color: var(--ink-soft); background: #FFF4F8; border-radius: 14px; padding: 10px 14px; margin: 0 0 18px; }
.location__actions { display: grid; gap: 10px; }

/* ---------------------------------- Rodapé -------------------------------- */
.footer { text-align: center; padding: 30px 16px 40px; }
.footer__sign { font-size: 2rem; margin-top: 12px; }
.footer__date { font-family: var(--font-serif); letter-spacing: .12em; color: var(--ink-soft); margin: 4px 0 0; }

/* ----------------------------------- Dock --------------------------------- */
.dock {
  position: fixed; z-index: 40;
  left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); translate: -50% 0;
  display: flex; gap: 2px; padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px -14px rgba(201, 76, 130, .5), inset 0 0 0 1px rgba(247, 209, 226, .9);
  width: min(calc(100vw - 24px), 420px);
}
.dock a {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 7px 4px 6px; border-radius: 999px; text-decoration: none;
  color: var(--ink-soft); font-size: .72rem; font-weight: 700; letter-spacing: .02em;
  transition: background .25s, color .25s;
}
.dock svg { width: 22px; height: 22px; fill: currentColor; }
.dock a.is-active { background: #FFE6F0; color: var(--accent-text); }

/* ---------------------------------- Modal --------------------------------- */
.modal {
  width: min(calc(100vw - 32px), 420px);
  border: 0; padding: 0; border-radius: 28px;
  background: linear-gradient(180deg, #fff, #FFF5F9);
  color: var(--ink);
  box-shadow: 0 30px 70px -20px rgba(150, 40, 90, .45);
}
.modal::backdrop { background: rgba(107, 58, 82, .35); backdrop-filter: blur(4px); }
.modal[open] { animation: modalIn .35s var(--ease); }
.modal[open]::backdrop { animation: fade .35s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.modal__close-form { position: absolute; top: 10px; right: 10px; margin: 0; }
.modal__close { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #FFF0F6; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink-soft); }
.modal__body { padding: 34px 26px 26px; text-align: center; }
.modal__butterfly { font-size: 1.8rem; display: block; }
.modal h3 { font-size: 2.6rem; margin-bottom: 16px; }
.pix__label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rosa-medio); }
.pix__id { margin: 2px 0 14px; font-weight: 600; }
.pix__key {
  margin: 6px 0 20px; padding: 14px; border-radius: 16px;
  background: #fff; border: 1.5px dashed var(--rosa-suave);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 1.35rem; font-weight: 600; letter-spacing: .08em; color: var(--accent-text);
  user-select: all; word-break: break-all;
}
.pix__qr { margin: 0 0 20px; }
#pix-qr-img { display: inline-block; margin-top: 8px; padding: 10px; background: #fff; border-radius: 16px; border: 1px solid var(--line); }
#pix-qr-img img, #pix-qr-img svg { width: 200px; height: 200px; display: block; }
.pix__thanks { font-family: var(--font-serif); font-style: italic; color: var(--ink-soft); margin: 14px 0 0; }

/* ---------------------------------- Toast --------------------------------- */
.toast {
  position: fixed; z-index: 1000; left: 50%; top: calc(18px + env(safe-area-inset-top));
  translate: -50% -20px; opacity: 0; pointer-events: none;
  padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--accent-text); font-weight: 700;
  box-shadow: 0 16px 34px -14px rgba(201, 76, 130, .6), inset 0 0 0 1px var(--line);
  transition: opacity .3s, translate .4s var(--ease);
  width: max-content; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; translate: -50% 0; }

/* ------------------------------ Borboletas ------------------------------- */
.sky { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
main, .footer { position: relative; z-index: 1; }
.bf { position: absolute; width: var(--s, 34px); opacity: var(--o, .55); will-change: transform; animation: drift var(--d, 26s) ease-in-out infinite alternate; }
.bf svg { width: 100%; height: auto; overflow: visible; display: block; }
.bf .w { transform-box: fill-box; animation: flap var(--f, .9s) ease-in-out infinite alternate; }
.bf .w-l { transform-origin: right center; }
.bf .w-r { transform-origin: left center; }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.35); } }
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(-8deg); }
  33%  { transform: translate(var(--dx1, 40px), var(--dy1, -60px)) rotate(6deg); }
  66%  { transform: translate(var(--dx2, -30px), var(--dy2, -120px)) rotate(-4deg); }
  100% { transform: translate(var(--dx3, 20px), var(--dy3, -40px)) rotate(8deg); }
}
/* Explosão de borboletas na confirmação */
.burst-bf { position: absolute; left: 50%; top: 40%; width: 30px; animation: fly 2.6s var(--ease) forwards; }
.burst-bf svg { width: 100%; overflow: visible; }
.burst-bf .w { transform-box: fill-box; animation: flap .28s ease-in-out infinite alternate; }
.burst-bf .w-l { transform-origin: right center; }
.burst-bf .w-r { transform-origin: left center; }
@keyframes fly {
  0% { opacity: 0; transform: translate(-50%, 0) scale(.4); }
  15% { opacity: 1; }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), var(--ty)) scale(1) rotate(var(--r)); }
}

/* ------------------------------- Revelação -------------------------------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* --------------------------- Computador / tablet -------------------------- */
@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .dock { top: 16px; bottom: auto; width: auto; }
  .dock a { flex-direction: row; gap: 8px; padding: 10px 18px; font-size: .9rem; }
  .dock svg { width: 18px; height: 18px; }
  .hero { padding-top: 84px; }
}

/* ------------------------- Movimento reduzido ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .sky, .success__burst { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
