/* Livre Corretora — slide styles v4 (3 zonas) */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@500;700;800;900&family=Roboto:wght@400;500;600;700&display=swap");

:root {
  --color-primary: #00A4BA;
  --color-accent: #F5B800;
  --color-accent-text: #8C6800;  /* dourado acessível para texto — 4.6:1 em branco ✓ AA */
  --color-accent-on-dark: #5FCCDB;
  --color-urgency: #F46A1F;
  --color-bg: #F7F8FA;
  --color-bg-warm: #C2EEF4;
  --color-bg-dark: #1A2E5A;
  --color-text: #1A2E5A;
  --color-text-inverse: #F7F8FA;
  --color-muted: #6B7280;
  --color-rule: #E5E7EB;
  --color-rule-strong: #1A2E5A;

  --font-serif: "Roboto Condensed", system-ui, sans-serif;
  --font-sans: "Roboto", system-ui, sans-serif;
  --font-display: "Roboto Condensed", system-ui, sans-serif;
}

/* Slide frame: 1080x1920 */
.slide-frame {
  width: 1080px;
  height: 1920px;
  position: relative;
  overflow: hidden;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
}

.slide-frame.bg-light    { background: var(--color-bg); color: var(--color-text); }
.slide-frame.bg-warm     { background: var(--color-bg-warm); color: var(--color-text); }
.slide-frame.bg-dark     { background: var(--color-bg-dark); color: var(--color-text-inverse); }
.slide-frame.bg-primary  { background: var(--color-primary); color: var(--color-text-inverse); }
.slide-frame.bg-orange   { background: var(--color-urgency); color: var(--color-text); }

/* Topbar — at Y=320, height ~40 */
.topbar {
  position: absolute;
  top: 320px;
  left: 64px;
  right: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.85;
}
.topbar .tb-center { opacity: 0.7; }
.topbar .tb-right { opacity: 0.55; font-weight: 400; }
.bg-light .topbar, .bg-warm .topbar { color: var(--color-primary); }

/* Topbar separator rule below */
.topbar-rule {
  position: absolute;
  top: 380px;
  left: 64px;
  right: 64px;
  height: 1px;
  background: currentColor;
  opacity: 0.18;
}

/* CORE zone: 420 - 1500 (1080 high) */
.core {
  position: absolute;
  top: 420px;
  left: 64px;
  right: 64px;
  height: 1080px;
  display: flex;
  flex-direction: column;
}
.core.center { justify-content: center; }
.core.bottom { justify-content: flex-end; }
.core.top    { justify-content: flex-start; }

/* Pagination — at bottom 320 */
.pagination {
  position: absolute;
  bottom: 320px;
  left: 64px;
  right: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  opacity: 0.7;
}
.bg-light .pagination, .bg-warm .pagination { color: var(--color-primary); }

.progress-bar {
  position: absolute;
  bottom: 380px;
  left: 64px;
  right: 64px;
  height: 4px;
  background: rgba(0,0,0,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.bg-dark .progress-bar, .bg-primary .progress-bar, .bg-orange .progress-bar {
  background: rgba(255,255,255,0.18);
}
.progress-bar > i {
  display: block;
  height: 100%;
  background: var(--color-accent);
  border-radius: 2px;
}
.bg-dark .progress-bar > i, .bg-primary .progress-bar > i { background: var(--color-accent-on-dark); }
.bg-orange .progress-bar > i { background: var(--color-text); }

/* Headlines + body */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  margin-bottom: 28px;
}
.bg-dark .eyebrow, .bg-primary .eyebrow, .bg-orange .eyebrow { color: var(--color-accent-on-dark); }
.bg-orange .eyebrow { color: var(--color-text); opacity: 0.9; }

.headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 88px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.headline.h-lg { font-size: 110px; font-weight: 900; line-height: 0.98; }
.headline.h-sm { font-size: 72px; }

.headline.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 92%;
  font-size: 130px;
  letter-spacing: -0.03em;
  line-height: 0.94;
}

.body-text {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 38px;
  line-height: 1.4;
  margin-top: 36px;
  text-wrap: pretty;
  max-width: 880px;
}
.body-text.lg { font-size: 46px; line-height: 1.36; }
.body-text.sm { font-size: 32px; line-height: 1.45; }

.accent { color: var(--color-accent-text); }
.bg-dark .accent, .bg-primary .accent { color: var(--color-accent-on-dark); }
.bg-orange .accent { color: var(--color-text); text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }

/* Cover editorial */
.cover-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,15,0.15) 0%, rgba(10,10,15,0.45) 55%, rgba(10,10,15,0.88) 100%);
}
.cover-overlay.darken-top {
  background: linear-gradient(0deg, rgba(10,10,15,0.15) 0%, rgba(10,10,15,0.45) 55%, rgba(10,10,15,0.88) 100%);
}

/* Article image (ultrawide between text blocks) */
.article-image {
  width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  margin: 44px 0;
}
.article-image.sm { height: 380px; }
.article-image.lg { height: 580px; }

/* CTA action block */
.action-block {
  margin-top: 56px;
  background: var(--color-accent);
  color: var(--color-text);
  padding: 36px 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.005em;
}
.action-block .arrow {
  font-size: 44px;
  font-weight: 400;
}
.action-block .price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 36px;
}

/* List items */
.list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.list li {
  display: flex;
  gap: 16px;
  font-family: var(--font-sans);
  font-size: 34px;
  line-height: 1.4;
}
.list .marker {
  flex-shrink: 0;
  font-weight: 700;
  width: 34px;
}
.list .marker.arrow { color: var(--color-accent-text); }
.list .marker.x     { color: var(--color-accent-text); }
.list .marker.check { color: #16A34A; }
.list .marker.dash  { color: var(--color-muted); }
.bg-dark .list .marker.arrow, .bg-primary .list .marker.arrow,
.bg-dark .list .marker.x, .bg-primary .list .marker.x { color: var(--color-accent-on-dark); }

/* Section rule */
.rule {
  height: 1px;
  background: var(--color-rule);
  margin: 32px 0;
}
.bg-dark .rule, .bg-primary .rule { background: rgba(255,255,255,0.18); }

/* Watermark for impact slides */
.watermark {
  position: absolute;
  bottom: 320px;
  left: 64px;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 240px;
  line-height: 0.85;
  letter-spacing: -0.05em;
  opacity: 0.12;
  pointer-events: none;
  text-transform: uppercase;
}

/* Zone overlay (debug — hidden by default, toggleable) */
.slide-frame .zone-guides {
  display: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.slide-frame.show-zones .zone-guides { display: block; }
.zone-guides .zone {
  position: absolute;
  left: 0; right: 0;
  border-top: 1px dashed rgba(244, 106, 31, 0.5);
  border-bottom: 1px dashed rgba(244, 106, 31, 0.5);
}
.zone-guides .zone .zlabel {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #F46A1F;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(247, 248, 250, 0.9);
  padding: 4px 8px;
  border-radius: 4px;
}
.zone-topbleed { top: 0; height: 285px; background: rgba(244,106,31,0.08); }
.zone-topbar   { top: 285px; height: 135px; background: rgba(244,106,31,0.04); }
.zone-core     { top: 420px; height: 1080px; border: 2px dashed rgba(22,163,74,0.6); background: rgba(22,163,74,0.04); }
.zone-pagination{ top: 1500px; height: 135px; background: rgba(244,106,31,0.04); }
.zone-bottombleed{ top: 1635px; height: 285px; background: rgba(244,106,31,0.08); }

/* Image placeholder (striped) */
.img-placeholder {
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 12px, rgba(255,255,255,0.02) 12px 24px);
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.img-placeholder.dark {
  background-color: #11121a;
}
