:root {
  --fundo: #FFFFFF;
  --principal: #6E4F8A;
  --destaque: #E8A33D;
  --texto: #2A2230;
  --suave: color-mix(in srgb, var(--texto) 62%, white);
  --card: #FFFFFF;
  --borda: #ECE9EE;
  --sombra: 0 4px 16px -8px rgba(30, 20, 40, .14);
  --cinza: #F6F5F4;
  --fonte-titulo: "Fraunces", Georgia, serif;
  --fonte-texto: "Montserrat", system-ui, sans-serif;
  --raio: 22px;
  --raio-botao: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: #FFFFFF; background: var(--fundo); background-attachment: fixed;
  color: var(--texto); font-family: var(--fonte-texto); font-size: 15px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.pagina { max-width: 480px; margin: 0 auto; padding: 36px 16px 28px; }
#bio { display: flex; flex-direction: column; gap: 14px; }
h1, h2 { font-family: var(--fonte-titulo); font-weight: 600; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 .6em; }
p:last-child { margin-bottom: 0; }

/* Perfil */
.perfil { text-align: center; padding: 4px 8px 10px; }
.perfil-foto {
  width: 112px; height: 112px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 14px;
  border: 4px solid #fff; box-shadow: 0 0 0 2px var(--destaque), 0 10px 26px -12px rgba(30,20,40,.35);
}
.perfil-nome { font-size: 30px; line-height: 1.1; color: var(--texto); }
.perfil-frase { font-family: "Sacramento", cursive; font-size: 27px; line-height: 1.1; color: var(--destaque); margin: 2px 0 10px; }
.perfil-texto { color: var(--suave); font-size: 14.5px; }

/* Cards */
.card {
  display: block; width: 100%; background: var(--card); border: 1px solid var(--borda); border-radius: var(--raio);
  box-shadow: var(--sombra); color: inherit; text-decoration: none; font: inherit; text-align: left;
}
a.card, button.card { cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
a.card:active, button.card:active { transform: scale(.985); }
@media (hover: hover) { a.card:hover, button.card:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -12px rgba(78,52,102,.38); } }

/* Link */
.link { display: flex; align-items: center; gap: 14px; padding: 15px 16px; min-height: 68px; }
.link-icone {
  flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 21px;
  background: var(--cinza); overflow: hidden;
}
.link-textos { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-textos strong { font-weight: 600; font-size: 15.5px; }
.link-textos small { color: var(--suave); font-size: 13px; line-height: 1.35; }
.link-seta { flex: none; width: 22px; height: 22px; color: var(--texto); opacity: .45; }
.link-seta svg { width: 100%; height: 100%; }

.link-icone img { width: 100%; height: 100%; object-fit: cover; }
.link.destaque { border: 2px solid var(--destaque); padding: 12px 14px; }
.link.destaque .link-icone { width: 58px; height: 58px; border-radius: 14px; }
.link.destaque .link-textos strong { font-weight: 700; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 22px;
  border-radius: var(--raio-botao); background: var(--principal); color: #fff; font-weight: 600; font-size: 14.5px;
  text-decoration: none; border: 2px solid var(--principal);
}
.botoes-contorno .botao { background: transparent; color: var(--principal); }

/* Produto único */
.produto-unico { display: flex; gap: 14px; padding: 12px; align-items: stretch; }
.produto-unico.destaque { border: 2px solid var(--destaque); padding: 14px; }
.pu-capa { flex: none; width: 108px; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.pu-capa img { width: 88%; height: auto; }
.pu-textos { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 2px 0; }
.pu-textos strong { font-family: var(--fonte-titulo); font-size: 21px; font-weight: 600; color: var(--texto); line-height: 1.15; }
.pu-textos small { color: var(--suave); font-size: 13px; line-height: 1.4; }
.pu-textos .botao { margin-top: 6px; min-height: 40px; padding: 9px 18px; font-size: 13.5px; }
.selo {
  display: inline-block; background: var(--destaque); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px;
}
.preco { font-weight: 700; color: var(--texto); font-size: 14px; }

/* Vitrine estilo Netflix */
.vitrine h2, .insta h2, .video h2 {
  display: flex; align-items: center; gap: 8px; font-family: var(--fonte-texto); font-size: 13px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--texto); margin: 10px 2px 10px;
}
.vitrine h2::before { content: ""; width: 0; height: 0; border-left: 9px solid var(--destaque); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.insta h2 svg { width: 16px; height: 16px; color: #D6336C; }
.vitrine-trilho {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 16px 12px;
  margin: 0 -16px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.vitrine-trilho::-webkit-scrollbar { display: none; }
.vitrine-card {
  flex: none; width: 40%; max-width: 170px; scroll-snap-align: start; background: var(--card); border: 1px solid var(--borda);
  border-radius: var(--raio); box-shadow: var(--sombra); padding: 8px 8px 12px; font: inherit; color: inherit;
  text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px;
}
.vc-capa { aspect-ratio: 2 / 3; border-radius: 16px; display: grid; place-items: center; overflow: hidden; }
.vc-capa img { width: 82%; height: auto; }
.vc-nome { font-family: var(--fonte-titulo); font-weight: 600; font-size: 16px; line-height: 1.2; padding: 0 4px; min-height: 2.4em; }
.vc-botao { font-size: 12.5px; font-weight: 600; color: var(--principal); padding: 0 4px; }
.vc-botao::after { content: " →"; }

/* WhatsApp */
.whats { background: #E8F7EE; border-color: #BFE6CD; padding: 18px; }
.whats-topo { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
.whats-icone { width: 46px; height: 46px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; flex: none; }
.whats-icone svg { width: 26px; height: 26px; }
.whats h2 { font-size: 19px; color: #1C5E3A; }
.whats small { color: #2F7A50; font-weight: 600; }
.whats p { color: #2D4A3A; font-size: 14px; }
.whats-botao { width: 100%; margin-top: 12px; background: #1E9E57; border-color: #1E9E57; color: #fff; }
.botoes-contorno .whats-botao { background: #1E9E57; color: #fff; }

/* Texto */
.texto { padding: 18px; }
.texto h2 { font-size: 19px; color: var(--texto); margin-bottom: 8px; }

/* Divisor */
.divisor { display: flex; align-items: center; gap: 12px; margin: 10px 4px 0; color: var(--suave); }
.divisor::before, .divisor::after { content: ""; flex: 1; height: 1px; background: var(--borda); }
.divisor span { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }

/* Vídeo */
.video-quadro { position: relative; aspect-ratio: 16 / 9; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); }
.video-quadro iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Instagram */
.insta-item {
  position: relative; flex: none; width: 40%; max-width: 180px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden;
  scroll-snap-align: start; box-shadow: var(--sombra); background: var(--cinza);
}
.insta-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insta-item .insta-play {
  position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; background: linear-gradient(45deg, #F9A33A, #E1306C 55%, #833AB4);
}
.insta-item .insta-play svg { width: 16px; height: 16px; }

/* Redes */
.redes { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.redes a {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: var(--texto);
  background: var(--card); border: 1px solid var(--borda); box-shadow: var(--sombra);
}
.redes svg { width: 21px; height: 21px; }

/* Rodapé */
.rodape { text-align: center; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--suave); margin: 30px 0 0; }

/* Pop-up */
.popup {
  border: 0; padding: 0; width: min(440px, calc(100% - 24px)); max-height: calc(100% - 32px); border-radius: 26px;
  background: var(--card); color: var(--texto); box-shadow: 0 30px 60px -20px rgba(40,25,60,.5); overflow: auto;
}
.popup::backdrop { background: rgba(45, 30, 60, .45); backdrop-filter: blur(3px); }
.popup-fechar {
  position: sticky; top: 10px; float: right; margin: 10px 10px -46px 0; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.9); color: var(--texto); font-size: 22px; line-height: 1; cursor: pointer;
}
.popup-capa { height: 210px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.popup-capa img { max-height: 170px; max-width: 80%; width: auto; height: auto; }
.popup-corpo { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.popup-corpo h2 { font-size: 26px; color: var(--texto); }
.popup-corpo p { color: var(--suave); }
.popup-corpo .preco { color: var(--texto); font-size: 17px; }
.popup-corpo .botao { width: 100%; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
