/* Valentim Store - Natal / Fim de Ano 2026
   Identidade tirada da logo: letras arredondadas e coloridas (vermelho, laranja, roxo, verde, azul-marinho).
   Elemento de destaque: cada peça é uma etiqueta de roupa, com furo e fio. O resto fica quieto. */

@font-face { font-family: "Fredoka"; font-weight: 500; font-style: normal; font-display: swap;
  src: url("fonts/fredoka-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Fredoka"; font-weight: 600; font-style: normal; font-display: swap;
  src: url("fonts/fredoka-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-weight: 300 900; font-style: normal; font-display: swap;
  src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2"); }

:root {
  --navy: #2A2370;
  --ink: #251F5C;
  --ink-suave: #5B5780;
  --roxo: #9A72BD;
  --roxo-esc: #7B53A6;
  --roxo-claro: #EFE9F8;
  --vermelho: #D90F2B;
  --laranja: #FF9100;
  --verde: #1E7F3C;
  --azul: #3B4BB0;
  --papel: #F7F5FC;
  --linha: #D9D2EC;
  --wpp: #25D366;
  --wpp-ink: #06361B;
  --fonte-titulo: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --fonte-texto: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--fonte-texto); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--fonte-titulo); font-weight: 600; line-height: 1.12; margin: 0; color: var(--ink); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 1.25rem; }
p { margin: 0 0 1rem; max-width: 62ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px #fff; border-radius: 6px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap--estreito { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.0625rem; text-decoration: none; text-align: center; line-height: 1.1;
  border: 2px solid transparent; cursor: pointer; }
.btn:active { transform: scale(.98); }
.btn--wpp { background: var(--wpp); color: var(--wpp-ink); }
.btn--wpp:hover { background: #1fbd5a; }
.btn--claro { background: #fff; color: var(--navy); border-color: #fff; }
.btn--claro:hover { background: var(--roxo-claro); }
.btn--escuro { background: var(--navy); color: #fff; }
.btn--escuro:hover { background: #1f1958; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 1rem; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 1.125rem; }
.btn--bloco { width: 100%; }

/* ---------- Topo ---------- */
.topo { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--linha); }
.topo__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.topo__logo img { width: 150px; height: auto; }
.topo__nav { display: none; margin-left: auto; gap: 26px; }
.topo__nav a { text-decoration: none; font-weight: 600; color: var(--ink); padding: 8px 0; border-bottom: 3px solid transparent; }
.topo__nav a:hover { border-bottom-color: var(--roxo); }
.topo .btn { margin-left: auto; }
@media (min-width: 900px) { .topo__nav { display: flex; } .topo .btn { margin-left: 0; } .topo__logo img { width: 170px; } }

/* ---------- Abertura ---------- */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero__in { display: grid; gap: 28px; align-items: center; padding-top: 44px; padding-bottom: 48px; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 6.2vw, 3.7rem); letter-spacing: -.01em; max-width: 14ch; }
.hero__sub { color: #E4DFF7; font-size: 1.1875rem; margin: 18px 0 26px; max-width: 34rem; }
.hero__sub strong { color: #fff; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__nota { color: #C9C2EA; font-size: .9375rem; margin: 18px 0 0; }
/* Topo: 3 etiquetas de peças reais penduradas, levemente inclinadas. */
.hero__tags { position: relative; display: flex; justify-content: center; align-items: flex-start; width: min(100%, 360px); justify-self: center; padding: 4px 0 8px; }
.hero__tags::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side at 50% 55%, rgba(154,114,189,.45), rgba(154,114,189,0)); z-index: 0; }
.htag { position: relative; z-index: 1; display: block; width: 31%; margin-left: 3.5%; padding-top: 34px; color: var(--ink); text-decoration: none; filter: drop-shadow(0 8px 14px rgba(8,5,40,.45)); }
.htag:first-child { margin-left: 0; }
.htag::before { content: ""; position: absolute; top: 0; left: 50%; width: 3px; height: 48px; margin-left: -1.5px; background: var(--vermelho); border-radius: 2px; z-index: 3; }
.htag__corpo { position: relative; display: block; background: #fff; padding-top: 24px;
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%); }
.htag__corpo::before { content: ""; position: absolute; top: 7px; left: 50%; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--navy); box-shadow: inset 0 0 0 3px var(--vermelho); z-index: 2; }
.htag__foto { display: block; aspect-ratio: 4 / 5; background: var(--roxo-claro); overflow: hidden; }
.htag__foto img { display: block; width: 100%; height: 100%; object-fit: cover; }
.htag__nome { display: block; padding: 8px 8px 10px; font-family: var(--fonte-titulo); font-weight: 500; font-size: .8125rem; line-height: 1.25; text-align: center; border-top: 2px dashed var(--linha); }
.htag:nth-child(1) { rotate: -4deg; margin-top: 30px; }
.htag:nth-child(2) { rotate: 1.5deg; z-index: 2; }
.htag:nth-child(3) { rotate: 5deg; margin-top: 44px; }
.htag:hover { z-index: 4; }
@media (min-width: 860px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; gap: 40px; padding-top: 56px; padding-bottom: 60px; }
  .hero__tags { width: 100%; max-width: 520px; justify-self: end; }
  .htag { padding-top: 40px; }
  .htag__nome { font-size: .875rem; }
}

/* ---------- Quem vamos vestir ---------- */
.perfil { padding: 52px 0 12px; background: var(--papel); }
.perfil__lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.perfil__item { display: flex; flex-direction: column; justify-content: space-between; min-height: 150px; padding: 18px 18px 16px; border-radius: 22px; text-decoration: none; color: #fff; }
.perfil__nome { font-family: var(--fonte-titulo); font-weight: 600; font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1; }
.perfil__acao { align-self: flex-start; font-weight: 700; font-size: .9375rem; background: rgba(255,255,255,.95); color: var(--ink); padding: 7px 14px; border-radius: 999px; }
.perfil__item--menina { background: var(--roxo-esc); }
.perfil__item--menino { background: var(--azul); }
.perfil__item--bebe { background: var(--laranja); color: var(--ink); }
.perfil__item--juvenil { background: var(--verde); }
@media (min-width: 760px) {
  .perfil__lista { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .perfil__item { min-height: 170px; }
  .perfil__lista li:nth-child(odd) .perfil__item { transform: rotate(-1deg); }
  .perfil__lista li:nth-child(even) .perfil__item { transform: rotate(1deg); }
}

/* ---------- Vitrine ---------- */
.vitrine { padding: 36px 0 64px; background: var(--papel); }
.aviso-demo { background: #FFF1CC; color: #6A4A00; padding: 10px 14px; border-radius: 10px; font-weight: 600; max-width: none; }
.filtros { display: grid; gap: 10px; margin-bottom: 8px; }
.filtros__linha { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: inherit; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1rem; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--navy); background: #fff; color: var(--navy); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.chip--marca { border-style: dashed; border-color: var(--roxo-esc); color: var(--roxo-esc); min-height: 38px; font-size: .9375rem; }
.chip--marca[aria-pressed="true"] { background: var(--roxo-esc); border-style: solid; color: #fff; }
.contagem { color: var(--ink-suave); font-size: .9375rem; margin: 12px 0 8px; }

.grade { display: grid; grid-template-columns: 1fr; gap: 6px 14px; max-width: 440px; margin: 0 auto; }
@media (min-width: 760px) { .grade { grid-template-columns: repeat(3, 1fr); gap: 10px 24px; max-width: none; margin: 0; } }
@media (min-width: 1000px) { .grade { grid-template-columns: repeat(4, 1fr); } }
.peca { position: relative; padding-top: 30px; filter: drop-shadow(0 6px 10px rgba(37,31,92,.14)); }
.peca[hidden] { display: none; }
.peca::before { content: ""; position: absolute; top: 0; left: 50%; width: 3px; height: 50px; margin-left: -1.5px; background: var(--vermelho); border-radius: 2px; z-index: 2; }
.etiqueta { position: relative; background: #fff; padding-top: 26px;
  clip-path: polygon(0 18px, 18px 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.etiqueta::before { content: ""; position: absolute; top: 9px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%;
  background: var(--papel); box-shadow: inset 0 0 0 3px var(--vermelho); z-index: 1; }
.etiqueta__foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--roxo-claro); display: grid; place-items: center; }
.etiqueta__foto img { width: 100%; height: 100%; object-fit: cover; }
.etiqueta__foto--menina { background: #E3D6F3; }
.etiqueta__foto--menino { background: #D5DAF5; }
.etiqueta__foto--bebe { background: #FFE6BF; }
.etiqueta__foto--juvenil { background: #CFEBD8; }
.etiqueta__inicial { font-family: var(--fonte-titulo); font-weight: 600; font-size: 6.5rem; line-height: 1; color: rgba(37,31,92,.22); }
.etiqueta__soon { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .8125rem; font-weight: 600; color: var(--ink-suave); }
.etiqueta__corpo { padding: 14px 14px 16px; border-top: 2px dashed var(--linha); }
.etiqueta__meta { font-size: .8125rem; font-weight: 600; color: var(--ink-suave); margin: 0 0 4px; }
.etiqueta__nome { font-weight: 500; font-size: 1.1875rem; margin-bottom: 10px; }
.etiqueta__preco { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.25rem; margin: 0 0 10px; }
.tamanhos { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tamanhos li { min-width: 34px; height: 30px; padding: 0 7px; display: grid; place-items: center; border: 1.5px solid var(--navy); border-radius: 6px; font-family: var(--fonte-titulo); font-weight: 500; font-size: .875rem; color: var(--navy); }
.etiqueta .btn { font-size: 1rem; padding: 0 12px; }
.vazio { padding: 24px; text-align: center; max-width: none; color: var(--ink-suave); }
.em-breve { border: 2px dashed var(--roxo); border-radius: 22px; background: #fff; padding: 28px 22px; text-align: center; }
.em-breve p { margin-left: auto; margin-right: auto; }
.em-breve__titulo { font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.5rem; color: var(--ink); }

/* ---------- Como funciona ---------- */
.passos { padding: 64px 0; background: #fff; }
.passos__lista { display: grid; gap: 28px; counter-reset: passo; }
.passos__lista li { position: relative; padding-left: 68px; counter-increment: passo; }
.passos__lista li::before { content: counter(passo); position: absolute; left: 0; top: -2px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 600; font-size: 1.5rem; color: #fff; background: var(--roxo-esc); }
.passos__lista li:nth-child(2)::before { background: var(--azul); }
.passos__lista li:nth-child(3)::before { background: var(--verde); }
.passos__lista h3 { font-size: 1.375rem; margin-bottom: 6px; }
.passos__lista p { margin: 0; color: var(--ink-suave); }
@media (min-width: 860px) { .passos__lista { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ---------- Marcas ---------- */
.marcas { padding: 44px 0; background: var(--roxo-claro); }
.marcas h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
.marcas__lista { display: flex; flex-wrap: wrap; gap: 10px; }
.marcas__lista li { background: #fff; border-radius: 999px; padding: 9px 20px; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.125rem; color: var(--navy); }

/* ---------- Loja ---------- */
.loja { padding: 64px 0; background: #fff; }
.loja__in { display: grid; gap: 32px; align-items: center; }
.loja address { font-size: 1.1875rem; line-height: 1.5; margin-bottom: 14px; }
.loja__aviso { background: #FFF1CC; color: #6A4A00; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
.loja__horario { color: var(--ink-suave); }
.horario { margin-bottom: 14px; }
.horario li { padding: 4px 0; }
.horario span { font-weight: 700; margin-right: 6px; }
.loja__acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.loja__mapa iframe { width: 100%; height: 340px; border: 0; border-radius: 22px; background: var(--roxo-claro); }
@media (min-width: 860px) { .loja__in { grid-template-columns: 1fr 1.1fr; gap: 48px; } .loja__mapa iframe { height: 400px; } }

/* ---------- Dúvidas ---------- */
.duvidas { padding: 64px 0; background: var(--papel); }
.duvidas details { border-bottom: 2px solid var(--linha); }
.duvidas summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-family: var(--fonte-titulo); font-weight: 500; font-size: 1.1875rem; color: var(--ink); }
.duvidas summary::-webkit-details-marker { display: none; }
.duvidas summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.75rem; color: var(--roxo-esc); line-height: 1; }
.duvidas details[open] summary::after { content: "\2212"; }
.duvidas details p { padding-bottom: 18px; margin: 0; color: var(--ink-suave); }

/* ---------- Rodapé ---------- */
.rodape { background: var(--navy); color: #E4DFF7; padding: 44px 0 100px; }
.rodape__in { display: grid; gap: 24px; }
.rodape p { max-width: none; margin-bottom: 10px; }
.rodape a { color: #fff; }
.rodape__logo { background: #fff; padding: 8px 14px; border-radius: 12px; margin-bottom: 12px; width: 170px; height: auto; }
.rodape__copy { text-align: center; font-size: .875rem; color: #B9B1DD; margin: 28px auto 0; }
@media (min-width: 760px) { .rodape { padding-bottom: 36px; } .rodape__in { grid-template-columns: 1fr 1fr; } .rodape__copy { text-align: left; max-width: 1120px; padding: 0 20px; } }

/* ---------- Barra fixa no celular ---------- */
.barra-fixa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--linha); box-shadow: 0 -6px 16px rgba(37,31,92,.1); }
.barra-fixa .btn { min-height: 48px; padding: 0 10px; font-size: 1rem; }
.barra-fixa .btn--claro { border-color: var(--navy); }
@media (min-width: 760px) { .barra-fixa { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:active { transform: none; }
}

/* Galeria por modelo: arraste (celular) ou use as setas. Sem troca automática. */
.galeria { position: absolute; inset: 0; }
.galeria__faixa { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.galeria__faixa::-webkit-scrollbar { display: none; }
.galeria__faixa img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; background: #fff; }
.galeria__faixa img.erro { visibility: hidden; }
.galeria__seta { position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.75rem; line-height: 1; cursor: pointer; box-shadow: 0 2px 8px rgba(37,31,92,.25); display: grid; place-items: center; padding: 0 0 3px; }
.galeria__seta[hidden] { display: none; }
.galeria__seta--ant { left: 8px; }
.galeria__seta--prox { right: 8px; }
.galeria__pontos { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.galeria__pontos i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.75); box-shadow: 0 0 0 1px rgba(37,31,92,.35); }
.galeria__pontos i.on { background: var(--navy); box-shadow: 0 0 0 1px #fff; }
@media (prefers-reduced-motion: no-preference) { .galeria__faixa { scroll-behavior: smooth; } }

/* Cartões da mesma altura: o botão do WhatsApp fica sempre alinhado na base da linha. */
.peca { display: flex; flex-direction: column; }
.peca .etiqueta { flex: 1; display: flex; flex-direction: column; }
.peca .etiqueta__corpo { flex: 1; display: flex; flex-direction: column; }
.peca .etiqueta__corpo .btn { margin-top: auto; }
.peca .etiqueta__nome { margin-bottom: 12px; }

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

/* Movimento: dois momentos só. (1) a arte do topo "salta" ao abrir a página; (2) cada etiqueta balança uma vez, pendurada no fio, ao entrar na tela. */
#vitrine { overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) {
  .htag { transform-origin: 50% 0; animation: etiqueta-balanco 1.9s ease-out both; }
  .htag:nth-child(1) { animation-delay: .25s; }
  .htag:nth-child(2) { animation-delay: .4s; }
  .htag:nth-child(3) { animation-delay: .55s; }

  .peca { transform-origin: 50% 0; }
  .peca.balanca { animation: etiqueta-balanco 1.7s ease-out both; animation-delay: calc(var(--i, 0) * 110ms); }
  @keyframes etiqueta-balanco {
    0% { transform: rotate(0); }
    14% { transform: rotate(4deg); }
    34% { transform: rotate(-3.2deg); }
    54% { transform: rotate(2deg); }
    74% { transform: rotate(-1deg); }
    100% { transform: rotate(0); }
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 759px) {
  @keyframes etiqueta-balanco {
    0% { transform: rotate(0); }
    14% { transform: rotate(2.6deg); }
    34% { transform: rotate(-2deg); }
    54% { transform: rotate(1.2deg); }
    74% { transform: rotate(-.6deg); }
    100% { transform: rotate(0); }
  }
}


/* ===== Ajustes da revisão (18/11) ===== */
html { scroll-padding-top: 76px; scroll-padding-bottom: 90px; }
@media (max-height: 520px) { .topo, .barra-fixa { position: static; } }

/* Celular: um único botão de WhatsApp fixo; topo mais compacto para as etiquetas aparecerem */
@media (max-width: 759px) {
  .topo .btn { display: none; }
  .hero__dir { display: none; }
  .hero__in { padding-bottom: 28px; gap: 20px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.4rem); }
  .hero__sub { font-size: 1.0625rem; margin: 12px 0 18px; }
  .hero__nota { margin-top: 12px; }
}

/* Alvos de toque de 44px */
.chip, .chip--marca { min-height: 44px; }
.btn--sm { min-height: 44px; }
.rodape a { display: inline-block; padding: 10px 0; }
.galeria__pontos i { width: 10px; height: 10px; }

/* Cartão sem foto (ou foto que não carregou): fica baixo, em vez de um bloco enorme */
.etiqueta__foto.sem-foto { aspect-ratio: 4 / 3; }
.etiqueta__foto.sem-foto .etiqueta__inicial { font-size: 3.5rem; }
.etiqueta__soon { font-size: .875rem; }
.etiqueta__foto.sem-foto .galeria { display: none; }

/* Topo: sem nome cortado, etiquetas maiores no computador */
.htag:nth-child(1) { z-index: 3; }
.htag__nome { text-wrap: balance; }
@media (min-width: 860px) { .hero__tags { max-width: 580px; } .htag__nome { font-size: .9375rem; } }

/* Rodapé e Dúvidas alinhados ao resto da página */
.rodape .rodape__copy { max-width: 1120px; margin: 28px auto 0; padding: 0 20px; }
.duvidas .wrap--estreito { margin-left: 0; }

/* Cartões mais separados do fundo */
.peca { filter: drop-shadow(0 1px 0 #D9D2EC) drop-shadow(0 8px 12px rgba(37,31,92,.16)); }
.perfil__lista { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .perfil__lista { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.loja__lead { margin: 0 0 14px; color: var(--ink-suave); }


/* ---------- Neve e brilhos (efeito_natal no config.php) ---------- */
.hero { position: relative; }
.hero__in { position: relative; z-index: 1; }
.neve { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; display: none; }
.floco { position: absolute; top: -20px; left: var(--x); width: var(--t); height: var(--t); border-radius: 50%; background: #fff; opacity: var(--o); box-shadow: 0 0 6px rgba(255,255,255,.55); }
.brilho { position: absolute; left: var(--x); top: var(--y); width: var(--t); height: var(--t); background: #FFE9A8; opacity: 0;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
@media (prefers-reduced-motion: no-preference) {
  .neve { display: block; }
  .floco { animation: floco-cai var(--d) linear var(--a) infinite; will-change: transform; }
  .brilho { animation: brilho-pisca var(--d) ease-in-out var(--a) infinite; }
  .neve--pausada .floco, .neve--pausada .brilho { animation-play-state: paused; }
}
@keyframes floco-cai {
  0%   { transform: translate3d(0, 0, 0); }
  50%  { transform: translate3d(var(--b), calc(var(--h, 600px) * .5), 0); }
  100% { transform: translate3d(calc(var(--b) * -1), calc(var(--h, 600px) + 20px), 0); }
}
@keyframes brilho-pisca {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  45%      { opacity: .95; transform: scale(1) rotate(20deg); }
  60%      { opacity: .2; transform: scale(.6) rotate(30deg); }
}
@media (max-width: 759px) {
  .floco:nth-child(n+10):nth-child(-n+18) { display: none; }
  .brilho:nth-child(n+23) { display: none; }
}