/* ==========================================================================
   Numax — Página BoF: Numax vs Webdiet
   Usa os design tokens de tokens.css. Escopo: classes .bof-* + componentes locais.
   ========================================================================== */

/* ---------- Helpers locais ---------- */
.bof-hero .container,
.bof-tldr .container,
.bof-table-section .container,
.bof-dimensions .container,
.bof-scenarios .container,
.bof-social .container,
.bof-faq .container,
.bof-final-cta .container {
  width: min(100% - 40px, 1080px);
  margin-inline: auto;
}

.btn,
.bof-hero__cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #fff;
  background: var(--color-blue);
  box-shadow: 0 12px 30px rgba(0, 86, 183, .22);
}
.btn-primary:hover { background: var(--color-blue-700); }
.btn-ghost {
  color: var(--color-blue);
  background: #fff;
  border-color: rgba(0, 86, 183, .25);
}
.btn-ghost:hover { background: var(--color-blue-50); }

/* ---------- 1. HERO ---------- */
.bof-hero {
  padding: 140px 0 64px;
  background:
    radial-gradient(circle at 82% 12%, rgba(0, 86, 183, .10), transparent 36%),
    linear-gradient(180deg, #fff 0, #f7f9fc 100%);
  text-align: center;
}
.bof-eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--color-blue);
  background: #fff;
  border: 1px solid rgba(0, 86, 183, .15);
  box-shadow: 0 10px 24px rgba(17, 30, 54, .05);
}
.bof-hero h1 {
  margin: 0 auto;
  max-width: 760px;
  color: var(--color-charcoal);
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.bof-hero__sub {
  max-width: 600px;
  margin: 20px auto 0;
  color: var(--color-gray-500);
  font-size: 16px;
  line-height: 1.55;
}
.bof-hero__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.bof-guarantee {
  max-width: 560px;
  margin: 18px auto 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-blue-700);
}
.bof-disclaimer {
  max-width: 560px;
  margin: 26px auto 0;
  font-size: 13px;
  color: var(--color-gray-500);
}

/* ---------- Section rhythm ---------- */
.bof-tldr,
.bof-table-section,
.bof-dimensions,
.bof-scenarios,
.bof-social,
.bof-faq,
.bof-final-cta {
  padding: 56px 0;
}
.bof-tldr h2,
.bof-table-section h2,
.bof-dimensions h2,
.bof-scenarios h2,
.bof-social h2,
.bof-faq h2,
.bof-final-cta h2 {
  font-size: clamp(21px, 2.4vw, 29px);
  letter-spacing: -0.025em;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 12px;
  text-align: center;
}
.bof-section-intro {
  max-width: 620px;
  margin: 0 auto 30px;
  text-align: center;
  color: var(--color-gray-500);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- 2. TL;DR ---------- */
.bof-tldr { background: #fff; }
.tldr-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 28px;
}
.tldr-card {
  border-radius: 20px;
  padding: 30px 28px;
  border: 1px solid var(--color-gray-200);
  background: var(--color-gray-50);
}
.tldr-card--numax {
  border-color: rgba(0, 86, 183, .25);
  background: var(--color-blue-50);
}
.tldr-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-charcoal);
}
.tldr-card ul { margin: 0; padding-left: 18px; }
.tldr-card li {
  margin-bottom: 9px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--color-gray-700);
}
.tldr-card strong { color: var(--color-charcoal); }

/* ---------- 3. TABELA ---------- */
.bof-table-section { background: #f7f9fc; }
.bof-table-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--color-gray-200);
  background: #fff;
  box-shadow: 0 16px 44px rgba(17, 30, 54, .06);
  -webkit-overflow-scrolling: touch;
}
.bof-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14px;
}
.bof-table thead th {
  text-align: left;
  padding: 18px 20px;
  font-weight: 600;
  color: var(--color-charcoal);
  background: var(--color-gray-50);
  border-bottom: 2px solid var(--color-gray-200);
}
.bof-table thead th.col-numax {
  color: var(--color-blue);
  background: var(--color-blue-50);
}
.bof-table tbody th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--color-gray-700);
  padding: 16px 20px;
  width: 28%;
}
.bof-table tbody td {
  padding: 16px 20px;
  color: var(--color-gray-700);
  line-height: 1.45;
  vertical-align: top;
}
.bof-table tbody td.col-numax {
  background: rgba(0, 86, 183, .035);
  color: var(--color-charcoal);
}
.bof-table tbody tr + tr th,
.bof-table tbody tr + tr td {
  border-top: 1px solid var(--color-gray-100);
}
.bof-table .yes {
  color: var(--color-success);
  font-weight: 700;
  margin-right: 4px;
}
.bof-table .na {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-warning);
  background: rgba(209, 138, 46, .12);
  border-radius: 6px;
  padding: 1px 7px;
  margin-right: 4px;
}
.bof-table-note {
  max-width: 760px;
  margin: 22px auto 0;
  font-size: 13px;
  color: var(--color-gray-500);
  line-height: 1.55;
  text-align: center;
}

/* ---------- 4. DIMENSÕES ---------- */
.bof-dimensions { background: #fff; }
.dim {
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-gray-100);
}
.dim:last-child { border-bottom: 0; }
.dim h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0 0 10px;
}
.dim p {
  color: var(--color-gray-700);
  line-height: 1.62;
  margin: 0 0 12px;
  font-size: 15px;
}
.dim strong { color: var(--color-charcoal); }

/* ---------- 5. CENÁRIOS ---------- */
.bof-scenarios { background: #f7f9fc; }
.scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}
.scenario {
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 18px;
  padding: 26px 24px;
}
.scenario h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--color-blue);
  margin: 0 0 9px;
  line-height: 1.35;
}
.scenario p {
  color: var(--color-gray-700);
  line-height: 1.55;
  margin: 0;
  font-size: 14px;
}

/* ---------- 6. PROVA SOCIAL ---------- */
.bof-social { background: #fff; text-align: center; }
.bof-social__cta { margin-top: 24px; }

.trust-bar {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 8px auto 36px;
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  padding: 22px 24px;
  border: 1px solid var(--color-gray-200);
  border-radius: 16px;
  background: var(--color-blue-50);
}
.trust-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-blue);
  letter-spacing: -0.02em;
}
.trust-label {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-gray-700);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.testimonial {
  margin: 0;
  text-align: left;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: 16px;
  padding: 24px;
}
.testimonial blockquote {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-charcoal);
}
.testimonial__name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-charcoal);
}
.testimonial__role {
  display: block;
  font-size: 12px;
  color: var(--color-gray-500);
  margin-top: 2px;
}

.migration-block {
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 26px;
  border: 1px dashed var(--color-blue-300);
  border-radius: 16px;
  background: #fff;
}
.migration-block h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-blue);
}
.migration-block p {
  margin: 0;
  font-size: 14.5px;
  color: var(--color-gray-700);
  line-height: 1.55;
}

/* ---------- 7. FAQ ---------- */
.bof-faq { background: #f7f9fc; }
.faq-item {
  max-width: 760px;
  margin: 0 auto 14px;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 17px 22px;
  font-weight: 600;
  color: var(--color-charcoal);
  font-size: 15px;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--color-blue);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 22px 20px;
}
.faq-answer p {
  margin: 0;
  color: var(--color-gray-700);
  font-size: 14.5px;
  line-height: 1.6;
}

/* ---------- 8. CTA FINAL ---------- */
.bof-final-cta {
  background: var(--gradient-brand);
  text-align: center;
  color: #fff;
}
.bof-final-cta h2 { color: #fff; }
.bof-final-cta p {
  max-width: 560px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, .9);
  font-size: 15.5px;
  line-height: 1.6;
}
.bof-final-cta .btn-primary {
  background: #fff;
  color: var(--color-blue);
}
.bof-final-cta .btn-primary:hover { background: var(--color-blue-50); }
.bof-internal-links {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.bof-internal-links p {
  margin: 0 0 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, .75);
}
.bof-internal-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}
.bof-internal-links a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 15px;
}

/* ---------- Footer legal line (local) ---------- */
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Página de preço: cards de plano ---------- */
.bof-plans-section { padding: 56px 0; background: #f7f9fc; }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 30px;
  align-items: stretch;
}
.plan-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-gray-200);
  border-radius: 20px;
  padding: 28px 26px;
  position: relative;
}
.plan-card--featured {
  border-color: var(--color-blue);
  box-shadow: 0 16px 44px rgba(0, 86, 183, .14);
}
.plan-card__tag {
  position: absolute;
  top: -11px;
  left: 26px;
  background: var(--color-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.plan-card__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-blue);
  margin: 0 0 10px;
}
.plan-card__price {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-charcoal);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.plan-card__price small { font-size: 15px; font-weight: 500; color: var(--color-gray-500); }
.plan-card__note { font-size: 13px; color: var(--color-gray-500); margin: 6px 0 18px; }
.plan-card__features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.plan-card__features li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 9px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--color-gray-700);
}
.plan-card__features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success);
  font-weight: 700;
}
.plan-card__save {
  display: block;
  margin: 0 0 16px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(31, 157, 106, .1);
  color: #157a52;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.plan-card .btn { width: 100%; }

/* Faixa de garantia */
.guarantee-band {
  background: var(--color-blue-50);
  border: 1px solid rgba(0, 86, 183, .2);
  border-radius: 20px;
  padding: 32px 30px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
.guarantee-band h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--color-blue-700);
}
.guarantee-band p { margin: 0; color: var(--color-gray-700); font-size: 15px; line-height: 1.6; }

/* ---------- Responsivo ---------- */
@media (max-width: 880px) {
  .plan-grid { grid-template-columns: 1fr; }
  .tldr-grid { grid-template-columns: 1fr; }
  .scenario-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 12px; }
  .bof-hero { padding: 120px 0 48px; }
}
@media (max-width: 560px) {
  .bof-hero__cta { flex-direction: column; }
  .bof-hero__cta a { width: 100%; }
}
