:root {
  --creme: #fff4f8;
  --tinta: #2a0a1c;
  --rosa: #e0197d;
  --amarelo: #ffe14d;
  --sabor: #e0197d;
  --sabor-escuro: #8f0a4f;
  --display: "Fredoka", system-ui, sans-serif;
  --texto: "Inter", system-ui, sans-serif;
  --script: "Pacifico", cursive;
  --lado: clamp(16px, 5vw, 72px);
  color-scheme: light;
}
/* A marca é de cores vivas em fundo claro; o tema escuro mantém a mesma identidade. */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--creme); color: var(--tinta);
  font: 400 clamp(16px, 1.1vw, 18px)/1.55 var(--texto);
  overflow-x: hidden;
  transition: background-color .7s ease, color .5s ease;
}
body.colorido { background: var(--sabor); color: #fff; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: .95; margin: 0; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--amarelo); outline-offset: 3px; border-radius: 6px; }

#cena { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 1; pointer-events: none; transition: opacity .5s; }
main > section { position: relative; }
main > section > *:not(.sabores__fixo):not(.sabores__fundo):not(.formula__fixo), .sabores__info, .sabores__indice, .formula__fixo > * { position: relative; z-index: 2; }

/* abertura */
.abertura { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--rosa); transition: opacity .6s ease .2s, visibility 0s .8s; }
.abertura svg { width: min(46vw, 260px); overflow: visible; }
.labios { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 600; stroke-dashoffset: 600; animation: traco 1.1s ease forwards; }
@keyframes traco { to { stroke-dashoffset: 0; fill: rgba(255,255,255,.18); } }
body.pronto .abertura { opacity: 0; visibility: hidden; }
body.pronto .abertura svg { transform: scale(8); transition: transform .8s cubic-bezier(.7,0,.3,1); }

.faixa { position: fixed; z-index: 30; bottom: 12px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 14px; border-radius: 99px; background: rgba(42,10,28,.82); color: #fff; font-size: 12px; letter-spacing: .04em; white-space: nowrap; backdrop-filter: blur(8px); }

/* topo */
.topo { position: fixed; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--lado); transition: padding .4s cubic-bezier(.2,.8,.2,1); }
.topo::before { content: ""; position: absolute; inset: 8px calc(var(--lado) - 14px); z-index: -1; border-radius: 99px; background: rgba(255,244,248,.72); box-shadow: inset 0 0 0 1px rgba(255,255,255,.6), 0 10px 30px -18px rgba(42,10,28,.35); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); opacity: 0; transform: translateY(-8px) scale(.98); transition: opacity .4s, transform .4s cubic-bezier(.2,.8,.2,1), background-color .6s; }
body.rolou .topo { padding-block: 14px; }
body.rolou .topo::before { opacity: 1; transform: none; }
body.rolou.colorido .topo::before { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.marca { font: 400 30px/1 var(--script); text-decoration: none; color: var(--rosa); transition: color .5s; }
body.colorido .marca { color: #fff; }
.topo nav { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center; font-weight: 600; font-size: 15px; }
.topo nav a:not(.botao) { position: relative; text-decoration: none; opacity: .8; transition: opacity .2s; }
.topo nav a:not(.botao)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.topo nav a:not(.botao):hover { opacity: 1; }
.topo nav a:not(.botao):hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .topo nav a:not(.botao) { display: none; } }

/* Botões com acabamento gloss: realce interior em cima, sombra da cor, reflexo que segue o rato, mola ao carregar. */
.botao {
  --mx: 0px; --my: 0px; --brilho: 30%;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px;
  border: 0; border-radius: 99px; color: #fff; font: 600 16px var(--texto); letter-spacing: -.005em; text-decoration: none; cursor: pointer;
  background: linear-gradient(180deg, #f2379a 0%, var(--rosa) 55%, #c80f6c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(90,0,45,.25), 0 1px 2px rgba(90,0,45,.25), 0 12px 28px -12px rgba(224,25,125,.75);
  transform: translate(var(--mx), var(--my));
  transition: transform .45s cubic-bezier(.2,.9,.25,1.3), box-shadow .3s, background-color .3s, color .3s;
}
.botao::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(120px circle at var(--brilho) 0%, rgba(255,255,255,.38), transparent 70%); opacity: 0; transition: opacity .3s; }
.botao:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(90,0,45,.25), 0 2px 4px rgba(90,0,45,.2), 0 18px 36px -14px rgba(224,25,125,.85); }
.botao:hover::after { opacity: 1; }
.botao:active { transform: translate(var(--mx), var(--my)) scale(.96); transition-duration: .12s; }
.botao--seta::before { content: "→"; order: 2; transition: transform .35s cubic-bezier(.2,.9,.25,1.3); }
.botao--seta:hover::before { transform: translateX(4px); }
.botao--linha { background: rgba(255,255,255,.35); color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.botao--linha::after { background: radial-gradient(120px circle at var(--brilho) 50%, rgba(224,25,125,.12), transparent 70%); }
.botao--linha:hover { box-shadow: inset 0 0 0 1.5px currentColor, 0 12px 28px -16px rgba(42,10,28,.4); }
.botao--pequeno { min-height: 40px; padding: 0 18px; font-size: 14px; }
body.colorido .botao--pequeno { background: #fff; color: var(--sabor); box-shadow: inset 0 -2px 0 rgba(0,0,0,.08), 0 10px 24px -12px rgba(0,0,0,.35); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.sobretitulo { margin: 0 0 14px; font: 600 13px var(--texto); letter-spacing: .16em; text-transform: uppercase; opacity: .75; }

/* hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px var(--lado) 80px; }
.hero__texto { max-width: 620px; transform: translateY(calc(var(--p, 0) * -80px)); opacity: calc(1 - var(--p, 0) * 1.4); }
.hero h1 { font-size: clamp(56px, 9vw, 140px); color: var(--tinta); }
.hero h1 .linha { display: block; opacity: 0; transform: translateY(40px); }
body.pronto .hero h1 .linha { animation: sobe .9s cubic-bezier(.2,.8,.2,1) forwards; }
body.pronto .hero h1 .linha--script { animation-delay: .12s; }
.linha--script { font: 400 1.05em/1.15 var(--script); color: var(--rosa); letter-spacing: 0; }
@keyframes sobe { to { opacity: 1; transform: none; } }
.lead { font-size: clamp(17px, 1.4vw, 21px); max-width: 30em; margin: 22px 0 0; }
.rolar { position: absolute; bottom: 64px; left: var(--lado); margin: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }
.rolar span { display: inline-block; animation: pula 1.6s ease-in-out infinite; }
@keyframes pula { 50% { transform: translateY(6px); } }
@media (max-width: 760px) {
  .hero { align-items: flex-start; padding-top: 96px; }
  .hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .lead { font-size: 16px; }
  .acoes { margin-top: 20px; }
  .hero .acoes .botao { flex: 1; }
  .rolar { display: none; }
}

/* sabores */
.sabores { height: 600vh; }
/* Fundo e texto são duas camadas sticky: o nome gigante fica atrás do 3D, o texto à frente (sticky cria contexto de empilhamento). */
.sabores__fundo { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.sabores__fixo { position: sticky; z-index: 2; margin-top: -100vh; margin-top: -100svh; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: 1fr minmax(280px, 400px); align-items: end; padding: 0 var(--lado) 90px; }
.sabores__gigante { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; margin: 0; pointer-events: none; }
.sabores__gigante span { font: 700 clamp(80px, 17vw, 300px)/.85 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.45); text-align: center; white-space: nowrap; letter-spacing: -.03em; }
.sabores__info { grid-column: 2; max-width: 400px; container-type: inline-size; }
.sabores__info h2 { font-size: min(76px, 14.5cqi); white-space: nowrap; margin-bottom: 14px; } /* o nome mais longo (Coconut Water) cabe numa linha: os 5 sabores ficam com a mesma altura */
.sabores__info p { margin: 0; }
.sabores__info.entra > * { animation: sobe .6s cubic-bezier(.2,.8,.2,1) both; }
.sabores__info.entra > *:nth-child(2) { animation-delay: .05s; }
.sabores__info.entra > *:nth-child(3) { animation-delay: .1s; }
.sabores__info.entra > *:nth-child(4) { animation-delay: .15s; }
.sabores__info.entra > * { opacity: 0; transform: translateY(24px); }
.notas { list-style: none; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 8px; padding: 0; margin: 18px 0 0; }
/* altura reservada (2 linhas de texto, 2 filas de notas): o título fica no mesmo sítio em todos os sabores */
#sabor-texto { min-height: 3em; }
.notas { min-height: 74px; }
.notas li { padding: 6px 14px; border-radius: 99px; background: rgba(255,255,255,.18); font-size: 14px; font-weight: 600; backdrop-filter: blur(6px); }
/* Índice lateral: cápsula de vidro com um trilho que se enche à medida que se percorrem os sabores. */
.sabores__indice {
  --prog: 0;
  position: absolute; left: var(--lado); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 10px; display: grid; gap: 4px;
  border-radius: 28px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 20px 40px -24px rgba(0,0,0,.35);
  backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3);
}
.sabores__indice::before, .sabores__indice::after { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; border-radius: 2px; background: rgba(255,255,255,.25); }
.sabores__indice::after { background: #fff; transform: scaleY(var(--prog)); transform-origin: top; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.sabores__indice li { position: relative; z-index: 1; }
.sabores__indice button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 16px 9px 11px; border: 0; border-radius: 99px; background: none; color: #fff; font: 600 14px var(--texto); cursor: pointer; opacity: .62; transition: opacity .3s, background-color .35s, color .35s, transform .35s cubic-bezier(.2,.9,.25,1.3); }
.sabores__indice button::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff; transition: transform .35s cubic-bezier(.2,.9,.25,1.3), box-shadow .35s; }
.sabores__indice button:hover { opacity: 1; transform: translateX(3px); }
.sabores__indice button[aria-current] { opacity: 1; background: #fff; color: var(--sabor-escuro); box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.sabores__indice button[aria-current]::before { transform: scale(1.25); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
@media (max-width: 760px) {
  .sabores__fixo { grid-template-columns: 1fr; padding-bottom: 70px; }
  .sabores__info { grid-column: 1; }
  .sabores__info h2 { font-size: 44px; }
  .sabores__info p#sabor-texto { font-size: 15px; }
  .sabores__indice { top: 84px; left: 50%; transform: translateX(-50%); display: flex; gap: 2px; padding: 6px; }
  .sabores__indice::before, .sabores__indice::after { display: none; }
  .sabores__indice button { padding: 10px; }
  .sabores__indice span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .sabores__gigante { place-items: start center; padding-top: 18vh; }
  /* nomes compridos (Coconut Water, Apple of Love) partem em duas linhas em vez de sair do ecrã */
  .sabores__gigante span { font-size: 23vw; white-space: normal; text-wrap: balance; padding-inline: 4vw; }
}


/* palavras que se formam */
[data-formar] span { display: inline-block; transform: translate(calc(var(--dx) * (1 - var(--q))), calc(var(--dy) * (1 - var(--q)))) rotate(calc(var(--r) * (1 - var(--q)))); opacity: calc(.15 + var(--q) * .85); }
.formula, .collabs { --q: clamp(0, calc(var(--p, 0) * 1.6), 1); }
.collabs { --q: clamp(0, calc(var(--p, 0) * 1.25 - .1), 1); }

/* fórmula */
.formula { height: 260vh; }
.formula__fixo { position: sticky; z-index: 2; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--lado); max-width: 760px; }
.formula h2 { font-size: clamp(40px, 5.6vw, 88px); margin-bottom: 36px; }
.cartoes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cartao { --v: clamp(0, calc(var(--p, 0) * 7 - var(--i) - .6), 1); display: grid; gap: 4px; padding: 18px 20px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -24px rgba(42,10,28,.35); opacity: var(--v); transform: translateY(calc((1 - var(--v)) * 50px)) scale(calc(.9 + var(--v) * .1)); }
.cartao strong { font: 700 22px/1.1 var(--display); color: var(--rosa); }
.cartao span { font-size: 15px; }
.cartao:last-child { grid-column: span 2; background: var(--rosa); color: #fff; }
.cartao:last-child strong { color: var(--amarelo); font-size: 30px; }
@media (max-width: 760px) {
  .formula__fixo { justify-content: flex-end; padding-bottom: 64px; }
  .formula h2 { font-size: 36px; margin-bottom: 18px; }
  .cartao { padding: 12px 14px; border-radius: 16px; }
  .cartao strong { font-size: 17px; }
  .cartao span { font-size: 13px; }
}

/* collabs */
.collabs { padding: 18vh var(--lado) 12vh; overflow: hidden; }
.collabs > .sobretitulo, .collabs > h2 { max-width: 900px; margin-left: auto; }
.collabs h2 { font-size: clamp(40px, 6vw, 96px); margin-bottom: 48px; }
.collabs__grelha { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 18px; max-width: 900px; margin-left: auto; }
.collab { position: relative; overflow: hidden; padding: 34px 30px 30px; border-radius: 30px; color: #fff; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; transform: translateY(calc((1 - var(--q)) * 80px)) rotate(calc((1 - var(--q)) * -3deg)); }
.collab::before { content: ""; position: absolute; width: 260px; height: 150px; right: -60px; top: -30px; background: rgba(255,255,255,.14); clip-path: path("M0 70 C40 20 90 5 125 25 L130 28 L135 25 C170 5 220 20 260 70 C220 130 170 150 130 150 C90 150 40 130 0 70 Z"); }
.collab--fini { background: linear-gradient(140deg, #ff3d9a, #e0197d 55%, #b3005f); }
.collab--oak { background: linear-gradient(140deg, #8a2fa3, #5b1a6e 55%, #2a0835); transform: translateY(calc((1 - var(--q)) * 140px)) rotate(calc((1 - var(--q)) * 3deg)); }
.collab__parceiro { margin: 0 0 auto; font: 600 13px var(--texto); letter-spacing: .16em; text-transform: uppercase; }
.collab h3 { font-size: clamp(34px, 3.6vw, 52px); margin-bottom: 12px; }
.collab h3 em { font: 400 .8em var(--script); }
.collab p:last-child { margin: 0; max-width: 28em; }
.fita { margin: 12vh calc(var(--lado) * -1) 0; overflow: hidden; border-block: 2px solid var(--tinta); }
.fita p { margin: 0; padding: 16px 0; white-space: nowrap; font: 700 clamp(28px, 4vw, 56px)/1 var(--display); width: max-content; animation: corre 26s linear infinite; }
@keyframes corre { to { transform: translateX(-50%); } }

/* wells */
.wells { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(24px, 4vw, 56px); padding: 14vh var(--lado) 12vh; background: #fff; z-index: 3; }
.wells h2 { font-size: clamp(40px, 5vw, 76px); margin-bottom: 18px; color: var(--rosa); }
.wells__texto > p { margin: 0; }
.aviso { min-height: 1.5em; margin: 14px 0 0 !important; font-size: 14px; }
.lojas { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.lojas li { display: flex; gap: 8px; align-items: center; }
.loja { flex: 1; display: grid; gap: 2px; text-align: left; padding: 14px 16px; border: 0; border-radius: 18px; background: var(--creme); color: var(--tinta); font: 400 14px/1.4 var(--texto); cursor: pointer; transition: background .2s; }
.loja:hover { background: #ffe3ef; }
.loja strong { font: 700 17px var(--display); }
.loja__dist { font-weight: 700; color: var(--rosa); font-size: 13px; }
.loja__horas { opacity: .7; font-size: 13px; }
.loja__ir { display: grid; place-items: center; padding: 12px 16px; border-radius: 18px; background: var(--rosa); color: #fff; font-weight: 600; font-size: 14px; text-decoration: none; }
.mapa { height: min(640px, 76vh); position: sticky; top: 96px; align-self: start; border-radius: 30px; overflow: hidden; background: #f3e9ee; }
.mapa__erro { padding: 30px; }
.pino span { display: block; width: 26px; height: 16px; background: var(--rosa); clip-path: path("M0 7 C4 2 9 0 12 2.5 L13 3 L14 2.5 C17 0 22 2 26 7 C22 13 17 16 13 16 C9 16 4 13 0 7 Z"); opacity: .55; transition: transform .3s, opacity .3s; }
.pino--perto span { opacity: 1; transform: scale(1.6); filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.leaflet-popup-content { font: 400 14px/1.4 var(--texto); }
@media (max-width: 860px) {
  .wells { grid-template-columns: 1fr; }
  .mapa { height: 380px; position: relative; top: 0; order: -1; }
  .wells__texto { order: 0; }
}

.rodape { position: relative; z-index: 3; padding: 60px var(--lado) 90px; background: var(--tinta); color: #fff; }
.rodape__marca { font: 400 64px/1 var(--script); color: var(--rosa); margin: 0 0 18px; }
.rodape p { max-width: 640px; }
.pequeno { font-size: 13px; opacity: .6; }

body.sem-3d #cena { display: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-formar] span, .cartao, .collab { transform: none !important; opacity: 1 !important; }
}

.mapa .leaflet-tile-pane { filter: saturate(.55) contrast(.95); }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* dedicatória */
.dedicatoria { z-index: 3; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 14vh var(--lado); background: radial-gradient(120% 80% at 50% 0%, #ffe3ef 0%, var(--creme) 60%); overflow: hidden; }
.dedicatoria__cartao { position: relative; max-width: 760px; text-align: center; }
.dedicatoria__labios { display: block; width: 120px; margin: 0 auto 28px; overflow: visible; }
.dedicatoria__labios path { fill: none; stroke: var(--rosa); stroke-width: 3; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.6s cubic-bezier(.6,0,.2,1), fill .8s 1.2s; }
.dedicatoria.visto .dedicatoria__labios path { stroke-dashoffset: 0; fill: rgba(224,25,125,.1); }
.dedicatoria h2 { font-size: clamp(40px, 6vw, 84px); color: var(--tinta); }
.dedicatoria h2 span { display: block; font: 400 .8em/1.3 var(--script); color: var(--rosa); letter-spacing: 0; }
.dedicatoria__texto { max-width: 34em; margin: 26px auto 0; font-size: clamp(16px, 1.3vw, 19px); opacity: .85; }
.assinatura { margin-top: 44px; }
.assinatura__nome { margin: 0; font: 400 clamp(44px, 6vw, 72px)/1.1 var(--script); padding-bottom: .32em; color: var(--rosa); clip-path: inset(-30% 100% -40% 0); transition: clip-path 1.8s cubic-bezier(.6,0,.2,1) .5s; }
.dedicatoria.visto .assinatura__nome { clip-path: inset(-30% -10% -40% 0); }
.assinatura__cargo { margin: 0; font-size: 14px; letter-spacing: .04em; opacity: .7; }
.redes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 36px 0 0; padding: 0; }
.rede { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px 0 16px; border-radius: 99px; background: #fff; color: var(--tinta); font-weight: 600; font-size: 15px; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(42,10,28,.08), 0 10px 24px -16px rgba(42,10,28,.35); transition: transform .4s cubic-bezier(.2,.9,.25,1.3), box-shadow .3s, background-color .3s, color .3s; }
.rede svg { width: 20px; height: 20px; fill: currentColor; }
.rede:hover { transform: translateY(-3px); background: var(--rosa); color: #fff; box-shadow: 0 16px 30px -14px rgba(224,25,125,.7); }
.rede:active { transform: scale(.96); }
.dedicatoria .sobretitulo, .dedicatoria h2, .dedicatoria__texto, .assinatura__cargo, .redes { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .9s cubic-bezier(.2,.8,.2,1); }
.dedicatoria h2 { transition-delay: .1s; } .dedicatoria__texto { transition-delay: .2s; } .assinatura__cargo { transition-delay: 1.4s; } .redes { transition-delay: 1.6s; }
.dedicatoria.visto .sobretitulo, .dedicatoria.visto h2, .dedicatoria.visto .dedicatoria__texto, .dedicatoria.visto .assinatura__cargo, .dedicatoria.visto .redes { opacity: 1; transform: none; }
.dedicatoria .sobretitulo { opacity: 0; }
.dedicatoria.visto .sobretitulo { opacity: .75; }
@media (prefers-reduced-motion: reduce) {
  .dedicatoria .sobretitulo, .dedicatoria h2, .dedicatoria__texto, .assinatura__cargo, .redes { opacity: 1; transform: none; }
  .assinatura__nome { clip-path: none; }
  .dedicatoria__labios path { stroke-dashoffset: 0; }
}

/* Entrada dos textos nas secções: ligada ao próprio scroll (sobe e desfoca ao entrar, volta ao sair). Sem suporte fica estático e visível. */
@keyframes revela { from { opacity: 0; transform: translateY(44px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .collabs > .sobretitulo, .collab > *, .wells__texto > *, .rodape > * {
      animation: revela linear both; animation-timeline: view(); animation-range: entry 5% entry 75%;
    }
    .collab > :nth-child(2), .wells__texto > :nth-child(2), .rodape > :nth-child(2) { animation-range: entry 12% entry 82%; }
    .collab > :nth-child(3), .wells__texto > :nth-child(3), .rodape > :nth-child(3) { animation-range: entry 19% entry 89%; }
    .wells__texto > :nth-child(n+4) { animation-range: entry 26% entry 96%; }
  }
}
/* Telemóvel: desfoque por trás de vidro sobre o 3D recalcula a cada frame; fica só no topo, mais leve. */
@media (max-width: 760px) {
  .faixa, .notas li, .sabores__indice, .botao--linha { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .notas li { background: rgba(255,255,255,.22); }
  .sabores__indice { background: rgba(255,255,255,.16); }
  .topo::before { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  @keyframes revela { from { opacity: 0; transform: translateY(44px); } to { opacity: 1; transform: none; } }
}