/* =========================================================================
   GEOMAT Ingénierie — prototype HTML/CSS
   Charte reprise du site WordPress (Astra) : indigo #1f10a3, orange #ffa500
   Structure pensée pour une conversion en thème WordPress (header/footer/
   sections réutilisables, classes BEM légères).
   ========================================================================= */

:root {
  --brand: #1f10a3;
  --brand-700: #170b80;
  --brand-900: #0d0752;
  --brand-50: #efeefb;
  --brand-100: #dfdcf6;
  --accent: #ffa500;
  --accent-600: #e08f00;
  --accent-50: #fff5e4;

  --ink: #14122e;
  --ink-2: #3c3a5c;
  --muted: #6b6989;
  --line: #e6e5f0;
  --surface: #f6f6fb;
  --white: #ffffff;

  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(20, 18, 46, .06), 0 2px 8px rgba(20, 18, 46, .04);
  --shadow: 0 10px 30px -12px rgba(20, 18, 46, .18);
  --shadow-lg: 0 30px 60px -20px rgba(13, 7, 82, .35);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Motifs */
  --pattern-hatch: repeating-linear-gradient(135deg, var(--brand-100) 0 6px, transparent 6px 14px);
  --pattern-hatch-strong: repeating-linear-gradient(135deg, var(--brand-100) 0 2px, transparent 2px 12px);
  --pattern-dots: radial-gradient(var(--brand-100) 1.2px, transparent 1.4px) 0 0 / 18px 18px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.3rem); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--surface { background: var(--surface); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

/* ---------- Motifs décoratifs ---------- */
.deco { position: absolute; z-index: -1; pointer-events: none; }
.deco--brand {
  -webkit-mask: url("../assets/img/motif-geomat.webp") 0 0 / 360px auto repeat;
  mask: url("../assets/img/motif-geomat.webp") 0 0 / 360px auto repeat;
  background: var(--brand);
}
.deco--light { background: #fff; opacity: .07; }
.deco--hatch { background: var(--pattern-hatch-strong); opacity: .55; }
.deco--hero { right: -40px; top: -40px; width: 46%; height: 70%; -webkit-mask-size: 300px auto; mask-size: 300px auto;
  -webkit-mask-image: url("../assets/img/motif-geomat.webp"), radial-gradient(circle at 100% 0, #000 20%, transparent 70%);
  mask-image: url("../assets/img/motif-geomat.webp"), radial-gradient(circle at 100% 0, #000 20%, transparent 70%);
  -webkit-mask-composite: source-in; mask-composite: intersect; -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat; mask-size: 300px auto, 100% 100%; -webkit-mask-size: 300px auto, 100% 100%; }
.deco--corner-tr, .deco--corner-br { width: 420px; height: 320px; -webkit-mask-size: 300px auto, 100% 100%; mask-size: 300px auto, 100% 100%;
  -webkit-mask-repeat: repeat, no-repeat; mask-repeat: repeat, no-repeat; -webkit-mask-composite: source-in; mask-composite: intersect; }
.deco--corner-tr { right: 0; top: 0;
  -webkit-mask-image: url("../assets/img/motif-geomat.webp"), radial-gradient(circle at 100% 0, #000 15%, transparent 72%);
  mask-image: url("../assets/img/motif-geomat.webp"), radial-gradient(circle at 100% 0, #000 15%, transparent 72%); }
.deco--corner-br { right: 0; bottom: 0;
  -webkit-mask-image: url("../assets/img/motif-geomat.webp"), radial-gradient(circle at 100% 100%, #000 15%, transparent 72%);
  mask-image: url("../assets/img/motif-geomat.webp"), radial-gradient(circle at 100% 100%, #000 15%, transparent 72%); }
.deco--stats { right: 0; top: 0; bottom: 0; width: 24%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%); mask-image: linear-gradient(90deg, transparent, #000 70%); }
.page-hero .deco--light { opacity: .09; z-index: 0; }

/* ---------- Typo helpers ---------- */
.eyebrow {
  display: block;
  font: 700 .78rem/1 var(--font-head);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 18px;
}
.eyebrow--light { color: #fff; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > div { max-width: 720px; }
.section-head h2 { margin-bottom: .35em; }
.section-head .lead { margin: 0; }
.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--brand); --fg: #fff; --bd: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 .95rem/1 var(--font-head);
  color: var(--fg); background: var(--bg); border: 1.5px solid var(--bd);
  border-radius: 999px; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { color: var(--fg); background: var(--brand-700); border-color: var(--brand-700); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--accent { --bg: var(--accent); --fg: var(--ink); --bd: var(--accent); }
.btn--accent:hover { background: var(--accent-600); border-color: var(--accent-600); color: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--brand); --bd: var(--brand-100); }
.btn--ghost:hover { background: var(--brand-50); border-color: var(--brand); color: var(--brand); }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .45); }
.btn--light:hover { background: #fff; color: var(--brand); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 600 .92rem/1 var(--font-head); color: var(--brand); text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--brand-900); color: rgba(255, 255, 255, .8); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar__info, .topbar__social { display: flex; align-items: center; gap: 22px; }
.topbar__info span, .topbar__info a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar__social { gap: 14px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px;
  font: 600 .93rem/1 var(--font-head); color: var(--ink); text-decoration: none;
  border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.header-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; align-items: center; justify-content: center; padding: 0;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .3s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-top, var(--header-h)); z-index: 99;
  background: #fff; padding: 8px var(--gutter) 32px; overflow-y: auto; overscroll-behavior: contain;
  flex-direction: column; border-top: 1px solid var(--line);
}
.mobile-nav.is-open { display: flex; animation: navIn .28s var(--ease); }
.mobile-nav__links { display: flex; flex-direction: column; }
.mobile-nav__links a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 4px; border-bottom: 1px solid var(--line);
  font: 600 1.12rem/1.2 var(--font-head); color: var(--ink); text-decoration: none;
}
.mobile-nav__links a svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); transition: transform .2s var(--ease), color .2s; }
.mobile-nav__links a:hover svg, .mobile-nav__links a[aria-current="page"] svg { color: var(--brand); transform: translateX(3px); }
.mobile-nav__links a[aria-current="page"] { color: var(--brand); }
.mobile-nav__cta { margin-top: 24px; width: 100%; }
.mobile-nav__contact { margin-top: 28px; display: grid; gap: 12px; font-size: .95rem; color: var(--muted); }
.mobile-nav__contact a, .mobile-nav__contact span { display: flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; }
.mobile-nav__contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand); }
.mobile-nav__socials { margin-top: 20px; }
.mobile-nav__socials a { background: var(--brand-50); color: var(--brand); }
.mobile-nav__socials a:hover { background: var(--brand); color: #fff; }
@keyframes navIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
body.nav-open { overflow: hidden; }

/* ---------- Hero (accueil) : slider présentation / références / actualités ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--brand-900); }
.hero__stage { display: grid; }
.hero > .deco { z-index: 1; }
.hero__slide {
  grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center; min-height: clamp(520px, 78vh, 720px);
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; }
.hero__slide::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(13, 7, 82, .94) 0%, rgba(13, 7, 82, .82) 38%, rgba(13, 7, 82, .35) 72%, rgba(13, 7, 82, .15) 100%),
    linear-gradient(0deg, rgba(13, 7, 82, .55) 0%, transparent 35%);
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
  object-fit: cover; object-position: var(--focus, 50% 50%);
  transform: scale(1.04); transition: transform 8s linear;
}
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__bg.is-soft { filter: blur(2.5px) saturate(1.1); transform: scale(1.06); }
.hero__slide.is-active .hero__bg.is-soft { transform: scale(1.03); }
.hero__slide:has(.is-soft)::after {
  background:
    linear-gradient(90deg, rgba(13, 7, 82, .95) 0%, rgba(13, 7, 82, .84) 40%, rgba(13, 7, 82, .4) 75%, rgba(13, 7, 82, .25) 100%),
    linear-gradient(0deg, rgba(13, 7, 82, .55) 0%, transparent 35%);
}
.hero__slide .container { padding-block: 72px 96px; padding-inline: max(var(--gutter), 72px); }
.hero__content { max-width: 680px; }
.hero__slide.is-active .hero__content > * { animation: fadeUp .7s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__kicker {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 700 .8rem/1.3 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.hero__tag { color: var(--ink); background: var(--accent); padding: 7px 10px; border-radius: 6px; letter-spacing: .14em; font-size: .72rem; }
.hero__title { font-size: clamp(2rem, 4.2vw, 3.4rem); line-height: 1.1; margin-bottom: 20px; color: #fff; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__title--long { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.hero__title a { color: inherit; text-decoration: none; }
.hero__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.hero__excerpt {
  font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .85); max-width: 58ch; margin-bottom: 32px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__arrow {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: background .2s, color .2s, border-color .2s;
}
.hero__arrow:hover { background: #fff; color: var(--brand); border-color: #fff; }
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow--prev { left: 20px; }
.hero__arrow--next { right: 20px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2; display: flex; justify-content: center; gap: 10px; }
.hero__dots button {
  width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .45); transition: width .3s var(--ease), background .3s;
}
.hero__dots button:hover { background: #fff; }
.hero__dots button[aria-current="true"] { width: 32px; background: var(--accent); }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  display: inline-grid; place-items: center; cursor: pointer; color: var(--ink); transition: background .2s, color .2s, border-color .2s;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Page hero (pages internes) ---------- */
.page-hero { position: relative; color: #fff; background: var(--brand-900); isolation: isolate; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, 50% 50%); }
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(13, 7, 82, .95) 10%, rgba(31, 16, 163, .62) 58%, rgba(31, 16, 163, .2));
}
.page-hero .container { position: relative; z-index: 1; padding-block: clamp(72px, 10vw, 128px) clamp(56px, 7vw, 96px); }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 14px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 1.15rem; max-width: 60ch; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; margin-bottom: 20px; color: rgba(255, 255, 255, .7); list-style: none; padding: 0; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Stats ---------- */
.stats { position: relative; isolation: isolate; overflow: hidden; background: #fff; border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { position: relative; padding: clamp(28px, 4vw, 44px) clamp(20px, 3vw, 36px); border-left: 1px solid var(--line); }
.stat:last-child { border-right: 1px solid var(--line); }
.stat::before { content: ""; display: block; width: 24px; height: 3px; background: var(--accent); margin-bottom: 18px; }
.stat__value { font: 800 clamp(2.1rem, 3.6vw, 3rem)/1 var(--font-head); color: var(--brand); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat__value sup { font-size: .5em; color: var(--accent-600); top: -.8em; margin-left: 2px; }
.stat__label { margin-top: 10px; font-size: .9rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Domains grid ---------- */
.domains { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.domain {
  grid-column: span 4; position: relative;
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.domain:nth-child(-n+3) { grid-column: span 4; }
.domain:nth-child(n+4) { grid-column: span 3; }
.domain:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: inherit; }
.domain__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); transition: background .3s, color .3s;
}
.domain:hover .domain__icon { background: var(--brand); color: #fff; }
.domain__icon svg { width: 26px; height: 26px; }
.domain h3 { margin: 0; }
.domain p { margin: 0; font-size: .95rem; color: var(--muted); }
.domain__num { position: absolute; top: 22px; right: 24px; font: 700 .8rem/1 var(--font-head); color: var(--brand-100); }

/* ---------- Split / director ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.portrait { position: relative; isolation: isolate; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius-lg); }
.portrait::before {
  content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1;
  border-radius: var(--radius-lg);
  background: var(--pattern-hatch);
  border: 1px solid var(--brand-100);
}
.portrait__card {
  position: absolute; left: -20px; bottom: 32px;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: grid; gap: 2px; max-width: 80%;
}
.portrait__card strong { font: 700 1.05rem/1.3 var(--font-head); color: var(--ink); }
.portrait__card span { font-size: .88rem; color: var(--muted); }
.quote { font: 600 clamp(1.25rem, 2vw, 1.55rem)/1.4 var(--font-head); color: var(--ink); letter-spacing: -.01em; margin: 0 0 24px; }
.quote::before { content: "“"; display: block; font-size: 3.5em; line-height: .6; color: var(--accent); margin-bottom: 8px; }
.prose { color: var(--ink-2); }
.prose p { margin-bottom: 1.1em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .35em; }
.collapsible { position: relative; max-height: 13.5em; overflow: hidden; transition: max-height .6s var(--ease); }
.collapsible::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5em;
  background: linear-gradient(transparent, var(--bg-fade, #fff)); transition: opacity .3s;
}
.collapsible.is-open { max-height: 200em; }
.collapsible.is-open::after { opacity: 0; pointer-events: none; }
.toggle-more { margin-top: 8px; background: none; border: 0; padding: 0; cursor: pointer; }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; list-style: none; padding: 0; }
.credentials li {
  font-size: .82rem; font-weight: 600; color: var(--brand); background: var(--brand-50);
  padding: 7px 12px; border-radius: 999px;
}

/* ---------- Values band ---------- */
.band { position: relative; background: var(--brand); color: #fff; overflow: hidden; isolation: isolate; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 165, 0, .35), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgba(119, 157, 255, .35), transparent 60%);
}
.band h2, .band h3 { color: #fff; }
.band .lead { color: rgba(255, 255, 255, .8); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.value {
  padding: 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .3s, transform .3s var(--ease);
}
.value:hover { background: rgba(255, 255, 255, .12); transform: translateY(-3px); }
.value__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--ink); margin-bottom: 18px; }
.value__icon svg { width: 22px; height: 22px; }
.value h3 { margin-bottom: 6px; }
.value p { margin: 0; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.axes { margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; padding-top: 40px; border-top: 1px solid rgba(255, 255, 255, .16); }
.axes h3 { margin: 0; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.axes ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.axes li { display: flex; align-items: center; gap: 12px; font: 700 1.25rem/1.2 var(--font-head); }
.axes li span { font-size: .8rem; color: var(--accent); border: 1px solid rgba(255, 165, 0, .5); border-radius: 999px; padding: 4px 8px; }

/* ---------- Cards (références / actualités) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column; background: #fff;
  border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  color: inherit; text-decoration: none;
}
a.card:hover, .card:has(a:hover) { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--brand-100); color: inherit; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--brand-50); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .card__media img, .card:has(a:hover) .card__media img { transform: scale(1.05); }
.card__media--placeholder { display: grid; place-items: center; color: var(--brand); background: linear-gradient(135deg, var(--brand-50), var(--accent-50)); }
.card__media--placeholder svg { width: 56px; height: 56px; opacity: .55; }
.card__tag {
  position: absolute; left: 14px; top: 14px;
  font: 700 .72rem/1 var(--font-head); letter-spacing: .04em;
  padding: 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--brand);
}
.card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.card__meta { font-size: .8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card__meta strong { color: var(--accent-600); }
.card h3 { margin: 0; font-size: 1.08rem; line-height: 1.35; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0; font-size: .94rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 8px; }
.card { position: relative; }

.featured-news { display: grid; grid-template-columns: 1.25fr 1fr; gap: 24px; }
.featured-news__list { display: grid; gap: 16px; }
.news-row {
  position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center;
  padding: 12px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  transition: box-shadow .3s, border-color .3s;
}
.news-row:hover { box-shadow: var(--shadow); border-color: var(--brand-100); }
.news-row img { width: 120px; height: 90px; object-fit: cover; border-radius: 10px; }
.news-row h3 { font-size: .98rem; margin: 4px 0 0; line-height: 1.35; }
.news-row h3 a { color: var(--ink); text-decoration: none; }
.news-row h3 a::after { content: ""; position: absolute; inset: 0; }
.featured-news .card__media { aspect-ratio: 16 / 11; }
.featured-news .card h3 { font-size: 1.35rem; }

/* ---------- Filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter {
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
  font: 600 .88rem/1 var(--font-head); color: var(--ink-2); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--brand); color: var(--brand); }
.filter[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter small { opacity: .65; margin-left: 4px; }
[data-filter-item].is-hidden, [data-filter-item].is-paged { display: none; }
.load-more { display: flex; justify-content: center; margin-top: 40px; }
.load-more[hidden] { display: none; }

/* ---------- Logos ---------- */
.logos { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__track { display: flex; gap: 20px; width: max-content; animation: marquee 50s linear infinite; }
.logos:hover .logos__track { animation-play-state: paused; }
.logo-tile {
  width: 170px; height: 96px; flex-shrink: 0; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px;
}
.logo-tile img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logo-grid .logo-tile { width: auto; }

/* ---------- Certifications strip ---------- */
.certs { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.cert-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; list-style: none; padding: 0; }
.cert {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
}
.cert__icon { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-50); color: var(--accent-600); }
.cert__icon svg { width: 22px; height: 22px; }
.cert strong { display: block; font: 700 1rem/1.3 var(--font-head); color: var(--ink); }
.cert span { font-size: .86rem; color: var(--muted); }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  padding: clamp(36px, 5vw, 64px); border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--brand-900), var(--brand)); color: #fff;
}
.cta h2 { color: #fff; margin-bottom: 10px; }
.cta p { margin: 0; color: rgba(255, 255, 255, .82); max-width: 58ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Expertise ---------- */
.subnav {
  position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line);
}
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a {
  flex-shrink: 0; padding: 9px 14px; border-radius: 999px; font: 600 .88rem/1 var(--font-head);
  color: var(--ink-2); text-decoration: none; transition: background .2s, color .2s;
}
.subnav a:hover, .subnav a.is-active { background: var(--brand-50); color: var(--brand); }

.expertise { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 64px); }
.expertise:first-of-type { border-top: 0; }
.expertise:nth-of-type(even) .expertise__media { order: 2; }
.expertise__media { position: sticky; top: calc(var(--header-h) + 88px); }
.expertise__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.expertise__num { font: 800 .9rem/1 var(--font-head); color: var(--accent-600); letter-spacing: .1em; margin-bottom: 12px; }
.checklist { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.checklist li {
  display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start;
  padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface);
}
.checklist li::before {
  content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 1px;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist strong { color: var(--ink); font-family: var(--font-head); }
.checklist small { display: block; color: var(--muted); font-size: .88rem; margin-top: 2px; }

.lifecycle { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: phase; }
.phase {
  position: relative; padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
}
.phase::before {
  counter-increment: phase; content: "0" counter(phase);
  position: absolute; top: 24px; right: 26px; font: 800 2.4rem/1 var(--font-head); color: var(--brand-50);
}
.phase h3 { display: flex; align-items: center; gap: 12px; }
.phase h3 .domain__icon { width: 44px; height: 44px; }
.phase ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 16px; }
.phase li { padding-left: 20px; position: relative; font-size: .95rem; }
.phase li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }

/* ---------- Références ---------- */
.ref-table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.ref-table th, .ref-table td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ref-table th { font: 700 .76rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--surface); }
.ref-table td:first-child { font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; background: #fff; }

/* ---------- Ressources ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member { text-align: left; }
.member__photo {
  position: relative; isolation: isolate; aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--brand-50), var(--brand-100));
  display: grid; place-items: center; margin: 0 12px 26px 0;
}
.member__photo::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border-radius: var(--radius);
  background: var(--pattern-hatch); border: 1px solid var(--brand-100);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.member__initials { font: 800 2.6rem/1 var(--font-head); color: var(--brand); opacity: .55; letter-spacing: -.02em; }
.member h3 { font-size: 1.05rem; margin: 0 0 4px; }
.member p { margin: 0; font-size: .9rem; color: var(--muted); }
.member--lead { grid-column: span 2; grid-row: span 2; }
.member--lead .member__photo { aspect-ratio: auto; height: calc(100% - 90px); min-height: 360px; }
.member--lead h3 { font-size: 1.35rem; }

.equipment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.equipment .card__media { aspect-ratio: 4 / 5; }
.equipment .card h3 { font-size: 1.02rem; }

.accordion { display: grid; gap: 10px; }
.accordion details { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .2s; }
.accordion details[open] { border-color: var(--brand-100); box-shadow: var(--shadow-sm); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 18px; font: 600 .98rem/1.3 var(--font-head); color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); font-size: 1.1rem; transition: transform .3s var(--ease);
}
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary small { margin-left: auto; color: var(--muted); font-weight: 500; font-size: .8rem; white-space: nowrap; }
.accordion ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 18px 18px; list-style: none; }
.accordion li { font-size: .85rem; padding: 5px 10px; border-radius: 6px; background: var(--surface); color: var(--ink-2); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: rgba(255, 255, 255, .8); font-size: .92rem; }
.article__meta svg { width: 18px; height: 18px; color: var(--accent); }
.article__cover { margin: -64px auto 40px; max-width: 980px; position: relative; z-index: 2; }
.article__cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.article .prose { font-size: 1.07rem; line-height: 1.8; }
.article .prose a { word-break: break-word; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 40px; }
.gallery a { display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.article-nav a { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font: 600 .95rem/1.35 var(--font-head); }
.article-nav a:hover { border-color: var(--brand); }
.article-nav small { display: block; color: var(--muted); font: 500 .8rem/1 var(--font-body); margin-bottom: 6px; }
.article-nav a:last-child { text-align: right; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(9, 6, 40, .92); display: none; place-items: center; padding: 24px; }
.lightbox.is-open { display: grid; animation: fadeIn .2s; }
.lightbox img { max-height: 86vh; max-width: min(1200px, 100%); width: auto; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.lightbox button:hover { background: rgba(255, 255, 255, .25); }
.lightbox svg { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.split > *, .certs > *, .contact > *, .expertise > *, .featured-news > * { min-width: 0; }
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 14px; margin-top: 28px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--surface); }
.contact-item .domain__icon { width: 46px; height: 46px; flex-shrink: 0; }
.contact-item strong { display: block; font: 700 .78rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-item > div { min-width: 0; overflow-wrap: anywhere; }
.contact-item a, .contact-item span { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-item a:hover { color: var(--brand); }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 .88rem/1 var(--font-head); color: var(--ink); }
.field label span { color: #c0392b; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface);
  font: inherit; color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 4px var(--brand-50); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field__error { font-size: .82rem; color: #c0392b; min-height: 1em; }
.form-note { font-size: .85rem; color: var(--muted); margin: 16px 0 0; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; display: none; font-weight: 600; }
.form-status.is-success { display: block; background: #e8f7ee; color: #1d6b3a; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 420px; background: var(--surface); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--brand-900); color: rgba(255, 255, 255, .72); font-size: .94rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 72px 48px; }
.footer-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 20px; }
.footer-logo img { height: 40px; width: auto; }
.footer-brand p { max-width: 34ch; }
.site-footer h3 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-contact { list-style: none; padding: 0; display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .2s; }
.socials a:hover { background: var(--accent); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px; font-size: .85rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .domain:nth-child(n) { grid-column: span 6; }
  .domain:last-child:nth-child(odd) { grid-column: span 12; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(3, 1fr); }
  .member--lead { grid-column: span 3; grid-row: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: end; }
  .member--lead .member__photo { height: auto; min-height: 0; aspect-ratio: 4 / 5; margin-bottom: 12px; }
  .equipment { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .topbar__info span:first-child { display: none; }
  .split, .certs, .contact, .featured-news, .expertise { grid-template-columns: 1fr; }
  .split--reverse > :first-child, .expertise:nth-of-type(even) .expertise__media { order: 0; }
  .expertise__media { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .deco--stats { display: none; }
  .lifecycle { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .axes { grid-template-columns: 1fr; }
  .hero__slide .container { padding-inline: var(--gutter); padding-block: 64px 120px; }
  .hero__arrow { top: auto; bottom: 20px; transform: none; width: 44px; height: 44px; }
  .hero__arrow--prev { left: auto; right: calc(var(--gutter) + 52px); }
  .hero__arrow--next { right: var(--gutter); }
  .hero__dots { left: var(--gutter); right: auto; bottom: 37px; justify-content: flex-start; }
  .stat:nth-child(2) { border-right: 1px solid var(--line); }
  .portrait { max-width: 460px; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand img { height: 34px; }
  .topbar { display: none; }
  .hero__slide { min-height: 560px; }
  .hero__slide .container { padding-block: 48px 104px; }
  .hero__slide::after { background: linear-gradient(0deg, rgba(13, 7, 82, .95) 0%, rgba(13, 7, 82, .78) 55%, rgba(13, 7, 82, .55) 100%); }
  .hero__title { font-size: 1.75rem; }
  .hero__title--long { font-size: 1.45rem; }
  .hero__excerpt { -webkit-line-clamp: 3; font-size: 1rem; margin-bottom: 24px; }
  .hero__actions .btn--light { display: none; }
  .deco--light { opacity: .035; -webkit-mask-size: 220px auto, 100% 100%; mask-size: 220px auto, 100% 100%; }
  .page-hero .deco--light { opacity: .035; }
  .page-hero__bg img { object-position: 50% 50%; }
  .cards, .values, .cert-list, .form-grid, .equipment { grid-template-columns: 1fr; }
  /* références de l'accueil : défilement horizontal plutôt qu'une longue pile */
  .cards--scroll-mobile {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 12px;
  }
  .cards--scroll-mobile::-webkit-scrollbar { display: none; }
  .cards--scroll-mobile > .card { flex: 0 0 82%; scroll-snap-align: start; }
  .domain { padding: 22px; gap: 10px; }
  .domain .link-arrow { display: none; }
  .domain h3 { font-size: 1.05rem; }
  .domain:nth-child(n) { grid-column: span 12; }
  .team { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .member--lead { grid-column: span 2; grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-top: 56px; }
  .stat { padding: 20px; }
  .portrait__card { left: 12px; }
  .portrait::before { inset: 16px -10px -16px 16px; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav a:last-child { text-align: left; }
  .news-row { grid-template-columns: 96px 1fr; }
  .news-row img { width: 96px; height: 80px; }
  .ref-table td:first-child { white-space: normal; }
  .section-head .btn { width: 100%; }
}
