/* ILF System — design system (sobrio / institucional) */
:root {
  --bg: #fafaf7;
  --surface: #ffffff;
  --surface2: #f3f4f0;
  --ink: #1c2733;
  --ink2: #4a5a68;
  --ink3: #8a97a3;
  --line: #e3e6e3;
  --accent: #1e5c3f;
  --accent-soft: #eaf2ec;
  --danger: #8a3a3a;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
.container { max-width: 1080px; margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 780px; margin: 0 auto; padding: 0 32px; }

/* ── Header ── */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 32px;
  height: 70px; display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand img { width: 32px; height: 32px; }
.brand-name { font-weight: 600; font-size: 14px; letter-spacing: .5px; }
.brand-sub {
  display: block; font-size: 9.5px; font-weight: 400;
  letter-spacing: 1.3px; text-transform: uppercase; color: var(--ink3);
}
nav.main { display: flex; align-items: center; gap: 2px; }
nav.main a {
  font-size: 13.5px; font-weight: 500; color: var(--ink2);
  text-decoration: none; padding: 8px 13px; border-radius: 6px;
  transition: color .15s, background .15s;
}
nav.main a:hover { color: var(--ink); background: var(--surface2); }
nav.main a.active { color: var(--accent); font-weight: 600; }
.btn {
  display: inline-block; font-size: 13.5px; font-weight: 600;
  padding: 10px 20px; border-radius: 7px; text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff !important; }
.btn-primary:hover { background: #174932; }
.btn-outline { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.nav-cta { margin-left: 10px; }

/* ── Page hero ── */
.page-hero {
  padding: 88px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 2.2px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px;
}
h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4.4vw, 44px); line-height: 1.15;
  letter-spacing: -0.5px; margin-bottom: 20px;
}
.page-hero .lead { font-size: 17px; color: var(--ink2); max-width: 620px; line-height: 1.75; }

/* ── Sections ── */
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.surface { background: var(--surface); }
h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(24px, 3vw, 32px); line-height: 1.2;
  letter-spacing: -0.4px; margin-bottom: 16px;
}
h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.section .lead { font-size: 15.5px; color: var(--ink2); max-width: 680px; margin-bottom: 36px; }
p.body { color: var(--ink2); font-size: 15px; margin-bottom: 18px; max-width: 720px; }
p.body strong { color: var(--ink); }

/* ── Cards / grid ── */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 12px; padding: 28px;
}
.card .num {
  font-family: var(--serif); font-size: 30px; font-weight: 600;
  color: var(--accent); line-height: 1; margin-bottom: 10px;
}
.card h3 { font-size: 15.5px; }
.card p { font-size: 13.5px; color: var(--ink2); line-height: 1.7; }
.card-flat { background: var(--surface2); border-radius: 12px; padding: 26px 28px; }

/* ── Stats strip ── */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); overflow: hidden;
}
.stat { padding: 28px 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .v { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--ink); }
.stat .v em { font-style: normal; color: var(--accent); }
.stat .l { font-size: 12px; color: var(--ink3); margin-top: 6px; letter-spacing: .3px; }

/* ── Tables ── */
.table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-size: 11px; font-weight: 600;
  letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink3);
  padding: 14px 20px; background: var(--surface2);
  border-bottom: 1px solid var(--line);
}
table.data td { padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--ink2); }
table.data tr:last-child td { border-bottom: none; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
.pos { color: var(--accent); font-weight: 600; }
.neg { color: var(--danger); font-weight: 600; }

/* ── Notices ── */
.notice {
  border: 1px solid var(--line); border-left: 3px solid var(--ink3);
  border-radius: 8px; background: var(--surface);
  padding: 18px 22px; font-size: 13px; color: var(--ink3); line-height: 1.7;
}
.notice.risk { border-left-color: var(--danger); }
.notice.ok { border-left-color: var(--accent); }

/* ── Steps ── */
.steps { counter-reset: step; }
.step {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: none; }
.step::before {
  counter-increment: step; content: counter(step);
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}
.step h3 { font-size: 15.5px; margin-bottom: 4px; }
.step p { font-size: 14px; color: var(--ink2); }

/* ── CTA band ── */
.cta-band {
  background: var(--ink); color: #fff;
  padding: 64px 0; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #9db0be; max-width: 520px; margin: 0 auto 28px; font-size: 15px; }
.cta-band .btn-primary { background: var(--accent); padding: 13px 30px; font-size: 14.5px; }

/* ── Pricing selector ── */
.price-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; padding: 36px; max-width: 560px; margin: 0 auto;
}
.price-row { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 4px; }
.price-val { font-family: var(--serif); font-size: 44px; font-weight: 600; }
.price-per { color: var(--ink3); font-size: 14px; }
.qty-row { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
.qty-btn {
  width: 38px; height: 38px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); font-size: 18px; color: var(--ink);
  cursor: pointer; transition: border-color .15s;
}
.qty-btn:hover { border-color: var(--accent); }
.qty-val { font-size: 18px; font-weight: 600; min-width: 100px; text-align: center; }
ul.check { list-style: none; margin: 22px 0; }
ul.check li {
  font-size: 14px; color: var(--ink2); padding: 9px 0 9px 26px;
  border-bottom: 1px solid var(--line); position: relative;
}
ul.check li:last-child { border-bottom: none; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq-item h3 { font-size: 15.5px; margin-bottom: 8px; }
.faq-item p { font-size: 14px; color: var(--ink2); max-width: 720px; }

/* ── Forms ── */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 36px; max-width: 560px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink2); margin-bottom: 7px; letter-spacing: .3px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font-size: 14px; font-family: var(--sans);
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  color: var(--ink); outline: none; transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink2); margin: 18px 0; }
.checkline input { margin-top: 3px; }
.total-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0; border-top: 1px solid var(--line); margin-top: 8px;
}
.total-line .t { font-size: 13px; color: var(--ink3); }
.total-line .v { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.btn-block { width: 100%; padding: 14px; font-size: 15px; }

/* ── Footer ── */
footer.site {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 48px 0 28px;
}
.footer-grid {
  display: flex; justify-content: space-between; gap: 40px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.footer-brand { display: flex; align-items: flex-start; gap: 11px; }
.footer-brand img { width: 30px; height: 30px; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--ink3); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 13px; color: var(--ink2); text-decoration: none; padding: 4px 0; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 22px;
  font-size: 11.5px; color: var(--ink3); line-height: 1.8;
}

/* ── Manifesto — papel de linho ── */
.manifesto-wrap { max-width: 660px; margin: 0 auto; padding: 0 24px; }
.manifesto-paper {
  position: relative;
  background-color: #f4f0e4;
  background-image:
    repeating-linear-gradient(0deg, rgba(28,39,51,.016) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(28,39,51,.016) 0 1px, transparent 1px 4px);
  border: 1px solid #e2dbc6;
  border-radius: 3px;
  padding: 76px 60px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(28,39,51,.07), 0 16px 48px rgba(28,39,51,.09);
}
.manifesto-paper::before {
  content: "";
  position: absolute; inset: 10px;
  border: 1px solid rgba(28,39,51,.08);
  pointer-events: none;
}
.mp-label {
  font-size: 10px; font-weight: 600; letter-spacing: 2.4px;
  text-transform: uppercase; color: #9a8c6e; margin-bottom: 16px;
}
.mp-lead {
  font-family: 'EB Garamond', Georgia, serif; font-size: 21px; font-weight: 500;
  line-height: 1.85; color: var(--ink);
}
.mp-p {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px; line-height: 1.9; color: #45443a;
  margin-bottom: 30px;
}
.mp-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 44px; }
.mp-list div {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 18px; color: #45443a;
}
.mp-list div::before { content: "◆ "; font-size: 10px; color: #9a8c6e; vertical-align: 2px; }
.mp-quote {
  text-align: center; padding: 44px 36px; margin-bottom: 44px;
  border-top: 1px solid rgba(154,140,110,.35);
  border-bottom: 1px solid rgba(154,140,110,.35);
}
.mp-quote p {
  font-family: 'EB Garamond', Georgia, serif; font-size: 22px; font-style: italic;
  line-height: 1.75; color: var(--ink); max-width: 500px; margin: 0 auto;
}
.mp-box {
  border: 1px solid rgba(154,140,110,.4); border-radius: 3px;
  background: rgba(255,255,255,.35); padding: 30px 34px; margin-bottom: 44px;
}
.mp-rule {
  display: flex; align-items: center; gap: 16px;
  max-width: 300px; margin: 40px auto 0;
}
.mp-rule::before, .mp-rule::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154,140,110,.5));
}
.mp-rule::after { background: linear-gradient(90deg, rgba(154,140,110,.5), transparent); }
.mp-rule span { font-size: 9px; color: #9a8c6e; }

@media (max-width: 820px) {
  nav.main a:not(.nav-cta) { display: none; }
  .manifesto-paper { padding: 48px 28px; }
  .manifesto-paper::before { inset: 7px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
}
