/* ==========================================================================
   EducaPrev AI — Landing "O Efeito Borboleta da Permanência"
   Tokens conforme design-system/educaprev-ai/MASTER.md
   Todos os contrastes foram computados, não estimados. Dark-first.
   ========================================================================== */

:root {
  /* superfícies */
  --bg:            #0A0A0B;
  --surface:       #141416;
  --surface-2:     #1C1C20;
  --surface-wine:  #180A0F;
  --surface-green: #0A1710;
  --border:        #33333A;
  --border-strong: #4A4A54;

  /* texto */
  --text:       #F2F2F0;  /* 16.41:1 sobre --surface */
  --text-muted: #A8A8A3;  /*  7.71:1 */
  --text-dim:   #8A8A85;  /*  ≥4.5:1 em todas as superfícies */

  /* marca — rampa derivada. Bases NUNCA como texto. */
  --wine-300: #DE7D96;  /* 6.55:1 */
  --wine-400: #D1486C;  /* 4.25:1 */
  --wine-600: #73142D;  /* fill only */
  --wine-700: #5A1023;

  --green-300: #8BD09C; /* 10.16:1 */
  --green-400: #5CBD74; /*  7.87:1 */
  --green-600: #1E592D; /* fill only */
  --green-700: #174523;

  /* alerta — canal semântico próprio, fora da marca */
  --alert:      #F5A524; /* 9.02:1 */
  --alert-soft: #FFC55C;

  /* tipografia */
  --f-display: "Instrument Serif", Georgia, serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* motion */
  --e-in:  cubic-bezier(.22, 1, .36, 1);
  --e-out: cubic-bezier(.4, 0, 1, 1);
  --d:     220ms;

  --wrap: 1280px;
  --r:    16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--alert);
  outline-offset: 2px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--alert); color: #1A1200; font-weight: 600;
  padding: 12px 20px; border-radius: 8px; text-decoration: none;
  transition: top var(--d) var(--e-in);
}
.skip-link:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.5;
       stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ===================== TOPBAR ===================== */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  margin-right: auto; min-height: 44px;
}
.brand__mark { width: 36px; height: 36px; }
.brand__name { font-size: 17px; letter-spacing: .01em; color: var(--text); }
.brand__name b { font-weight: 700; color: var(--wine-300); }
.brand__name em { font-style: normal; color: var(--green-300); font-weight: 600; }

.topnav { display: flex; gap: 4px; }
.topnav a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
  font-size: 14.5px; color: var(--text-muted);
  transition: color var(--d) var(--e-in), background var(--d) var(--e-in);
}
.topnav a:hover { color: var(--text); background: var(--surface-2); }

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 22px; border-radius: 12px;
  font-family: var(--f-body); font-size: 15.5px; font-weight: 600;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform var(--d) var(--e-in), background var(--d) var(--e-in),
              border-color var(--d) var(--e-in);
}
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14.5px; }
.btn--primary { background: var(--wine-600); color: #FFF; border-color: var(--wine-400); }
.btn--primary:hover { background: var(--wine-700); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn .ico { width: 18px; height: 18px; }

/* ===================== EYEBROW / TITULOS ===================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 20px;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--alert); flex: none; }

.section { padding: 96px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(30px, 4.4vw, 48px); line-height: 1.12;
  margin: 0 0 18px; letter-spacing: -.01em;
}
.section__lead {
  font-size: 17.5px; color: var(--text-muted); max-width: 66ch; margin: 0 0 44px;
}
.section__lead strong { color: var(--text); font-weight: 600; }
.section__lead em { color: var(--green-300); font-style: normal; }

/* ===================== HERO ===================== */
.hero { padding: 72px 0 96px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background:
    radial-gradient(58% 42% at 22% 6%,  color-mix(in srgb, var(--wine-600) 34%, transparent), transparent 68%),
    radial-gradient(58% 42% at 80% 12%, color-mix(in srgb, var(--green-600) 28%, transparent), transparent 68%);
}
.hero__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 6.1vw, 76px); line-height: 1.04;
  letter-spacing: -.02em; margin: 0 0 22px; max-width: 19ch;
}
.hero__title .hl { display: block; color: var(--alert-soft); font-style: italic; }
.hero__sub { font-size: clamp(17px, 1.7vw, 20px); color: var(--text-muted); max-width: 60ch; margin: 0 0 44px; }
.hero__note { font-size: 13.5px; color: var(--text-dim); max-width: 74ch; margin: 22px auto 0; text-align: center; }

/* ===================== TIMELINE ===================== */
.timeline {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 28px;
}
.timeline__head {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: flex-start; justify-content: space-between; margin-bottom: 26px;
}
.timeline__title { font-family: var(--f-display); font-weight: 400; font-size: 26px; margin: 0 0 4px; }
.timeline__hint { font-size: 14px; color: var(--text-dim); margin: 0; }

.tag {
  display: inline-flex; align-items: center; gap: 7px; margin: 0;
  font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  padding: 7px 13px; border-radius: 999px; white-space: nowrap;
}
.tag--illustrative {
  color: var(--alert); background: color-mix(in srgb, var(--alert) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--alert) 34%, transparent);
}
.tag .ico { width: 15px; height: 15px; }

/* --- slider --- */
.slider { margin-bottom: 30px; }
.slider__label {
  display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px;
}
.slider__row { display: flex; align-items: center; gap: 14px; }
.slider__cap { font-family: var(--f-mono); font-size: 12.5px; color: var(--text-dim); }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 44px; background: transparent; cursor: pointer; margin: 0;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--alert) 55%, var(--wine-600));
}
input[type="range"]::-moz-range-track {
  height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, var(--green-600), var(--alert) 55%, var(--wine-600));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -10px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--alert), 0 4px 14px rgba(0, 0, 0, .6);
  transition: transform var(--d) var(--e-in);
}
input[type="range"]::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--text); border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--alert), 0 4px 14px rgba(0, 0, 0, .6);
}
input[type="range"]:hover::-webkit-slider-thumb { transform: scale(1.14); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 4px var(--alert), 0 4px 14px rgba(0, 0, 0, .6);
}
input[type="range"]:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 4px var(--alert), 0 4px 14px rgba(0, 0, 0, .6);
}

.slider__ticks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tick {
  min-width: 52px; min-height: 44px; padding: 8px 14px;
  border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface-2); color: var(--text-muted);
  font-family: var(--f-mono); font-size: 13px; cursor: pointer;
  transition: all var(--d) var(--e-in);
}
.tick:hover { border-color: var(--alert); color: var(--text); }
.tick[aria-current="true"] {
  background: var(--alert); color: #1A1200; border-color: var(--alert); font-weight: 700;
}

/* --- trilhas --- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.track {
  border-radius: 18px; padding: 24px; border: 1px solid var(--border);
  display: flex; flex-direction: column;
  transition: border-color var(--d) var(--e-in);
}
.track--wine  { background: var(--surface-wine);  border-color: color-mix(in srgb, var(--wine-600) 55%, var(--border)); }
.track--green { background: var(--surface-green); border-color: color-mix(in srgb, var(--green-600) 55%, var(--border)); }

.track__head { margin-bottom: 20px; }
.track__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  margin-bottom: 8px;
}
.track--wine  .track__badge { color: var(--wine-300); }
.track--green .track__badge { color: var(--green-300); }
.track__badge .ico { width: 15px; height: 15px; }
.track__title { font-family: var(--f-display); font-weight: 400; font-size: 27px; margin: 0; }

.gauge { margin-bottom: 20px; }
.gauge__label {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 4px;
}
.gauge__value {
  font-family: var(--f-mono); font-weight: 700; font-size: 44px; line-height: 1;
  margin: 0 0 12px; font-variant-numeric: tabular-nums;
}
.gauge__value small { font-size: 17px; font-weight: 400; color: var(--text-dim); margin-left: 3px; }
.gauge__value--wine { color: var(--wine-300); }
.track--wine  .gauge__value { color: var(--wine-300); }
.track--green .gauge__value { color: var(--green-300); }

.gauge__bar { height: 9px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.gauge__bar i {
  display: block; height: 100%; border-radius: 999px;
  transition: width 420ms var(--e-in);
}
.track--wine  .gauge__bar i { background: linear-gradient(90deg, var(--wine-600), var(--wine-400)); }
.track--green .gauge__bar i { background: linear-gradient(90deg, var(--green-600), var(--green-400)); }

.events { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; display: grid; gap: 10px; }
.events li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; border-radius: 12px;
  background: color-mix(in srgb, var(--bg) 55%, transparent);
  border: 1px solid var(--border);
}
.events .ev__wk {
  font-family: var(--f-mono); font-size: 12px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; background: var(--surface-2); color: var(--text-muted);
}
.events .ev__tx { font-size: 14.5px; margin: 0; color: var(--text); }
.events .ev__tx small { display: block; font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.events li.is-alert { border-color: color-mix(in srgb, var(--alert) 48%, transparent); }
.events li.is-alert .ev__wk { background: var(--alert); color: #1A1200; }

.track__foot { border-top: 1px solid var(--border); padding-top: 16px; }
.outcome {
  margin: 0; font-size: 16px; font-weight: 600;
  display: flex; align-items: center; gap: 9px;
}
.track--wine  .outcome { color: var(--wine-300); }
.track--green .outcome { color: var(--green-300); }
.outcome .ico { width: 19px; height: 19px; }

/* --- tabela acessível --- */
.a11y-table { margin-top: 22px; }
.a11y-table summary {
  cursor: pointer; font-size: 14.5px; color: var(--text-muted);
  padding: 12px 4px; min-height: 44px; display: flex; align-items: center;
}
.a11y-table summary:hover { color: var(--text); }
.a11y-table table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.a11y-table caption { text-align: left; color: var(--text-dim); font-size: 13px; padding-bottom: 10px; }
.a11y-table th, .a11y-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top;
}
.a11y-table th { color: var(--text-dim); font-weight: 600; font-size: 12.5px;
                 text-transform: uppercase; letter-spacing: .05em; }
.a11y-table td:first-child { font-family: var(--f-mono); color: var(--text-muted); white-space: nowrap; }

/* ===================== BENTO ===================== */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }

.card {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--r); padding: 26px; grid-column: span 6;
}
.section--alt .card { background: var(--surface-2); }
.card--wide  { grid-column: span 7; grid-row: span 2; }
.card--stat  { grid-column: span 5; }
.card--corr  { grid-column: span 5; }
.card--quote { grid-column: span 6; }
.card__title { font-size: 16px; font-weight: 600; margin: 0 0 22px; }
.card__foot  { font-size: 13px; color: var(--text-dim); margin: 22px 0 0; }
.card__foot strong { color: var(--wine-300); font-weight: 600; }

.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.bars li {
  display: grid; grid-template-columns: 1fr 48px;
  grid-template-areas: "name num" "track num";
  gap: 7px 14px; align-items: center;
}
.bars__name { grid-area: name; font-size: 14.5px; color: var(--text-muted); align-self: end; }
.bars__track {
  grid-area: track; height: 10px; border-radius: 999px;
  background: var(--bg); overflow: hidden; display: block; align-self: start;
}
.bars__track i {
  display: block; height: 100%; width: var(--v); border-radius: 999px;
  background: linear-gradient(90deg, var(--wine-700), var(--wine-400));
}
.bars__num {
  grid-area: num; font-family: var(--f-mono); font-size: 14px; font-weight: 700;
  color: var(--wine-300); font-variant-numeric: tabular-nums; text-align: right;
}

.stat__num {
  font-family: var(--f-mono); font-weight: 700; font-size: clamp(38px, 5vw, 54px);
  line-height: 1; margin: 0 0 8px; color: var(--text); font-variant-numeric: tabular-nums;
}
.stat__num small { font-size: .5em; color: var(--text-dim); }
.card--stat--wine .stat__num { color: var(--wine-300); }
.stat__label { font-size: 15px; font-weight: 600; margin: 0 0 8px; }
.stat__sub   { font-size: 13.5px; color: var(--text-dim); margin: 0; }

.corr {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--border); margin: 0;
}
.corr__pair { font-size: 14.5px; color: var(--text-muted); }
.corr__val  { font-family: var(--f-mono); font-size: 17px; font-weight: 700; color: var(--alert); }

/* ===================== MAPA FATOR → PROXY ===================== */
.mapa { border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; background: var(--bg); }
.mapa__head {
  display: grid; grid-template-columns: 1fr 40px 1.4fr; gap: 16px;
  padding: 14px 22px; background: var(--surface-2); border-bottom: 1px solid var(--border);
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--text-dim);
}
.mapa__row {
  display: grid; grid-template-columns: 1fr 40px 1.4fr; gap: 16px; align-items: center;
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  transition: background var(--d) var(--e-in);
}
.mapa__row:last-child { border-bottom: 0; }
.mapa__row:hover { background: var(--surface-2); }
.mapa__from { margin: 0; font-size: 15.5px; font-weight: 600; color: var(--wine-300); }
.mapa__arrow { display: flex; justify-content: center; color: var(--text-dim); }
.mapa__arrow .ico { width: 20px; height: 20px; }
.mapa__to { margin: 0; font-size: 14px; color: var(--text-muted); }
.mapa__to code {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--green-300);
  background: color-mix(in srgb, var(--green-600) 22%, transparent);
  padding: 3px 8px; border-radius: 6px; white-space: nowrap;
  display: inline-block; margin: 2px 0;
}

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pill {
  font-family: var(--f-mono); font-size: 12.5px; color: var(--text-muted);
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--bg);
}

/* ===================== SHAP ===================== */
.shap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 30px;
}
.shap__head {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: flex-start; justify-content: space-between; margin-bottom: 10px;
}
.shap__who  { font-family: var(--f-mono); font-size: 15px; font-weight: 700; margin: 0 0 3px; }
.shap__meta { font-size: 13.5px; color: var(--text-dim); margin: 0; }
.shap__caption { font-size: 14px; color: var(--text-muted); margin: 0 0 26px; max-width: 72ch; }
.shap__caption b { font-family: var(--f-mono); }

.waterfall { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 13px; }
.wf { display: grid; grid-template-columns: 1.15fr 2fr 56px; gap: 16px; align-items: center; }
.wf__name { font-size: 14.5px; color: var(--text-muted); }
.wf__bar  { height: 26px; border-radius: 7px; background: var(--surface-2);
            display: flex; overflow: hidden; }
.wf__num  { font-family: var(--f-mono); font-size: 14.5px; font-weight: 700;
            text-align: right; font-variant-numeric: tabular-nums; }

.wf--up   .wf__bar { justify-content: flex-start; }
.wf--up   .wf__bar i { width: var(--v); background: linear-gradient(90deg, var(--wine-700), var(--wine-400)); }
.wf--up   .wf__num { color: var(--wine-300); }
.wf--down .wf__bar { justify-content: flex-end; }
.wf--down .wf__bar i { width: var(--v); background: linear-gradient(270deg, var(--green-700), var(--green-400)); }
.wf--down .wf__num { color: var(--green-300); }
.wf__bar i { display: block; height: 100%; border-radius: 7px; }

.shap__foot {
  display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center;
  border-top: 1px solid var(--border); padding-top: 24px;
}
.alertline {
  display: flex; align-items: center; gap: 9px; margin: 0 0 8px;
  font-size: 14.5px; font-weight: 600; color: var(--alert);
}
.alertline b { font-family: var(--f-mono); }
.alertline .ico { width: 18px; height: 18px; }
.shap__hint { font-size: 13.5px; color: var(--text-dim); margin: 0; max-width: 62ch; }

/* ===================== TRL ===================== */
.trl { list-style: none; margin: 0 0 44px; padding: 0; display: grid; gap: 12px; }
.trl__item {
  display: grid; grid-template-columns: 92px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 22px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--bg);
  border-left: 4px solid var(--border-strong);
}
.trl__n { font-family: var(--f-mono); font-size: 14px; font-weight: 700; }
.trl__d { margin: 0; font-size: 14.5px; color: var(--text-muted); }
.trl__s { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
          padding: 6px 12px; border-radius: 999px; white-space: nowrap; }

.trl__item.is-done    { border-left-color: var(--green-600); }
.trl__item.is-done .trl__s { color: var(--green-300); background: color-mix(in srgb, var(--green-600) 26%, transparent); }
.trl__item.is-current { border-left-color: var(--green-400);
                        background: color-mix(in srgb, var(--green-600) 12%, var(--bg)); }
.trl__item.is-current .trl__s { color: #0A1710; background: var(--green-400); }
.trl__item.is-goal    { border-left-color: var(--alert); }
.trl__item.is-goal .trl__s { color: var(--alert); background: color-mix(in srgb, var(--alert) 15%, transparent); }

.bento--metas .card--metric { grid-column: span 3; }
.metric__tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; margin: 0 0 14px;
  padding: 5px 11px; border-radius: 999px;
  color: var(--alert); background: color-mix(in srgb, var(--alert) 13%, transparent);
}
.metric__tag--evidence { color: var(--green-300); background: color-mix(in srgb, var(--green-600) 26%, transparent); }
.metric__num {
  font-family: var(--f-mono); font-weight: 700; font-size: 40px; line-height: 1;
  margin: 0 0 8px; color: var(--text); font-variant-numeric: tabular-nums;
}
.metric__num small { font-size: .55em; color: var(--text-dim); }
.card--evidence .metric__num { color: var(--green-300); }
.metric__label { font-size: 14.5px; font-weight: 600; margin: 0 0 10px; }
.metric__sub   { font-size: 13px; color: var(--text-dim); margin: 0; }

.disclaimer {
  display: flex; gap: 11px; align-items: flex-start; margin: 26px 0 0;
  font-size: 13.5px; color: var(--text-dim); max-width: 82ch;
  padding: 16px 18px; border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--alert) 30%, transparent);
  background: color-mix(in srgb, var(--alert) 7%, transparent);
}
.disclaimer .ico { width: 18px; height: 18px; color: var(--alert); margin-top: 2px; }
.disclaimer strong { color: var(--alert); font-weight: 600; }

/* ===================== CUSTO / QUOTE ===================== */
.bento--custo .card--stat { grid-column: span 4; }
.card--quote { display: flex; flex-direction: column; justify-content: center;
               grid-column: span 12; }
.quote {
  font-family: var(--f-display); font-style: italic; font-size: clamp(19px, 2.4vw, 27px);
  line-height: 1.32; margin: 0 0 16px; color: var(--text); max-width: 46ch;
}
.quote__src { font-size: 13px; color: var(--text-dim); margin: 0; }

/* ===================== CTA ===================== */
.cta {
  padding: 104px 0; text-align: center; position: relative;
  border-top: 1px solid var(--border);
  background:
    radial-gradient(66% 100% at 50% 0%, color-mix(in srgb, var(--green-600) 26%, transparent), transparent 70%),
    var(--bg);
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__mark { width: 76px; height: 76px; margin-bottom: 22px; }
.cta__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; margin: 0 0 16px; max-width: 20ch;
}
.cta__sub { font-size: 17px; color: var(--text-muted); max-width: 58ch; margin: 0 0 34px; }
.cta__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 40px; }
.cta__team { font-size: 13px; color: var(--text-dim); margin: 0; max-width: 68ch; }

/* ===================== FOOT ===================== */
.foot { border-top: 1px solid var(--border); padding: 34px 0; background: var(--surface); }
.foot__inner { display: grid; gap: 8px; }
.foot p { margin: 0; font-size: 13.5px; color: var(--text-muted); }
.foot__dim { color: var(--text-dim) !important; font-size: 12.5px !important; }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 1024px) {
  .card--wide, .card--stat, .card--corr,
  .bento--metas .card--metric, .bento--custo .card--stat { grid-column: span 6; }
  .card--wide { grid-row: auto; }
  .topnav { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }
  .hero { padding: 48px 0 68px; }
  .tracks { grid-template-columns: 1fr; }
  .timeline { padding: 20px; border-radius: 18px; }
  .shap { padding: 22px; }
  .card, .card--wide, .card--stat, .card--corr, .card--quote,
  .bento--metas .card--metric, .bento--custo .card--stat { grid-column: span 12; }
  .mapa__head { display: none; }
  .mapa__row { grid-template-columns: 1fr; gap: 10px; padding: 18px; }
  .mapa__arrow { justify-content: flex-start; transform: rotate(90deg); }
  .wf { grid-template-columns: 1fr; gap: 6px; }
  .wf__num { text-align: left; }
  .trl__item { grid-template-columns: 1fr; gap: 10px; }
  .trl__s { justify-self: start; }
  .shap__foot { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 400px) {
  .tick { min-width: 46px; padding: 8px 10px; }
  .btn { width: 100%; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .btn:hover, .btn--ghost:hover { transform: none; }
}
