/* ====================================================================
   LINKAR.ME — Folha de estilos principal
   Paleta: branco #FFFFFF · preto #0D0D0F · vermelho #E11D2E
   Tipografia: Sora (títulos) + Inter (texto)
   ==================================================================== */

:root {
  --lc-red: #e11d2e;
  --lc-red-dark: #b8121f;
  --lc-red-soft: #fdecee;
  --lc-black: #0d0d0f;
  --lc-ink: #2b2b31;
  --lc-muted: #6b6b73;
  --lc-line: #e8e8ec;
  --lc-surface: #f6f6f8;
  --lc-white: #ffffff;
  --lc-radius: 14px;
  --lc-shadow: 0 10px 30px rgba(13, 13, 15, 0.08);
}

/* ---------- Base ---------- */
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--lc-ink);
  background: var(--lc-white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, .display-font {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--lc-black);
  letter-spacing: -0.02em;
}
a { color: var(--lc-red); text-decoration: none; }
a:hover { color: var(--lc-red-dark); }
.text-muted-lc { color: var(--lc-muted); }
.section { padding: 5rem 0; }
.section-alt { background: var(--lc-surface); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lc-red);
  margin-bottom: 0.75rem;
}

/* ---------- Botões ---------- */
.btn { border-radius: 10px; font-weight: 600; padding: 0.6rem 1.35rem; }
.btn-lc-primary {
  background: var(--lc-red);
  border: 1px solid var(--lc-red);
  color: #fff;
}
.btn-lc-primary:hover { background: var(--lc-red-dark); border-color: var(--lc-red-dark); color: #fff; }
.btn-lc-dark { background: var(--lc-black); border: 1px solid var(--lc-black); color: #fff; }
.btn-lc-dark:hover { background: #26262c; color: #fff; }
.btn-lc-outline { background: #fff; border: 1.5px solid var(--lc-line); color: var(--lc-black); }
.btn-lc-outline:hover { border-color: var(--lc-black); color: var(--lc-black); }
.btn-whatsapp { background: #1fb355; border: 1px solid #1fb355; color: #fff; }
.btn-whatsapp:hover { background: #179445; color: #fff; }

/* ---------- Header ---------- */
.lc-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lc-line);
}
.lc-navbar .navbar-brand { font-family: "Sora", sans-serif; font-weight: 800; color: var(--lc-black); }
.lc-navbar .navbar-brand .dot { color: var(--lc-red); }
.lc-navbar .nav-link { color: var(--lc-ink); font-weight: 500; }
.lc-navbar .nav-link:hover { color: var(--lc-red); }

/* ---------- Hero ---------- */
.hero { padding: 6rem 0 5rem; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; line-height: 1.12; }
.hero h1 .mark { color: var(--lc-red); }
.hero .lead { color: var(--lc-muted); max-width: 34rem; }
.hero-badges .badge {
  background: var(--lc-surface);
  color: var(--lc-ink);
  border: 1px solid var(--lc-line);
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
}
.hero-badges .badge i { color: var(--lc-red); }

/* Mockup de celular (assinatura visual da página) */
.phone-mock {
  width: 290px;
  border-radius: 38px;
  background: var(--lc-black);
  padding: 12px;
  box-shadow: var(--lc-shadow);
  margin-inline: auto;
  position: relative;
}
.phone-screen {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  padding: 1.6rem 1rem 1.2rem;
  text-align: center;
  min-height: 480px;
}
.phone-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--lc-black);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem;
  margin-bottom: 0.6rem;
}
.phone-link {
  display: block;
  border: 1.5px solid var(--lc-line);
  border-radius: 12px;
  padding: 0.65rem;
  margin: 0.5rem 0;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--lc-black);
}
.phone-link.red { background: var(--lc-red); border-color: var(--lc-red); color: #fff; }
.phone-product {
  display: flex; gap: 0.6rem; align-items: center;
  border: 1.5px solid var(--lc-line); border-radius: 12px;
  padding: 0.5rem; margin: 0.5rem 0; text-align: left;
}
.phone-product .thumb {
  width: 44px; height: 44px; border-radius: 9px;
  background: var(--lc-surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--lc-red); font-size: 1.2rem;
}
.phone-product small { color: var(--lc-muted); display: block; }
.phone-product .price { color: var(--lc-red); font-weight: 700; font-size: 0.9rem; }

/* Balão flutuante de pedido no WhatsApp */
.chat-bubble {
  position: absolute;
  right: -70px; bottom: 70px;
  width: 230px;
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: 16px 16px 16px 4px;
  box-shadow: var(--lc-shadow);
  padding: 0.85rem 1rem;
  font-size: 0.8rem;
  text-align: left;
  animation: float 4s ease-in-out infinite;
}
.chat-bubble .from { color: #1fb355; font-weight: 700; font-size: 0.72rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .chat-bubble { animation: none; } }
@media (max-width: 991px) { .chat-bubble { right: 0; } }

/* ---------- Cards ---------- */
.lc-card {
  background: #fff;
  border: 1px solid var(--lc-line);
  border-radius: var(--lc-radius);
  padding: 1.75rem;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.lc-card:hover { transform: translateY(-4px); box-shadow: var(--lc-shadow); border-color: #dcdce2; }
.lc-card .icon-circle {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--lc-red-soft);
  color: var(--lc-red);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* ---------- Planos ---------- */
.plan-card {
  background: #fff;
  border: 1.5px solid var(--lc-line);
  border-radius: var(--lc-radius);
  padding: 2rem 1.75rem;
  height: 100%;
  position: relative;
}
.plan-card.recommended { border-color: var(--lc-red); box-shadow: var(--lc-shadow); }
.plan-card .ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--lc-red); color: #fff;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.plan-price { font-family: "Sora", sans-serif; font-size: 2.3rem; font-weight: 800; color: var(--lc-black); }
.plan-price small { font-size: 0.95rem; color: var(--lc-muted); font-weight: 500; }
.plan-card ul { list-style: none; padding: 0; margin: 1.25rem 0; }
.plan-card ul li { padding: 0.35rem 0; font-size: 0.92rem; }
.plan-card ul li i.ok { color: var(--lc-red); }
.plan-card ul li.blocked { color: var(--lc-muted); }
.plan-card ul li.blocked i { color: #c6c6cd; }

/* ---------- Tabela grátis x pago ---------- */
.feature-row {
  display: flex; align-items: center; gap: 1rem;
  background: #fff; border: 1px solid var(--lc-line);
  border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 0.65rem;
}
.feature-row i.feat-icon { color: var(--lc-red); font-size: 1.2rem; }
.tag-free, .tag-paid {
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.7rem;
  border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.tag-free { background: var(--lc-black); color: #fff; }
.tag-paid { background: var(--lc-red); color: #fff; }

/* ---------- Passos ---------- */
.step-num {
  font-family: "Sora", sans-serif;
  font-size: 2.6rem; font-weight: 800;
  color: var(--lc-red-soft);
  -webkit-text-stroke: 1.5px var(--lc-red);
  line-height: 1;
}

/* ---------- FAQ ---------- */
.accordion-lc .accordion-item { border: 1px solid var(--lc-line); border-radius: 12px !important; margin-bottom: 0.6rem; overflow: hidden; }
.accordion-lc .accordion-button { font-weight: 600; color: var(--lc-black); background: #fff; }
.accordion-lc .accordion-button:not(.collapsed) { background: var(--lc-red-soft); color: var(--lc-red-dark); box-shadow: none; }

/* ---------- Footer ---------- */
.lc-footer { background: var(--lc-black); color: #c9c9cf; padding: 3.5rem 0 1.5rem; }
.lc-footer h6 { color: #fff; font-family: "Sora", sans-serif; }
.lc-footer a { color: #c9c9cf; }
.lc-footer a:hover { color: #fff; }
.lc-footer .brand { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; }
.lc-footer .brand .dot { color: var(--lc-red); }

/* ====================================================================
   ÁREA ADMINISTRATIVA / ÁREA DO CLIENTE
   ==================================================================== */
.panel-body { background: var(--lc-surface); min-height: 100vh; }
.sidebar {
  background: var(--lc-black);
  min-height: 100vh;
  width: 250px;
  position: fixed; top: 0; left: 0;
  padding: 1.25rem 0.85rem;
  z-index: 1040;
  transition: transform 0.2s ease;
}
.sidebar .brand { font-family: "Sora", sans-serif; font-weight: 800; color: #fff; font-size: 1.15rem; padding: 0 0.75rem 1rem; display: block; }
.sidebar .brand .dot { color: var(--lc-red); }
.sidebar .nav-link {
  color: #b9b9c2; border-radius: 9px; padding: 0.55rem 0.8rem;
  font-size: 0.92rem; display: flex; align-items: center; gap: 0.65rem;
}
.sidebar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.sidebar .nav-link.active { color: #fff; background: var(--lc-red); }
.main-content { margin-left: 250px; padding: 1.75rem; }
@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; }
}
.panel-card { background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-radius); padding: 1.5rem; }
.stat-card { background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-radius); padding: 1.25rem 1.4rem; }
.stat-card .value { font-family: "Sora", sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--lc-black); }
.stat-card .label { font-size: 0.82rem; color: var(--lc-muted); }
.stat-card .icon { color: var(--lc-red); font-size: 1.4rem; }
.table thead th { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--lc-muted); border-bottom-width: 1px; }
.table td { vertical-align: middle; }
.badge-on { background: var(--lc-red-soft); color: var(--lc-red-dark); }
.badge-off { background: var(--lc-surface); color: var(--lc-muted); }
.thumb-sm { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; border: 1px solid var(--lc-line); }

/* Tela de login dos painéis */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--lc-surface); padding: 1rem; }
.auth-card { background: #fff; border: 1px solid var(--lc-line); border-radius: 18px; box-shadow: var(--lc-shadow); width: 100%; max-width: 420px; padding: 2.25rem; }
.auth-card .brand { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--lc-black); }
.auth-card .brand .dot { color: var(--lc-red); }
.form-control:focus, .form-select:focus { border-color: var(--lc-red); box-shadow: 0 0 0 0.2rem rgba(225, 29, 46, 0.12); }

/* ====================================================================
   PÁGINA PÚBLICA DE BIO
   ==================================================================== */
.bio-body { min-height: 100vh; padding: 2.5rem 1rem 2rem; }
.bio-body.theme-claro { background: var(--lc-surface); color: var(--lc-ink); }
.bio-body.theme-escuro { background: var(--lc-black); color: #e7e7ec; }
.bio-body.theme-escuro h1 { color: #fff; }
.bio-body.theme-vermelho { background: linear-gradient(165deg, var(--lc-red) 0%, var(--lc-red-dark) 100%); color: #fff; }
.bio-body.theme-vermelho h1 { color: #fff; }
.bio-wrap { max-width: 470px; margin: 0 auto; text-align: center; }
.bio-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: var(--lc-shadow); }
.bio-photo-fallback {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--lc-black); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 2rem;
  border: 3px solid #fff; box-shadow: var(--lc-shadow);
}
.bio-btn {
  display: block; width: 100%;
  background: #fff; color: var(--lc-black);
  border: 1.5px solid var(--lc-line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.bio-btn:hover { transform: translateY(-2px); box-shadow: var(--lc-shadow); color: var(--lc-black); }
.bio-btn.bio-wa { background: #1fb355; border-color: #1fb355; color: #fff; }
.bio-btn.bio-wa:hover { color: #fff; }
.bio-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--lc-line);
  color: var(--lc-black); font-size: 1.2rem; margin: 0 0.3rem;
}
.bio-footer { margin-top: 2.5rem; font-size: 0.8rem; opacity: 0.75; }
.bio-footer a { color: inherit; font-weight: 700; }

/* ====================================================================
   LOJA PÚBLICA
   ==================================================================== */
.store-header { background: #fff; border-bottom: 1px solid var(--lc-line); }
.store-logo { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.store-banner { border-radius: var(--lc-radius); width: 100%; max-height: 320px; object-fit: cover; }
.cat-pill {
  display: inline-block; background: #fff; border: 1.5px solid var(--lc-line);
  border-radius: 999px; padding: 0.45rem 1.1rem; font-weight: 600; font-size: 0.88rem;
  color: var(--lc-black); margin: 0 0.35rem 0.6rem 0;
}
.cat-pill.active, .cat-pill:hover { border-color: var(--lc-red); color: var(--lc-red); }
.product-card {
  background: #fff; border: 1px solid var(--lc-line); border-radius: var(--lc-radius);
  overflow: hidden; height: 100%; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--lc-shadow); }
.product-card .img-wrap { position: relative; aspect-ratio: 1/1; background: var(--lc-surface); }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.product-card .img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--lc-muted); font-size: 2rem; }
.discount-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--lc-red); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 999px;
}
.product-card .body { padding: 1rem; display: flex; flex-direction: column; flex: 1; }
.product-card .cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--lc-muted); }
.product-card .name { font-weight: 700; color: var(--lc-black); margin: 0.2rem 0 0.4rem; }
.price-now { color: var(--lc-red); font-weight: 800; font-family: "Sora", sans-serif; }
.price-old { color: var(--lc-muted); text-decoration: line-through; font-size: 0.85rem; }

/* ===== Promoção com desconto travado ===== */
.promo-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--lc-red); color: #fff;
  font-size: .68rem; font-weight: 800; letter-spacing: .05em;
  padding: .3rem .55rem; border-radius: 999px;
  display: inline-flex; align-items: center; gap: .3rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  animation: promo-pulse 2s ease-in-out infinite;
}
@keyframes promo-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.promo-hint {
  font-size: .72rem; color: var(--lc-red); font-weight: 600; margin-top: .2rem;
}
.promo-blur { filter: blur(7px); user-select: none; }
.promo-box {
  border: 2px dashed var(--lc-red); border-radius: var(--lc-radius);
  overflow: hidden; background: #fff;
}
.promo-box-head {
  background: var(--lc-red); color: #fff; padding: .8rem 1rem;
  display: flex; gap: .7rem; align-items: flex-start;
}
.promo-box-head i { font-size: 1.2rem; margin-top: .1rem; }
.promo-box-body { padding: 1rem; }
