/* =========================================================================
   NEXT Informatique — feuille de style du site
   Titres : Jaapokki Subtract · Textes : Urbanist
   ========================================================================= */

@font-face {
  font-family: "Jaapokki";
  src: url("../fonts/jaapokki-subtract.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Urbanist";
  src: url("../fonts/urbanist-var.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #006BA3;
  --blue-rgb: 0, 107, 163;
  --blue-600: #005A8A;
  --blue-700: #004B73;
  --blue-900: #03314F;
  --night: #022640;
  --sky: #7CC4EB;
  --sky-200: #CFE8F6;
  --ink: #1D1729;
  --grey: #6C6A72;
  --line: #DCE6EE;
  --mist: #EEF4F8;
  --white: #FFFFFF;
  --danger: #C2362B;
  --success: #1F7A4D;

  --font-display: "Jaapokki", "Urbanist", system-ui, sans-serif;
  --font-text: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4.2vw, 48px);
  --header-h: 72px;
  --section-y: clamp(72px, 9vw, 136px);

  --r-s: 12px;
  --r-m: 18px;
  --r-l: 28px;
  --r-xl: 40px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --shadow-s: 0 1px 2px rgba(3, 49, 79, .06), 0 4px 14px -6px rgba(3, 49, 79, .12);
  --shadow-l: 0 2px 6px rgba(3, 49, 79, .06), 0 28px 60px -24px rgba(3, 49, 79, .32);
}
@media (min-width: 1100px) {
  :root { --header-h: 88px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: clamp(1rem, .96rem + .2vw, 1.125rem);
  font-weight: 450;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--blue); color: #fff; }
[hidden] { display: none !important; }
main:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon--sm { width: 1em; height: 1em; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 12px; z-index: 200;
  padding: 12px 20px; border-radius: 999px; background: var(--white); color: var(--blue);
  font-weight: 700; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--mist { background: var(--mist); }

/* ---------- Typographie ---------- */
.h2, .h3, h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.06;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 1.45rem + 2.4vw, 3.5rem); }
.h3 { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); line-height: 1.12; }
.lead {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem);
  line-height: 1.55;
  color: var(--grey);
  max-width: 46ch;
}
p { text-wrap: pretty; }

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: #3A3742; }
.prose h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin-top: 1.9em; color: var(--ink); }
.prose h3 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose blockquote { padding-left: 1.2em; border-left: 3px solid var(--blue); font-size: 1.1em; }
.prose img { border-radius: var(--r-m); }
.prose--lead p:first-child { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); line-height: 1.55; color: var(--ink); }
.prose--article { font-size: 1.08rem; line-height: 1.75; }

/* ---------- Boutons & liens ---------- */
.btn {
  --btn-bg: var(--blue);
  --btn-fg: #fff;
  --btn-border: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 54px;
  padding: 0 1.6em;
  border: 1.5px solid var(--btn-border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 650;
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: .005em;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .icon { width: 1.15em; height: 1.15em; }
.btn:hover { --btn-bg: var(--blue-700); --btn-border: var(--blue-700); }
.btn--sm { min-height: 44px; padding: 0 1.25em; font-size: .95rem; }
.btn--light { --btn-bg: #fff; --btn-fg: var(--blue); --btn-border: #fff; }
.btn--light:hover { --btn-bg: var(--sky-200); --btn-border: var(--sky-200); --btn-fg: var(--blue-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--blue); --btn-border: var(--line); }
.btn--outline:hover { --btn-bg: var(--mist); --btn-fg: var(--blue-700); --btn-border: var(--blue); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, .55); }
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, .12); --btn-border: #fff; --btn-fg: #fff; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 650; color: var(--blue);
}
.link-arrow .icon { transition: transform .3s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow:hover { color: var(--blue-700); }

.round-btn {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1.5px solid var(--line); background: #fff; color: var(--blue);
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.round-btn:hover { border-color: var(--blue); }
.round-btn[disabled] { opacity: .35; cursor: default; }

/* Liste à coches */
.checklist { display: grid; gap: 14px; margin: 28px 0 34px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 550; }
.checklist .icon {
  width: 26px; height: 26px; padding: 5px; margin-top: 1px;
  border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.6;
}
.checklist--large li { font-size: 1.08rem; font-weight: 500; line-height: 1.5; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.checklist--large .icon { width: 30px; height: 30px; padding: 6px; }
.checklist--compact { gap: 10px; margin: 18px 0 22px; }
.checklist--compact li { font-weight: 500; font-size: .98rem; color: #3A3742; }
.checklist--compact .icon { width: 22px; height: 22px; padding: 4px; background: var(--sky-200); color: var(--blue); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s, transform .35s;
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  opacity: 0;
  transition: opacity .35s;
}
.site-header.is-scrolled, .site-header.is-mega-open { color: var(--ink); }
.site-header.is-scrolled::before, .site-header.is-mega-open::before { opacity: 1; }
.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: block; flex: none; color: #fff; transition: color .35s; }
.brand .logo-svg, .brand .logo-img { display: block; width: clamp(128px, 11vw, 168px); }
.brand svg { width: 100%; height: auto; }
.site-header.is-scrolled .brand, .site-header.is-mega-open .brand { color: var(--blue); }

.main-nav { display: none; margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 4px; }
.main-nav__item { position: relative; display: flex; align-items: center; }
.main-nav__link {
  display: inline-flex; align-items: center; gap: .4em;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color .2s, color .2s;
}
.main-nav__link:hover { background: rgba(255, 255, 255, .14); }
.is-scrolled .main-nav__link:hover, .is-mega-open .main-nav__link:hover { background: var(--mist); color: var(--blue); }
.main-nav__link.is-active { box-shadow: inset 0 -2px 0 currentColor; border-radius: 0; padding-inline: 2px; margin-inline: 12px; }
.main-nav__toggle {
  display: grid; place-items: center;
  width: 28px; height: 28px; margin-left: -10px;
  border: 0; background: none; border-radius: 50%;
}
.main-nav__toggle .icon { width: 18px; height: 18px; transition: transform .3s var(--ease-out); }
.has-mega.is-open .main-nav__toggle .icon { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1100px) { .main-nav + .header-actions { margin-left: 8px; } }
.header-phone {
  display: inline-flex; align-items: center; gap: .55em;
  width: 44px; height: 44px; justify-content: center;
  border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .45);
  font-weight: 650;
  transition: border-color .3s, background-color .3s;
}
.header-phone span { display: none; }
.header-phone .icon { width: 19px; height: 19px; }
.site-header.is-scrolled .header-phone { border-color: var(--line); color: var(--blue); }
.header-cta { display: none; }
.site-header.is-scrolled .header-cta, .site-header.is-mega-open .header-cta { --btn-bg: var(--blue); --btn-fg: #fff; --btn-border: var(--blue); }
.site-header.is-scrolled .header-cta:hover { --btn-bg: var(--blue-700); --btn-border: var(--blue-700); }

/* Burger */
.burger {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 14px;
  border: 0; border-radius: 999px;
  background: #fff; color: var(--blue);
  font-weight: 700; font-size: .95rem;
  position: relative; z-index: 2;
}
.burger__lines { position: relative; width: 20px; height: 12px; }
.burger__lines span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .45s var(--ease-out), top .45s var(--ease-out);
}
.burger__lines span:first-child { top: 1px; }
.burger__lines span:last-child { top: 9px; }
.site-header.is-scrolled .burger { background: var(--blue); color: #fff; }
.menu-open .burger { background: #fff; color: var(--blue); }
.menu-open .burger__lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .burger__lines span:last-child { top: 5px; transform: rotate(-45deg); }

.menu-open .site-header { color: #fff; }
.menu-open .site-header::before { opacity: 0; }
.menu-open .site-header .brand { color: #fff; }
.menu-open .header-phone { border-color: rgba(255, 255, 255, .45); color: #fff; }

@media (min-width: 560px) {
  .header-cta { display: inline-flex; }
}
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .burger { display: none; }
}
@media (min-width: 1280px) {
  .header-phone { width: auto; padding: 0 16px 0 14px; border-color: transparent; }
  .header-phone span { display: inline; }
  .site-header.is-scrolled .header-phone { border-color: transparent; }
}

/* Méga-menu */
.mega {
  position: fixed;
  left: 0; right: 0; top: var(--header-h);
  color: var(--ink);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s .35s;
  pointer-events: none;
}
.mega::before {
  content: ""; position: absolute; inset: 0;
  background: #fff;
  border-radius: 0 0 var(--r-l) var(--r-l);
  box-shadow: var(--shadow-l);
}
.has-mega.is-open .mega {
  opacity: 1; visibility: visible; transform: none; pointer-events: auto;
  transition: opacity .25s, transform .35s var(--ease-out), visibility 0s;
}
.mega__inner {
  position: relative;
  display: grid; grid-template-columns: 1fr 280px; gap: 40px;
  padding-block: 28px 36px;
}
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.mega__link {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-m);
  transition: background-color .2s;
}
.mega__link:hover, .mega__link.is-active { background: var(--mist); }
.mega__icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--mist); color: var(--blue);
  transition: background-color .2s, color .2s;
}
.mega__link:hover .mega__icon { background: var(--blue); color: #fff; }
.mega__text strong { display: block; font-weight: 700; font-size: 1.02rem; }
.mega__text span { display: block; font-size: .92rem; color: var(--grey); line-height: 1.45; margin-top: 2px; }
.mega__aside {
  position: relative; overflow: hidden;
  align-self: stretch;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 14px;
  padding: 26px; border-radius: var(--r-l);
  background: var(--blue); color: #fff;
}
.mega__aside > * { position: relative; }
.mega__aside-rings { position: absolute !important; width: 300px; aspect-ratio: 1; right: -70px; top: -90px; pointer-events: none; }
.mega__aside-rings svg { width: 100%; height: 100%; overflow: visible; }
.mega__aside-rings path { stroke: rgba(255, 255, 255, .22); }
.mega__aside-rings .ring-dot { fill: rgba(255, 255, 255, .14); }
.mega__aside-title { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; }
.mega__phone { display: inline-flex; align-items: center; gap: .55em; font-weight: 700; font-size: 1.15rem; }
.mega__aside .link-arrow { color: #fff; }

/* ---------- Menu mobile plein écran ---------- */
.mobile-menu {
  --mx: calc(100% - 60px);
  --my: 36px;
  position: fixed; inset: 0; z-index: 90;
  background: var(--blue);
  color: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  clip-path: circle(0 at var(--mx) var(--my));
  transition: clip-path .75s var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: circle(160vmax at var(--mx) var(--my)); }
.mobile-menu__bg { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.mobile-menu__rings {
  position: absolute;
  width: 150vmax; height: 150vmax;
  right: -62vmax; bottom: -70vmax;
  opacity: 0;
  transform: rotate(-40deg) scale(.85);
  transition: opacity 1s .2s, transform 1.4s var(--ease-out) .1s;
}
.mobile-menu__rings path { stroke: rgba(255, 255, 255, .16); }
.mobile-menu.is-open .mobile-menu__rings { opacity: 1; transform: rotate(0) scale(1); }
.mobile-menu.is-open .mobile-menu__rings .ring-arc { animation: arc-spin 70s linear infinite; }
.mobile-menu.is-open .mobile-menu__rings .ring-arc--2 { animation-duration: 95s; animation-direction: reverse; }
.mobile-menu.is-open .mobile-menu__rings .ring-arc--3 { animation-duration: 120s; }

.mobile-menu__inner {
  position: relative;
  min-height: 100%;
  display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 18px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
}
.mm-nav__list { counter-reset: none; }
.mm-nav__item, .mm-actions, .mm-hours {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .45s, transform .7s var(--ease-out);
  transition-delay: 0s;
}
.mobile-menu.is-open .mm-nav__item,
.mobile-menu.is-open .mm-actions,
.mobile-menu.is-open .mm-hours {
  opacity: 1; transform: none;
  transition-delay: calc(.22s + var(--i) * .055s);
}
.mm-nav__link {
  display: flex; align-items: center; gap: .3em;
  width: 100%;
  padding: 10px 0;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .16);
  background: none;
  font-family: var(--font-display);
  font-size: clamp(2rem, 8.6vw, 3.4rem);
  line-height: 1.12;
  text-align: left;
  color: #fff;
}
.mm-nav__link--small { font-size: clamp(1.35rem, 5.4vw, 2rem); }
.mm-nav__link .icon { width: .62em; height: .62em; margin-left: .2em; opacity: .7; }
.mm-nav__link.is-active::before {
  content: ""; flex: none;
  width: .26em; height: .26em; margin-right: .18em;
  border-radius: 50%; background: var(--sky);
}
.mm-nav__plus {
  position: relative; margin-left: auto;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .5);
}
.mm-nav__plus::before, .mm-nav__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px;
  background: currentColor;
  transition: transform .4s var(--ease-out);
}
.mm-nav__plus::after { transform: rotate(90deg); }
.mm-nav__acc[aria-expanded="true"] .mm-nav__plus::after { transform: rotate(0); }
.mm-sub {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.mm-sub.is-expanded { grid-template-rows: 1fr; }
.mm-sub__list { overflow: hidden; }
.mm-sub__list li:first-child { padding-top: 10px; }
.mm-sub__list li:last-child { padding-bottom: 14px; }
.mm-sub__list a {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 0;
  font-size: 1.12rem; font-weight: 600;
  color: rgba(255, 255, 255, .88);
}
.mm-sub__list a .icon { width: 20px; height: 20px; color: var(--sky); }
.mm-sub__list a[aria-current="page"] { color: #fff; }
.mm-sub__all { margin-top: 4px; color: #fff !important; }

.mm-actions {
  display: grid; gap: 10px;
  margin-top: auto; padding-top: 34px;
}
.mm-action {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  border-radius: var(--r-m);
  background: rgba(255, 255, 255, .1);
  transition: background-color .2s;
}
.mm-action:hover { background: rgba(255, 255, 255, .18); }
.mm-action__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue); flex: none; }
.mm-action strong { display: block; font-weight: 700; }
.mm-action small { display: block; font-size: .9rem; opacity: .8; }
.mm-hours { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: .92rem; opacity: .85; }
.mm-hours .icon { margin-top: 2px; }
.menu-open { overflow: hidden; }
@media (min-width: 700px) {
  .mm-actions { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Bandeau d'accueil : photos en fond, animées ---------- */
.hero {
  --s1: .84; --s2: .66; --s3: .26; --s4: .08;
  --m1: .62; --m2: .82;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 100svh;
  background: var(--night);
  color: #fff;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 72px)) 0 clamp(104px, 10vw, 150px);
}
.hero--light { --s1: .74; --s2: .5; --s3: .12; --s4: 0; --m1: .5; --m2: .72; }
.hero--strong { --s1: .9; --s2: .8; --s3: .52; --s4: .32; --m1: .72; --m2: .9; }
@media (min-width: 1000px) {
  .hero { min-height: min(100svh, 980px); }
}

.hero__media {
  position: absolute;
  inset: -7% 0 0;
  z-index: -3;
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.hero__slide {
  position: absolute; inset: 0; margin: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__slide.is-active { opacity: 1; z-index: 2; }
.hero__slide.is-leaving { opacity: 1; z-index: 1; }
.hero__slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--pos, center);
  transform-origin: 50% 50%;
  transform: scale(1.04);
}
@keyframes kb-a { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.17) translate3d(-2.2%, -1.6%, 0); } }
@keyframes kb-b { from { transform: scale(1.17) translate3d(2%, 1.2%, 0); } to { transform: scale(1.04) translate3d(0, 0, 0); } }
.js .hero__slide:nth-child(odd).is-active img, .js .hero__slide:nth-child(odd).is-leaving img { animation: kb-a var(--kb, 10s) linear both; }
.js .hero__slide:nth-child(even).is-active img, .js .hero__slide:nth-child(even).is-leaving img { animation: kb-b var(--kb, 10s) linear both; }
.js .hero--single .hero__slide.is-active img { animation: kb-a 22s ease-in-out infinite alternate; }

.hero__shade {
  position: absolute; inset: 0; z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2, 24, 40, .5) 0%, rgba(2, 24, 40, 0) 24%),
    linear-gradient(0deg, rgba(2, 24, 40, .6) 0%, rgba(2, 24, 40, 0) 36%),
    radial-gradient(70% 90% at 0% 100%, rgba(var(--blue-rgb), .38), rgba(var(--blue-rgb), 0) 70%),
    linear-gradient(90deg, rgba(2, 24, 40, var(--s1)) 0%, rgba(2, 24, 40, var(--s2)) 38%, rgba(2, 24, 40, var(--s3)) 70%, rgba(2, 24, 40, var(--s4)) 100%);
}
@media (max-width: 999px) {
  .hero__shade {
    background:
      radial-gradient(90% 60% at 0% 100%, rgba(var(--blue-rgb), .34), rgba(var(--blue-rgb), 0) 70%),
      linear-gradient(180deg, rgba(2, 24, 40, .55) 0%, rgba(2, 24, 40, var(--m1)) 42%, rgba(2, 24, 40, var(--m2)) 100%);
  }
}

/* Anneaux du logo, en surimpression */
.hero__rings {
  position: absolute; z-index: -1;
  width: clamp(420px, 44vw, 700px);
  aspect-ratio: 1;
  right: clamp(-40px, 3vw, 72px);
  top: 50%;
  transform: translateY(-48%);
  pointer-events: none;
}
.hero__rings-svg { width: 100%; height: 100%; overflow: visible; }
.hero__rings-svg path { stroke: rgba(255, 255, 255, .88); }
.hero__rings-svg .ring-arc--2 path { stroke: rgba(255, 255, 255, .56); }
.hero__rings-svg .ring-arc--3 path { stroke: rgba(255, 255, 255, .3); }
@media (max-width: 999px) {
  .hero__rings { display: none; }
}

.hero__inner { position: relative; }
.hero__text { max-width: 780px; }
.hero__title {
  font-size: clamp(2.7rem, 1.15rem + 4.6vw, 6rem);
  line-height: 1;
  letter-spacing: -.015em;
  max-width: 14ch;
  text-shadow: 0 2px 34px rgba(2, 24, 40, .3);
}
.hero__lead {
  margin-top: clamp(20px, 2.4vw, 30px);
  font-size: clamp(1.12rem, 1rem + .55vw, 1.42rem);
  line-height: 1.5;
  max-width: 36ch;
  color: rgba(255, 255, 255, .92);
}
.hero__actions { margin-top: clamp(28px, 3vw, 40px); }
.hero__urgent {
  display: flex; align-items: center; gap: 10px;
  margin-top: 28px;
  font-size: .98rem; color: rgba(255, 255, 255, .88);
}
.hero__urgent .icon { width: 18px; height: 18px; }
.hero__urgent a { font-weight: 700; color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .5); }
.hero__urgent a:hover { text-decoration-color: #fff; }

/* Indicateurs du diaporama + pause */
.hero__controls { position: absolute; left: 0; right: 0; bottom: clamp(18px, 3vw, 36px); z-index: 2; }
.hero__controls-inner { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hero__dots { display: flex; }
.hero__dot { position: relative; width: 48px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot span { position: absolute; left: 5px; right: 5px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: rgba(255, 255, 255, .34); overflow: hidden; }
.hero__dot span::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; transform: scaleX(0); transform-origin: left center; }
.hero__dot:hover span { background: rgba(255, 255, 255, .55); }
.hero__dot.is-active span::after { animation: dot-fill var(--interval, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active span::after { animation: none; transform: scaleX(1); }
@keyframes dot-fill { to { transform: scaleX(1); } }
.hero__pause {
  display: grid; place-items: center;
  width: 42px; height: 42px; padding: 0;
  border: 1.5px solid rgba(255, 255, 255, .42); border-radius: 50%;
  background: rgba(2, 24, 40, .22); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .2s, border-color .2s;
}
.hero__pause:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.hero__pause .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.hero__pause .icon--play { display: none; }
.hero.is-paused .hero__pause .icon--play { display: block; }
.hero.is-paused .hero__pause .icon--pause { display: none; }
@media (max-width: 599px) {
  .hero__controls-inner { justify-content: flex-start; }
}

/* Séquence d'arrivée */
@keyframes ring-draw {
  from { stroke-dashoffset: 100; opacity: 0; }
  12% { opacity: 1; }
  to { stroke-dashoffset: 0; opacity: 1; }
}
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@keyframes sway-a { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(12deg); } }
@keyframes sway-b { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-16deg); } }
@keyframes sway-c { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(9deg); } }
@keyframes arc-spin { to { transform: rotate(360deg); } }

.ring-arc { transform-box: view-box; transform-origin: 0 0; }
.js .hero__rings-svg path { stroke-dasharray: 100; animation: ring-draw 1.6s var(--ease-out) both; }
.js .hero__rings-svg .ring-arc--1 path { animation-delay: .45s; }
.js .hero__rings-svg .ring-arc--2 path { animation-delay: .6s; }
.js .hero__rings-svg .ring-arc--3 path { animation-delay: .75s; }
.js .hero__rings-svg .ring-arc--1 { animation: sway-a 10s ease-in-out 2.4s infinite; }
.js .hero__rings-svg .ring-arc--2 { animation: sway-b 13s ease-in-out 2.4s infinite; }
.js .hero__rings-svg .ring-arc--3 { animation: sway-c 16s ease-in-out 2.4s infinite; }
.js .hero__text > * { animation: rise-in .9s var(--ease-out) both; }
.js .hero__text > :nth-child(2) { animation-delay: .1s; }
.js .hero__text > :nth-child(3) { animation-delay: .2s; }
.js .hero__text > :nth-child(4) { animation-delay: .3s; }

/* ---------- En-tête des pages intérieures ---------- */
.page-head {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding: calc(var(--header-h) + clamp(36px, 6vw, 84px)) 0 clamp(52px, 6vw, 88px);
}
.page-head__rings {
  position: absolute;
  width: clamp(420px, 52vw, 760px);
  aspect-ratio: 1;
  right: clamp(-260px, -12vw, -80px);
  top: 50%;
  transform: translateY(-46%);
  pointer-events: none;
}
.page-head__svg { width: 100%; height: 100%; overflow: visible; }
.page-head__svg path { stroke: rgba(255, 255, 255, .11); }
.page-head__inner { position: relative; }
.page-head__title {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5.2rem);
  line-height: 1;
  max-width: 15ch;
}
.page-head--article .page-head__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); max-width: 24ch; line-height: 1.06; }
.page-head--compact .page-head__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.page-head__lead {
  margin-top: 22px;
  max-width: 48ch;
  font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .88);
}
.page-head__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 22px; color: rgba(255, 255, 255, .85); font-weight: 550; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding: 0; list-style: none; font-size: .92rem; font-weight: 550; color: rgba(255, 255, 255, .72); }
.breadcrumb li { display: flex; align-items: center; gap: 4px; }
.breadcrumb li + li::before { content: "/"; opacity: .5; margin-right: 2px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Sections communes ---------- */
.section-head { display: grid; gap: 20px 60px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__side { display: grid; gap: 16px; justify-items: start; align-content: end; }
.section-head__side p { color: var(--grey); max-width: 46ch; font-size: 1.08rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
}

/* ---------- À propos + carte des cantons ---------- */
.about__grid { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
.about__prose { margin-top: 26px; }
@media (min-width: 1000px) {
  .about__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}
.map-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  background-color: var(--blue-900);
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
  color: #fff;
}
.map-card__years { display: flex; align-items: flex-end; gap: 14px; }
.map-card__num { font-family: var(--font-display); font-size: clamp(4.2rem, 3rem + 4vw, 6.4rem); line-height: .8; }
.map-card__num span { color: var(--sky); }
.map-card__label { max-width: 9ch; font-weight: 650; line-height: 1.2; font-size: 1.05rem; padding-bottom: 4px; }
.map-card__svg { width: 100%; height: auto; margin-top: clamp(10px, 2vw, 24px); overflow: visible; }
.map-link { fill: none; stroke: var(--sky); stroke-width: 1.6; stroke-dasharray: 100; stroke-dashoffset: 0; opacity: .75; vector-effect: non-scaling-stroke; }
.map-node__halo { fill: rgba(124, 196, 235, .2); }
.map-node__dot { fill: #fff; }
.map-node--hq circle { fill: #fff; }
.map-node--hq path { stroke: #fff; }
.map-node__label { fill: #fff; font-family: var(--font-text); font-weight: 700; font-size: 23px; }
.map-node__sub { fill: rgba(255, 255, 255, .72); font-family: var(--font-text); font-weight: 500; font-size: 17px; }
.map-card__title { margin-top: 6px; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); line-height: 1.1; }
.js [data-map] .map-link { stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-out); }
.js [data-map] .map-link:nth-of-type(2) { transition-delay: .2s; }
.js [data-map] .map-link:nth-of-type(3) { transition-delay: .4s; }
.js [data-map] .map-node { opacity: 0; transition: opacity .6s; }
.js [data-map].is-visible .map-link { stroke-dashoffset: 0; }
.js [data-map].is-visible .map-node { opacity: 1; }
.js [data-map].is-visible .map-node:not(.map-node--hq) { transition-delay: 1.1s; }

/* ---------- Prestations (liste éditoriale de l'accueil) ---------- */
.services { background: var(--mist); }
.svc-list { margin-inline: -16px; }
.svc-row + .svc-row .svc-row__link::after { content: ""; position: absolute; left: 16px; right: 16px; top: 0; height: 1px; background: var(--line); }
.svc-row__link {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 6px 18px;
  align-items: center;
  padding: 20px 16px;
  border-radius: var(--r-l);
  transition: color .35s;
}
.svc-row__link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .55s var(--ease-out);
}
.svc-row__media { grid-row: 1 / span 2; align-self: start; width: 72px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--line); }
.svc-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc-row__title { font-family: var(--font-display); font-size: clamp(1.35rem, 1.05rem + 1.5vw, 2.5rem); line-height: 1.08; align-self: end; }
.svc-row__summary { grid-column: 2; color: var(--grey); font-size: .98rem; line-height: 1.45; align-self: start; transition: color .35s; }
.svc-row__arrow {
  display: none;
  grid-column: 3; grid-row: 1 / span 2;
  place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--blue); background: #fff;
  transition: background-color .35s, border-color .35s, transform .45s var(--ease-out);
}
.svc-row__link:hover, .svc-row__link:focus-visible { color: #fff; }
.svc-row__link:hover::before, .svc-row__link:focus-visible::before { transform: scaleX(1); }
.svc-row__link:hover .svc-row__summary, .svc-row__link:focus-visible .svc-row__summary { color: rgba(255, 255, 255, .85); }
.svc-row__link:hover .svc-row__arrow, .svc-row__link:focus-visible .svc-row__arrow { border-color: #fff; transform: rotate(45deg); }
.svc-row__link:hover .svc-row__media img { transform: scale(1.08); }
@media (min-width: 600px) {
  .svc-row__link { grid-template-columns: 84px minmax(0, 1fr) auto; gap: 6px 22px; }
  .svc-row__media { width: 84px; align-self: center; }
  .svc-row__arrow { display: grid; }
}
@media (min-width: 900px) {
  .svc-row__link { grid-template-columns: 120px minmax(0, 1.15fr) minmax(0, 1fr) 56px; gap: 32px; padding: 22px 20px; }
  .svc-row__media { grid-row: auto; width: 120px; aspect-ratio: 4 / 3; }
  .svc-row__title, .svc-row__summary { align-self: center; }
  .svc-row__summary { grid-column: 3; }
  .svc-row__arrow { grid-column: 4; grid-row: auto; width: 56px; height: 56px; }
}

/* ---------- Matériel ---------- */
.hardware__grid { display: grid; gap: clamp(36px, 6vw, 88px); align-items: center; }
.hardware__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.hardware__media img { width: 100%; height: 100%; object-fit: cover; }
.hardware__text .lead { margin: 22px 0 28px; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.brand-strip li {
  display: grid; place-items: center;
  height: 64px; padding: 0 22px;
  border-radius: var(--r-m);
  border: 1px solid var(--line);
  background: #fff;
}
.brand-strip img { max-height: 34px; width: auto; max-width: 120px; }
@media (min-width: 1000px) {
  .hardware__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* ---------- Avis clients ---------- */
.reviews { background: var(--mist); overflow: hidden; }
.page-equipe .reviews { background: var(--mist); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.rating { display: flex; align-items: center; gap: 16px; }
.rating__score { font-family: var(--font-display); font-size: clamp(3rem, 2.4rem + 2vw, 4.2rem); line-height: .9; color: var(--blue); }
.rating__detail { display: grid; gap: 4px; }
.rating__label { font-size: .95rem; color: var(--grey); }
.rating__label strong { color: var(--ink); font-weight: 700; margin-right: 4px; }
.stars { display: inline-flex; gap: 2px; color: #F5B301; }
.stars .icon { width: 18px; height: 18px; }
.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(86%, 400px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  padding: 4px var(--gutter) 8px;
  margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
}
.review__text { font-size: 1.04rem; line-height: 1.6; color: #34313C; flex: 1; }
.review__text p + p { margin-top: .6em; }
.review--long .review__text { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; flex: none; }
.review--long.is-expanded .review__text { display: block; }
.review__more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; margin-top: -8px; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.review__author strong { display: block; font-weight: 700; line-height: 1.3; }
.review__author span span { display: block; font-size: .88rem; color: var(--grey); }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 800; flex: none; }
.reviews__nav { display: flex; align-items: center; gap: 10px; margin-top: 28px; }
.reviews__nav .link-arrow { margin-left: auto; }
.reviews__widget { min-height: 200px; }

/* ---------- Actualités ---------- */
.news__grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 760px) { .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .news__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .news__grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--r-l); background: var(--mist); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding-top: 20px; }
.post-card__date { font-size: .92rem; font-weight: 600; color: var(--blue); }
.post-card__title { margin-top: 8px; font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); line-height: 1.18; }
.post-card__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .45s var(--ease-out); }
.post-card__title a:hover { background-size: 100% 1.5px; }
.post-card__excerpt { margin-top: 10px; color: var(--grey); font-size: 1rem; }
.empty { color: var(--grey); }
.news .h2 + .news__grid { margin-top: clamp(28px, 4vw, 48px); }

/* ---------- Marques partenaires ---------- */
.partners { padding-top: 0; }
.news + .partners { padding-top: 0; }
.partners__title { text-align: left; margin-bottom: 28px; padding-top: var(--section-y); border-top: 1px solid var(--line); }
.news + .partners .partners__title { padding-top: clamp(56px, 6vw, 88px); }
.partners__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partners__item > a, .partners__item > img { height: 100%; }
.partners__item {
  display: grid; place-items: center;
  height: 112px; padding: 20px;
  border-radius: var(--r-m);
  background: var(--mist);
}
.partners__item a { display: grid; place-items: center; width: 100%; }
.partners__item img { max-height: 54px; width: auto; max-width: 78%; object-fit: contain; }
.partners__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 700px) { .partners__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .partners__item:last-child:nth-child(odd) { grid-column: auto; } }
@media (min-width: 1100px) { .partners__list { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Bandeau d'assistance ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
  padding-block: clamp(64px, 8vw, 120px);
}
.cta-band__rings {
  position: absolute;
  width: clamp(560px, 62vw, 980px); aspect-ratio: 1;
  right: clamp(-480px, -22vw, -160px); top: 50%;
  transform: translateY(-50%) rotate(-30deg);
  pointer-events: none;
}
.cta-band__svg { width: 100%; height: 100%; overflow: visible; }
.cta-band__svg path { stroke: rgba(255, 255, 255, .12); }
.cta-band__inner { position: relative; display: grid; gap: 36px 72px; align-items: end; }
.cta-band__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 4.4rem); line-height: 1; max-width: 13ch; }
.cta-band__lead { margin-top: 20px; max-width: 46ch; font-size: 1.12rem; color: rgba(255, 255, 255, .88); }
.cta-band__actions { display: grid; gap: 26px; justify-items: start; }
.cta-band__phone { display: grid; gap: 4px; }
.cta-band__phone-label { font-weight: 600; color: rgba(255, 255, 255, .8); }
.cta-band__phone-number { font-family: var(--font-display); font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); line-height: 1; transition: color .2s; }
.cta-band__phone:hover .cta-band__phone-number { color: var(--sky-200); }
@media (min-width: 1000px) {
  .cta-band__inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--blue-900);
  color: rgba(255, 255, 255, .78);
  padding: clamp(60px, 7vw, 96px) 0 28px;
  font-size: .98rem;
}
.footer-top { display: grid; gap: 24px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { color: #fff; width: 170px; }
.footer-brand svg, .footer-brand .logo-svg { width: 100%; height: auto; display: block; }
.footer-claim { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.08; color: #fff; max-width: 22ch; }
@media (min-width: 900px) {
  .footer-top { grid-template-columns: auto 1fr; align-items: end; gap: 60px; }
  .footer-claim { justify-self: end; text-align: right; }
}
.footer-grid { display: grid; gap: 36px 28px; padding-block: clamp(40px, 5vw, 60px); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.1fr .9fr 1fr 1fr; } }
.footer-title { font-family: var(--font-text); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.footer-address { line-height: 1.55; margin-bottom: 14px; }
.footer-contact, .footer-links { display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--sky); }
.footer-links a, .footer-contact a, .footer-legal a, .footer-cookie { transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover, .footer-legal a:hover, .footer-cookie:hover { color: #fff; }
.footer-hours { line-height: 1.6; }
.footer-socials { display: flex; gap: 8px; margin-top: 18px; }
.footer-socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; }
.footer-socials a:hover { background: rgba(255, 255, 255, .1); }
.footer-socials .icon { width: 18px; height: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px;
  padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; color: rgba(255, 255, 255, .62);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-cookie { padding: 0; border: 0; background: none; font: inherit; color: inherit; }

/* ---------- Équipe ---------- */
.team__intro { display: grid; gap: 24px; justify-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.team__intro .lead { max-width: 52ch; color: var(--ink); }
@media (min-width: 900px) { .team__intro { grid-template-columns: 1fr auto; align-items: end; } }
.team__grid { display: grid; gap: clamp(28px, 3vw, 40px); }
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.member__photo { aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(180deg, var(--blue), var(--blue-700)); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; }
.member__name { margin-top: 22px; font-family: var(--font-text); font-weight: 750; letter-spacing: -.01em; font-size: clamp(1.35rem, 1.2rem + .5vw, 1.6rem); }
.member__role { margin-top: 4px; color: var(--grey); font-weight: 600; }
.member__contact { display: grid; gap: 4px; margin-top: 10px; font-size: .95rem; }
.member__contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; }
.member__contact .icon { width: 16px; height: 16px; }

/* ---------- Page « Prestations » ---------- */
.svc-cards { display: grid; gap: clamp(56px, 7vw, 104px); }
.svc-card { display: grid; gap: 28px; align-items: center; }
.svc-card__media { display: block; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden; background: var(--mist); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mist); color: var(--blue); margin-bottom: 20px; }
.svc-card__title { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.8rem); line-height: 1.04; }
.svc-card__title a:hover { color: var(--blue); }
.svc-card__summary { margin-top: 14px; font-size: 1.12rem; color: var(--grey); max-width: 44ch; }
@media (min-width: 900px) {
  .svc-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
  .svc-card:nth-child(even) .svc-card__media { order: 2; }
}

/* ---------- Détail d'une prestation ---------- */
.svc-detail__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
.svc-detail__text .btn-row { margin-top: 8px; }
.svc-detail__media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.svc-detail__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .svc-detail__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .svc-detail__media { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; }
}
.mini-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.mini-card {
  display: grid; gap: 8px; height: 100%;
  padding: 24px;
  border-radius: var(--r-l);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .25s;
}
.mini-card:hover { border-color: var(--blue); }
.mini-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--mist); color: var(--blue); margin-bottom: 8px; }
.mini-card__title { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; }
.mini-card__text { color: var(--grey); font-size: .96rem; line-height: 1.5; }
@media (max-width: 599px) {
  .mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mini-card { padding: 16px; gap: 6px; }
  .mini-card__icon { width: 40px; height: 40px; margin-bottom: 4px; }
  .mini-card__title { font-size: 1.12rem; }
  .mini-card__text { display: none; }
}

/* ---------- Support ---------- */
.channels { display: grid; gap: 14px; margin-bottom: clamp(48px, 6vw, 80px); }
@media (min-width: 900px) { .channels { grid-template-columns: 1fr 1fr 1.3fr; } }
.channel {
  display: flex; flex-direction: column; gap: 6px;
  padding: 28px;
  border-radius: var(--r-l);
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .25s;
}
a.channel:hover { border-color: var(--blue); }
.channel__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--mist); color: var(--blue); margin-bottom: 16px; }
.channel__label { font-weight: 650; color: var(--grey); }
.channel__value { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.15; color: var(--ink); word-break: break-word; }
.channel--remote { background: var(--blue); border-color: var(--blue); color: #fff; }
.channel--remote .channel__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.channel--remote .channel__label { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); line-height: 1.15; }
.channel__text { color: rgba(255, 255, 255, .86); font-size: .98rem; }
.channel__remote { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.channel__logo { display: grid; place-items: center; height: 44px; padding: 0 14px; border-radius: 12px; background: #fff; }
.channel__logo img { max-height: 24px; width: auto; }

.form-panel {
  display: grid; gap: clamp(28px, 4vw, 64px);
  padding: clamp(26px, 4.5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--mist);
}
.form-panel__intro p { margin-top: 16px; color: var(--grey); font-size: 1.06rem; max-width: 38ch; }
.form-panel__facts { display: grid; gap: 14px; margin-top: 28px; }
.form-panel__facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; color: #3A3742; }
.form-panel__facts .icon { color: var(--blue); margin-top: 2px; }
.form-panel--plain { padding: 0; background: none; border-radius: 0; }
@media (min-width: 1000px) {
  .form-panel { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .form-panel--plain { grid-template-columns: 1fr; }
}

/* ---------- Formulaires ---------- */
.form__grid { display: grid; gap: 18px 16px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; font-size: .95rem; }
.req { color: var(--blue); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field input:hover, .field textarea:hover { border-color: #BFD1DE; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(var(--blue-rgb), .14); }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field__error { min-height: 0; font-size: .88rem; font-weight: 600; color: var(--danger); }
.field__error:empty { display: none; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 4px 12px; }
.field--check label { font-weight: 500; font-size: .94rem; line-height: 1.5; color: #3A3742; }
.field--check label a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.field--check .field__error { grid-column: 2; }
.field--check input {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; margin: 1px 0 0;
  border: 1.5px solid #B9CCDA; border-radius: 7px; background: #fff;
  display: grid; place-content: center;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.field--check input::after {
  content: ""; width: 11px; height: 6px;
  border: solid #fff; border-width: 0 0 2.5px 2.5px;
  transform: translateY(-1px) rotate(-45deg) scale(0);
  transition: transform .2s var(--ease-out);
}
.field--check input:checked { background: var(--blue); border-color: var(--blue); }
.field--check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.field--check.has-error input { border-color: var(--danger); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 26px; }
.form__note { font-size: .9rem; color: var(--grey); }
.form__recaptcha { margin-top: 16px; font-size: .8rem; color: var(--grey); }
.form__recaptcha a { text-decoration: underline; }
.form__status { display: none; }
.form__status.is-success, .form__status.is-error {
  display: flex; gap: 12px; align-items: flex-start;
  margin-top: 20px; padding: 16px 18px;
  border-radius: 14px; font-weight: 600;
}
.form__status.is-success { background: #E3F4EA; color: var(--success); }
.form__status.is-error { background: #FBE9E7; color: var(--danger); }
.form.is-sending [data-submit] { opacity: .7; pointer-events: none; }
.form.is-sending [data-submit] .icon { animation: send-pulse .9s ease-in-out infinite; }
@keyframes send-pulse { 50% { transform: translate(3px, -3px); opacity: .5; } }
.grecaptcha-badge { visibility: hidden; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
@media (min-width: 1000px) { .contact__grid { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); } }
.info-list { display: grid; gap: 26px; margin-bottom: 32px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--mist); color: var(--blue); flex: none; }
.info-list__label { display: block; font-size: .92rem; font-weight: 650; color: var(--grey); margin-bottom: 2px; }
.info-list a { font-weight: 700; font-size: 1.12rem; color: var(--ink); }
.info-list a:hover { color: var(--blue); }
.info-list address { font-weight: 600; }
.contact .form-panel__intro { margin-bottom: 0; }
.map-embed {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  aspect-ratio: 4 / 3;
  border-radius: var(--r-xl);
  overflow: hidden;
  background-color: var(--mist);
  background-image: radial-gradient(rgba(var(--blue-rgb), .14) 1.2px, transparent 1.3px);
  background-size: 22px 22px;
}
@media (min-width: 760px) { .map-embed { aspect-ratio: 21 / 9; } }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; padding: 24px; text-align: center; }
.map-embed__placeholder p { color: var(--grey); max-width: 36ch; }
.map-embed__placeholder strong { color: var(--ink); }
.map-embed__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-s); }
.map-embed.is-loaded .map-embed__placeholder { display: none; }

/* ---------- Article & pages de texte ---------- */
.article__media { margin-bottom: clamp(32px, 4vw, 52px); border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist); }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px;
  margin-top: clamp(40px, 5vw, 64px); padding: 28px 32px;
  border-radius: var(--r-l); background: var(--mist);
}
.article__cta p { font-weight: 650; font-size: 1.1rem; }
.legal .prose { max-width: none; }
.legal .btn { margin-top: 16px; }

/* ---------- 404 & maintenance ---------- */
.notfound {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: flex; align-items: center;
  background: var(--blue); color: #fff;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.notfound__rings { position: absolute; width: min(110vw, 1100px); aspect-ratio: 1; right: -18%; top: 50%; transform: translateY(-50%); opacity: .14; pointer-events: none; }
.notfound__svg { width: 100%; height: 100%; }
.notfound__svg path { stroke: #fff; }
.notfound__svg .ring-dot { fill: #fff; }
.notfound__inner { position: relative; display: grid; gap: 22px; justify-items: start; }
.notfound__code { font-family: var(--font-display); font-size: clamp(6rem, 4rem + 10vw, 13rem); line-height: .8; color: var(--sky); }
.notfound__title { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); max-width: 18ch; line-height: 1.04; }
.notfound .lead { color: rgba(255, 255, 255, .85); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.notfound__links a { display: inline-flex; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-weight: 600; font-size: .95rem; }
.notfound__links a:hover { background: rgba(255, 255, 255, .22); }
.brand--center { color: #fff; width: 190px; margin-bottom: 24px; }
.brand--center svg { width: 100%; }

/* ---------- Bandeau cookies ---------- */
.cookie {
  position: fixed; z-index: 150;
  left: 12px; right: 12px; bottom: 12px;
  animation: rise-in .6s var(--ease-out) both;
}
.cookie__box {
  max-height: calc(100svh - 24px); overflow-y: auto;
  padding: 22px;
  border-radius: var(--r-l);
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(2, 38, 64, .45), 0 0 0 1px rgba(3, 49, 79, .06);
}
.cookie__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.cookie__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--mist); color: var(--blue); flex: none; }
.cookie__title { font-size: 1.35rem; line-height: 1.1; }
.cookie__text { font-size: .94rem; color: #3A3742; line-height: 1.55; }
.cookie__text a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.cookie__prefs { display: grid; gap: 10px; margin-top: 16px; }
.cookie__cat {
  display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center;
  padding: 12px 14px; border-radius: 14px; background: var(--mist); cursor: pointer;
}
.cookie__cat strong { display: block; font-size: .95rem; }
.cookie__cat span { display: block; font-size: .85rem; color: var(--grey); line-height: 1.4; }
.cookie__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.cookie__actions .btn { flex: 1 1 auto; padding-inline: 1.05em; font-size: .92rem; }
.cookie__more { padding: 8px 4px; border: 0; background: none; font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) {
  .cookie { left: auto; right: 24px; bottom: 24px; width: 420px; }
  .cookie__actions .btn { flex: 0 0 auto; }
}
.switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch {
  position: relative; width: 46px; height: 28px; border-radius: 999px;
  background: #C5D4DF; transition: background-color .25s; flex: none;
}
.switch span { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .3s var(--ease-out); }
.switch-input:checked + .switch { background: var(--blue); }
.switch-input:checked + .switch span { transform: translateX(18px); }
.switch-input:focus-visible + .switch { outline: 3px solid var(--sky); outline-offset: 2px; }
.switch--locked { background: var(--blue); opacity: .5; }
.switch--locked span { transform: translateX(18px); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .hero__rings-svg .ring-arc, .mobile-menu.is-open .mobile-menu__rings .ring-arc, .js .hero__slide img { animation: none !important; }
  .hero__media { transform: none !important; }
}

/* ---------- Impression ---------- */
@media print {
  .site-header, .mobile-menu, .cookie, .cta-band, .site-footer, .hero__media, .hero__shade, .hero__rings, .hero__controls { display: none !important; }
  .hero, .page-head { background: none; color: var(--ink); padding: 0 0 24px; min-height: 0; }
}
