/* =====================================================================
   NT&C — Etudes, Ingénierie, Conseils
   Feuille de style principale
   Design system inspiré de la grille et du rythme typographique
   de jasper.ai, adapté à l'identité NT&C (bleu logo #3266c9).
   ===================================================================== */

/* ---------------------------------------------------------------
   1. TOKENS
   --------------------------------------------------------------- */
:root {
  /* --- Palette de marque ------------------------------------- */
  --ink:            #0a1236;   /* texte principal, navy profond   */
  --ink-soft:       #45507a;
  --ink-muted:      #6b7599;

  --blue-900:       #071033;
  --blue-800:       #0f2560;
  --blue-700:       #1e46a0;
  --blue-600:       #3266c9;   /* bleu du logo NT&C               */
  --blue-500:       #4f86e8;
  --blue-300:       #b9d2ff;
  --blue-200:       #dce9ff;
  --blue-100:       #eef4ff;

  /* Accents sectoriels (Sécurité / Environnement / Qualité) */
  --flame-600:      #ec4a26;   /* Sécurité — risques industriels  */
  --flame-400:      #ffb4a0;
  --flame-100:      #fff0eb;

  --green-700:      #0d7a55;   /* Environnement                   */
  --green-500:      #16a97a;
  --green-200:      #b7f0da;
  --green-100:      #e6f8f1;

  --lime-500:       #c9f24a;   /* accent vif, chips & highlights  */
  --lime-100:       #f4ffd9;

  --sand-100:       #fdf6e6;
  --sand-300:       #f5e3b8;

  --violet-100:     #eee9fb;
  --violet-500:     #7c5ac4;

  /* --- Neutres ----------------------------------------------- */
  --white:          #ffffff;
  --grey-50:        #fafafb;
  --grey-100:       #f3f4f7;
  --grey-200:       #e6e8ef;
  --grey-300:       #d2d6e2;
  --grey-600:       #7c8199;

  /* --- Sémantique -------------------------------------------- */
  --bg:             var(--white);
  --bg-alt:         var(--grey-100);
  --text:           var(--ink);
  --border:         var(--grey-200);
  --border-strong:  var(--ink);

  /* --- Typographie -------------------------------------------- */
  --font-display: "Instrument Serif", "Times New Roman", Georgia, serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-display:  clamp(2.9rem, 1.6rem + 5.4vw, 5.1rem);
  --fs-h1:       clamp(2.5rem, 1.5rem + 4.2vw, 4.25rem);
  --fs-h2:       clamp(2rem, 1.35rem + 2.9vw, 3.25rem);
  --fs-h3:       clamp(1.5rem, 1.25rem + 1.1vw, 2rem);
  --fs-h4:       clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-h5:       1.125rem;
  --fs-lead:     clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --fs-body:     1rem;
  --fs-small:    0.875rem;
  --fs-tiny:     0.8125rem;

  --lh-tight:    1.02;
  --lh-snug:     1.18;
  --lh-body:     1.62;
  --ls-display:  -0.028em;
  --ls-tight:    -0.015em;
  --ls-eyebrow:  0.10em;

  /* --- Espacement / grille ------------------------------------ */
  --site-max:      1400px;
  --site-margin:   clamp(1.15rem, 0.4rem + 2.3vw, 2.5rem);
  --gutter:        1.5rem;
  --sp-1: .5rem;  --sp-2: .75rem; --sp-3: 1rem;   --sp-4: 1.5rem;
  --sp-5: 2rem;   --sp-6: 2.5rem; --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 5rem;
  --section-y:      clamp(4rem, 2.9rem + 4.6vw, 7rem);
  --section-y-sm:   clamp(3rem, 2.4rem + 2.6vw, 4.5rem);
  --section-y-lg:   clamp(6rem, 4.3rem + 7vw, 10rem);

  /* --- Formes ------------------------------------------------- */
  --r-sm:    .5rem;
  --r-md:    .875rem;
  --r-lg:    1.25rem;
  --r-xl:    1.75rem;
  --r-pill:  100vw;
  --bw:      1px;

  --shadow-sm: 0 1px 2px rgba(10,18,54,.05), 0 2px 8px rgba(10,18,54,.04);
  --shadow-md: 0 4px 12px rgba(10,18,54,.06), 0 12px 32px rgba(10,18,54,.07);
  --shadow-lg: 0 8px 24px rgba(10,18,54,.08), 0 28px 64px rgba(10,18,54,.10);

  --ease:    cubic-bezier(.22,.61,.36,1);
  --dur:     .38s;

  --header-h: 72px;
}

/* ---------------------------------------------------------------
   2. RESET / BASE
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: var(--lh-body);
  letter-spacing: -0.006em;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--blue-200); color: var(--ink); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
  border-radius: 0 0 var(--r-sm) 0; font-size: var(--fs-small); font-weight: 500;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------
   3. TYPOGRAPHIE
   --------------------------------------------------------------- */
h1, h2, h3, h4, h5 { font-weight: 400; }

.display,
h1.display { font-family: var(--font-display); font-size: var(--fs-display); line-height: var(--lh-tight); letter-spacing: var(--ls-display); }

.t-h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: var(--ls-display); }
.t-h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.08; letter-spacing: var(--ls-display); }
.t-h3 { font-family: var(--font-display); font-size: var(--fs-h3); line-height: 1.16; letter-spacing: var(--ls-tight); }

/* Sous-titres en sans (cartes, listes) */
.t-h4 { font-family: var(--font-sans); font-size: var(--fs-h4); font-weight: 600; line-height: 1.28; letter-spacing: var(--ls-tight); }
.t-h5 { font-family: var(--font-sans); font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; letter-spacing: var(--ls-tight); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ink-soft); }
.small { font-size: var(--fs-small); }
.tiny  { font-size: var(--fs-tiny); }
.muted { color: var(--ink-muted); }
.soft  { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-tiny); font-weight: 600;
  letter-spacing: var(--ls-eyebrow); text-transform: uppercase;
  color: var(--blue-600);
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: currentColor; border-radius: 2px;
}
.eyebrow.no-rule::before { display: none; }

.mark-hl {
  background: linear-gradient(180deg, transparent 62%, var(--lime-500) 62%);
  padding: 0 .12em;
}
.italic-serif { font-style: italic; }

.balance { text-wrap: balance; }
.pretty  { text-wrap: pretty; }

/* ---------------------------------------------------------------
   4. LAYOUT
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--site-max);
  margin-inline: auto;
  padding-inline: var(--site-margin);
}
.container-narrow { max-width: 900px; }
.container-mid    { max-width: 1140px; }

.section    { padding-block: var(--section-y); }
.section-sm { padding-block: var(--section-y-sm); }
.section-lg { padding-block: var(--section-y-lg); }
.section-t0 { padding-top: 0; }
.section-b0 { padding-bottom: 0; }

.grid { display: grid; gap: var(--gutter); }
/* Les éléments de grille ont min-width:auto par défaut : un contenu large
   (select aux options longues, tableau, mot insécable) élargit alors la
   colonne au-delà du conteneur. On l'autorise à rétrécir. */
.grid > *, .split > *, .form-row > *, .vtabs > *, .cta-band > * { min-width: 0; }
.g-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.g-auto-260 { grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); }
.g-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); }
.g-auto-340 { grid-template-columns: repeat(auto-fit, minmax(340px,1fr)); }

.flex { display: flex; }
.fcol { flex-direction: column; }
.fwrap { flex-wrap: wrap; }
.aic { align-items: center; }
.ait { align-items: flex-start; }
.jcb { justify-content: space-between; }
.jcc { justify-content: center; }
.gap-1 { gap: var(--sp-1); } .gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); } .gap-4 { gap: var(--sp-4); }
.gap-5 { gap: var(--sp-5); } .gap-6 { gap: var(--sp-6); }

.mt-2 { margin-top: var(--sp-2); } .mt-3 { margin-top: var(--sp-3); }
.mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); }
.mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mt-8 { margin-top: var(--sp-8); }
.mb-3 { margin-bottom: var(--sp-3); } .mb-4 { margin-bottom: var(--sp-4); }
.mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); }
.mb-7 { margin-bottom: var(--sp-7); }

.tac { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-58 { max-width: 58ch; }
.maxw-64 { max-width: 64ch; }
.maxw-46 { max-width: 46ch; }

/* En-tête de section : eyebrow + titre + intro + CTA */
.sec-head { display: flex; flex-direction: column; gap: var(--sp-3); max-width: 62ch; }
.sec-head.center { align-items: center; text-align: center; margin-inline: auto; }
.sec-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-5); flex-wrap: wrap;
}

/* Fonds de section colorés (façon Jasper) */
.bg-tint-blue   { background: var(--blue-100); }
.bg-tint-green  { background: var(--green-100); }
.bg-tint-flame  { background: var(--flame-100); }
.bg-tint-sand   { background: var(--sand-100); }
.bg-tint-violet { background: var(--violet-100); }
.bg-grey        { background: var(--grey-100); }
.bg-ink {
  background: var(--blue-900); color: #fff;
  --text: #fff; --ink-soft: rgba(255,255,255,.74); --ink-muted: rgba(255,255,255,.6);
  --border: rgba(255,255,255,.16);
}
.bg-ink .eyebrow { color: var(--lime-500); }
.bg-ink .lead, .bg-ink .soft { color: rgba(255,255,255,.76); }
.bg-ink .muted { color: rgba(255,255,255,.58); }

.rounded-block { border-radius: var(--r-xl); }

/* ---------------------------------------------------------------
   5. BOUTONS
   --------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: #fff; --btn-bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8125rem 1.5rem;
  font-size: var(--fs-small); font-weight: 500; letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--btn-fg); background: var(--btn-bg);
  border: var(--bw) solid var(--btn-bd); border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); }

.btn-secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-secondary:hover { --btn-bg: var(--ink); --btn-fg: #fff; }

.btn-accent { --btn-bg: var(--blue-600); --btn-fg: #fff; --btn-bd: var(--blue-600); }
.btn-accent:hover { --btn-bg: var(--blue-700); --btn-bd: var(--blue-700); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn-light:hover { --btn-bg: var(--lime-500); --btn-bd: var(--lime-500); }

.btn-ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.5); }
.btn-ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }

.btn-lg { padding: 1rem 1.85rem; font-size: var(--fs-body); }
.btn-sm { padding: .5625rem 1.05rem; font-size: var(--fs-tiny); }

.btn-arrow::after {
  content: ""; width: 1em; height: 1em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12 5l7 7-7 7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition: transform var(--dur) var(--ease);
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* Lien texte avec flèche */
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-small); font-weight: 500;
  color: var(--blue-600);
  border-bottom: 1.5px solid transparent;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }
.bg-ink .link-arrow { color: var(--lime-500); }

/* ---------------------------------------------------------------
   6. CHIPS / BADGES / PILLS
   --------------------------------------------------------------- */
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem;
  font-size: var(--fs-tiny); font-weight: 500; line-height: 1.3;
  border: var(--bw) solid var(--border); border-radius: var(--r-pill);
  background: var(--white); color: var(--ink);
}
.chip-lime  { background: var(--lime-500); border-color: var(--lime-500); }
.chip-blue  { background: var(--blue-200); border-color: var(--blue-200); }
.chip-green { background: var(--green-200); border-color: var(--green-200); }
.chip-flame { background: var(--flame-400); border-color: var(--flame-400); }
.chip-dot::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none;
}

/* ---------------------------------------------------------------
   7. BANDEAU D'ANNONCE
   --------------------------------------------------------------- */
.announce {
  background: var(--blue-900); color: #fff;
  font-size: var(--fs-tiny);
  position: relative; z-index: 60;
}
.announce__inner {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: .625rem var(--site-margin); text-align: center; flex-wrap: wrap;
}
.announce__tag {
  background: var(--lime-500); color: var(--blue-900);
  padding: .1rem .55rem; border-radius: var(--r-pill);
  font-weight: 600; letter-spacing: .02em; flex: none;
}
.announce a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.45); }
.announce a:hover { border-bottom-color: #fff; }
.announce__close {
  position: absolute; right: var(--site-margin); top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,.6); cursor: pointer;
  font-size: 1.1rem; line-height: 1; padding: .25rem;
}
.announce__close:hover { color: #fff; }
@media (max-width: 720px) { .announce__close { display: none; } }

/* ---------------------------------------------------------------
   8. NAVIGATION
   --------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: var(--bw) solid transparent;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.header.is-stuck { border-bottom-color: var(--border); background: rgba(255,255,255,.94); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4); height: var(--header-h);
}
.nav__logo { display: flex; align-items: center; gap: .7rem; flex: none; }
.nav__logo img { height: 40px; width: auto; }
.nav__logo-txt {
  display: none; font-size: var(--fs-tiny); font-weight: 500; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-muted); line-height: 1.2; max-width: 9ch;
}
@media (min-width: 1180px) { .nav__logo-txt { display: block; } }

.nav__menu { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .nav__menu { display: flex; } }

.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; border-radius: var(--r-sm);
  font-size: var(--fs-small); font-weight: 500; color: var(--ink);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__link:hover, .nav__item.is-open > .nav__link { background: var(--grey-100); }
.nav__link[aria-current="page"] { color: var(--blue-600); }
.nav__caret {
  width: .6em; height: .6em; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px,-1px); transition: transform var(--dur) var(--ease);
  opacity: .55;
}
.nav__item.is-open .nav__caret { transform: rotate(225deg) translate(-2px,-2px); }

.nav__actions { display: none; align-items: center; gap: .6rem; }
@media (min-width: 1024px) { .nav__actions { display: flex; } }

/* Méga-menu */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(-6px);
  width: min(760px, calc(100vw - 3rem));
  background: #fff; border: var(--bw) solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-4);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .35rem; }
.mega__card {
  display: flex; gap: .85rem; padding: .85rem; border-radius: var(--r-md);
  transition: background var(--dur) var(--ease);
}
.mega__card:hover { background: var(--blue-100); }
.mega__ico {
  flex: none; width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700);
}
.mega__card:hover .mega__ico { background: #fff; }
.mega__ico svg { width: 20px; height: 20px; }
.mega__t { font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }
.mega__d { font-size: var(--fs-tiny); color: var(--ink-muted); line-height: 1.45; margin-top: .15rem; }
.mega__foot {
  margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: var(--bw) solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}

/* Burger */
.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 0; cursor: pointer;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger span {
  display: block; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Panneau mobile */
.mobile-nav {
  position: fixed; inset: 0; top: auto; z-index: 45;
  height: 100dvh; padding-top: calc(var(--header-h) + 8px);
  background: #fff; overflow-y: auto;
  transform: translateY(-100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
@media (min-width: 1024px) { .mobile-nav { display: none; } }
.mobile-nav__inner { padding: var(--sp-4) var(--site-margin) var(--sp-8); }
.m-group { border-bottom: var(--bw) solid var(--border); }
.m-link {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 1.05rem 0; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 1.5rem; letter-spacing: var(--ls-tight);
  color: var(--ink); cursor: pointer;
}
.m-sub { display: none; padding: 0 0 1rem .25rem; }
.m-group.is-open .m-sub { display: block; }
.m-group.is-open .m-link .nav__caret { transform: rotate(225deg) translate(-2px,-2px); }
.m-sub a {
  display: block; padding: .55rem 0; font-size: var(--fs-small); color: var(--ink-soft);
}
.m-sub a:hover { color: var(--blue-600); }
.mobile-nav__cta { display: flex; flex-direction: column; gap: .7rem; margin-top: var(--sp-5); }
.mobile-nav__meta { margin-top: var(--sp-6); font-size: var(--fs-small); color: var(--ink-muted); }
.mobile-nav__meta a { color: var(--blue-600); }

body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------
   9. HERO
   --------------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(3rem, 2rem + 4vw, 5rem); position: relative; }
.hero__grid {
  display: grid; gap: var(--sp-7);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: var(--sp-8); }
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .35rem .35rem .35rem .9rem;
  border: var(--bw) solid var(--border); border-radius: var(--r-pill);
  background: #fff; font-size: var(--fs-tiny); color: var(--ink-soft);
  margin-bottom: var(--sp-4);
}
.hero__badge b { font-weight: 600; color: var(--ink); }
.hero__badge span {
  background: var(--lime-500); color: var(--blue-900); font-weight: 600;
  padding: .2rem .6rem; border-radius: var(--r-pill);
}
.hero h1 { margin-bottom: var(--sp-4); }
.hero__sub { max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sp-6); }
.hero__trust { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: 1.35rem; align-items: center; }
.hero__trust-item { display: flex; align-items: center; gap: .45rem; font-size: var(--fs-tiny); color: var(--ink-muted); }
.hero__trust-item svg { width: 15px; height: 15px; color: var(--green-500); flex: none; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; border-radius: var(--r-xl); object-fit: cover;
  aspect-ratio: 4/3.35; box-shadow: var(--shadow-lg);
}
.hero__float {
  position: absolute; background: #fff; border: var(--bw) solid var(--border);
  border-radius: var(--r-md); box-shadow: var(--shadow-md); padding: .85rem 1.05rem;
}
.hero__float--a { left: -14px; bottom: 12%; }
.hero__float--b { right: -10px; top: 9%; }
@media (max-width: 640px) { .hero__float { display: none; } }
.hero__float .k { font-family: var(--font-display); font-size: 1.75rem; line-height: 1; letter-spacing: var(--ls-display); }
.hero__float .l { font-size: var(--fs-tiny); color: var(--ink-muted); margin-top: .2rem; }

/* Motif décoratif d'arrière-plan */
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 62%;
  background:
    radial-gradient(60% 100% at 78% 8%, rgba(50,102,201,.10), transparent 62%),
    radial-gradient(48% 90% at 8% 0%, rgba(22,169,122,.09), transparent 60%);
  pointer-events: none; z-index: -1;
}

/* ---------------------------------------------------------------
   10. MARQUEE CLIENTS
   --------------------------------------------------------------- */
.marquee { overflow: hidden; --mq-dur: 46s; }
.marquee__label { text-align: center; margin-bottom: var(--sp-5); }
.marquee__track {
  display: flex; width: max-content; gap: 0;
  animation: mq var(--mq-dur) linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__set { display: flex; align-items: center; gap: clamp(2rem, 4vw, 3.75rem); padding-right: clamp(2rem, 4vw, 3.75rem); }
.marquee__item {
  font-family: var(--font-display); font-size: clamp(1.25rem, 2.4vw, 1.85rem);
  letter-spacing: -0.01em; color: var(--ink); opacity: .55; white-space: nowrap;
  transition: opacity var(--dur) var(--ease);
}
.marquee__item:hover { opacity: 1; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee__fade { position: relative; }
.marquee__fade::before, .marquee__fade::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 120px); z-index: 2; pointer-events: none;
}
.marquee__fade::before { left: 0;  background: linear-gradient(90deg, var(--bg), transparent); }
.marquee__fade::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.bg-grey .marquee__fade::before { background: linear-gradient(90deg, var(--grey-100), transparent); }
.bg-grey .marquee__fade::after  { background: linear-gradient(270deg, var(--grey-100), transparent); }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------------------------------------------------------
   11. CARTES
   --------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; gap: var(--sp-3);
  padding: var(--sp-5);
  background: #fff; border: var(--bw) solid var(--border); border-radius: var(--r-lg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
a.card:hover, .card.is-hoverable:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-300);
}
.card__ico {
  width: 46px; height: 46px; border-radius: var(--r-md); flex: none;
  display: grid; place-items: center; background: var(--blue-100); color: var(--blue-700);
}
.card__ico svg { width: 23px; height: 23px; }
.card__ico.g { background: var(--green-100); color: var(--green-700); }
.card__ico.f { background: var(--flame-100); color: var(--flame-600); }
.card__ico.s { background: var(--sand-100); color: #9a7318; }
.card__ico.v { background: var(--violet-100); color: var(--violet-500); }
.card__body { flex: 1; }
.card__foot { margin-top: auto; padding-top: var(--sp-2); }

.card-media { padding: 0; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.card-media__in { padding: var(--sp-4) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; gap: .6rem; flex: 1; }

.card-flat { background: transparent; border: 0; padding: 0; }
.card-tint { border: 0; }
.card-tint.b { background: var(--blue-100); }
.card-tint.g { background: var(--green-100); }
.card-tint.f { background: var(--flame-100); }
.card-tint.s { background: var(--sand-100); }
.card-tint.v { background: var(--violet-100); }

.card-num { position: relative; }
.card-num__n {
  font-family: var(--font-display); font-size: 2.5rem; line-height: 1;
  letter-spacing: var(--ls-display); color: var(--blue-300);
}

/* Cartes statistiques */
.stat { display: flex; flex-direction: column; gap: .35rem; }
.stat__k {
  font-family: var(--font-display); font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);
  line-height: .98; letter-spacing: var(--ls-display);
}
.stat__l { font-size: var(--fs-small); color: var(--ink-soft); max-width: 24ch; }
.bg-ink .stat__l { color: rgba(255,255,255,.7); }

/* ---------------------------------------------------------------
   12. ONGLETS VERTICAUX (section "Pourquoi NT&C")
   --------------------------------------------------------------- */
.vtabs { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .vtabs { grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); gap: var(--sp-8); } }

.vtabs__list { display: flex; flex-direction: column; }
.vtab {
  width: 100%; text-align: left; background: none; border: 0;
  border-top: var(--bw) solid var(--border);
  padding: 1.35rem 0; cursor: pointer;
}
.vtab:last-child { border-bottom: var(--bw) solid var(--border); }
.vtab__t {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem);
  line-height: 1.2; letter-spacing: var(--ls-tight);
  color: var(--ink-muted); transition: color var(--dur) var(--ease);
  display: flex; align-items: center; gap: .6rem;
}
.vtab[aria-selected="true"] .vtab__t { color: var(--ink); }
.vtab__d {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur) var(--ease);
  font-size: var(--fs-small); color: var(--ink-soft);
}
.vtab[aria-selected="true"] .vtab__d { grid-template-rows: 1fr; }
.vtab__d > div { overflow: hidden; }
.vtab__d p { padding-top: .7rem; max-width: 46ch; }
.vtab__d .link-arrow { margin-top: .7rem; }
.vtab__bar { height: 2px; background: var(--border); margin-top: .9rem; display: none; border-radius: 2px; overflow: hidden; }
.vtab[aria-selected="true"] .vtab__bar { display: block; }
.vtab__bar i { display: block; height: 100%; width: 100%; background: var(--blue-600); transform-origin: left; animation: vbar 7s linear forwards; }
@keyframes vbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .vtab__bar i { animation: none; } }

.vtabs__panel { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--grey-100); min-height: 320px; }
/* Basculer simultanément l'opacité et position:absolute→relative empêchait la
   transition d'aboutir : le panneau actif restait invisible. On reprend le
   motif éprouvé des onglets horizontaux — display + animation d'entrée. */
.vpanel { display: none; }
.vpanel.is-active { display: block; animation: fadeUp .45s var(--ease); }
.vpanel img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------------------------------------------------------------
   13. ONGLETS HORIZONTAUX (secteurs)
   --------------------------------------------------------------- */
.htabs__list {
  display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: var(--sp-5);
}
.htab {
  padding: .6rem 1.15rem; border-radius: var(--r-pill);
  border: var(--bw) solid var(--border); background: #fff;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft); cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.htab:hover { border-color: var(--ink); color: var(--ink); }
.htab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.hpanel { display: none; }
.hpanel.is-active { display: block; animation: fadeUp .45s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.split {
  display: grid; gap: var(--sp-6); grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--sp-8); } }
.split--rev > *:first-child { order: 2; }
@media (max-width: 899px) { .split--rev > *:first-child { order: 0; } }
.split img { border-radius: var(--r-xl); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ---------------------------------------------------------------
   14. ACCORDÉON / FAQ
   --------------------------------------------------------------- */
.acc { border-top: var(--bw) solid var(--border); }
.acc__item { border-bottom: var(--bw) solid var(--border); }
.acc__btn {
  width: 100%; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; background: none; border: 0; text-align: left; cursor: pointer;
  font-size: var(--fs-lead); font-weight: 500; letter-spacing: var(--ls-tight); color: var(--ink);
  line-height: 1.35;
}
.acc__btn:hover { color: var(--blue-600); }
.acc__sign {
  flex: none; width: 22px; height: 22px; position: relative; margin-top: .28rem;
}
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 1.7px; background: currentColor; border-radius: 2px;
  transition: transform var(--dur) var(--ease);
}
.acc__sign::after { transform: rotate(90deg); }
.acc__item.is-open .acc__sign::after { transform: rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding-bottom: 1.35rem; max-width: 72ch; color: var(--ink-soft); }
.acc__panel ul { padding-bottom: 1.35rem; }

/* ---------------------------------------------------------------
   15. LISTES
   --------------------------------------------------------------- */
.ul-check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.ul-check li { position: relative; padding-left: 1.75rem; font-size: var(--fs-small); line-height: 1.55; }
.ul-check li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 1.05rem; height: 1.05rem;
  border-radius: 50%; background: var(--green-100);
}
.ul-check li::after {
  content: ""; position: absolute; left: .27rem; top: .55em; width: .5rem; height: .28rem;
  border-left: 1.7px solid var(--green-700); border-bottom: 1.7px solid var(--green-700);
  transform: rotate(-45deg);
}
.bg-ink .ul-check li::before { background: rgba(201,242,74,.2); }
.bg-ink .ul-check li::after { border-color: var(--lime-500); }

.ul-dash { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .5rem; }
.ul-dash li { position: relative; padding-left: 1.1rem; font-size: var(--fs-small); color: var(--ink-soft); line-height: 1.55; }
.ul-dash li::before { content: "—"; position: absolute; left: 0; color: var(--blue-500); }

.ul-plain { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .45rem; font-size: var(--fs-small); }

/* ---------------------------------------------------------------
   16. TABLEAUX (références)
   --------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto; border: var(--bw) solid var(--border); border-radius: var(--r-lg); background: #fff;
  -webkit-overflow-scrolling: touch;
}
table.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-small); min-width: 620px; }
table.tbl caption { caption-side: top; text-align: left; padding: var(--sp-4) var(--sp-5) 0; font-weight: 600; }
table.tbl th, table.tbl td { padding: .85rem 1.1rem; text-align: left; vertical-align: top; }
table.tbl thead th {
  background: var(--grey-100); font-weight: 600; font-size: var(--fs-tiny);
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft);
  border-bottom: var(--bw) solid var(--border); white-space: nowrap; position: sticky; top: 0;
}
table.tbl tbody tr + tr { border-top: var(--bw) solid var(--border); }
table.tbl tbody tr:hover { background: var(--blue-100); }
table.tbl td.nowrap { white-space: nowrap; }
table.tbl td.year { font-variant-numeric: tabular-nums; color: var(--ink-muted); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--sp-4); align-items: center; }
.search-box {
  display: flex; align-items: center; gap: .5rem; flex: 1; min-width: 240px;
  padding: .6rem 1rem; border: var(--bw) solid var(--border); border-radius: var(--r-pill); background: #fff;
}
.search-box input { border: 0; outline: 0; background: none; width: 100%; font-size: var(--fs-small); }
.search-box svg { width: 16px; height: 16px; color: var(--ink-muted); flex: none; }
.count-note { font-size: var(--fs-tiny); color: var(--ink-muted); margin-top: var(--sp-3); }

/* ---------------------------------------------------------------
   17. TÉMOIGNAGES / ÉTUDES DE CAS
   --------------------------------------------------------------- */
.quote {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-6); border-radius: var(--r-xl);
}
.quote__txt {
  font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  line-height: 1.28; letter-spacing: var(--ls-tight);
}
.quote__who { display: flex; align-items: center; gap: .8rem; margin-top: auto; }
.quote__av {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center; background: var(--blue-600); color: #fff;
  font-size: var(--fs-tiny); font-weight: 600; letter-spacing: .03em;
}
.quote__n { font-size: var(--fs-small); font-weight: 600; line-height: 1.3; }
.quote__r { font-size: var(--fs-tiny); color: var(--ink-muted); }

/* ---------------------------------------------------------------
   18. ORGANIGRAMME
   --------------------------------------------------------------- */
.orgchart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-top {
  padding: .9rem 2.2rem; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-weight: 600; font-size: var(--fs-small);
  letter-spacing: .02em;
}
.org-stem { width: 1.5px; height: 32px; background: var(--border-strong); opacity: .28; }
.org-row {
  display: grid; gap: var(--sp-3); width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  position: relative;
}
.org-node {
  padding: var(--sp-4); border-radius: var(--r-md); background: #fff;
  border: var(--bw) solid var(--border); text-align: center;
  display: flex; flex-direction: column; gap: .4rem; align-items: center;
}
.org-node .n { font-size: var(--fs-small); font-weight: 600; line-height: 1.35; }
.org-node .d { font-size: var(--fs-tiny); color: var(--ink-muted); line-height: 1.45; }
.org-node__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-600); }
.org-node:nth-child(2) .org-node__dot { background: var(--green-500); }
.org-node:nth-child(3) .org-node__dot { background: var(--flame-600); }
.org-node:nth-child(4) .org-node__dot { background: var(--violet-500); }
.org-node:nth-child(5) .org-node__dot { background: var(--ink-muted); }

/* ---------------------------------------------------------------
   19. FRISE CHRONOLOGIQUE
   --------------------------------------------------------------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: .6rem; bottom: .6rem; width: 1.5px;
  background: linear-gradient(180deg, var(--blue-600), var(--green-500), transparent);
}
.tl-item { position: relative; padding-bottom: var(--sp-6); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -2rem; top: .45rem; width: 11px; height: 11px;
  border-radius: 50%; background: #fff; border: 2px solid var(--blue-600);
  transform: translateX(0);
}
.tl-y { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: var(--ls-tight); line-height: 1; }
.tl-t { font-size: var(--fs-small); font-weight: 600; margin-top: .35rem; }
.tl-d { font-size: var(--fs-small); color: var(--ink-soft); margin-top: .3rem; max-width: 56ch; }

/* ---------------------------------------------------------------
   20. BLOC CTA PLEINE LARGEUR
   --------------------------------------------------------------- */
.cta-photo { position: relative; overflow: hidden; border-radius: var(--r-xl); isolation: isolate; }
.cta-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
}
.cta-photo::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(7,16,51,.94) 0%, rgba(7,16,51,.80) 46%, rgba(7,16,51,.42) 100%);
}
.cta-photo__in {
  padding: clamp(3rem, 2rem + 5vw, 6rem) clamp(1.5rem, 1rem + 4vw, 5rem);
  color: #fff; max-width: 62ch;
}
.cta-photo__in .lead { color: rgba(255,255,255,.8); }
.cta-photo__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--sp-5); }

.cta-band {
  border-radius: var(--r-xl); padding: clamp(2.5rem,2rem+3vw,4rem) clamp(1.5rem,1rem+3vw,4rem);
  display: grid; gap: var(--sp-5); align-items: center;
}
@media (min-width: 900px) { .cta-band { grid-template-columns: minmax(0,1.3fr) auto; } }

/* ---------------------------------------------------------------
   21. FORMULAIRE
   --------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-4); }
.form-row { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: var(--fs-small); font-weight: 500; }
.field .req { color: var(--flame-600); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-width: 0;
  padding: .8rem 1rem; border: var(--bw) solid var(--border); border-radius: var(--r-md);
  background: #fff; font-size: var(--fs-small); color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* Un select hérite sinon de la largeur de sa plus longue option. */
.field select { text-overflow: ellipsis; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(50,102,201,.14);
}
.field .hint { font-size: var(--fs-tiny); color: var(--ink-muted); }
.checkbox { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-tiny); color: var(--ink-soft); }
.checkbox input { width: 17px; height: 17px; margin-top: .12rem; accent-color: var(--blue-600); flex: none; }
.form-note {
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--blue-100); font-size: var(--fs-tiny); color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   22. PAGE HEADER (pages internes)
   --------------------------------------------------------------- */
.page-head { padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2.4vw, 3.5rem); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: var(--fs-tiny); color: var(--ink-muted); margin-bottom: var(--sp-4); }
.crumbs a:hover { color: var(--blue-600); }
.crumbs span[aria-current] { color: var(--ink); }
.crumbs .sep { opacity: .5; }

/* ---------------------------------------------------------------
   23. FOOTER
   --------------------------------------------------------------- */
.footer { background: var(--blue-900); color: rgba(255,255,255,.72); padding-block: var(--sp-8) var(--sp-5); }
.footer a { color: rgba(255,255,255,.72); transition: color var(--dur) var(--ease); }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 780px)  { .footer__top { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer__top { grid-template-columns: 1.7fr 1fr 1fr 1.15fr; } }
.footer__brand img { height: 52px; width: auto; margin-bottom: var(--sp-3); }
.footer__tag { font-size: var(--fs-small); max-width: 34ch; line-height: 1.6; }
.footer h3 {
  font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: var(--ls-eyebrow);
  color: #fff; margin-bottom: var(--sp-3);
}
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: var(--fs-small); }
.footer__contact { font-size: var(--fs-small); line-height: 1.75; font-style: normal; }
.footer__contact strong { color: #fff; font-weight: 500; }
.footer__bottom {
  margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid rgba(255,255,255,.14);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); align-items: center; justify-content: space-between;
  font-size: var(--fs-tiny);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 1.15rem; }
.social { display: flex; gap: .5rem; }
.social a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.2);
}
.social a:hover { background: #fff; color: var(--blue-900); border-color: #fff; }
.social svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------
   24. UTILITAIRES DIVERS
   --------------------------------------------------------------- */
.hr { border: 0; border-top: var(--bw) solid var(--border); margin-block: var(--sp-6); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* L'animation d'apparition n'est activée que si le script a pu s'exécuter
   (classe .js-anim posée sur <html>). Sans JavaScript, ou si l'observateur
   d'intersection échoue, le contenu reste simplement visible. */
.js-anim .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.aspect-4-3 { aspect-ratio: 4/3; object-fit: cover; }
.aspect-16-9 { aspect-ratio: 16/9; object-fit: cover; }
.aspect-1-1 { aspect-ratio: 1; object-fit: cover; }
.round-lg { border-radius: var(--r-lg); }
.round-xl { border-radius: var(--r-xl); }
.shadow-md { box-shadow: var(--shadow-md); }

/* Fiche équipement */
.kit {
  display: grid; gap: var(--sp-4); grid-template-columns: 96px 1fr; align-items: start;
  padding: var(--sp-4); border: var(--bw) solid var(--border); border-radius: var(--r-lg); background: #fff;
}
.kit__img {
  width: 96px; height: 96px; border-radius: var(--r-md); background: var(--grey-100);
  display: grid; place-items: center; color: var(--blue-600); flex: none;
}
.kit__img svg { width: 36px; height: 36px; }
.kit__t { font-size: var(--fs-small); font-weight: 600; }
.kit__d { font-size: var(--fs-tiny); color: var(--ink-soft); line-height: 1.55; margin-top: .3rem; }

@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .sec-head-row { flex-direction: column; align-items: flex-start; }
}
@media (min-width: 641px) and (max-width: 980px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Impression */
@media print {
  .header, .announce, .footer, .mobile-nav, .cta-photo, .btn { display: none !important; }
  body { font-size: 11pt; }
  .section { padding-block: 1rem; }
}
