/* iAlbatros — feuille de style unique */
:root {
  --ink: #0c1b2e;
  --ink-2: #33475b;
  --muted: #5b6b7c;
  --line: #e2e8ef;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --navy: #0b1a2c;
  --accent: #2a6fdb;
  --accent-ink: #1a4fa8;
  --accent-soft: #e8f0fd;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(12, 27, 46, .05), 0 8px 24px rgba(12, 27, 46, .06);
  --shadow-hover: 0 2px 4px rgba(12, 27, 46, .06), 0 16px 40px rgba(12, 27, 46, .12);
  --max: 1160px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand span b { color: var(--accent); font-weight: 750; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: .95rem; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-soft); }
.nav a.btn { color: #fff; background: var(--ink); margin-left: 6px; }
.nav a.btn:hover { background: var(--accent-ink); color: #fff; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--accent-soft); color: var(--navy); }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { border-color: #fff; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(42,111,219,.12), transparent 60%),
  radial-gradient(700px 380px at -10% 110%, rgba(42,111,219,.07), transparent 60%),
  var(--bg); }
.hero .container { display: grid; grid-template-columns: 1.25fr .9fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 26px; }
.hero-card .graph { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero-card > *:not(.graph) { position: relative; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.stat { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; }
.stat strong { display: block; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-size: .85rem; color: var(--muted); }
.card-label { font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { font-size: .85rem; font-weight: 550; padding: 6px 11px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head p { color: var(--muted); max-width: 34em; margin: 0; }
.section-head h2 { margin: 0; }
.kicker { font-size: .82rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }

/* Logos */
.logos { padding: 44px 0 52px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos .card-label { text-align: center; margin-bottom: 26px; }
.logo-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.logo-grid li { display: flex; align-items: center; justify-content: center; height: 84px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.logo-grid img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter .2s, opacity .2s; }
.logo-grid li:hover img { filter: none; opacity: 1; }
.logo-grid.partners { grid-template-columns: repeat(3, minmax(0, 220px)); justify-content: center; }

/* Cartes réalisations */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: #cfd9e6; color: var(--ink); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.tag { font-size: .76rem; font-weight: 650; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.year { font-size: .88rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.card h3 { margin-bottom: 14px; }
.card .client { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .93rem; font-weight: 600; color: var(--ink-2); padding-top: 16px; border-top: 1px solid var(--line); }
.card .arrow { color: var(--accent); transition: transform .18s; }
.card:hover .arrow { transform: translateX(4px); }

/* Approche */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.roles { margin-top: 28px; color: var(--ink-2); }
.roles strong { color: var(--ink); }

/* Bloc profil (accueil) */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.split .lead { font-size: 1.1rem; }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 24px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.timeline .when { font-size: .85rem; font-weight: 700; color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.timeline .what { display: block; font-weight: 600; }
.timeline .where { display: block; color: var(--muted); font-size: .95rem; }

/* Bandeau CTA */
.cta { background: var(--navy); color: #fff; border-radius: 22px; padding: 56px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(42,111,219,.45), transparent 70%); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,.75); margin: 0; }
.cta .actions { margin: 0; justify-content: flex-end; position: relative; z-index: 1; }

/* ---------- Pages article ---------- */
.page-head { padding: 64px 0 40px; background: radial-gradient(800px 340px at 90% -20%, rgba(42,111,219,.1), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
.back { display: flex; width: fit-content; align-items: center; gap: 6px; font-size: .93rem; font-weight: 600; text-decoration: none; color: var(--muted); margin-bottom: 28px; }
.back:hover { color: var(--ink); }
.page-head h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 22em; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; color: var(--muted); font-size: .97rem; margin-top: 18px; }
.meta strong { color: var(--ink); }
.prose { max-width: 70ch; padding: 56px 0 24px; font-size: 1.08rem; color: var(--ink-2); }
.prose p { margin-bottom: 1.3em; }
.prose figure { margin: 36px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: 14px; text-align: center; }
.prose .empty { color: var(--muted); font-style: italic; }
.more { padding: 64px 0 88px; }
.more h2 { font-size: 1.5rem; margin-bottom: 24px; }

/* À propos */
.container.about-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 56px; padding-top: 56px; padding-bottom: 88px; align-items: start; }
.about-grid .prose { padding: 0; }
.about-grid h2 { font-size: 1.4rem; margin-top: 1.8em; color: var(--ink); }
.about-grid h2:first-child { margin-top: 0; }
.contact-card { position: sticky; top: 92px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 28px; }
.contact-card h2 { font-size: 1.25rem; margin-top: 0; }
.contact-list { list-style: none; margin: 0 0 22px; padding: 0; }
.contact-list li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list span { display: block; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-list a { font-weight: 600; text-decoration: none; word-break: break-word; }
.contact-card .btn { width: 100%; }
.inline-list { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.inline-list li a, .inline-list li span { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .92rem; font-weight: 550; text-decoration: none; color: var(--ink-2); }
.inline-list li a:hover { border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer .brand span b { color: #7fb0ff; }
.site-footer h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; font-size: .85rem; color: rgba(255,255,255,.5); }

/* 404 */
.notfound { padding: 120px 0; text-align: center; }
.notfound .actions { justify-content: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero .container, .split, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, 1fr); }
  .cta { grid-template-columns: 1fr; padding: 40px; }
  .cta .actions { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 64px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid.partners { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.btn) { padding: 8px 8px; }
  .nav a.hide-sm { display: none; }
  .brand { font-size: 1.05rem; }
  .cta { padding: 32px 24px; border-radius: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
