/* =============================================================
   KAMEL DIGITAL — Design System (thème clair · institutionnel)
   Pure Player Tech · Dakar, Sénégal
   ============================================================= */

:root {
  /* Brand */
  --brand: #1366b0;
  --brand-bright: #2b9be0;
  --brand-deep: #0d4a82;
  --brand-soft: #e9f2fb;
  --brand-soft-2: #f1f7fc;

  /* Ink / dark anchors */
  --ink: #0c2742;          /* footer, CTA band, ancres sombres */
  --heading: #102a47;
  --text: #46586e;
  --muted: #6b7c91;

  /* Surfaces */
  --bg: #ffffff;
  --surface-alt: #f3f7fb;
  --card: #ffffff;
  --white: #ffffff;

  /* Lines */
  --line: #e4eaf1;
  --line-strong: #d2dce7;

  /* Legacy aliases (compat avec le markup existant) */
  --navy-deep: var(--ink);
  --navy: var(--surface-alt);
  --navy-700: #ffffff;
  --navy-600: #f3f7fb;
  --navy-500: #e4eaf1;
  --green: var(--brand);
  --green-bright: var(--brand-bright);
  --green-soft: var(--brand-soft);
  --slate-100: var(--heading);
  --slate-300: var(--text);
  --slate-400: var(--text);
  --slate-500: var(--muted);

  /* Type */
  --font-head: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(16, 42, 71, 0.06), 0 1px 3px rgba(16, 42, 71, 0.05);
  --shadow-md: 0 10px 30px -18px rgba(16, 42, 71, 0.28);
  --shadow-lg: 0 24px 60px -28px rgba(16, 42, 71, 0.30);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--brand); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.65rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { color: var(--text); }

.accent { color: var(--brand); }
.text-white { color: var(--white); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 78px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.section-head { max-width: 730px; }
.section-head--center { margin: 0 auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.08rem; }

.lead { font-size: 1.15rem; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 0.95rem;
  padding: 14px 26px; border-radius: 10px; cursor: pointer;
  border: 1px solid transparent; transition: all 0.25s var(--ease);
  white-space: nowrap;
}
.btn .arr { transition: transform 0.25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(19, 102, 176, 0.55); }

.btn-ghost { background: #fff; color: var(--brand); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: var(--brand-soft); }

/* Boutons sur fond sombre (CTA band) */
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: #fff; color: #fff; }

.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { width: 38px; height: 38px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-head); font-weight: 600; font-size: 1.18rem;
  color: var(--heading); letter-spacing: -0.01em;
}
.brand-name b { color: var(--brand); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 0.92rem; color: var(--text); padding: 9px 14px; border-radius: 8px;
  transition: color 0.2s, background 0.2s; font-weight: 450;
}
.nav-links a:hover { color: var(--heading); background: var(--surface-alt); }
.nav-links a.active { color: var(--brand); }

.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--heading); transition: 0.3s; border-radius: 2px; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 160px 0 90px; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, var(--brand-soft), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #f5f9fd 100%);
  border-bottom: 1px solid var(--line);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.5; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.78rem; font-family: var(--font-head); letter-spacing: 0.04em;
  color: var(--brand-deep); background: #fff;
  border: 1px solid var(--line-strong); padding: 7px 14px; border-radius: 100px; margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--brand-bright);
  box-shadow: 0 0 0 4px rgba(43,155,224,0.18); animation: pulse 2.4s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.hero h1 { margin-bottom: 24px; }
.hero-sub { font-size: 1.18rem; max-width: 540px; margin-bottom: 36px; color: var(--text); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  position: relative; aspect-ratio: 1/1; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #ffffff, #eef5fc);
  border: 1px solid var(--line); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-visual svg { width: 100%; height: 100%; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--surface-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 40px 24px; text-align: center; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-head); font-size: 2.4rem; font-weight: 600; color: var(--heading);
  letter-spacing: -0.02em; line-height: 1;
}
.trust-num .accent { color: var(--brand); }
.trust-label { margin-top: 9px; font-size: 0.9rem; color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.card--link:hover { border-color: rgba(19,102,176,0.4); }

.card-ico {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); border: 1px solid rgba(19,102,176,0.16); margin-bottom: 20px;
}
.card-ico svg { width: 24px; height: 24px; stroke: var(--brand); }
.card h3 { margin-bottom: 11px; }
.card p { font-size: 0.96rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 18px;
  font-family: var(--font-head); font-size: 0.85rem; color: var(--brand); font-weight: 500;
}
.card-num { font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; color: var(--brand); letter-spacing: 0.1em; }

/* ---------- Logos strip ---------- */
.logos {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.logo-cell { background: #fff; padding: 28px 18px; display: grid; place-items: center; min-height: 104px; transition: background 0.3s; }
.logo-cell:hover { background: var(--brand-soft-2); }
.logo-cell span {
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--muted);
  text-align: center; letter-spacing: -0.01em; transition: color 0.3s;
}
.logo-cell:hover span { color: var(--brand-deep); }

/* ---------- Approach steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 28px; }
.step-num { font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; color: var(--brand); letter-spacing: 0.12em; }
.step-bar { height: 2px; background: var(--line); margin: 14px 0 22px; position: relative; overflow: hidden; border-radius: 2px; }
.step-bar::after { content:""; position:absolute; inset:0; width:38%; background: var(--brand); border-radius: 2px; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: 0.96rem; }

/* ---------- CTA band (ancre sombre) ---------- */
.cta-band { background: var(--ink); position: relative; overflow: hidden; }
.cta-band::before { content:""; position:absolute; inset:0; background: radial-gradient(680px 300px at 80% 40%, rgba(43,155,224,0.18), transparent 60%); }
.cta-inner { position: relative; text-align: center; max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.cta-inner h2 { color: #fff; }
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.82); }
.cta-band .eyebrow { color: var(--brand-bright); }
.cta-band .eyebrow::before { background: var(--brand-bright); }

/* ---------- Page header ---------- */
.page-hero {
  padding: 150px 0 60px; position: relative; overflow: hidden;
  background:
    radial-gradient(820px 380px at 82% -20%, var(--brand-soft), transparent 60%),
    linear-gradient(180deg, #ffffff, #f5f9fd);
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 2; max-width: 880px; }
.page-hero h1 { margin-bottom: 22px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Bullet lists ---------- */
.feat-list { display: grid; gap: 14px; margin-top: 8px; }
.feat-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 0.98rem; color: var(--text); }
.feat-list li::before {
  content: ""; flex-shrink: 0; width: 20px; height: 20px; margin-top: 3px;
  background: var(--brand-soft); border: 1px solid rgba(19,102,176,0.25); border-radius: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231366b0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* ---------- Split panel ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* ---------- Value cards ---------- */
.value { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.value h3 { color: var(--brand); font-size: 1.15rem; margin-bottom: 10px; }
.value p { font-size: 0.96rem; }
.value .text-white { color: var(--heading); }

/* ---------- Tables ---------- */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); background: #fff; }
table.data { width: 100%; border-collapse: collapse; min-width: 560px; }
table.data th, table.data td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
table.data thead th {
  font-family: var(--font-head); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-deep); background: var(--brand-soft); font-weight: 600;
}
table.data td { color: var(--text); }
table.data td:first-child { color: var(--heading); font-weight: 500; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--brand-soft-2); }
.tag {
  display: inline-block; font-size: 0.74rem; font-family: var(--font-head); padding: 3px 10px;
  border-radius: 100px; border: 1px solid var(--line-strong); color: var(--muted);
}
.tag--crit { color: #c0392b; border-color: rgba(192,57,43,0.35); background: #fdecea; }
.tag--int { color: var(--brand); border-color: rgba(19,102,176,0.35); background: var(--brand-soft); }

/* ---------- Client case cards ---------- */
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s; box-shadow: var(--shadow-sm); }
.case:hover { border-color: var(--line-strong); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.case-logo { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--heading); }
.case-sector { font-size: 0.82rem; color: var(--brand); font-family: var(--font-head); letter-spacing: 0.02em; }
.case-row { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.case-row dt { font-family: var(--font-head); font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.case-row dd { color: var(--text); font-size: 0.96rem; }

/* ---------- Sectors pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  font-family: var(--font-head); font-size: 0.92rem; color: var(--text);
  padding: 11px 20px; border-radius: 100px; border: 1px solid var(--line-strong);
  background: #fff; transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* ---------- Process timeline ---------- */
.timeline { display: grid; gap: 0; }
.tl-item { display: grid; grid-template-columns: 56px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.tl-item:last-child { border-bottom: none; }
.tl-num {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); border: 1px solid rgba(19,102,176,0.22);
  font-family: var(--font-head); font-weight: 600; color: var(--brand); font-size: 1.05rem;
}
.tl-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.tl-item p { font-size: 0.95rem; }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 50px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-family: var(--font-head); font-size: 0.85rem; color: var(--heading); margin-bottom: 8px; font-weight: 450; }
label .req { color: var(--brand); }
input, select, textarea {
  width: 100%; background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 13px 15px; color: var(--heading); font-family: var(--font-body); font-size: 0.96rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(19,102,176,0.14); }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7c91' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.consent input { width: auto; margin-top: 3px; accent-color: var(--brand); }
.form-note { font-size: 0.84rem; color: var(--muted); margin-top: 16px; }

.contact-aside .info-block { padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-aside .info-block:first-child { padding-top: 0; }
.info-block .ico-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 8px; }
.info-block .ico-label svg { width: 16px; height: 16px; stroke: var(--brand); }
.info-block .val { color: var(--heading); font-size: 1.05rem; }
.info-block .val a:hover { color: var(--brand); }

/* Captcha + erreurs + honeypot */
.captcha-field label strong { color: var(--brand); font-family: var(--font-head); }
.captcha-field input { max-width: 220px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error-banner {
  background: #fdecea; border: 1px solid rgba(192,57,43,0.3); color: #c0392b;
  padding: 13px 16px; border-radius: 10px; margin-bottom: 22px; font-size: 0.9rem;
}
.field-err { color: #c0392b; font-size: 0.82rem; margin-top: 7px; }
input.is-error, textarea.is-error, select.is-error { border-color: #c0392b; }
input.is-error:focus, textarea.is-error:focus { box-shadow: 0 0 0 3px rgba(192,57,43,0.12); }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .check { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-soft); border: 1px solid rgba(19,102,176,0.3); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success .check svg { width: 32px; height: 32px; stroke: var(--brand); }

/* ---------- Footer (ancre sombre) ---------- */
.site-footer { background: var(--ink); border-top: 1px solid var(--ink); padding: 64px 0 32px; color: rgba(255,255,255,0.7); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-mark { width: 44px; height: 44px; background: #fff; border-radius: 10px; padding: 5px; box-sizing: border-box; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { font-size: 0.94rem; max-width: 320px; color: rgba(255,255,255,0.65); }
.footer-col h4 { font-family: var(--font-head); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-bottom: 18px; font-weight: 500; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { font-size: 0.94rem; color: rgba(255,255,255,0.72); transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-bright); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.footer-bottom p { font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-bottom .made { color: rgba(255,255,255,0.65); }
.footer-bottom .made b { color: var(--brand-bright); font-weight: 500; }

/* ---------- Prose (pages légales) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.35rem; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.08rem; margin: 24px 0 9px; color: var(--heading); }
.prose p { margin-bottom: 14px; }
.prose a { color: var(--brand); text-decoration: underline; }
.prose a:hover { color: var(--brand-deep); }
.prose strong { color: var(--heading); font-weight: 600; }
.prose ul { margin: 0 0 18px; display: grid; gap: 9px; }
.prose ul li { position: relative; padding-left: 22px; color: var(--text); }
.prose ul li::before { content: ""; position: absolute; left: 5px; top: 10px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand); }
.prose .upd { font-size: 0.9rem; color: var(--muted); margin-bottom: 32px; }
.prose .todo { background: #fff7e6; border: 1px solid #f0d28a; color: #8a6d1a; padding: 2px 7px; border-radius: 5px; font-size: 0.9em; }

/* Légal — liens du footer */
.footer-bottom .legal-links { font-size: 0.86rem; }
.footer-bottom .legal-links a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-bottom .legal-links a:hover { color: var(--brand-bright); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-links {
    position: fixed; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; padding: 18px 24px 28px;
    background: rgba(255,255,255,0.98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform 0.35s var(--ease); z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; }
  .nav-cta { margin-left: 0; margin-top: 6px; }
  .nav-toggle { display: flex; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(1), .trust-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  table.data, .case-row { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .grid-4, .logos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .case { padding: 26px; }
  .form-card { padding: 26px; }
}
