:root {
  --ink: #0E100C;
  --bg: #F3F5EF;
  --white: #FFFFFF;
  --green: #79D70F;
  --text-2: #4A4F45;
  --text-nav: #3D4238;
  --muted: #5C6157;
  --muted-2: #7A8074;
  --line: #E6E9E1;
  --ink-2: #1C1F19;
  --ink-3: #2A2D27;
  --ink-4: #2E322A;
  --on-ink: #C9CEC2;
  --on-ink-2: #B9BEB2;
  --red: #B3261E;
  --red-bg: #FBE4DD;

  /* Mudam com o tema */
  --fg: #0E100C;
  --surface: #FFFFFF;
  --band: #FFFFFF;
  --track: #E6E9E1;
  --btn-bg: #0E100C;
  --btn-fg: #FFFFFF;
  --topbar: rgba(243, 245, 239, .86);
  --topbar-line: rgba(14, 16, 12, .06);
  --danger: #B3261E;
  --danger-bg: #FBE4DD;
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui, sans-serif;
  --font-num: ui-rounded, "SF Pro Rounded", -apple-system, system-ui, sans-serif;
  color-scheme: light dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
picture { display: contents; }
a { color: var(--fg); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
section[id] { scroll-margin-top: 72px; }
.num { font-family: var(--font-num); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap-narrow { max-width: 880px; }
.section {
  padding-top: clamp(72px, 9vw, 128px);
  padding-bottom: clamp(72px, 9vw, 128px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 64px);
}
.section-tight { padding-top: 0; gap: clamp(32px, 4vw, 48px); }
.band-white { background: var(--band); }
.band-green { background: var(--green); color: var(--ink); }
.band-ink { background: var(--ink); color: var(--white); }

/* Tipografia de seção */
.section-head { max-width: 720px; display: flex; flex-direction: column; gap: 20px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .12em; color: var(--muted); }
.eyebrow-ink { color: var(--ink); opacity: .7; }
.eyebrow-green { color: var(--green); }
h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  text-wrap: balance;
}
.section-lead {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.band-green .section-lead { color: #1E2219; }
.band-ink .section-lead { color: var(--on-ink); }

/* Botões e links */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(14, 16, 12, .22); }
.btn-sm { gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 22px; font-size: 15px; }
.btn-lg { min-height: 56px; padding: 0 28px; border-radius: 28px; font-size: 17px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.link-light { align-self: flex-start; color: var(--white); text-decoration: underline; text-underline-offset: 4px; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); }
.brand img { height: 28px; width: auto; }
.brand span { font-size: 19px; font-weight: 700; letter-spacing: -.3px; }
.brand-sm img { height: 22px; }
.brand-sm span { font-size: 15px; }

/* Barra de progresso */
.bar { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.bar-sm { height: 6px; border-radius: 3px; }
.bar-lg { height: 12px; border-radius: 6px; }
.bar-dark { background: var(--ink-4); }
.bar-over { background: var(--red); }
.bar-fill {
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: var(--green);
  transition: width 1.3s cubic-bezier(.3, 0, .2, 1) calc(var(--d, 0s) + .25s);
}

/* Menu fixo */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--topbar);
  -webkit-backdrop-filter: saturate(1.6) blur(18px);
  backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--topbar-line);
}
.topbar-nav { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.topbar-links a { color: var(--text-nav); text-decoration: none; }
.topbar-links a:hover { color: var(--fg); }

/* Topo */
.hero {
  padding-top: clamp(40px, 7vw, 96px);
  padding-bottom: clamp(56px, 8vw, 112px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 6vw, 72px);
}
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-nav);
}
.dot { width: 8px; height: 8px; border-radius: 4px; background: var(--green); }
h1 {
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 1;
  letter-spacing: -.035em;
  font-weight: 800;
  text-wrap: balance;
}
.hero-lead { max-width: 520px; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.checks { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--text-2); }
.checks li { display: flex; align-items: center; gap: 6px; }
.checks svg { color: var(--fg); }

.hero-visual { flex: 1 1 400px; min-width: 0; display: flex; justify-content: center; }
.hero-stage {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 500 / 600;
  border-radius: 48px;
  background: var(--green);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink); stroke-opacity: .08; stroke-width: 40; }
.phone {
  position: relative;
  width: 60%;
  margin-left: 9%;
  margin-bottom: -24%;
  padding: 10px;
  border-radius: 52px;
  background: var(--ink);
  box-shadow: 0 40px 80px rgba(14, 16, 12, .3);
}
.phone-screen { position: relative; border-radius: 42px; overflow: hidden; background: var(--white); }
.phone-screen img { width: 100%; height: auto; }
.phone-island { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); width: 30%; height: 26px; border-radius: 13px; background: var(--ink); }
.float-card {
  position: absolute;
  right: 5%;
  top: 16%;
  width: min(50%, 230px);
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 24px 48px rgba(14, 16, 12, .28);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.float-card-head { display: flex; align-items: center; justify-content: space-between; font-size: 14px; font-weight: 600; }
.float-card-head img { height: 14px; width: auto; opacity: .7; }
.float-card-value { font-size: clamp(22px, 6vw, 30px); font-weight: 700; letter-spacing: -.5px; }
.float-card-sub { font-size: 13px; color: var(--on-ink-2); }
.float-card .bar { margin-top: 4px; }
.toast {
  position: absolute;
  right: 5%;
  bottom: 14%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 20px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: 0 20px 40px rgba(14, 16, 12, .18);
}
.toast-icon { width: 36px; height: 36px; border-radius: 18px; background: var(--green); color: var(--ink); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.toast-text { display: flex; flex-direction: column; gap: 1px; font-size: 14px; }
.toast-text strong { font-weight: 600; }
.toast-text span { font-size: 12px; color: var(--muted); }

/* O problema */
.compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.compare-card {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 32px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.compare-card > p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.compare-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.compare-label { font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--muted); }
.compare-title { font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.compare-card-dark { background: var(--ink); color: var(--white); }
.compare-card-dark .compare-label { color: var(--green); }
.compare-card-dark > p { color: var(--on-ink); }
.statement { border-radius: 20px; background: var(--surface); padding: 6px 18px; }
.statement-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.statement-row:last-child { border-bottom: 0; }
.statement-name { font-size: 16px; font-weight: 500; }
.statement-value { font-size: 16px; font-weight: 600; color: var(--text-2); }
.statement-date { font-size: 13px; color: var(--muted-2); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile { padding: 16px; border-radius: 20px; background: var(--surface); color: var(--fg); display: flex; flex-direction: column; gap: 6px; }
.tile-name { font-size: 15px; font-weight: 500; }
.tile-value { font-size: clamp(20px, 2vw, 26px); font-weight: 700; }
.tile-sub { font-size: 13px; color: var(--muted); }
.tile-over { background: var(--danger-bg); }
.tile-over .tile-value { color: var(--danger); }
.tile-over .tile-sub { font-weight: 600; color: var(--danger); }
.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.pains li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--fg); }
.pains strong { font-size: 19px; font-weight: 700; letter-spacing: -.2px; text-wrap: balance; }
.pains span { font-size: 16px; line-height: 1.5; color: var(--text-2); }

/* Simulador */
.sim { flex-direction: row; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 80px); }
.sim-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chip {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 24px;
  border: 2px solid var(--ink);
  background: rgba(255, 255, 255, .55);
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color .2s, color .2s, transform .15s;
}
.chip .num { font-weight: 700; }
.chip:hover { background: rgba(255, 255, 255, .8); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chip:active { transform: scale(.96); }
.sim-reset {
  align-self: flex-start;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sim-reset[hidden] { display: none; }
.sim-visual { flex: 1 1 380px; min-width: 0; display: flex; justify-content: center; }
.sim-card {
  width: min(100%, 440px);
  padding: 32px;
  border-radius: 36px;
  background: var(--surface);
  color: var(--fg);
  box-shadow: 0 40px 80px rgba(14, 16, 12, .22);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transition: background-color .3s;
}
.sim-card-head { display: flex; align-items: center; justify-content: space-between; font-size: 20px; font-weight: 600; }
.sim-card-head img { height: 20px; width: auto; opacity: .35; }
.sim-card-amount { display: flex; flex-direction: column; gap: 6px; }
.sim-avail { font-size: clamp(44px, 5vw, 60px); font-weight: 700; letter-spacing: -1.5px; line-height: 1; transition: color .3s; }
.sim-sub { font-size: 16px; color: var(--muted); }
.sim-bar { transition: width .45s cubic-bezier(.3, 0, .2, 1), background-color .3s; }
.sim-msg { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: #EEF9DF; transition: background-color .3s, color .3s; }
.sim-msg svg { flex-shrink: 0; }
.sim-msg-text { font-size: 16px; font-weight: 600; line-height: 1.35; }
.sim-renew { font-size: 14px; color: var(--muted); }
.sim-card .icon-over { display: none; color: var(--danger); }
.sim-card[data-state="low"] .sim-msg { background: #FFF1C7; }
.sim-card[data-state="over"] { background: #FFF6F3; }
.sim-card[data-state="over"] .sim-avail { color: var(--danger); }
.sim-card[data-state="over"] .sim-bar { background: var(--danger); }
.sim-card[data-state="over"] .sim-msg { background: var(--danger-bg); color: #8C1D16; }
.sim-card[data-state="over"] .icon-over { display: block; }
.sim-card[data-state="over"] .icon-fits { display: none; }

/* Cartões (como funciona e recursos) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 20px; }
.card { padding: 28px; border-radius: 32px; background: var(--surface); display: flex; flex-direction: column; gap: 20px; }
.features .card { gap: 24px; }
.card-dark { background: var(--ink); color: var(--white); }
.card-body { display: flex; flex-direction: column; gap: 8px; }
.card-body h3 { font-size: 22px; letter-spacing: -.3px; }
.card-body p { font-size: 16px; line-height: 1.5; color: var(--text-2); }
.card-dark .card-body p { color: var(--on-ink); }
.card-visual { height: 200px; border-radius: 22px; background: var(--bg); padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.features .card-visual { height: 220px; border-radius: 24px; }
.card-visual-dark { background: var(--ink-3); }
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: var(--green);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
}
.step-num + h3 { margin-top: 6px; }

.step-budgets { gap: 10px; }
.budget-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); font-size: 15px; }
.budget-row span:first-child { font-weight: 600; }
.budget-row .num { font-weight: 600; color: var(--text-2); }
.step-amount { align-items: center; gap: 12px; }
.step-amount-label { font-size: 15px; font-weight: 600; color: var(--text-2); }
.step-amount-value { display: flex; align-items: baseline; gap: 6px; }
.step-amount-value .num { font-size: 52px; font-weight: 700; letter-spacing: -1px; }
.step-amount-value .cur { font-size: 22px; font-weight: 600; letter-spacing: 0; color: var(--muted-2); }
.step-amount-btn { padding: 10px 40px; border-radius: 20px; background: var(--green); color: var(--ink); font-size: 15px; font-weight: 700; }
.mini-card { padding: 18px; border-radius: 18px; background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.mini-card-name { font-size: 15px; font-weight: 600; }
.mini-card-value { font-size: 30px; font-weight: 700; }

.feat-widgets, .feat-themes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: center; padding: 18px; }
.widget { padding: 14px; border-radius: 20px; background: var(--surface); color: var(--fg); display: flex; flex-direction: column; gap: 4px; }
.widget-name { font-size: 13px; font-weight: 600; }
.widget-value { font-size: 24px; font-weight: 700; }
.widget-sub { font-size: 11px; color: var(--muted); }
.widget .bar, .theme-tile .bar { margin-top: 6px; }
.feat-control { align-items: center; padding: 18px; container-type: inline-size; }
.cc-grid { display: grid; grid-template-columns: repeat(4, 58px); grid-auto-rows: 58px; gap: 12px; }
.cc { border-radius: 16px; background: rgba(255, 255, 255, .14); }
.cc.round { border-radius: 29px; }
.cc-main {
  grid-column: span 2;
  border-radius: 29px;
  background: rgba(255, 255, 255, .24);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: var(--white);
}
.cc-main-icon { width: 34px; height: 34px; border-radius: 17px; background: rgba(255, 255, 255, .22); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cc-main-icon img { height: 14px; width: auto; }
.cc-main-text { display: flex; flex-direction: column; line-height: 1.1; }
.cc-main-text strong { font-size: 12px; font-weight: 700; white-space: nowrap; }
.cc-main-text span { font-size: 11px; opacity: .7; }
.feat-cycle { padding: 18px; gap: 12px; container-type: inline-size; }
.cal-month { font-size: 13px; font-weight: 600; color: var(--muted); text-align: center; }
.cal { display: grid; grid-template-columns: repeat(7, 32px); grid-auto-rows: 32px; gap: 6px; justify-content: center; font-size: 13px; font-weight: 500; }
/* Dias encolhem com o cartão (entre 20px e 32px); o texto mantém 13px */
@supports (width: 1cqi) {
  .cal { --day: clamp(20px, (100cqi - 36px) / 7, 32px); grid-template-columns: repeat(7, var(--day)); grid-auto-rows: var(--day); }
}
.cal span { display: flex; align-items: center; justify-content: center; }
.cal .cal-today { border-radius: 50%; background: var(--btn-bg); color: var(--btn-fg); font-weight: 700; }
.cal-badge { align-self: center; padding: 6px 12px; border-radius: 12px; background: var(--green); color: var(--ink); font-size: 12px; font-weight: 700; }
.feat-chart { flex-direction: row; align-items: flex-end; justify-content: center; gap: 14px; padding: 22px; }
.feat-chart span {
  width: 28px;
  height: var(--h);
  border-radius: 8px;
  background: var(--on-ink);
  transition: height 1s cubic-bezier(.3, 0, .2, 1) calc(var(--d, 0s) + .25s);
}
.feat-chart .now { background: var(--green); }
.feat-search { gap: 12px; }
.search-field { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: var(--surface); font-size: 15px; }
.search-field svg { color: var(--muted-2); }
.search-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.search-tags span { padding: 6px 10px; border-radius: 10px; background: var(--surface); font-size: 12px; font-weight: 600; }
.search-tags .on { background: var(--btn-bg); color: var(--btn-fg); }
.search-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 14px; background: var(--surface); }
.search-total span:first-child { font-size: 13px; color: var(--muted); }
.search-total .num { font-size: 22px; font-weight: 700; }
.feat-themes { padding: 20px; }
/* Prévia do tema claro: continua clara no modo escuro */
.theme-tile { --track: #E6E9E1; padding: 14px; border-radius: 18px; background: var(--white); color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.theme-tile-dark { background: var(--ink-2); color: var(--white); }
.theme-name { font-size: 12px; font-weight: 600; }
.theme-value { font-size: 20px; font-weight: 700; }

/* Privacidade */
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.promises li { padding: 28px; border-radius: 28px; background: var(--ink-2); display: flex; flex-direction: column; gap: 14px; }
.promises svg { color: var(--green); }
.promises strong { font-size: 24px; font-weight: 800; letter-spacing: -.4px; }
.promises span { font-size: 16px; line-height: 1.5; color: var(--on-ink); }

/* Missão */
.mission { flex-direction: row; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); }
.mission-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.mission-side img { width: 120px; height: auto; }
.mission-text { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.mission-text h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.12; letter-spacing: -.025em; }
.mission-text p { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

/* Perguntas frequentes */
.faq { gap: 32px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 19px;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .plus { flex-shrink: 0; transition: transform .25s; }
.faq-list details[open] .plus { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 24px; max-width: 680px; font-size: 17px; line-height: 1.6; color: var(--text-2); }

/* Download */
.download { padding: clamp(24px, 4vw, 48px) 24px; }
.download-box {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: clamp(32px, 4vw, 56px);
  background: var(--green);
  color: var(--ink);
  padding: clamp(56px, 8vw, 104px) clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.download-box img { height: 64px; width: auto; }
.download-box h2 { max-width: 820px; font-size: clamp(34px, 4.8vw, 64px); line-height: 1.02; letter-spacing: -.035em; }
.download-box p { font-size: clamp(17px, 1.5vw, 20px); color: #1E2219; }
/* Selo oficial da Apple: não alterar a arte; mínimo de 40px de altura */
.download-box .app-badge { display: block; border-radius: 9px; }
.download-box .app-badge img { display: block; height: 56px; }

/* Rodapé */
.footer {
  padding-top: 40px;
  padding-bottom: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  font-size: 15px;
  color: var(--text-2);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--text-2); }

@media (max-width: 820px) {
  .topbar-links { display: none; }
}
/* Cartão estreito: a Central de Controle (268px) não cabe; reduz a ilustração inteira */
@container (width < 268px) {
  .cc-grid { zoom: .8; }
}
@container (width < 214.4px) {
  .cc-grid { zoom: .65; }
}

/* Modo escuro: segue o aparelho, sem botão de troca */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0D0A;
    --fg: #F2F4EE;
    --surface: #1A1D18;
    --band: #121510;
    --track: #33372F;
    --line: #2A2D27;
    --text-2: #A3A99C;
    --text-nav: #C9CEC2;
    --muted: #A3A99C;
    --muted-2: #7D8376;
    --btn-bg: #F2F4EE;
    --btn-fg: #0E100C;
    --topbar: rgba(11, 13, 10, .82);
    --topbar-line: rgba(255, 255, 255, .08);
    --danger: #FF8A6B;
    --danger-bg: #3A1A12;
  }
  .band-ink { background: #000; }
  .promises li { background: var(--surface); }
  .promises span { color: var(--text-2); }

  .phone-screen { background: var(--bg); }
  .toast { box-shadow: 0 20px 40px rgba(14, 16, 12, .3); }

  .compare-card { background: var(--surface); }
  .compare-card-dark { background: #000; box-shadow: inset 0 0 0 1px rgba(121, 215, 15, .35); }
  .statement { background: #22261F; }
  .statement-value { color: var(--on-ink); }

  .sim-card { box-shadow: 0 40px 80px rgba(14, 16, 12, .35); }
  .sim-card-head img { opacity: .5; }
  .sim-msg { background: #1F2B12; }
  .sim-card[data-state="low"] .sim-msg { background: #3A3212; }
  .sim-card[data-state="over"] { background: #2B1610; }
  .sim-card[data-state="over"] .sim-msg { color: var(--danger); }

  .card-dark { background: var(--surface); }
  .card-dark .card-body p { color: var(--text-2); }
  .card-visual-dark { background: #000; }
  .feat-chart span { background: #4A4F45; }
  .feat-chart .now { background: var(--green); }
  .theme-tile-dark { background: var(--surface); color: var(--fg); box-shadow: inset 0 0 0 1px var(--line); }
}

/* Animações: só para quem não pediu movimento reduzido */
@keyframes mf-up { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes mf-pop { from { opacity: 0; transform: translateY(14px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes mf-fill { from { width: 0; } }

/* Só na tela: na impressão, seções que não passaram pela tela sairiam em branco */
@media screen and (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .enter { animation: mf-up var(--dur, .8s) var(--ease-out) var(--d, 0s) both; }
  .pop { animation: mf-pop .6s cubic-bezier(.2, .8, .2, 1.2) var(--d, 0s) both; }
  .bar-fill.grow { animation: mf-fill 1.3s cubic-bezier(.3, 0, .2, 1) var(--d, 0s) both; }

  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease-out) var(--d, 0s), transform .8s var(--ease-out) var(--d, 0s);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
  .js .reveal:not(.is-visible) .bar-fill { width: 0; }
  .js .reveal:not(.is-visible) .feat-chart span { height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
