/* Chá de bebê do Raul · baseado em Identidade Visual/identidade.css e no mockup da identidade */

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/nunito-sans.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Lilita One";
  src: url("../fonts/lilita-one.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Kalam";
  src: url("../fonts/kalam-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --raul-navy: #071C49;
  --raul-cream: #FFF5DF;
  --raul-turquoise: #65DFCF;
  --raul-pink: #F783A6;
  --raul-peach: #FFBB87;
  --raul-green: #38834D;
  --raul-white: #FFFFFF;
  --raul-font-body: "Nunito Sans", system-ui, sans-serif;
  --raul-font-heading: "Barlow Condensed", "Nunito Sans", system-ui, sans-serif;
  --raul-font-signature: "Lilita One", "Barlow Condensed", system-ui, sans-serif;
  --raul-font-hand: "Kalam", "Nunito Sans", cursive;
  --raul-radius-control: 14px;
  --raul-radius-card: 20px;
  --raul-content-width: 1120px;
  --raul-shadow: 0 6px 20px rgb(7 28 73 / 10%);
  --raul-shadow-alta: 0 14px 34px rgb(7 28 73 / 14%);
  --raul-border: rgb(7 28 73 / 22%);
  --topo-altura: 64px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-altura) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--raul-cream); color: var(--raul-navy); font: 400 1.0625rem/1.6 var(--raul-font-body); overflow-x: hidden; caret-color: var(--raul-navy); }
::selection { background: var(--raul-turquoise); color: var(--raul-navy); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--raul-navy); text-underline-offset: .2em; text-decoration-thickness: from-font; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }

.raul-container { width: min(calc(100% - 40px), var(--raul-content-width)); margin-inline: auto; }
.estreito { max-width: 720px; }
.raul-title { font-family: var(--raul-font-heading); font-style: italic; font-size: clamp(2rem, 5vw, 2.6rem); line-height: 1.1; font-weight: 800; text-align: center; text-wrap: balance; }
.raul-section { padding-block: clamp(40px, 5.5vw, 72px); }
.intro { margin: 12px auto 28px; max-width: 60ch; text-align: center; text-wrap: pretty; }

.raul-button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 2px solid var(--raul-navy); border-radius: var(--raul-radius-control); font-weight: 800; font-size: 1rem; text-align: center; text-decoration: none; cursor: pointer; transition: box-shadow .2s cubic-bezier(.16, 1, .3, 1), transform .2s cubic-bezier(.16, 1, .3, 1); }
.raul-button--primary { color: var(--raul-white); background: var(--raul-navy); }
.raul-button--secondary { color: var(--raul-navy); background: var(--raul-cream); }
.raul-button:hover { box-shadow: var(--raul-shadow); text-decoration: underline; }
.raul-button:active { transform: scale(.98); box-shadow: none; transition-duration: .08s; }
.raul-button:disabled { cursor: progress; opacity: .7; transform: none; }
.raul-date { display: inline-block; padding: 8px 28px; border-radius: 999px; color: var(--raul-navy); background: var(--raul-turquoise); font-size: clamp(1.25rem, 3.4vw, 2rem); font-weight: 800; line-height: 1.35; }
.raul-card { padding: 24px; background: var(--raul-cream); border: 1px solid var(--raul-border); border-radius: var(--raul-radius-card); box-shadow: var(--raul-shadow); }
.raul-field { display: grid; gap: 8px; margin-block: 20px; }
.raul-field label { font-weight: 700; }
.raul-field input, .raul-field textarea, .acompanhante input[type="text"] { min-height: 48px; width: 100%; border: 2px solid var(--raul-border); border-radius: var(--raul-radius-control); padding: 12px 16px; background: var(--raul-white); color: var(--raul-navy); }
.raul-field input:hover, .raul-field textarea:hover, .acompanhante input[type="text"]:hover { border-color: rgb(7 28 73 / 45%); }
.raul-field input[aria-invalid="true"] { border-color: var(--raul-navy); border-width: 3px; }
:focus-visible { outline: 3px solid var(--raul-navy); outline-offset: 4px; box-shadow: 0 0 0 4px var(--raul-cream); }
.raul-error { font-weight: 700; color: var(--raul-navy); border-left: 4px solid var(--raul-navy); padding: 10px 14px; background: var(--raul-pink); border-radius: 8px; margin-block: 16px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--raul-navy); color: var(--raul-white); border-radius: 10px; font-weight: 800; }
.pular:focus { top: 12px; }

/* ---------- Cabeçalho ---------- */
.topo { position: sticky; top: 0; z-index: 10; background: var(--raul-cream); box-shadow: 0 1px 0 var(--raul-border); }
.topo__barra { position: relative; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); width: min(calc(100% - 40px), 1180px); margin-inline: auto; min-height: var(--topo-altura); }
.topo__marca { display: inline-flex; align-items: flex-end; gap: 6px; text-decoration: none; white-space: nowrap; padding-block: 6px; }
.topo__cha { font-family: var(--raul-font-heading); font-style: italic; font-weight: 800; font-size: 1.35rem; line-height: 1; padding-bottom: 4px; }
.topo__raul { position: relative; font-family: var(--raul-font-signature); font-size: 2rem; line-height: 1; color: var(--raul-white); -webkit-text-stroke: .2em var(--raul-navy); paint-order: stroke fill; transform: skewX(-6deg); padding-bottom: 6px; }
.topo__raul::after { content: ""; position: absolute; left: 2px; right: 4px; bottom: 0; height: 4px; border-radius: 999px; background: var(--raul-pink); }
.topo__palmeira { width: 30px; margin-left: -4px; }
.topo__divisor { width: 1px; height: 36px; background: var(--raul-border); }
.topo__nav { margin-left: auto; }
.topo__nav ul { display: flex; list-style: none; gap: clamp(8px, 4vw, 56px); }
.topo__nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding-inline: 6px; font-weight: 800; font-size: 1.0625rem; text-decoration: none; }
.topo__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 999px; background: var(--raul-pink); transform: scaleX(0); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.topo__nav a:hover::after, .topo__nav a[aria-current="true"]::after { transform: scaleX(1); }
.topo__menu { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; border-radius: 12px; background: none; color: var(--raul-navy); cursor: pointer; place-items: center; }

/* ---------- Abertura ---------- */
.abertura__palco { position: relative; max-width: 1440px; margin-inline: auto; overflow: hidden; padding-bottom: clamp(0px, 2vw, 24px); }
.abertura__panorama img { width: 100%; height: clamp(150px, 17vw, 218px); object-fit: cover; object-position: 50% 40%; --fade-x: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); --fade-y: linear-gradient(to bottom, #000 55%, transparent); -webkit-mask-image: var(--fade-x), var(--fade-y); -webkit-mask-composite: source-in; mask-image: var(--fade-x), var(--fade-y); mask-composite: intersect; }

.assinatura { position: relative; z-index: 1; display: grid; justify-items: center; width: fit-content; margin: calc(-1 * clamp(64px, 8.5vw, 112px)) auto 0; font-family: var(--raul-font-signature); font-weight: 400; line-height: .95; color: var(--raul-white); -webkit-text-stroke: .2em var(--raul-navy); paint-order: stroke fill; text-shadow: 0 .07em 0 var(--raul-navy); transform: skewX(-6deg); }
/* Nuvem creme atrás do lettering, como no mockup: separa o nome da paisagem. */
.assinatura::before { content: ""; position: absolute; z-index: -1; inset: -18% -16% -6%; background: radial-gradient(closest-side, var(--raul-cream) 62%, rgb(255 245 223 / 0%)); }
.assinatura__linha1 { font-size: clamp(1.9rem, 6.4vw, 3.4rem); letter-spacing: .01em; -webkit-text-stroke-width: .22em; }
.assinatura__nome { position: relative; display: inline-flex; align-items: flex-end; font-size: clamp(5rem, 21vw, 9rem); letter-spacing: .01em; -webkit-text-stroke-width: .15em; padding-bottom: .12em; padding-right: .1em; }
.assinatura__nome::after { content: ""; position: absolute; left: .08em; right: .5em; bottom: .02em; height: .085em; border-radius: 999px; background: var(--raul-pink); transform: rotate(-1.2deg); }
.assinatura__palmeira { transform: skewX(6deg); width: .62em; height: auto; margin-left: .02em; margin-bottom: .04em; }

.abertura__frases { display: grid; justify-items: center; gap: 4px; padding: 12px 20px 0; text-align: center; }
.abertura__grade { display: grid; }
.abertura__texto { display: grid; justify-items: center; gap: 0; padding: 22px 20px 0; text-align: center; }
.frase { font-family: var(--raul-font-hand); font-weight: 700; font-size: clamp(1.75rem, 4.2vw, 2.9rem); line-height: 1.15; text-wrap: balance; transform: rotate(-1.5deg); }
.frase-apoio { font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.3; margin-top: -2px; }
.data { margin: 0; }
.local { display: grid; font-size: 1.0625rem; line-height: 1.4; margin-top: 14px; }
.local strong { font-weight: 800; font-size: clamp(1.2rem, 2.4vw, 1.4rem); }
.contagem { font-weight: 700; margin-top: 12px; }
.contagem:empty { display: none; }
.contagem b { display: inline-block; padding: 0 10px; margin-inline: 2px; border-radius: 8px; background: var(--raul-peach); font-variant-numeric: tabular-nums; }
.acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }
.acoes .raul-button { min-width: 220px; font-size: 1.0625rem; }
.agenda { display: grid; justify-items: center; gap: 4px; margin-top: 14px; padding-inline: 20px; font-size: .95rem; text-align: center; }
.agenda__botao { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 20px; border: 2px solid var(--raul-border); border-radius: 999px; background: var(--raul-white); font-weight: 800; text-decoration: none; transition: border-color .18s, box-shadow .18s; }
.agenda__botao:hover { border-color: var(--raul-navy); box-shadow: var(--raul-shadow); }
.agenda__botao:hover svg { transform: rotate(-8deg); }
.agenda__botao svg { flex: none; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.agenda__alternativa a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; text-decoration-color: var(--raul-pink); text-decoration-thickness: 2px; }
.abertura__animais .cena__base { width: 100%; }

/* ---------- Atalhos (cartões do mockup) ---------- */
.atalhos { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; width: min(calc(100% - 40px), var(--raul-content-width)); margin: 0 auto; }
.atalho { display: flex; align-items: center; gap: 18px; min-height: 112px; padding: 18px 20px; background: var(--raul-cream); border: 1px solid var(--raul-border); border-radius: var(--raul-radius-card); box-shadow: var(--raul-shadow); text-decoration: none; transition: box-shadow .25s cubic-bezier(.16, 1, .3, 1), border-color .25s; }
.atalho:hover { box-shadow: var(--raul-shadow-alta); border-color: rgb(7 28 73 / 40%); }
.atalho:hover .atalho__icone { transform: translateY(-3px) rotate(-4deg); }
.atalho__icone { flex: none; width: 56px; height: 56px; transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.atalho__texto { position: relative; display: grid; gap: 4px; flex: 1; padding-left: 18px; }
/* Fio rosa entre ícone e texto, como no mockup. */
.atalho__texto::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--raul-pink); }
.atalho strong { font-weight: 800; font-size: 1.2rem; line-height: 1.3; text-wrap: balance; }
.atalho small { font-size: .925rem; line-height: 1.4; }
.atalho__seta { flex: none; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.atalho:hover .atalho__seta { transform: translateX(3px); }

/* ---------- Formulário ---------- */
.cartao-form { padding: clamp(20px, 4vw, 36px); background: var(--raul-white); }
.cartao-form .raul-field:first-child { margin-top: 0; }
.opcoes, .acompanhantes { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.opcoes legend, .acompanhantes legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.opcoes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opcoes legend { grid-column: 1 / -1; }
.opcao { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 16px; border: 2px solid var(--raul-border); border-radius: var(--raul-radius-control); background: var(--raul-cream); font-weight: 700; cursor: pointer; transition: background-color .18s, border-color .18s; }
.opcao:hover { border-color: rgb(7 28 73 / 45%); }
.opcao:has(input:checked) { border-color: var(--raul-navy); background: var(--raul-turquoise); }
.opcao input { width: 22px; height: 22px; accent-color: var(--raul-navy); margin: 0; flex: none; }
.campo-erro { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.campo-erro::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--raul-pink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 5v6' stroke='%23071C49' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='10' cy='14.6' r='1.4' fill='%23071C49'/%3E%3C/svg%3E") center / 20px no-repeat; }
.dica { font-size: .95rem; margin-bottom: 12px; }
.opcional { font-weight: 400; }
.acompanhantes__lista { list-style: none; display: grid; gap: 12px; margin-bottom: 14px; }
.acompanhante { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px; border-radius: var(--raul-radius-control); background: var(--raul-cream); }
.acompanhante label:first-child { grid-column: 1 / -1; font-weight: 700; font-size: .95rem; }
.acompanhante input[type="text"] { grid-column: 1 / -1; }
.acompanhante__crianca { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; cursor: pointer; }
.acompanhante__crianca input { width: 22px; height: 22px; accent-color: var(--raul-navy); margin: 0; }
.acompanhante__remover { min-height: 48px; padding: 8px 14px; border: 0; background: none; color: var(--raul-navy); font-weight: 700; text-decoration: underline; cursor: pointer; border-radius: 10px; }
.botao-pequeno { min-height: 48px; padding: 10px 18px; }
.botao-enviar { width: 100%; margin-top: 8px; font-size: 1.0625rem; }
.mel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.resultado, .encerrado { display: grid; gap: 20px; justify-items: center; text-align: center; padding-block: 12px; }
.resultado:focus { outline: none; }
.resultado__titulo, .encerrado__texto { font-size: clamp(1.25rem, 3.6vw, 1.5rem); font-weight: 800; line-height: 1.35; max-width: 32ch; text-wrap: balance; }
.resultado__titulo::before { content: ""; display: block; width: 56px; height: 56px; margin: 0 auto 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M24 41S6 30.5 6 17.5A9.5 9.5 0 0 1 24 13a9.5 9.5 0 0 1 18 4.5C42 30.5 24 41 24 41Z' fill='%23F783A6' stroke='%23071C49' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- Localização ---------- */
/* Pôr do sol: a página atravessa o fim de tarde do convite (creme → pêssego → rosa → lilás → noite). */
:root { --ceu-pessego: #FFE3C7; --ceu-rosa: #FCDCE2; --ceu-lilas: #EFE0F5; }
.secao-local { background: linear-gradient(180deg, var(--raul-cream) 0%, var(--ceu-pessego) 28%, var(--ceu-rosa) 62%, var(--ceu-lilas) 88%, var(--raul-cream) 100%); }
#presentes { background: linear-gradient(180deg, var(--raul-cream) 0%, var(--raul-cream) 70%, var(--ceu-lilas) 100%); }
.titulo-icone { display: block; width: 52px; height: 52px; margin: 0 auto 10px; }
.categoria-icone { flex: none; width: 34px; height: 34px; }
.fraldas-icone { flex: none; width: 44px; height: 44px; }
.fraldas h3, .categoria h3 { display: flex; align-items: center; gap: 10px; }
.sem-quebra { white-space: nowrap; }
.cartao-local { display: grid; justify-items: center; gap: 6px; text-align: center; margin-top: 24px; padding: clamp(24px, 5vw, 40px); background: var(--raul-white); }
.cartao-local__icone { width: 64px; height: 64px; margin-bottom: 6px; }
.cartao-local__nome { font-weight: 800; font-size: clamp(1.25rem, 3.6vw, 1.5rem); line-height: 1.3; }
.cartao-local__comp { font-size: 1.0625rem; }
.cartao-local__quando { margin-block: 6px 16px; font-weight: 600; }

/* ---------- Presentes ---------- */
.fraldas { margin: 0 auto 28px; max-width: 860px; padding: clamp(20px, 4vw, 32px); border-radius: var(--raul-radius-card); background: var(--raul-turquoise); border: 2px solid var(--raul-navy); box-shadow: var(--raul-shadow-alta); }
.fraldas h3 { font-family: var(--raul-font-heading); font-style: italic; font-weight: 800; font-size: clamp(1.6rem, 4.5vw, 2.1rem); line-height: 1.1; margin-bottom: 16px; }
.fraldas__grade { display: grid; grid-template-columns: auto 1fr; gap: 16px 40px; }
.fraldas__rotulo { font-weight: 800; font-size: .95rem; margin-bottom: 8px; }
.fichas { list-style: none; display: flex; gap: 8px; }
.fichas li { display: grid; place-items: center; min-width: 52px; height: 52px; padding-inline: 10px; border-radius: 14px; background: var(--raul-cream); border: 2px solid var(--raul-navy); font-weight: 800; font-size: 1.25rem; }
.marcas { list-style: none; display: grid; gap: 8px; }
.marcas li { padding: 10px 16px; border-radius: 12px; background: var(--raul-cream); font-weight: 800; }
.categorias { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.categoria { background: var(--raul-white); }
.categoria h3 { font-weight: 800; font-size: 1.2rem; padding-bottom: 10px; margin-bottom: 12px; border-bottom: 3px solid var(--raul-peach); }
.categoria:nth-child(2) h3 { border-color: var(--raul-pink); }
.categoria:nth-child(3) h3 { border-color: var(--raul-turquoise); }
.categoria:nth-child(4) h3 { border-color: var(--raul-green); }
.categoria ul { list-style: none; display: grid; gap: 10px; }
.categoria li { position: relative; padding-left: 20px; line-height: 1.4; }
.categoria li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--raul-navy); }
.categoria li span { display: block; font-size: .9rem; }
.pix { margin: 28px auto 0; max-width: 720px; text-align: center; display: grid; gap: 8px; background: var(--raul-white); }
.pix h3 { font-weight: 800; font-size: 1.25rem; }

/* ---------- Rodapé ---------- */
.rodape { color: var(--raul-white); background: var(--ceu-lilas); }
.rodape__panorama { position: relative; display: block; }
.rodape__panorama img { width: 100%; height: clamp(130px, 15vw, 210px); object-fit: cover; object-position: 50% 35%; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%); }
.rodape__panorama::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgb(7 28 73 / 0%) 45%, var(--raul-navy) 100%); }
.rodape__noite { background: var(--raul-navy); padding-block: 8px 36px; margin-top: -1px; }
.rodape ::selection { background: var(--raul-pink); }
.rodape__conteudo { display: grid; justify-items: center; gap: 10px; text-align: center; }
.rodape__frase { font-family: var(--raul-font-hand); font-weight: 700; font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.2; }
.rodape__whats { margin-top: 6px; background: var(--raul-white); color: var(--raul-navy); border-color: var(--raul-white); }
.rodape__assinatura { margin-top: 18px; font-size: .95rem; }
.rodape :focus-visible { outline-color: var(--raul-white); box-shadow: none; }

/* ---------- Computador: composição do mockup ---------- */
@media (min-width: 900px) {
  .abertura__grade { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: end; column-gap: 12px; margin-top: 30px; }

  .abertura__grade { grid-template-areas: "texto animais" "agenda animais"; grid-template-rows: auto 1fr; }
  .abertura__texto { grid-area: texto; padding: 0 0 0 clamp(24px, 4vw, 64px); align-self: start; }
  .agenda { grid-area: agenda; align-self: start; padding: 0 0 clamp(32px, 4vw, 56px) clamp(24px, 4vw, 64px); }
  .abertura__animais { grid-area: animais; align-self: end; margin-right: -3%; }
  .cena { -webkit-mask-image: linear-gradient(to right, transparent, #000 10%); mask-image: linear-gradient(to right, transparent, #000 10%); }
  .frase { font-size: clamp(2rem, 3.2vw, 2.6rem); }
  .atalhos { margin-top: clamp(16px, 2vw, 28px); }
}

/* ---------- Telas menores ---------- */
@media (max-width: 1023px) {
  .categorias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .atalhos { grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
  .atalho { min-height: 0; }
  .abertura__animais { margin: 6px -10% 0; }
  .agenda { margin-top: 4px; }
}
@media (max-width: 767px) {
  .abertura__panorama img { height: 122px; }
  .assinatura { margin-top: -58px; }
  .assinatura__nome { font-size: clamp(4.4rem, 19vw, 5.4rem); }
  .assinatura__linha1 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .frase { font-size: clamp(1.55rem, 6.6vw, 1.85rem); }
  .abertura__texto { padding-top: 14px; }
  .local { margin-top: 8px; }
  .contagem { margin-top: 6px; }
  .acoes { margin-top: 14px; }
  .categorias { grid-template-columns: 1fr; }
  .acoes { display: grid; width: 100%; justify-self: stretch; justify-content: stretch; }
  .acoes .raul-button { width: 100%; min-width: 0; }
  .fraldas__grade { grid-template-columns: 1fr; }
  .topo__divisor { display: none; }
  .topo__menu { display: grid; }
  .js .topo__nav { position: absolute; top: 100%; left: -20px; right: -20px; background: var(--raul-cream); box-shadow: 0 1px 0 var(--raul-border), 0 14px 24px rgb(7 28 73 / 12%); }
  .js .topo__nav:not(.aberto) { display: none; }
  .topo__nav ul { flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .topo__nav a { width: 100%; font-size: 1.125rem; }
  .topo__nav a::after { right: auto; width: 48px; bottom: 8px; }
  .opcoes { grid-template-columns: 1fr; }
}
/* ---------- Movimento ----------
   Momento principal: a abertura conta o convite. A paisagem entra em foco, o nome
   sobe, o sublinhado rosa é desenhado, a palmeira balança e a frase é "escrita à mão".
   Demais animações só respondem a ações (acompanhante, sucesso, erro, menu). */
:root { --sair: cubic-bezier(.16, 1, .3, 1); }
@keyframes raul-foco { from { opacity: 0; filter: blur(8px); transform: scale(1.04); } }
@keyframes raul-surgir { from { opacity: 0; transform: translateY(var(--dist, 14px)); } }
@keyframes raul-nome { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@keyframes raul-sublinhar { from { transform: rotate(-1.2deg) scaleX(0); } }
@keyframes raul-palmeira { from { opacity: 0; transform: skewX(6deg) rotate(-14deg); } 60% { opacity: 1; transform: skewX(6deg) rotate(4deg); } }
@keyframes raul-escrever { from { clip-path: inset(-30% 100% -30% -10%); } to { clip-path: inset(-30% -10% -30% -10%); } }
@keyframes raul-aparecer { from { opacity: 0; } }
@keyframes raul-coracao { from { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.08); } }

.abertura__panorama img { animation: raul-foco .9s var(--sair) both; }
.assinatura__linha1 { animation: raul-nome .6s var(--sair) .15s both; }
.assinatura__nome { animation: raul-nome .7s var(--sair) .28s both; }
.assinatura__nome::after { transform-origin: left center; animation: raul-sublinhar .55s var(--sair) .7s both; }
.assinatura__palmeira { transform-origin: 30% 100%; animation: raul-palmeira .9s var(--sair) .6s both; }
.frase { animation: raul-escrever .8s cubic-bezier(.45, .05, .35, 1) .65s both; }
.frase-apoio { animation: raul-surgir .5s var(--sair) .95s both; }
.abertura__texto { animation: raul-surgir .6s var(--sair) .85s both; }
.agenda { animation: raul-surgir .6s var(--sair) 1s both; }
.abertura__animais { --dist: 28px; animation: raul-surgir .8s var(--sair) .45s both; }
.atalhos { animation: raul-surgir .6s var(--sair) 1s both; }

.acompanhantes:not([hidden]), .acompanhante { --dist: 8px; animation: raul-surgir .28s var(--sair) both; }
.resultado:not([hidden]), .encerrado:not([hidden]) { --dist: 10px; animation: raul-surgir .4s var(--sair) both; }
.resultado:not([hidden]) .resultado__titulo::before { animation: raul-coracao .55s var(--sair) .1s both; }
.raul-error:not([hidden]), .campo-erro:not([hidden]) { animation: raul-aparecer .2s ease-out both; }
.topo__nav.aberto { --dist: -8px; animation: raul-surgir .22s var(--sair) both; }

/* ---------- Bichos da abertura ----------
   Cada bicho se mexe de leve no próprio lugar, cada um no seu ritmo: a capivara e a onça
   respiram dormindo; periquito, tucano e aracuã respiram e, de vez em quando, se ajeitam
   (estufam as penas). Os bichos só crescem a partir de onde estão apoiados, nunca encolhem,
   então a camada sempre cobre o lugar original. Fora da tela, tudo pausa (.cena--parada). */
.cena { position: relative; }
.bicho { position: absolute; display: block; left: var(--x); top: var(--y); width: var(--w); transform-origin: var(--origem, 50% 100%); will-change: transform; }
.bicho > img { display: block; width: 100%; height: auto; }
.bicho--capivara { --x: 2.94%; --y: 19.64%; --w: 44.65%; --origem: 55% 100%; z-index: 1; }
.bicho--periquito { --x: 45.31%; --y: -19.72%; --w: 26.35%; --origem: 60% 95%; }
.bicho--onca { --x: 40.82%; --y: 25.22%; --w: 34.67%; --origem: 50% 100%; z-index: 2; }
.bicho--tucano { --x: 66.31%; --y: 7.59%; --w: 33.69%; --origem: 62% 92%; z-index: 3; }
.bicho--aracua { --x: 4.63%; --y: 45.09%; --w: 23.35%; --origem: 60% 98%; z-index: 4; }

@keyframes raul-respira { to { transform: scale(var(--rx, 1.006), var(--ry, 1.014)); } }
@keyframes raul-ajeita {
  0%, 100% { transform: none; }
  30% { transform: scale(1.01, 1.022); }
  60%, 76% { transform: none; }
  82% { transform: scale(1.07, 1.012); }
  88% { transform: scale(1.01, 1.06); }
  94% { transform: scale(1.035, 1.016); }
}

.bicho--capivara { --rx: 1.01; --ry: 1.026; animation: raul-respira 2.3s ease-in-out 1.4s infinite alternate; }
.bicho--onca { --rx: 1.018; --ry: 1.022; animation: raul-respira 1.9s ease-in-out 1.9s infinite alternate; }
.bicho--periquito { animation: raul-ajeita 5.2s ease-in-out 2.2s infinite; }
.bicho--tucano { animation: raul-ajeita 7.4s ease-in-out 3.4s infinite; }
.bicho--aracua { animation: raul-ajeita 6.3s ease-in-out 4.6s infinite; }
.cena--parada .bicho { animation-play-state: paused; }

/* Menos movimento: sem deslocamentos nem desfoque; as entradas viram esmaecimentos curtos
   e os retornos de ação continuam visíveis. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-name: raul-aparecer !important; animation-duration: .25s !important; animation-delay: 0s !important; transition-property: color, background-color, border-color, box-shadow, opacity !important; }
  .assinatura__nome::after, .bicho--periquito, .bicho--tucano, .bicho--aracua { animation: none !important; }
  /* Respiração mínima mantida: lenta e curta, sem deslocamento. */
  .bicho--capivara { --rx: 1.004; --ry: 1.01; animation: raul-respira 3.6s ease-in-out 0s infinite alternate !important; }
  .bicho--onca { --rx: 1.006; --ry: 1.008; animation: raul-respira 3.2s ease-in-out 0s infinite alternate !important; }
}
