/* pages.css — gedeelde stijl voor de commerciële verdiepingspagina's
   (/manager-intelligence/ en /data-methodology/). Zelfde tokens, typografie en
   componenten als static/index.html (Archivo · navy/sand/paper · zero border-radius).
   De homepage houdt haar eigen inline CSS; dit bestand kopieert alleen wat de
   subpagina's nodig hebben. Bij wijziging: ?v= in de <link> ophogen (Caddy cachet CSS 7 dagen). */

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

:root {
  --navy:   #0a1f3d;
  --navy2:  #16304d;
  --blue:   #9a8559;   /* sand — primaire accent */
  --blue2:  #b09872;
  --teal:   #c4ad7a;   /* sand op donker */
  --light:  #f6f2ec;   /* paper */
  --text:   #0a1f3d;
  --muted:  #6b6252;
  --border: #ddd5c8;
  --white:  #ffffff;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Archivo', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV (identiek aan de homepage) ─────────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,242,236,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 6%;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-left { display: flex; align-items: center; min-width: 0; }
.nav-logo { display: block; line-height: 0; }
.nav-logo svg { height: 48px; width: auto; display: block; }
.nav-tagline {
  padding-left: 18px; margin-left: 18px;
  border-left: 1.5px solid var(--border);
  display: flex; flex-direction: column; gap: 3px;
}
.nav-tagline-title { font-size: 0.74rem; font-weight: 700; color: var(--navy); letter-spacing: 0.01em; line-height: 1.2; }
.nav-tagline-sub   { font-size: 0.64rem; color: var(--muted); line-height: 1.35; }
.nav-links { display: flex; align-items: center; gap: 22px; margin-left: 28px; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a.active { color: var(--navy); border-bottom-color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.76rem; font-weight: 600;
  color: var(--navy); padding: 0; line-height: 1;
  display: flex; align-items: center;
}
.lang-opt { opacity: 0.32; transition: opacity 0.18s; }
.lang-opt.active { opacity: 1; }
.lang-sep { opacity: 0.25; margin: 0 4px; font-weight: 400; }
.btn-nav {
  background: var(--navy); color: #f6f2ec;
  padding: 7px 16px; text-decoration: none;
  font-weight: 600; font-size: 0.84rem; white-space: nowrap;
  transition: background 0.2s;
}
.btn-nav:hover { background: #122c54; }
.nav-login { color: var(--muted); text-decoration: none; font-size: 0.80rem; font-weight: 500; white-space: nowrap; }
.nav-login:hover { color: var(--navy); }

/* Mobiele paginanavigatie: één slanke rij onder de header (geen dropdown, geen menu) */
.subnav { display: none; }

/* ─── HERO (donker, zoals de homepage) ────────────────────── */
.hero {
  background: var(--navy);
  padding: 88px 6% 72px;
}
.hero-inner { max-width: 1060px; margin: 0 auto; }
.hero-label {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(196,173,122,0.35);
  padding: 3px 10px;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em;
  color: rgba(196,173,122,0.9); text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800; line-height: 1.1; letter-spacing: -0.03em;
  color: var(--white); margin-bottom: 20px; max-width: 820px;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.66);
  max-width: 640px; line-height: 1.65; margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  background: #f6f2ec; color: #0a1f3d;
  padding: 13px 28px; text-decoration: none;
  font-weight: 700; font-size: 0.95rem; transition: background 0.2s;
}
.btn-primary:hover { background: #ede7dc; }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(196,173,122,0.7);
  color: rgba(255,255,255,0.92);
  padding: 13px 28px; text-decoration: none;
  font-weight: 600; font-size: 0.95rem; transition: background 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* Kerncijferstrook in de hero (feitelijk, tabular) */
.hero-facts {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(196,173,122,0.28);
}
.hero-fact { padding: 18px 18px 0 0; }
.hero-fact-n { font-size: 1.6rem; font-weight: 800; color: var(--white); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hero-fact-l { font-size: 0.74rem; color: rgba(255,255,255,0.5); margin-top: 6px; line-height: 1.4; }

/* ─── SECTIES ─────────────────────────────────────────────── */
section { padding: 80px 6%; border-top: 1px solid var(--border); }
section.alt { background: var(--white); }
.inner { max-width: 1060px; margin: 0 auto; }
.inner-narrow { max-width: 860px; margin: 0 auto; }
.section-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800; color: var(--navy);
  letter-spacing: -0.02em; line-height: 1.18;
  margin-bottom: 20px; max-width: 640px;
}
.section-intro { font-size: 1rem; color: var(--muted); line-height: 1.7; max-width: 640px; margin-bottom: 36px; }
.lead { font-size: 1.02rem; line-height: 1.7; color: var(--text); max-width: 680px; }

/* Witte kaarten in raster (zoals .how-step op de homepage) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 26px 24px 28px;
}
.card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; letter-spacing: -0.01em; }
.card p  { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.card-focus { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--blue); text-transform: uppercase; margin-bottom: 8px; }
.card-num { font-size: 2.6rem; font-weight: 900; color: var(--blue); line-height: 1; margin-bottom: 18px; letter-spacing: -0.04em; }
.card ul { list-style: none; margin-top: 8px; }
.card li { font-size: 0.88rem; color: var(--text); line-height: 1.55; padding: 6px 0 6px 18px; position: relative; border-top: 1px solid var(--border); }
.card li:first-child { border-top: none; }
.card li::before { content: "→"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

/* Accentkaart met linkerrand (zoals .use-card) */
.callout {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  padding: 18px 22px;
}
.callout p { font-size: 0.92rem; line-height: 1.65; color: var(--text); }
.callout strong { color: var(--navy); }

/* Twee-koloms vergelijking (gepubliceerd vs afgeleid, norm vs realisatie) */
.split { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); background: var(--white); }
.split > div { padding: 24px 26px; }
.split > div + div { border-left: 1px solid var(--border); }
.split h3 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.split p  { font-size: 0.9rem; color: var(--text); line-height: 1.65; }
.split .ex { margin-top: 12px; font-size: 0.8rem; color: var(--muted); font-variant-numeric: tabular-nums; border-top: 1px solid var(--border); padding-top: 10px; }

/* Feitelijke tabel (coverage, bronnen) */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); background: var(--white); }
table.facts { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
table.facts th, table.facts td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
table.facts th { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: var(--light); }
table.facts td.n { font-weight: 800; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
table.facts td.m { color: var(--muted); font-size: 0.82rem; }
table.facts tr:last-child td { border-bottom: none; }
.table-note { font-size: 0.76rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }

/* Productbeeld (echte platform-UI) */
.shot {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 8px;
}
.shot img { display: block; width: 100%; height: auto; }
.shot-caption { font-size: 0.76rem; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.shot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }

/* Vragenlijst (commercieel gebruik) — flat raster zoals .questions-grid */
.q-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.q-item { padding: 22px 22px; border-bottom: 1px solid var(--border); border-right: 1px solid var(--border); font-size: 0.93rem; font-weight: 500; line-height: 1.55; background: var(--white); }
.q-num { display: block; color: var(--teal); font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; margin-bottom: 6px; }

/* Interne link-pijl */
.link-arrow { color: var(--navy); font-weight: 700; text-decoration: none; font-size: 0.92rem; border-bottom: 1.5px solid var(--blue); padding-bottom: 1px; }
.link-arrow:hover { color: var(--blue); }

/* ─── CTA (donker) ────────────────────────────────────────── */
.cta-section { background: var(--navy); padding: 88px 6%; text-align: center; border-top: none; }
.cta-section h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800; color: var(--white); letter-spacing: -0.03em; margin-bottom: 14px; }
.cta-section p { color: rgba(255,255,255,0.58); font-size: 1rem; max-width: 460px; margin: 0 auto 36px; line-height: 1.65; }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cta-sub { color: rgba(255,255,255,0.42); font-size: 0.83rem; text-decoration: underline; text-underline-offset: 3px; }

/* ─── FOOTER (identiek aan de homepage) ───────────────────── */
footer {
  background: #080f1f; color: rgba(255,255,255,0.3);
  padding: 20px 6% 22px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  font-size: 0.78rem;
}
footer a { color: rgba(255,255,255,0.3); text-decoration: none; }
footer a:hover { color: rgba(255,255,255,0.7); }
.footer-hig {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.45); font-size: 0.76rem; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  width: 100%; padding-bottom: 14px; justify-content: center;
}
.footer-hig strong { color: rgba(255,255,255,0.65); font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; width: 100%; font-size: 0.76rem; }
.footer-legal .footer-legal-title { color: rgba(255,255,255,0.55); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.66rem; margin-right: 4px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; width: 100%; }

/* ─── SCROLL FADE-IN ──────────────────────────────────────── */
.scroll-fade { opacity: 0; transform: translateY(24px); transition: opacity 0.65s cubic-bezier(0.22,0.61,0.36,1), transform 0.65s cubic-bezier(0.22,0.61,0.36,1); }
.scroll-fade.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .scroll-fade { opacity: 1; transform: none; transition: none; } }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav-tagline { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .subnav {
    display: flex; gap: 18px; justify-content: center;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 9px 4%; font-size: 0.78rem; font-weight: 600;
    position: sticky; top: 72px; z-index: 99;
  }
  .subnav a { color: var(--muted); text-decoration: none; white-space: nowrap; padding: 2px 0; border-bottom: 2px solid transparent; }
  .subnav a.active { color: var(--navy); border-bottom-color: var(--blue); }
  .hero { padding: 64px 6% 52px; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-2, .shot-grid, .split, .q-grid { grid-template-columns: 1fr; }
  .split > div + div { border-left: none; border-top: 1px solid var(--border); }
  section { padding: 60px 6%; }
}
@media (max-width: 500px) {
  nav { height: 56px; padding: 0 4%; gap: 8px; }
  .nav-left { flex: 0 0 auto; }
  .nav-logo svg { height: 28px !important; }
  .nav-actions { gap: 10px; flex-shrink: 0; margin-left: auto; }
  .lang-toggle { font-size: 0.72rem; }
  .btn-nav { padding: 6px 10px; font-size: 0.76rem; }
  .nav-login { display: none; }
  .subnav { top: 56px; gap: 14px; font-size: 0.74rem; }
  .hero { padding: 44px 5% 36px; }
  .hero h1 { font-size: 1.7rem; word-break: break-word; overflow-wrap: anywhere; hyphens: auto; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-fact-n { font-size: 1.35rem; }
  section { padding: 52px 5%; }
  .cta-section { padding: 60px 5%; }
  .card { padding: 22px 18px 24px; }
}
