/* =========================================================
   FireBIM — Landing Page
   Design tokens + base styles
   ========================================================= */

:root {
  /* Cores base — dark */
  --bg:            #0A0A0A;
  --bg-alt:        #121212;
  --bg-card:       #1A1A1A;
  --bg-card-hi:    #222222;
  --line:          rgba(255,255,255,0.08);
  --line-strong:   rgba(255,255,255,0.16);

  /* Marca */
  --red:           #E11D2E;       /* CTA primário, vermelho da marca */
  --red-hover:     #F02A3B;
  --red-deep:      #A30E1C;
  --fire:          #FF6B00;       /* laranja-fogo — assinatura FireBIM */
  --fire-soft:     #FF8A33;
  --fire-deep:     #B84A00;
  --gold:          #FFC107;       /* bônus */
  --gold-deep:     #B88600;

  /* Texto */
  --t:             #FFFFFF;
  --t-2:           #C8C8C8;
  --t-3:           #8A8A8A;
  --t-mute:        #5A5A5A;

  /* Estado */
  --ok:            #16A34A;
  --ok-soft:       #1E7F3F;

  /* Tipo */
  --font:          'Inter', system-ui, -apple-system, sans-serif;
  --mono:          'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --maxw:          1200px;
  --maxw-narrow:   880px;
  --r-s:           8px;
  --r-m:           14px;
  --r-l:           20px;
  --r-xl:          28px;

  /* Shadows */
  --sh-card:       0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 32px rgba(0,0,0,0.35);
  --sh-cta:        0 10px 30px -10px rgba(225,29,46,0.55), 0 1px 0 rgba(255,255,255,0.15) inset;
  --sh-fire:       0 10px 40px -8px rgba(255,107,0,0.45);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--t); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body { font-size: 16px; line-height: 1.5; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* Selection */
::selection { background: var(--fire); color: #0A0A0A; }

/* ============== Container ============== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}
.container.narrow { max-width: var(--maxw-narrow); }

/* ============== Section ============== */
.section {
  padding: 72px 0;
  position: relative;
}
.section.tight { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  border: 0;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire);
  padding: 6px 10px;
  border: 1px solid rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.06);
  border-radius: 999px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.18);
}

/* Titles */
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4.2vw, 44px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p  { margin: 0; text-wrap: pretty; }

.section-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.section-kicker {
  color: var(--t-2);
  font-size: 17px;
  max-width: 720px;
  line-height: 1.55;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 12px;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  padding: 18px 26px;
  font-size: 17px;
  box-shadow: var(--sh-cta);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.btn-primary:hover { background: var(--red-hover); }

.btn-primary.xl {
  padding: 22px 32px;
  font-size: 19px;
  border-radius: 14px;
}
.btn-primary.full { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--t);
  padding: 12px 18px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.3); }

.btn-small {
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 10px;
}

/* CTA group */
.cta-group { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-microcopy {
  font-size: 13px;
  color: var(--t-3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-microcopy .lock { color: var(--ok); }

/* ============== Card ============== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 24px;
}
.card.hi {
  background: linear-gradient(180deg, var(--bg-card-hi), var(--bg-card));
  border-color: var(--line-strong);
}

/* ============== Header ============== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,10,10,0.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo-wordmark {
  height: 30px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.logo-full {
  display: block;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.4));
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a {
  font-size: 14px;
  color: var(--t-2);
  font-weight: 500;
}
.nav-links a:hover { color: var(--t); }
.cross-sell {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--t-3);
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.cross-sell:hover { color: var(--fire); }
.cross-sell::after { content: "↗"; font-size: 11px; }

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 28px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -10% -10% auto -10%;
  height: 70%;
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(255,107,0,0.18), transparent 70%),
    radial-gradient(60% 60% at 15% 35%, rgba(225,29,46,0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-headline {
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-headline em {
  font-style: normal;
  background: linear-gradient(120deg, var(--fire) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub-strikes {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14.5px;
  color: var(--t-2);
}
.hero-sub-strikes span { display: inline-flex; align-items: center; gap: 8px; }
.hero-sub-strikes .x {
  color: var(--fire);
  font-family: var(--mono);
  font-weight: 600;
}
.hero-subhead {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--t-2);
  max-width: 580px;
}
.hero-subhead strong { color: var(--t); font-weight: 600; }

.hero-stats {
  margin-top: 22px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero-stat .num { font-size: 20px; font-weight: 800; color: var(--t); letter-spacing: -0.02em; }
.hero-stat .num span { color: var(--fire); }
.hero-stat .lbl { font-size: 11px; color: var(--t-3); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--mono); margin-top: 2px; }

.hero-cta-row {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

/* Compactar ainda mais em notebooks 1366x720 onde o CTA fica no limite */
@media (min-width: 881px) and (max-height: 760px) {
  .hero { padding: 18px 0 32px; }
  .hero-headline { font-size: clamp(28px, 3.6vw, 42px); }
  .hero-sub-strikes { margin-top: 10px; gap: 3px; font-size: 13.5px; }
  .hero-subhead { margin-top: 14px; font-size: 15px; }
  .hero-stats { margin-top: 16px; gap: 20px; }
  .hero-cta-row { margin-top: 16px; }
  .btn-primary.xl { padding: 16px 22px; font-size: 16px; }
}

/* Hero visual / Revit placeholder */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-l);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, #0E0E0E 0%, #181818 100%);
}
.hero-visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,107,0,0.05) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 18px);
  pointer-events: none;
}
.hero-visual-inner {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255,107,0,0.35);
  border-radius: var(--r-m);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}
.hero-visual-tag {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fire);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 8px;
  background: rgba(255,107,0,0.08);
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: 4px;
}
.hero-visual-caption {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t-3);
  line-height: 1.5;
}
.hero-visual-caption b { color: var(--fire); font-weight: 500; }

/* Hero badge z-index */
.hero-badge { z-index: 2; }
.hero-visual::after { z-index: 0; }

/* Community brand block */
.community-brand {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.community-brand .logo-full {
  height: 120px !important;
  width: auto !important;
}
.hero-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
}
.hero-badge .pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.2);
}
.hero-badge b { color: var(--t); }
.hero-badge span { color: var(--t-3); }

/* Hero opening text (agora vive em .opening-section, fora do hero) */
.opening-section { padding: 56px 0 32px; }
.hero-opening {
  position: relative;
  z-index: 1;
  padding: 36px 36px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  border-left: 3px solid var(--fire);
}
.hero-opening p { font-size: 17px; line-height: 1.65; color: var(--t-2); }
.hero-opening p + p { margin-top: 14px; }
.hero-opening strong { color: var(--t); font-weight: 600; }

/* ============== Pain (Block 5) ============== */
.pain-title {
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.18;
  max-width: 820px;
  margin-bottom: 40px;
}
.pain-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.pain-item {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  font-size: 15px;
  line-height: 1.55;
  color: var(--t-2);
}
.pain-item .icon {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(225,29,46,0.12);
  color: var(--red);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 800;
}
.pain-item strong { color: var(--t); font-weight: 600; }
.pain-item em { font-style: italic; color: var(--t-2); }

.pain-close {
  margin-top: 36px;
  padding: 24px 28px;
  background: linear-gradient(180deg, rgba(255,107,0,0.06), rgba(255,107,0,0.02));
  border: 1px solid rgba(255,107,0,0.25);
  border-radius: var(--r-m);
  font-size: 18px;
  line-height: 1.5;
  color: var(--t);
}
.pain-close strong {
  background: linear-gradient(120deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}

/* ============== Solution (Block 6.1) ============== */
.solution-intro {
  font-size: 19px;
  line-height: 1.55;
  color: var(--t-2);
  max-width: 720px;
  margin-bottom: 36px;
}
.solution-intro strong { color: var(--t); font-weight: 600; }

.sol-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.sol-item {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sol-item .check {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(22,163,74,0.14);
  color: var(--ok);
  display: grid; place-items: center;
  font-weight: 800;
}
.sol-item h4 { font-size: 17px; font-weight: 700; color: var(--t); }
.sol-item p { font-size: 14.5px; color: var(--t-2); line-height: 1.55; }

.solution-close {
  margin-top: 36px;
  text-align: center;
  font-size: 19px;
  line-height: 1.4;
  color: var(--t-2);
  padding: 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.solution-close strong { color: var(--fire); font-weight: 700; }

/* ============== Template Box (Block 6.2) — STAR COMPONENT ============== */
.template-question {
  margin-top: 28px;
  padding: 28px 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
}
.template-question h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
  color: var(--t);
}
.template-question h3 .pin { color: var(--fire); }
.template-question p { font-size: 16px; line-height: 1.6; color: var(--t-2); margin-bottom: 12px; }
.template-question p:last-child { margin-bottom: 0; }
.template-question strong { color: var(--t); font-weight: 600; }
.template-question em { color: var(--fire); font-style: normal; font-weight: 600; }

.template-box {
  margin-top: 32px;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(255,107,0,0.18) 0%, transparent 55%),
    radial-gradient(80% 120% at 100% 100%, rgba(225,29,46,0.16) 0%, transparent 60%),
    linear-gradient(180deg, #1a1208 0%, #150e08 100%);
  border: 1px solid rgba(255,107,0,0.4);
  box-shadow: var(--sh-fire);
}
.template-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 22px);
  pointer-events: none;
}
.template-box-inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 48px;
  padding: 48px 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.template-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(255,193,7,0.14);
  border: 1px solid rgba(255,193,7,0.35);
  color: var(--gold);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: max-content;
}
.template-box h3 {
  margin-top: 16px;
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.template-box h3 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--fire), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.template-box p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--t-2);
}
.template-box-stats {
  margin-top: 26px;
  display: flex;
  gap: 28px;
}
.template-box-stats .item .n {
  font-size: 28px; font-weight: 800; color: var(--fire); letter-spacing: -0.02em;
}
.template-box-stats .item .l {
  font-size: 12px; color: var(--t-3); text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--mono);
}
.template-box-strike {
  margin-top: 22px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--t-2);
  display: flex; align-items: center; gap: 10px;
}
.template-box-strike .was {
  text-decoration: line-through;
  color: var(--t-3);
}
.template-box-strike .now {
  color: var(--gold);
  font-weight: 700;
  padding: 4px 8px;
  background: rgba(255,193,7,0.1);
  border-radius: 6px;
}

/* Catalog placeholder image inside template box */
.template-catalog {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-m);
  background:
    linear-gradient(180deg, #0f0a05 0%, #1a1208 100%);
  border: 1px solid rgba(255,107,0,0.3);
  position: relative;
  overflow: hidden;
}
.template-catalog::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,107,0,0.07) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,107,0,0.07) 0 1px, transparent 1px 28px);
  pointer-events: none;
}
.template-catalog-grid {
  position: absolute; inset: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 10px;
}
.template-catalog-grid .cell {
  border: 1px solid rgba(255,107,0,0.18);
  border-radius: 6px;
  background: rgba(255,107,0,0.04);
  display: grid; place-items: center;
  color: var(--fire-soft);
  font-family: var(--mono);
  font-size: 10px;
  text-align: center;
  padding: 4px;
  line-height: 1.3;
}
.template-catalog-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--t-3);
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* ============== Benefits (Block 7) ============== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.benefit-card {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color .2s, transform .2s;
}
.benefit-card:hover {
  border-color: rgba(255,107,0,0.35);
  transform: translateY(-2px);
}
.benefit-card .flame {
  font-size: 22px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255,107,0,0.12);
  border-radius: 12px;
  color: var(--fire);
}
.benefit-card .num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--t-mute);
  letter-spacing: 0.08em;
}
.benefit-card h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--t);
}
.benefit-card p {
  font-size: 14.5px;
  color: var(--t-2);
  line-height: 1.55;
}
.benefit-card .last { color: var(--fire); font-weight: 600; }

/* ============== Social Proof (Block 8) ============== */
.proof-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.proof-intro p {
  font-size: 17px;
  color: var(--t-2);
  line-height: 1.6;
}
.proof-intro p + p { margin-top: 14px; }
.proof-intro strong { color: var(--t); font-weight: 600; }
.proof-intro em { color: var(--fire); font-style: normal; font-weight: 600; }

/* Case carousel */
.case-carousel-wrap {
  position: relative;
}
.case-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 6px 2px 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--fire) transparent;
}
.case-track::-webkit-scrollbar { height: 8px; }
.case-track::-webkit-scrollbar-thumb { background: var(--fire); border-radius: 4px; }
.case-card {
  flex: 0 0 380px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #181818, #0E0E0E);
  position: relative;
  overflow: hidden;
}
.case-img::after {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,107,0,0.04) 0 1px, transparent 1px 14px);
}
.case-img-inner {
  position: absolute; inset: 16px;
  border: 1px dashed rgba(255,107,0,0.3);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}
.case-img-tag {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fire);
  background: rgba(0,0,0,0.6);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,107,0,0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.case-meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--t-3); font-family: var(--mono); }
.case-meta .uf {
  padding: 2px 6px; background: rgba(255,255,255,0.06); border-radius: 4px;
}
.case-body h4 { font-size: 16px; color: var(--t); font-weight: 700; }
.case-body p { font-size: 14px; color: var(--t-2); line-height: 1.5; }
.case-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}
.case-controls .dots { display: flex; gap: 6px; }
.case-controls .dot {
  width: 28px; height: 4px;
  background: var(--line-strong);
  border-radius: 2px;
  cursor: pointer;
  transition: background .15s;
}
.case-controls .dot.active { background: var(--fire); }
.case-controls .arrows { display: flex; gap: 8px; }
.case-controls button {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--t-2);
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 16px;
  display: grid; place-items: center;
  transition: background .15s, color .15s, border-color .15s;
}
.case-controls button:hover { color: var(--t); border-color: var(--fire); background: rgba(255,107,0,0.08); }

/* Testimonials */
.testimonials {
  margin-top: 72px;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.testi-feature {
  grid-column: span 2;
  grid-row: span 2;
  background: linear-gradient(180deg, rgba(255,107,0,0.08), rgba(255,107,0,0.02));
  border: 1px solid rgba(255,107,0,0.3);
  border-radius: var(--r-l);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testi {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stars { color: var(--gold); letter-spacing: 1px; font-size: 14px; }
.testi-feature .stars { font-size: 18px; }
.testi-quote { font-size: 14.5px; line-height: 1.6; color: var(--t); font-style: italic; }
.testi-feature .testi-quote { font-size: 19px; line-height: 1.55; }
.testi-name {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--red));
  color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 700;
}
.testi-feature .testi-avatar { width: 48px; height: 48px; font-size: 17px; }
.testi-name b { font-size: 14px; color: var(--t); font-weight: 700; }
.testi-name span { font-size: 12px; color: var(--t-3); }

/* Community */
.community {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
}
.community h3 { font-size: 26px; margin-bottom: 12px; }
.community p { font-size: 16px; color: var(--t-2); line-height: 1.6; }
.community-img {
  aspect-ratio: 9/8;      /* casa com aspect da print (578x517 ≈ 9:8) sem distorção */
  border-radius: var(--r-m);
  background: linear-gradient(135deg, #0d2818 0%, #112e1d 100%);
  border: 1px solid rgba(22,163,74,0.25);
  position: relative;
  overflow: hidden;
  padding: 16px;
  display: flex; flex-direction: column; gap: 8px;
}
/* Image override: respeitar aspect natural sem stretching */
.community-img > img {
  object-fit: cover;
  object-position: center top;
}
.chat-bubble {
  background: rgba(22,163,74,0.12);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: var(--t-2);
  max-width: 80%;
}
.chat-bubble.r { align-self: flex-end; background: rgba(255,255,255,0.06); border-color: var(--line); }
.chat-bubble b { color: var(--fire); display: block; font-size: 10px; margin-bottom: 2px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }
.community-tag {
  position: absolute; bottom: 12px; right: 12px;
  font-family: var(--mono);
  font-size: 10px; color: var(--t-3);
  background: rgba(0,0,0,0.6);
  padding: 4px 8px; border-radius: 4px;
  border: 1px solid var(--line);
}

/* ============== Offer / Stack (Block 9) ============== */
.offer-section {
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255,107,0,0.12), transparent 70%),
    var(--bg-alt);
  padding: 80px 0;
}
.stack-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.stack-header {
  padding: 28px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-card-hi);
}
.stack-header h3 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
  text-align: center;
}
.stack-table {
  list-style: none; margin: 0; padding: 0;
}
.stack-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.stack-item:last-child { border-bottom: 0; }
.stack-item.core .marker {
  color: var(--ok);
  background: rgba(22,163,74,0.12);
}
.stack-item.bonus {
  background: rgba(255,193,7,0.025);
}
.stack-item.bonus .marker {
  color: var(--gold);
  background: rgba(255,193,7,0.12);
}
.stack-item .marker {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 8px;
  display: grid; place-items: center;
  font-size: 14px;
  font-weight: 800;
}
.stack-item .label {
  flex: 1;
  color: var(--t-2);
  line-height: 1.45;
}
.stack-item.core .label strong { color: var(--t); font-weight: 700; }
.stack-item.bonus .label .tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 6px;
  background: rgba(255,193,7,0.1);
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
}
.stack-item .price {
  flex: 0 0 90px;
  text-align: right;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--t-3);
  font-weight: 600;
}
.stack-item.bonus .price { color: var(--gold); }
.stack-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 32px;
  background: var(--bg-card-hi);
  font-size: 15px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-top: 1px solid var(--line-strong);
}
.stack-total b { color: var(--t); font-size: 22px; font-family: var(--font); letter-spacing: -0.01em; text-transform: none; }

.transition-line {
  text-align: center;
  margin: 36px auto 0;
  font-size: 20px;
  color: var(--t-2);
  font-weight: 500;
}

/* Price block */
.price-block {
  margin: 36px auto 0;
  max-width: 640px;
  text-align: center;
  padding: 48px 32px;
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(225,29,46,0.18), transparent 65%),
    linear-gradient(180deg, #1a0a0c 0%, #140709 100%);
  border: 1px solid rgba(225,29,46,0.35);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.price-block::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 24px);
  pointer-events: none;
}
.price-was {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--t-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.price-was .strike {
  text-decoration: line-through;
  color: var(--t-mute);
}
/* Installments-first price hero */
.price-installments-hero {
  margin-top: 10px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--t) 0%, var(--fire) 130%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-installments-hero .x {
  font-size: clamp(38px, 5.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.price-installments-hero .currency {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
}
.price-installments-hero .value {
  font-size: clamp(72px, 11vw, 120px);
  font-weight: 900;
  letter-spacing: -0.045em;
}
.price-installments-hero .value sup {
  font-size: 0.42em;
  font-weight: 800;
  vertical-align: super;
  margin-left: -2px;
  letter-spacing: -0.02em;
}
.price-installments-note {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.price-cash {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.12);
  font-size: 15px;
  color: var(--t-3);
}
.price-cash b {
  color: var(--t);
  font-weight: 700;
}
.price-microcopy {
  margin-top: 26px;
  font-size: 15px;
  color: var(--t-2);
  line-height: 1.5;
  font-style: italic;
}

/* ============== Accordion (Objections + FAQ) ============== */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: border-color .2s;
}
.acc-item.open { border-color: rgba(255,107,0,0.35); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: 0;
  color: var(--t);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.acc-head:hover { background: rgba(255,255,255,0.02); }
.acc-q-num {
  flex: 0 0 28px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fire);
  font-weight: 700;
}
.acc-q-text { flex: 1; }
.acc-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  display: grid; place-items: center;
  color: var(--fire);
  font-size: 18px;
  transition: transform .2s, background .2s;
  flex: 0 0 28px;
}
.acc-item.open .acc-icon {
  transform: rotate(45deg);
  background: rgba(255,107,0,0.16);
}
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.acc-item.open .acc-body { max-height: 600px; }
.acc-body-inner {
  padding: 0 24px 22px 64px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--t-2);
}
.acc-body-inner strong { color: var(--t); }

/* ============== Guarantee (Block 11) ============== */
.guarantee {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  padding: 44px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}
.guarantee::before {
  content: "";
  position: absolute;
  top: -40%; right: -20%;
  width: 60%; height: 180%;
  background: radial-gradient(closest-side, rgba(22,163,74,0.15), transparent);
  pointer-events: none;
}
.seal {
  position: relative;
  z-index: 1;
  width: 200px; height: 200px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 30%, rgba(22,163,74,0.4), transparent 65%),
    conic-gradient(from 0deg, var(--ok) 0deg, var(--ok-soft) 90deg, var(--ok) 180deg, var(--ok-soft) 270deg, var(--ok) 360deg);
  padding: 6px;
  display: grid; place-items: center;
  box-shadow: 0 12px 40px -10px rgba(22,163,74,0.5);
}
.seal-inner {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px dashed rgba(22,163,74,0.5);
  display: flex;
  flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 16px;
}
.seal-inner .shield { font-size: 32px; color: var(--ok); }
.seal-inner .big { font-size: 30px; font-weight: 900; color: var(--t); letter-spacing: -0.02em; line-height: 1; margin-top: 6px; }
.seal-inner .small {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--t-2);
  text-transform: uppercase;
  line-height: 1.3;
  margin-top: 4px;
}
.guarantee-content { position: relative; z-index: 1; }
.guarantee-content h3 { font-size: 26px; margin-bottom: 14px; }
.guarantee-content p { font-size: 16px; line-height: 1.6; color: var(--t-2); }
.guarantee-content p + p { margin-top: 10px; }
.guarantee-content strong { color: var(--t); font-weight: 600; }
.guarantee-content .close {
  margin-top: 18px;
  font-size: 17px;
  color: var(--t);
  font-style: italic;
  padding-left: 14px;
  border-left: 2px solid var(--ok);
}

/* ============== Urgency (Block 12) ============== */
.urgency {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.urgency h3 { font-size: clamp(24px, 3.2vw, 32px); margin-bottom: 18px; }
.urgency h3 .clock { color: var(--fire); }
.urgency p { font-size: 17px; line-height: 1.6; color: var(--t-2); margin-bottom: 18px; }
.urgency strong { color: var(--t); font-weight: 600; }
.urgency-list {
  list-style: none; padding: 0; margin: 24px 0;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
  max-width: 540px; margin-inline: auto;
}
.urgency-list li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  font-size: 15px;
  color: var(--t-2);
}
.urgency-list .ok {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: rgba(22,163,74,0.16);
  color: var(--ok);
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  flex: 0 0 22px;
}
.urgency-close {
  margin-top: 24px;
  font-size: 18px;
  color: var(--fire);
  font-weight: 600;
}

/* ============== Final CTA (Block 14) ============== */
.final-cta {
  padding: 96px 0;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(255,107,0,0.18), transparent 65%),
    radial-gradient(60% 80% at 50% 100%, rgba(225,29,46,0.18), transparent 65%),
    var(--bg);
  position: relative;
}
.final-cta-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.final-cta h2 {
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.final-cta p { font-size: 17px; line-height: 1.65; color: var(--t-2); margin-bottom: 18px; }
.final-cta strong { color: var(--t); font-weight: 600; }
.final-cta-microcopy {
  margin-top: 18px;
  font-size: 14px;
  color: var(--t-3);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.final-cta-microcopy span::before { content: "✓ "; color: var(--ok); }

/* ============== PS / Letter (Block 15) ============== */
.letter {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px;
  background:
    linear-gradient(180deg, #161412 0%, #100e0c 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  position: relative;
}
.letter::before {
  content: "";
  position: absolute;
  top: 0; left: 48px; right: 48px; height: 3px;
  background: linear-gradient(90deg, var(--fire), var(--red), var(--fire));
  border-radius: 0 0 4px 4px;
}
.letter p { font-size: 16.5px; line-height: 1.7; color: var(--t-2); margin-bottom: 16px; }
.letter p:first-of-type .ps { color: var(--fire); font-weight: 800; letter-spacing: 0.02em; font-family: var(--mono); }
.letter strong { color: var(--t); font-weight: 600; }
.letter em { color: var(--fire); font-style: normal; font-weight: 600; }
.letter-sign {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.letter-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire), var(--red));
  display: grid; place-items: center;
  color: #fff; font-weight: 800; font-size: 22px;
  flex: 0 0 64px;
}
.letter-sign b { font-size: 16px; color: var(--t); display: block; }
.letter-sign span { font-size: 13px; color: var(--t-3); font-style: italic; }

/* ============== Microblog ============== */
.blog-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 36px; gap: 24px;
}
.blog-header h2 { letter-spacing: -0.025em; }
.blog-header a {
  font-size: 14px; color: var(--fire); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, border-color .2s;
  cursor: pointer;
}
.article-card:hover { transform: translateY(-3px); border-color: rgba(255,107,0,0.3); }
.article-cover {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #181818 0%, #0e0e0e 100%);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.article-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,107,0,0.06) 0 1px, transparent 1px 16px);
}
.article-cover-tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fire);
  background: rgba(0,0,0,0.7);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255,107,0,0.3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.article-body {
  padding: 20px 22px 22px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.article-cat {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fire);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.article-body h4 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--t);
  letter-spacing: -0.01em;
}
.article-body p {
  font-size: 14px;
  color: var(--t-3);
  line-height: 1.5;
}
.article-meta {
  margin-top: auto;
  padding-top: 14px;
  font-size: 12px;
  color: var(--t-mute);
  display: flex; align-items: center; gap: 10px;
}

/* ============== Footer ============== */
.footer {
  padding: 56px 0 32px;
  background: #050505;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h5 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t-3);
  margin: 0 0 14px;
  font-weight: 600;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: var(--t-2); }
.footer-links a:hover { color: var(--fire); }
.footer-tag { font-size: 13px; color: var(--t-3); line-height: 1.55; max-width: 320px; margin-top: 14px; }
.footer-cross {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  display: flex; align-items: center; gap: 12px;
  max-width: 360px;
}
.footer-cross b { color: var(--t); font-size: 13px; }
.footer-cross span { color: var(--t-3); font-size: 12px; }
.footer-cross-arrow { color: var(--fire); margin-left: auto; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: var(--t-mute);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============== Placeholder marker (for designer/dev handoff) ============== */
.placeholder-mark {
  position: absolute;
  top: 10px; right: 10px;
  font-family: var(--mono);
  font-size: 10px;
  background: rgba(225,29,46,0.16);
  color: #FFB3BB;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(225,29,46,0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  z-index: 2;
  pointer-events: none;
}
[data-show-placeholders="false"] .placeholder-mark { display: none; }

/* ============== Mobile-first responsive ============== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 880px) {
  .section { padding: 56px 0; }
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { aspect-ratio: 5/4; max-width: 480px; margin: 0 auto; width: 100%; }
  .hero-opening { padding: 24px 22px; margin-top: 48px; }
  .hero-opening p { font-size: 15.5px; }

  .pain-list { grid-template-columns: 1fr; }
  .pain-close { font-size: 16px; padding: 20px 22px; }

  .sol-grid { grid-template-columns: 1fr; }
  .template-question { padding: 22px; }
  .template-box-inner { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .template-catalog { aspect-ratio: 1/1; max-width: 380px; margin: 0 auto; width: 100%; }

  .benefits-grid { grid-template-columns: 1fr; }
  .case-card { flex: 0 0 86%; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .testi-feature { grid-column: span 2; grid-row: auto; }
  .community { grid-template-columns: 1fr; padding: 28px; gap: 22px; }

  .stack-item { padding: 16px 20px; flex-wrap: wrap; }
  .stack-item .label { flex: 1 1 70%; font-size: 14px; }
  .stack-item .price { flex: 0 0 auto; font-size: 13px; }
  .stack-header { padding: 22px 20px; }
  .stack-total { padding: 18px 20px; }
  .stack-total b { font-size: 18px; }

  .guarantee { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; gap: 28px; }
  .seal { margin-inline: auto; width: 180px; height: 180px; }
  .guarantee-content .close { text-align: left; }

  .letter { padding: 32px 24px; }

  .blog-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links .btn-small { display: inline-flex; }
  .cross-sell { display: none; }

  .testi-feature { padding: 24px; }
  .testi-feature .testi-quote { font-size: 17px; }

  h1 { font-size: 36px; }
  .section-title { font-size: 28px; }
  .hero-headline { font-size: 36px; }
  .price-installments-hero .value { font-size: 84px; }
}

@media (max-width: 520px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .testi-feature { grid-column: auto; }
  .hero-stats { gap: 18px; }
  .hero-stat .num { font-size: 18px; }
}

/* ============== Production extras (não vão pro design) ============== */

/* Imagens reais ocupando placeholders do design.
   Usa descendant selector (sem `>`) pra cobrir caso em que o <img>
   está envolto em <picture> (case do hero). */
.hero-visual img.real,
.template-catalog img.real,
.case-img img,
.community-img img,
.video-embed > .video-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* <picture> precisa ser absoluto também pra herdar o slot */
.hero-visual picture,
.template-catalog picture,
.case-img picture,
.community-img picture {
  position: absolute;
  inset: 0;
  display: block;
}
/* Quando há imagem real, desligamos o trecho pontilhado/hatching do placeholder */
.hero-visual:has(img.real) .hero-visual-inner,
.template-catalog:has(img.real) .template-catalog-grid,
.template-catalog:has(img.real) .template-catalog-tag,
.community-img:has(img) .chat-bubble,
.community-img:has(img) .community-tag {
  display: none;
}
.hero-visual:has(img.real)::after,
.template-catalog:has(img.real)::after,
.case-img:has(img)::after {
  opacity: 0.15;
}

/* Grid de 11 sistemas dentro do template-box — mistura fotos reais + ícones SVG */
.template-systems {
  position: relative;
  z-index: 1;
  padding: 24px 48px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(255,107,0,0.18);
  margin-top: 8px;
}
.template-systems .sys {
  background: rgba(255,107,0,0.05);
  border: 1px solid rgba(255,107,0,0.2);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--fire-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  transition: background .15s, border-color .15s;
}
.template-systems .sys:hover {
  background: rgba(255,107,0,0.1);
  border-color: rgba(255,107,0,0.4);
}
.template-systems .sys-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--fire);
}
.template-systems .sys-icon svg { width: 100%; height: 100%; }
.template-systems .sys-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
@media (max-width: 880px) {
  .template-systems { padding: 20px 24px 32px; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .template-systems { grid-template-columns: repeat(2, 1fr); }
}

/* Logos oficiais dos 4 softwares bônus (Dialux EVO / Daisalux / PyroSIM / Pathfinder) */
.bonus-logo {
  height: 28px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  background: #fff;             /* logos vêm em fundo branco — manter pra contraste no card escuro */
  padding: 4px 6px;
  border-radius: 4px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* Vídeo de apresentação (lite-youtube-embed) */
.video-card {
  margin: 32px auto 0;
  padding: 0;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  max-width: 920px;
}
/* video-stage envolve o player + botão unmute em coluna */
.video-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 0 18px;
}
/* Override do default max-width: 720px da biblioteca lite-youtube-embed
   (sem isso o player fica alinhado à esquerda com borda preta enorme) */
.video-card lite-youtube {
  max-width: 100%;
  width: 100%;
  display: block;
}
.video-card lite-youtube > .lty-playbtn {
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

/* Botão "Clique para ouvir" (aparece após autoplay muted disparar) */
.video-unmute-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  box-shadow: 0 12px 30px -10px rgba(225,29,46,0.55), 0 4px 12px rgba(0,0,0,0.4);
  transition: transform .15s ease, opacity .15s ease, background .15s ease;
}
.video-unmute-cta[hidden] { display: none; }
.video-unmute-cta:hover { background: var(--red-hover); transform: translateY(-1px); }
.video-unmute-cta:focus-visible { outline: 2px solid var(--fire); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) {
  .video-unmute-cta { animation: video-unmute-pulse 2.4s ease-in-out infinite; }
}
@keyframes video-unmute-pulse {
  0%, 100% { box-shadow: 0 12px 30px -10px rgba(225,29,46,0.55), 0 4px 12px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 16px 44px -8px rgba(225,29,46,0.75), 0 4px 14px rgba(0,0,0,0.4); }
}
@media (max-width: 640px) {
  .video-unmute-cta { font-size: 13px; padding: 10px 16px; }
}
.video-embed {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #181818, #0E0E0E);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.video-embed::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,107,0,0.04) 0 1px, transparent 1px 14px);
  pointer-events: none;
}
.video-embed .play {
  position: relative;
  z-index: 2;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 36px rgba(225,29,46,0.4);
  transition: transform .15s;
}
.video-embed:hover .play { transform: scale(1.08); }
.video-embed .play::before {
  content: "";
  width: 0; height: 0;
  border-left: 22px solid #fff;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.video-caption {
  padding: 18px 22px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.video-caption b { color: var(--fire); font-weight: 600; }

/* Depoimentos print row (bônus extra ao grid textual) */
.testi-print-row {
  margin-top: 24px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items: center;
}
.testi-print-row img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #000;
  display: block;
}
.testi-print-row .meta { font-size: 14px; color: var(--t-2); line-height: 1.55; }
.testi-print-row .meta b { color: var(--t); display: block; margin-bottom: 4px; }
@media (max-width: 880px) {
  .testi-print-row { grid-template-columns: 1fr; }
}

/* WhatsApp floating button */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4), 0 0 0 4px rgba(37,211,102,0.18);
  transition: transform .15s, background .15s;
}
.wa-float:hover { background: #1ebd5a; transform: scale(1.05); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }
@media (max-width: 520px) {
  .wa-float { bottom: 14px; right: 14px; width: 52px; height: 52px; }
}

/* Foto do Mateus no PS (Bloco 15) — zoom no rosto/capacete
   Foto original (2560x1163) tem Mateus posicionado ~75% à direita.
   object-position pinpoint pra cabeça/capacete + scale 1.4 dá o "zoom". */
.letter-photo {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 75% 18%;
  flex: 0 0 72px;
  border: 2px solid var(--fire);
  transform: scale(1.0);
}

/* Esconder marcações de placeholder em produção */
.placeholder-mark { display: none !important; }
/* Dev-only — não vai pra produção */
.twk-panel { display: none !important; }

/* ============================================================
   RESPONSIVE HARDENING — overflow safety + mobile fitness
   Aplicado em 2026-05-17 após auditoria com puppeteer.
   ============================================================ */

/* Anti-overflow universal: nenhum elemento pode forçar scroll horizontal */
html, body { max-width: 100vw; overflow-x: clip; }

/* Imagens, vídeos e SVG nunca estouram (defesa em profundidade) */
img, picture, svg, video { max-width: 100%; }

/* Grid/flex items que precisam permitir shrink — sem isso, conteúdo intrínseco força largura > parent */
.hero-grid > *,
.pain-list > *,
.sol-grid > *,
.benefits-grid > *,
.testimonials-grid > *,
.footer-grid > *,
.blog-grid > *,
.template-box-inner > *,
.template-systems > *,
.community > *,
.stack-item,
.stack-item > .label {
  min-width: 0;
}

/* Botões: em mobile podem quebrar o texto pra caber. white-space: nowrap só desktop. */
@media (max-width: 768px) {
  .btn { white-space: normal; text-wrap: balance; }
  .btn-primary.xl { padding: 18px 20px; font-size: 16px; }
}

/* Final CTA em mobile — texto longo "COMEÇAR MINHA FORMAÇÃO FIREBIM POR R$ 497" */
@media (max-width: 768px) {
  .final-cta a.btn {
    padding: 18px 16px !important;
    font-size: 15px !important;
    width: 100%;
    max-width: 360px;
    line-height: 1.3;
  }
  .final-cta-microcopy { flex-direction: column; gap: 8px; }
  .final-cta-microcopy span { display: block; }
}

/* Hero headline pode ter palavras grandes — permite hifenização suave */
.hero-headline, .pain-title, .section-title, h2, h3 {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Stack item bonus-logo precisa quebrar bem em mobile */
@media (max-width: 768px) {
  .stack-item .label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
  .stack-item .label > * { flex-shrink: 0; }
  .stack-item .label strong { flex: 1 1 auto; }
  .bonus-logo { height: 24px; max-width: 80px; }
}

/* Guarantee em mobile: reduzir padding extra */
@media (max-width: 768px) {
  .guarantee { padding: 28px 20px; }
  .guarantee-content { width: 100%; }
  .guarantee-content .close { padding-left: 12px; font-size: 15px; }
}

/* Testi-print-row já vira 1 coluna em 880px; reforço para imagem responder */
@media (max-width: 880px) {
  .testi-print-row { padding: 16px; }
}

/* Hero stats não devem encolher além de razoável */
@media (max-width: 520px) {
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-stat { width: 100%; }
}

/* Video-card em mobile: cuidar do caption + iframe */
@media (max-width: 520px) {
  .video-caption { padding: 14px 16px; font-size: 11px; }
}

/* Header em mobile já esconde nav-links, mas o btn-small precisa caber */
@media (max-width: 520px) {
  .header-inner { gap: 8px; }
  .btn-small { padding: 9px 12px; font-size: 12px; }
  .logo-wordmark { height: 26px; }
}

/* Letter (PS) em mobile — padding mais apertado */
@media (max-width: 520px) {
  .letter { padding: 24px 18px; }
  .letter::before { left: 18px; right: 18px; }
  .letter-sign { flex-wrap: wrap; }
}

/* Template box em mobile — texto e stats não devem estourar */
@media (max-width: 520px) {
  .template-box-stats { gap: 14px; }
  .template-box-stats .item .n { font-size: 22px; }
  .template-box-strike { font-size: 12px; flex-wrap: wrap; }
}

/* Eyebrow em mobile não precisa de letter-spacing exagerado */
@media (max-width: 520px) {
  .eyebrow { font-size: 11px; letter-spacing: 0.1em; }
}

/* Container em viewports muito pequenas — reduzir padding lateral */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
}

/* ============================================================
   MICROBLOG (Seção 17 do system_design)
   Listagem /blog/ + artigos individuais /blog/[slug]/
   ============================================================ */

/* Breadcrumb (compartilhado entre páginas legais e blog) */
.breadcrumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 24px 0 0;
}
.breadcrumb a { color: var(--fire); text-decoration: none; }
.breadcrumb a:hover { color: var(--t); }
.breadcrumb .sep { margin: 0 8px; color: var(--t-mute); }

/* Hero compartilhado listagem + artigo */
.blog-hero {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}
.blog-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fire);
  padding: 6px 10px;
  border: 1px solid rgba(255,107,0,0.3);
  background: rgba(255,107,0,0.06);
  border-radius: 999px;
}
.blog-hero h1 {
  margin-top: 18px;
  font-size: clamp(30px, 4.4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 24ch;
}
.blog-hero p.lede {
  margin-top: 20px;
  font-size: 17px;
  color: var(--t-2);
  max-width: 64ch;
  line-height: 1.6;
}
.blog-hero .meta-row {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Listagem /blog/ — grid de cards */
.blog-listing { padding: 48px 0 80px; }
.blog-listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}
.blog-listing-grid .article-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.blog-listing-grid .article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,0,0.35);
}
.blog-listing-grid .article-card[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.6;
}
.blog-listing-grid .article-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--t);
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.blog-listing-grid .article-card .meta {
  display: flex; gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--t-3);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: auto;
}
.blog-listing-grid .article-card .read-more {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fire);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Artigo individual — corpo de leitura */
.article-body {
  max-width: 70ch;
  margin: 0 auto;
  padding: 48px 0 64px;
}
.article-body p,
.article-body li {
  color: var(--t-2);
  font-size: 17px;
  line-height: 1.75;
  margin: 0 0 18px;
}
.article-body h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t);
  margin: 48px 0 18px;
  scroll-margin-top: 100px;
  line-height: 1.18;
}
.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--t);
  margin: 32px 0 12px;
}
.article-body strong { color: var(--t); font-weight: 600; }
.article-body em { color: var(--fire); font-style: normal; font-weight: 500; }
.article-body a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(255,193,7,0.4);
  text-underline-offset: 3px;
}
.article-body a:hover { color: var(--t); text-decoration-color: var(--gold); }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin-bottom: 6px; }
.article-body code {
  font-family: var(--mono);
  font-size: 0.92em;
  padding: 2px 6px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--t);
}
.article-body blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: rgba(255,107,0,0.06);
  border-left: 3px solid var(--fire);
  border-radius: 8px;
  color: var(--t);
  font-size: 17px;
  line-height: 1.55;
}
.article-body blockquote p { color: var(--t); margin: 0; }

/* Callout / ContextualCTA dentro do artigo */
.context-cta {
  margin: 32px 0;
  padding: 24px 26px;
  background: linear-gradient(180deg, rgba(225,29,46,0.10), rgba(225,29,46,0.04));
  border: 1px solid rgba(225,29,46,0.35);
  border-radius: var(--r-l);
}
.context-cta p {
  font-size: 16px;
  color: var(--t);
  margin: 0 0 14px;
  line-height: 1.55;
}
.context-cta p strong { color: var(--fire); font-weight: 700; }
.context-cta .btn { padding: 12px 20px; font-size: 14px; }

/* Tabela dentro do artigo */
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 15px;
}
.article-body table th, .article-body table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.article-body table thead th {
  background: var(--bg-card);
  color: var(--t);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Figure / imagens dentro do artigo */
.article-body figure { margin: 28px 0; }
.article-body figure img {
  width: 100%; height: auto; border-radius: var(--r-m);
  border: 1px solid var(--line);
}
.article-body figcaption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--t-3);
  letter-spacing: 0.03em;
}

/* Related articles no rodapé do artigo */
.related-articles {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 0 24px;
  border-top: 1px solid var(--line);
}
.related-articles h2 {
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t-3);
  margin-bottom: 18px;
}
.related-articles ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.related-articles li a {
  display: block;
  padding: 16px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  color: var(--t);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.4;
}
.related-articles li a:hover { border-color: rgba(255,107,0,0.3); color: var(--fire); }

/* Final CTA dentro do blog */
.blog-final-cta {
  padding: 64px 0 80px;
  background: var(--bg-alt);
  text-align: center;
}
.blog-final-cta h2 {
  max-width: 24ch;
  margin: 0 auto 18px;
  font-size: clamp(26px, 3.6vw, 36px);
}
.blog-final-cta p {
  font-size: 16px;
  color: var(--t-2);
  max-width: 56ch;
  margin: 0 auto 22px;
  line-height: 1.6;
}
@media (max-width: 640px) {
  .article-body { padding: 32px 0 48px; }
  .article-body p, .article-body li { font-size: 16px; }
  .blog-hero { padding: 24px 0 24px; }
}
