/* ===== onscale.partners — near-black, neutral pill CTAs, bordeaux as a rare highlight ===== */
:root {
  --accent: #8b1a1a;
  --accent-bright: #c04a3c;
  --bg: #0a0a0a;
  --surface: #151515;
  --surface-line: #262626;
  --ink: #ededed;
  --ink-dim: #9a9a9a;
  --ink-faint: #666666;
  --white: #ffffff;
  --whatsapp: #25d366;
  --radius: 8px;
  --max-w: 1100px;
  font-size: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ===== HEADER ===== */
header.top {
  background: var(--bg);
  border-bottom: 1px solid var(--surface-line);
  padding: 16px 0;
}
header.top .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.brand { font-weight: 500; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.brand span { color: var(--accent-bright); }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-dim);
}
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== ATOMS ===== */
.eyebrow {
  display: inline-block;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--ink-dim); margin-bottom: 16px;
}
h1 {
  font-size: clamp(30px, 5.2vw, 52px);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.03em;
  max-width: 820px; margin: 0 auto 20px; color: var(--ink);
  text-wrap: balance;
}
h1 .hl, h1 .highlight { color: var(--accent-bright); font-weight: 500; }
h2 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.15;
  max-width: 700px; margin: 0 auto 16px; color: var(--ink);
  text-wrap: balance;
}
p.lead {
  font-size: clamp(15px, 2.5vw, 19px);
  color: var(--ink-dim); max-width: 620px; margin: 0 auto 36px; line-height: 1.6;
  text-wrap: balance;
}
p.lead strong { color: var(--ink); font-weight: 600; }

/* ===== HERO ===== */
.hero { background: var(--bg); padding: 48px 0 56px; text-align: center; }
.qual-badge {
  display: inline-block; background: var(--surface); color: var(--ink);
  border: 1px solid var(--accent);
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em;
  padding: 8px 16px; margin-bottom: 28px;
}

/* ===== VIDEO ===== */
.video-embed {
  max-width: 720px;
  margin: 0 auto 32px;
}
.video-frame {
  position: relative;
  max-width: 720px;
  margin: 0 auto 32px;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
}
.video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-frame .placeholder {
  position: relative; z-index: 1;
  color: var(--ink-faint); font-size: 13px; text-align: center; padding: 20px; max-width: 100%;
}
.video-frame .play-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 0; }
.play-btn {
  position: relative; z-index: 1;
  width: 80px; height: 80px; border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.2s; box-shadow: 0 8px 30px rgba(0,0,0,0.4); border: none;
}
.play-btn:hover { transform: scale(1.08); }
.play-btn svg { width: 32px; height: 32px; fill: var(--bg); margin-left: 4px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 500; letter-spacing: 0;
  padding: 15px 32px; border: none; border-radius: 9999px; cursor: pointer;
  transition: all 0.15s ease; text-decoration: none;
  width: 100%;
}
.btn:hover { background: var(--white); transform: translateY(-1px); }
.btn:active { transform: scale(0.99); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }
.btn svg { fill: var(--bg) !important; }
.btn.secondary { background: transparent; color: var(--ink); border: 1px solid var(--surface-line); }
.btn.secondary:hover { background: var(--surface); border-color: var(--ink-dim); }
.btn.secondary svg { fill: var(--ink) !important; }
.btn.whatsapp { background: var(--whatsapp); color: var(--white); }
.btn.whatsapp:hover { background: #2ee674; }
.btn.whatsapp svg { fill: var(--white) !important; }
.cta-wrap { text-align: center; margin-top: 8px; }

.microcopy { font-size: 13px; color: var(--ink-faint); text-align: center; margin-top: 14px; }

/* ===== PROBLEMS (card grid) ===== */
.problems { background: var(--bg); color: var(--ink); padding: 80px 0; border-top: 1px solid var(--surface-line); }
.section-label {
  text-align: center; font-size: 13px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--accent-bright); margin-bottom: 12px;
}
.section-title { text-align: center; margin: 0 auto 16px; color: inherit; }
.section-sub { text-align: center; font-size: 16px; color: var(--ink-dim); max-width: 600px; margin: 0 auto 56px; text-wrap: balance; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-bottom: 48px;
}
.problem-card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: var(--radius); padding: 28px 26px; transition: border-color 0.2s; }
.problem-card:hover { border-color: var(--ink-faint); }
.problem-icon { display: none; }
.problem-card h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; line-height: 1.3; letter-spacing: -0.01em; }
.problem-card p { font-size: 14px; color: var(--ink-dim); line-height: 1.65; margin-bottom: 16px; }
.problem-card .stat-line { padding-top: 16px; border-top: 1px solid var(--surface-line); font-size: 13px; color: var(--ink-faint); font-style: normal; }

/* ===== MECHANISM ===== */
.mechanism { background: var(--bg); padding: 64px 0; border-top: 1px solid var(--surface-line); }
.mechanism .wrap { text-align: center; max-width: 720px; }
.mechanism-name {
  display: inline-block; background: var(--surface); color: var(--ink);
  border: 1px solid var(--surface-line);
  font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 10px 24px; margin-bottom: 24px;
}
.mechanism h2 { color: var(--ink); }
.mechanism p { font-size: 17px; color: var(--ink-dim); line-height: 1.7; margin-bottom: 16px; }
.mechanism p strong { color: var(--ink); }
.mechanism-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.mech-tag { background: var(--surface); border: 1px solid var(--surface-line); color: var(--ink-dim); font-size: 13px; font-weight: 600; padding: 8px 16px; border-radius: 20px; }

.authority { background: var(--bg); padding: 90px 0; border-top: 1px solid var(--surface-line); text-align: center; }
.authority .wrap { max-width: 1320px; }
.authority-strip {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px;
  margin-top: 52px;
}
.authority-item { text-align: center; }
.authority-photo {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--surface-line); overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.authority-photo.wide { aspect-ratio: 1060 / 306; }
.authority-photo img { width: 100%; height: 100%; object-fit: cover; }
.authority-name { font-size: 24px; font-weight: 600; color: var(--ink); margin-top: 20px; }
.authority-title { font-size: clamp(20px, 4.4vw, 32px); letter-spacing: -0.02em; }
@media (max-width: 720px) {
  .authority-strip { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .authority-name { font-size: 19px; margin-top: 14px; }
}

/* ===== LEARN ===== */
.learn { background: var(--bg); padding: 80px 0; border-top: 1px solid var(--surface-line); }
.learn .section-title, .learn .section-label { color: var(--ink); }
.learn .section-label { color: var(--accent-bright); }
.learn-list { max-width: 650px; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; }
.learn-item { display: flex; gap: 16px; align-items: flex-start; }
.learn-check {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.learn-check svg { width: 14px; height: 14px; stroke: var(--white); stroke-width: 3; fill: none; }
.learn-arrow { flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 600; display: flex; align-items: center; justify-content: center; margin-top: 2px; font-size: 14px; }
.learn-text { font-size: 16px; color: var(--ink-dim); line-height: 1.6; }
.learn-text strong { color: var(--ink); }

/* ===== PROOF ===== */
.proof { background: var(--bg); color: var(--ink); padding: 80px 0; border-top: 1px solid var(--surface-line); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-bottom: 48px; }
.proof-scroll { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-bottom: 48px; overflow: visible; }
.proof-card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: var(--radius); overflow: hidden; position: relative; }
.proof-img {
  width: 100%; aspect-ratio: 16/10; background: var(--surface-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--ink-faint); text-align: center; padding: 20px; border-bottom: 1px solid var(--surface-line);
  overflow: hidden;
}
.proof-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.proof-body, .proof-card { padding: 24px; }
.proof-quote { font-size: 15px; color: var(--ink-dim); line-height: 1.6; margin-bottom: 16px; font-style: italic; }
.proof-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.proof-detail { font-size: 13px; color: var(--ink-faint); margin-top: 2px; }

/* ===== SPEAKER ===== */
.speaker { background: var(--bg); padding: 64px 0; border-top: 1px solid var(--surface-line); }
.speaker-grid { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; max-width: 800px; margin: 0 auto; }
.speaker-photo {
  width: 200px; height: 200px; background: var(--surface); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--ink-faint); text-align: center;
}
.speaker-info .section-label { text-align: left; color: var(--accent-bright); }
.speaker-info h2 { font-size: clamp(22px, 3.5vw, 32px); text-align: left; margin: 0 0 12px; color: var(--ink); }
.speaker-info p { font-size: 15px; color: var(--ink-dim); line-height: 1.6; margin-bottom: 14px; }
.speaker-info p strong { color: var(--ink); }
.speaker-credentials { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--ink-dim); }
.cred-item { display: inline-flex; align-items: center; gap: 8px; }
.cred-item::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-bright); flex: none; }
@media (max-width: 640px) {
  .speaker-grid { grid-template-columns: 1fr; text-align: center; }
  .speaker-photo { margin: 0 auto; }
  .speaker-info h2 { text-align: center; }
  .speaker-info .section-label, .speaker-credentials { justify-content: center; text-align: center; }
}

/* ===== REGISTER / FINAL CTA ===== */
.final-cta { background: var(--bg); color: var(--ink); padding: 80px 0; text-align: center; border-top: 1px solid var(--surface-line); }
.final-cta h2 { color: var(--ink); max-width: 650px; margin: 0 auto 16px; }
.final-cta p { font-size: 17px; color: var(--ink-dim); max-width: 550px; margin: 0 auto 32px; }
.final-meta { margin-top: 24px; font-size: 14px; color: var(--ink-faint); }

.register-card { max-width: 440px; margin: 0 auto; background: var(--surface); border: 1px solid var(--surface-line); border-radius: var(--radius); padding: 32px; text-align: left; }

form.optin { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; color: var(--ink-dim); font-weight: 600; }
.field input {
  background: var(--bg); border: 1px solid var(--surface-line); border-radius: 8px;
  padding: 13px 14px; font-size: 15px; color: var(--ink); outline: none;
  transition: border-color 0.15s ease; width: 100%; font-family: inherit;
}
.field input::placeholder { color: var(--ink-faint); }
.field input:focus { border-color: var(--accent-bright); }
.field .err { font-size: 12px; color: #e08a7a; min-height: 1em; display: none; }
.field.has-error .err { display: block; }
.field.has-error input { border-color: #e08a7a; }

/* ===== SESSION INFO / CARD / COUNTDOWN (confirmation.html) ===== */
.session-info {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--surface-line); border-left: 3px solid var(--accent);
  border-radius: 8px; padding: 12px 16px; font-size: 0.9rem; color: var(--ink-dim); margin-bottom: 28px;
}
.session-info strong { color: var(--ink); }

.card { background: var(--surface); border: 1px solid var(--surface-line); border-radius: var(--radius); padding: 24px; }

.countdown { display: flex; gap: 10px; margin: 24px 0; flex-wrap: wrap; }
.countdown .box { flex: 1; min-width: 70px; background: var(--surface); border: 1px solid var(--surface-line); color: var(--ink); border-radius: 8px; padding: 14px 8px; text-align: center; }
.countdown .box .n { font-size: 1.6rem; font-weight: 600; color: var(--accent-bright); font-variant-numeric: tabular-nums; }
.countdown .box .l { font-size: 0.68rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.06em; }

.status-banner { border-radius: var(--radius); padding: 16px 18px; margin-bottom: 24px; font-size: 0.92rem; border: 1px solid; }
.status-banner.ok { background: rgba(139,26,26,0.1); border-color: rgba(139,26,26,0.4); color: #e0a89e; }
.status-banner.warn { background: rgba(139,26,26,0.14); border-color: rgba(139,26,26,0.5); color: #e0a89e; }

.benefits { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.benefits li { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--surface-line); border-radius: var(--radius); padding: 14px 16px; }
.benefits li .num { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--white); font-weight: 600; font-size: 0.82rem; display: flex; align-items: center; justify-content: center; }
.benefits li .txt { color: var(--ink-dim); font-size: 0.95rem; }
.benefits li .txt strong { color: var(--ink); }

.steps { display: grid; gap: 14px; margin: 24px 0; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step .dot { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent-bright); color: var(--accent-bright); font-weight: 600; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; }
.step .body strong { display: block; margin-bottom: 2px; color: var(--ink); }
.step .body span { color: var(--ink-faint); font-size: 0.9rem; }

details.faq { background: var(--surface); border: 1px solid var(--surface-line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
details.faq summary { padding: 16px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--ink); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--accent-bright); font-weight: 400; transition: transform 0.15s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 16px 16px; color: var(--ink-dim); font-size: 0.92rem; }
details.faq .a a { color: var(--accent-bright); }

/* ===== FOOTER ===== */
footer.site { background: var(--bg); color: var(--ink-faint); text-align: center; padding: 32px 0; font-size: 13px; border-top: 1px solid var(--surface-line); }
footer.site a { color: var(--ink-dim); }
.help-link { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--ink-dim); text-decoration: underline; }
.help-link:hover { color: var(--ink); }

noscript .ns-warning { background: rgba(139,26,26,0.12); border: 1px solid var(--accent); border-radius: 8px; padding: 14px 16px; margin: 0 auto 20px; max-width: 720px; font-size: 14px; color: var(--ink); }

@media (max-width: 640px) {
  .hero { padding: 32px 0 40px; }
  .problems, .mechanism, .learn, .proof, .speaker, .final-cta { padding: 56px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .proof-scroll { grid-template-columns: 1fr; }
  .register-card { padding: 24px; }
  .countdown .box { min-width: 60px; padding: 10px 6px; }
  .countdown .box .n { font-size: 1.3rem; }
}
