/* ==========================================================================
   SEGREDOS DE MULHER — linkbio.css (página /links)
   Arquivo autônomo e pequeno (a página não carrega o style.css do site).
   Tokens copiados do :root de assets/css/style.css — mantenha os dois iguais.
   ========================================================================== */
:root {
  --brand: #F22E70;              /* style.css: --brand */
  --brand-deep: #D41A5A;         /* style.css: --brand-deep (texto branco: AA) */
  --brand-soft: #FFEEF4;         /* style.css: --brand-soft */
  --brand-light: #FFD6E4;        /* style.css: --brand-light */
  --text: #3B3636;               /* style.css: --text */
  --text-muted: #6B6666;         /* style.css: --text-muted (versão com contraste AA) */
  --border: #F0E6EA;             /* style.css: --border */
  --whatsapp-deep: #157A44;      /* style.css: --whatsapp-deep (texto branco: 5,4:1) */
  --whatsapp-deep-hover: #0F6336;
  --font-serif: 'Fredoka', 'Outfit', system-ui, sans-serif;
  --font-sans: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-script: 'Dancing Script', 'Brush Script MT', cursive;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --btn-radius: 999px;
  --page-bg: radial-gradient(120% 70% at 50% 0%, #FFE1EC 0%, #FFF6F9 55%, #FFFFFF 100%);
  --ink: var(--text);
  --ink-soft: var(--text-muted);
}
html[data-lb-shape="rounded"] { --btn-radius: 16px; }
html[data-lb-shape="square"] { --btn-radius: 6px; }
html[data-lb-style="rosa"] {
  --page-bg: radial-gradient(120% 70% at 50% 0%, #FF5C93 0%, var(--brand) 45%, var(--brand-deep) 100%);
  --ink: #FFFFFF; --ink-soft: rgba(255, 255, 255, .92);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; background: var(--page-bg); background-attachment: fixed; color: var(--ink); font: 400 16px/1.5 var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand-deep); outline-offset: 3px; }
html[data-lb-style="rosa"] :focus-visible { outline-color: #fff; }
.lb-icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
em { font-family: var(--font-script); font-style: normal; font-weight: 700; color: var(--brand-deep); }
html[data-lb-style="rosa"] em { color: #fff; }

/* Faixa de aviso */
.lb-aviso { margin: 0; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 16px; background: var(--brand-deep); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.lb-aviso .lb-icon { width: 11px; height: 11px; }
html[data-lb-style="rosa"] .lb-aviso { background: rgba(0, 0, 0, .18); }

/* Coluna única, centralizada */
.lb-wrap { width: min(100%, 480px); margin: 0 auto; padding: 28px 16px 36px; }

/* Perfil */
.lb-profile { text-align: center; margin-bottom: 22px; }
.lb-avatar { width: 96px; height: 96px; margin: 0 auto 12px; border-radius: 28px; border: 4px solid #fff; box-shadow: 0 14px 30px -14px rgba(212, 26, 90, .6); object-fit: cover; background: var(--brand); }
.lb-name { margin: 0; font: 700 clamp(1.6rem, 1.2rem + 2.4vw, 2rem)/1.15 var(--font-serif); color: var(--ink); }
.lb-name em { font-size: 1.12em; }
.lb-bio { margin: 6px auto 0; max-width: 34ch; color: var(--ink-soft); font-size: 15.5px; }
.lb-sub { margin: 6px 0 0; display: inline-flex; align-items: center; gap: 5px; color: var(--ink-soft); font-size: 13.5px; font-weight: 500; }
.lb-sub .lb-icon { width: 15px; height: 15px; }
.lb-socials { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.lb-socials a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--brand-deep); box-shadow: 0 6px 16px -10px rgba(212, 26, 90, .55); transition: transform .2s var(--ease-out); }
.lb-socials a:hover { transform: translateY(-2px); }

/* Botões */
.lb-blocks { display: grid; gap: 12px; }
.lb-btn {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 10px 18px 10px 12px;
  border-radius: var(--btn-radius); text-decoration: none; border: 1.5px solid transparent;
  box-shadow: 0 10px 24px -16px rgba(13, 13, 13, .45); transition: transform .18s var(--ease-out), box-shadow .18s, background-color .18s;
}
.lb-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -16px rgba(13, 13, 13, .5); }
.lb-btn:active { transform: scale(.98); }
.lb-btn__icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .18); flex: none; }
.lb-btn__text { flex: 1; min-width: 0; display: grid; text-align: left; line-height: 1.25; }
.lb-btn__text b { font-weight: 600; font-size: 16px; }
.lb-btn__text small { font-size: 13px; opacity: .9; overflow: hidden; text-overflow: ellipsis; }
.lb-btn__go { width: 18px; height: 18px; opacity: .85; }
.lb-btn--primary { background: var(--whatsapp-deep); color: #fff; min-height: 64px; }
.lb-btn--primary:hover { background: var(--whatsapp-deep-hover); }
.lb-btn--wa-soft { background: #fff; color: var(--whatsapp-deep); border-color: #CFE8DA; }
.lb-btn--wa-soft .lb-btn__icon { background: #E7F5EC; }
.lb-btn--vip { background: var(--brand-deep); color: #fff; }
.lb-btn--vip:hover { background: #BD144E; }
.lb-btn--link { background: #fff; color: var(--text); border-color: var(--border); }
.lb-btn--link .lb-btn__icon { background: var(--brand-soft); color: var(--brand-deep); }
html[data-lb-style="rosa"] .lb-btn--vip { background: #fff; color: var(--brand-deep); }
html[data-lb-style="rosa"] .lb-btn--vip .lb-btn__icon { background: var(--brand-soft); }
html[data-lb-style="rosa"] .lb-btn--link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .75); box-shadow: none; }
html[data-lb-style="rosa"] .lb-btn--link .lb-btn__icon { background: rgba(255, 255, 255, .18); color: #fff; }
.lb-badge { flex: none; padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--brand-deep); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.lb-btn--link .lb-badge { background: var(--brand-deep); color: #fff; }

/* Cartões de destaque */
.lb-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.lb-card { display: grid; text-decoration: none; background: #fff; color: var(--text); border-radius: 18px; overflow: hidden; box-shadow: 0 12px 26px -18px rgba(13, 13, 13, .5); transition: transform .18s var(--ease-out); }
.lb-card:hover { transform: translateY(-3px); }
.lb-card__img { aspect-ratio: 4 / 5; background: var(--brand-light); display: grid; place-items: center; color: var(--brand-deep); overflow: hidden; }
.lb-card__img img { width: 100%; height: 100%; object-fit: cover; }
.lb-card__body { display: grid; gap: 2px; padding: 10px 12px 12px; }
.lb-card__body b { font: 600 17px/1.2 var(--font-serif); }
.lb-card__cta { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-deep); font-size: 13px; font-weight: 600; }
.lb-card__cta .lb-icon { width: 14px; height: 14px; }

/* Peças mais vendidas */
.lb-sec { margin-top: 10px; }
.lb-sec__title { margin: 6px 0 10px; text-align: center; font: 700 1.25rem/1.2 var(--font-serif); color: var(--ink); }
.lb-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lb-product { display: grid; gap: 3px; text-decoration: none; background: #fff; color: var(--text); border-radius: 16px; overflow: hidden; padding-bottom: 10px; box-shadow: 0 12px 26px -18px rgba(13, 13, 13, .5); }
.lb-product__img { aspect-ratio: 3 / 4; background: var(--brand-soft); overflow: hidden; }
.lb-product__img img { width: 100%; height: 100%; object-fit: cover; }
.lb-product__name { padding: 6px 10px 0; font-size: 14px; font-weight: 500; line-height: 1.3; }
.lb-product__price { padding: 0 10px; font-weight: 700; color: var(--brand-deep); font-size: 14.5px; }
.lb-product__price s { color: var(--text-muted); font-weight: 400; font-size: 12.5px; }

/* Diferenciais */
.lb-perks { list-style: none; margin: 6px 0 0; padding: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; background: rgba(255, 255, 255, .75); border: 1px solid var(--border); border-radius: 18px; color: var(--text); }
.lb-perks li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.3; }
.lb-perks .lb-icon { color: var(--brand-deep); width: 18px; height: 18px; margin-top: 1px; }
.lb-perks b { display: block; font-size: 13px; }
.lb-perks small { color: var(--text-muted); }
html[data-lb-style="rosa"] .lb-perks { background: rgba(255, 255, 255, .95); border-color: transparent; }

/* Instagram */
.lb-insta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lb-insta a { aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--brand-soft); }
.lb-insta img { width: 100%; height: 100%; object-fit: cover; }

/* Rodapé */
.lb-footer { margin-top: 26px; text-align: center; font-size: 12.5px; color: var(--ink-soft); }
.lb-footer p { margin: 4px 0; display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }
.lb-footer .lb-icon { width: 14px; height: 14px; }
.lb-footer a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Página desligada no painel */
.lb-off { text-align: center; padding-top: 18vh; }
.lb-off .lb-btn { margin-top: 20px; justify-content: center; }

/* Entrada suave */
@media (prefers-reduced-motion: no-preference) {
  .lb-profile, .lb-blocks > * { animation: lbIn .5s var(--ease-out) both; }
  .lb-blocks > :nth-child(2) { animation-delay: .05s; } .lb-blocks > :nth-child(3) { animation-delay: .1s; }
  .lb-blocks > :nth-child(4) { animation-delay: .15s; } .lb-blocks > :nth-child(n+5) { animation-delay: .2s; }
}
@keyframes lbIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .lb-btn, .lb-card, .lb-socials a { transition: none; } .lb-btn:hover, .lb-card:hover { transform: none; } }
.lb-icon[fill="currentColor"] { fill: currentColor; stroke: none; }
.lb-btn--primary .lb-btn__text small, .lb-btn--vip .lb-btn__text small { opacity: 1; }

/* Links legais (sempre visíveis) */
.lb-legal { margin: 14px 0 0; text-align: center; font-size: 12px; color: var(--ink-soft); }
.lb-legal a, .lb-linkbtn { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.lb-linkbtn { padding: 0; border: 0; background: none; font: inherit; cursor: pointer; }
