/* Bolos Encantados · base visual (código próprio)
   Identidade: workspace/businesses/bolo-no-pote/identidade/identidade-visual.md
   Movimento: squads/design-ops/acervo/SISTEMA-DE-MOVIMENTO.md (tokens) */

:root {
  /* paleta da marca */
  --rosa-algodao: #FBEDEA;
  --creme: #FFF8F3;
  --blush: #F4C6CF;
  --morango: #E2557F;
  --framboesa: #B83B63;
  --chocolate: #4A2A1E;
  --caramelo: #E9A35A;
  --folha: #7FA36B;
  --dourado: #D9A441;          /* magia: só brilho e estrelinha, nunca texto */
  --lilas: #CDB6E6;            /* só reflexo e bokeh */
  --chocolate-70: rgba(74, 42, 30, .72);
  --fio: rgba(74, 42, 30, .14);

  /* tipografia */
  --f-titulo: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-script: "Dancing Script", "Brush Script MT", cursive;
  --f-texto: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-corpo: clamp(1rem, .94rem + .3vw, 1.125rem);       /* 16 → 18 px */
  --fs-apoio: clamp(1.0625rem, .98rem + .4vw, 1.3rem);
  --fs-rotulo: .875rem;                                     /* piso de 14 px */
  --fs-h1: clamp(2.25rem, 1.05rem + 4.1vw, 4.5rem);
  --fs-h2: clamp(1.95rem, 1.2rem + 2.7vw, 3.5rem);
  --fs-h3: clamp(1.25rem, 1.05rem + .7vw, 1.6rem);
  --fs-gigante: clamp(2.4rem, 10.6vw, 9.6rem);

  /* grade */
  --max: 1280px;
  --margem: clamp(16px, 4vw, 56px);
  --secao: clamp(72px, 9vw, 128px);

  /* escala de espaço (revisão de design, 24/11/2026)
     base de 4 px; o respiro ENTRE grupos é sempre maior que o respiro DENTRO do grupo */
  --esp-1: 4px;  --esp-2: 8px;  --esp-3: 12px; --esp-4: 16px;
  --esp-5: 24px; --esp-6: 32px; --esp-7: 48px; --esp-8: 64px; --esp-9: 96px;
  /* papéis (fluidos: o primeiro valor é o do celular) */
  --r-rotulo: 14px;                          /* sobretítulo → título (rótulo cola no que nomeia) */
  --r-titulo: clamp(16px, 1.6vw, 24px);      /* título → texto de apoio */
  --r-cabeca: clamp(40px, 5vw, 64px);        /* cabeça da seção → conteúdo */
  --r-bloco: clamp(56px, 8vw, 112px);        /* bloco → bloco dentro da mesma seção */
  --r-grade: clamp(16px, 2vw, 24px);         /* espaço entre cartões de uma grade */
  --r-colunas: clamp(40px, 6vw, 96px);       /* texto ↔ imagem lado a lado (vira empilhado no celular) */
  --r-cartao: clamp(20px, 2.6vw, 32px);      /* padding interno de cartões */
  --raio: 20px;
  --raio-g: 28px;
  --arco: 999px 999px var(--raio) var(--raio);
  --sombra: 0 30px 60px -30px rgba(184, 59, 99, .38), 0 2px 8px rgba(74, 42, 30, .05);
  --sombra-leve: 0 16px 36px -22px rgba(184, 59, 99, .35);

  /* movimento: tokens do SISTEMA-DE-MOVIMENTO §2 */
  --ease-chegada: cubic-bezier(.22, 1, .36, 1);
  --ease-forte: cubic-bezier(.16, 1, .3, 1);
  --ease-suave: cubic-bezier(.165, .84, .44, 1);
  --ease-mola: cubic-bezier(.34, 1.56, .64, 1);
  --ease-ida-e-volta: cubic-bezier(.65, 0, .35, 1);
  --ease-saida: cubic-bezier(.55, .055, .675, .19);
  --dur-micro: 200ms;
  --dur-curta: 350ms;
  --dur-componente: 500ms;
  --dur-palco: 850ms;
  --dur-dado: 1100ms;
  --escala-tempo: 1;
}
@media (prefers-reduced-motion: reduce) { :root { --escala-tempo: 0; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--rosa-algodao);
  color: var(--chocolate);
  font-family: var(--f-texto);
  font-size: var(--fs-corpo);
  line-height: 1.65;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--framboesa); text-underline-offset: .18em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 600; }
h1, h2, h3 { font-family: var(--f-titulo); font-weight: 600; color: var(--chocolate); margin: 0; letter-spacing: -.02em; }
h1 { font-size: var(--fs-h1); line-height: 1.02; }
h2 { font-size: var(--fs-h2); line-height: 1.05; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -.01em; }
/* quebras de texto: títulos equilibrados (sem palavra órfã), parágrafos sem viúva */
h1, h2, h3, .linha > span { text-wrap: balance; }
p, li, dd, dt, summary, figcaption { text-wrap: pretty; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--framboesa); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blush); color: var(--chocolate); }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--chocolate); color: var(--creme); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.pular:focus { top: 12px; }

.envoltorio { width: min(100% - 2 * var(--margem), var(--max)); margin-inline: auto; }
.estreito { width: min(100% - 2 * var(--margem), 860px); margin-inline: auto; }
.secao { padding-block: var(--secao); position: relative; }
.secao--creme { background: var(--creme); }
.secao--blush { background: var(--blush); }
.secao--chocolate { background: var(--chocolate); color: var(--creme); }
.secao--chocolate h2, .secao--chocolate h3 { color: var(--creme); }

/* palavra de destaque: só cor de letra, nunca caixa (MELHORIA "destaque sem caixa") */
.doce { font-family: var(--f-script); font-weight: 700; color: var(--morango); font-size: 1.18em; letter-spacing: 0; line-height: .9; white-space: nowrap; }
.secao--chocolate .doce { color: var(--blush); }
.marca-texto { color: var(--framboesa); font-weight: 600; }

.sobretitulo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-texto); font-size: var(--fs-rotulo); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--framboesa);
  margin: 0 0 var(--r-rotulo);
}
.sobretitulo::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.secao--chocolate .sobretitulo { color: var(--blush); }
.apoio { font-size: var(--fs-apoio); line-height: 1.6; color: var(--chocolate); max-width: 62ch; }
.cabeca-secao { max-width: 760px; margin: 0 0 var(--r-cabeca); }
.cabeca-secao--centro { margin-inline: auto; text-align: center; }
.cabeca-secao--centro .sobretitulo { justify-content: center; }
.cabeca-secao h2 + p { margin-top: var(--r-titulo); }
/* texto centralizado curto: linhas do mesmo tamanho */
.cabeca-secao--centro p, .nota-botao, .legenda, .hero__sub { text-wrap: balance; }

/* selo "exemplo" (regra da copy: toda conta é exemplo) */
.selo-exemplo {
  display: inline-block; font-size: var(--fs-rotulo); font-weight: 600; line-height: 1;
  padding: 7px 12px; border-radius: 999px; border: 1.5px dashed var(--framboesa);
  color: var(--framboesa); background: transparent; vertical-align: middle; letter-spacing: .02em;
}

/* botão em pílula: rosa morango, texto branco 19px/600 (texto grande, 3,6:1) */
.botao {
  --pad: 20px 34px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 60px; padding: var(--pad);
  background: var(--morango); color: #fff; text-decoration: none; border: 0; cursor: pointer;
  font-family: var(--f-texto); font-weight: 600; font-size: 1.1875rem; line-height: 1.2; text-align: center;
  border-radius: 999px; box-shadow: 0 18px 34px -16px rgba(184, 59, 99, .7), inset 0 -3px 0 rgba(74, 42, 30, .12);
  transition: background calc(var(--dur-micro) * var(--escala-tempo)) ease,
              transform calc(var(--dur-componente) * var(--escala-tempo)) var(--ease-suave),
              box-shadow calc(var(--dur-componente) * var(--escala-tempo)) var(--ease-suave);
  will-change: transform;
}
.botao:hover { background: var(--framboesa); box-shadow: 0 22px 40px -16px rgba(184, 59, 99, .8); }
.botao:active { transform: scale(.97); }
.botao .seta { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.2); transition: transform calc(var(--dur-componente) * var(--escala-tempo)) var(--ease-mola); }
.botao:hover .seta { transform: translateX(4px); }
.botao--largo { width: 100%; }
.botao--chocolate { background: var(--chocolate); }
.botao--chocolate:hover { background: #2f1a12; }
.nota-botao { display: block; margin-top: 12px; font-size: var(--fs-rotulo); color: var(--chocolate-70); }

/* cartão */
.cartao { background: var(--creme); border-radius: var(--raio); box-shadow: var(--sombra-leve); border: 1px solid rgba(244, 198, 207, .7); }

/* ===== lugar de imagem (slot) ===== */
.slot { position: relative; margin: 0; overflow: hidden; border-radius: var(--raio); aspect-ratio: var(--r, 4 / 5); background: var(--blush); isolation: isolate; }
.slot--arco { border-radius: var(--arco); }
.slot--redondo { border-radius: 50%; }
.slot img, .slot picture { width: 100%; height: 100%; object-fit: cover; }
.slot picture img { width: 100%; height: 100%; object-fit: cover; }
/* Preserva o contorno irregular e a transparência do selo 3D. */
.slot[data-img="VSL-IMG-05"] { border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
.slot[data-img="VSL-IMG-05"] img { object-fit: contain; }
.slot--falta {
  background:
    radial-gradient(120% 80% at 18% 12%, rgba(255, 248, 243, .95) 0%, rgba(255, 248, 243, 0) 55%),
    radial-gradient(90% 70% at 90% 95%, rgba(226, 85, 127, .38) 0%, rgba(226, 85, 127, 0) 60%),
    linear-gradient(155deg, #FBEDEA 0%, #F4C6CF 62%, #EFAFBE 100%);
  display: grid; place-items: center; text-align: center;
}
.slot--falta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image: radial-gradient(rgba(184, 59, 99, .22) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
          mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.slot__marca { display: grid; gap: 8px; justify-items: center; padding: 18px; max-width: 30ch; }
.slot__marca svg { width: 30px; height: 30px; color: var(--morango); }
.slot__id { font-family: var(--f-texto); font-weight: 600; font-size: .9375rem; letter-spacing: .08em; color: var(--framboesa); background: rgba(255, 248, 243, .85); padding: 6px 12px; border-radius: 999px; }
.slot__nota { font-size: var(--fs-rotulo); line-height: 1.45; color: var(--chocolate); opacity: .86; }
.slot--mini .slot__nota, .slot--mini .slot__marca svg { display: none; }
.slot--mini .slot__id { font-size: .875rem; padding: 4px 8px; letter-spacing: .04em; }

/* ===== doodles e ondas ===== */
.doodle { position: absolute; color: var(--morango); pointer-events: none; z-index: 0; }
.doodle svg { width: 100%; height: 100%; }
.onda { display: block; width: 100%; height: clamp(36px, 5vw, 72px); margin: -1px 0; pointer-events: none; }
.onda path { fill: var(--cor-onda, var(--creme)); }

/* ===== revelar ao rolar (C-MOV) ===== */
.js [data-revelar] { opacity: 0; transform: translate3d(0, var(--sobe, 32px), 0); }
.js [data-revelar].visivel {
  opacity: 1; transform: none;
  transition: opacity calc(var(--dur-palco) * var(--escala-tempo)) var(--ease-chegada) var(--atraso, 0ms),
              transform calc(var(--dur-palco) * var(--escala-tempo)) var(--ease-chegada) var(--atraso, 0ms);
}
.js [data-revelar="esquerda"] { transform: translate3d(-80px, 0, 0); }
.js [data-revelar="direita"] { transform: translate3d(80px, 0, 0); }
.js [data-revelar="esquerda"].visivel, .js [data-revelar="direita"].visivel { transform: none; }
@media (prefers-reduced-motion: reduce) { .js [data-revelar] { opacity: 1; transform: none; } }

/* linhas de título que sobem da máscara (Sorrel/Norda: 110%, 100 ms entre linhas) */
.linha { display: block; overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }
.linha > span { display: inline-block; }
.js .titulo-linhas .linha > span { transform: translate3d(0, 112%, 0) rotate(2deg); transform-origin: 0 100%; }
.js .titulo-linhas.visivel .linha > span {
  transform: none;
  transition: transform calc(1.1s * var(--escala-tempo)) var(--ease-forte);
}
.js .titulo-linhas.visivel .linha:nth-child(2) > span { transition-delay: calc(100ms * var(--escala-tempo)); }
.js .titulo-linhas.visivel .linha:nth-child(3) > span { transition-delay: calc(200ms * var(--escala-tempo)); }
.js .titulo-linhas.visivel .linha:nth-child(4) > span { transition-delay: calc(300ms * var(--escala-tempo)); }
.js .titulo-linhas.visivel .linha:nth-child(5) > span { transition-delay: calc(400ms * var(--escala-tempo)); }
@media (prefers-reduced-motion: reduce) { .js .titulo-linhas .linha > span { transform: none; } }

/* ===== topo e cabeçalho ===== */
.faixa { background: var(--chocolate); color: var(--creme); overflow: hidden; position: relative; font-size: .9375rem; }
.faixa__trilho { display: flex; width: max-content; will-change: transform; }
.faixa__item { display: inline-flex; align-items: center; gap: 18px; padding: 11px 18px; white-space: nowrap; }
.faixa__item strong { color: var(--blush); }
.faixa__item svg { width: 14px; height: 14px; color: var(--morango); flex: none; }
.faixa::before, .faixa::after { content: ""; position: absolute; top: 0; bottom: 0; width: 8%; z-index: 1; pointer-events: none; }
.faixa::before { left: 0; background: linear-gradient(90deg, var(--chocolate), transparent); }
.faixa::after { right: 0; background: linear-gradient(-90deg, var(--chocolate), transparent); }

.topo { position: sticky; top: 0; z-index: 40; background: rgba(251, 237, 234, .86); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color var(--dur-componente) ease, transform calc(var(--dur-componente) * var(--escala-tempo)) var(--ease-forte); }
.topo.rolou { border-bottom-color: var(--fio); }
.topo__dentro { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: baseline; gap: 6px; text-decoration: none; color: var(--chocolate); font-family: var(--f-titulo); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; }
.logo .doce { font-size: 1.55rem; }
.logo { align-items: center; gap: 4px; }
.logo__bolos { font-family: var(--f-titulo); font-weight: 700; font-size: 1.32rem; color: var(--chocolate); }
.logo__encantados { font-family: var(--f-script); font-weight: 700; font-size: 1.85rem; color: var(--morango); line-height: 1; position: relative; padding-right: 14px; }
.logo__estrela { position: absolute; right: -2px; top: -6px; width: 15px; height: 15px; color: var(--dourado); }
.logo img { height: 44px; width: auto; }
.rodape__logo .logo__bolos { color: var(--creme); }
/* o logo colorido tem "Bolos" em chocolate: no rodapé chocolate ele some; um selo creme devolve a leitura */
.rodape__logo img { height: 56px; padding: 8px 16px; background: var(--creme); border-radius: 16px; box-sizing: content-box; }
.rodape__logo .logo__encantados { color: var(--blush); }
.topo .botao { --pad: 12px 22px; min-height: 48px; font-size: 1rem; }
.topo .botao .seta { width: 26px; height: 26px; }
.passos { display: flex; align-items: center; gap: 12px; font-size: var(--fs-rotulo); font-weight: 600; color: var(--chocolate); }
.passos__barra { width: clamp(90px, 18vw, 220px); height: 8px; border-radius: 99px; background: var(--blush); overflow: hidden; }
.passos__barra span { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, var(--morango), var(--framboesa)); transform-origin: left; }
.js .passos__barra span { transform: scaleX(0); }
.js .passos__barra.visivel span { transform: scaleX(1); transition: transform calc(var(--dur-dado) * var(--escala-tempo)) var(--ease-forte) .2s; }
@media (prefers-reduced-motion: reduce) { .js .passos__barra span { transform: none; } }

/* ===== rodapé ===== */
.rodape { background: var(--chocolate); color: rgba(255, 248, 243, .86); padding: clamp(56px, 7vw, 96px) 0 28px; overflow: hidden; position: relative; }
.rodape a { color: var(--blush); }
.rodape__grade { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.rodape__logo { color: var(--creme); }
.rodape__logo .doce { color: var(--blush); }
.rodape__links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 18px 0 0; padding: 0; list-style: none; font-weight: 500; }
.rodape__links a { display: inline-block; padding-block: 10px; overflow-wrap: anywhere; }   /* área de toque ≥ 44 px */
.rodape__aviso { font-size: var(--fs-rotulo); line-height: 1.6; }
.rodape__aviso p { margin-bottom: .8em; }
.rodape__empresa { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255, 248, 243, .16); font-size: var(--fs-rotulo); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.palavra-gigante { font-family: var(--f-titulo); font-weight: 700; font-size: var(--fs-gigante); line-height: .82; letter-spacing: -.04em; color: rgba(244, 198, 207, .55); white-space: nowrap; margin: clamp(32px, 5vw, 64px) 0 0; padding-bottom: .14em; text-align: center; user-select: none; }
.palavra-gigante .doce { color: rgba(242, 155, 178, .9); font-size: 1em; }
.palavra-gigante .letra { display: inline-block; }
@media (max-width: 820px) { .rodape__grade { grid-template-columns: 1fr; } }

/* ===== checkout embutido ===== */
.checkout-caixa { background: #fff; border-radius: var(--raio-g); box-shadow: var(--sombra); padding: clamp(10px, 1.6vw, 18px); min-height: 420px; border: 1px solid rgba(244, 198, 207, .8); }
.checkout-caixa iframe { width: 100%; border: 0; display: block; min-height: 400px; }
.checkout-pendente { display: grid; place-items: center; text-align: center; gap: 14px; min-height: 400px; padding: 32px; border-radius: calc(var(--raio-g) - 8px); background: repeating-linear-gradient(-45deg, var(--creme) 0 14px, #fff 14px 28px); border: 2px dashed var(--blush); }
.checkout-pendente h3 { font-size: 1.35rem; }
.checkout-pendente code { font-size: .9rem; background: var(--rosa-algodao); padding: 2px 8px; border-radius: 6px; color: var(--framboesa); word-break: break-all; }
.checkout-pendente p { max-width: 42ch; margin: 0 auto; font-size: var(--fs-rotulo); }

/* ===== player de vídeo (VSL e vídeos de upsell/downsell) ===== */
.player { position: relative; border-radius: var(--raio-g); overflow: hidden; background: var(--chocolate); box-shadow: var(--sombra); aspect-ratio: 16 / 9; isolation: isolate; }
.player .slot { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.player__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: linear-gradient(180deg, rgba(74, 42, 30, 0) 40%, rgba(74, 42, 30, .55) 100%); border: 0; cursor: pointer; padding: 0; }
.player__botao { width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; background: var(--morango); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 0 rgba(226, 85, 127, .5); animation: pulso calc(2.4s / max(var(--escala-tempo), .0001)) var(--ease-ida-e-volta) infinite; }
.player__botao svg { width: 38%; height: 38%; margin-left: 8%; }
.player__rotulo { position: absolute; left: 50%; bottom: clamp(14px, 3vw, 26px); transform: translateX(-50%); z-index: 3; background: var(--creme); color: var(--chocolate); font-weight: 600; font-size: var(--fs-rotulo); padding: 8px 16px; border-radius: 999px; white-space: nowrap; box-shadow: var(--sombra-leve); }
.player__rotulo b { color: var(--framboesa); }
.player__aviso { position: absolute; top: 14px; left: 14px; z-index: 3; background: rgba(74, 42, 30, .82); color: var(--creme); font-size: var(--fs-rotulo); font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.player iframe, .player video, .player .player__embed { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(226, 85, 127, .55); } 70% { box-shadow: 0 0 0 22px rgba(226, 85, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(226, 85, 127, 0); } }
@media (prefers-reduced-motion: reduce) { .player__botao { animation: none; } }

/* conteúdo que espera o tempo do vídeo (delay) */
.js [data-atraso]:not(.liberado) { display: none !important; }

/* aviso flutuante (toast) */
.aviso { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 140%); background: var(--chocolate); color: var(--creme); padding: 12px 20px; border-radius: 999px; font-size: .9375rem; font-weight: 500; box-shadow: var(--sombra); transition: transform calc(var(--dur-componente) * var(--escala-tempo)) var(--ease-mola); max-width: calc(100% - 32px); text-align: center; }
.aviso.mostra { transform: translate(-50%, 0); }

/* ===== toque encantado (identidade v2): estrelinhas, poeira de brilho, bokeh ===== */
.magia { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.bokeh { position: absolute; border-radius: 50%; filter: blur(var(--desfoque, 18px)); opacity: var(--op, .55); background: var(--cor, var(--blush)); width: var(--t, 120px); aspect-ratio: 1; }
.bokeh--dourado { --cor: rgba(217, 164, 65, .45); }
.bokeh--lilas { --cor: rgba(205, 182, 230, .7); }
.bokeh--rosa { --cor: rgba(226, 85, 127, .28); }
.js .bokeh { animation: flutua calc(var(--d, 9s) / max(var(--escala-tempo), .0001)) var(--ease-ida-e-volta) infinite alternate; }
@keyframes flutua { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(var(--dx, 18px), var(--dy, -22px), 0) scale(1.08); } }
.faisca { position: absolute; width: var(--t, 14px); height: var(--t, 14px); color: var(--dourado); opacity: .9; }
.faisca svg { width: 100%; height: 100%; }
.js .faisca { animation: pisca calc(var(--d, 2.6s) / max(var(--escala-tempo), .0001)) var(--ease-ida-e-volta) var(--atraso, 0s) infinite; }
@keyframes pisca { 0%, 100% { opacity: .25; transform: scale(.6) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(25deg); } }
.poeira { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--dourado); box-shadow: 0 0 6px 1px rgba(217, 164, 65, .6); opacity: 0; }
.js .poeira { animation: sobe-brilho calc(var(--d, 6s) / max(var(--escala-tempo), .0001)) linear var(--atraso, 0s) infinite; }
@keyframes sobe-brilho { 0% { opacity: 0; transform: translate3d(0, 0, 0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translate3d(var(--dx, 10px), -140px, 0); } }
@media (prefers-reduced-motion: reduce) { .js .bokeh, .js .faisca, .js .poeira { animation: none; } .poeira { opacity: .5; } }
/* leve brilho mágico na borda das fotos */
.brilho-borda { box-shadow: 0 0 0 1px rgba(217, 164, 65, .45), 0 0 0 7px rgba(255, 248, 243, .7), 0 0 34px 6px rgba(217, 164, 65, .18), var(--sombra); }

/* ===== Encanto da página inteira (encanto.js, 24/11/2026): enfeites nas margens de todas as seções + coraçãozinho do mouse ===== */
.encanto { position: absolute; top: 0; left: 0; width: 100%; pointer-events: none; z-index: 30; overflow: hidden; }
.enfeite { position: absolute; width: var(--t, 14px); height: var(--t, 14px); opacity: .75; will-change: transform; }
.enfeite svg { width: 100%; height: 100%; display: block; }
.enfeite--dourado { color: var(--dourado); }
.enfeite--rosa { color: var(--morango); opacity: .55; }
.enfeite--morango { color: var(--morango); opacity: .6; }
.enfeite--blush { color: #F29BB2; opacity: .7; }
.js .enfeite { animation: enfeite-flutua calc(var(--d, 7s) / max(var(--escala-tempo), .0001)) var(--ease-ida-e-volta) var(--atraso, 0s) infinite alternate; }
.js .enfeite--estrela { animation-name: enfeite-cintila; }
@keyframes enfeite-flutua { from { transform: translate3d(0, 0, 0) rotate(0deg); } to { transform: translate3d(var(--dx, 4px), var(--dy, -10px), 0) rotate(var(--giro, 8deg)); } }
@keyframes enfeite-cintila { 0% { transform: translate3d(0, 0, 0) scale(.7) rotate(0deg); opacity: .35; } 50% { opacity: .95; } 100% { transform: translate3d(var(--dx, 4px), var(--dy, -10px), 0) scale(1) rotate(var(--giro, 20deg)); opacity: .5; } }

.cursor-coracao { position: fixed; left: 0; top: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; color: var(--morango); pointer-events: none; z-index: 9999; opacity: 0; filter: drop-shadow(0 2px 6px rgba(226, 85, 127, .45)); transition: opacity .25s ease; }
.cursor-coracao svg { width: 100%; height: 100%; display: block; transition: transform .3s var(--ease-mola); }
.cursor-coracao--ativo { opacity: .9; }
.cursor-coracao--acao svg { transform: scale(1.45); }
.cursor-coracao--clique svg { transform: scale(.8); }
.js .cursor-coracao--ativo svg { animation: cursor-bate 1.6s ease-in-out infinite; }
.js .cursor-coracao--acao svg, .js .cursor-coracao--clique svg { animation: none; }
@keyframes cursor-bate { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
.rastro-coracao { position: fixed; width: 9px; height: 9px; margin: -4px 0 0 -4px; color: #F29BB2; pointer-events: none; z-index: 9998; animation: rastro-sobe 1.1s ease-out forwards; }
.rastro-coracao--estrela { color: var(--dourado); }
.rastro-coracao svg { width: 100%; height: 100%; display: block; }
@keyframes rastro-sobe { 0% { opacity: .8; transform: translate3d(0, 0, 0) scale(1); } 100% { opacity: 0; transform: translate3d(var(--dx, 0), -34px, 0) scale(.4); } }
@media (prefers-reduced-motion: reduce) { .js .enfeite { animation: none; } }
@media print { .encanto, .cursor-coracao, .rastro-coracao { display: none; } }
/* galáxia (encanto.js): canvas fixo por cima das seções, abaixo do menu (40) e do aviso (80); não recebe clique */
.galaxia { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; pointer-events: none; z-index: 30; }
@media print { .galaxia { display: none; } }

/* Topo (24/11/2026): fundo sólido na cor do hero, sem desfoque. O vidro fosco (backdrop-filter) puxava a bola lilás do hero
   para dentro da barra e deixava uma mancha clara atrás do botão. Ao rolar, só ganha o filete e uma sombra leve. */
.topo { background: var(--rosa-algodao); -webkit-backdrop-filter: none; backdrop-filter: none; }
.topo.rolou { box-shadow: 0 10px 24px -18px rgba(74, 42, 30, .35); }
.topo .logo img { height: 76px; max-height: none; }
@media (max-width: 600px) { .topo .logo img { height: 56px; } }

/* Pulsar leve ao passar o mouse (24/11/2026): o botão "respira" enquanto o mouse está em cima, com um brilho rosa suave.
   A animação fica na arte de dentro (.botao__arte), para não brigar com o "afundar" do clique no próprio botão. */
@keyframes botao-pulsa {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 6px 10px rgba(226, 85, 127, .18)); }
  50% { transform: scale(1.045); filter: drop-shadow(0 10px 22px rgba(226, 85, 127, .42)); }
}
@keyframes botao-pulsa-simples { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@media (hover: hover) and (pointer: fine) {
  .botao--arte .botao__arte { transform-origin: center; }
  .botao--arte:hover .botao__arte, .botao--arte:focus-visible .botao__arte { animation: botao-pulsa 1.4s var(--ease-ida-e-volta) infinite; }
  .botao:not(.botao--arte):hover { animation: botao-pulsa-simples 1.4s var(--ease-ida-e-volta) infinite; }
  .player__play:hover .player__botao--arte { animation: botao-pulsa 1.4s var(--ease-ida-e-volta) infinite; }
  .botao:active, .botao--arte:active .botao__arte { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .botao--arte .botao__arte, .botao, .player__botao--arte { animation: none !important; } }

/* rodapé: links sem sublinhado (só ao passar o mouse) e e-mail de contato discreto, menor, com ícone */
.rodape__links a { text-decoration: none; }
.rodape__links a:hover, .rodape__links a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.rodape__email { flex-basis: 100%; }
.rodape__email a { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 400; color: rgba(255, 248, 243, .7); padding-block: 12px; }
.rodape__email svg { width: 15px; height: 15px; color: var(--blush); flex: none; }
.rodape__email a:hover { color: var(--blush); }

/* player: aviso de som e botão de tela cheia (24/11/2026) */
.player__som { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; display: grid; justify-items: center; gap: 4px; padding: clamp(14px, 2.4vw, 24px) clamp(20px, 3.6vw, 40px); border: 0; border-radius: 20px; cursor: pointer; color: #fff; background: var(--framboesa, #B83B63); box-shadow: 0 18px 40px -12px rgba(74, 42, 30, .55); font: inherit; text-align: center; }
.player__som svg { width: clamp(40px, 5vw, 56px); height: auto; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); box-shadow: 0 0 0 0 rgba(226, 85, 127, .55); animation: pulso calc(2.4s / max(var(--escala-tempo), .0001)) var(--ease-ida-e-volta) infinite; }
.player__som strong { font-size: clamp(1.05rem, .9rem + .6vw, 1.45rem); line-height: 1.15; }
.player__som span { font-size: clamp(.9rem, .8rem + .3vw, 1.05rem); opacity: .95; }
.player__tela-cheia { position: absolute; right: 12px; top: 12px; z-index: 7; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 999px; background: rgba(43, 22, 15, .72); color: #fff; font: 600 .875rem/1 var(--f-texto, inherit); cursor: pointer; }
.player__tela-cheia svg { width: 18px; height: 18px; }
.player__tela-cheia:hover { background: var(--morango); }
@media (prefers-reduced-motion: reduce) { .player__som svg { animation: none; } }

/* ===== 24/11/2026 · rodapé enxuto, topo do celular e fontes para qualquer celular ===== */
.rodape--enxuto { padding: clamp(40px, 5vw, 64px) 0 28px; text-align: center; }
.rodape--enxuto .rodape__logo { display: inline-flex; }
.rodape--enxuto .rodape__links { justify-content: center; gap: 0 28px; margin-top: 16px; }
.rodape--enxuto .rodape__aviso { max-width: 60ch; margin: 8px auto 0; font-size: .8125rem; line-height: 1.55; color: rgba(255, 248, 243, .66); }
.rodape--enxuto .rodape__empresa { display: block; margin: 20px auto 0; padding-top: 16px; font-size: .75rem; color: rgba(255, 248, 243, .55); max-width: 60ch; }
@media (max-width: 720px) {
  :root {
    --fs-h1: clamp(1.75rem, 1rem + 4.1vw, 2.5rem);
    --fs-h2: clamp(1.55rem, .95rem + 3vw, 2.2rem);
    --fs-h3: clamp(1.15rem, 1rem + .9vw, 1.35rem);
    --fs-apoio: clamp(1rem, .94rem + .4vw, 1.125rem);
    --fs-corpo: 1rem;
  }
  .doce { white-space: normal; }
  .faixa { font-size: .8125rem; }
  .faixa__item { padding: 9px 14px; }
  .topo__dentro { justify-content: center; flex-direction: column; gap: 4px; min-height: 0; padding-block: 8px; }
  .topo .botao { display: none; }
  .topo .logo img { height: 46px; }
  .topo .passos { font-size: .75rem; }
}
@media (max-width: 720px) {
  .player__som { top: auto; bottom: 12px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px; border-radius: 999px; white-space: nowrap; }
  .player__som svg { width: 32px; padding: 7px; }
  .player__som strong { font-size: .9375rem; }
  .player__som span { display: none; }
  .player__tela-cheia { top: 8px; right: 8px; padding: 6px 10px; font-size: .75rem; }
}

/* player sem tempo: barra de progresso e aviso de pausa (24/11/2026) */
.player__embed video { cursor: pointer; }
.player__progresso { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 5; background: rgba(255, 248, 243, .28); pointer-events: none; overflow: hidden; border-radius: 0 0 var(--r-video, 20px) var(--r-video, 20px); }
.player__progresso span { display: block; height: 100%; background: var(--morango); transform-origin: left; transform: scaleX(0); transition: transform .4s linear; }
.player__pausa { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 6; display: grid; justify-items: center; gap: 4px; padding: 16px 28px; border: 0; border-radius: 20px; cursor: pointer; color: #fff; background: rgba(43, 22, 15, .78); font: inherit; }
.player__pausa[hidden] { display: none; }
.player__pausa svg { width: 44px; height: 44px; }
.player__pausa strong { font-size: 1.05rem; }
.player__pausa span { font-size: .875rem; opacity: .9; }

/* topo do computador: logo centralizado; o botão (depois do tempo) e os passos ficam à direita */
@media (min-width: 721px) {
  .topo__dentro { justify-content: center; position: relative; min-height: 64px; }
  .topo .logo img { height: 58px; }
  .topo .botao, .topo .passos { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
}
/* aviso de som em pílula também no computador, para não tampar o vídeo */
@media (min-width: 721px) {
  .player__som { top: auto; bottom: 18px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px 8px 8px; border-radius: 999px; white-space: nowrap; }
  .player__som svg { width: 36px; padding: 8px; }
  .player__som strong { font-size: 1rem; }
  .player__som span { font-size: .9375rem; }
  .player__som span::before { content: "· "; }
}
