/* Raio Bio — página pública. Liquid Glass sobre o céu do logo do Estúdio Raio de Sol.
   Celular primeiro; no iPad e no computador a coluna fica no centro e o céu ocupa a tela toda.
   Sem estilo inline (CSP). Animações respeitam "reduzir movimento" e o ajuste do painel. */

@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: u+00??, u+0131, u+0152-0153, u+02bb-02bc, u+02c6, u+02da, u+02dc, u+0304, u+0308, u+0329, u+2000-206f, u+20ac, u+2122, u+2191, u+2193, u+2212, u+2215, u+feff, u+fffd; }
@font-face { font-family: Fraunces; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(fonts/fraunces-latin-ext.woff2) format("woff2");
  unicode-range: u+0100-02ba, u+02bd-02c5, u+02c7-02cc, u+02ce-02d7, u+02dd-02ff, u+1e00-1e9f, u+1ef2-1eff, u+20a0-20ab, u+20ad-20c4, u+2c60-2c7f, u+a720-a7ff; }

/* ------------------------------------------------------------ cores do logo (papéis fixos, valores por tema) */
:root {
  --anil: #33397B; --violeta: #5A5198; --ameixa: #8F5C7C; --terracota: #CD654F; --laranja: #E56E41;
  --pessego: #F09852; --dourado: #EDB769; --areia: #C4B58F; --nevoa: #95B2BC; --sol: #F5C145; --tinta: #2A1B33;

  --fonte: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-titulo: Fraunces, "Iowan Old Style", Georgia, serif;
  --r-sm: 14px; --r-md: 22px; --r-lg: 30px; --r-btn: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mola: cubic-bezier(.34, 1.4, .64, 1);

  /* pôr do sol (padrão): escuro, texto branco, vidro fumê */
  --ceu: linear-gradient(180deg, #1E2152 0%, #2B3070 14%, #3F4188 30%, #5A5198 44%, #7A5788 58%, #A55F6E 72%, #C9634F 86%, #E07848 100%);
  --ceu-luz: radial-gradient(120% 60% at 50% 0%, rgba(120, 110, 220, .45), transparent 60%), radial-gradient(90% 50% at 10% 70%, rgba(240, 152, 82, .25), transparent 70%);
  --sol-luz: radial-gradient(closest-side, rgba(245, 193, 69, .55), rgba(240, 152, 82, .25) 45%, transparent 75%);
  --texto: #FFFFFF; --texto-2: rgba(255, 255, 255, .84); --texto-3: rgba(255, 255, 255, .7);
  --vidro-a: rgba(36, 30, 80, .44); --vidro-b: rgba(26, 22, 62, .40); --vidro-forte: rgba(30, 26, 70, .78);
  --vidro-borda: rgba(255, 255, 255, .20); --reflexo: rgba(255, 255, 255, .5); --brilho-topo: rgba(255, 255, 255, .28); --brilho-sheen: rgba(255, 255, 255, .08);
  --sombra: 0 14px 34px -16px rgba(12, 8, 40, .6), 0 2px 6px -2px rgba(12, 8, 40, .25);
  --blur: 18px;
  --destaque: linear-gradient(100deg, #F5C145 0%, #F09852 48%, #E56E41 100%); --no-destaque: #2A1B33;
  --claro-bg: rgba(255, 255, 255, .92); --no-claro: #2A1B33;
  --nuvem: rgba(255, 255, 255, .16); --estrela: #FFE7A6; --entrada-bg: rgba(255, 255, 255, .12); --entrada-borda: rgba(255, 255, 255, .34);
  --sombra-texto: 0 1px 14px rgba(18, 14, 52, .55);
  --foco: #F5C145;
  color-scheme: dark;
}
[data-tema="amanhecer"] {
  --ceu: linear-gradient(180deg, #FCF4EA 0%, #FBE9DA 26%, #F7DCCD 52%, #F0D3D4 74%, #E3D3EA 100%);
  --ceu-luz: radial-gradient(110% 55% at 50% 0%, rgba(245, 193, 69, .38), transparent 62%), radial-gradient(80% 50% at 90% 80%, rgba(149, 178, 188, .35), transparent 70%);
  --sol-luz: radial-gradient(closest-side, rgba(245, 193, 69, .5), rgba(240, 152, 82, .2) 50%, transparent 75%);
  --texto: #2B2540; --texto-2: #4A4262; --texto-3: #625A78;
  --vidro-a: rgba(255, 255, 255, .62); --vidro-b: rgba(255, 255, 255, .42); --vidro-forte: rgba(255, 252, 248, .9);
  --vidro-borda: rgba(255, 255, 255, .85); --reflexo: rgba(255, 255, 255, .95); --brilho-topo: rgba(255, 255, 255, .95); --brilho-sheen: rgba(255, 255, 255, .35);
  --sombra: 0 14px 34px -18px rgba(90, 60, 110, .45), 0 2px 6px -2px rgba(90, 60, 110, .15);
  --destaque: linear-gradient(100deg, #5A5198 0%, #7A5788 55%, #8F5C7C 100%); --no-destaque: #FFFFFF;
  --claro-bg: rgba(255, 255, 255, .95); --no-claro: #2B2540;
  --nuvem: rgba(255, 255, 255, .75); --estrela: #F09852; --entrada-bg: rgba(255, 255, 255, .7); --entrada-borda: rgba(90, 81, 152, .35);
  --sombra-texto: none; --foco: #5A5198;
  color-scheme: light;
}
[data-tema="ceu-de-festa"] {
  --ceu: linear-gradient(180deg, #BFD8E2 0%, #D4E4EA 30%, #E9EEEC 58%, #F6E8D8 82%, #F8DCC4 100%);
  --ceu-luz: radial-gradient(100% 50% at 50% 0%, rgba(255, 255, 255, .6), transparent 60%), radial-gradient(70% 40% at 15% 85%, rgba(240, 152, 82, .25), transparent 70%);
  --sol-luz: radial-gradient(closest-side, rgba(245, 193, 69, .55), rgba(240, 152, 82, .18) 50%, transparent 75%);
  --texto: #23265E; --texto-2: #3B3F72; --texto-3: #535786;
  --vidro-a: rgba(255, 255, 255, .6); --vidro-b: rgba(255, 255, 255, .4); --vidro-forte: rgba(250, 252, 253, .92);
  --vidro-borda: rgba(255, 255, 255, .9); --reflexo: rgba(255, 255, 255, 1); --brilho-topo: rgba(255, 255, 255, 1); --brilho-sheen: rgba(255, 255, 255, .4);
  --sombra: 0 14px 34px -18px rgba(35, 38, 94, .4), 0 2px 6px -2px rgba(35, 38, 94, .12);
  --destaque: linear-gradient(100deg, #F5C145 0%, #F09852 50%, #E56E41 100%); --no-destaque: #2A1B33;
  --claro-bg: rgba(255, 255, 255, .96); --no-claro: #23265E;
  --nuvem: rgba(255, 255, 255, .85); --estrela: #E56E41; --entrada-bg: rgba(255, 255, 255, .75); --entrada-borda: rgba(51, 57, 123, .3);
  --sombra-texto: none; --foco: #33397B;
  color-scheme: light;
}
[data-tema="noite-estrelada"] {
  --ceu: linear-gradient(180deg, #0E0F2C 0%, #15173D 30%, #1E2152 58%, #33397B 82%, #5A4A86 94%, #8F5C7C 100%);
  --ceu-luz: radial-gradient(120% 50% at 50% 0%, rgba(90, 81, 152, .5), transparent 60%);
  --sol-luz: radial-gradient(closest-side, rgba(205, 101, 79, .5), rgba(143, 92, 124, .2) 50%, transparent 75%);
  --vidro-a: rgba(255, 255, 255, .11); --vidro-b: rgba(255, 255, 255, .05); --vidro-forte: rgba(22, 24, 60, .86);
  --vidro-borda: rgba(255, 255, 255, .16); --brilho-topo: rgba(255, 255, 255, .22); --brilho-sheen: rgba(255, 255, 255, .06);
  --nuvem: rgba(255, 255, 255, .06); --estrela: #FFF3CF;
}

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh; font: 400 16px/1.5 var(--fonte); color: var(--texto);
  background: #2B3070; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; overflow-x: hidden;
}
[data-tema="amanhecer"] body { background: #FBE9DA; }
[data-tema="ceu-de-festa"] body { background: #D4E4EA; }
[data-tema="noite-estrelada"] body { background: #15173D; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 22px; height: 22px; flex: none; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------ céu (fixo na tela, atrás de tudo) */
.ceu { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: var(--ceu); pointer-events: none; }
.ceu-foto { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none; object-fit: cover; filter: blur(28px) saturate(1.2); opacity: .5; mix-blend-mode: soft-light; }
.ceu-luz { position: absolute; inset: 0; background: var(--ceu-luz); animation: respirar 16s ease-in-out infinite alternate; }
.ceu-sol { position: absolute; left: 50%; bottom: -38vmax; width: 110vmax; height: 110vmax; margin-left: -55vmax; background: var(--sol-luz); border-radius: 50%; animation: nascer 2.4s var(--ease) both, pulsar-sol 10s ease-in-out 2.4s infinite alternate; }
.raios-fundo {
  position: absolute; left: 50%; bottom: -60vmax; width: 140vmax; height: 140vmax; margin-left: -70vmax; border-radius: 50%; opacity: .55;
  background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .07) 0deg 3deg, transparent 3deg 11.25deg);
  -webkit-mask: radial-gradient(closest-side, transparent 30%, #000 45%, transparent 100%); mask: radial-gradient(closest-side, transparent 30%, #000 45%, transparent 100%);
  animation: girar 240s linear infinite;
}
[data-tema="amanhecer"] .raios-fundo, [data-tema="ceu-de-festa"] .raios-fundo { background: repeating-conic-gradient(from 0deg, rgba(240, 152, 82, .10) 0deg 3deg, transparent 3deg 11.25deg); }
.nuvem { position: absolute; left: 0; width: 200px; height: auto; color: var(--nuvem); will-change: transform; }
.nuvem.n1 { top: 9%; width: 190px; animation: vagar 95s linear -20s infinite; }
.nuvem.n2 { top: 38%; width: 260px; animation: vagar 140s linear -90s infinite; opacity: .8; }
.nuvem.n3 { top: 66%; width: 150px; animation: vagar 110s linear -55s infinite; opacity: .7; }
.brilho { position: absolute; width: 14px; height: 14px; color: var(--estrela); opacity: 0; animation: piscar 4.6s ease-in-out infinite; }
.brilho.b1 { top: 7%; left: 12%; animation-delay: .2s; }
.brilho.b2 { top: 15%; left: 84%; width: 10px; animation-delay: 1.4s; }
.brilho.b3 { top: 28%; left: 6%; width: 9px; animation-delay: 2.6s; }
.brilho.b4 { top: 33%; left: 92%; width: 16px; animation-delay: 3.3s; }
.brilho.b5 { top: 52%; left: 4%; width: 11px; animation-delay: .9s; }
.brilho.b6 { top: 58%; left: 95%; width: 9px; animation-delay: 2.1s; }
.brilho.b7 { top: 76%; left: 9%; width: 13px; animation-delay: 3.9s; }
.brilho.b8 { top: 84%; left: 88%; width: 10px; animation-delay: 1.7s; }
.brilho.b9 { top: 4%; left: 55%; width: 8px; animation-delay: 2.9s; }
[data-tema="noite-estrelada"] .brilho { width: 12px; }

/* balões (tema "balões subindo") — criados pelo bio.js */
.baloes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.balao { position: absolute; bottom: -120px; width: 46px; height: 56px; border-radius: 50% 50% 47% 53% / 56% 56% 44% 44%; animation: subir-balao linear infinite; opacity: .78; }
.balao::before { content: ""; position: absolute; top: 18%; left: 22%; width: 22%; height: 26%; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: rotate(25deg); }
.balao::after { content: ""; position: absolute; top: 100%; left: 50%; width: 1px; height: 54px; background: rgba(255, 255, 255, .5); transform-origin: top; animation: balanco-fio 3s ease-in-out infinite alternate; }
.balao.c0 { background: radial-gradient(circle at 35% 30%, #FFD27A, #F09852 70%); }
.balao.c1 { background: radial-gradient(circle at 35% 30%, #A79BE6, #5A5198 70%); }
.balao.c2 { background: radial-gradient(circle at 35% 30%, #FF9C7A, #E56E41 70%); }
.balao.c3 { background: radial-gradient(circle at 35% 30%, #C8E0E8, #95B2BC 70%); }
.balao.c4 { background: radial-gradient(circle at 35% 30%, #D9A0BC, #8F5C7C 70%); }
.balao.c5 { background: radial-gradient(circle at 35% 30%, #FFE7A6, #F5C145 70%); }

/* ------------------------------------------------------------ coluna */
.bio {
  position: relative; width: 100%; max-width: 560px; margin: 0 auto;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 36px) max(16px, env(safe-area-inset-left, 0px));
}
.faixa-previa { position: sticky; top: 0; z-index: 30; padding: 6px 12px; text-align: center; font: 600 12px/1.4 var(--fonte); letter-spacing: .04em; text-transform: uppercase; color: #2A1B33; background: #F5C145; }

/* ------------------------------------------------------------ vidro (Liquid Glass) */
.vidro, .btn-link, .btn-redondo {
  position: relative; isolation: isolate;
  background: linear-gradient(150deg, var(--vidro-a), var(--vidro-b));
  -webkit-backdrop-filter: blur(var(--blur)) saturate(175%); backdrop-filter: blur(var(--blur)) saturate(175%);
  border: 1px solid var(--vidro-borda);
  box-shadow: var(--sombra), inset 0 1px 0 var(--brilho-topo), inset 0 -10px 24px -18px rgba(255, 255, 255, .25);
}
/* aro de luz (reflexo nas bordas, mais forte no alto à esquerda, como vidro curvo) */
.vidro::before, .btn-link::before, .btn-redondo::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 1;
  background: linear-gradient(155deg, var(--reflexo) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 64%, rgba(255, 255, 255, .28) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* brilho de superfície (sheen) */
.vidro::after, .btn-link::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, var(--brilho-sheen), transparent 46%);
}
.vidro-forte { background: var(--vidro-forte); -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%); border: 1px solid var(--vidro-borda); box-shadow: var(--sombra); }
.vidro-sutil { background: linear-gradient(150deg, var(--vidro-a), var(--vidro-b)); border: 1px solid var(--vidro-borda); border-radius: var(--r-md); padding: 14px 16px; }
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  :root { --vidro-a: rgba(36, 30, 80, .78); --vidro-b: rgba(26, 22, 62, .74); }
  [data-tema="amanhecer"], [data-tema="ceu-de-festa"] { --vidro-a: rgba(255, 255, 255, .9); --vidro-b: rgba(255, 255, 255, .8); }
  [data-tema="noite-estrelada"] { --vidro-a: rgba(40, 42, 90, .85); --vidro-b: rgba(30, 32, 75, .8); }
}

/* ------------------------------------------------------------ cabeçalho */
.btn-redondo { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--texto); text-decoration: none; cursor: pointer; transition: transform .25s var(--mola); }
.btn-redondo:active { transform: scale(.92); }
.btn-redondo .ic { width: 20px; height: 20px; position: relative; z-index: 2; }
.compartilhar { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); right: max(16px, env(safe-area-inset-right, 0px)); z-index: 5; }
.perfil { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 18px; margin-bottom: 26px; }
.perfil.com-capa { padding-top: 0; }
.capa { width: 100%; aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; margin-bottom: -58px; }
.capa-img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 0; }
.avatar-wrap { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 14px; }
.raios { position: absolute; inset: -34px; width: calc(100% + 68px); height: calc(100% + 68px); max-width: none; color: var(--sol); opacity: .75; animation: girar 60s linear infinite, aparecer-raios 1.6s var(--ease) .2s backwards; }
[data-tema="amanhecer"] .raios, [data-tema="ceu-de-festa"] .raios { color: var(--pessego); }
.avatar { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; padding: 5px; display: grid; place-items: center; animation: surgir-avatar .9s var(--mola) backwards; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; }
.avatar-sol { width: 76%; height: 76%; position: relative; z-index: 2; }
.nome { margin: 0; font: 650 clamp(26px, 7.2vw, 32px)/1.12 var(--fonte-titulo); letter-spacing: -.01em; font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; text-shadow: var(--sombra-texto); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
[data-titulos="sistema"] .nome { font-family: var(--fonte); font-weight: 750; letter-spacing: -.02em; }
.selo { display: inline-block; width: 24px; height: 24px; flex: none; animation: selo 1.2s var(--mola) .9s both; }
.selo svg { width: 24px; height: 24px; }
.local { margin: 6px 0 0; font-size: 14px; color: var(--texto-2); display: inline-flex; align-items: center; gap: 5px; text-shadow: var(--sombra-texto); }
.local .ic { width: 15px; height: 15px; }
.frase { margin: 10px auto 0; max-width: 38ch; font-size: 16px; line-height: 1.5; color: var(--texto-2); text-shadow: var(--sombra-texto); text-wrap: pretty; }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.rede:hover { transform: translateY(-2px); }

/* ------------------------------------------------------------ blocos */
.blocos { display: flex; flex-direction: column; gap: 14px; }
.bloco { min-width: 0; scroll-margin-top: 20px; }
.titulo-secao { margin: 16px 4px 2px; font: 600 22px/1.2 var(--fonte-titulo); font-variation-settings: "opsz" 48, "SOFT" 100; text-align: center; text-shadow: var(--sombra-texto); text-wrap: balance; }
.titulo-secao.tam-grande { font-size: 28px; }
[data-titulos="sistema"] .titulo-secao, [data-titulos="sistema"] .titulo-bloco { font-family: var(--fonte); font-weight: 750; letter-spacing: -.01em; }
.titulo-bloco { margin: 0; font: 620 19px/1.22 var(--fonte-titulo); font-variation-settings: "opsz" 36, "SOFT" 100; text-wrap: balance; }
.texto-bloco { margin: 6px 0 0; font-size: 15px; line-height: 1.5; color: var(--texto-2); text-wrap: pretty; }
.texto-livre.al-centro { text-align: center; }
.texto-livre .texto-bloco { margin-top: 8px; color: var(--texto); }
.texto-livre .titulo-secao { margin-top: 10px; }
.texto-livre.al-esquerda .titulo-secao { text-align: left; }
.vazio-bio { text-align: center; color: var(--texto-2); }

/* botão de link */
.btn-link {
  display: flex; align-items: center; gap: 12px; min-height: 66px; padding: 10px 14px 10px 10px; border-radius: var(--r-btn);
  text-decoration: none; color: var(--texto); overflow: hidden; cursor: pointer;
  transition: transform .35s var(--mola), box-shadow .35s var(--ease), background-color .3s;
}
[data-cantos="arredondado"] .btn-link { border-radius: var(--r-md); }
.btn-link:hover { transform: translateY(-2px) scale(1.01); }
.btn-link:active { transform: scale(.975); transition-duration: .12s; }
.bl-visual { position: relative; z-index: 2; width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 0 0 1px rgba(255, 255, 255, .12); }
[data-tema="amanhecer"] .bl-visual, [data-tema="ceu-de-festa"] .bl-visual { background: rgba(255, 255, 255, .75); color: var(--violeta); }
[data-cantos="arredondado"] .bl-visual { border-radius: 15px; }
.bl-mini { width: 46px; height: 46px; border-radius: inherit; object-fit: cover; }
.bl-txt { position: relative; z-index: 2; flex: 1; min-width: 0; display: flex; flex-direction: column; text-align: center; padding-right: 4px; }
.bl-txt b { font-size: 16px; font-weight: 650; line-height: 1.3; }
.bl-txt small { font-size: 13px; line-height: 1.35; color: var(--texto-2); margin-top: 1px; }
.bl-seta { position: relative; z-index: 2; width: 26px; display: grid; place-items: center; opacity: .65; transition: transform .3s var(--mola); }
.bl-seta .ic { width: 18px; height: 18px; }
.btn-link:hover .bl-seta { transform: translateX(3px); opacity: 1; }
.bl-etiqueta { display: inline-block; vertical-align: 2px; margin-left: 4px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 750; letter-spacing: .02em; color: #2A1B33; background: var(--sol); box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .25); white-space: nowrap; }
.bl-luz { position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 65%); }
.btn-link:hover .bl-luz, .btn-link.tocando .bl-luz { opacity: 1; }
.estilo-destaque { background: var(--destaque); color: var(--no-destaque); border-color: rgba(255, 255, 255, .45); box-shadow: 0 16px 34px -14px rgba(229, 110, 65, .65), inset 0 1px 0 rgba(255, 255, 255, .6); }
[data-tema="amanhecer"] .estilo-destaque { box-shadow: 0 16px 34px -14px rgba(90, 81, 152, .6), inset 0 1px 0 rgba(255, 255, 255, .35); }
.estilo-destaque .bl-visual { background: rgba(255, 255, 255, .3); color: inherit; }
.estilo-destaque .bl-txt small { color: inherit; opacity: .85; }
.estilo-claro { background: var(--claro-bg); color: var(--no-claro); border-color: rgba(255, 255, 255, .9); }
.estilo-claro .bl-visual { background: rgba(90, 81, 152, .1); color: var(--violeta); }
.estilo-claro .bl-txt small { color: inherit; opacity: .78; }
.estilo-destaque::after, .estilo-claro::after { background: linear-gradient(180deg, rgba(255, 255, 255, .28), transparent 50%); }

/* efeitos dos botões */
.efeito-brilho::after { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 45%, rgba(255, 255, 255, .1) 55%, transparent 70%) no-repeat, linear-gradient(180deg, var(--brilho-sheen), transparent 46%); background-size: 260% 100%, 100% 100%; animation: reluzir 4.2s ease-in-out 1.6s infinite; z-index: 1; }

/* botões comuns */
.btn-bio {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-btn);
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .3s var(--mola), filter .2s, opacity .2s;
}
[data-cantos="arredondado"] .btn-bio { border-radius: var(--r-sm); }
.btn-bio:active { transform: scale(.96); }
.btn-bio .ic { width: 19px; height: 19px; }
.btn-bio[disabled] { opacity: .45; cursor: not-allowed; }
.btn-destaque { background: var(--destaque); color: var(--no-destaque); box-shadow: 0 10px 24px -12px rgba(229, 110, 65, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-claro { background: var(--claro-bg); color: var(--no-claro); border-color: rgba(255, 255, 255, .7); }
.btn-whats { background: #0F7A40; color: #fff; box-shadow: 0 10px 24px -12px rgba(15, 122, 64, .8); }
.btn-bio:hover { filter: brightness(1.05); }

/* cartões */
.cartao { border-radius: var(--r-lg); overflow: hidden; }
.cartao-corpo { position: relative; z-index: 2; padding: 18px 18px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.cartao-corpo .btn-bio { margin-top: 12px; }
.cartao-foto { position: relative; z-index: 2; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(255, 255, 255, .1); }
.fmt-quadrado .cartao-foto { aspect-ratio: 1; }
.fmt-retrato .cartao-foto { aspect-ratio: 4 / 5; }
.foto-cobre { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.destaque:hover .foto-cobre { transform: scale(1.04); }
.chip-foto { position: absolute; left: 12px; top: 12px; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 750; color: #2A1B33; background: var(--sol); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .35); }
.cab-bloco { position: relative; z-index: 2; display: flex; gap: 12px; align-items: flex-start; }
.bolha-ic { flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: var(--destaque); color: var(--no-destaque); box-shadow: 0 8px 18px -10px rgba(229, 110, 65, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.cartao.agenda, .cartao.pedido, .cartao.contagem, .cartao.mapa, .cartao.cadastro { padding: 18px; }

/* contagem */
.contagem { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contagem .titulo-bloco, .contagem .texto-bloco { position: relative; z-index: 2; }
.relogio { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; width: 100%; margin: 14px 0 4px; }
.un { display: flex; flex-direction: column; align-items: center; padding: 10px 4px 8px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3); }
[data-tema="amanhecer"] .un, [data-tema="ceu-de-festa"] .un { background: rgba(255, 255, 255, .7); }
.un b { font: 650 30px/1 var(--fonte-titulo); font-variant-numeric: tabular-nums; font-variation-settings: "opsz" 72; }
.un b.vira { animation: virar .5s var(--mola); }
.un small { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--texto-2); margin-top: 4px; }
.fim-msg { position: relative; z-index: 2; color: var(--texto-2); }
.contagem .btn-bio { position: relative; z-index: 2; margin-top: 12px; }

/* cupom (ingresso com recortes) */
.cupom { display: flex; border-radius: var(--r-lg); overflow: hidden; -webkit-mask: radial-gradient(circle 13px at 72px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 72px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; mask: radial-gradient(circle 13px at 72px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle 13px at 72px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.cupom-esq { position: relative; z-index: 2; width: 72px; flex: none; display: grid; place-items: center; border-right: 2px dashed rgba(255, 255, 255, .35); }
[data-tema="amanhecer"] .cupom-esq, [data-tema="ceu-de-festa"] .cupom-esq { border-right-color: rgba(90, 81, 152, .3); }
.cupom-corpo { position: relative; z-index: 2; flex: 1; min-width: 0; padding: 18px 16px 18px 18px; display: flex; flex-direction: column; align-items: flex-start; }
.cupom-codigo { position: relative; display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 12px; min-height: 52px; }
.cupom-codigo code { flex: 1; min-width: 0; padding: 12px 14px; border-radius: var(--r-sm); border: 2px dashed var(--sol); font: 750 19px/1.1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; text-align: center; overflow-wrap: anywhere; background: rgba(255, 255, 255, .08); }
.btn-copiar { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 0; background: var(--claro-bg); color: var(--no-claro); font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-copiar .ic { width: 18px; height: 18px; }
.raspadinha { position: absolute; inset: 0; z-index: 3; border: 0; border-radius: var(--r-sm); cursor: pointer; display: grid; place-items: center; color: #2A1B33; font-weight: 750; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .25) 0 6px, transparent 6px 12px), linear-gradient(100deg, #EDB769, #F5C145 40%, #F09852); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7); }
.raspadinha span { display: inline-flex; align-items: center; gap: 8px; }
.raspadinha::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .7) 50%, transparent 65%); background-size: 250% 100%; animation: reluzir 2.6s ease-in-out infinite; }
.cupom.aberto .raspadinha { display: none; }
.cupom.fechado .btn-copiar { visibility: hidden; }
.cupom.revelando .raspadinha { animation: raspar .6s var(--ease) forwards; }
.validade { margin: 8px 0 0; font-size: 13px; color: var(--texto-2); }
.validade.vencido { text-decoration: line-through; }
.cupom-corpo .btn-bio { margin-top: 12px; }

/* galeria */
.galeria { position: relative; }
.galeria-trilho { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 6px; margin: 0 -2px; overscroll-behavior-x: contain; }
.galeria-trilho::-webkit-scrollbar { display: none; }
.g-item { position: relative; margin: 0; flex: 0 0 72%; scroll-snap-align: center; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sombra); background: rgba(255, 255, 255, .1); }
.g-item a, .g-ampliar { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item a { cursor: pointer; }
.fmt-retrato .g-item { aspect-ratio: 4 / 5; }
.fmt-quadrado .g-item { aspect-ratio: 1; }
.fmt-paisagem .g-item { aspect-ratio: 4 / 3; flex-basis: 82%; }
.g-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(20, 14, 40, .75)); pointer-events: none; }
.modo-grade .galeria-trilho { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; overflow: visible; scroll-snap-type: none; }
.modo-grade .g-item { flex: none; border-radius: var(--r-sm); }
.modo-grade figcaption { display: none; }
.pontos { display: flex; justify-content: center; gap: 6px; margin-top: 6px; }
.pontos i { width: 6px; height: 6px; border-radius: 99px; background: var(--texto-3); opacity: .55; transition: width .35s var(--mola), opacity .3s; }
.pontos i.ativo { width: 20px; opacity: 1; background: var(--texto); }

/* vídeo */
.video { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.video.fmt-empe { aspect-ratio: 9 / 16; max-height: 78vh; margin: 0 auto; width: min(100%, 360px); }
.video-capa { position: relative; z-index: 2; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: linear-gradient(135deg, var(--violeta), var(--laranja)); cursor: pointer; }
.video iframe { position: relative; z-index: 2; width: 100%; height: 100%; border: 0; display: block; }
.play { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; color: var(--texto); transition: transform .35s var(--mola); }
.play .ic { width: 30px; height: 30px; margin-left: 4px; }
.video-capa:hover .play { transform: scale(1.08); }

/* serviços */
.servicos { display: flex; flex-direction: column; gap: 10px; }
.servico { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: var(--r-md); text-decoration: none; color: var(--texto); transition: transform .35s var(--mola); }
a.servico:active { transform: scale(.98); }
.servico-foto { position: relative; z-index: 2; width: 88px; height: 88px; flex: none; border-radius: var(--r-sm); overflow: hidden; background: rgba(255, 255, 255, .1); }
.servico-txt { position: relative; z-index: 2; flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding-left: 4px; }
.servico:not(.com-foto) .servico-txt { padding: 4px 6px; }
.servico-nome { font-size: 16px; font-weight: 700; }
.servico-txt small { font-size: 14px; line-height: 1.4; color: var(--texto-2); }
.preco { margin-top: 4px; font: 650 16px/1.25 var(--fonte-titulo); color: var(--sol); }
[data-tema="amanhecer"] .preco, [data-tema="ceu-de-festa"] .preco { color: var(--violeta); }
.chip-mini { padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 750; color: #2A1B33; background: var(--sol); margin-bottom: 2px; }

/* depoimentos */
.depoimentos { position: relative; }
.dep-trilho { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; margin: 0 -2px; overscroll-behavior-x: contain; }
.dep-trilho::-webkit-scrollbar { display: none; }
.dep { flex: 0 0 88%; margin: 0; scroll-snap-align: center; border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.dep > * { position: relative; z-index: 2; }
.estrelas { display: flex; gap: 2px; }
.est { width: 18px; height: 18px; color: rgba(255, 255, 255, .3); }
.est.cheia { color: var(--sol); }
[data-tema="amanhecer"] .est.cheia, [data-tema="ceu-de-festa"] .est.cheia { color: #E5A21A; }
.dep blockquote { margin: 0; font-size: 15.5px; line-height: 1.55; quotes: "“" "”"; }
.dep blockquote::before { content: open-quote; font: 700 40px/0 var(--fonte-titulo); vertical-align: -14px; margin-right: 2px; color: var(--sol); }
.dep figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.dep figcaption b { display: block; font-size: 14.5px; }
.dep figcaption small { display: block; font-size: 13px; color: var(--texto-2); }
.dep-foto, .dep-ini { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.dep-ini { display: grid; place-items: center; font-weight: 750; font-size: 14px; color: #2A1B33; background: var(--sol); }

/* perguntas */
.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details { border-radius: var(--r-md); }
.faq summary { position: relative; z-index: 2; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 12px 14px 12px 18px; cursor: pointer; font-weight: 650; }
.faq summary::-webkit-details-marker { display: none; }
.faq-mais { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); transition: transform .4s var(--mola); }
.faq-mais .ic { width: 16px; height: 16px; }
.faq details[open] .faq-mais { transform: rotate(135deg); }
.faq-resp { position: relative; z-index: 2; padding: 0 18px 16px; color: var(--texto-2); }
.faq-resp p { margin: 0; font-size: 15px; line-height: 1.55; }
.faq details[open] .faq-resp { animation: abrir .35s var(--ease); }

/* mapa */
.mapa .horario { display: flex; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 14px; color: var(--texto-2); }
.mapa .horario .ic { width: 16px; height: 16px; }
.mapa-acoes { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mapa-acoes .btn-bio { flex: 1 1 140px; }

/* agenda (calendário) */
.agenda .cal { position: relative; z-index: 2; margin-top: 16px; }
.cal-topo { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-topo .btn-redondo { width: 40px; height: 40px; }
.cal-topo .btn-redondo[disabled] { opacity: .3; pointer-events: none; }
.cal-mes { font: 620 18px/1.2 var(--fonte-titulo); }
.cal-semana, .cal-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-semana span { text-align: center; font-size: 12px; font-weight: 650; color: var(--texto-3); padding: 4px 0; }
.cal-dia { position: relative; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 12px; display: grid; place-items: center; font-weight: 650; font-size: 15px; cursor: pointer; background: rgba(255, 255, 255, .1); color: var(--texto); transition: transform .25s var(--mola), background-color .2s; font-variant-numeric: tabular-nums; }
[data-tema="amanhecer"] .cal-dia, [data-tema="ceu-de-festa"] .cal-dia { background: rgba(255, 255, 255, .65); }
.cal-dia:active { transform: scale(.9); }
.cal-dia.vazio { background: none; pointer-events: none; }
.cal-dia.passado { opacity: .28; pointer-events: none; }
.cal-dia.poucas::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 2px rgba(42, 27, 51, .25); }
.cal-dia.lotada { background: transparent; color: var(--texto-3); text-decoration: line-through; text-decoration-thickness: 2px; }
.cal-dia.hoje { box-shadow: inset 0 0 0 2px var(--texto-3); }
.cal-dia.escolhido { background: var(--destaque); color: var(--no-destaque); transform: scale(1.06); box-shadow: 0 8px 18px -8px rgba(229, 110, 65, .8); }
.cal-legenda { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; margin-top: 12px; font-size: 12.5px; color: var(--texto-2); }
.cal-legenda span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lg { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg-livre { background: rgba(255, 255, 255, .45); }
[data-tema="amanhecer"] .lg-livre, [data-tema="ceu-de-festa"] .lg-livre { background: rgba(90, 81, 152, .25); }
.lg-poucas { background: var(--sol); border-radius: 50%; }
.lg-lotada { border: 2px solid var(--texto-3); background: linear-gradient(135deg, transparent 45%, var(--texto-3) 45% 55%, transparent 55%); }
.cal-resposta { position: relative; z-index: 2; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--vidro-borda); animation: abrir .4s var(--ease); }
.cal-msg { margin: 0 0 12px; font-size: 15.5px; font-weight: 600; }
.cal-reservar { width: 100%; }

/* orçamento em 3 toques */
.pedido > * { position: relative; z-index: 2; }
.passos-pontos { display: flex; gap: 6px; list-style: none; padding: 0; margin: 14px 0 6px; }
.passos-pontos li { flex: 1; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .2); overflow: hidden; }
[data-tema="amanhecer"] .passos-pontos li, [data-tema="ceu-de-festa"] .passos-pontos li { background: rgba(90, 81, 152, .15); }
.passos-pontos li.ativo, .passos-pontos li.feito { background: var(--destaque); }
.passo { animation: entrar-passo .45s var(--ease); }
.pergunta { margin: 10px 0 10px; font-weight: 700; font-size: 16px; }
.pergunta.pq { margin-top: 16px; }
.chips-grandes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.chip-g { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 12px 8px; border-radius: var(--r-md); border: 1px solid var(--vidro-borda); background: rgba(255, 255, 255, .1); cursor: pointer; font-weight: 650; font-size: 14.5px; text-align: center; transition: transform .3s var(--mola), background-color .2s; }
[data-tema="amanhecer"] .chip-g, [data-tema="ceu-de-festa"] .chip-g { background: rgba(255, 255, 255, .7); }
.chip-g .ic { width: 26px; height: 26px; }
.chip-g:active { transform: scale(.95); }
.chip-g[aria-checked="true"] { background: var(--destaque); color: var(--no-destaque); border-color: transparent; transform: scale(1.02); }
.chips-idade { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.chip-i { min-height: 44px; border-radius: 12px; border: 1px solid var(--vidro-borda); background: rgba(255, 255, 255, .1); font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums; }
[data-tema="amanhecer"] .chip-i, [data-tema="ceu-de-festa"] .chip-i { background: rgba(255, 255, 255, .7); }
.chip-i[aria-checked="true"] { background: var(--destaque); color: var(--no-destaque); border-color: transparent; }
.status-data { min-height: 22px; margin: 8px 2px 0; font-size: 14.5px; font-weight: 600; }
.acoes-passo { display: flex; gap: 8px; margin-top: 12px; }
.acoes-passo .btn-bio { flex: 1; padding: 0 12px; }
.pedido-fim { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: entrar-passo .45s var(--ease); }
.pedido-fim .btn-bio { width: 100%; }
.link-voltar { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px; border: 0; background: none; color: var(--texto-2); font-weight: 600; cursor: pointer; }
.link-voltar .ic { width: 16px; height: 16px; }

/* formulários */
.campos-bio { display: grid; gap: 10px; margin-top: 14px; }
.campo-bio { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.campo-bio .rot { font-size: 13.5px; font-weight: 650; color: var(--texto-2); }
.campo-bio .rot i { font-style: normal; font-weight: 500; opacity: .8; }
.entrada { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); border: 1px solid var(--entrada-borda); background: var(--entrada-bg); color: var(--texto); font: 500 16px/1.2 var(--fonte); transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.entrada::placeholder { color: var(--texto-3); opacity: .85; }
.entrada:focus { outline: none; border-color: var(--foco); box-shadow: 0 0 0 4px rgba(245, 193, 69, .25); background-color: rgba(255, 255, 255, .18); }
[data-tema="amanhecer"] .entrada:focus, [data-tema="ceu-de-festa"] .entrada:focus { box-shadow: 0 0 0 4px rgba(90, 81, 152, .18); background-color: #fff; }
input[type="date"].entrada { min-height: 50px; color-scheme: inherit; }
.entrada.com-erro { border-color: #FF8A7A; box-shadow: 0 0 0 3px rgba(255, 138, 122, .25); }
.erro-campo { min-height: 0; font-size: 13px; font-weight: 600; color: #FFB4A8; }
[data-tema="amanhecer"] .erro-campo, [data-tema="ceu-de-festa"] .erro-campo, [data-tema="amanhecer"] .erro-geral, [data-tema="ceu-de-festa"] .erro-geral { color: #B3261E; }
.erro-campo:empty { display: none; }
.erro-geral { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: #FFB4A8; }
.erro-geral:empty { display: none; }
.aceite { position: relative; display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; cursor: pointer; font-size: 13.5px; line-height: 1.45; color: var(--texto-2); }
.aceite input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.caixa { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 8px; display: grid; place-items: center; border: 2px solid var(--entrada-borda); background: var(--entrada-bg); transition: background-color .2s, transform .3s var(--mola); }
.caixa .ic { width: 16px; height: 16px; opacity: 0; transform: scale(.5); transition: opacity .2s, transform .3s var(--mola); }
.aceite input:checked + .caixa { background: var(--destaque); border-color: transparent; color: var(--no-destaque); transform: scale(1.05); }
.aceite input:checked + .caixa .ic { opacity: 1; transform: none; }
.aceite input:focus-visible + .caixa { outline: 3px solid var(--foco); outline-offset: 2px; }
.aceite a { color: inherit; font-weight: 650; }
.btn-enviar { width: 100%; margin-top: 14px; min-height: 54px; font-size: 17px; }
.btn-enviar.enviando { pointer-events: none; opacity: .75; }
.btn-enviar.enviando .ic { animation: girar 1s linear infinite; }
.cadastro .form-cadastro, .cadastro .cadastro-ok { position: relative; z-index: 2; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cadastro-ok { text-align: center; padding: 8px 4px 4px; display: flex; flex-direction: column; align-items: center; animation: abrir .5s var(--mola); }
.ok-sol { width: 84px; height: 84px; margin-bottom: 4px; animation: surgir-avatar .8s var(--mola) both; }
.ok-msg { margin: 0 0 8px; font: 620 20px/1.3 var(--fonte-titulo); }
.convite-grupo { width: 100%; margin-top: 8px; padding: 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .1); border: 1px solid var(--vidro-borda); display: flex; flex-direction: column; align-items: center; gap: 4px; }
.convite-grupo .btn-bio { margin-top: 10px; width: 100%; }

/* janela de cadastro (folha de baixo no celular) */
dialog { color: var(--texto); }
.janela-cadastro { width: min(100% - 24px, 480px); max-height: 92dvh; margin: auto auto 12px; padding: 6px; border-radius: var(--r-lg); overflow: auto; }
.janela-cadastro::backdrop { background: rgba(18, 12, 40, .55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.janela-cadastro[open] { animation: folha .5s var(--mola); }
.janela-cadastro .cartao { background: transparent; box-shadow: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.janela-cadastro .cartao::before { display: none; }
.fechar-janela { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; background: rgba(255, 255, 255, .14); border: 0; }
.janela-cadastro .cab-bloco { padding-right: 40px; }

/* foto ampliada */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 8, 30, .94); }
.lightbox::backdrop { background: rgba(12, 8, 30, .9); }
.lightbox[open] { display: grid; place-items: center; animation: aparecer .3s ease; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 56px 12px 24px; }
.lightbox img { max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; border-radius: var(--r-sm); }
.lightbox figcaption { color: #fff; font-size: 14px; text-align: center; }
.lightbox .btn-redondo { position: fixed; z-index: 2; color: #fff; }
.fechar-lb { top: calc(env(safe-area-inset-top, 0px) + 12px); right: 12px; }
.lb-ant { left: 10px; top: 50%; margin-top: -22px; }
.lb-prox { right: 10px; top: 50%; margin-top: -22px; }

/* WhatsApp flutuante */
.fab-whats { position: fixed; z-index: 20; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #1DA851; box-shadow: 0 14px 28px -10px rgba(10, 80, 40, .7), inset 0 1px 0 rgba(255, 255, 255, .45); animation: surgir-fab .7s var(--mola) 1.2s backwards; transition: transform .3s var(--mola); }
.fab-whats .ic { width: 30px; height: 30px; position: relative; z-index: 2; }
.fab-whats:active { transform: scale(.92); }
.fab-onda { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #1DA851; animation: onda 2.4s ease-out 2s infinite; }

/* cookies */
.cookies { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); max-width: 520px; margin: 0 auto; padding: 16px; border-radius: var(--r-lg); animation: folha .5s var(--mola); }
.cookies p { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.cookies p a { color: inherit; font-weight: 650; }
.cookies-acoes { display: flex; gap: 8px; }
.cookies-acoes .btn-bio { flex: 1; padding: 0 12px; }

/* rodapé */
.rodape { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 13px; color: var(--texto-2); text-shadow: var(--sombra-texto); }
.marca-rodape { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; text-decoration: none; min-height: 44px; padding: 0 8px; }
.marca-rodape svg, .marca-rodape img { width: 30px; height: 30px; }
.marca-rodape img { object-fit: contain; border-radius: 8px; }
.links-rodape a, .link-cookies { color: inherit; font-size: 13px; }
.link-cookies { border: 0; background: none; padding: 0; text-decoration: underline; cursor: pointer; }

/* aviso curto ("Copiado!") */
.aviso-toque { position: fixed; z-index: 50; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); transform: translate(-50%, 20px); padding: 10px 18px; border-radius: 999px; font-weight: 650; font-size: 14px; color: #2A1B33; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); opacity: 0; pointer-events: none; transition: opacity .25s, transform .35s var(--mola); white-space: nowrap; }
.aviso-toque.ver { opacity: 1; transform: translate(-50%, 0); }
.confete { position: fixed; inset: 0; z-index: 60; pointer-events: none; width: 100vw; height: 100vh; }

/* ------------------------------------------------------------ entrada (cada vidro anima a si mesmo: o desfoque não some) */
.perfil > *, .bloco :is(.btn-link, .cartao, .cupom, .titulo-secao, .texto-livre, .servico, .g-item, .dep, details, .video) { animation: subir .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 180ms); }
/* "backwards": depois da entrada o elemento volta ao estilo normal (o toque/hover continua funcionando) */
.bloco .btn-link.efeito-pulsar { animation: subir .7s var(--ease) backwards, pulsar 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 70ms + 180ms), 2.4s; }
.bloco .btn-link.efeito-balancar { animation: subir .7s var(--ease) backwards, balancar 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 70ms + 180ms), 2.8s; }
.perfil > :nth-child(1) { --i: 0; } .perfil > :nth-child(2) { --i: 1; } .perfil > :nth-child(3) { --i: 2; } .perfil > :nth-child(4) { --i: 3; } .perfil > :nth-child(5) { --i: 4; } .perfil > :nth-child(6) { --i: 5; }
.bloco:nth-child(1) { --i: 5; } .bloco:nth-child(2) { --i: 6; } .bloco:nth-child(3) { --i: 7; } .bloco:nth-child(4) { --i: 8; } .bloco:nth-child(5) { --i: 9; } .bloco:nth-child(6) { --i: 10; }
.bloco:nth-child(7) { --i: 11; } .bloco:nth-child(8) { --i: 12; } .bloco:nth-child(n+9) { --i: 13; }
.servico:nth-child(2), .g-item:nth-child(2), .dep:nth-child(2), details:nth-child(2) { animation-delay: calc(var(--i, 0) * 70ms + 260ms); }
.servico:nth-child(n+3), .g-item:nth-child(n+3), .dep:nth-child(n+3), details:nth-child(n+3) { animation-delay: calc(var(--i, 0) * 70ms + 340ms); }
.avatar-wrap { animation: none !important; }
.rodape { animation: aparecer 1s ease 1.4s backwards; }

/* ------------------------------------------------------------ animações */
@keyframes subir { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes aparecer { from { opacity: 0; } to { opacity: 1; } }
@keyframes abrir { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes entrar-passo { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes folha { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes respirar { from { opacity: .65; } to { opacity: 1; } }
@keyframes nascer { from { transform: translateY(18vmax) scale(.9); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulsar-sol { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes vagar { from { transform: translateX(-320px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes piscar { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 45%, 55% { opacity: 1; transform: scale(1) rotate(45deg); } }
@keyframes aparecer-raios { from { opacity: 0; } to { opacity: .75; } }
@keyframes surgir-avatar { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@keyframes selo { from { opacity: 0; transform: scale(0) rotate(-120deg); } to { opacity: 1; transform: none; } }
@keyframes reluzir { 0% { background-position: 130% 0, 0 0; } 45%, 100% { background-position: -40% 0, 0 0; } }
@keyframes pulsar { 0%, 100% { box-shadow: var(--sombra), 0 0 0 0 rgba(245, 193, 69, .55); } 50% { box-shadow: var(--sombra), 0 0 0 10px rgba(245, 193, 69, 0); } }
@keyframes balancar { 0%, 88%, 100% { transform: none; } 90% { transform: rotate(-2.2deg) scale(1.02); } 92% { transform: rotate(2deg) scale(1.02); } 94% { transform: rotate(-1.4deg); } 96% { transform: rotate(1deg); } }
@keyframes virar { from { transform: translateY(-40%); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes raspar { to { opacity: 0; transform: scale(1.08); filter: blur(4px); } }
@keyframes surgir-fab { from { opacity: 0; transform: scale(.3) translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes onda { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
@keyframes subir-balao { from { transform: translateY(0) translateX(0); } 50% { transform: translateY(-60vh) translateX(18px); } to { transform: translateY(-125vh) translateX(-10px); } }
@keyframes balanco-fio { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }

/* ------------------------------------------------------------ telas maiores: coluna no centro, céu na tela toda */
@media (min-width: 600px) {
  .bio { padding-top: 56px; }
  .compartilhar { top: 22px; right: 22px; }
  .g-item { flex-basis: 58%; }
  .fmt-paisagem .g-item { flex-basis: 70%; }
  .dep { flex-basis: 76%; }
  .avatar-wrap { width: 148px; height: 148px; }
  .avatar { width: 130px; height: 130px; }
  .nuvem.n1 { width: 260px; } .nuvem.n2 { width: 360px; } .nuvem.n3 { width: 220px; }
  .brilho { transform-origin: center; }
  .janela-cadastro { margin: auto; }
}
@media (min-width: 1024px) {
  .bio { max-width: 580px; padding-top: 72px; }
  .ceu-sol { bottom: -48vmax; }
  .brilho.b1 { left: 18%; } .brilho.b3 { left: 12%; } .brilho.b5 { left: 9%; } .brilho.b7 { left: 15%; }
  .brilho.b2 { left: 80%; } .brilho.b4 { left: 86%; } .brilho.b6 { left: 90%; } .brilho.b8 { left: 82%; }
  .brilho { width: 18px; height: 18px; }
  .fab-whats { right: 32px; bottom: 32px; }
}
@media (hover: hover) and (pointer: fine) {
  .chip-g:hover, .chip-i:hover, .cal-dia:hover { transform: translateY(-1px); }
}

/* ------------------------------------------------------------ menos movimento / aparelhos fracos */
[data-anim="suave"] .efeito-brilho::after, [data-anim="suave"] .raspadinha::after { animation: none; }
[data-anim="suave"] .bloco .btn-link.efeito-pulsar, [data-anim="suave"] .bloco .btn-link.efeito-balancar { animation: subir .7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + 180ms); }
[data-anim="suave"] .nuvem { animation-duration: 220s; }
[data-anim="nenhuma"] *, [data-anim="nenhuma"] *::before, [data-anim="nenhuma"] *::after { animation: none !important; transition-duration: .01ms !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .brilho { opacity: .6; }
}
html.leve .vidro, html.leve .btn-link, html.leve .btn-redondo { -webkit-backdrop-filter: none; backdrop-filter: none; }
html.leve:not([data-tema="amanhecer"]):not([data-tema="ceu-de-festa"]) { --vidro-a: rgba(40, 34, 88, .82); --vidro-b: rgba(30, 26, 70, .78); }
html.leve[data-tema="amanhecer"], html.leve[data-tema="ceu-de-festa"] { --vidro-a: rgba(255, 255, 255, .88); --vidro-b: rgba(255, 255, 255, .78); }
html.leve .nuvem.n3, html.leve .brilho:nth-child(n+8), html.leve .raios-fundo { display: none; }

/* ------------------------------------------------------------ páginas simples */
.simples { display: flex; flex-direction: column; justify-content: center; min-height: 100dvh; }
.simples-cartao .cartao-corpo { align-items: center; text-align: center; gap: 10px; padding: 28px 22px 26px; }
.simples-sol { width: 72px; height: 72px; }
.simples-cartao form { margin-top: 8px; }
.privacidade { text-align: left; }
.privacidade h2 { margin: 18px 0 4px; font: 650 16px/1.3 var(--fonte); color: var(--texto); }
.privacidade p { margin: 0 0 8px; }
.privacidade a { color: inherit; font-weight: 650; }
