:root {
  --v4-red: #e50914;
  --v4-red-dark: #9b0710;
  --v4-black: #100f0d;
  --v4-ink: #17130f;
  --v4-card: #201c18;
  --v4-card-2: #2a251f;
  --v4-line: rgba(255, 255, 255, 0.12);
  --v4-soft: rgba(255, 255, 255, 0.72);
  --v4-muted: rgba(255, 255, 255, 0.52);
  --v4-white: #ffffff;
  --v4-cream: #f5efe7;
  --v4-yellow: #ffd23f;
  --v4-green: #21c55d;
  --v4-blue: #60a5fa;
  --header-h: 68px;
  --sidebar-w: 282px;
  --section-pad-y: 76px;
  --section-pad-x: clamp(24px, 4.5vw, 72px);
  --content-max: 1120px;
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--v4-black);
  color: var(--v4-white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(229, 9, 20, 0.10), transparent 24%, transparent 76%, rgba(229, 9, 20, 0.08)),
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  opacity: 0.72;
  z-index: -2;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: var(--header-h);
  padding: 0 24px;
  background: rgba(16, 15, 13, 0.95);
  border-bottom: 1px solid var(--v4-line);
  backdrop-filter: blur(10px);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.v4-header-logo {
  width: 38px;
  height: auto;
  flex: 0 0 auto;
}

.site-header__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: rgba(255, 255, 255, 0.84);
}

.site-nav { display: none; }

.page-shell { padding-top: var(--header-h); }

.site-sidebar {
  display: block;
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: 20px 14px;
  background: rgba(12, 11, 10, 0.88);
  border-right: 1px solid var(--v4-line);
  overflow-y: auto;
}

.site-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-group {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.nav-group summary {
  cursor: pointer;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
}

.nav-group summary::-webkit-details-marker { display: none; }

.nav-group summary::before {
  content: "+";
  color: var(--v4-red);
  margin-right: 8px;
  font-weight: 900;
}

.nav-group[open] summary::before { content: "−"; }

.nav-links {
  display: grid;
  gap: 2px;
  padding: 0 7px 8px;
}

.site-sidebar a,
.site-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  text-decoration: none;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  padding: 7px 8px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-sidebar a:hover,
.site-sidebar a.is-active,
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--v4-white);
  background: rgba(229, 9, 20, 0.18);
}

.landing-main {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
}

.landing-section {
  position: relative;
  min-height: min(86vh, 820px);
  padding: var(--section-pad-y) var(--section-pad-x);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.landing-section:nth-child(odd) {
  background: linear-gradient(135deg, rgba(255,255,255,0.035), transparent 52%);
}

.landing-section--hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  align-items: center;
}

.section-wrap {
  width: min(100%, var(--content-max));
}

.section-kicker {
  color: var(--v4-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.section-title {
  max-width: 1000px;
  margin: 0 0 20px;
  font-size: clamp(34px, 5.1vw, 66px);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title em,
.red { color: var(--v4-red); font-style: normal; }

.section-lead {
  max-width: 820px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.section-body {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.divider {
  background:
    linear-gradient(135deg, rgba(229, 9, 20, 0.28), transparent 38%),
    linear-gradient(90deg, #100f0d, #211b16);
}

.divider .section-title { max-width: 880px; }

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card,
.metric,
.table-card,
.script-card,
.flow-node {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
}

.card {
  min-height: 156px;
  padding: 18px;
}

.card h3,
.metric h3,
.table-card h3,
.script-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.18;
}

.card p,
.metric p,
.table-card p,
.script-card p {
  margin: 0;
  color: rgba(255,255,255,0.72);
  font-size: 14px;
}

.card .tag {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--v4-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.metric {
  padding: 18px;
  min-height: 132px;
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  color: var(--v4-white);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
  font-weight: 950;
}

.metric span {
  color: var(--v4-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.comparison .side {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.045);
}

.comparison .side.bad { border-color: rgba(255, 255, 255, 0.16); }
.comparison .side.good { border-color: rgba(229, 9, 20, 0.42); background: rgba(229,9,20,0.12); }

.table-wrap {
  overflow-x: auto;
  margin-top: 24px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: rgba(255,255,255,0.035);
}

th, td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

th {
  color: var(--v4-white);
  background: rgba(229,9,20,0.18);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
}

td { color: rgba(255,255,255,0.76); }

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 28px;
}

.flow-node {
  position: relative;
  flex: 1 1 145px;
  min-width: 135px;
  padding: 16px;
}

.flow-node::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -13px;
  transform: translateY(-50%);
  color: var(--v4-red);
  font-weight: 950;
}

.flow-node:last-child::after { display: none; }

.flow-node strong {
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
  line-height: 1.15;
}

.flow-node span {
  color: rgba(255,255,255,0.66);
  font-size: 12px;
}

.funnel {
  display: grid;
  gap: 9px;
  max-width: 820px;
  margin-top: 28px;
}

.funnel-step {
  display: grid;
  grid-template-columns: 110px 1fr 90px;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border-radius: 7px;
  background: linear-gradient(90deg, rgba(229,9,20,0.22), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.12);
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--v4-red), #ff6b6b);
}

.timeline {
  display: grid;
  gap: 13px;
  margin-top: 28px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  padding: 16px;
  border-left: 4px solid var(--v4-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255,255,255,0.052);
}

.timeline-item time {
  font-weight: 950;
  color: var(--v4-red);
}

.matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.matrix .quad {
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.046);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.status {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

.status.ok { border-color: rgba(33,197,93,0.42); }
.status.warn { border-color: rgba(255,210,63,0.54); }
.status.block { border-color: rgba(229,9,20,0.54); }

.org-chart {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.org-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.org-box {
  min-width: 170px;
  max-width: 245px;
  flex: 1 1 170px;
  padding: 15px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.05);
}

.org-box.main {
  max-width: 360px;
  background: rgba(229,9,20,0.18);
  border-color: rgba(229,9,20,0.48);
}

.accordion {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.accordion details {
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.045);
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  padding: 15px 16px;
  font-weight: 900;
  list-style: none;
}

.accordion summary::-webkit-details-marker { display: none; }

.accordion summary::before {
  content: "+";
  color: var(--v4-red);
  margin-right: 10px;
}

.accordion details[open] summary::before { content: "−"; }

.accordion .content {
  padding: 0 16px 16px;
  color: rgba(255,255,255,0.76);
}

.script {
  display: block;
  white-space: pre-wrap;
  padding: 14px;
  border-radius: 7px;
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.86);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}

.note {
  margin-top: 22px;
  padding: 15px 16px;
  border-left: 4px solid var(--v4-red);
  background: rgba(255,255,255,0.052);
  color: rgba(255,255,255,0.78);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.source-list {
  columns: 2;
  column-gap: 28px;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.source-list li { break-inside: avoid; margin-bottom: 7px; }

@media (max-width: 1180px) {
  :root { --sidebar-w: 246px; }
  .cards.four, .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    height: auto;
    min-height: var(--header-h);
    flex-wrap: wrap;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-sidebar { display: none; }

  .site-nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 2px;
  }

  .site-nav a {
    white-space: nowrap;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
  }

  .page-shell { padding-top: 0; }
  .landing-main { margin-left: 0; width: 100%; }
  .landing-section { min-height: auto; padding: 54px 20px; }
  .cards, .cards.two, .cards.four, .metrics, .split, .comparison, .matrix, .status-grid {
    grid-template-columns: 1fr;
  }
  .flow-node::after { display: none; }
  .timeline-item { grid-template-columns: 1fr; }
  .funnel-step { grid-template-columns: 1fr; }
  .source-list { columns: 1; }
}

@media print {
  .site-header,
  .site-sidebar,
  .no-print { display: none !important; }
  .page-shell { padding-top: 0; }
  .landing-main { margin-left: 0; width: 100%; }
  .landing-section {
    min-height: auto;
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* Ajuste visual solicitado: aproximação da referência Terra Prometida Semana 2. */
:root {
  --v4-red: #f01b18;
  --v4-red-dark: #8f1812;
  --v4-black: #170101;
  --v4-ink: #220304;
  --v4-card: rgba(255, 250, 244, 0.055);
  --v4-card-2: rgba(255, 250, 244, 0.085);
  --v4-line: rgba(255, 250, 244, 0.16);
  --v4-soft: rgba(255, 250, 244, 0.74);
  --v4-muted: rgba(255, 250, 244, 0.56);
  --v4-white: #fffaf4;
  --v4-cream: #d4c5a9;
  --v4-yellow: #ffd48a;
  --v4-green: #4caf50;
  --header-h: 0px;
  --sidebar-w: 250px;
  --section-pad-y: clamp(56px, 7vw, 92px);
  --section-pad-x: clamp(22px, 5vw, 76px);
  --content-max: 1180px;
}

html {
  background: #170101;
}

body {
  color: var(--v4-white);
  font-family: "IBM Plex Sans", Arial, Helvetica, sans-serif;
  font-weight: 500;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 212, 138, 0.12), transparent 20rem),
    radial-gradient(circle at 82% 20%, rgba(196, 98, 45, 0.12), transparent 18rem),
    linear-gradient(145deg, #6b0e08 0%, #3a060a 42%, #170101 100%);
}

body::before {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  z-index: -1;
}

.site-header {
  left: 250px;
  height: 56px;
  padding: 0 24px;
  background: rgba(23, 1, 1, 0.62);
  border-bottom: 1px solid rgba(255, 250, 244, 0.1);
  backdrop-filter: blur(18px);
}

.site-header__title {
  color: rgba(255, 212, 138, 0.88);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.v4-header-logo {
  width: 52px;
}

.page-shell {
  padding-top: 0;
}

.site-sidebar {
  top: 0;
  width: 250px;
  padding: 20px 16px;
  background: rgba(23, 1, 1, 0.76);
  border-right: 1px solid var(--v4-line);
  backdrop-filter: blur(18px);
}

.site-sidebar__nav {
  gap: 7px;
}

.nav-group {
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 250, 244, 0.1);
}

.nav-group summary {
  padding: 10px 8px 9px;
  color: var(--v4-white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-group summary::before {
  color: var(--v4-yellow);
}

.nav-links {
  gap: 5px;
  padding: 0 0 10px;
}

.site-sidebar a,
.site-nav a {
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 250, 244, 0.66);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 9px 11px;
}

.site-sidebar a:hover,
.site-sidebar a.is-active,
.site-nav a:hover,
.site-nav a.is-active {
  color: var(--v4-white);
  border-color: var(--v4-line);
  background: rgba(255, 250, 244, 0.09);
}

.landing-section {
  min-height: 92vh;
  padding: var(--section-pad-y) var(--section-pad-x);
  border-bottom: 1px solid rgba(255, 250, 244, 0.08);
  background: transparent;
}

.landing-section:nth-child(odd) {
  background: transparent;
}

.landing-section--hero {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 212, 138, 0.15), transparent 24rem),
    linear-gradient(135deg, rgba(255, 250, 244, 0.08), rgba(255, 250, 244, 0.02));
}

.section-wrap {
  margin: 0 auto;
}

.section-kicker {
  color: var(--v4-yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  margin-bottom: 14px;
}

.section-title {
  max-width: 980px;
  color: var(--v4-white);
  font-size: clamp(34px, 5.4vw, 78px);
  line-height: 0.9;
  font-weight: 900;
  font-stretch: 82%;
  text-transform: none;
}

.landing-section--hero .section-title {
  font-size: clamp(40px, 7vw, 92px);
  max-width: 1040px;
}

.section-title em,
.red {
  color: var(--v4-yellow);
  font-style: normal;
}

.section-lead {
  color: rgba(255, 250, 244, 0.84);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.38;
  max-width: 860px;
}

.divider {
  background:
    linear-gradient(135deg, rgba(255, 212, 138, 0.16), rgba(196, 98, 45, 0.08)),
    linear-gradient(145deg, rgba(107, 14, 8, 0.82), rgba(23, 1, 1, 0.76));
}

.divider .section-title {
  max-width: 980px;
}

.eyebrow-row {
  margin-bottom: 24px;
}

.pill,
.tag,
.card .tag {
  border: 1px solid var(--v4-line);
  color: var(--v4-yellow);
  background: rgba(255, 250, 244, 0.055);
  font-weight: 700;
}

.cards,
.metrics,
.comparison,
.matrix,
.status-grid {
  gap: 14px;
  margin-top: 28px;
}

.card,
.metric,
.comparison .side,
.matrix .quad,
.status,
.org-box,
.accordion details,
.flow-node,
.table-wrap {
  border: 1px solid var(--v4-line);
  border-radius: 8px;
  background: rgba(255, 250, 244, 0.055);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.card {
  min-height: 166px;
  padding: 20px;
}

.card h3,
.comparison h3,
.status h3,
.matrix h3 {
  color: var(--v4-white);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 700;
  font-stretch: 82%;
}

.card p,
.metric p,
.comparison p,
.status p,
.matrix p {
  color: rgba(255, 250, 244, 0.72);
  line-height: 1.62;
}

.metric {
  background: rgba(255, 250, 244, 0.06);
}

.metric strong {
  color: var(--v4-white);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  font-stretch: 82%;
}

.metric span {
  color: var(--v4-yellow);
  font-weight: 700;
}

.comparison .side.good {
  border-color: rgba(255, 212, 138, 0.42);
  background: rgba(255, 212, 138, 0.08);
}

.comparison .side.bad {
  border-color: rgba(255, 250, 244, 0.18);
}

table {
  background: rgba(255, 250, 244, 0.035);
}

th {
  color: var(--v4-white);
  background: rgba(143, 24, 18, 0.58);
}

td {
  color: rgba(255, 250, 244, 0.76);
}

th,
td {
  border-bottom: 1px solid rgba(255, 250, 244, 0.1);
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.flow-node {
  min-height: 150px;
  padding: 18px;
}

.flow-node::after {
  color: var(--v4-yellow);
}

.flow-node strong {
  color: var(--v4-yellow);
  font-size: 18px;
  font-weight: 700;
  font-stretch: 82%;
}

.flow-node span {
  color: rgba(255, 250, 244, 0.7);
  line-height: 1.4;
}

.funnel-step {
  grid-template-columns: 130px 1fr 190px;
  padding: 16px 18px;
  background: rgba(255, 250, 244, 0.09);
  border: 1px solid var(--v4-line);
}

.bar {
  background: rgba(255, 255, 255, 0.12);
}

.bar span {
  background: linear-gradient(90deg, var(--v4-yellow), #c4622d);
}

.timeline-item {
  border-left: 4px solid var(--v4-yellow);
  background: rgba(255, 250, 244, 0.055);
}

.timeline-item time {
  color: var(--v4-yellow);
}

.status.ok {
  border-color: rgba(76, 175, 80, 0.46);
}

.status.warn {
  border-color: rgba(255, 212, 138, 0.58);
}

.status.block {
  border-color: rgba(240, 27, 24, 0.58);
}

.org-box.main {
  background: rgba(255, 212, 138, 0.12);
  border-color: rgba(255, 212, 138, 0.46);
}

.accordion summary::before,
.nav-group summary::before {
  color: var(--v4-yellow);
}

.script {
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 250, 244, 0.88);
}

.note {
  border-left-color: var(--v4-yellow);
  background: rgba(255, 250, 244, 0.055);
  color: rgba(255, 250, 244, 0.78);
}

@media (max-width: 1180px) {
  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    left: 0;
    position: sticky;
    background: rgba(23, 1, 1, 0.88);
  }

  .site-sidebar {
    display: none;
  }

  .landing-section {
    min-height: auto;
    padding: 56px 20px;
  }

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

  .funnel-step {
    grid-template-columns: 1fr;
  }
}

/* Revisão LP/documento: menos deck, mais página executiva contínua. */
:root {
  --section-pad-y: clamp(42px, 5.4vw, 72px);
  --section-pad-x: clamp(22px, 4.6vw, 68px);
  --content-max: 1160px;
}

body {
  background:
    radial-gradient(circle at 50% -12rem, rgba(255, 212, 138, 0.12), transparent 28rem),
    linear-gradient(160deg, #5c0b08 0%, #2a0406 34%, #160101 100%);
}

body::before {
  opacity: 0.12;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.65) 42%, transparent 100%);
}

.site-header {
  height: 52px;
  background: rgba(18, 1, 1, 0.76);
}

.site-sidebar {
  width: 244px;
  padding: 18px 15px;
  background: rgba(18, 1, 1, 0.7);
}

.landing-main {
  margin-left: 244px;
  width: calc(100% - 244px);
}

.landing-section {
  min-height: auto;
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  border-bottom: 1px solid rgba(255, 250, 244, 0.075);
}

.landing-section--hero {
  min-height: min(78vh, 760px);
  align-items: end;
  padding-top: clamp(76px, 9vw, 118px);
  padding-bottom: clamp(54px, 7vw, 84px);
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 212, 138, 0.12), transparent 22rem),
    linear-gradient(135deg, rgba(255, 250, 244, 0.07), rgba(255, 250, 244, 0.015));
}

.section-wrap {
  max-width: var(--content-max);
}

.section-kicker {
  margin-bottom: 10px;
  color: rgba(255, 212, 138, 0.92);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.section-title {
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(28px, 3.6vw, 54px);
  line-height: 1.02;
}

.landing-section--hero .section-title {
  max-width: 1010px;
  font-size: clamp(38px, 5.7vw, 82px);
  line-height: 0.94;
}

.section-lead {
  max-width: 830px;
  margin-bottom: 22px;
  font-size: clamp(16px, 1.65vw, 21px);
  line-height: 1.52;
}

.divider {
  padding-top: clamp(52px, 6vw, 78px);
  padding-bottom: clamp(52px, 6vw, 78px);
  background:
    linear-gradient(115deg, rgba(255, 212, 138, 0.12), rgba(196, 98, 45, 0.04)),
    rgba(255, 250, 244, 0.026);
}

.divider .section-title {
  max-width: 900px;
  font-size: clamp(30px, 4vw, 58px);
}

.cards,
.metrics,
.comparison,
.matrix,
.status-grid,
.timeline,
.flow,
.funnel,
.accordion {
  margin-top: 20px;
}

.cards {
  gap: 12px;
}

.card,
.metric,
.comparison .side,
.matrix .quad,
.status,
.org-box,
.accordion details,
.flow-node,
.table-wrap {
  background: rgba(255, 250, 244, 0.045);
  box-shadow: none;
}

.card {
  min-height: 0;
  padding: 17px;
}

.card h3,
.comparison h3,
.status h3,
.matrix h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.18;
}

.card p,
.metric p,
.comparison p,
.status p,
.matrix p,
td {
  line-height: 1.55;
}

.metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric {
  min-height: 0;
  padding: 16px;
}

.metric strong {
  font-size: clamp(26px, 3.1vw, 40px);
}

.timeline-item {
  padding: 14px 16px;
}

.table-wrap {
  margin-top: 20px;
}

th,
td {
  padding: 12px 13px;
}

.flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.flow-node {
  min-height: 0;
}

.flow-node::after {
  display: none;
}

.note {
  margin-top: 18px;
}

@media (min-width: 901px) {
  .landing-section:not(.landing-section--hero):not(.divider) .section-wrap {
    display: grid;
    grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 54px);
    align-items: start;
  }

  .landing-section:not(.landing-section--hero):not(.divider) .section-kicker,
  .landing-section:not(.landing-section--hero):not(.divider) .section-title,
  .landing-section:not(.landing-section--hero):not(.divider) .section-lead {
    grid-column: 1;
  }

  .landing-section:not(.landing-section--hero):not(.divider) .section-title {
    font-size: clamp(25px, 2.65vw, 42px);
  }

  .landing-section:not(.landing-section--hero):not(.divider) .cards,
  .landing-section:not(.landing-section--hero):not(.divider) .metrics,
  .landing-section:not(.landing-section--hero):not(.divider) .timeline,
  .landing-section:not(.landing-section--hero):not(.divider) .comparison,
  .landing-section:not(.landing-section--hero):not(.divider) .matrix,
  .landing-section:not(.landing-section--hero):not(.divider) .status-grid,
  .landing-section:not(.landing-section--hero):not(.divider) .table-wrap,
  .landing-section:not(.landing-section--hero):not(.divider) .flow,
  .landing-section:not(.landing-section--hero):not(.divider) .funnel,
  .landing-section:not(.landing-section--hero):not(.divider) .accordion,
  .landing-section:not(.landing-section--hero):not(.divider) .org-chart,
  .landing-section:not(.landing-section--hero):not(.divider) .note,
  .landing-section:not(.landing-section--hero):not(.divider) .source-list {
    grid-column: 2;
    margin-top: 0;
  }

  .landing-section:not(.landing-section--hero):not(.divider) .note,
  .landing-section:not(.landing-section--hero):not(.divider) .source-list {
    margin-top: 16px;
  }
}

@media (max-width: 1180px) {
  .cards.four,
  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
  }

  .landing-main {
    margin-left: 0;
    width: 100%;
  }

  .landing-section,
  .landing-section--hero,
  .divider {
    min-height: auto;
    padding: 46px 20px;
  }

  .landing-section--hero {
    padding-top: 64px;
  }

  .section-title,
  .landing-section--hero .section-title,
  .divider .section-title {
    font-size: clamp(30px, 10vw, 48px);
    line-height: 0.98;
  }

  .cards,
  .cards.two,
  .cards.four,
  .metrics,
  .comparison,
  .matrix,
  .status-grid,
  .flow {
    grid-template-columns: 1fr;
  }
}
