/* ==========================================================================
   TrioDental — Black Friday (/black-friday)
   Complementa style.css: só o que é específico desta página.
   ========================================================================== */

:root {
  --bf-bg: #0b1120;
  --bf-bg-2: #111a2e;
  --bf-line: rgba(255, 255, 255, .12);
  --bf-text: #cbd5e1;
  --bf-hot: #facc15;
  --bf-hot-dark: #eab308;
}

/* ---------- Barra de urgência (topo) ---------- */
.bf-bar { background: var(--bf-hot); color: var(--ink); font-weight: 700; font-size: .9rem; text-align: center; padding: 9px 16px; line-height: 1.35; }
.bf-bar b { font-weight: 800; letter-spacing: .02em; }
.bf-bar .bf-bar-cd { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Header escuro ---------- */
.bf .site-header { background: rgba(11, 17, 32, .9); }
.bf .site-header.scrolled { border-color: var(--bf-line); box-shadow: 0 1px 0 rgba(0, 0, 0, .4); }
.bf .site-header .brand { color: #fff; }
.bf .header-cta { margin-left: auto; }

/* ---------- Botão Black Friday ---------- */
.btn-bf { background: var(--bf-hot); color: var(--ink); box-shadow: 0 10px 28px -8px rgba(250, 204, 21, .55); }
.btn-bf:hover { background: var(--bf-hot-dark); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Seções escuras ---------- */
.bf-dark { background: var(--bf-bg); color: var(--bf-text); }
.bf-dark h1, .bf-dark h2, .bf-dark h3 { color: #fff; }
.bf-dark .section-head p { color: #94a3b8; }
.bf-dark .section-head .eyebrow { background: rgba(250, 204, 21, .14); color: var(--bf-hot); }
.hot { color: var(--bf-hot); }

/* ---------- Hero ---------- */
.bf-hero { position: relative; overflow: hidden; padding: 56px 0 80px;
  background: radial-gradient(90% 80% at 85% 10%, rgba(13, 148, 136, .35) 0%, transparent 60%),
              radial-gradient(60% 60% at 0% 100%, rgba(250, 204, 21, .10) 0%, transparent 60%), var(--bf-bg); }
.bf-hero .pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); background: var(--bf-hot); padding: 7px 15px; border-radius: 999px; margin-bottom: 18px; }
.bf-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.7rem); margin-bottom: 18px; }
.bf-hero .lead { font-size: 1.12rem; color: #94a3b8; margin-bottom: 22px; max-width: 560px; }
.bf-hero .lead b { color: #fff; }
.bf-price-strip { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 26px; }
.bf-price-strip s { color: #64748b; font-weight: 600; }
.bf-price-strip strong { font-size: 2rem; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.bf-price-strip span { color: #94a3b8; font-weight: 600; }
.bf-hero .hero-actions { margin-bottom: 30px; }
.bf-hero .hero-media img { border-color: var(--bf-line); box-shadow: 0 30px 80px -20px rgba(13, 148, 136, .55); }
.bf-hero .hero-media .blob { background: radial-gradient(closest-side, rgba(250, 204, 21, .18), transparent); }

/* ---------- Contagem regressiva ---------- */
.countdown-label { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #94a3b8; margin-bottom: 10px; }
.countdown { display: flex; gap: 10px; }
.countdown > div { min-width: 70px; background: var(--bf-bg-2); border: 1px solid var(--bf-line); border-radius: 12px; padding: 10px 8px; text-align: center; }
.countdown b { display: block; font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.countdown-ended { display: none; font-weight: 700; color: var(--bf-hot); }
.promo-ended .countdown, .promo-ended .countdown-label { display: none; }
.promo-ended .countdown-ended { display: block; }

/* ---------- Planos ---------- */
.bf-plans-section { padding-top: 24px; }
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; gap: 26px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--bf-bg-2); border: 1px solid var(--bf-line);
  border-radius: 22px; padding: 36px 32px; transition: transform .18s ease, border-color .2s ease, box-shadow .2s ease; }
.plan:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, .25); }
.plan-best { border: 2px solid var(--bf-hot); box-shadow: 0 30px 70px -30px rgba(250, 204, 21, .45); }
.plan-best:hover { border-color: var(--bf-hot); }
.plan-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--bf-hot); color: var(--ink);
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.plan-tag { display: inline-block; align-self: flex-start; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #5eead4; background: rgba(13, 148, 136, .18); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan-best .plan-tag { color: var(--bf-hot); background: rgba(250, 204, 21, .14); }
.plan h3 { font-size: 1.45rem; margin-bottom: 6px; }
.plan-sub { color: #94a3b8; font-size: .97rem; margin-bottom: 20px; }
.plan-old { color: #64748b; font-weight: 600; font-size: .95rem; }
.plan-old s { text-decoration-thickness: 2px; }
.plan .amount { display: flex; align-items: baseline; gap: 6px; margin: 2px 0 4px; color: #fff; }
.plan .amount .pre { font-size: 1.05rem; font-weight: 700; color: var(--bf-text); margin-right: 2px; }
.plan .amount .cur { font-size: 1.3rem; font-weight: 700; }
.plan .amount .val { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.plan .amount .per { color: #94a3b8; font-weight: 600; }
.plan-note { color: #94a3b8; font-size: .92rem; margin-bottom: 16px; }
.plan-save { display: inline-block; align-self: flex-start; font-weight: 800; font-size: .88rem; color: var(--ink); background: #5eead4;
  border-radius: 999px; padding: 6px 14px; margin-bottom: 22px; }
.plan-best .plan-save { background: var(--bf-hot); }
.plan-list { list-style: none; padding: 0; margin: 0 0 28px; }
.plan-list li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-top: 1px solid var(--bf-line); color: #e2e8f0; font-weight: 600; font-size: .97rem; }
.plan-list li:first-child { border-top: 0; }
.plan-list svg { width: 19px; height: 19px; color: var(--wa); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; }
.plan .btn-primary { box-shadow: 0 10px 24px -8px rgba(13, 148, 136, .7); }
.plan-pay-note { text-align: center; color: #64748b; font-size: .82rem; font-weight: 600; margin: 10px 0 0; }

/* ---------- Testar antes de pagar (teste grátis) ---------- */
.bf-trial { max-width: 906px; margin: 28px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: rgba(13, 148, 136, .12); border: 1px dashed rgba(45, 212, 191, .55); border-radius: 22px; padding: 24px 28px; }
.bf-trial strong { display: block; color: #fff; font-size: 1.15rem; margin-bottom: 4px; }
.bf-trial p { margin: 0; color: #cbd5e1; font-size: .96rem; line-height: 1.5; }
.bf-trial .btn { flex: none; }

/* ---------- Como funciona (pagamento → WhatsApp → cadastro) ---------- */
.bf-steps { max-width: 906px; margin: 36px auto 0; background: var(--bf-bg-2); border: 1px solid var(--bf-line); border-radius: 22px;
  padding: 32px; text-align: center; }
.bf-steps h3 { font-size: 1.3rem; margin-bottom: 22px; }
.bf-steps ol { list-style: none; padding: 0; margin: 0 0 26px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.bf-steps li { display: flex; gap: 14px; align-items: flex-start; }
.bf-steps .step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bf-hot); color: var(--ink); font-weight: 800; }
.bf-steps strong { display: block; color: #fff; margin-bottom: 4px; }
.bf-steps li p { margin: 0; color: #94a3b8; font-size: .94rem; line-height: 1.5; }

.plans-foot { text-align: center; margin-top: 30px; }
.plans-foot p { color: #94a3b8; font-size: .95rem; margin-bottom: 14px; }
.plans-foot .price-badges span { color: #94a3b8; }

/* ---------- Faça as contas ---------- */
.savings { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.savings table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.savings th, .savings td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); }
.savings thead th { border-top: 0; background: var(--bg-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.savings td { color: var(--ink); font-weight: 600; }
.savings td s { color: var(--muted); font-weight: 500; }
.savings td.bf-col { color: var(--primary-dark); font-weight: 800; }
.savings td .eco { display: inline-block; margin-left: 6px; font-size: .82rem; font-weight: 800; color: var(--ink); background: var(--bf-hot); border-radius: 999px; padding: 3px 10px; }
.savings-note { text-align: center; color: var(--muted); font-size: .88rem; margin: 16px auto 0; max-width: 820px; }

/* ---------- Incluso ---------- */
.included-stats { margin-bottom: 48px; }
.bf-training { display: flex; align-items: center; gap: 18px; margin-top: 22px; padding: 24px 28px; border-radius: var(--radius);
  background: var(--bg-soft); border: 1px solid var(--line); }
.bf-training .fico { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--wa)); color: #fff; }
.bf-training .fico svg { width: 26px; height: 26px; }
.bf-training h3 { font-size: 1.18rem; margin-bottom: 6px; }
.bf-training p { margin: 0; color: var(--muted); }

/* ---------- CTA final ---------- */
.bf-final { text-align: center; background: linear-gradient(135deg, var(--bf-bg) 0%, #0f2a2a 100%); border: 1px solid var(--bf-line);
  border-radius: 28px; padding: 56px 32px; color: var(--bf-text); }
.bf-final h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.bf-final p { max-width: 560px; margin: 0 auto 26px; font-size: 1.1rem; color: #94a3b8; }
.bf-final .countdown { justify-content: center; margin-bottom: 30px; }
.bf-final .countdown-label { text-align: center; }
.bf-final .countdown-ended { margin-bottom: 24px; }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .bf-hero .hero-media { order: 0; }
  .plans { grid-template-columns: minmax(0, 480px); }
  .plan-best { order: -1; } /* melhor oferta primeiro no celular */
  .bf-steps { max-width: 480px; }
  .bf-steps ol { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .bf-hero { padding: 36px 0 56px; }
  .plan { padding: 32px 22px; }
  .bf-steps { padding: 26px 20px; }
  .bf-trial { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
  .bf-trial .btn { width: 100%; }
  .bf-training { flex-direction: column; text-align: center; padding: 24px 20px; }
  .bf-steps .btn { width: 100%; padding-left: 18px; padding-right: 18px; }
  .countdown > div { min-width: 0; flex: 1; }
  .countdown b { font-size: 1.5rem; }
  .savings th, .savings td { padding: 12px 12px; font-size: .9rem; }
  .savings td .eco { display: block; width: max-content; margin: 6px 0 0; }
  .bf-final { padding: 40px 20px; }
}
