/* ==========================================================================
   Soraah Technologies : feuille de style du site
   Charte : Bleu Nova #00AEEF, Bleu Abysse #001D56, Rouge Impulse #C2050C,
            Rouge Grenat #3D0206, Gris Anthracite #4A4A4A, Blanc #FFFFFF.
   Police : Jost (hébergée dans assets/fonts), équivalent libre de Futura LT.
   Sommaire : 1. Polices  2. Jetons  3. Base  4. Boutons  5. En-tête
              6. Accueil  7. Bandeau défilant  8. Services  9. Pour qui
              10. Pourquoi  11. Méthode  12. Assistant  13. FAQ  14. Contact
              15. Pied de page  16. Éléments flottants  17. Apparitions
              18. Mode calme
   ========================================================================== */

/* 1. Polices ---------------------------------------------------------------- */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Jost"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/jost-latin-italic.woff2") format("woff2");
}

/* 2. Jetons ----------------------------------------------------------------- */
:root {
  /* Charte */
  --nova: #00AEEF;
  --abysse: #001D56;
  --impulse: #C2050C;
  --grenat: #3D0206;
  --anthracite: #4A4A4A;

  /* Le « fil » de la marque : dégradé bleu vers rouge */
  --grad: linear-gradient(90deg, var(--nova) 0%, var(--abysse) 40%, var(--impulse) 76%, var(--grenat) 100%);
  --grad-line: linear-gradient(90deg, var(--nova), var(--impulse));
  --grad-bright: linear-gradient(90deg, var(--nova), #FF5A63);

  /* Thème clair */
  --bg: #FFFFFF;
  --bg-alt: #F1F3F7;
  --surface: #FFFFFF;
  --text: #4A4A4A;
  --text-strong: #001D56;
  --muted: #5E6470;
  --line: rgba(0, 29, 86, .14);
  --line-strong: rgba(0, 29, 86, .5);
  --field-bg: #FFFFFF;
  --field-line: rgba(0, 29, 86, .5);
  --focus: #001D56;
  --danger: #C2050C;
  --header-bg: rgba(255, 255, 255, .88);
  --choice-bg: #001D56;
  --choice-fg: #FFFFFF;
  --shadow-1: 0 1px 2px rgba(0, 29, 86, .06), 0 10px 28px -14px rgba(0, 29, 86, .28);
  --shadow-2: 0 28px 64px -28px rgba(0, 29, 86, .55);
  --show-logo-color: block;
  --show-logo-white: none;
  --show-moon: block;
  --show-sun: none;
  color-scheme: light;

  /* Typographie */
  --font: "Jost", "Century Gothic", "Futura", "Trebuchet MS", system-ui, sans-serif;
  --fs-1: clamp(2.55rem, 1.55rem + 4.6vw, 4.6rem);
  --fs-2: clamp(1.85rem, 1.35rem + 2.3vw, 3rem);
  --fs-3: clamp(1.22rem, 1.12rem + .5vw, 1.5rem);
  --fs-lead: clamp(1.08rem, 1.01rem + .35vw, 1.28rem);

  /* Formes, rythme, mouvement */
  --r-s: 12px;
  --r-m: 18px;
  --r-l: 26px;
  --r-pill: 999px;
  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --space-section: clamp(72px, 10.5vw, 132px);
  --cut: clamp(24px, 3.6vw, 60px);
  --header-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .18s;
  --t-med: .38s;
  --d0: .15s;                         /* départ des animations de l'accueil */
}
html.intro { --d0: .78s; }            /* après l'écran d'ouverture */

/* Thème sombre : préférence du téléphone, sauf choix « clair » du visiteur */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000D2B;
    --bg-alt: #00143F;
    --surface: #001A4D;
    --text: #C9D4EA;
    --text-strong: #FFFFFF;
    --muted: #A3B3D2;
    --line: rgba(255, 255, 255, .14);
    --line-strong: rgba(255, 255, 255, .5);
    --field-bg: #00123A;
    --field-line: rgba(255, 255, 255, .5);
    --focus: #00AEEF;
    --danger: #FF8A91;
    --header-bg: rgba(0, 13, 43, .84);
    --choice-bg: #00AEEF;
    --choice-fg: #001D56;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .8);
    --shadow-2: 0 30px 70px -30px rgba(0, 0, 0, .9);
    --show-logo-color: none;
    --show-logo-white: block;
    --show-moon: none;
    --show-sun: block;
    color-scheme: dark;
  }
}
/* Thème sombre choisi avec le bouton */
:root[data-theme="dark"] {
  --bg: #000D2B;
  --bg-alt: #00143F;
  --surface: #001A4D;
  --text: #C9D4EA;
  --text-strong: #FFFFFF;
  --muted: #A3B3D2;
  --line: rgba(255, 255, 255, .14);
  --line-strong: rgba(255, 255, 255, .5);
  --field-bg: #00123A;
  --field-line: rgba(255, 255, 255, .5);
  --focus: #00AEEF;
  --danger: #FF8A91;
  --header-bg: rgba(0, 13, 43, .84);
  --choice-bg: #00AEEF;
  --choice-fg: #001D56;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 34px -18px rgba(0, 0, 0, .8);
  --shadow-2: 0 30px 70px -30px rgba(0, 0, 0, .9);
  --show-logo-color: none;
  --show-logo-white: block;
  --show-moon: none;
  --show-sun: block;
  color-scheme: dark;
}

/* Zones toujours sombres (accueil, méthode, cartes de services, pied de page) */
.on-dark {
  --text: #D3DCEE;
  --text-strong: #FFFFFF;
  --muted: #A9B8D6;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .5);
  --focus: #00AEEF;
  color: var(--text);
}

@media (min-width: 900px) { :root { --header-h: 84px; } }

/* 3. Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 4px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  color: var(--text-strong);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--nova); color: var(--abysse); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  flex: none; width: 1.25em; height: 1.25em;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: 12px; z-index: 1100;
  padding: .7em 1.1em; border-radius: var(--r-s);
  background: var(--abysse); color: #fff; font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Rang d'apparition d'un élément dans son groupe : il décale le départ de son animation.
   Écrit en classes pour qu'aucun style ne figure dans les pages (règle de sécurité du .htaccess). */
.i-0 { --i: 0; } .i-1 { --i: 1; } .i-2 { --i: 2; } .i-3 { --i: 3; }
.i-4 { --i: 4; } .i-5 { --i: 5; } .i-6 { --i: 6; } .i-7 { --i: 7; }

.section { position: relative; padding-block: var(--space-section); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 46rem; margin-bottom: clamp(34px, 5vw, 62px); }
.section__title { font-size: var(--fs-2); }
.section__lead { margin-top: .85em; max-width: 58ch; font-size: var(--fs-lead); }

/* Passage clair / sombre : fondu partant du bouton */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-reveal .65s var(--ease-in-out); }
@keyframes theme-reveal {
  from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 0px)); }
  to   { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 0px)); }
}
html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .4s ease, color .4s ease, border-color .4s ease, box-shadow .4s ease !important;
}

/* 4. Boutons ---------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .65em 1.5em;
  border: 1.5px solid transparent; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 1rem; line-height: 1.15; text-align: center; text-decoration: none;
  cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast),
              border-color var(--t-fast), box-shadow var(--t-med) var(--ease-out), color var(--t-fast);
}
.btn:active { transform: scale(.97); }
.btn--primary { --btn-bg: var(--nova); --btn-fg: var(--abysse); box-shadow: 0 12px 28px -14px rgba(0, 174, 239, .85); }
.btn--outline { border-color: var(--line-strong); }
.btn--text {
  min-height: 44px; padding-inline: .5em;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .28em;
}
.btn--sm { min-height: 44px; padding: .5em 1.25em; font-size: .96rem; }
.btn--lg { min-height: 56px; padding: .8em 1.8em; font-size: 1.06rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn__arrow { transition: transform var(--t-med) var(--ease-out); }

@media (hover: hover) {
  .btn--primary:hover { --btn-bg: #3CC6F6; transform: translateY(-2px); box-shadow: 0 18px 36px -14px rgba(0, 174, 239, .95); }
  .btn--outline:hover { border-color: currentColor; background: rgba(127, 140, 170, .16); }
  .btn--text:hover { text-decoration-color: var(--nova); }
  .btn:hover .btn__arrow { transform: translateX(5px); }
  .btn[disabled]:hover { transform: none; }
}

/* Onde au clic */
.ripple {
  position: absolute; z-index: -1; border-radius: 50%;
  background: currentColor; opacity: .22; transform: scale(0); pointer-events: none;
  animation: ripple .65s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.icon-btn {
  display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast), transform var(--t-med) var(--ease-out), border-color var(--t-fast);
}
@media (hover: hover) { .icon-btn:hover { background: rgba(127, 140, 170, .2); } }

.link-arrow, .link-more {
  display: inline-flex; align-items: center; gap: .45em; min-height: 44px;
  font-weight: 600; color: var(--text-strong);
  text-decoration: underline; text-decoration-color: var(--nova); text-decoration-thickness: 2px; text-underline-offset: .32em;
}
.link-arrow .icon { transition: transform var(--t-med) var(--ease-out); }
@media (hover: hover) { .link-arrow:hover .icon { transform: translateX(6px); } }

/* 5. En-tête ---------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  color: #fff; --focus: #00AEEF;
  transition: color var(--t-med);
}
.header::before {                       /* fond flouté, visible après défilement */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 16px 36px -26px rgba(0, 29, 86, .6);
  opacity: 0; transition: opacity var(--t-med);
}
.header.is-stuck { color: var(--text-strong); --focus: inherit; }
.no-js .header { position: absolute; }            /* sans JavaScript : l'en-tête reste posé sur l'accueil */
.header.is-stuck::before { opacity: 1; }

.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: var(--header-h);
  transition: height var(--t-med) var(--ease-out);
}
.header.is-stuck .header__bar { height: 60px; }

.brand { position: relative; z-index: 2; flex: none; display: block; border-radius: 8px; }
.brand__img { width: auto; height: 40px; transition: height var(--t-med) var(--ease-out); }
.brand__img--color { display: none; }
.header.is-stuck .brand__img { height: 36px; }
.header.is-stuck .brand__img--color { display: var(--show-logo-color); }
.header.is-stuck .brand__img--white { display: var(--show-logo-white); }

.header__actions { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; }
.header__cta { display: none; }
.lang-switch {
  position: relative; display: inline-grid; place-items: center; flex: none; min-width: 40px; height: 44px; padding-inline: 4px;
  border-radius: var(--r-pill); font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-decoration: none;
  transition: background-color var(--t-fast);
}
.lang-switch::after {                   /* le fil de la marque sous le code de langue */
  content: ""; position: absolute; left: calc(50% - 9px); bottom: 8px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--grad-line);
}
@media (hover: hover) { .lang-switch:hover { background: rgba(127, 140, 170, .2); } }
@media (max-width: 359px) { .lang-switch { display: none; } }       /* très petit écran : le lien est dans le menu */
.theme-toggle .icon { transition: transform .5s var(--ease-spring); }
.theme-toggle:active .icon { transform: rotate(50deg) scale(.8); }
.theme-toggle__moon { display: var(--show-moon); }
.theme-toggle__sun { display: var(--show-sun); }

.menu-toggle__bars { position: relative; display: block; width: 22px; height: 16px; }
.menu-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform var(--t-med) var(--ease-out), opacity var(--t-fast);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 7px; }
.menu-toggle__bars span:nth-child(3) { top: 14px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu : panneau plein écran sur téléphone et tablette */
.nav {
  position: fixed; inset: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 28px;
  padding: calc(var(--header-h) + 20px) var(--gutter) 36px;
  background: linear-gradient(165deg, #001D56 0%, #00123A 58%, #2B0410 135%);
  color: #fff; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity var(--t-med) var(--ease-out), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav__list { display: grid; }
.nav__link {
  display: flex; align-items: center; min-height: 58px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  font-size: 1.5rem; font-weight: 600; text-decoration: none;
}
.nav__link[aria-current] { color: var(--nova); }
.nav li, .nav__extra {
  opacity: 0; translate: 0 16px;
  transition: opacity .45s var(--ease-out), translate .55s var(--ease-out);
}
.nav.is-open li, .nav.is-open .nav__extra { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 45ms + 90ms); }
.nav__extra { display: grid; gap: 12px; margin-top: auto; }
.nav__extra .btn--outline { --btn-fg: #fff; border-color: rgba(255, 255, 255, .5); }
.nav__meta { margin-top: 6px; font-size: .96rem; color: rgba(255, 255, 255, .82); }
.nav__meta a { font-weight: 600; color: #fff; }
.nav__langs a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #fff; text-underline-offset: .28em; }

.header.menu-open { color: #fff; --focus: #00AEEF; }
.header.menu-open::before { opacity: 0; }
.header.menu-open .brand__img--color { display: none; }
.header.menu-open .brand__img--white { display: block; }
html.menu-lock { overflow: hidden; }

@media (min-width: 560px) { .header__cta { display: inline-flex; } }
@media (min-width: 900px) {
  .brand__img { height: 48px; }
  .header.is-stuck .brand__img { height: 40px; }
  .header.is-stuck .header__bar { height: 64px; }
}
@media (min-width: 1200px) {
  .nav {
    position: static; inset: auto; z-index: 2; display: block; padding: 0;
    background: none; color: inherit; overflow: visible;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav__list { display: flex; gap: clamp(16px, 1.9vw, 28px); }
  .nav li { opacity: 1; translate: none; transition: none; }
  .nav__link {
    position: relative; min-height: 44px; border: 0;
    font-size: .98rem; font-weight: 500;
  }
  .nav__link[aria-current] { color: inherit; }
  .nav__link::after {                   /* le fil de la marque sous le lien actif */
    content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 2px; border-radius: 2px;
    background: var(--grad-line); transform: scaleX(0); transform-origin: left;
    transition: transform var(--t-med) var(--ease-out);
  }
  .nav__link:hover::after, .nav__link[aria-current]::after { transform: scaleX(1); }
  .nav__extra, .menu-toggle { display: none; }
}

/* Bandeau d'annonce */
.announce {
  position: relative; z-index: 3;
  display: grid; grid-template-rows: 1fr;
  background: #000B26; color: #fff; font-size: .92rem;
  transition: grid-template-rows var(--t-med) var(--ease-out);
}
.announce::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--grad-bright);
  transition: opacity var(--t-fast);
}
.announce__inner {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 0; overflow: hidden; padding-inline: var(--gutter);
}
.announce__text { padding-block: 8px; text-align: center; }
.announce__link { font-weight: 600; color: var(--nova); text-underline-offset: .22em; white-space: nowrap; }
.announce__close {
  display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; margin-right: -10px;
  border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.announce__close .icon { width: 1em; height: 1em; }
.header.is-stuck .announce, .header.menu-open .announce { grid-template-rows: 0fr; }
.header.is-stuck .announce::after, .header.menu-open .announce::after { opacity: 0; }

/* 6. Accueil ---------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: 100vh; min-height: 100svh;
  padding-bottom: clamp(72px, 13vw, 124px);
  background: #001238;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);   /* coupe en biais, comme les rubans du logo */
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 72% 0;
}
.hero__media::after {                   /* voiles de lisibilité */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 13, 43, .74) 0%, rgba(0, 13, 43, 0) 22%),
    linear-gradient(180deg, rgba(0, 18, 58, 0) 20%, rgba(0, 18, 58, .8) 47%, rgba(0, 13, 43, .97) 70%);
}
.hero__glow { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; mix-blend-mode: screen; }
.hero__glow--a {
  left: -18vmax; top: 6%; width: 46vmax; height: 46vmax;
  background: radial-gradient(circle, rgba(0, 174, 239, .34), transparent 66%);
  animation: drift 17s var(--ease-in-out) infinite alternate;
}
.hero__glow--b {
  left: 18%; bottom: -24vmax; width: 40vmax; height: 40vmax;
  background: radial-gradient(circle, rgba(194, 5, 12, .34), transparent 66%);
  animation: drift 22s var(--ease-in-out) -7s infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate3d(-4%, -3%, 0) scale(1); }
  to   { transform: translate3d(7%, 6%, 0) scale(1.14); }
}
.hero__net {
  position: absolute; inset: 0; z-index: 3; display: none; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 62%);
          mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 62%);
}

.hero__content {
  display: grid; gap: 16px; max-width: 38rem;
  padding-top: 300px;                             /* laisse voir le visuel au-dessus du texte */
  padding-top: clamp(250px, 44svh, 400px);
}
.hero__hello { order: 1; display: flex; align-items: center; gap: .75em; font-size: .98rem; font-weight: 500; color: rgba(255, 255, 255, .86); }
.hero__hello::before {
  content: ""; flex: none; width: 34px; height: 4px; border-radius: 1px;
  background: var(--grad-bright); transform: skewX(-28deg);
}
.hero__title { order: 2; font-size: var(--fs-1); line-height: 1.03; letter-spacing: -.024em; color: #fff; }
.hero__rotator { order: 3; font-size: var(--fs-lead); font-style: italic; font-weight: 500; line-height: 1.4; color: #fff; }
.typed-line { display: block; min-height: 1.4em; white-space: nowrap; }
.typed { font-weight: 600; color: var(--nova); }
.typed-caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 3px;
  background: var(--nova); vertical-align: -.16em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero__actions { order: 4; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 6px; }
.hero__actions .btn { flex: 1 1 290px; padding-inline: 1.3em; }
.hero__actions .btn--outline { --btn-fg: #fff; border-color: rgba(255, 255, 255, .55); }
.hero__lead { order: 5; max-width: 35rem; font-size: 1.08rem; color: rgba(255, 255, 255, .9); }
.hero__facts { order: 6; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .96rem; color: rgba(255, 255, 255, .88); }
.hero__facts li { display: inline-flex; align-items: center; gap: .5em; }
.hero__facts .icon { width: 1.1em; height: 1.1em; color: var(--nova); }
.link-more { color: #fff; text-decoration-color: rgba(255, 255, 255, .45); }
.link-more .icon { animation: nudge 1.9s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(4px); } }

/* Entrée en scène de l'accueil : uniquement en CSS, pour ne dépendre d'aucun script */
.js .hero__title .w {
  display: inline-block;
  animation: word-in .85s var(--ease-out) calc(var(--d0) + var(--i) * 80ms) both;
}
@keyframes word-in {
  from { opacity: 0; transform: translateY(.55em) rotate(3deg); }
  to   { opacity: 1; transform: none; }
}
.js .hero__hello, .js .hero__rotator, .js .hero__lead, .js .hero__actions, .js .hero__facts {
  animation: rise-in .85s var(--ease-out) both;
}
.js .hero__hello   { animation-delay: var(--d0); }
.js .hero__rotator { animation-delay: calc(var(--d0) + .55s); }
.js .hero__actions { animation-delay: calc(var(--d0) + .7s); }
.js .hero__lead    { animation-delay: calc(var(--d0) + .85s); }
.js .hero__facts   { animation-delay: calc(var(--d0) + 1s); }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .hero {
    align-items: center; min-height: min(100vh, 940px); min-height: min(100svh, 940px);
    padding-top: calc(var(--header-h) + var(--announce-h, 0px) + 12px);      /* le texte reste sous l'en-tête, bandeau d'annonce compris */
  }
  .hero__img { object-position: 72% 18%; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(0, 13, 43, .8) 0%, rgba(0, 13, 43, 0) 26%),
      linear-gradient(90deg, rgba(0, 16, 52, .96) 0%, rgba(0, 16, 52, .9) 36%, rgba(0, 16, 52, .5) 56%, rgba(0, 16, 52, 0) 76%),
      linear-gradient(0deg, rgba(0, 13, 43, .72) 0%, rgba(0, 13, 43, 0) 32%);
  }
  .hero__net { display: block; }
  .hero__content { gap: 20px; max-width: 37rem; padding-top: clamp(28px, 6vh, 72px); }
  .hero__actions { order: 5; margin-top: 4px; }
  .hero__actions .btn { flex: 0 0 auto; }
  .hero__lead { order: 4; }
}

/* 7. Bandeau défilant ------------------------------------------------------- */
.marquee {
  overflow: hidden; padding-block: clamp(18px, 2.8vw, 30px);
  border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; flex: none; }
.marquee__group li {
  display: flex; align-items: center; white-space: nowrap;
  font-size: clamp(1.05rem, .9rem + 1vw, 1.5rem); font-weight: 600; color: var(--text-strong);
}
.marquee__group li::after {             /* petit ruban de la marque entre deux services */
  content: ""; flex: none; width: 30px; height: 5px; margin-inline: clamp(18px, 2.6vw, 36px);
  border-radius: 1px; background: var(--grad-line); transform: skewX(-28deg);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* 8. Services --------------------------------------------------------------- */
.svc-grid { display: grid; gap: clamp(14px, 1.8vw, 22px); }
.svc {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(410px, 64vw, 470px);
  border-radius: var(--r-l); background: #00123A;
  box-shadow: var(--shadow-1);
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.svc.is-tilting { transition: transform .1s linear, box-shadow .55s var(--ease-out); }
.svc__media { position: absolute; inset: 0; z-index: -2; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.5s var(--ease-out); }
.svc::before {                          /* voile sombre sous le texte */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0, 13, 43, .04) 0%, rgba(0, 13, 43, .18) 30%, rgba(0, 13, 43, .88) 60%, rgba(0, 13, 43, .97) 100%);
}
.svc::after {                           /* halo qui suit le pointeur */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(440px circle at var(--mx) var(--my), rgba(0, 174, 239, .36), transparent 62%);
  opacity: 0; transition: opacity .45s;
}
.svc__body {
  display: grid; gap: 12px; width: 100%; padding: clamp(20px, 2.6vw, 30px); padding-top: 64px;
  background: linear-gradient(180deg, rgba(0, 13, 43, 0) 0, rgba(0, 13, 43, .62) 56px);
}
.svc__title { font-size: var(--fs-3); }
.svc__title a { color: inherit; text-decoration: none; }
.svc__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }     /* toute la carte mène à la page du service */
.svc__links { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
.svc__more {
  display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; color: #fff;
  text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: .3em;
}
.svc__text { max-width: 46ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc__tags li {
  padding: .26em .85em; border: 1px solid rgba(255, 255, 255, .32); border-radius: var(--r-pill);
  background: rgba(0, 13, 43, .4); font-size: .88rem; color: #E7EDF8;
}
.svc__cta {
  display: inline-flex; align-items: center; gap: .5em; width: fit-content; min-height: 44px;
  font-weight: 600; color: var(--nova); text-decoration: none;
}
.svc__cta .icon { transition: transform var(--t-med) var(--ease-out); }
.svc__rec {
  position: absolute; left: 18px; top: 18px; z-index: 1;
  display: inline-flex; align-items: center; gap: .55em; padding: .32em .85em;
  border-radius: var(--r-pill); background: rgba(0, 13, 43, .66);
  font-size: .82rem; font-weight: 600; color: #fff;
}
.svc__rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #FF3B45; animation: rec 1.5s steps(1) infinite; }
@keyframes rec { 50% { opacity: .15; } }
.svc--camera .svc__media::after {       /* balayage de la caméra */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(0, 174, 239, .16), transparent);
  animation: scan 5s linear infinite;
}
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(440%); } }

@media (hover: hover) {
  .svc:hover { box-shadow: var(--shadow-2), 0 0 0 1px rgba(0, 174, 239, .55); }
  .svc:hover::after { opacity: 1; }
  .svc:hover .svc__media img { transform: scale(1.07); }
  .svc__cta:hover { text-decoration: underline; text-underline-offset: .3em; }
  .svc__cta:hover .icon { transform: translateX(6px); }
}
@media (min-width: 700px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc { min-height: 430px; }
  .svc--wide { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .svc-grid { grid-template-columns: repeat(12, 1fr); }
  .svc { grid-column: span 4; min-height: 450px; }
  .svc--wide, .svc--large { grid-column: span 7; }
  .svc--mid { grid-column: span 5; }
}

/* 9. Pour qui --------------------------------------------------------------- */
.tabs { --pill-bg: var(--nova); --pill-fg: var(--abysse); }
.tabs[data-accent="impulse"] { --pill-bg: var(--impulse); --pill-fg: #FFFFFF; }
.tabs__list {
  position: relative; display: inline-flex; padding: 6px; margin-bottom: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line); border-radius: var(--r-pill); background: var(--surface);
}
.no-js .tabs__list { display: none; }
.tabs__tab {
  position: relative; z-index: 1; min-height: 48px; padding: 0 clamp(22px, 4.5vw, 36px);
  border: 0; border-radius: var(--r-pill); background: none;
  font-weight: 600; font-size: 1.03rem; color: var(--text-strong); cursor: pointer;
  transition: color var(--t-med);
}
.tabs__tab[aria-selected="true"] { color: var(--pill-fg); }
.tabs__pill {
  position: absolute; z-index: 0; left: 0; top: 6px; bottom: 6px; width: var(--pill-w, 0px);
  border-radius: var(--r-pill); background: var(--pill-bg);
  transform: translateX(var(--pill-x, 0px));
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), background-color .35s;
}
.tabs__panel.is-entering { animation: panel-in .6s var(--ease-out) both; }
.no-js .tabs__panel + .tabs__panel { margin-top: 48px; }
@keyframes panel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.audience__grid { display: grid; gap: clamp(28px, 4vw, 60px); align-items: center; }
.audience__text { display: grid; gap: 18px; justify-items: start; }
.audience__title { font-size: clamp(1.4rem, 1.12rem + 1.2vw, 2rem); }
.audience__media { position: relative; }
.audience__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.audience__media::after {               /* ruban à la couleur de la cible : bleu pour les PME, rouge pour les particuliers */
  content: ""; position: absolute; left: 28px; bottom: -7px; width: 128px; height: 14px; border-radius: 2px;
  background: var(--pill-bg); transform: skewX(-28deg); transition: background-color .35s;
}
.tabs[data-accent="impulse"] .btn--primary { --btn-bg: var(--impulse); --btn-fg: #FFFFFF; box-shadow: 0 12px 28px -14px rgba(194, 5, 12, .8); }
@media (hover: hover) { .tabs[data-accent="impulse"] .btn--primary:hover { --btn-bg: #D6131B; box-shadow: 0 18px 36px -14px rgba(194, 5, 12, .9); } }

.checks { display: grid; gap: 11px; }
.checks li { display: flex; align-items: flex-start; gap: .75em; font-weight: 500; color: var(--text-strong); }
.checks .icon {
  width: 1.5em; height: 1.5em; padding: .3em; margin-top: .05em; border-radius: 50%;
  background: var(--pill-bg, var(--nova)); color: var(--pill-fg, var(--abysse)); stroke-width: 3;
  transition: background-color .35s, color .35s;
}
@media (min-width: 900px) { .audience__grid { grid-template-columns: 1fr 1fr; } }

/* 10. Pourquoi Soraah ------------------------------------------------------- */
.why__grid { display: grid; gap: clamp(30px, 5vw, 76px); align-items: center; }
.why__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-l); }
.why__list { display: grid; margin-top: clamp(22px, 3vw, 38px); }
.why__item { position: relative; padding: 22px 0 22px 26px; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__item::before {                    /* le fil de la marque se trace à l'apparition */
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; border-radius: 2px;
  background: linear-gradient(180deg, var(--nova), var(--impulse));
  transform-origin: top; transition: transform 1s var(--ease-out) calc(var(--i, 0) * 130ms + .25s);
}
html.reveal-ready .why__item:not(.is-visible)::before { transform: scaleY(0); }
.why__item h3 { margin-bottom: .35em; font-size: var(--fs-3); }
@media (min-width: 900px) {
  .why__grid { grid-template-columns: .9fr 1.1fr; }
  .why__media img { aspect-ratio: 4 / 5; }
}

.stats { display: grid; margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--line); }
.stat {
  display: flex; flex-direction: column-reverse; gap: 8px;
  padding-block: clamp(22px, 3vw, 38px); border-bottom: 1px solid var(--line);
}
.stat__value {
  display: flex; align-items: baseline; gap: .22em;
  font-size: clamp(3.4rem, 2.1rem + 5.6vw, 6.2rem); font-weight: 700; line-height: .92; letter-spacing: -.035em;
  color: var(--text-strong); font-variant-numeric: tabular-nums;
}
.stat__unit { font-size: .29em; font-weight: 600; letter-spacing: 0; }
.stat__label { max-width: 26ch; }
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat { padding-inline: clamp(18px, 2.4vw, 34px); border-bottom: 0; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
}

/* 11. Comment ça marche ----------------------------------------------------- */
.method {
  z-index: 1; margin-top: calc(var(--cut) * -1); padding-top: calc(var(--space-section) + var(--cut));
  background:
    radial-gradient(90% 120% at 100% 112%, rgba(194, 5, 12, .36), transparent 60%),
    radial-gradient(70% 100% at 0% -12%, rgba(0, 174, 239, .26), transparent 60%),
    #001D56;
  clip-path: polygon(0 var(--cut), 100% 0, 100% 100%, 0 100%);
}
.steps { position: relative; --p: 0; }
.steps__list { display: grid; gap: 36px; }
.step { position: relative; padding-left: 78px; }
.step__num {
  position: absolute; left: 0; top: 0; z-index: 1;
  display: grid; place-items: center; width: 52px; height: 52px;
  border: 2px solid rgba(255, 255, 255, .4); border-radius: 50%; background: #001D56;
  font-size: 1.2rem; font-weight: 700; color: #fff;
  transition: background-color .45s, border-color .45s, color .45s, box-shadow .45s, transform .6s var(--ease-spring);
}
.step.is-active .step__num {
  border-color: var(--nova); background: var(--nova); color: var(--abysse);
  box-shadow: 0 0 0 8px rgba(0, 174, 239, .2); transform: scale(1.08);
}
.step__title { margin-bottom: .3em; padding-top: 10px; font-size: var(--fs-3); }
.step p { max-width: 36ch; }
.steps__line { position: absolute; left: 25px; top: 26px; bottom: 26px; width: 2px; background: rgba(255, 255, 255, .22); }
.steps__fill {
  position: absolute; inset: 0; background: linear-gradient(180deg, var(--nova), #FF5A63);
  transform: scaleY(var(--p)); transform-origin: top;
}
@media (min-width: 900px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 28px; }
  .step { padding: 84px 0 0; }
  .step__title { padding-top: 0; }
  .steps__line { left: 26px; top: 25px; bottom: auto; width: calc(3 * ((100% - 84px) / 4 + 28px)); height: 2px; }
  .steps__fill { background: linear-gradient(90deg, var(--nova), #FF5A63); transform: scaleX(var(--p)); transform-origin: left; }
}

/* 12. Assistant de devis ---------------------------------------------------- */
.quote__grid { display: grid; gap: clamp(28px, 5vw, 66px); align-items: start; }
.quote__media { margin-top: clamp(22px, 3vw, 38px); }
.quote__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-l); }
.quote__noscript { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.wizard {
  display: grid; gap: 22px; padding: clamp(20px, 3.4vw, 38px);
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-1);
}
.no-js .wizard { display: none; }
.wizard__top { display: grid; gap: 10px; }
.wizard__count { font-size: .94rem; font-weight: 600; color: var(--muted); }
.wizard__progress { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.wizard__progress span {
  display: block; height: 100%; border-radius: inherit; background: var(--grad-line);
  transform: scaleX(var(--wp, .25)); transform-origin: left; transition: transform .7s var(--ease-out);
}
.wizard__step { min-width: 0; padding: 0; border: 0; }
.wizard__step.is-entering { animation: panel-in .5s var(--ease-out) both; }
.wizard__legend {
  display: block; width: 100%; padding: 0; margin-bottom: 18px;
  font-size: var(--fs-3); font-weight: 700; line-height: 1.15; color: var(--text-strong);
}
.wizard__legend:focus { outline: none; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 48px; padding: .5em 1.15em;
  border: 1.5px solid var(--line-strong); border-radius: var(--r-pill); background: var(--surface);
  font-weight: 500; color: var(--text-strong);
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease-out);
}
.choice input:checked + span { border-color: var(--choice-bg); background: var(--choice-bg); color: var(--choice-fg); }
.choice input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 3px; }
.choice:active span { transform: scale(.97); }
@media (hover: hover) { .choice:hover span { border-color: var(--text-strong); } }
.wizard__summary {
  padding: 16px 18px; border-left: 4px solid var(--nova); border-radius: 0 var(--r-s) var(--r-s) 0;
  background: var(--bg-alt); color: var(--text-strong);
}
.wizard__send { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.wizard__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.wizard__nav [data-wizard-next] { margin-left: auto; }
@media (min-width: 960px) { .quote__grid { grid-template-columns: .85fr 1.15fr; } }

/* 13. Questions fréquentes -------------------------------------------------- */
.faq__grid { display: grid; gap: clamp(28px, 5vw, 76px); align-items: start; }
.faq__head { display: grid; gap: 18px; justify-items: start; }
.faq__head .section__lead { margin-top: 0; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 0; list-style: none; cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item h3 { font-size: clamp(1.1rem, 1.02rem + .4vw, 1.3rem); font-weight: 600; letter-spacing: 0; }
.faq__icon {
  position: relative; flex: none; width: 38px; height: 38px; border: 1.5px solid var(--line-strong); border-radius: 50%;
  transition: transform .5s var(--ease-out), background-color .3s, border-color .3s;
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  border-radius: 1px; background: var(--text-strong);
  transition: transform .5s var(--ease-out), background-color .3s;
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open]:not(.is-closing) .faq__icon { border-color: var(--nova); background: var(--nova); transform: rotate(180deg); }
.faq__item[open]:not(.is-closing) .faq__icon::before,
.faq__item[open]:not(.is-closing) .faq__icon::after { background: var(--abysse); }
.faq__item[open]:not(.is-closing) .faq__icon::after { transform: rotate(0deg); }
.faq__answer { max-width: 62ch; padding: 0 56px 24px 0; }
.faq__answer a { font-weight: 600; color: var(--text-strong); text-decoration-color: var(--nova); text-decoration-thickness: 2px; text-underline-offset: .28em; }
@media (min-width: 960px) {
  .faq__grid { grid-template-columns: .8fr 1.2fr; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* 14. Contact --------------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(18px, 2.6vw, 30px); align-items: stretch; }
.contact__info { overflow: hidden; border-radius: var(--r-l); background: #001238; }
.contact__bg {
  width: 100%; height: clamp(200px, 32vw, 290px); object-fit: cover; object-position: 50% 58%;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent);
}
.contact__info-inner { display: grid; gap: 16px; padding: 4px clamp(22px, 3vw, 36px) clamp(24px, 3vw, 36px); }
.contact__info .section__lead { margin-top: 0; }
.contact__list { display: grid; gap: 4px; margin-top: 6px; }
.contact__list a, .contact__list div {
  display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 6px 10px 6px 6px;
  border-radius: 16px; color: #fff; text-decoration: none; font-weight: 500;
  transition: background-color var(--t-fast);
}
@media (hover: hover) { .contact__list a:hover { background: rgba(255, 255, 255, .1); } }
.contact__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--nova); }
.contact__label { display: block; font-size: .84rem; font-weight: 400; color: var(--muted); }
.contact__credit { margin-top: 8px; font-size: .82rem; color: var(--muted); }

.contact__form {
  padding: clamp(20px, 3.4vw, 38px);
  border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); box-shadow: var(--shadow-1);
}
.form { display: grid; gap: 16px; }
.form__title { font-size: var(--fs-3); }
.form__hint { margin-top: -8px; font-size: .92rem; color: var(--muted); }
.form__row { display: grid; gap: 16px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  display: block; width: 100%; min-height: 58px; padding: 24px 16px 8px;
  border: 1.5px solid var(--field-line); border-radius: var(--r-s); background-color: var(--field-bg);
  font-size: 1rem; line-height: 1.4; color: var(--text-strong);
  -webkit-appearance: none; appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 136px; resize: vertical; }
.field select {
  padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-strong) 50%), linear-gradient(135deg, var(--text-strong) 50%, transparent 50%);
  background-position: calc(100% - 22px) 27px, calc(100% - 16px) 27px;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field label {
  position: absolute; left: 17px; right: 17px; top: 18px; overflow: hidden;
  color: var(--muted); white-space: nowrap; text-overflow: ellipsis; pointer-events: none;
  transform-origin: left top; transition: transform .22s var(--ease-out), color .22s;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { color: var(--text-strong); transform: translateY(-12px) scale(.8); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--nova); box-shadow: 0 0 0 4px rgba(0, 174, 239, .22); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field__error { margin-top: 6px; font-size: .92rem; font-weight: 500; color: var(--danger); }
.field.is-shaking { animation: shake .42s var(--ease-in-out); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__slot { animation: panel-in .45s var(--ease-out) both; }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding-block: 9px; color: var(--text-strong); cursor: pointer; }
.check input { position: absolute; left: 0; top: 9px; width: 26px; height: 26px; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
  display: grid; place-items: center; flex: none; width: 26px; height: 26px;
  border: 1.5px solid var(--field-line); border-radius: 8px; background: var(--field-bg);
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.check__box::after {
  content: ""; width: 12px; height: 7px; margin-top: -3px;
  border: solid var(--abysse); border-width: 0 0 2.5px 2.5px;
  transform: rotate(-45deg) scale(0); transition: transform .28s var(--ease-spring);
}
.check input:checked ~ .check__box { border-color: var(--nova); background: var(--nova); }
.check input:checked ~ .check__box::after { transform: rotate(-45deg) scale(1); }
.check input:focus-visible ~ .check__box { outline: 3px solid var(--focus); outline-offset: 3px; }
.check input[aria-invalid="true"] ~ .check__box { border-color: var(--danger); }

.form__submit { width: 100%; }
.form__spinner {
  display: none; width: 18px; height: 18px; border: 2.5px solid rgba(0, 29, 86, .28); border-top-color: var(--abysse); border-radius: 50%;
  animation: spin .8s linear infinite;
}
.form.is-sending .form__spinner { display: block; }
.form.is-sending .btn__arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { padding: 12px 14px; border: 1px solid var(--danger); border-radius: var(--r-s); font-weight: 500; color: var(--danger); }
.form__status a { color: inherit; }

.form__success { display: grid; justify-items: center; gap: 14px; padding: clamp(24px, 5vw, 60px) 6px; text-align: center; }
.form__success:focus { outline: none; }
.form__success h3 { font-size: var(--fs-3); }
.form__check { width: 84px; height: 84px; fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.form__check circle { stroke: var(--nova); stroke-dasharray: 202; stroke-dashoffset: 202; animation: draw .75s var(--ease-out) .1s forwards; }
.form__check path { stroke: var(--text-strong); stroke-dasharray: 48; stroke-dashoffset: 48; animation: draw .45s var(--ease-out) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__demo { padding: 10px 14px; border: 1px dashed var(--line-strong); border-radius: var(--r-s); background: var(--bg-alt); font-size: .92rem; color: var(--text-strong); }

@media (min-width: 620px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .form__submit { width: auto; justify-self: start; }
}
@media (min-width: 960px) { .contact__grid { grid-template-columns: .88fr 1.12fr; } }

/* 15. Pied de page ---------------------------------------------------------- */
.footer { position: relative; padding-top: clamp(48px, 7vw, 88px); background: #000B26; font-size: .98rem; }
.footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-bright); }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 28px; }
.footer__brand, .footer__col:last-child { grid-column: 1 / -1; }
.footer__slogan { margin-top: 14px; max-width: 18ch; font-size: 1.08rem; font-style: italic; font-weight: 500; line-height: 1.35; color: #fff; }
.footer__title { margin-bottom: 10px; font-size: .96rem; font-weight: 600; letter-spacing: 0; }
.footer__col li { display: flex; align-items: center; min-height: 44px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color var(--t-fast); overflow-wrap: anywhere; }
@media (hover: hover) { .footer__col a:hover { color: var(--nova); text-decoration: underline; text-underline-offset: .28em; } }
.footer__tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px;
  margin-top: clamp(32px, 5vw, 56px); padding-block: 18px; border-top: 1px solid var(--line);
}
.share { display: flex; align-items: center; gap: 10px; }
.share__label { margin-right: 4px; }
.icon-btn--ring { border: 1.5px solid rgba(255, 255, 255, .34); color: #fff; }
@media (hover: hover) { .icon-btn--ring:hover { border-color: var(--nova); background: var(--nova); color: var(--abysse); transform: translateY(-3px); } }
.calm-toggle { --btn-fg: #fff; }
.footer__col a[aria-current] { color: var(--nova); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0 22px; }
.footer__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-underline-offset: .28em; }
.footer__bottom { display: grid; gap: 6px; padding-block: 18px 104px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
@media (min-width: 860px) {
  .footer__col li, .footer__col a { min-height: 36px; }
  .footer__grid { grid-template-columns: 1.25fr 1fr 1.2fr 1.3fr; }
  .footer__brand, .footer__col:last-child { grid-column: auto; }
  .footer__bottom { padding-bottom: 32px; padding-right: 96px; }
}

/* 16. Éléments flottants ---------------------------------------------------- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 300; height: 3px; pointer-events: none; }
.progress__bar { display: block; height: 100%; background: var(--grad-bright); transform: scaleX(0); transform-origin: left; }

.fab-wa {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 150;
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: #1DA851; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6);
  transition: transform var(--t-med) var(--ease-spring);
}
.fab-wa .icon { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border: 2px solid #1DA851; border-radius: 50%; animation: pulse 2.8s var(--ease-out) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .75; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
@media (hover: hover) { .fab-wa:hover { transform: scale(1.09); } }

.to-top {
  position: fixed; right: calc(max(18px, env(safe-area-inset-right)) + 70px); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 7px); z-index: 150;
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--text-strong);
  box-shadow: var(--shadow-1); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity var(--t-med), transform var(--t-med) var(--ease-out), visibility 0s linear var(--t-med);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.wa-bubble {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: calc(max(18px, env(safe-area-inset-bottom)) + 72px); z-index: 151;
  display: flex; align-items: flex-start; gap: 6px; max-width: min(290px, calc(100vw - 36px)); padding: 14px 8px 14px 16px;
  border: 1px solid var(--line); border-radius: 18px 18px 4px 18px; background: var(--surface);
  box-shadow: var(--shadow-2); font-size: .97rem; font-weight: 500; color: var(--text-strong);
  animation: bubble-in .55s var(--ease-spring) both; transform-origin: 100% 100%;
}
.wa-bubble a { text-decoration-color: var(--nova); text-decoration-thickness: 2px; text-underline-offset: .28em; }
.wa-bubble__close { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; margin: -12px -6px -12px -4px; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.wa-bubble__close .icon { width: 1em; height: 1em; }
@keyframes bubble-in { from { opacity: 0; transform: scale(.7) translateY(10px); } to { opacity: 1; transform: none; } }

/* Écran d'ouverture : s'efface seul en CSS, même si un script échoue */
.intro-screen { display: none; }
html.intro .intro-screen {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; align-content: center; gap: 22px;
  background: #001238; animation: intro-out .4s var(--ease-in-out) .72s forwards;
}
.intro-screen__logo { width: 156px; height: auto; animation: intro-logo .62s var(--ease-out) both; }
.intro-screen__bar { width: 156px; height: 4px; border-radius: 2px; background: var(--grad-bright); transform-origin: left; animation: intro-bar .58s var(--ease-out) .1s both; }
@keyframes intro-logo { from { opacity: 0; transform: scale(.88); clip-path: inset(0 100% 0 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes intro-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes intro-out { to { opacity: 0; visibility: hidden; } }

/* 16 bis. Pages intérieures (services, mentions légales, erreur) ------------- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  /* --announce-h : hauteur du bandeau d'annonce, mesurée par le script (0 s'il est absent ou fermé) */
  padding: calc(var(--header-h) + var(--announce-h, 0px) + clamp(40px, 7vw, 84px)) 0 calc(clamp(64px, 9vw, 112px) + var(--cut));
  background:
    radial-gradient(80% 110% at 100% 110%, rgba(194, 5, 12, .3), transparent 60%),
    radial-gradient(70% 100% at 0% -10%, rgba(0, 174, 239, .24), transparent 60%),
    #001238;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%);
}
.page-hero__grid { display: grid; gap: clamp(30px, 5vw, 68px); align-items: center; }
.page-hero__text { display: grid; gap: 18px; justify-items: start; }
.page-hero__title { font-size: clamp(2.05rem, 1.35rem + 3.1vw, 3.6rem); line-height: 1.06; letter-spacing: -.02em; }
.page-hero__lead { max-width: 36rem; font-size: var(--fs-lead); }
.page-hero__media { position: relative; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); box-shadow: 0 44px 84px -44px rgba(0, 0, 0, .85); }
.page-hero__media::after {
  content: ""; position: absolute; left: 28px; bottom: -7px; width: 128px; height: 14px; border-radius: 2px;
  background: var(--grad-bright); transform: skewX(-28deg);
}
.page-hero .hero__actions { margin-top: 4px; }
.page-hero--simple .page-hero__title { margin-top: 14px; }
.page-hero--simple .page-hero__lead { margin-top: 14px; }
.page-hero--center { display: grid; align-items: center; min-height: 100vh; min-height: 100svh; text-align: center; }
.page-hero--center .container { display: grid; gap: 16px; justify-items: center; }
.page-hero--center .hero__actions { justify-content: center; margin-top: 10px; }
.reply-list { display: inline-block; padding-left: 1.2em; list-style: disc; text-align: left; }
.error-code {
  font-size: clamp(5rem, 3rem + 12vw, 11rem); font-weight: 700; line-height: .9; letter-spacing: -.04em;
  background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0 .55em; font-size: .94rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; min-height: 32px; }
.breadcrumb li + li::before { content: "/"; margin-right: .55em; opacity: .6; }
.breadcrumb a { color: inherit; text-underline-offset: .25em; }
.breadcrumb [aria-current] { color: #fff; }
@media (min-width: 900px) { .page-hero__grid { grid-template-columns: 1.05fr .95fr; } }

.offers { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.offer {
  padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface);
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.offer::before {                        /* petit ruban de la marque */
  content: ""; display: block; width: 34px; height: 5px; margin-bottom: 18px; border-radius: 1px;
  background: var(--grad-line); transform: skewX(-28deg); transform-origin: left;
}
.offer h3 { margin-bottom: .4em; font-size: 1.2rem; letter-spacing: 0; }
@media (hover: hover) { .offer:hover { border-color: var(--nova); box-shadow: var(--shadow-1); transform: translateY(-3px); } }

.duo { display: grid; gap: 18px; }
.duo__col {
  --pill-bg: var(--nova); --pill-fg: var(--abysse);
  padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); border-top: 5px solid var(--pill-bg);
  border-radius: var(--r-l); background: var(--surface);
}
.duo__col--impulse { --pill-bg: var(--impulse); --pill-fg: #FFFFFF; }
.duo__col h3 { margin-bottom: 18px; font-size: var(--fs-3); }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; } }

.others { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.other {
  display: flex; align-items: center; gap: 14px; min-height: 88px; padding: 12px 16px 12px 12px;
  border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface);
  font-weight: 600; color: var(--text-strong); text-decoration: none;
  transition: border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.other img { flex: none; width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.other span { flex: 1; }
.other .icon { color: var(--muted); transition: transform var(--t-med) var(--ease-out), color var(--t-med); }
@media (hover: hover) {
  .other:hover { border-color: var(--nova); box-shadow: var(--shadow-1); transform: translateY(-3px); }
  .other:hover .icon { transform: translateX(5px); color: var(--text-strong); }
}

.prose { max-width: 46rem; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem); scroll-margin-top: calc(var(--header-h) + 12px); }
.prose h2:first-child { margin-top: 0; }
.prose p + p, .prose ul + p, .prose p + ul { margin-top: .85em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose li + li { margin-top: .35em; }
.prose a { font-weight: 600; color: var(--text-strong); text-decoration-color: var(--nova); text-decoration-thickness: 2px; text-underline-offset: .28em; overflow-wrap: anywhere; }
.prose .prose__date { margin-top: 2.4em; font-size: .92rem; color: var(--muted); }

/* 17. Apparitions au défilement --------------------------------------------- */
/* Les éléments ne sont masqués que si le script a bien démarré (classe reveal-ready). */
html.reveal-ready .reveal {
  opacity: 0; translate: 0 28px;
  transition: opacity .85s var(--ease-out) calc(var(--i, 0) * 90ms), translate .95s var(--ease-out) calc(var(--i, 0) * 90ms);
}
html.reveal-ready .reveal.is-visible { opacity: 1; translate: 0 0; }
html.reveal-ready .svc.reveal {
  transition: opacity .85s var(--ease-out) calc(var(--i, 0) * 90ms), translate .95s var(--ease-out) calc(var(--i, 0) * 90ms),
              transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
html.reveal-ready .svc.reveal.is-tilting {
  transition: opacity .85s var(--ease-out), translate .95s var(--ease-out), transform .1s linear, box-shadow .55s var(--ease-out);
}
html.reveal-ready .offer.reveal {
  transition: opacity .85s var(--ease-out) calc(var(--i, 0) * 90ms), translate .95s var(--ease-out) calc(var(--i, 0) * 90ms),
              border-color var(--t-med), box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
html.reveal-ready .why__media.reveal img, html.reveal-ready .quote__media img { transition: clip-path 1.2s var(--ease-out) .1s, transform 1.4s var(--ease-out); }
html.reveal-ready .why__media.reveal:not(.is-visible) img { clip-path: inset(0 0 100% 0 round 26px); transform: scale(1.08); }
html.reveal-ready .why__media.reveal.is-visible img { clip-path: inset(0 0 0 0 round 26px); }

/* 18. Mode calme ------------------------------------------------------------ */
/* Activé par le réglage « réduire les animations » de l'appareil, ou par le bouton du pied de page. */
html.calm { scroll-behavior: auto; }
html.calm *, html.calm *::before, html.calm *::after {
  animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
  transition-duration: .01ms !important; transition-delay: 0s !important;
}
html.calm .form__spinner { animation-duration: .8s !important; animation-iteration-count: infinite !important; }
html.calm .reveal { opacity: 1 !important; translate: none !important; }
html.calm .hero__glow, html.calm .hero__net, html.calm .typed-caret, html.calm .fab-wa::before, html.calm .svc--camera .svc__media::after { display: none; }
html.calm .marquee { -webkit-mask-image: none; mask-image: none; }
html.calm .marquee__track { display: block; width: auto; }
html.calm .marquee__group { flex-wrap: wrap; justify-content: center; gap: 6px 30px; padding-inline: var(--gutter); }
html.calm .marquee__group li::after { display: none; }
html.calm .marquee__group[aria-hidden="true"] { display: none; }
html.calm .svc { transform: none; }

/* Sans JavaScript : même respect du réglage de l'appareil */
@media (prefers-reduced-motion: reduce) {
  html.no-js { scroll-behavior: auto; }
  html.no-js *, html.no-js *::before, html.no-js *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
