/* Link na Bio — design dinâmico brand-adaptive + blocos (Fases 1-4). Mobile-first. */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--fbody, "Outfit"), -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg, #0a0b10); color: var(--text, #fff);
  min-height: 100svh; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* ---- Fundo atmosférico ---- */
.bio-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: var(--bg); }
.blob { position: absolute; border-radius: 50%; filter: blur(64px); opacity: .9; will-change: transform; }
.b1 { width: 62vmax; height: 62vmax; top: -24vmax; left: -20vmax; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 85%, transparent), transparent 64%); animation: float1 19s ease-in-out infinite; }
.b2 { width: 50vmax; height: 50vmax; bottom: -18vmax; right: -16vmax; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 62%, transparent), transparent 64%); animation: float2 24s ease-in-out infinite; }
.b3 { width: 36vmax; height: 36vmax; top: 36%; right: -14vmax; background: radial-gradient(circle, color-mix(in srgb, var(--brand) 48%, #fff 8%), transparent 70%); opacity: .5; animation: float1 28s ease-in-out infinite reverse; }
.tema-claro .blob { opacity: .5; filter: blur(72px); }
.grain { position: absolute; inset: 0; opacity: .045; mix-blend-mode: overlay; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); background-size: 160px; }
.bio-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 50% 34%, transparent 0%, color-mix(in srgb, var(--bg) 72%, transparent) 100%); }
@keyframes float1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(4vmax,3vmax) scale(1.08); } }
@keyframes float2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-3vmax,-4vmax) scale(1.1); } }

/* ---- Conteúdo ---- */
.bio { position: relative; z-index: 1; max-width: 480px; margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; align-items: center; text-align: center; padding: max(40px, 6vh) 22px 40px; gap: 13px; }
.capa { width: 100%; height: 150px; border-radius: 22px; background-size: cover; background-position: center; box-shadow: 0 10px 30px var(--shadow); margin-bottom: 6px; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--logo-bg, #fff); display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 15px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 60%, transparent), 0 18px 50px var(--shadow), 0 0 64px color-mix(in srgb, var(--brand) 38%, transparent); opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) .04s forwards; }
.avatar.forma-quadrado { border-radius: 26px; }
.avatar.sobre-capa { margin-top: -76px; }
.avatar img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.avatar.fit-foto { background: transparent; padding: 0; }
.avatar.fit-foto img { object-fit: cover; border-radius: 0; }
.avatar .ini { font-family: var(--fhead, "Fraunces"), Georgia, serif; font-weight: 600; font-size: 44px; color: var(--brand); }
.name { font-family: var(--fhead, "Fraunces"), Georgia, serif; font-weight: 600; font-size: clamp(24px, 6.5vw, 32px); line-height: 1.1; letter-spacing: -.015em; color: var(--text); display: inline-flex; align-items: center; gap: 7px; justify-content: center; opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) .12s forwards; }
.verif { display: inline-flex; width: 22px; height: 22px; color: var(--brand); }
.verif svg { width: 22px; height: 22px; }
.rating { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--soft); text-decoration: none; opacity: 0; animation: rise .6s ease .16s forwards; }
.rating b { color: var(--text); }
.stars { display: inline-flex; gap: 1px; }
.stars i { width: 15px; height: 15px; color: color-mix(in srgb, var(--text) 22%, transparent); }
.stars i.on { color: #f5b301; }
.stars svg { width: 15px; height: 15px; }
.tagline { font-size: 14.5px; color: var(--soft); max-width: 320px; line-height: 1.5; opacity: 0; animation: rise .7s cubic-bezier(.2,.7,.2,1) .2s forwards; }

/* CTA destacado */
.cta { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; margin-top: 14px; padding: 16px 18px; border-radius: 18px; background: var(--brand); color: var(--brand-text); font-weight: 600; font-size: 15.5px; text-decoration: none; box-shadow: 0 10px 26px color-mix(in srgb, var(--brand) 45%, transparent); transition: transform .2s, box-shadow .2s, filter .2s; opacity: 0; animation: rise .6s ease .24s forwards; }
.cta svg { width: 22px; height: 22px; }
.cta:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: 0 18px 40px color-mix(in srgb, var(--brand) 55%, transparent); }
.cta:active { transform: translateY(-1px) scale(.99); }

/* Botões */
.links { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.link { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 18px; color: var(--text); text-decoration: none; font-weight: 500; font-size: 15.5px; transition: transform .22s cubic-bezier(.2,.7,.2,1), background .22s, color .22s, box-shadow .22s, border-color .22s; opacity: 0; transform: translateY(14px); animation: rise .6s cubic-bezier(.2,.7,.2,1) forwards; }
.link .ico { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; color: var(--brand); flex: none; transition: color .22s; }
.link .ico svg { width: 22px; height: 22px; }
.link .label { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link .chev { font-size: 24px; line-height: 1; opacity: .38; transition: transform .22s, opacity .22s; }
.link:active { transform: translateY(-1px) scale(.99); }
/* estilo glass (padrão) */
.estilo-glass .link { background: var(--surface); border: 1px solid var(--border); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 22px color-mix(in srgb, var(--shadow) 55%, transparent); }
.estilo-glass .link:hover, .estilo-glass .link:focus-visible { transform: translateY(-3px); background: var(--brand); color: var(--brand-text); border-color: transparent; box-shadow: 0 16px 36px color-mix(in srgb, var(--brand) 45%, transparent); }
.estilo-glass .link:hover .ico { color: var(--brand-text); }
/* estilo sólido */
.estilo-solido .link { background: var(--brand); color: var(--brand-text); border: none; box-shadow: 0 8px 24px color-mix(in srgb, var(--brand) 38%, transparent); }
.estilo-solido .link .ico { color: var(--brand-text); }
.estilo-solido .link:hover { transform: translateY(-3px); filter: brightness(1.06); }
/* estilo contorno */
.estilo-contorno .link { background: transparent; border: 1.6px solid color-mix(in srgb, var(--brand) 80%, transparent); }
.estilo-contorno .link:hover, .estilo-contorno .link:focus-visible { transform: translateY(-3px); background: var(--brand); color: var(--brand-text); border-color: var(--brand); }
.estilo-contorno .link:hover .ico { color: var(--brand-text); }
.link:hover .chev, .link:focus-visible .chev { opacity: .95; transform: translateX(4px); }

/* Horário (redesenhado) */
.horario { width: 100%; margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 30px; color: #1aa34a; background: color-mix(in srgb, #22c55e 16%, transparent); }
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.5); } 70% { box-shadow: 0 0 0 7px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
.hr-det { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hr-det summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; font-size: 13.5px; font-weight: 600; color: var(--text); }
.hr-det summary::-webkit-details-marker { display: none; }
.hr-det summary > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.hr-det summary svg { width: 16px; height: 16px; color: var(--brand); }
.hr-det summary .ch { color: var(--soft); transition: transform .2s; }
.hr-det[open] summary .ch { transform: rotate(180deg); }
.hr-det ul { list-style: none; padding: 2px 16px 12px; }
.hr-det li { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13.5px; color: var(--soft); border-top: 1px solid var(--border); }
.hr-det li:first-child { border-top: 0; }
.hr-det li b { color: var(--text); font-weight: 500; }
.hr-det li.hoje span { font-weight: 700; color: var(--brand); }
.hr-det li.hoje b { color: var(--text); font-weight: 700; }

/* Sociais */
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: transform .2s, background .2s, color .2s; }
.social a:hover { transform: translateY(-3px); background: var(--brand); color: var(--brand-text); border-color: transparent; }
.social svg { width: 21px; height: 21px; }

.foot { margin-top: auto; padding-top: 30px; }
.foot a { color: var(--soft); font-size: 12px; text-decoration: none; opacity: .85; }
.foot a:hover { opacity: 1; }
.bio-404 { justify-content: center; }
.bio-404 .links { max-width: 320px; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; } .avatar,.name,.tagline,.link,.cta,.rating { opacity: 1 !important; transform: none !important; } }
:focus-visible { outline: 2px solid color-mix(in srgb, var(--brand) 80%, #fff); outline-offset: 3px; }

/* ---- Estilos de fundo ---- */
.fundo-solido .blob, .fundo-degrade .blob, .fundo-imagem .blob { display: none; }
.fundo-solido .bio-bg, .fundo-solido .bio-bg::after { background: var(--bg); }
.fundo-degrade .bio-bg { background: linear-gradient(var(--grad-ang, 165deg), var(--grad1, color-mix(in srgb, var(--brand) 42%, var(--bg))), var(--grad2, var(--bg))); }
.fundo-degrade .bio-bg::after { background: none; }
.fundo-imagem .bio-bg { background-image: var(--fundo-img); background-size: cover; background-position: center; }
.fundo-imagem .bio-bg::after { background: var(--fundo-scrim, color-mix(in srgb, var(--bg) 55%, transparent)); }
.fundo-imagem .grain { opacity: 0; }

/* ---- Raio dos botões ---- */
.raio-pilula .link, .raio-pilula .cta { border-radius: 40px; }
.raio-pilula .avatar { border-radius: 50%; }
.raio-reto .link, .raio-reto .cta { border-radius: 8px; }

/* CTA subtexto + endereço abaixo do "Como chegar" */
.cta-sub { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--text); background: color-mix(in srgb, var(--brand) 16%, transparent); padding: 6px 15px; border-radius: 20px; margin-top: 2px; }
.cta-sub .dot-live { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; animation: pulse 1.8s infinite; }
.comochegar { margin-top: 12px; }
.endereco-txt { font-size: 13px; color: var(--soft); margin-top: 7px; text-align: center; max-width: 320px; line-height: 1.45; }

/* Foto de fundo + degradê por cima (cores personalizadas) */
.fundo-foto_degrade .blob { display: none; }
.fundo-foto_degrade .bio-bg { background-image: var(--fundo-img); background-size: cover; background-position: center; }
.fundo-foto_degrade .bio-bg::after { background: linear-gradient(var(--grad-ang, 165deg), color-mix(in srgb, var(--grad1) 78%, transparent), color-mix(in srgb, var(--grad2) 90%, transparent)); }
.fundo-foto_degrade .grain { opacity: 0; }

/* ---- Conteúdo extra: aviso, vídeo, mapa, depoimentos, FAQ, selo CTA, WhatsApp flutuante ---- */
.aviso { width: 100%; background: var(--brand); color: var(--brand-text); font-size: 13px; font-weight: 700; text-align: center; padding: 9px 14px; border-radius: 12px; margin-bottom: 6px; }
.video { width: 100%; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 10px 30px var(--shadow); margin-top: 4px; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }
.cta { position: relative; }
.cta-badge { position: absolute; top: -9px; right: 16px; background: #fff; color: #111; font-size: 10.5px; font-weight: 800; letter-spacing: .3px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; box-shadow: 0 4px 12px rgba(0,0,0,.28); }
.mapa { width: 100%; border-radius: 16px; overflow: hidden; height: 180px; border: 1px solid var(--border); margin-top: 4px; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
.sec-tit { font-family: var(--fhead, "Fraunces"), Georgia, serif; font-size: 17px; font-weight: 600; color: var(--text); margin: 20px 0 12px; width: 100%; text-align: center; }
.depoimentos { width: 100%; margin-top: 4px; }
.depo-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; }
.depo-track::-webkit-scrollbar { display: none; }
.depo { flex: 0 0 82%; scroll-snap-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 0; text-align: left; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.depo-stars { display: flex; gap: 1px; margin-bottom: 8px; }
.depo-stars i { width: 14px; height: 14px; color: color-mix(in srgb, var(--text) 22%, transparent); } .depo-stars i.on { color: #f5b301; } .depo-stars svg { width: 14px; height: 14px; }
.depo blockquote { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.depo figcaption { margin-top: 10px; font-size: 12.5px; color: var(--soft); font-weight: 600; }
.faq { width: 100%; margin-top: 4px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 15px; font-size: 14px; font-weight: 600; color: var(--text); text-align: left; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .ch { color: var(--soft); transition: transform .2s; } .faq-item[open] .ch { transform: rotate(180deg); }
.faq-item p { margin: 0; padding: 0 15px 14px; font-size: 13.5px; line-height: 1.55; color: var(--soft); }
.wpp-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 50; animation: wppin .4s ease .9s both; }
.wpp-float svg { width: 30px; height: 30px; }
@keyframes wppin { from { opacity: 0; transform: scale(.5); } to { opacity: 1; transform: scale(1); } }

/* ---- Galeria + botões/seções extras ---- */
.galeria { width: 100%; margin-top: 4px; }
.gal-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; -webkit-overflow-scrolling: touch; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-item { flex: 0 0 auto; scroll-snap-align: center; border-radius: 14px; overflow: hidden; border: 1px solid var(--border); }
.gal-item img { display: block; width: 240px; height: 180px; object-fit: cover; }
.sec-divider { width: 100%; text-align: left; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: var(--soft); margin: 16px 4px 4px; }
.link-badge { background: var(--brand); color: var(--brand-text); font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px; flex: none; }

/* Galeria — mídia (Instagram / vídeo) */
.galeria-midia { width: 100%; display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.gal-video { width: 100%; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; box-shadow: 0 10px 30px var(--shadow); }
.gal-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.galeria-midia .instagram-media { margin: 0 auto !important; min-width: 0 !important; width: 100% !important; }

/* Aberto agora acima do CTA + Instagram embed limpo */
.badge.on.aberto-top {
  background: linear-gradient(135deg, #22c55e, #15a34a);
  color: #fff;
  font-size: 14px; font-weight: 700;
  padding: 9px 18px; border-radius: 30px;
  box-shadow: 0 6px 20px rgba(34,197,94,.5), 0 0 0 4px rgba(34,197,94,.12);
  margin-bottom: 6px; letter-spacing: .2px;
  animation: abertoPop .5s cubic-bezier(.2,.9,.3,1.4) both;
}
.badge.on.aberto-top .dot { background: #fff; width: 9px; height: 9px; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: pulseW 1.8s infinite; }
@keyframes pulseW { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 70% { box-shadow: 0 0 0 8px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@keyframes abertoPop { 0% { opacity: 0; transform: scale(.8); } 100% { opacity: 1; transform: scale(1); } }
.gal-ig { width: 100%; max-width: 360px; margin: 0 auto; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #fff; }
/* recorta o rodapé de curtidas/comentários do embed do Instagram — fica só a mídia */
.gal-ig iframe { width: 100%; height: 560px; border: 0; display: block; margin-bottom: -92px; }
