/* ═══════════════════════════════════════════════════════════
   UNIFROID — Maquette 2 (grille fidèle à la référence)
   Colonne 1022px centrée · interblocs 192px · titres 54px
   ═══════════════════════════════════════════════════════════ */
:root {
  --bg: var(--white);
  --bg-2: #fbfbfb;
  --ink: #000;
  --ink-2: #4f4f4f;
  --ink-3: #6c6c6c;
  --line: #e1e1e1;
  --brand-blue: #1b75bb;
  --accent: var(--brand-blue);
  --navy: #21304f;
  --orange: #d9541f;
  --green: #7fae2c;
  --green-eco: #65a851;
  --white: #fff;
  --blue-deep: #0878b9;
  --blue-night: #10162d;
  --blue-sky: #5ab9e7;
  --blue-bright: #5aa8e6;
  --orange-hot: #f47a3a;
  --orange-light: #ff8c4f;
  --ice: #eef6fa;
  --ice-light: #f7fbfd;
  --slate: #687083;
  --slate-light: #d9dee6;
  --navy-light: #222d53;
  --blue-pale: #72c1e8;
  --white-a94: rgba(255, 255, 255, 0.94);
  --white-a72: rgba(255, 255, 255, 0.72);
  --white-a58: rgba(255, 255, 255, 0.58);
  --white-a55: rgba(255, 255, 255, 0.55);
  --white-a22: rgba(255, 255, 255, 0.22);
  --white-a16: rgba(255, 255, 255, 0.16);
  --white-a07: rgba(255, 255, 255, 0.07);
  --black-a07: rgba(0, 0, 0, 0.07);
  --transparent: rgba(0, 0, 0, 0);
  --navy-a70: rgba(33, 48, 79, 0.7);
  --navy-a14: rgba(33, 48, 79, 0.14);
  --navy-a12: rgba(33, 48, 79, 0.12);
  --navy-a09: rgba(33, 48, 79, 0.09);
  --navy-a08: rgba(33, 48, 79, 0.08);
  --night-a18: rgba(16, 22, 45, .18);
  --ice-blue-a70: rgba(199, 220, 233, 0.7);
  --sky-a54: rgba(99, 184, 229, .54);
  --powder-a22: rgba(155, 187, 207, .22);
  --powder-a18: rgba(155, 187, 207, .18);
  --steel-blue-a18: rgba(153, 192, 216, .18);
  --steel-blue-a16: rgba(177, 207, 224, .16);
  --steel-blue-a03: rgba(122, 164, 191, .03);
  --off-white-a92: rgba(251, 251, 251, 0.92);
  --deep-shadow-a28: rgba(0, 5, 18, 0.28);
  --sector-accent-a50: rgba(var(--sector-accent-rgb), 0.5);
  --sector-accent-a13: rgba(var(--sector-accent-rgb), 0.13);
  --sunset-1: #c34a36;
  --sunset-2: #ff9671;
  --tint-a: #f2f4fa;
  --tint-b: #eef4f4;
  --tint-c: #f5f2ee;
  --font-display: "Josefin Sans", sans-serif;
  --font-body: "Poppins", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --col: min(1022px, 86vw);
  --interbloc: clamp(110px, 13.3vw, 192px);
}

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

html {
  scroll-behavior: smooth;
}

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

body.menu-open,
body.dialog-open {
  overflow: hidden;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img {
  display: block;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 120;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: none;
}

/* Texte réservé aux lecteurs d'écran (contexte d'un lien, sans effet visuel). */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 80;
  height: 2px;
  pointer-events: none;
}

#scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.col {
  width: var(--col);
  margin-inline: auto;
  position: relative;
}

/* Dégage le bandeau compact fixe (128px / 96px mobile) quand on arrive
   sur une section par ancre (nav, clic direct) : le scroll natif aligne
   sinon le haut de la section sur le haut du viewport, ce qui peut
   masquer un titre court derrière le bandeau — surtout avec le
   centrage vertical (margin-block:auto) des sections courtes. */
section[id], #bas {
  scroll-margin-top: 128px;
}

/* Fallback CSS : cube modulaire sans WebGL. */

/* circle:nth-of-type(1) est l'anneau ; les 6 sommets suivent. */


/* ═══════════════════════════════════════════════════════════
   EFFET D'INTRO : photo fixée derrière + rideau qui rétrécit
   ═══════════════════════════════════════════════════════════ */

/* #bandeau.compact { box-shadow: 0 1px 0 var(--line); } */

#page, #bas {
  position: relative;
  z-index: 2;
  background: var(--bg);
}

/* ═══════════════════════════════════════════════════════════
   NAV : burger 64×64 (3 traits) + pill téléphone
   ═══════════════════════════════════════════════════════════ */
#burger {
  position: fixed;
  top: 26px;
  right: 26px;
  z-index: 60;
  width: 64px;
  height: 64px;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: grid;
  place-content: center;
  gap: 3px;
  transition: transform 0.45s var(--ease), box-shadow 0.35s ease;
}

#burger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

body.menu-open #burger span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

body.menu-open #burger span:nth-child(2) {
  opacity: 0;
}

body.menu-open #burger span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

@media (hover: hover) {
  #burger:hover {
    transform: rotate(6deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  }

  body.menu-open #burger:hover {
    transform: rotate(-6deg);
  }
}

/* ═══════════════════════════════════════════════════════════
   MENU PLEIN ÉCRAN
   ═══════════════════════════════════════════════════════════ */
#menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--bg);
  background: var(--white-a16);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px clamp(24px, 8vw, 120px) 42px;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 0.7s var(--ease);
}

body.menu-open #menu-overlay {
  clip-path: inset(0 0 0 0%);
}

.menu-cols {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(40px, 8vw, 140px);
  align-items: flex-start;
}

.menu-main a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 4.6vw, 54px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.55;
  transition: color 0.3s, letter-spacing 0.4s;
  opacity: 0;
  transform: translateY(24px);
}

body.menu-open .menu-main a {
  opacity: 1;
  transform: none;
  transition: color 0.3s, letter-spacing 0.4s,
    opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

body.menu-open .menu-main li:nth-child(1) a {
  transition-delay: 0s, 0s, 0.15s, 0.15s;
}

body.menu-open .menu-main li:nth-child(2) a {
  transition-delay: 0s, 0s, 0.21s, 0.21s;
}

body.menu-open .menu-main li:nth-child(3) a {
  transition-delay: 0s, 0s, 0.27s, 0.27s;
}

body.menu-open .menu-main li:nth-child(4) a {
  transition-delay: 0s, 0s, 0.33s, 0.33s;
}

body.menu-open .menu-main li:nth-child(5) a {
  transition-delay: 0s, 0s, 0.39s, 0.39s;
}

body.menu-open .menu-main li:nth-child(6) a {
  transition-delay: 0s, 0s, 0.45s, 0.45s;
}

.menu-main a:hover {
  color: var(--accent);
  letter-spacing: 0.14em;
}

.menu-main a[aria-current] {
  color: var(--accent);
}

.menu-main a[aria-current]::after {
  content: "";
  width: clamp(28px, 4vw, 62px);
  height: 1px;
  margin-left: 4px;
  background: currentColor;
}

.menu-main em {
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.menu-side {
  padding-top: 14px;
}

.menu-side a {
  display: block;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  line-height: 2.6;
  transition: color 0.3s;
}

.menu-side a:hover {
  color: var(--accent);
}

.menu-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin-top: 48px;
}

.menu-socials {
  display: flex;
  gap: 26px;
}

.menu-socials a, .menu-mail, .menu-tel {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.3s;
}

.menu-socials a:hover, .menu-mail:hover, .menu-tel:hover {
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   INTRO (bloc centré ~592px, comme la réf)
   ═══════════════════════════════════════════════════════════ */

.intro-texte-conclusion {
  color: var(--ink);
  text-wrap: balance;
}

.intro-texte-conclusion strong {
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   BLOCS & TITRES — hauteur mini pleine page, titre unifié
   (même kicker + même titre, même taille/position partout)
   ═══════════════════════════════════════════════════════════ */
.bloc, .bloc-galerie {
  /* padding: var(--interbloc) 0; */
  min-height: 90svh;
  display: flex;
  flex-direction: column;
}

/* margin-block:auto (pas justify-content:center) : sur les sections
   plus courtes que 90svh, .col se centre verticalement ; sur celles
   qui dépassent (Process, Contact...), la marge auto retombe à 0 au
   lieu de pousser le contenu au-dessus du padding-top — donc jamais
   de chevauchement avec le bandeau fixe, quelle que soit la hauteur
   du contenu. */
.bloc>.col, .bloc-galerie>.col {
  margin-block: auto;
}

#projets {
  padding-top: 0;
  /* background: radial-gradient(60% 60% at 50% 0%, rgba(8, 120, 185, .18), transparent 70%), #10141b; */
}

.section-head {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-kicker {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-titre {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(30px, 3.2vw, 46px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

/* ═══════════════════════════════════════════════════════════
   GALERIES : grande carrée 47.85% + grille 2×2 (gouttière 4.3%)
   ═══════════════════════════════════════════════════════════ */
/* #marques = section "Nos équipements". Ce fond est remplacé plus bas
   (SYSTÈME ÉDITORIAL FINAL, cf. var(--surface-technical)) ; il ne reste
   actif que si cette section plus récente est retirée. */

.galerie-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.galD .galerie-inner {
  flex-direction: row-reverse;
}

.gde {
  width: 47.85%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--tint-a);
}

.gde::after {
  content: "";
  position: absolute;
  inset: 10px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.gde img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 0.9s var(--ease), transform 1.4s var(--ease);
}

.gde img:only-child {
  opacity: 1;
  transform: scale(1);
}

.pet {
  width: 47.85%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 9%;
  row-gap: 0;
}

.pet li {
  padding-bottom: 22px;
}

.pet a,
.pet button {
  text-decoration: none;
  display: block;
}

.pet button {
  position: relative;
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.pet i {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  font-style: normal;
}

.pet i img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.pet a:hover i img,
.pet button:hover i img,
.pet button:focus-visible i img {
  transform: scale(1.06);
}

.pet span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 10.88px;
  font-weight: 400;
  letter-spacing: 0.98px;
  text-transform: uppercase;
  color: var(--ink-2);
  transition: color 0.3s;
}

.pet a:hover span,
.pet button:hover span {
  color: var(--accent);
}

/* Lien sous galerie */
.liensousgal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 26px;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s;
}

.liensousgal span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(18px, 1.8vw, 25.6px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.liensousgal i {
  font-style: normal;
  font-size: 16px;
  transition: transform 0.35s var(--ease);
}

.liensousgal:hover {
  color: var(--accent);
}

.liensousgal:hover i {
  transform: translate(3px, -3px);
}

/* Flèche hors colonne (réf : 56px, à droite de la colonne) */

.bloc-expertises .col {
  position: relative;
}

/* ═══════════════════════════════════════════════════════════
   EXPERTISES — carrousel (même fond marine que le footer)
   ═══════════════════════════════════════════════════════════ */
#expertises {
  background: var(--navy-light);
  padding-bottom: var(--interbloc);
  --ink: var(--white);
  --ink-2: var(--white-a72);
  --ink-3: var(--white-a58);
  --line: var(--white-a16);
  --accent: var(--blue-bright);
  /* pour que l'inversion au survol des boutons (fond var(--ink), texte
     var(--bg)) reste lisible : texte marine sur pastille blanche */
  --bg: var(--navy-light);
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   SECTEURS D'INTERVENTION — composition éditoriale immersive
   ═══════════════════════════════════════════════════════════ */
.bloc.secteurs {
  position: relative;
  isolation: isolate;
  min-height: auto;
  padding: clamp(140px, 12vw, 188px) 0 clamp(104px, 10vw, 156px);
  overflow: hidden;
  background: var(--blue-night);
  background: radial-gradient(60% 60% at 50% 0%, rgba(8, 120, 185, .18), transparent 70%), #10141b;

  color: var(--white);
  --accent: var(--blue-bright);
}

.secteurs::before,
.secteurs::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* .secteurs::before {
  z-index: -2;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(8, 120, 185, 0.24), transparent 30%),
    radial-gradient(circle at 88% 28%, rgba(244, 122, 58, 0.13), transparent 26%),
    radial-gradient(circle at 42% 88%, rgba(101, 168, 81, 0.12), transparent 30%);
} */

/* .secteurs::after {
  z-index: -1;
  opacity: 0.18;
  background-image: radial-gradient(var(--white-a22) 0.55px, transparent 0.7px);
  background-size: 4px 4px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, var(--ink) 12%, var(--ink) 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, var(--ink) 12%, var(--ink) 88%, transparent);
} */

.secteurs>.col {
  z-index: 1;
  width: min(1240px, calc(100% - clamp(48px, 8vw, 120px)));
}

.secteurs-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 18px;
  margin-bottom: clamp(58px, 7vw, 92px);
}

.secteurs-heading {
  grid-column: 1 / span 8;
  margin-bottom: 0;
}

.secteurs-intro {
  grid-column: 9 / -1;
  max-width: 390px;
  justify-self: end;
  padding-bottom: 8px;
}

.secteurs .section-kicker {
  color: var(--accent);
}

.secteurs .section-titre {
  color: var(--white);
}

.secteurs-intro p {
  color: rgba(239, 246, 255, 0.78);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.secteurs-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 22px);
}

.secteur-card {
  position: relative;
  min-width: 0;
  min-height: 410px;
  border-radius: clamp(20px, 2vw, 26px);
  transition: opacity 0.52s var(--ease), filter 0.52s var(--ease), transform 0.52s var(--ease);
}

.secteur-card:nth-child(n) {
  grid-column: span 4;
  min-height: 390px;
}

.secteur-link {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: inherit;
  background: rgba(22, 43, 74, 0.46);
  color: var(--white);
  text-decoration: none;
  box-shadow: 0 26px 62px var(--deep-shadow-a28), inset 0 1px 0 var(--white-a16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background-color 0.52s var(--ease), border-color 0.52s var(--ease), box-shadow 0.52s var(--ease);
}

.secteur-link::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  border: 1px solid transparent;
  border-radius: inherit;
  pointer-events: none;
  transition: border-color 0.52s var(--ease), box-shadow 0.52s var(--ease);
}

.secteur-image,
.secteur-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.secteur-image {
  object-fit: cover;
  object-position: var(--sector-image-position, 50% 50%);
  opacity: 0.9;
  filter: saturate(0.96) contrast(1.04) brightness(0.9);
  transform: scale(1.015);
  transition: opacity 0.52s var(--ease), filter 0.52s var(--ease), transform 0.58s var(--ease);
}

.secteur-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 12, 29, 0.22) 0%, rgba(4, 12, 29, 0.03) 38%, rgba(4, 12, 29, 0.72) 76%, rgba(4, 12, 29, 0.92) 100%),
    linear-gradient(90deg, rgba(4, 12, 29, 0.2), transparent 68%);
  transition: opacity 0.52s var(--ease);
}

.secteur-shade::before {
  content: "";
  position: absolute;
  inset: auto -14% -40% -14%;
  height: 72%;
  opacity: 0.32;
  background: radial-gradient(ellipse at center, rgba(var(--sector-accent-rgb), 0.58), transparent 66%);
  filter: blur(18px);
  transition: opacity 0.52s var(--ease), transform 0.58s var(--ease);
}

.secteur-shade::after {
  content: "";
  position: absolute;
  right: 11%;
  bottom: 0;
  left: 11%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sector-accent), transparent);
  box-shadow: 0 0 18px rgba(var(--sector-accent-rgb), 0.75);
  transform: scaleX(0.42);
  transition: transform 0.58s var(--ease), opacity 0.52s var(--ease);
}

.secteur-content {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
}

.secteur-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.secteur-meta em,
.secteur-meta span {
  font-style: normal;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.secteur-meta em {
  min-width: 46px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.secteur-meta span {
  max-width: 62%;
  color: rgba(237, 246, 255, 0.8);
  text-align: right;
}

.secteur-copy {
  max-width: 590px;
  margin-top: auto;
  padding-top: 72px;
  padding-right: 72px;
  transition: transform 0.52s var(--ease);
}

.secteur-card h3 {
  max-width: 570px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: clamp(25px, 2.25vw, 34px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
  text-transform: uppercase;
}

.secteur-card:nth-child(2) h3,
.secteur-card:nth-child(3) h3 {
  font-size: clamp(25px, 2.25vw, 34px);
}

.secteur-card p {
  max-width: 500px;
  margin-top: 17px;
  color: rgba(239, 246, 255, 0.72);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.72;
  transition: color 0.52s var(--ease), opacity 0.52s var(--ease), transform 0.52s var(--ease);
}

.secteur-arrow {
  position: absolute;
  right: clamp(24px, 3vw, 36px);
  bottom: clamp(24px, 3vw, 36px);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(8, 22, 48, 0.54);
  color: var(--white);
  font-size: 19px;
  line-height: 1;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: color 0.52s var(--ease), background-color 0.52s var(--ease), border-color 0.52s var(--ease), transform 0.52s var(--ease);
}

.secteur-link:focus-visible {
  outline: 3px solid var(--sector-accent);
  outline-offset: 5px;
}

.js .secteurs .secteurs-heading .section-kicker.reveal,
.js .secteurs .secteurs-heading .section-titre.reveal,
.js .secteurs .secteurs-intro .reveal {
  transition-duration: 0.58s;
}

.js .secteurs .secteur-card.reveal {
  opacity: 0;
  filter: saturate(0.86);
  transform: translateY(38px) scale(0.975);
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .secteurs .secteur-card.reveal.in {
  opacity: 1;
  filter: none;
  transform: none;
}


@media (max-width: 760px) {
  .secteurs-head {
    gap: 36px;
  }

  .secteurs-heading,
  .secteurs-intro {
    grid-column: 1 / -1;
  }

  .secteurs-intro {
    max-width: 560px;
    justify-self: start;
  }
}


/* ═══════════════════════════════════════════════════════════
   FOUR — assemblage en parallaxe (vue éclatée → recomposée)
   Progression liée au scroll, cinq calques en translate3d
   ═══════════════════════════════════════════════════════════ */
.bloc-four {
  position: relative;
  height: 300vh;
}

.four-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.6vh, 32px);
  /* asymétrique : seul le haut doit dégager le bandeau compact fixe
     (128px desktop) — un padding-block symétrique ferait déborder le
     contenu sur les hauteurs d'écran réduites et le rideau centré
     repousserait alors la légende sous le bandeau. */
  padding-top: clamp(150px, 17vh, 190px);
  padding-bottom: clamp(28px, 4vh, 56px);
}

.four-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(50% 46% at 63% 46%, rgba(217, 84, 31, 0.07), transparent 70%),
    radial-gradient(58% 52% at 30% 58%, rgba(27, 117, 187, 0.09), transparent 72%),
    linear-gradient(180deg, var(--bg-2) 0%, #f4f6f8 55%, #eef1f3 100%);
}

.four-intro {
  position: relative;
  z-index: 2;
  text-align: center;
}

.four-mark {
  width: 30px;
  height: 3px;
  margin: 0 auto 18px;
  background: linear-gradient(90deg,
      var(--navy) 0%, var(--navy) 30%,
      var(--accent) 30%, var(--accent) 63%,
      var(--green) 63%, var(--green) 100%);
}

.four-kicker {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.four-titre {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
  max-width: 620px;
  margin-inline: auto;
}

.four-canvas {
  position: relative;
  z-index: 2;
  /* 103vh ≈ équivalent en largeur d'un plafond de 58vh de hauteur pour le
     ratio 1672/941 : width pilote toujours aspect-ratio, jamais l'inverse,
     pour que les translateX/Y en % des calques restent exacts (pas de
     lettrebox object-fit qui décalerait leur base de calcul). */
  width: min(1180px, 84vw, 103vh);
  aspect-ratio: 1672 / 941;
  margin-inline: auto;
}

.four-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 30%;
  height: 46%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 84, 31, 0.55) 0%, rgba(217, 84, 31, 0) 70%);
  filter: blur(18px);
  opacity: 0;
  pointer-events: none;
}

.four-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

/* image état final : déjà centrée/cadrée, pas de translate3d d'assemblage —
   seuls l'opacité et un léger scale d'apparition lui sont appliqués en JS */
.four-final {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.985);
  will-change: opacity, transform;
}

.four-static.bloc-four {
  height: auto;
  padding-bottom: var(--interbloc);
}

.four-static .four-sticky {
  position: relative;
  height: auto;
}


/* ═══════════════════════════════════════════════════════════
   PROCESS — méthode en 4 étapes
   ═══════════════════════════════════════════════════════════ */

.listeprocess {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 22px);
}

.listeprocess li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: clamp(26px, 2.4vw, 32px) clamp(22px, 2.1vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: clamp(16px, 1.6vw, 20px);
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s ease;
}

.listeprocess li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--process-color);
}

.proc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
}

.proc-index {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-3);
}

.proc-step {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--process-color);
  margin-bottom: 10px;
}

.proc-titre {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(17px, 1.4vw, 20px);
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.proc-desc {
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-top: auto;
}


@media (max-width: 960px) {
  .bloc.secteurs {
    padding: 132px 0 96px;
  }

  .secteurs>.col {
    width: min(100% - 64px, 860px);
  }

  .secteurs-heading {
    grid-column: 1 / span 7;
  }

  .secteurs-intro {
    grid-column: 8 / -1;
  }

  .secteurs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .secteurs-grid .secteur-card {
    grid-column: span 1;
    min-height: 370px;
  }

  .secteur-link {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 46px rgba(0, 5, 18, 0.3), inset 0 1px 0 var(--white-a07);
  }

  .secteur-card h3,
  .secteur-card:nth-child(2) h3,
  .secteur-card:nth-child(3) h3 {
    font-size: clamp(25px, 3.6vw, 33px);
  }

  .listeprocess {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ═══════════════════════════════════════════════════════════
   CONTACT — coordonnées + formulaire (grille 27% / 1fr)
   ═══════════════════════════════════════════════════════════ */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 27%) 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact-lead {
  font-size: 12.8px;
  line-height: 2;
  color: var(--ink-2);
}

.contact-coords {
  margin-top: 34px;
}

.contact-coords li {
  border-top: 1px solid var(--line);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-coords li:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-coords span {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-coords a,
.contact-coords em {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-coords a:hover {
  color: var(--accent);
}

.contact-form-title {
  margin-bottom: 26px;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}

.cf-field {
  display: block;
  margin-bottom: 26px;
}

.cf-field span {
  display: block;
  margin-bottom: 9px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 8px 2px 10px;
  font-family: var(--font-body);
  font-size: 12.8px;
  color: var(--ink);
  transition: border-color 0.3s ease;
}

.cf-field select {
  cursor: pointer;
  appearance: none;
  padding-right: 20px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-3) 50%),
    linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: right 7px top 1.1em, right 1px top 1.1em;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.cf-field textarea {
  resize: none;
  min-height: 96px;
}

.cf-field input::placeholder,
.cf-field textarea::placeholder {
  color: var(--ink-3);
}

.cf-field input:focus-visible,
.cf-field select:focus-visible,
.cf-field textarea:focus-visible {
  border-color: var(--accent);
}

.cf-field--full {
  grid-column: 1 / -1;
}

.cf-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cf-submit-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cf-submit {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 17px 32px;
  border: none;
  /* border-radius: 999px; */
  background: linear-gradient(120deg, var(--sunset-1), var(--sunset-2));
  color: var(--white);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  /* box-shadow: 0 12px 26px rgba(195, 74, 54, 0.24); */
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.cf-submit i {
  font-size: 18px;
  font-style: normal;
  transition: transform 0.4s var(--ease);
}

.cf-submit:hover {
  transform: translateY(-2px);
}

.cf-submit:hover i {
  transform: translate(4px, -4px);
}

.cf-status {
  font-size: 10.88px;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  min-height: 1em;
}

/* Contact contextuel : dialogue natif, sans perdre la position dans la page. */
.contact-dialog {
  width: min(920px, calc(100vw - 48px));
  max-width: none;
  max-height: min(760px, calc(100dvh - 48px));
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
  margin: auto;
}

.contact-dialog[open] {
  animation: contact-dialog-in 0.46s var(--ease) both;
}

.contact-dialog::backdrop {
  background: rgba(8, 14, 30, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.contact-dialog-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  max-height: min(760px, calc(100dvh - 48px));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg-2);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 42px 110px rgba(5, 11, 27, 0.34);
}

.contact-dialog-close {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.contact-dialog-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 17px;
  height: 1px;
  background: var(--ink);
}

.contact-dialog-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.contact-dialog-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.contact-dialog-close:hover {
  background: var(--navy);
  border-color: var(--navy);
  transform: rotate(4deg);
}

.contact-dialog-close:hover span {
  background: var(--white);
}

.contact-dialog-aside {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: clamp(56px, 6vw, 82px) clamp(30px, 4vw, 52px) 44px;
  background:
    radial-gradient(circle at 12% 88%, rgba(90, 168, 230, 0.2), transparent 34%),
    var(--navy);
  color: var(--white);
  --ink-2: var(--white-a72);
  --ink-3: var(--white-a55);
  --accent: #78bced;
}

.contact-dialog-aside h2 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.contact-dialog-aside>p:last-of-type {
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.9;
  color: var(--ink-2);
}

.contact-dialog-direct {
  margin-top: auto;
  padding-top: 44px;
}

.contact-dialog-direct a {
  display: block;
  padding: 15px 0;
  border-top: 1px solid var(--white-a16);
  color: var(--white);
  text-decoration: none;
}

.contact-dialog-direct a:last-child {
  border-bottom: 1px solid var(--white-a16);
}

.contact-dialog-direct span {
  display: block;
  margin-bottom: 3px;
  font-size: 8px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.contact-dialog-direct strong {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
}

.contact-dialog-main {
  padding: clamp(58px, 6vw, 78px) clamp(30px, 5vw, 64px) 48px;
}

.contact-dialog-main .contact-form-title {
  margin-bottom: 28px;
}

.contact-dialog-form .cf-field {
  margin-bottom: 20px;
}

.contact-dialog-form .cf-field textarea {
  min-height: 82px;
}

.contact-dialog-form .cf-submit-row {
  margin-top: 2px;
}

@keyframes contact-dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .contact-dialog {
    width: min(100% - 20px, 560px);
    max-height: calc(100dvh - 20px);
  }

  .contact-dialog-shell {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 20px);
  }

  .contact-dialog-aside {
    min-height: auto;
    padding: 54px 24px 26px;
  }

  .contact-dialog-aside h2 {
    max-width: calc(100% - 56px);
  }

  .contact-dialog-aside>p:last-of-type {
    max-width: 430px;
    margin-top: 16px;
  }

  .contact-dialog-direct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding-top: 28px;
  }

  .contact-dialog-direct a:last-child {
    border-bottom: 0;
  }

  .contact-dialog-close {
    top: 12px;
    right: 12px;
    background: transparent;
    border-color: var(--white-a22);
  }

  .contact-dialog-close span {
    background: var(--white);
  }

  .contact-dialog-main {
    padding: 32px 24px 30px;
  }
}


/* ═══════════════════════════════════════════════════════════
   MARQUES PARTENAIRES — bandeau continu de logos
   ═══════════════════════════════════════════════════════════ */
.partners {
  overflow: hidden;
  padding: clamp(74px, 8vw, 118px) 0 clamp(84px, 9vw, 132px);
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.partners-head {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(300px, 0.72fr) auto;
  align-items: end;
  gap: clamp(30px, 5vw, 76px);
  margin-bottom: clamp(38px, 5vw, 64px);
}

.partners-head .section-kicker {
  margin-bottom: 12px;
}

.partners-head .section-titre {
  line-height: 1.05;
}

.partners-intro p {
  max-width: 520px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--ink-2);
}

.partners-intro span {
  display: block;
  margin-top: 10px;
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.partners-intro a {
  color: inherit;
  text-underline-offset: 3px;
}

.partners-toggle {
  min-width: 102px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.partners-toggle i {
  font-size: 13px;
  font-style: normal;
  letter-spacing: -0.18em;
}

.partners-toggle:hover,
.partners-toggle[aria-pressed="true"] {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.partners-marquee {
  width: 100%;
  overflow: hidden;
  /* border-block: 1px solid var(--line); */
  /* -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 7%, var(--ink) 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, var(--ink) 7%, var(--ink) 93%, transparent); */
  box-shadow: rgb(204, 219, 232) 3px 3px 6px 0px inset, rgba(255, 255, 255, 0.5) -3px -3px 6px 1px inset;
}

.partners-track {
  width: max-content;
  display: flex;
  animation: partners-scroll 58s linear infinite;
  will-change: transform;
}

.partners-list {
  display: flex;
  flex: 0 0 auto;
}

.partners-list li {
  width: clamp(220px, 21vw, 310px);
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 30px 34px;
  border-right: 1px solid var(--line);
  background: var(--white);
  margin: 1rem;
  box-shadow: var(--black-a07) 0px 1px 1px, var(--black-a07) 0px 2px 2px, var(--black-a07) 0px 4px 4px, var(--black-a07) 0px 8px 8px, var(--black-a07) 0px 16px 16px;
}

.partners-list .partner-card--dark {
  background: var(--navy);
}

.partners-list .partner-card--dark img {
  max-height: 62px;
  opacity: 1;
  filter: none;
}

.partners-list img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 49px;
  opacity: 1;
  filter: none;
  transition: opacity 0.35s ease, filter 0.35s ease, transform 0.4s var(--ease);
}

.partners-list .partner-logo--rational {
  transform: scale(2.65);
}

.partners-list li:hover img {
  opacity: 1;
  filter: none;
  transform: translateY(-2px);
}

.partners-list li:hover .partner-logo--rational {
  transform: translateY(-2px) scale(2.65);
}

.partners-marquee:hover .partners-track,
.partners.is-paused .partners-track {
  animation-play-state: paused;
}

@keyframes partners-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}


/* ═══════════════════════════════════════════════════════════
   FOOTER — logo centré, basG (grands liens) / basD, mentions
   ═══════════════════════════════════════════════════════════ */
#bas {
  padding-top: var(--interbloc);
  padding-bottom: 40px;
  background: var(--blue-night);
  /* Le footer surcharge les tokens texte/ligne pour tout son contenu :
     tout ce qui, en dessous, utilise var(--ink)/--ink-2/--ink-3/--line/
     --accent hérite automatiquement des variantes claires sans qu'on
     ait à retoucher chaque règle une par une. */
  --ink: var(--white);
  --ink-2: var(--white-a72);
  --ink-3: var(--white-a58);
  --line: var(--white-a16);
  --accent: var(--blue-bright);
  /* certains éléments (.footer-cta p) n'ont pas de color: var(--ink)
     propre et héritaient donc du noir déjà calculé sur body — on
     redéclare color ici pour relancer l'héritage avec les tokens
     locaux ci-dessus */
  color: var(--ink);
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(110px, 3.3vw, 110px);
  padding: 44px 0 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.footer-cta p {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.footer-cta p span {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.footer-cta a {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 17px 32px;
  /* border-radius: 999px; */
  background: linear-gradient(120deg, var(--sunset-1), var(--sunset-2));
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  /* box-shadow: 0 12px 26px rgba(195, 74, 54, 0.3); */
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}

.footer-cta a i {
  font-size: 18px;
  font-style: normal;
  transition: transform 0.4s var(--ease);
}

.footer-cta a:hover {
  transform: translateY(-2px);
}

.footer-cta a:hover i {
  transform: translate(4px, -4px);
}

.basint {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.basG {
  display: flex;
  flex-direction: column;
}

.basG a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 22.4px;
  letter-spacing: 0.45px;
  line-height: 1.45;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.3s, letter-spacing 0.3s;
  width: max-content;
}

.basG a:hover {
  color: var(--accent);
  letter-spacing: 1.4px;
}

.basD {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px clamp(40px, 6vw, 110px);
  align-content: start;
  padding-top: 6px;
}

.basD div {
  display: flex;
  flex-direction: column;
}

.basD a {
  font-size: 12.8px;
  line-height: 2.55;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.3s;
  width: max-content;
}

.basD a:hover {
  color: var(--ink);
}

.mentions {
  margin-top: 96px;
  text-align: center;
}

.mentions p {
  font-size: 10.88px;
  letter-spacing: 0.33px;
  color: var(--ink-3);
}

.mentions p+p {
  margin-top: 10px;
}

.mentions a {
  color: var(--ink-3);
  text-decoration: none;
  transition: color 0.3s;
}

.mentions a:hover {
  color: var(--ink);
}

/* ═══════════════════════════════════════════════════════════
   RÉVÉLATIONS
   ═══════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */


/* ═══════════════════════════════════════════════════════════
   CORRECTIONS PRIORITAIRES — HIÉRARCHIE, LISIBILITÉ, RYTHME
   La palette et la navigation d'origine restent inchangées.
   ═══════════════════════════════════════════════════════════ */
:root {
  --header-safe: 128px;
}

body {
  font-size: 15px;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

/* Le contenu possède sa propre zone de sécurité sous le bandeau fixe. */
section[id],
#bas {
  scroll-margin-top: 0;
}

/* Menu réellement lisible, même lorsque la vidéo reste visible derrière. */
#menu-overlay {
  overflow-y: auto;
  background: rgba(246, 246, 246, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.menu-socials span,
.menu-mail,
.menu-tel {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.menu-socials span {
  opacity: 0.58;
}

/* Plus aucun titre ne peut passer sous le bandeau fixe. */
.bloc,
.bloc-galerie {
  min-height: auto;
  padding-top: calc(var(--header-safe) + clamp(42px, 5vw, 72px));
  padding-bottom: clamp(76px, 8vw, 112px);
}

.bloc>.col,
.bloc-galerie>.col {
  margin-block: 0;
}

#projets.bloc,
#expertises.bloc {
  padding-top: calc(var(--header-safe) + clamp(42px, 5vw, 72px));
  padding-bottom: clamp(76px, 8vw, 112px);
}

#bas {
  padding-top: max(var(--interbloc), calc(var(--header-safe) + 48px));
}

.section-head {
  margin-bottom: clamp(42px, 5vw, 64px);
}

.section-titre {
  font-size: clamp(36px, 4vw, 54px);
}

/* Corps de texte et métadonnées : seuil de lecture confortable. */
.proc-desc,
.contact-lead,
.cf-field input,
.cf-field select,
.cf-field textarea,
.basD a,
.basD span {
  font-size: 15px;
}

.pet span,
.cf-status,
.mentions p,
.liensousgal {
  font-size: 11.5px;
  line-height: 1.6;
}

.section-kicker,
.four-kicker,
.contact-form-title,
.cf-field span,
.contact-coords span,
.footer-cta p span {
  font-size: 11px;
  line-height: 1.45;
}

/* Même couleur existante, sans l'extrémité trop claire du dégradé. */
.cf-submit,
.footer-cta a {
  min-height: 56px;
  border-radius: 0;
  background: var(--sunset-1);
  color: var(--white);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.footer-networks span,
.footer-networks a {
  font-size: 15px;
  line-height: 2.55;
}

.footer-networks span {
  color: var(--ink-3);
}

.footer-networks span::after {
  content: " · bientôt";
  font-size: 0.72em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-networks a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-networks a:hover {
  color: var(--accent);
}

.mentions span {
  color: var(--ink-3);
}

.contact-noscript {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-2);
}

.contact-noscript a {
  color: var(--ink);
}

/* Les deux moments signatures restent présents avec un scroll plus court. */
.bloc-four:not(.four-static) {
  height: 230vh;
}

/* Progressif : le contenu reste visible si JavaScript est indisponible. */
.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (max-height: 720px) and (min-width: 641px) {
  #menu-overlay {
    justify-content: flex-start;
    padding-top: 72px;
  }

  .menu-main a {
    font-size: clamp(25px, 4vw, 42px);
    line-height: 1.35;
  }

  .menu-foot {
    margin-top: 24px;
  }

  .four-sticky {
    padding-top: 136px;
    padding-bottom: 18px;
    gap: 12px;
  }

  .four-canvas {
    width: min(78vw, 74vh);
  }
}


@media (max-width: 420px) {
  .contact-dialog-direct {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-dialog-direct a:last-child {
    border-bottom: 1px solid var(--white-a16);
  }

  .pet {
    row-gap: 8px;
  }

  .footer-cta a {
    width: 100%;
    justify-content: space-between;
  }
}


/* ═══════════════════════════════════════════════════════════
   NAVIGATION PRINCIPALE — compacte, lisible et responsive
   ═══════════════════════════════════════════════════════════ */
:root {
  --header-safe: 82px;
}

section[id],
#bas {
  scroll-margin-top: 82px;
}

#scroll-progress {
  z-index: 140;
}

.skip-link {
  z-index: 160;
}

/* Rideau d'introduction indépendant : il dévoile la vidéo sans modifier le header. */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 120;
  height: 82px;
  border-bottom: 1px solid var(--navy-a09);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 rgba(7, 18, 43, 0);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition: height 0.42s var(--ease), background-color 0.42s ease, box-shadow 0.42s ease, backdrop-filter 0.42s ease;
  animation: site-nav-drop 0.66s var(--ease) both;
}

.site-header.is-scrolled {
  height: 68px;
  border-bottom-color: var(--navy-a12);
  background: var(--white-a94);
  box-shadow: 0 10px 34px rgba(7, 18, 43, 0.08);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.site-nav {
  width: 100%;
  max-width: 1600px;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: clamp(22px, 2.5vw, 46px);
  margin-inline: auto;
  padding-inline: clamp(32px, 3.4vw, 64px);
}

.site-logo {
  width: min(205px, 100%);
  display: block;
  justify-self: start;
  color: var(--navy);
  text-decoration: none;
  transform-origin: left center;
  transition: width 0.42s var(--ease), transform 0.32s var(--ease);
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-header.is-scrolled .site-logo {
  width: min(184px, 100%);
}

.site-logo:focus-visible {
  opacity: 1 !important;
  outline: 3px solid var(--orange);
  outline-offset: 6px;
  border-radius: 2px;
}

.site-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 30px);
}

.site-nav-links li {
  opacity: 0;
  transform: translateY(-7px);
  animation: site-nav-link-in 0.5s var(--ease) both;
}

.site-nav-links li:nth-child(1) {
  animation-delay: 0.14s;
}

.site-nav-links li:nth-child(2) {
  animation-delay: 0.18s;
}

.site-nav-links li:nth-child(3) {
  animation-delay: 0.22s;
}

.site-nav-links li:nth-child(4) {
  animation-delay: 0.26s;
}

.site-nav-links li:nth-child(5) {
  animation-delay: 0.3s;
}

.site-nav-links li:nth-child(6) {
  animation-delay: 0.34s;
}

.site-nav-links li:nth-child(7) {
  animation-delay: 0.38s;
}

.site-nav-links a {
  --nav-link-accent: var(--blue-deep);
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #39445f;
  font-size: clamp(12.5px, 0.88vw, 14px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.3s var(--ease);
}

.site-nav-links li:nth-child(3n + 2) a {
  --nav-link-accent: var(--orange-hot);
}

.site-nav-links li:nth-child(3n) a {
  --nav-link-accent: var(--green-eco);
}

.site-nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--nav-link-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.3s var(--ease);
}

.site-nav-links a[aria-current="location"] {
  color: var(--blue-night);
  font-weight: 500;
}

.site-nav-links a[aria-current="location"]::after {
  transform: scaleX(0.34);
  transform-origin: center;
}

.site-nav-links a:focus-visible {
  outline: 2px solid var(--nav-link-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.nav-phone {
  width: 218px;
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 17px 7px 8px;
  border: 0;
  border-radius: 5px;
  clip-path: polygon(5% 0, 95% 0, 100% 50%, 95% 100%, 5% 100%, 0 50%);
  background: var(--white);
  color: var(--blue-night);
  text-decoration: none;
  box-shadow: 0 15px 35px rgba(16, 22, 45, 0.12);
  transition: min-height 0.42s var(--ease), transform 0.32s var(--ease), box-shadow 0.32s ease, background-color 0.32s ease;
  animation: site-phone-in 0.68s var(--ease) 0.18s both;
}

.nav-phone-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 0;
  clip-path: polygon(18% 0, 76% 0, 100% 50%, 76% 100%, 18% 100%, 0 50%);
  background: var(--blue-night);
  color: var(--white);
  box-shadow: 0 0 0 0 rgba(16, 22, 45, 0);
  transition: transform 0.32s var(--ease), box-shadow 0.32s ease;
}

.nav-phone-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-phone-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-phone-copy small {
  color: var(--slate);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: none;
  opacity: 1;
}

.nav-phone-copy strong {
  color: var(--blue-night);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-header.is-scrolled .nav-phone {
  min-height: 52px;
}

.site-header.is-scrolled .nav-phone-icon {
  width: 36px;
  height: 36px;
}

.nav-phone:focus-visible {
  outline: 3px solid var(--blue-night);
  outline-offset: 4px;
}

#burger {
  position: relative;
  inset: auto;
  z-index: 130;
  width: 48px;
  height: 48px;
  display: none;
  place-content: center;
  gap: 4px;
  padding: 0;
  border: 1px solid rgba(33, 48, 79, 0.13);
  border-radius: 50%;
  background: rgba(33, 48, 79, 0.05);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}

#burger span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: var(--blue-night);
}

#burger:focus-visible {
  outline: 3px solid var(--blue-deep);
  outline-offset: 3px;
}


/* Le panneau est exclusivement mobile ; tous les liens secondaires y restent disponibles. */
#menu-overlay {
  display: none;
}

.menu-call {
  display: none;
  color: var(--white);
  text-decoration: none;
}

@keyframes site-nav-drop {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes site-nav-link-in {
  from {
    opacity: 0;
    transform: translateY(-7px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes site-phone-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1200px) and (min-width: 960px) {
  .site-nav {
    grid-template-columns: minmax(150px, 1fr) auto minmax(150px, 1fr);
    gap: 18px;
    padding-inline: 32px;
  }

  .site-logo {
    width: min(176px, 100%);
  }

  .site-header.is-scrolled .site-logo {
    width: min(162px, 100%);
  }

  .site-nav-links {
    gap: clamp(10px, 1.25vw, 15px);
  }

  .site-nav-links a {
    font-size: 12px;
  }

  .nav-phone {
    width: 176px;
    min-height: 54px;
    gap: 9px;
    padding-right: 13px;
  }

  .nav-phone-icon {
    width: 38px;
    height: 38px;
  }

  .nav-phone-copy small {
    display: none;
  }

  .nav-phone-copy strong {
    font-size: 12px;
  }

  .site-header.is-scrolled .nav-phone {
    min-height: 50px;
  }

  .site-header.is-scrolled .nav-phone-icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 1080px) and (min-width: 960px) {
  .site-nav {
    grid-template-columns: minmax(138px, 1fr) auto minmax(138px, 1fr);
    gap: 12px;
    padding-inline: 24px;
  }

  .site-logo {
    width: min(156px, 100%);
  }

  .site-header.is-scrolled .site-logo {
    width: min(146px, 100%);
  }

  .site-nav-links {
    gap: 9px;
  }

  .site-nav-links a {
    font-size: 11.5px;
  }

  .nav-phone {
    width: 152px;
    padding-right: 10px;
  }

  .nav-phone-copy strong {
    font-size: 11px;
    letter-spacing: 0.02em;
  }
}

@media (max-width: 959px) {
  :root {
    --header-safe: 72px;
  }

  section[id],
  #bas {
    scroll-margin-top: 72px;
  }

  .site-header {
    height: 72px;
  }

  .site-header.is-scrolled {
    height: 64px;
  }

  .site-nav {
    grid-template-columns: auto 1fr;
    gap: 18px;
    padding-inline: clamp(16px, 3.4vw, 28px);
  }

  .site-logo {
    width: clamp(142px, 23vw, 178px);
  }

  .site-header.is-scrolled .site-logo {
    width: clamp(136px, 21vw, 162px);
  }

  .site-nav-links {
    display: none;
  }

  .site-nav-actions {
    gap: 9px;
  }

  .nav-phone,
  .site-header.is-scrolled .nav-phone {
    width: 48px;
    min-height: 48px;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-color: var(--orange-hot);
    background: var(--orange-hot);
    box-shadow: 0 7px 18px rgba(244, 122, 58, 0.24);
  }

  .nav-phone-icon,
  .site-header.is-scrolled .nav-phone-icon {
    width: 100%;
    height: 100%;
    background: transparent;
  }

  .nav-phone-copy {
    display: none;
  }

  #burger {
    display: grid;
  }

  #menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 112px clamp(24px, 8vw, 72px) 32px;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    background:
      radial-gradient(circle at 90% 12%, rgba(8, 120, 185, 0.1), transparent 27%),
      rgba(246, 246, 246, 0.985);
    clip-path: none;
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    transform: translateY(-14px);
    transition: visibility 0s linear 0.52s, opacity 0.42s ease, transform 0.52s var(--ease);
  }

  body.menu-open #menu-overlay {
    visibility: visible;
    opacity: 1;
    clip-path: none;
    transform: none;
    transition-delay: 0s;
  }

  body.menu-open .site-header {
    border-bottom-color: var(--navy-a08);
    background: rgba(246, 246, 246, 0.96);
    box-shadow: none;
  }

  .menu-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(180px, 0.85fr);
    gap: clamp(36px, 8vw, 84px);
    align-items: start;
  }

  .menu-main a {
    min-height: 48px;
    display: flex;
    align-items: baseline;
    gap: 15px;
    color: var(--blue-night);
    font-family: var(--font-display);
    font-size: clamp(28px, 5.2vw, 44px);
    font-weight: 400;
    line-height: 1.28;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(18px);
    transition: color 0.3s ease, opacity 0.5s var(--ease), transform 0.5s var(--ease);
  }

  .menu-main a::after {
    display: none;
  }

  .menu-main a[aria-current="location"] {
    color: var(--blue-deep);
  }

  .menu-main em {
    min-width: 24px;
    color: var(--blue-deep);
    font-size: 9px;
  }

  body.menu-open .menu-main a {
    opacity: 1;
    transform: none;
  }

  body.menu-open .menu-main li:nth-child(1) a {
    transition-delay: 0.1s;
  }

  body.menu-open .menu-main li:nth-child(2) a {
    transition-delay: 0.14s;
  }

  body.menu-open .menu-main li:nth-child(3) a {
    transition-delay: 0.18s;
  }

  body.menu-open .menu-main li:nth-child(4) a {
    transition-delay: 0.22s;
  }

  body.menu-open .menu-main li:nth-child(5) a {
    transition-delay: 0.26s;
  }

  body.menu-open .menu-main li:nth-child(6) a {
    transition-delay: 0.3s;
  }

  body.menu-open .menu-main li:nth-child(7) a {
    transition-delay: 0.34s;
  }

  .menu-side {
    padding-top: 7px;
  }

  .menu-side a {
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(33, 48, 79, 0.1);
    color: #4f596e;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  .menu-call {
    min-height: 66px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 24px;
    width: min(100%, 430px);
    margin-top: 34px;
    padding: 13px 14px 13px 22px;
    border-radius: 999px;
    background: var(--blue-night);
    box-shadow: 0 12px 28px var(--night-a18);
  }

  .menu-call span {
    grid-column: 1;
    font-size: 8px;
    line-height: 1.2;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.68;
  }

  .menu-call strong {
    grid-column: 1;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.06em;
  }

  .menu-call i {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--orange-hot);
    font-style: normal;
  }

  .menu-call:focus-visible {
    outline: 3px solid var(--orange-hot);
    outline-offset: 4px;
  }

  .menu-foot {
    align-items: center;
    gap: 18px;
    margin-top: auto;
    padding-top: 24px;
    border-color: var(--navy-a12);
  }
}


@media (max-width: 480px) {
  .site-nav {
    gap: 10px;
    padding-inline: 14px;
  }

  .site-logo {
    width: clamp(124px, 38vw, 150px);
  }

  .site-header.is-scrolled .site-logo {
    width: clamp(120px, 36vw, 140px);
  }

  .site-nav-actions {
    gap: 7px;
  }

  .nav-phone,
  .site-header.is-scrolled .nav-phone,
  #burger {
    width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .menu-socials {
    gap: 14px;
  }

  .menu-socials span,
  .menu-mail,
  .menu-tel {
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .js .secteurs .secteur-card.reveal,
  .js .secteurs .secteur-card.reveal.in {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .secteur-image,
  .secteur-copy,
  .secteur-arrow {
    transform: none !important;
  }

  .listeprocess li {
    transition: none;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .bloc-four {
    height: auto !important;
  }

  .four-sticky {
    position: relative;
    height: auto;
    min-height: 100svh;
  }

  .partners-toggle {
    display: none;
  }

  .partners-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: thin;
  }

  .partners-track {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .partners-list[aria-hidden="true"] {
    display: none;
  }

  .partners-list li {
    scroll-snap-align: start;
  }

  .site-header,
  .site-logo,
  .site-nav-links li,
  .nav-phone {
    animation: none !important;
    opacity: 1;
    filter: none;
    transform: none;
  }

  #menu-overlay,
  .menu-main a {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════
   SYSTÈME ÉDITORIAL FINAL — rythme, surfaces et conversion
   ═══════════════════════════════════════════════════════════ */
:root {
  --surface-editorial: var(--white);
  --surface-technical: #f3f6f9;
  --surface-action: var(--blue-night);
  --section-space: clamp(66px, 7vw, 98px);
  --section-space-compact: clamp(48px, 5vw, 72px);
  --ui-shadow: 0 18px 44px rgba(16, 22, 45, 0.08);
  --col: min(1160px, calc(100vw - 64px));
}

body {
  font-size: 16px;
  line-height: 1.72;
  color: #20242b;
}

/* Trois familles de surfaces, sans effets de carte contradictoires. */
.apropos,
#projets,
#projets+.bloc-galerie,
#process,
#partenaires,
#contact {
  background: var(--surface-editorial);
}

/* Famille "surface technique" (gris clair) : #marques est la section
   "Nos équipements" — fond gris clair. */
#normes,
#bureau-etudes,
#precision {
  background: var(--surface-technical);
}

#expertises,
#secteurs,
#sav {
  background: var(--surface-action);
}

.bloc,
.bloc-galerie,
#projets.bloc,
#expertises.bloc {
  min-height: 0;
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

body .apropos,
body .normes {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.section-head {
  margin-bottom: clamp(32px, 3.6vw, 48px);
}

.section-titre {
  max-width: 18ch;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.03;
  letter-spacing: 0.015em;
}

.section-kicker,
.four-kicker,
.be-eyebrow,
.contact-form-title {
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.2em;
}

/* Les paragraphes déplacés deviennent une lecture éditoriale structurée. */

body .normes .nm-grid p,
body .apropos .ap-values p {
  font-size: 15px;
  line-height: 1.72;
}

body .apropos .ap-stats,
body .normes .nm-grid li,
.listeprocess li,
.secteur-link,
.be-panel,
.contact-dialog-shell,
.partners-list li,
.menu-call,
#burger,
.nav-phone,
body .normes .nm-ico {
  border-radius: 0;
}

body .apropos .ap-stats,
body .normes .nm-grid li,
.listeprocess li {
  box-shadow: none;
}

/* Réalisations : photographie dominante et légendes lisibles.
   .gde/.pet sont partagées avec "Nos équipements" (#marques) et
   "SAV" (#sav) : ce redimensionnement s'applique donc
   aussi à ces deux sections, pas seulement aux Réalisations. */
#projets+.bloc-galerie {
  padding-top: 18px;
}

.galerie-inner {
  gap: clamp(34px, 4vw, 54px);
}

.gde {
  width: 62%;
  aspect-ratio: 4 / 3;
  background: var(--surface-technical);
}

.pet {
  width: calc(38% - clamp(34px, 4vw, 54px));
  column-gap: 20px;
  row-gap: 18px;
}

.pet li {
  padding-bottom: 0;
}

.pet i {
  aspect-ratio: 4 / 3;
}

.pet span {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.liensousgal {
  width: max-content;
  min-height: 52px;
  margin: 30px 0 0 auto;
  padding: 0 24px;
  border: 1px solid var(--navy);
  color: var(--navy);
}

.liensousgal span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
}

/* Surfaces sombres réservées aux expertises, secteurs et dépannage. */
#sav {
  color: var(--white);
  --ink: var(--white);
  --ink-2: rgba(255, 255, 255, 0.76);
  --ink-3: rgba(255, 255, 255, 0.62);
  --line: rgba(255, 255, 255, 0.18);
  --accent: var(--orange-hot);
}

#sav .gde::after {
  border-color: rgba(255, 255, 255, 0.35);
}

#sav .pet span {
  color: rgba(255, 255, 255, 0.82);
}

#sav .liensousgal {
  color: var(--white);
}

#expertises {
  padding-bottom: var(--section-space);
}

.bloc.secteurs {
  padding: var(--section-space) 0;
}

.secteurs-head {
  margin-bottom: clamp(42px, 5vw, 64px);
}

.secteurs-grid {
  gap: 18px;
}

.secteurs-grid .secteur-card {
  min-height: 330px;
}

.secteur-link {
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.secteur-card p {
  font-size: 14px;
  line-height: 1.65;
}

.secteur-meta,
.secteur-meta span {
  font-size: 11px;
}

/* Deux familles d'actions : projet en bleu nuit, dépannage en orange. */
.cf-submit,
.footer-cta a {
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  box-shadow: none;
  color: var(--white);
}

#bas .footer-cta a {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

#sav .liensousgal {
  width: max-content;
  min-height: 52px;
  margin: 30px 0 0 auto;
  padding: 0 24px;
  background: var(--orange-hot);
  color: var(--white);
}

.cf-submit,
.footer-cta a,
#sav .liensousgal {
  font-size: 11px;
  letter-spacing: 0.13em;
  transition: transform 0.25s var(--ease), background-color 0.25s ease, color 0.25s ease;
}

.cf-submit:focus-visible,
.footer-cta a:focus-visible,
#projets+.bloc-galerie .liensousgal:focus-visible,
#sav .liensousgal:focus-visible,
#secteurs .liensousgal:focus-visible {
  outline: 3px solid var(--orange-hot);
  outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {

  .secteurs-grid .secteur-card:hover {
    z-index: 2;
    transform: translateY(-6px);
  }

  .secteur-card:hover .secteur-link {
    border-color: rgba(var(--sector-accent-rgb), 0.62);
    background: rgba(17, 35, 66, 0.42);
    box-shadow: 0 34px 76px rgba(0, 5, 18, 0.45), 0 0 30px var(--sector-accent-a13), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  }

  .secteur-card:hover .secteur-link::before {
    border-color: rgba(var(--sector-accent-rgb), 0.3);
    box-shadow: inset 0 0 34px rgba(var(--sector-accent-rgb), 0.08);
  }

  .secteur-card:hover .secteur-image {
    opacity: 0.98;
    filter: saturate(1.08) contrast(1.03) brightness(1.02);
    transform: scale(1.065);
  }

  .secteur-card:hover .secteur-shade {
    opacity: 0.92;
  }

  .secteur-card:hover .secteur-shade::before {
    opacity: 0.5;
    transform: translateY(-8%);
  }

  .secteur-card:hover .secteur-shade::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .secteur-card:hover .secteur-copy {
    transform: translateY(-6px);
  }

  .secteur-card:hover p {
    color: var(--white-a94);
    transform: translateY(-2px);
  }

  .secteur-card:hover .secteur-arrow {
    border-color: var(--sector-accent);
    background: var(--sector-accent);
    transform: translate(4px, -4px) rotate(7deg);
  }

  @supports selector(.secteurs-grid:has(.secteur-card:hover)) {
    .secteurs-grid:has(.secteur-card:hover) .secteur-card:not(:hover) {
      opacity: 0.88;
      filter: brightness(0.92) saturate(0.9);
    }
  }

  .listeprocess li:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--process-color-rgb), 0.4);
    box-shadow: 0 24px 44px rgba(20, 30, 55, 0.09);
  }

  .site-logo:hover {
    transform: translateY(-1px);
  }

  .site-nav-links a:hover {
    color: var(--blue-night);
    transform: translateY(-2px);
  }

  .site-nav-links a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }

  .nav-phone:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    box-shadow: 0 13px 28px rgba(244, 122, 58, 0.38), 0 0 24px rgba(244, 122, 58, 0.22);
    transform: translateY(-3px);
  }

  .nav-phone:hover .nav-phone-icon {
    box-shadow: 0 0 18px rgba(16, 22, 45, 0.3);
    transform: rotate(-5deg) translateY(-1px);
  }

  #burger:hover {
    background: var(--navy-a09);
    box-shadow: none;
    transform: none;
  }

  body.menu-open #burger:hover {
    transform: rotate(-3deg);
  }

  .cf-submit:hover {
    background: var(--blue-deep);
    border-color: var(--blue-deep);
  }

  #bas .footer-cta a:hover {
    background: var(--orange-hot);
    border-color: var(--orange-hot);
    color: var(--white);
  }

  .liensousgal:hover {
    background: var(--navy);
    color: var(--white);
  }

  #sav .liensousgal:hover {
    background: var(--white);
    color: var(--navy);
  }
}

.menu-main em,
.menu-side a,
.menu-call span,
.nav-phone-copy small,
.footer-cta p span,
.contact-dialog-direct span {
  font-size: 11px;
}

.menu-call {
  box-shadow: none;
}

/* Blocs de méthode, avis et contact plus denses. */
.listeprocess li {
  min-height: 220px;
  padding: 26px 22px;
}

.proc-step,
.proc-index {
  font-size: 11px;
}

.proc-desc {
  font-size: 15px;
  line-height: 1.68;
}

.mentions p,
.cf-status {
  font-size: 11px;
}

.contact-inner {
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 6vw, 82px);
}

.contact-lead,
.cf-field input,
.cf-field select,
.cf-field textarea {
  font-size: 15px;
  line-height: 1.65;
}

.cf-field span,
.contact-coords span {
  font-size: 11px;
}

.partners {
  padding: var(--section-space) 0;
}

#bas {
  padding-top: clamp(70px, 8vw, 108px);
}

.footer-cta {
  margin-bottom: clamp(64px, 7vw, 90px);
}

.mentions {
  margin-top: clamp(56px, 6vw, 78px);
}

/* Les moments immersifs restent présents, mais ne monopolisent plus la page. */
.bloc-four:not(.four-static) {
  height: 180vh;
}

.reveal,
.js .reveal {
  transition-duration: 0.95s;
  transition-timing-function: cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 1024px) {
  :root {
    --col: min(100% - 48px, 920px);
  }

  .site-nav {
    padding-inline: 24px;
  }

  .site-nav-links {
    gap: 12px;
  }

  .site-nav-links a {
    font-size: 12px;
  }

  .nav-phone {
    width: 178px;
  }

  .nav-phone-copy small {
    display: none;
  }
}

@media (max-width: 880px) {

  .partners-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }

  .partners-intro {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  :root {
    --interbloc: clamp(96px, 22vw, 140px);
  }

  #burger {
    top: 18px;
    right: 18px;
    width: 56px;
    height: 56px;
  }

  .galerie-inner, .galD .galerie-inner {
    flex-direction: column;
    gap: 40px;
  }

  .gde, .pet {
    width: 100%;
  }

  .bloc-four:not(.four-static) {
    height: 240vh;
  }

  .four-canvas {
    width: min(1180px, 84vw, 82vh);
  }

  .four-titre {
    font-size: clamp(21px, 4.6vw, 28px);
  }

  .basint {
    flex-direction: column;
    gap: 48px;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-cta a {
    width: max-content;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bloc,
  .bloc-galerie,
  #projets.bloc,
  #expertises.bloc {
    padding-top: calc(var(--header-safe) + 48px);
    padding-bottom: 80px;
  }

  .bloc-four:not(.four-static) {
    height: 200vh;
  }

  :root {
    --section-space: 68px;
    --col: min(100% - 40px, 760px);
  }

  .bloc,
  .bloc-galerie,
  #projets.bloc,
  #expertises.bloc,
  body .apropos,
  body .normes {
    padding-top: var(--section-space);
    padding-bottom: var(--section-space);
  }

  #projets+.bloc-galerie {
    padding-top: 10px;
  }

  .galerie-inner,
  .galD .galerie-inner {
    gap: 24px;
  }

  .gde,
  .pet {
    width: 100%;
  }

  .pet {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }

  .pet span {
    font-size: 11px;
  }

  .secteurs-grid .secteur-card {
    min-height: 320px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .bloc-four:not(.four-static) {
    height: 165vh;
  }
}

@media (max-width: 640px) {
  section[id], #bas {
    scroll-margin-top: 96px;
  }

  .bloc.secteurs {
    padding: calc(var(--header-safe) + 54px) 0 76px;
  }

  .secteurs>.col {
    width: min(100% - 34px, 560px);
  }

  .secteurs-head {
    margin-bottom: 48px;
  }

  .secteurs-intro p {
    font-size: 14px;
  }

  .secteurs-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .secteurs-grid .secteur-card {
    grid-column: 1;
    min-height: 390px;
  }

  .secteur-content {
    padding: 24px;
  }

  .secteur-meta span {
    font-size: 8.5px;
  }

  .secteur-copy {
    padding-top: 64px;
    padding-right: 58px;
  }

  .secteur-card h3,
  .secteur-card:nth-child(2) h3,
  .secteur-card:nth-child(3) h3 {
    font-size: clamp(26px, 8vw, 33px);
  }

  .secteur-card p {
    color: rgba(239, 246, 255, 0.82);
    font-size: 12px;
  }

  .secteur-arrow {
    right: 22px;
    bottom: 22px;
    width: 48px;
    height: 48px;
  }

  .listeprocess {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .listeprocess li {
    min-height: 0;
  }

  .partners {
    padding: 64px 0 78px;
  }

  .partners-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 16px;
    margin-bottom: 34px;
  }

  .partners-intro p {
    font-size: 13px;
  }

  .partners-toggle {
    min-width: 46px;
    width: 46px;
    padding: 0;
    justify-content: center;
  }

  .partners-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .partners-list li {
    width: 190px;
    min-height: 106px;
    padding: 24px 26px;
  }

  .partners-list img {
    max-height: 42px;
  }

  .partners-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--ink) 4%, var(--ink) 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, var(--ink) 4%, var(--ink) 96%, transparent);
  }

  #burger {
    top: 0px;
    right: 14px;
    width: 52px;
    height: 52px;
  }

  #menu-overlay {
    justify-content: flex-start;
    padding: 86px 7vw 24px;
    overflow-y: auto;
  }

  .menu-cols {
    display: block;
  }

  .menu-main a {
    gap: 12px;
    font-size: clamp(24px, 8vw, 34px);
    line-height: 1.48;
  }

  .menu-main em {
    font-size: 9px;
  }

  .menu-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
    margin-top: 24px;
  }

  .menu-side a {
    font-size: 9px;
    line-height: 2.3;
  }

  .menu-foot {
    align-items: flex-start;
    margin-top: 28px;
    padding-top: 18px;
  }

  .menu-socials {
    width: 100%;
    gap: 18px;
  }

  .menu-socials a, .menu-mail, .menu-tel {
    font-size: 9px;
  }

  .pet {
    column-gap: 6%;
  }

  .pet li {
    padding-bottom: 18px;
    height: 1rem;
  }
  .cf-submit-row {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-top: 10px;
    justify-content: center;
}
  .pet span {
    font-size: 9px;
    line-height: 1.55;
  }

  .bloc-four:not(.four-static) {
    height: 210vh;
  }

  /* le minimum dégage le bandeau compact fixe (96px en mobile) */
  .four-sticky {
    padding-top: clamp(118px, 19vh, 150px);
    padding-bottom: clamp(20px, 3vh, 36px);
    gap: 14px;
  }

  .four-canvas {
    width: min(92vw, 71vh);
  }

  .four-kicker {
    font-size: 8px;
  }

  .footer-cta {
    padding: 34px 0 32px;
    gap: 28px;
  }

  .footer-cta p {
    font-size: clamp(31px, 11vw, 48px);
  }

  .basD {
    grid-template-columns: 1fr;
  }

  .cf-row {
    grid-template-columns: 1fr;
  }

  :root {
    --header-safe: 96px;
  }

  body {
    font-size: 14.5px;
  }

  .bloc,
  .bloc-galerie,
  #projets.bloc,
  #expertises.bloc {
    min-height: auto;
    padding-top: calc(var(--header-safe) + 36px);
    padding-bottom: 68px;
  }

  .proc-desc,
  .contact-lead,
  .cf-field input,
  .cf-field select,
  .cf-field textarea,
  .basD a,
  .basD span {
    font-size: 14px;
  }

  .section-head {
    margin-bottom: 40px;
  }

  .section-titre {
    font-size: clamp(31px, 10vw, 42px);
  }

  .menu-main a {
    min-height: 44px;
  }

  .menu-main em {
    font-size: 10px;
  }

  .menu-side a {
    min-height: 40px;
    display: flex;
    align-items: center;
    font-size: 11px;
    line-height: 1.45;
  }

  .menu-socials span,
  .menu-mail,
  .menu-tel {
    font-size: 10.5px;
  }

  .pet span {
    font-size: 11px;
  }

  .bloc-four:not(.four-static) {
    height: 175vh;
  }

  .cf-submit,
  .footer-cta a {
    width: 100%;
    justify-content: space-between;
  }

  .footer-networks span {
    font-size: 14px;
  }

  #menu-overlay {
    padding: 96px 20px 24px;
  }

  .menu-cols {
    display: block;
  }

  .menu-main a {
    font-size: clamp(25px, 8vw, 34px);
    line-height: 1.3;
  }

  .menu-side {
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
    margin-top: 25px;
  }

  .menu-side a {
    font-size: 9px;
  }

  .menu-call {
    margin-top: 28px;
  }

  .menu-foot {
    align-items: flex-start;
    margin-top: 28px;
  }

  :root {
    --section-space: 56px;
    --col: min(100% - 34px, 560px);
  }

  body {
    font-size: 15px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .section-titre {
    font-size: clamp(32px, 10vw, 44px);
  }

  .normes .nm-grid p,
  .proc-desc,
  .contact-lead,
  .cf-field input,
  .cf-field select,
  .cf-field textarea {
    font-size: 15px;
  }

  .pet {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .gde {
    aspect-ratio: 4 / 3;
  }

  .bloc.secteurs {
    padding: var(--section-space) 0;
  }

  .secteurs-grid .secteur-card {
    min-height: 350px;
  }

  .secteur-card p {
    font-size: 14px;
  }

  .listeprocess li {
    min-height: 0;
  }

  .partners {
    padding: var(--section-space) 0;
  }

  .bloc-four:not(.four-static) {
    height: 150svh;
  }
}

@media (max-width: 390px) {
  .secteurs-grid .secteur-card {
    min-height: 410px;
  }

  .secteur-copy {
    padding-right: 44px;
  }

  .secteur-arrow {
    width: 44px;
    height: 44px;
  }

  .secteurs-grid .secteur-card {
    min-height: 360px;
  }
}

/* ═══════════════════════════════════════════════════════════
   SECTEURS — catalogue technique / bureau d'étude
   Refonte strictement limitée à #secteurs.
   ═══════════════════════════════════════════════════════════ */
#secteurs.bloc.secteurs {
  --sector-line: rgba(164, 195, 215, 0.24);
  padding: clamp(118px, 11vw, 168px) 0 clamp(96px, 9vw, 138px);
  /* background:
    linear-gradient(rgba(113, 155, 183, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 155, 183, 0.035) 1px, transparent 1px),
    radial-gradient(55% 48% at 74% 4%, rgba(33, 107, 148, 0.13), transparent 72%),
    #0d1422; */
  background-size: 72px 72px, 72px 72px, auto, auto;
}

#secteurs .secteurs-watermark {
  position: absolute;
  z-index: 0;
  top: clamp(82px, 9vw, 128px);
  right: max(4vw, calc((100vw - 1240px) / 2));
  color: transparent;
  font-family: var(--font-body);
  font-size: clamp(66px, 10vw, 150px);
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: -0.055em;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgba(177, 207, 225, 0.085);
  pointer-events: none;
  user-select: none;
}

#secteurs>.col {
  position: relative;
  z-index: 1;
}

#secteurs .secteurs-head {
  position: relative;
  align-items: end;
  margin-bottom: clamp(62px, 7vw, 90px);
  padding-bottom: 38px;
}

#secteurs .secteurs-head::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(74, 184, 234, 0.78) 0 7%, var(--sector-line) 7% 92%, transparent 92%);
}

#secteurs .secteurs-head::before {
  content: "UF / APPLICATIONS — 43°36′N 03°52′E";
  position: absolute;
  right: 0;
  bottom: 10px;
  color: rgba(205, 222, 233, 0.42);
  font-size: 8px;
  line-height: 1;
  letter-spacing: 0.18em;
}

#secteurs .section-kicker {
  color: #6fc4eb;
  letter-spacing: 0.19em;
}

#secteurs .section-titre {
  max-width: 800px;
  font-size: clamp(38px, 4.4vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

#secteurs .secteurs-intro {
  max-width: 410px;
}

#secteurs .secteurs-intro p {
  color: rgba(222, 233, 240, 0.74);
  line-height: 1.7;
}

/* CTA "Nous contacter" alignée sur le style liensousgal, décliné sombre comme dans #sav. */
#secteurs .liensousgal {
  width: max-content;
  min-height: 52px;
  margin: 30px 0 0 auto;
  padding: 0 24px;
  background: var(--orange-hot);
  color: var(--white);
}

#secteurs .secteurs-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(270px, auto));
  gap: clamp(10px, 1.15vw, 15px);
}

#secteurs .secteurs-grid .secteur-card {
  min-height: 0;
  border-radius: 2px;
  transform-origin: center;
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}

.js #secteurs .secteur-card.reveal:not(.in) {
  transition-delay: var(--reveal-delay, 0ms);
}

.js #secteurs .secteur-card.reveal.in {
  transition-delay: 0ms;
}

#secteurs .secteur-card:nth-child(1) {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
}

#secteurs .secteur-card:nth-child(2) {
  grid-column: 7 / 10;
  grid-row: 1;
}

#secteurs .secteur-card:nth-child(3) {
  grid-column: 10 / 13;
  grid-row: 1;
}

#secteurs .secteur-card:nth-child(4) {
  grid-column: 7 / 10;
  grid-row: 2;
}

#secteurs .secteur-card:nth-child(5) {
  grid-column: 10 / 13;
  grid-row: 2;
}

#secteurs .secteur-link {
  min-height: 100%;
  border: 1px solid rgba(147, 178, 197, 0.3);
  border-radius: 2px;
  background: #111c2c;
  box-shadow: 0 18px 42px rgba(0, 5, 15, 0.23), inset 0 1px 0 rgba(221, 238, 248, 0.06);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}

#secteurs .secteur-link::before {
  z-index: 4;
  inset: 9px;
  border: 0;
  border-radius: 0;
  opacity: 0.44;
  background:
    linear-gradient(var(--sector-accent), var(--sector-accent)) left top / 22px 1px no-repeat,
    linear-gradient(var(--sector-accent), var(--sector-accent)) left top / 1px 22px no-repeat,
    linear-gradient(var(--ice-blue-a70), var(--ice-blue-a70)) right bottom / 14px 1px no-repeat,
    linear-gradient(var(--ice-blue-a70), var(--ice-blue-a70)) right bottom / 1px 14px no-repeat;
  transition: opacity 0.3s var(--ease);
}

#secteurs .secteur-link::after {
  content: attr(data-tech);
  position: absolute;
  z-index: 3;
  top: 68px;
  left: clamp(22px, 2.2vw, 30px);
  color: rgba(217, 232, 240, 0.52);
  font-size: 7px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

#secteurs .secteur-image {
  opacity: 0.9;
  filter: saturate(0.72) contrast(1.08) brightness(0.8) hue-rotate(-3deg);
  transform: scale(1.002);
  transition: opacity 0.32s var(--ease), filter 0.32s var(--ease), transform 0.32s var(--ease);
}

#secteurs .secteur-shade {
  background:
    linear-gradient(180deg, rgba(5, 13, 25, 0.46) 0%, rgba(5, 13, 25, 0.08) 36%, rgba(5, 13, 25, 0.7) 72%, rgba(5, 13, 25, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 13, 25, 0.32), transparent 64%);
  opacity: 1;
  transition: opacity 0.32s var(--ease);
}

#secteurs .secteur-shade::before {
  inset: auto -10% -38% -10%;
  height: 58%;
  opacity: 0.18;
  background: radial-gradient(ellipse at center, var(--sector-accent-a50), transparent 67%);
  filter: blur(22px);
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

#secteurs .secteur-shade::after {
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sector-accent), rgba(var(--sector-accent-rgb), 0.22) 38%, transparent 78%);
  box-shadow: none;
  opacity: 0.55;
  transform: scaleX(0.16);
  transform-origin: left;
  transition: opacity 0.32s var(--ease), transform 0.32s var(--ease);
}

#secteurs .secteur-content {
  min-height: 100%;
  padding: clamp(22px, 2.2vw, 30px);
}

#secteurs .secteur-content::before {
  content: "+";
  position: absolute;
  top: 61px;
  right: clamp(20px, 2vw, 28px);
  color: rgba(var(--sector-accent-rgb), 0.68);
  font-size: 14px;
  font-weight: 300;
  line-height: 1;
}

#secteurs .secteur-meta {
  align-items: flex-start;
}

#secteurs .secteur-meta em {
  min-width: auto;
  min-height: auto;
  display: flex;
  align-items: baseline;
  gap: 7px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--white);
  font-size: 11px;
  letter-spacing: 0.16em;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

#secteurs .secteur-meta em::after {
  content: "/ SECTEUR";
  color: rgba(211, 227, 237, 0.43);
  font-size: 7px;
  letter-spacing: 0.18em;
}

#secteurs .secteur-meta span {
  color: rgba(225, 236, 243, 0.72);
  font-size: 8px;
  letter-spacing: 0.16em;
}

#secteurs .secteur-copy {
  max-width: 620px;
  padding-top: 72px;
  padding-right: 108px;
  transition: transform 0.32s var(--ease);
}

#secteurs .secteur-copy::before {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin-bottom: 15px;
  background: var(--sector-accent);
  opacity: 0.78;
  transition: width 0.32s var(--ease);
}

#secteurs .secteur-card h3,
#secteurs .secteur-card:nth-child(2) h3,
#secteurs .secteur-card:nth-child(3) h3 {
  font-family: var(--font-body);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  transition: transform 0.32s var(--ease), color 0.32s var(--ease);
}

#secteurs .secteur-card:nth-child(1) h3 {
  font-size: clamp(34px, 3.7vw, 51px);
}

#secteurs .secteur-card:nth-child(2) h3,
#secteurs .secteur-card:nth-child(3) h3 {
  font-size: clamp(20px, 1.8vw, 26px);
}

#secteurs .secteur-card p {
  max-width: 48ch;
  margin-top: 11px;
  color: rgba(228, 237, 243, 0.76);
  font-size: 13px;
  line-height: 1.58;
}

#secteurs .secteur-arrow {
  right: clamp(20px, 2.2vw, 28px);
  bottom: clamp(20px, 2.2vw, 28px);
  width: 102px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 13px;
  border: 1px solid rgba(180, 207, 223, 0.36);
  border-radius: 1px;
  background: rgba(7, 19, 34, 0.7);
  box-shadow: inset 2px 0 0 var(--sector-accent-a50);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

#secteurs .secteur-arrow small {
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

#secteurs .secteur-arrow b {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  #secteurs .secteurs-grid .secteur-card:hover {
    z-index: 2;
    transform: translateY(-3px);
  }

  #secteurs .secteur-card:hover .secteur-link {
    border-color: rgba(var(--sector-accent-rgb), 0.72);
    background: #142235;
    box-shadow: 0 24px 52px rgba(0, 5, 15, 0.3), inset 0 0 0 1px rgba(var(--sector-accent-rgb), 0.1);
  }

  #secteurs .secteur-card:hover .secteur-link::before {
    opacity: 0.92;
  }

  #secteurs .secteur-card:hover .secteur-image {
    opacity: 0.98;
    filter: saturate(0.86) contrast(1.06) brightness(0.93);
    transform: scale(1.03);
  }

  #secteurs .secteur-card:hover .secteur-shade {
    opacity: 0.9;
  }

  #secteurs .secteur-card:hover .secteur-shade::before {
    opacity: 0.34;
    transform: translateY(-4%);
  }

  #secteurs .secteur-card:hover .secteur-shade::after {
    opacity: 0.92;
    transform: scaleX(1);
  }

  #secteurs .secteur-card:hover .secteur-copy {
    transform: none;
  }

  #secteurs .secteur-card:hover .secteur-copy::before {
    width: 62px;
  }

  #secteurs .secteur-card:hover h3 {
    transform: translateY(-4px);
  }

  #secteurs .secteur-card:hover p {
    color: rgba(244, 248, 250, 0.9);
    transform: none;
  }

  #secteurs .secteur-card:hover .secteur-arrow {
    border-color: rgba(var(--sector-accent-rgb), 0.9);
    background: var(--sector-accent-a13);
    box-shadow: inset 3px 0 0 var(--sector-accent);
    transform: none;
  }

  #secteurs .secteur-card:hover .secteur-arrow b {
    transform: translate(3px, -3px);
  }

  #secteurs .secteurs-grid:has(.secteur-card:hover) .secteur-card:not(:hover) {
    opacity: 0.92;
    filter: brightness(0.94) saturate(0.9);
  }

  #secteurs .liensousgal:hover {
    background: var(--white);
    color: var(--navy);
  }
}

@media (max-width: 1050px) {
  #secteurs .secteurs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  #secteurs .secteurs-grid .secteur-card {
    grid-column: auto;
    grid-row: auto;
    min-height: 325px;
  }

  #secteurs .secteur-card:nth-child(1) {
    grid-column: 1 / -1;
    min-height: 430px;
  }

  #secteurs .secteur-card:nth-child(1) h3 {
    font-size: clamp(32px, 5.3vw, 48px);
  }

  #secteurs .secteur-card:nth-child(2) h3,
  #secteurs .secteur-card:nth-child(3) h3 {
    font-size: clamp(22px, 3vw, 28px);
  }
}

@media (max-width: 700px) {
  #secteurs.bloc.secteurs {
    padding: calc(var(--header-safe) + 48px) 0 78px;
    background-size: 48px 48px, 48px 48px, auto, auto;
  }

  #secteurs .secteurs-watermark {
    top: 118px;
    right: 16px;
    font-size: clamp(52px, 17vw, 82px);
  }

  #secteurs .secteurs-head {
    display: block;
    padding-bottom: 34px;
    margin-bottom: 42px;
  }

  #secteurs .secteurs-head::before {
    display: none;
  }

  #secteurs .secteurs-heading,
  #secteurs .secteurs-intro {
    max-width: none;
  }

  #secteurs .section-titre {
    font-size: clamp(38px, 11vw, 52px);
  }

  #secteurs .secteurs-intro {
    margin-top: 28px;
  }

  #secteurs .secteurs-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #secteurs .secteurs-grid .secteur-card,
  #secteurs .secteur-card:nth-child(1) {
    grid-column: 1;
    min-height: 350px;
  }

  #secteurs .secteur-card:nth-child(1) {
    min-height: 400px;
  }

  #secteurs .secteur-card h3,
  #secteurs .secteur-card:nth-child(1) h3,
  #secteurs .secteur-card:nth-child(2) h3,
  #secteurs .secteur-card:nth-child(3) h3 {
    font-size: clamp(24px, 7.3vw, 32px);
  }

  #secteurs .secteur-content {
    padding: 22px;
  }

  #secteurs .secteur-link::after {
    top: 62px;
    left: 22px;
  }

  #secteurs .secteur-content::before {
    top: 56px;
    right: 22px;
  }

  #secteurs .secteur-copy {
    padding-top: 76px;
    padding-right: 82px;
  }

  #secteurs .secteur-arrow {
    right: 20px;
    bottom: 20px;
    width: 90px;
    height: 40px;
    padding-inline: 10px;
  }
}

@media (hover: none) {
  #secteurs .secteur-shade::after {
    transform: scaleX(0.42);
  }

  #secteurs .secteur-link::before {
    opacity: 0.66;
  }
}

/* ═══════════════════════════════════════════════════════════
   INFOS PRATIQUES — implantation technique et accès
   ═══════════════════════════════════════════════════════════ */

/* Infos pratiques compactes, intégrées au rythme du footer. */
#bas .footer-cta {
  margin-bottom: 0;
}

.footer-practical {
  margin-bottom: clamp(64px, 7vw, 92px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.footer-practical-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.footer-practical-head p {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin: 0;
}

.footer-practical-head p span,
.footer-practical-grid>*>span {
  color: var(--accent);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.footer-practical-head p strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-practical-head>a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-2);
  font-size: 9px;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .3s ease;
}

.footer-practical-head>a i {
  font-size: 15px;
  font-style: normal;
  transition: transform .3s var(--ease);
}

.footer-practical-grid {
  display: grid;
  grid-template-columns: minmax(165px, .62fr) minmax(155px, .56fr) minmax(380px, 1.45fr) minmax(210px, .78fr);
  gap: 0;
  padding: 26px 0 30px;
}

.footer-practical-grid>* {
  min-width: 0;
  padding: 0 clamp(22px, 3vw, 44px);
  border-right: 1px solid var(--line);
}

.footer-practical-grid>*:first-child {
  padding-left: 0;
}

.footer-practical-grid>*:last-child {
  padding-right: 0;
  border-right: 0;
}

.footer-practical-grid address {
  font-style: normal;
}

.footer-practical-grid address strong,
.footer-practical-phone a {
  display: block;
  margin-top: 12px;
  color: var(--ink-2);
  font-family: var(--font-signature);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  text-decoration: none;
}

.footer-practical-hours dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 46px);
  margin: 10px 0 0;
}

.footer-practical-hours dl>div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: var(--ink-2);
  font-size: 10px;
  line-height: 1.35;
}

.footer-practical-hours dt {
  color: var(--ink-3);
}

.footer-practical-hours dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.footer-practical-map {
  position: relative;
  min-height: 154px;
  overflow: hidden;
}

.footer-practical-map iframe {
  display: block;
  width: 100%;
  height: 154px;
  border: 0;
  filter: grayscale(1) saturate(.18) contrast(1.08) brightness(.68) sepia(.06) hue-rotate(164deg);
  transition: filter .4s var(--ease);
}

.footer-practical-map>a {
  position: absolute;
  right: 0;
  bottom: 0;
  left: clamp(22px, 3vw, 44px);
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px;
  color: rgba(244, 249, 251, .88);
  background: rgba(8, 18, 31, .84);
  font-size: 7px;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.footer-practical-map>a i {
  color: #73c4e8;
  font-size: 13px;
  font-style: normal;
  transition: transform .3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {

  .footer-practical-head>a:hover,
  .footer-practical-phone a:hover {
    color: var(--white);
  }

  .footer-practical-head>a:hover i {
    transform: translate(3px, -3px);
  }

  .footer-practical-map:hover iframe {
    filter: grayscale(.88) saturate(.3) contrast(1.05) brightness(.76) sepia(.03) hue-rotate(164deg);
  }

  .footer-practical-map>a:hover i {
    transform: translate(3px, -3px);
  }
}

@media (max-width: 1050px) {
  .footer-practical-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-practical-grid>*:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .footer-practical-hours {
    grid-column: 1;
    margin-top: 26px;
    padding: 24px 28px 0 0;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .footer-practical-map {
    grid-column: 2;
    margin-top: 26px;
    padding: 24px 0 0 28px;
    border-top: 1px solid var(--line);
  }

  .footer-practical-map>a {
    left: 28px;
  }
}

@media (max-width: 600px) {
  .footer-practical-head {
    align-items: flex-start;
    padding: 20px 0;
  }

  .footer-practical-head p {
    display: block;
  }

  .footer-practical-head p span {
    display: block;
    margin-bottom: 8px;
  }

  .footer-practical-grid {
    display: block;
    padding: 22px 0 26px;
  }

  .footer-practical-grid>* {
    padding: 0;
    border: 0;
  }

  .footer-practical-phone {
    margin-top: 22px;
    padding-top: 20px !important;
    border-top: 1px solid var(--line) !important;
  }

  .footer-practical-hours {
    margin-top: 22px;
    padding-top: 20px;
  }

  .footer-practical-hours dl {
    grid-template-columns: 1fr;
  }

  .footer-practical-hours dl>div {
    font-size: 11px;
  }

  .footer-practical-map {
    margin-top: 22px;
    padding: 20px 0 0;
    border-top: 1px solid var(--line);
  }

  .footer-practical-map iframe {
    height: 190px;
  }

  .footer-practical-map>a {
    left: 0;
  }
}

/* ═══════════════════════════════════════════════════════════
   CONTACT CONTEXTUEL — interface technique UNIFROID
   ═══════════════════════════════════════════════════════════ */
.contact-dialog {
  width: min(1000px, calc(100vw - 40px));
  max-height: min(760px, calc(100dvh - 40px));
  color: var(--ice);
  opacity: 0;
  transform: translateY(28px) scale(.975);
}

.contact-dialog[open]:not(.is-closing) {
  animation: contact-panel-open .56s cubic-bezier(.22, 1, .36, 1) forwards;
}

.contact-dialog.is-closing {
  pointer-events: none;
  animation: contact-panel-close .38s cubic-bezier(.55, 0, 1, .45) forwards;
}

.contact-dialog::backdrop {
  background: rgba(3, 9, 19, .78);
  -webkit-backdrop-filter: blur(9px) saturate(.75);
  backdrop-filter: blur(9px) saturate(.75);
  animation: contact-backdrop-open .42s ease-out both;
}

.contact-dialog.is-closing::backdrop {
  animation: contact-backdrop-close .38s ease-in forwards;
}

.contact-dialog-shell {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  max-height: min(760px, calc(100dvh - 40px));
  background: var(--white);
  border: 1px solid var(--night-a18);
  box-shadow: 0 48px 120px rgba(1, 7, 17, .58), 0 0 0 1px rgba(255, 255, 255, .025) inset;
}

.contact-dialog-shell::before,
.contact-dialog-shell::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.contact-dialog-shell::before {
  top: 0;
  left: 0;
  width: 72px;
  height: 3px;
  background: #63b8e5;
  box-shadow: 72px 0 rgba(99, 184, 229, .22);
}

.contact-dialog-shell::after {
  right: 0;
  bottom: 0;
  width: 42px;
  height: 42px;
  border-right: 1px solid var(--sky-a54);
  border-bottom: 1px solid var(--sky-a54);
}

.contact-dialog-close {
  top: 16px;
  right: 16px;
  width: 43px;
  height: 43px;
  border-color: var(--night-a18);
  background: var(--white);
}

.contact-dialog-close span {
  background: var(--surface-action);
}

.contact-dialog-close:hover {
  background: var(--surface-action);
  border-color: var(--surface-action);
  transform: none;
}

.contact-dialog-close:hover span {
  background: var(--white);
}

.contact-dialog-aside {
  position: relative;
  isolation: isolate;
  padding: 34px clamp(30px, 4vw, 50px) 40px;
  background: var(--surface-action);
  border-right: 1px solid var(--steel-blue-a18);
}

.contact-dialog-aside::after {
  content: "CONTACT";
  position: absolute;
  z-index: -1;
  left: 27px;
  bottom: 120px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(181, 216, 235, .055);
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 86px);
  letter-spacing: .05em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.contact-dialog-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-right: 2px;
  color: rgba(183, 211, 227, .48);
  font-size: 8px;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.contact-dialog-aside .section-kicker {
  margin-top: clamp(46px, 6vh, 70px);
  color: var(--blue-pale);
}

.contact-dialog-aside h2 {
  max-width: 390px;
  margin-top: 18px;
  font-size: clamp(36px, 4.3vw, 58px);
  line-height: .96;
}

.contact-dialog-aside>#contact-dialog-description {
  max-width: 350px;
  margin-top: 24px;
  color: rgba(222, 235, 243, .67);
  font-size: 12px;
  line-height: 1.75;
}

.contact-dialog-aside>p.contact-dialog-response {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  color: rgba(222, 235, 243, .73);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-dialog-response i {
  width: 5px;
  height: 5px;
  background: #64c68c;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(100, 198, 140, .09);
}

.contact-dialog-direct {
  padding-top: 34px;
}

.contact-dialog-direct a {
  position: relative;
  padding: 13px 28px 13px 0;
  border-color: var(--steel-blue-a16);
}

.contact-dialog-direct a::after {
  content: "↗\FE0E";
  position: absolute;
  top: 50%;
  right: 3px;
  color: rgba(114, 193, 232, .72);
  transform: translateY(-50%);
  transition: transform .3s var(--ease), color .3s ease;
}

.contact-dialog-direct a:hover::after {
  color: var(--white);
  transform: translate(3px, calc(-50% - 3px));
}

.contact-dialog-direct strong {
  font-size: 15px;
  letter-spacing: .01em;
}

.contact-dialog-main {
  padding: clamp(44px, 5.5vh, 64px) clamp(34px, 5vw, 66px) 34px;
  --ink: var(--blue-night);
  --ink-2: #475066;
  --ink-3: #71798a;
  --line: var(--slate-light);
  --accent: var(--brand-blue);
  background: var(--white);
  color: var(--ink);
}

.contact-dialog-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-right: 54px;
}

.contact-dialog-main .contact-form-title {
  margin: 0;
  color: var(--surface-action);
  font-size: 12px;
  letter-spacing: .17em;
}

.contact-dialog-heading>p:last-child {
  margin: 0;
  color: #858b98;
  font-size: 8px;
  letter-spacing: .14em;
  text-align: right;
  text-transform: uppercase;
}

.contact-dialog-form .cf-row {
  gap: 22px;
}

.contact-dialog-form .cf-field {
  margin-bottom: 18px;
}

.contact-dialog-form .cf-field>span {
  color: var(--slate);
  font-size: 8px;
  letter-spacing: .17em;
}

.contact-dialog-form .cf-field input,
.contact-dialog-form .cf-field select,
.contact-dialog-form .cf-field textarea {
  color: var(--surface-action);
  border-bottom-color: var(--slate-light);
  background-color: transparent;
  border-radius: 0;
  color-scheme: light;
}

.contact-dialog-form .cf-field input::placeholder,
.contact-dialog-form .cf-field textarea::placeholder {
  color: #9a9fab;
}

.contact-dialog-form .cf-field input:focus,
.contact-dialog-form .cf-field select:focus,
.contact-dialog-form .cf-field textarea:focus {
  border-bottom-color: var(--blue-pale);
}

.contact-dialog-form .cf-field textarea {
  min-height: 74px;
}

.contact-dialog-form .cf-submit-row {
  align-items: center;
  margin-top: 5px;
}

.contact-dialog-form .cf-submit {
  min-height: 47px;
  padding: 0 20px;
  border: 1px solid var(--surface-action);
  background: var(--surface-action);
  color: var(--white);
  box-shadow: none;
}

.contact-dialog-form .cf-submit:hover {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 12px 30px var(--night-a18);
}

.contact-dialog-form .cf-status {
  color: var(--slate);
}

@keyframes contact-panel-open {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(.975);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes contact-panel-close {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }

  100% {
    opacity: 0;
    transform: translateY(18px) scale(.98);
    filter: blur(2px);
  }
}

@keyframes contact-backdrop-open {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes contact-backdrop-close {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Écrans peu hauts (portables 720–780px) : le formulaire tient sans défilement. */
@media (min-width: 721px) and (max-height: 780px) {
  .contact-dialog-main {
    padding-top: 36px;
    padding-bottom: 26px;
  }

  .contact-dialog-heading {
    margin-bottom: 18px;
  }

  .contact-dialog-form .cf-field {
    margin-bottom: 14px;
  }

  .contact-dialog-form .cf-field textarea {
    min-height: 60px;
  }
}

@media (max-width: 720px) {
  .contact-dialog {
    width: min(100% - 18px, 560px);
    max-height: calc(100dvh - 18px);
  }

  .contact-dialog-shell {
    grid-template-columns: 1fr;
    max-height: calc(100dvh - 18px);
  }

  .contact-dialog-aside {
    min-height: auto;
    padding: 22px 22px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--steel-blue-a18);
  }

  .contact-dialog-aside::after {
    display: none;
  }

  .contact-dialog-aside .section-kicker {
    margin-top: 30px;
  }

  .contact-dialog-aside h2 {
    max-width: calc(100% - 32px);
    font-size: clamp(31px, 9vw, 44px);
  }

  .contact-dialog-aside>#contact-dialog-description {
    margin-top: 15px;
    line-height: 1.6;
  }

  .contact-dialog-aside>p.contact-dialog-response {
    max-width: none;
    margin-top: 14px;
    font-size: 9px;
    line-height: 1.4;
  }

  .contact-dialog-direct {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding-top: 20px;
  }

  .contact-dialog-direct a {
    padding: 11px 20px 11px 0;
  }

  .contact-dialog-close {
    top: 12px;
    right: 12px;
    border-color: rgba(255, 255, 255, .24);
    background: transparent;
  }

  .contact-dialog-close span {
    background: var(--white);
  }

  .contact-dialog-main {
    padding: 27px 22px 28px;
  }

  .contact-dialog-heading {
    margin-bottom: 22px;
    padding-right: 0;
  }
}

@media (max-width: 460px) {

  .contact-dialog-meta span:last-child,
  .contact-dialog-heading>p:last-child {
    display: none;
  }

  .contact-dialog-aside h2 {
    font-size: 31px;
  }

  .contact-dialog-direct {
    display: block;
  }

  .contact-dialog-direct a:last-child {
    border-bottom: 1px solid var(--steel-blue-a16);
  }

  .contact-dialog-form .cf-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-dialog-form .cf-field {
    margin-bottom: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .contact-dialog[open]:not(.is-closing),
  .contact-dialog.is-closing,
  .contact-dialog::backdrop,
  .contact-dialog.is-closing::backdrop {
    animation-duration: .01ms;
  }
}

/* Sélection de la galerie SAV et confirmation de contact. */
#sav .pet button { padding: 0; }
#sav .pet button[aria-pressed="true"] i { outline: 2px solid var(--blue-pale); outline-offset: 4px; }
#sav .pet button:focus-visible { outline: 2px solid var(--blue-pale); outline-offset: 6px; }
.contact-dialog.is-success { width: min(560px, calc(100vw - 24px)); }
.contact-dialog.is-success .contact-dialog-shell { grid-template-columns: 1fr; }
.contact-dialog.is-success .contact-dialog-aside,
.contact-dialog.is-success .contact-dialog-main,
.contact-success[hidden] { display: none; }
.contact-success {
  padding: 64px 32px 44px;
  text-align: center;
  color: var(--blue-night);
}
.contact-success-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border: 1px solid #b7d8cb;
  border-radius: 50%;
  background: #eaf5ef;
  color: #24634c;
  font-size: 32px;
}
.contact-success .section-kicker { color: #475066; font-size: 10px; }
.contact-success h2 { margin: 12px 0 16px; font-size: clamp(26px, 5vw, 36px); line-height: 1.15; }
.contact-success h2:focus { outline: none; }
.contact-success > p:not(.section-kicker) { font-size: 15px; line-height: 1.7; color: #475066; }
.contact-success-done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 48px;
  margin-top: 28px;
  padding: 12px 24px;
  border: 0;
  background: var(--blue-night);
  color: white;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.contact-success-done:hover { background: var(--brand-blue); }
.contact-success-done:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 4px; }
.cf-status:empty { display: none; }
.cf-status[data-state="error"],
.contact-dialog-form .cf-status[data-state="error"] {
  padding: 12px 14px;
  border-left: 3px solid #ab472d;
  background: #fff1e9;
  color: #79351f;
  font-size: 13px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .contact-success { padding: 56px 20px 28px; }
  .contact-success-icon { margin-bottom: 18px; }
}
#sav .pet li { height: auto; }

/* Le formulaire intégré devient une confirmation complète après envoi. */
#contact-form.is-success > :not(.contact-inline-success) { display: none; }
.contact-inline-success {
  background: var(--white);
  border: 1px solid #dce4ec;
  border-top: 3px solid var(--brand-blue);
  border-radius: 4px;
}
#contact-form .cf-status[data-state="error"] { flex-basis: 100%; }
.cf-status[data-state="error"]:focus-visible { outline: 2px solid #ab472d; outline-offset: 3px; }

#sav .sav-response { margin: 24px 0 0; color: var(--ice); font-size: 14px; line-height: 1.6; }
