/* =====================================================================
   TALENTS SUD INTERNATIONAL — feuille de style du front-office
   Approche mobile first · points de rupture 360 / 640 / 768 / 1024 / 1280 / 1536
   ===================================================================== */

/* ------------------------------------------------------------ 1. Jetons */
:root {
  /* couleurs — charte §5.2 */
  --navy-900: #0A1D3F;
  --navy-800: #0F2B5B;
  --navy-700: #163A75;
  --blue-600: #1668C4;
  --blue-500: #2C82DE;
  --blue-100: #E6F0FB;
  --orange-600: #E9622B;
  --orange-500: #F5824A;
  --orange-100: #FDEDE4;
  --red-700: #B01D1D;
  --green-600: #1E8E5A;
  --green-100: #E7F5EE;
  --amber-600: #D89B12;
  --amber-100: #FEF3D6;
  --danger: #C4321F;

  --elephant-500: #8C9196;
  --elephant-400: #A7ACB2;
  --elephant-200: #E2E5EA;
  --elephant-100: #F4F5F7;
  --ink: #14181D;
  --ink-soft: #4A5460;
  --white: #FFFFFF;
  --navy-text: #C7D2E2;

  /* typographie */
  --font-display: "Bricolage Grotesque", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, monospace;

  /* échelle 16 px · ratio 1,25 */
  --fs-xs: 0.75rem;    /* 12 */
  --fs-sm: 0.875rem;   /* 14 */
  --fs-base: 1rem;     /* 16 */
  --fs-md: 1.125rem;   /* 18 */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-xl: 1.5625rem;  /* 25 */
  --fs-2xl: 1.9375rem; /* 31 */
  --fs-3xl: 2.4375rem; /* 39 */
  --fs-4xl: 3.0625rem; /* 49 */

  /* rayons et ombres §5.4 */
  --r-card: 8px;
  --r-btn: 6px;
  --r-pill: 999px;
  --shadow-1: 0 1px 3px rgba(15, 43, 91, .08);
  --shadow-2: 0 8px 24px rgba(15, 43, 91, .14);
  --shadow-3: 0 18px 50px rgba(15, 43, 91, .16);

  /* rythme */
  --gutter: 1.25rem;
  --section-y: 3.5rem;
  --wrap: 1440px;

  --header-h: 64px;
  --transition: 220ms cubic-bezier(.2, .7, .3, 1);
}

@media (min-width: 640px) { :root { --gutter: 1.75rem; --section-y: 4.25rem; } }
@media (min-width: 1024px) { :root { --gutter: 2.5rem; --section-y: 5.5rem; --header-h: 84px; } }
@media (min-width: 1280px) { :root { --gutter: 3rem; } }

/* ------------------------------------------------------------ 2. Base */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--navy-800);
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(1.9375rem, 5.2vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5625rem, 3.8vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2.2vw, 1.5625rem); font-weight: 700; }
h4 { font-size: var(--fs-md); font-weight: 700; }

p { margin: 0 0 1rem; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-600); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-600); }

img, svg, video { max-width: 100%; height: auto; display: block; }
img { background: var(--elephant-100); }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

hr { border: 0; border-top: 1px solid var(--elephant-200); margin: 2rem 0; }

blockquote {
  margin: 1.5rem 0;
  padding: 1rem 0 1rem 1.25rem;
  border-left: 3px solid var(--orange-600);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--navy-800);
}

table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
th, td { padding: .7rem .6rem; text-align: left; border-bottom: 1px solid var(--elephant-200); }
th { font-weight: 600; color: var(--navy-800); }

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

::selection { background: var(--orange-100); color: var(--navy-800); }

/* lien d'évitement §13.3 */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy-800); color: #fff;
  padding: .85rem 1.25rem; border-radius: 0 0 var(--r-btn) 0; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------ 3. Mise en page */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * .7); }
.section--gray { background: var(--elephant-100); }
.section--navy { background: var(--navy-800); color: #fff; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--bordered { border-top: 1px solid var(--elephant-200); }

.grid { display: grid; gap: 1rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--5 { grid-template-columns: 1fr; }
.grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 640px) {
  .grid { gap: 1.1rem; }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid { gap: 1rem; }
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.split--reverse > :first-child { order: 2; }
@media (max-width: 1023px) { .split--reverse > :first-child { order: 0; } }

.section-head {
  display: flex; flex-direction: column; gap: .85rem;
  margin-bottom: 1.75rem;
}
@media (min-width: 1024px) {
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.25rem; }
  .section-head__aside { max-width: 38ch; flex: none; }
}
.section-head h2 { margin: .5rem 0 0; }
.section-head__aside { font-size: var(--fs-sm); line-height: 1.7; color: var(--elephant-500); margin: 0; }
.section--navy .section-head__aside { color: var(--navy-text); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange-600);
  font-weight: 600;
  margin: 0;
}
.section--navy .eyebrow { color: var(--orange-500); }

.lead { font-size: var(--fs-md); line-height: 1.7; color: var(--ink-soft); }
.muted { color: var(--elephant-500); }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose img { border-radius: var(--r-card); margin: 1.5rem 0; }
.prose ul li::marker { color: var(--orange-600); }

/* ------------------------------------------------------------ 4. Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.2;
  padding: .85rem 1.35rem;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 44px; /* cible tactile */
}
@media (min-width: 1024px) { .btn { font-size: var(--fs-base); padding: .95rem 1.6rem; } }

.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--orange-600); color: #fff; }
.btn--primary:hover { background: linear-gradient(135deg, var(--red-700), var(--orange-600)); color: #fff; }

.btn--navy { background: var(--navy-800); color: #fff; }
.btn--navy:hover { background: var(--navy-700); color: #fff; }

.btn--white { background: #fff; color: var(--navy-800); }
.btn--white:hover { background: var(--elephant-100); color: var(--navy-800); }

.btn--outline { border-color: var(--navy-800); color: var(--navy-800); background: transparent; }
.btn--outline:hover { background: var(--navy-800); color: #fff; }

.btn--ghost-light { border-color: rgba(255, 255, 255, .75); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; }

.btn--sm { padding: .55rem .9rem; font-size: var(--fs-sm); min-height: 38px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: var(--fs-sm);
  color: var(--blue-600);
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 3px;
}
.link-arrow .icon { transition: transform var(--transition); }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--navy .link-arrow { color: #fff; border-color: var(--orange-600); }

/* ------------------------------------------------------------ 5. Badges & pastilles */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: var(--fs-xs); font-weight: 600;
  padding: .3rem .65rem; border-radius: var(--r-pill);
  white-space: nowrap;
}
.badge--gray { background: var(--elephant-100); color: var(--elephant-500); }
.badge--green { background: var(--green-100); color: var(--green-600); }
.badge--blue { background: var(--blue-100); color: var(--blue-600); }
.badge--orange { background: var(--orange-100); color: var(--orange-600); }
.badge--amber { background: var(--amber-100); color: var(--amber-600); }
.badge--red { background: #FBE9E7; color: var(--red-700); }
.badge--solid-red { background: var(--red-700); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }
.badge--solid-navy { background: var(--navy-800); color: #fff; letter-spacing: .1em; text-transform: uppercase; font-size: 11px; }
.badge--solid-orange { background: var(--orange-600); color: #fff; letter-spacing: .08em; text-transform: uppercase; font-size: 10.5px; }

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: var(--fs-sm); font-weight: 500;
  padding: .5rem .95rem; border-radius: var(--r-pill);
  border: 1px solid var(--elephant-200);
  background: #fff; color: var(--ink-soft);
  transition: all var(--transition);
  white-space: nowrap;
}
.chip:hover { border-color: var(--navy-800); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.section--navy .chip { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.section--navy .chip.is-active { background: #fff; color: var(--navy-800); }

.chip-row {
  display: flex; gap: .5rem; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: .35rem;
  scrollbar-width: thin; -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) { .chip-row { flex-wrap: wrap; overflow: visible; } }

/* ------------------------------------------------------------ 6. Cartes */
.card {
  background: #fff;
  border: 1px solid var(--elephant-200);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  display: flex; flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-2); border-color: var(--elephant-200); }
a.card:hover { transform: translateY(-2px); }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--elephant-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.35rem; display: flex; flex-direction: column; flex: 1; gap: .5rem; }
.card__body > *:last-child { margin-top: auto; }
.card__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--navy-800); margin: 0; line-height: 1.25; }
.card__text { font-size: var(--fs-sm); line-height: 1.6; color: var(--ink-soft); margin: 0; }
.card__meta { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-600); }
.card--accent { border-top: 3px solid var(--orange-600); }
.card--flat { border: none; background: transparent; }

/* liste à puces cochées */
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .65rem; }
.check-list li { display: flex; gap: .65rem; align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; margin: 0; }
.check-list .icon { flex: none; margin-top: .15rem; }

/* ------------------------------------------------------------ 7. Barre utilitaire + en-tête */
.topbar {
  display: none;
  background: var(--navy-900);
  color: var(--navy-text);
  font-size: var(--fs-xs);
}
@media (min-width: 1024px) {
  .topbar { display: block; }
  .topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 1rem; }
}
.topbar a { color: var(--navy-text); display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar__group { display: flex; align-items: center; gap: 1.25rem; }
.topbar__socials { display: flex; gap: .8rem; color: #fff; }
.topbar__socials a { color: #fff; }

.lang-switch { display: inline-flex; border-radius: 5px; overflow: hidden; border: 1px solid var(--elephant-200); }
.lang-switch span, .lang-switch a {
  font-size: 11.5px; font-weight: 600; letter-spacing: .06em;
  padding: .38rem .6rem; display: block;
}
.lang-switch .is-current { background: var(--navy-800); color: #fff; }
.lang-switch .is-off { color: var(--elephant-500); background: #fff; cursor: not-allowed; }
.topbar .lang-switch { border-color: #24365c; }
.topbar .lang-switch .is-current { background: var(--orange-600); }
.topbar .lang-switch .is-off { background: rgba(255, 255, 255, .1); color: var(--navy-text); }

.header {
  position: sticky; top: 0; z-index: 90;
  background: #fff;
  border-bottom: 1px solid var(--elephant-200);
  transition: box-shadow var(--transition);
}
.header.is-stuck { box-shadow: var(--shadow-1); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.header__logo img { height: 34px; width: auto; }
@media (min-width: 1024px) { .header__logo img { height: 46px; } }

.header__nav { display: none; }
@media (min-width: 1024px) {
  .header__nav {
    display: flex; align-items: center; gap: 1.25rem;
    font-size: var(--fs-sm); font-weight: 500;
  }
}
@media (min-width: 1280px) { .header__nav { gap: 1.6rem; font-size: .9rem; } }

.header__nav > li { list-style: none; margin: 0; position: relative; }
.header__nav a {
  color: var(--navy-800); display: inline-flex; align-items: center; gap: .3rem;
  padding: .5rem 0; border-bottom: 2px solid transparent;
}
.header__nav a:hover, .header__nav a.is-active { color: var(--orange-600); border-color: var(--orange-600); font-weight: 600; }

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

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: var(--r-btn);
  border: 0; background: transparent; color: var(--navy-800); cursor: pointer;
  position: relative; transition: background var(--transition);
}
.icon-btn:hover { background: var(--elephant-100); }
.icon-btn__count {
  position: absolute; top: 4px; right: 3px;
  background: var(--red-700); color: #fff;
  font-size: 10px; font-weight: 700; line-height: 1;
  border-radius: var(--r-pill); padding: 2px 5px; min-width: 16px; text-align: center;
}

.header__cta { display: none; }
@media (min-width: 1280px) { .header__cta { display: inline-flex; } }

.burger { display: inline-flex; }
@media (min-width: 1024px) { .burger { display: none; } }

/* méga-menu §7.1 */
.megamenu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0; z-index: 89;
  background: #fff; border-top: 1px solid var(--elephant-200);
  box-shadow: var(--shadow-2);
}
@media (min-width: 1024px) {
  /* Le panneau doit couvrir toute la largeur de l'en-tête, pas celle de l'onglet.
     L'élément de liste ne doit donc pas servir de bloc conteneur : le panneau se
     cale alors sur .header, qui est positionné (sticky). */
  .header__nav > li.has-mega { position: static; }
  .has-mega:hover > .megamenu,
  .has-mega:focus-within > .megamenu { display: block; }
}
.megamenu__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; padding-block: 2rem; }
.megamenu__col h3 {
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: var(--orange-600); margin-bottom: 1rem;
}
.megamenu__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.megamenu__col a { font-size: var(--fs-sm); color: var(--ink); border: 0; padding: 0; }
.megamenu__col a:hover { color: var(--orange-600); }

/* ------------------------------------------------------------ 8. Menu mobile (tiroir) */
.drawer {
  position: fixed; inset: 0; z-index: 200;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 29, 63, .55);
  opacity: 0; transition: opacity var(--transition);
}
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(88vw, 380px);
  background: #fff;
  transform: translateX(100%);
  transition: transform var(--transition);
  display: flex; flex-direction: column;
  overflow-y: auto; overscroll-behavior: contain;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--elephant-200);
  position: sticky; top: 0; background: #fff; z-index: 2;
}
.drawer__head img { height: 32px; }
.drawer__nav { list-style: none; margin: 0; padding: .5rem 0; }
.drawer__nav li { margin: 0; border-bottom: 1px solid var(--elephant-200); }
.drawer__nav > li > a, .drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  width: 100%; padding: 1rem 1.25rem;
  font-size: var(--fs-base); font-weight: 500; color: var(--navy-800);
  background: none; border: 0; text-align: left; cursor: pointer; font-family: inherit;
}
.drawer__nav a.is-active { color: var(--orange-600); font-weight: 600; }
.drawer__sub { list-style: none; margin: 0; padding: 0 0 .5rem; background: var(--elephant-100); display: none; }
.drawer__sub.is-open { display: block; }
.drawer__sub li { border: 0; }
.drawer__sub a { display: block; padding: .65rem 1.25rem .65rem 2rem; font-size: var(--fs-sm); color: var(--ink-soft); }
.drawer__toggle .icon { transition: transform var(--transition); }
.drawer__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.drawer__foot { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; margin-top: auto; border-top: 1px solid var(--elephant-200); }
.drawer__contact { font-size: var(--fs-sm); color: var(--ink-soft); display: flex; flex-direction: column; gap: .4rem; }
.drawer__contact a { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); }

/* ------------------------------------------------------------ 9. Héros */
.hero {
  position: relative;
  background: var(--navy-800);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; z-index: -2; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 29, 63, .74), rgba(10, 29, 63, .9));
}
.hero__inner {
  padding-block: 3.5rem 4rem;
  max-width: 900px; margin-inline: auto;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
@media (min-width: 768px) { .hero__inner { padding-block: 5rem 6rem; } }
@media (min-width: 1024px) { .hero__inner { padding-block: 6rem 8.5rem; } }

.hero h1 { color: #fff; margin: 1.25rem 0 0; }
.hero__sub { font-size: var(--fs-md); font-weight: 500; margin: 1.1rem auto 0; max-width: 680px; }
@media (min-width: 1024px) { .hero__sub { font-size: 1.22rem; } }
.hero__text { font-size: var(--fs-sm); line-height: 1.75; color: var(--navy-text); margin: .9rem auto 0; max-width: 700px; }
@media (min-width: 1024px) { .hero__text { font-size: 1.06rem; } }

.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .55);
  color: #fff;
  font-size: var(--fs-xs); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .5rem .9rem; border-radius: var(--r-pill);
  text-align: left;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; justify-content: center; }
.hero__actions .btn { flex: 1 1 100%; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 1 auto; } }

.hero__axes {
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: rgba(10, 29, 63, .84);
  border-top: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(4px);
}
@media (min-width: 1024px) {
  .hero__axes { grid-template-columns: repeat(4, 1fr); position: absolute; bottom: 0; left: 0; right: 0; }
}
.hero__axes > * {
  display: flex; align-items: center; gap: .6rem; justify-content: center;
  padding: 1rem .75rem; color: #fff;
  font-size: var(--fs-xs); font-weight: 500; text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .12);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (min-width: 640px) { .hero__axes > * { font-size: var(--fs-sm); padding: 1.25rem 1rem; } }
@media (min-width: 1024px) { .hero__axes > * { border-bottom: 0; padding: 1.35rem 1rem; } }
.hero__axes > *:last-child { border-right: 0; }
@media (max-width: 1023px) { .hero__axes > *:nth-child(2n) { border-right: 0; } }

/* bannière de page interne */
.page-banner {
  background: linear-gradient(135deg, var(--navy-800), var(--blue-600));
  color: #fff;
  padding-block: 2.5rem;
  position: relative; overflow: hidden;
}
@media (min-width: 1024px) { .page-banner { padding-block: 3.75rem; } }
.page-banner h1 { color: #fff; margin: .75rem 0 0; }
.page-banner__lead { color: #DCE6F5; font-size: var(--fs-md); max-width: 66ch; margin: 1rem 0 0; line-height: 1.65; }
.page-banner--photo::before {
  content: ""; position: absolute; inset: 0;
  background: var(--banner-image) center/cover no-repeat;
  opacity: .18;
}
.page-banner > * { position: relative; }

/* fil d'Ariane §13.1 */
.breadcrumb { font-size: var(--fs-xs); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; list-style: none; padding: 0; margin: 0; color: rgba(255, 255, 255, .78); }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: .4rem; }
.breadcrumb a { color: rgba(255, 255, 255, .78); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; font-weight: 600; }
.breadcrumb--light { color: var(--elephant-500); }
.breadcrumb--light a { color: var(--elephant-500); }
.breadcrumb--light a:hover { color: var(--orange-600); }
.breadcrumb--light [aria-current] { color: var(--navy-800); }

/* ------------------------------------------------------------ 10. Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 0; }
@media (min-width: 1024px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.stat { padding-inline: 1.25rem; border-left: 1px solid var(--elephant-200); }
.stat:first-child { border-left-width: 3px; border-left-color: var(--orange-600); }
@media (max-width: 1023px) { .stat:nth-child(3) { border-left-width: 3px; border-left-color: var(--orange-600); } }
.stat__value { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 6vw, 3.125rem); color: var(--navy-800); line-height: 1; }
.stat__label { font-size: var(--fs-sm); color: var(--elephant-500); margin-top: .4rem; }

/* mosaïque d'images « qui sommes-nous » */
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 150px 110px; gap: .65rem; }
@media (min-width: 640px) { .mosaic { grid-template-rows: 200px 150px; } }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.mosaic > :first-child { grid-column: 1 / span 2; }
.mosaic__quote {
  background: var(--navy-800); color: #fff; padding: 1rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: .75rem;
  border-radius: 4px;
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm); line-height: 1.3;
}
@media (min-width: 640px) { .mosaic__quote { padding: 1.35rem; font-size: var(--fs-md); } }

/* ------------------------------------------------------------ 11. Bandeau partenaires */
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 480px) { .partners { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .partners { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .partners { grid-template-columns: repeat(6, 1fr); gap: .875rem; } }
.partner {
  height: 84px; border: 1px solid var(--elephant-200); border-radius: var(--r-card);
  background: #fff; display: flex; align-items: center; justify-content: center;
  padding: .75rem;
}
@media (min-width: 1024px) { .partner { height: 104px; padding: 1rem; } }
.partner img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .72;
  transition: filter var(--transition), opacity var(--transition);
  background: transparent;
}
.partner:hover img { filter: grayscale(0); opacity: 1; }
.partner__fallback { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-xs); color: var(--elephant-500); text-align: center; }

/* ------------------------------------------------------------ 12. Frise / processus */
.steps { display: flex; flex-direction: column; gap: 1.1rem; }
.step { display: flex; gap: .9rem; align-items: flex-start; }
.step__num {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-sm);
  color: #fff; background: var(--navy-800);
  width: 28px; height: 28px; border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.step:last-child .step__num { background: var(--orange-600); }
.step__title { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.step__text { font-size: var(--fs-sm); color: var(--elephant-500); }

.phase-card { display: flex; flex-direction: column; }
.phase-card__num { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .14em; font-weight: 700; }
.phase-card__deliverable { border-top: 1px solid var(--elephant-200); padding-top: .8rem; margin-top: auto; }
.phase-card__deliverable dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--elephant-500); margin-bottom: .3rem; }
.phase-card__deliverable dd { margin: 0; font-size: var(--fs-sm); color: var(--ink); font-weight: 500; line-height: 1.5; }

/* frise chronologique */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: .5rem; bottom: .5rem;
  width: 2px; background: var(--elephant-200);
}
.timeline li { position: relative; padding-left: 2.25rem; padding-bottom: 1.75rem; margin: 0; }
.timeline li::before {
  content: ""; position: absolute; left: 0; top: .35rem;
  width: 16px; height: 16px; border-radius: var(--r-pill);
  background: #fff; border: 3px solid var(--orange-600);
}
.timeline__date { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--orange-600); font-weight: 700; }
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); color: var(--navy-800); margin: .3rem 0 .4rem; }
.timeline__text { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* ------------------------------------------------------------ 13. Formulaires */
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: 1fr 1fr; } .form-row--3 { grid-template-columns: repeat(3, 1fr); } }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label, .field-label {
  font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800);
}
.field-hint { font-size: var(--fs-xs); color: var(--elephant-500); }

.input, .select, .textarea {
  width: 100%;
  font-family: inherit; font-size: var(--fs-base);
  color: var(--ink);
  padding: .8rem .9rem;
  border: 1px solid var(--elephant-200);
  border-radius: var(--r-card);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 46px;
}
.textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2B5B' stroke-width='2'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center; background-size: 18px;
  padding-right: 2.5rem;
}
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(22, 104, 196, .16);
}
.input::placeholder, .textarea::placeholder { color: var(--elephant-400); }
.input.has-error, .select.has-error, .textarea.has-error { border-color: var(--danger); }

.field-error { font-size: var(--fs-xs); color: var(--danger); font-weight: 500; }

.check {
  display: flex; gap: .65rem; align-items: flex-start;
  font-size: var(--fs-sm); line-height: 1.5; color: var(--ink-soft); cursor: pointer;
}
.check input { margin-top: .2rem; width: 18px; height: 18px; flex: none; accent-color: var(--orange-600); }

.check-grid { display: grid; grid-template-columns: 1fr; gap: .6rem; }
@media (min-width: 640px) { .check-grid { grid-template-columns: 1fr 1fr; } }

.option-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 768px) { .option-tiles { grid-template-columns: repeat(4, 1fr); } }
.option-tile {
  position: relative; display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem .6rem; border: 1.5px solid var(--elephant-200); border-radius: var(--r-card);
  font-size: var(--fs-sm); font-weight: 500; cursor: pointer; text-align: center;
  transition: all var(--transition); background: #fff; min-height: 52px;
}
.option-tile input { position: absolute; opacity: 0; width: 0; height: 0; }
.option-tile:hover { border-color: var(--blue-600); }
.option-tile:has(input:checked) { border-color: var(--orange-600); background: var(--orange-100); color: var(--navy-800); font-weight: 600; }
.option-tile:has(input:focus-visible) { outline: 3px solid var(--blue-600); outline-offset: 2px; }

.filedrop {
  border: 1.5px dashed var(--elephant-200); border-radius: var(--r-card);
  padding: 1.5rem 1rem; text-align: center; background: var(--elephant-100);
  cursor: pointer; transition: border-color var(--transition), background var(--transition);
}
.filedrop:hover { border-color: var(--blue-600); background: var(--blue-100); }
.filedrop input { position: absolute; opacity: 0; width: 0; height: 0; }
.filedrop__label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); }
.filedrop__hint { font-size: var(--fs-xs); color: var(--elephant-500); margin-top: .25rem; }

/* étapes du formulaire de devis */
.wizard-steps { display: flex; gap: .35rem; overflow-x: auto; padding-bottom: .35rem; margin-bottom: 1.5rem; }
.wizard-step {
  flex: 1 0 auto; min-width: 120px;
  font-size: var(--fs-xs); font-weight: 600;
  padding: .65rem .75rem; border-radius: var(--r-btn);
  background: var(--elephant-100); color: var(--elephant-500);
  border-bottom: 3px solid var(--elephant-200);
  white-space: nowrap; text-align: center;
}
.wizard-step.is-current { background: var(--navy-800); color: #fff; border-bottom-color: var(--orange-600); }
.wizard-step.is-done { background: var(--green-100); color: var(--green-600); border-bottom-color: var(--green-600); }

/* ------------------------------------------------------------ 14. Alertes */
.alert {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .9rem 1.1rem; border-radius: var(--r-card);
  font-size: var(--fs-sm); line-height: 1.5;
  border: 1px solid transparent; margin-bottom: 1rem;
}
.alert--success { background: var(--green-100); border-color: #BFE3D0; color: #145F3D; }
.alert--error { background: #FBE9E7; border-color: #F2C3BC; color: #8E2216; }
.alert--info { background: var(--blue-100); border-color: #BFD9F5; color: #0E4A8E; }
.alert--warning { background: var(--amber-100); border-color: #F0DCA6; color: #8A620B; }

/* ------------------------------------------------------------ 15. Boutique */
.shop-layout { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 268px 1fr; gap: 2.25rem; align-items: start; } }

.filters { border: 1px solid var(--elephant-200); border-radius: var(--r-card); background: #fff; }
@media (min-width: 1024px) { .filters { position: sticky; top: calc(var(--header-h) + 1rem); } }
.filters__group { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--elephant-200); }
.filters__group:last-child { border-bottom: 0; }
.filters__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-800); margin-bottom: .85rem; }
.filters__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.filters__list a { font-size: var(--fs-sm); color: var(--ink-soft); display: flex; justify-content: space-between; gap: .5rem; }
.filters__list a:hover, .filters__list a.is-active { color: var(--orange-600); font-weight: 600; }

.filters-toggle { display: flex; }
@media (min-width: 1024px) { .filters-toggle { display: none; } }
@media (max-width: 1023px) {
  .filters { display: none; }
  .filters.is-open { display: block; }
}

.shop-toolbar {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.shop-toolbar__count { font-size: var(--fs-sm); color: var(--elephant-500); }

.product-card__media { aspect-ratio: 1 / 1; }
.product-card__badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.product-card__cat { font-size: var(--fs-xs); color: var(--elephant-500); }
.product-card__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--ink); line-height: 1.3; margin: .25rem 0 .5rem; }
.product-card__price {
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--navy-800);
  display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap;
}
.product-card__old { font-size: var(--fs-sm); font-weight: 500; color: var(--elephant-500); text-decoration: line-through; }
.product-card__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .75rem; }

.rating { display: inline-flex; align-items: center; gap: .2rem; color: var(--amber-600); font-size: var(--fs-xs); }
.rating .icon { fill: currentColor; stroke: none; }

/* fiche produit */
.product-detail { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .product-detail { grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: start; } }

.gallery__main { border: 1px solid var(--elephant-200); border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--elephant-100); position: relative; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: .5rem; }
.gallery__thumb { border: 1px solid var(--elephant-200); border-radius: 5px; overflow: hidden; aspect-ratio: 1; padding: 0; background: none; cursor: pointer; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--orange-600); border-width: 2px; }

.price-block { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin: .75rem 0; }
.price-block__main { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); color: var(--navy-800); }
.price-block__old { font-size: var(--fs-md); color: var(--elephant-500); text-decoration: line-through; }

.variant-group { margin-bottom: 1rem; }
.variant-group__label { font-size: var(--fs-sm); font-weight: 600; color: var(--navy-800); margin-bottom: .5rem; }
.variant-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.variant-option {
  position: relative; padding: .55rem 1rem;
  border: 1.5px solid var(--elephant-200); border-radius: var(--r-btn);
  font-size: var(--fs-sm); cursor: pointer; background: #fff; min-height: 42px;
  display: inline-flex; align-items: center;
}
.variant-option input { position: absolute; opacity: 0; }
.variant-option:has(input:checked) { border-color: var(--navy-800); background: var(--navy-800); color: #fff; font-weight: 600; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--elephant-200); border-radius: var(--r-btn); overflow: hidden; }
.qty button {
  width: 44px; height: 46px; border: 0; background: var(--elephant-100);
  color: var(--navy-800); font-size: var(--fs-md); cursor: pointer; font-weight: 600;
}
.qty button:hover { background: var(--elephant-200); }
.qty input { width: 62px; height: 46px; border: 0; text-align: center; font-size: var(--fs-base); font-weight: 600; font-family: inherit; }

.tiers-table { border: 1px solid var(--elephant-200); border-radius: var(--r-card); overflow: hidden; }
.tiers-table table { margin: 0; }
.tiers-table th { background: var(--elephant-100); font-size: var(--fs-xs); letter-spacing: .06em; text-transform: uppercase; }
.tiers-table td { font-family: var(--font-display); font-weight: 700; color: var(--navy-800); }

.tabs { border-bottom: 1px solid var(--elephant-200); display: flex; gap: .25rem; overflow-x: auto; }
.tabs button {
  border: 0; background: none; font-family: inherit;
  font-size: var(--fs-sm); font-weight: 600; color: var(--elephant-500);
  padding: .85rem 1rem; cursor: pointer; white-space: nowrap;
  border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.tabs button.is-active { color: var(--navy-800); border-color: var(--orange-600); }
.tab-panel { padding-top: 1.5rem; }
.tab-panel[hidden] { display: none; }

/* panier */
.cart-layout { display: grid; gap: 1.75rem; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1fr 360px; gap: 2rem; align-items: start; } }

.cart-line { display: grid; grid-template-columns: 72px 1fr; gap: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--elephant-200); }
@media (min-width: 768px) { .cart-line { grid-template-columns: 96px 1fr auto; gap: 1.25rem; align-items: center; } }
.cart-line__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.cart-line__name { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base); color: var(--navy-800); }
.cart-line__meta { font-size: var(--fs-xs); color: var(--elephant-500); margin-top: .25rem; }
.cart-line__actions { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-top: .6rem; }
@media (min-width: 768px) { .cart-line__actions { margin-top: 0; justify-content: flex-end; } }
.cart-line__price { font-family: var(--font-display); font-weight: 800; color: var(--navy-800); white-space: nowrap; }

.summary { border: 1px solid var(--elephant-200); border-radius: var(--r-card); padding: 1.35rem; background: #fff; }
@media (min-width: 1024px) { .summary { position: sticky; top: calc(var(--header-h) + 1rem); } }
.summary__row { display: flex; justify-content: space-between; gap: 1rem; font-size: var(--fs-sm); padding: .5rem 0; }
.summary__row--total {
  border-top: 1px solid var(--elephant-200); margin-top: .5rem; padding-top: .9rem;
  font-family: var(--font-display); font-weight: 800; font-size: var(--fs-md); color: var(--navy-800);
}
.summary__row--free { color: var(--green-600); font-weight: 600; }

.payment-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.payment-method {
  position: relative; display: flex; flex-direction: column; gap: .2rem; align-items: flex-start;
  padding: .85rem; border: 1.5px solid var(--elephant-200); border-radius: var(--r-card);
  cursor: pointer; background: #fff; font-size: var(--fs-sm); transition: all var(--transition);
}
.payment-method input { position: absolute; opacity: 0; }
.payment-method:has(input:checked) { border-color: var(--orange-600); background: var(--orange-100); }
.payment-method strong { font-size: var(--fs-sm); color: var(--navy-800); }
.payment-method small { font-size: var(--fs-xs); color: var(--elephant-500); }

/* ------------------------------------------------------------ 16. Blog */
.blog-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .blog-layout { grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; } }
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 1024px) { .sidebar { position: sticky; top: calc(var(--header-h) + 1rem); } }
.widget { border: 1px solid var(--elephant-200); border-radius: var(--r-card); padding: 1.25rem; background: #fff; }
.widget__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); color: var(--navy-800); margin-bottom: .9rem; }
.widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .55rem; }
.widget li { margin: 0; }
.widget a { font-size: var(--fs-sm); color: var(--ink-soft); display: flex; justify-content: space-between; gap: .5rem; }
.widget a:hover { color: var(--orange-600); }
.tag-cloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag-cloud a { font-size: var(--fs-xs); padding: .3rem .65rem; border-radius: var(--r-pill); background: var(--elephant-100); color: var(--ink-soft); }
.tag-cloud a:hover { background: var(--orange-100); color: var(--orange-600); }

.article-hero { display: grid; gap: 1.5rem; }
.article-toc { border: 1px solid var(--elephant-200); border-radius: var(--r-card); padding: 1.1rem 1.25rem; background: var(--elephant-100); }
.article-toc ol { margin: 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .4rem; }
.article-toc a { font-size: var(--fs-sm); color: var(--ink-soft); }

.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--orange-600); z-index: 120; transition: width 80ms linear;
}

.share { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.share a, .share button {
  width: 40px; height: 40px; border-radius: var(--r-btn);
  border: 1px solid var(--elephant-200); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--navy-800); cursor: pointer;
}
.share a:hover, .share button:hover { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ------------------------------------------------------------ 17. Carrières */
.job-card { display: grid; gap: .9rem; padding: 1.35rem; border: 1px solid var(--elephant-200); border-radius: var(--r-card); background: #fff; transition: box-shadow var(--transition); }
@media (min-width: 768px) { .job-card { grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; } }
.job-card:hover { box-shadow: var(--shadow-2); }
.job-card__meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; font-size: var(--fs-xs); color: var(--elephant-500); margin-top: .5rem; }
.job-card__meta span { display: inline-flex; align-items: center; gap: .35rem; }

.empty-state { text-align: center; padding: 3rem 1.5rem; border: 1px dashed var(--elephant-200); border-radius: var(--r-card); background: var(--elephant-100); }
.empty-state h3 { margin-bottom: .5rem; }

/* ------------------------------------------------------------ 18. Réalisations */
.masonry { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .masonry { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .masonry { grid-template-columns: repeat(3, 1fr); } }
.project-card { position: relative; border-radius: var(--r-card); overflow: hidden; display: block; background: var(--navy-900); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 450ms ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card__overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem; color: #fff;
  background: linear-gradient(0deg, rgba(10, 29, 63, .92) 0%, rgba(10, 29, 63, .35) 45%, transparent 75%);
}
.project-card__meta { font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-500); }
.project-card__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); margin: .4rem 0 .2rem; line-height: 1.25; }
.project-card__sub { font-size: var(--fs-xs); color: #C7D2E2; }

.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.fact { border-left: 3px solid var(--orange-600); padding-left: .9rem; }
.fact__value { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-xl); color: var(--navy-800); line-height: 1; }
.fact__label { font-size: var(--fs-xs); color: var(--elephant-500); margin-top: .3rem; }

/* ------------------------------------------------------------ 19. Accordéon FAQ */
.accordion { border: 1px solid var(--elephant-200); border-radius: var(--r-card); overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--elephant-200); }
.accordion__item:last-child { border-bottom: 0; }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.25rem; background: #fff; border: 0; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-base);
  color: var(--navy-800); text-align: left; line-height: 1.35;
}
.accordion__trigger:hover { background: var(--elephant-100); }
.accordion__trigger .icon { flex: none; transition: transform var(--transition); }
.accordion__trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.accordion__panel { padding: 0 1.25rem 1.25rem; font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-soft); }
.accordion__panel[hidden] { display: none; }

/* ------------------------------------------------------------ 20. Espace client */
.account-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .account-layout { grid-template-columns: 248px 1fr; gap: 2rem; align-items: start; } }
.account-nav { border: 1px solid var(--elephant-200); border-radius: var(--r-card); background: #fff; overflow: hidden; }
.account-nav__head { padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--elephant-200); display: flex; align-items: center; gap: .75rem; }
.avatar {
  width: 40px; height: 40px; border-radius: var(--r-pill);
  background: var(--navy-800); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--fs-sm); font-weight: 700; flex: none;
}
.account-nav ul { list-style: none; margin: 0; padding: .5rem 0; }
.account-nav li { margin: 0; }
.account-nav a {
  display: flex; align-items: center; gap: .7rem;
  padding: .75rem 1.25rem; font-size: var(--fs-sm); color: var(--ink-soft);
  border-left: 3px solid transparent;
}
.account-nav a:hover { background: var(--elephant-100); }
.account-nav a.is-active { color: var(--navy-800); font-weight: 600; background: var(--blue-100); border-left-color: var(--orange-600); }

.kpi-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .kpi-row { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.kpi { border: 1px solid var(--elephant-200); border-radius: var(--r-card); padding: 1rem; background: #fff; }
.kpi__label { font-size: var(--fs-xs); color: var(--elephant-500); }
.kpi__value { font-family: var(--font-display); font-weight: 800; font-size: var(--fs-lg); color: var(--navy-800); margin-top: .3rem; }

/* tableau responsive : bascule en cartes sous 768 px */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.data-table thead th {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--elephant-500); font-weight: 500;
  padding-bottom: .7rem; border-bottom: 1px solid var(--elephant-200); white-space: nowrap;
}
.data-table td { padding: .85rem .5rem; border-bottom: 1px solid var(--elephant-200); vertical-align: middle; }
.data-table tbody tr:hover { background: var(--elephant-100); }

@media (max-width: 767px) {
  .data-table--stack { min-width: 0; }
  .data-table--stack thead { display: none; }
  .data-table--stack tbody tr {
    display: block; border: 1px solid var(--elephant-200);
    border-radius: var(--r-card); padding: .85rem; margin-bottom: .75rem; background: #fff;
  }
  .data-table--stack td { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border: 0; text-align: right; }
  .data-table--stack td::before {
    content: attr(data-label);
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .08em;
    text-transform: uppercase; color: var(--elephant-500); text-align: left; flex: none;
  }
}

/* ------------------------------------------------------------ 21. Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: 2rem; }
.pagination__link {
  min-width: 42px; height: 42px; padding: 0 .75rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--elephant-200); border-radius: var(--r-btn);
  font-size: var(--fs-sm); color: var(--ink-soft); background: #fff;
}
.pagination__link:hover { border-color: var(--navy-800); color: var(--navy-800); }
.pagination__link.is-current { background: var(--navy-800); border-color: var(--navy-800); color: #fff; font-weight: 600; }
.pagination__gap { display: inline-flex; align-items: center; padding: 0 .35rem; color: var(--elephant-500); }

/* ------------------------------------------------------------ 22. CTA & pied de page */
.cta-band {
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600));
  color: #fff; padding-block: 3rem;
}
@media (min-width: 1024px) { .cta-band { padding-block: 4.5rem; } }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; }
@media (min-width: 1024px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; } }
.cta-band h2 { color: #fff; font-weight: 800; margin: 0; }
.cta-band p { color: var(--navy-text); margin: .6rem 0 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.cta-band__phone { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: #fff; }

.footer { background: var(--navy-900); color: var(--navy-text); padding-top: 3rem; font-size: var(--fs-sm); }
.footer__grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; } }
.footer__logo { background: #fff; border-radius: var(--r-btn); padding: .6rem .85rem; display: inline-block; }
.footer__logo img { height: 34px; }
.footer__baseline { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-base); color: var(--orange-600); margin: 1rem 0 .75rem; line-height: 1.4; }
.footer__about { line-height: 1.7; margin: 0; max-width: 36ch; }
.footer__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .65rem; }
.footer li { margin: 0; }
.footer a { color: var(--navy-text); }
.footer a:hover { color: var(--orange-500); }
.footer__socials { display: flex; gap: .55rem; margin-top: 1.1rem; }
.footer__socials a {
  width: 36px; height: 36px; border: 1px solid #24365c; border-radius: var(--r-btn);
  display: inline-flex; align-items: center; justify-content: center; color: #fff;
}
.footer__socials a:hover { background: var(--orange-600); border-color: var(--orange-600); color: #fff; }
.footer__newsletter { display: flex; border: 1px solid #24365c; border-radius: var(--r-btn); overflow: hidden; margin-top: 1rem; }
.footer__newsletter input {
  flex: 1; min-width: 0; border: 0; background: transparent; color: #fff;
  padding: .8rem .9rem; font-family: inherit; font-size: var(--fs-sm);
}
.footer__newsletter input::placeholder { color: var(--elephant-500); }
.footer__newsletter button {
  background: var(--orange-600); color: #fff; border: 0;
  padding: .8rem 1.1rem; font-family: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
}
.footer__bottom {
  border-top: 1px solid #24365c; padding-block: 1.25rem;
  display: flex; flex-direction: column; gap: .75rem;
  font-size: var(--fs-xs); color: var(--elephant-500);
}
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 1.25rem; }

/* ------------------------------------------------------------ 23. Éléments flottants */
.float-stack {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 80;
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-end;
}
@media (min-width: 1024px) { .float-stack { right: 1.5rem; bottom: 1.5rem; } }

.fab {
  width: 52px; height: 52px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-2); border: 0; cursor: pointer; color: #fff;
  transition: transform var(--transition);
}
.fab:hover { transform: scale(1.06); color: #fff; }
.fab--whatsapp { background: #25D366; }
.fab--top { background: var(--navy-800); opacity: 0; pointer-events: none; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 150;
  background: #fff; border-top: 3px solid var(--orange-600);
  box-shadow: 0 -8px 30px rgba(15, 43, 91, .18);
  padding: 1.25rem var(--gutter);
  transform: translateY(110%); transition: transform 300ms ease;
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner__inner { max-width: var(--wrap); margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 1024px) { .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }
.cookie-banner p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; max-width: 68ch; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner__actions .btn { flex: 1 1 auto; }
@media (min-width: 640px) { .cookie-banner__actions .btn { flex: 0 0 auto; } }

/* recherche plein écran */
.search-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(10, 29, 63, .96);
  display: none; align-items: flex-start; justify-content: center;
  padding: 6rem var(--gutter) 2rem;
}
.search-overlay.is-open { display: flex; }
.search-overlay form { width: 100%; max-width: 640px; display: flex; gap: .5rem; }
.search-overlay input {
  flex: 1; padding: 1rem 1.1rem; font-size: var(--fs-md);
  border: 0; border-radius: var(--r-card); font-family: inherit;
}
.search-overlay__close { position: absolute; top: 1.25rem; right: var(--gutter); background: none; border: 0; color: #fff; cursor: pointer; }

/* ------------------------------------------------------------ 24. Animations */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 300ms ease, transform 300ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ------------------------------------------------------------ 25. Utilitaires */
.stack { display: flex; flex-direction: column; }
.stack-sm { gap: .5rem; } .stack-md { gap: 1rem; } .stack-lg { gap: 1.75rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.row--between { justify-content: space-between; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.75rem; } .mt-4 { margin-top: 2.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.75rem; }
.text-center { text-align: center; }
.text-sm { font-size: var(--fs-sm); } .text-xs { font-size: var(--fs-xs); }
.hide-mobile { display: none; }
@media (min-width: 768px) { .hide-mobile { display: initial; } .hide-desktop { display: none; } }
.full-width { width: 100%; }
.justify-text { text-align: justify; }

/* impression */
@media print {
  .header, .topbar, .footer, .float-stack, .cookie-banner, .btn, .drawer { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* Tableaux insérés depuis l'éditeur riche : le contenu long peut en contenir,
   ils doivent rester lisibles et défilables sur un écran étroit. */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: var(--fs-sm);
  display: block;
  overflow-x: auto;
}
@media (min-width: 768px) { .prose table { display: table; } }
.prose th, .prose td {
  border: 1px solid var(--elephant-200);
  padding: .6rem .75rem;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--elephant-100); font-weight: 600; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--orange-600);
  color: var(--ink-soft, inherit);
  font-style: italic;
}
.prose pre {
  background: var(--elephant-100);
  border-radius: var(--r-card);
  padding: 1rem;
  overflow-x: auto;
  font-size: var(--fs-sm);
}
.prose hr { border: 0; border-top: 1px solid var(--elephant-200); margin: 2rem 0; }
