/* =====================================================================
   Agentique Québec — ensemble commun « premium » (refonte complète, 15 octobre 2026)
   Thème de la page d'accueil retenue (choix 1 ajusté, version 1) : papier clair, dessin technique propre à chaque
   page qui se trace au défilement, verre marine du logo, schéma électrique dans la marge de gauche, Inter partout.
   Chargé par toutes les pages refaites, avant la feuille propre à la page (/assets/premium/pages/<page>.css).
   Aucune ressource externe. Mode d'emploi : 99 - Archives-Techniques/outputs/2026-10-15_refonte-site-complet/KIT.md
   ===================================================================== */

/* =====================================================================
   1. THÈME — jetons. Chaque composant lit ces variables ; aucune couleur de thème n'est écrite ailleurs.
   ===================================================================== */
:root {
  /* Fond de page : la feuille de papier fixe derrière le contenu */
  --fond: #f8f7f3;
  --fond-reflet: rgba(255, 255, 255, .55);
  --fond-bord: rgba(232, 229, 220, .7);

  /* Dessin technique d'arrière-plan (SVG fixe .plan). --plan-force = opacité globale du dessin :
     0,5 dans la version 1, × 0,7 à la demande du propriétaire (15 octobre 2026) pour garder le focus sur l'information. */
  --plan-encre: #0a1628;
  --plan-cyan: #00b4d8;
  --plan-halo: var(--fond);
  --plan-force: .35;

  /* Schéma électrique latéral (marge de gauche) */
  --schema-encre: #0a1628;
  --schema-colonne: #5f6875;
  --schema-signal: #00b4d8;
  --schema-borne: var(--fond);
  --schema-force: 1;

  /* Titres et textes posés directement sur le papier */
  --titre: #0a1628;
  --texte-fond: #43536a;
  --accent-fond: #006f8b;
  --halo-fond: rgba(248, 247, 243, .9);
  --lien-fond: #0a1628;

  /* Panneaux et cartes en verre marine (classe .calque) */
  --panneau-fond: linear-gradient(150deg, rgba(14, 44, 74, .93) 0%, rgba(7, 33, 58, .92) 52%, rgba(10, 22, 40, .93) 100%);
  --panneau-fond-fort: linear-gradient(160deg, rgba(16, 52, 86, .96) 0%, rgba(7, 33, 58, .95) 100%);
  --panneau-fond-plein: linear-gradient(150deg, #0e2c4a 0%, #07213a 52%, #0a1628 100%);
  --panneau-flou: blur(14px) saturate(140%);
  --panneau-lisere: linear-gradient(150deg, rgba(255, 255, 255, .34) 0%, rgba(255, 255, 255, .06) 40%, rgba(0, 212, 255, .42) 74%, rgba(255, 255, 255, .16) 100%);
  --panneau-reflet: rgba(0, 212, 255, .16);
  --panneau-ombre: 0 2px 4px rgba(10, 22, 40, .08), 0 30px 60px -30px rgba(10, 22, 40, .62);
  --panneau-titre: #ffffff;
  --panneau-texte: rgba(236, 243, 249, .94);
  --panneau-texte-2: rgba(216, 228, 239, .84);
  --panneau-accent: #6fe0f6;
  --panneau-puce-fond: rgba(255, 255, 255, .08);
  --panneau-puce-texte: #8ae8fa;
  --panneau-puce-bord: rgba(0, 212, 255, .34);
  --panneau-icone-fond: rgba(0, 212, 255, .11);
  --panneau-icone: #00d4ff;
  --panneau-filet: rgba(255, 255, 255, .13);
  --panneau-btn-fond: linear-gradient(180deg, #00d4ff 0%, #00b4d8 100%);
  --panneau-btn-texte: #0a1628;
  --panneau-btn2-fond: rgba(255, 255, 255, .1);
  --panneau-btn2-texte: #ffffff;
  --panneau-btn2-bord: rgba(255, 255, 255, .3);
  --panneau-allume: rgba(0, 212, 255, .6);

  /* Barre de navigation pleine largeur (verre clair, dense : l'intérieur des lettres du logo est #f3f3f3) */
  --nav-fond: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(250, 251, 251, .84) 100%);
  --nav-fond-defile: linear-gradient(180deg, rgba(253, 253, 252, .95) 0%, rgba(248, 249, 249, .92) 100%);
  --nav-texte: #0a1628;
  --nav-filet: rgba(10, 22, 40, .09);

  /* Boutons posés directement sur le papier */
  --bouton-fond: linear-gradient(180deg, #17345a 0%, #0a1628 100%);
  --bouton-texte: #ffffff;

  /* Pied de page : bande marine pleine largeur */
  --pied-fond: radial-gradient(70% 120% at 0% 0%, rgba(0, 180, 216, .16), rgba(0, 180, 216, 0) 55%), linear-gradient(170deg, #11253f 0%, #0a1628 62%);
  --pied-texte: rgba(255, 255, 255, .8);
  --pied-lien: rgba(255, 255, 255, .92);
  --pied-titre: #00d4ff;
  --pied-filet: rgba(255, 255, 255, .13);

  /* Surtitres en pastille (site officiel) */
  --eyebrow-fond: #e6f8fc;
  --eyebrow-bord: rgba(0, 180, 216, .2);

  /* Marque */
  --marine-900: #0a1628;
  --marine-800: #0c1d35;
  --marine-700: #11253f;
  --cyan-400: #00d4ff;
  --cyan-500: #00b4d8;
  --cyan-700: #007a99;   /* texte cyan sur blanc : 4,95:1 */
  --cyan-750: #006f8b;   /* petit texte cyan sur papier : 5,1:1 */
  --cyan-850: #00627c;   /* cyan profond sur verre posé sur photo */
  --cyan-900: #00566d;   /* accroche sur verre clair plus transparent */
  --porcelaine: #f3f3f2;
  --ardoise-700: #2f3e52;
  --ardoise-600: #43536a; /* 7:1 sur le papier */
  --papier: #f8f7f3;
  --encre: #0a1628;

  /* Verre clair (panneaux posés sur une photo) */
  --verre-fond: linear-gradient(140deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .62) 52%, rgba(246, 249, 250, .72) 100%);
  --verre-fond-dense: linear-gradient(140deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .78) 60%, rgba(247, 250, 251, .84) 100%);
  --verre-flou: blur(22px) saturate(165%);
  --verre-lisere: linear-gradient(150deg, #ffffff 0%, rgba(255, 255, 255, .3) 30%, rgba(0, 180, 216, .3) 66%, rgba(255, 255, 255, .9) 100%);
  --reflet-interne: inset 0 1px 0 rgba(255, 255, 255, .95), inset 0 -1px 0 rgba(10, 22, 40, .045);

  /* Élévations */
  --ombre-1: 0 1px 2px rgba(10, 22, 40, .05), 0 10px 22px -16px rgba(10, 22, 40, .28);
  --ombre-2: 0 2px 4px rgba(10, 22, 40, .04), 0 26px 48px -28px rgba(10, 22, 40, .34);
  --ombre-3: 0 4px 10px rgba(10, 22, 40, .05), 0 46px 84px -38px rgba(10, 22, 40, .5);

  /* Typographie : Inter partout (/assets/css/fonts.css) */
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --taille-h1: clamp(2.5rem, 4.6vw, 3.9rem);
  --taille-h2: clamp(2.2rem, 4.2vw, 3.45rem);

  /* Gabarit */
  --nav-h: 78px;
  --contenu-max: 1280px;
  --gutter: clamp(18px, 4vw, 40px);
  --cmax: calc(var(--contenu-max) + 2 * var(--gutter));
  --inset: 30px;                         /* marge des photos pleine largeur */
  --marge-photo: var(--inset);           /* même marge à gauche et à droite d'une photo pleine largeur */
  --marge-panneau: clamp(24px, 1.6vw, 40px); /* panneau ancré dans le coin haut gauche d'une photo : même écart en haut et à gauche */
  --ecart: 112px;                        /* écart entre deux sections : 112 / 72 / 56 px */
  /* Couloir du schéma, à gauche de la page */
  --lane: clamp(22px, calc(9.4vw - 15px), 136px);
  --riser: calc(var(--lane) / 2);
  --sw: calc(100vw - var(--lane));       /* remplacé par le script : largeur exacte sans barre de défilement */

  /* Rayons */
  --r-sm: 12px; --r-md: 18px; --r-lg: 26px; --r-xl: 36px; --r-pill: 999px;

  /* Mouvement */
  --ease-sortie: cubic-bezier(.16, 1, .3, 1);
  --ease-std: cubic-bezier(.4, 0, .2, 1);
  --t-rapide: 160ms; --t-moyen: 260ms;

  /* Plans d'empilement */
  --z-nav: 100; --z-menu: 9999; --z-visionneuse: 10001;
}
@property --angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@media (max-width: 1023px) { :root { --ecart: 72px; } }
@media (max-width: 960px) { :root { --inset: 20px; } }
@media (max-width: 700px) { :root { --ecart: 56px; --inset: 8px; --nav-h: 64px; } }

/* =====================================================================
   2. BASE
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 24px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--marine-900);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--marine-900); }
main { position: relative; z-index: 1; display: block; overflow-x: clip; padding-left: var(--lane); }
main > section, main > div, main > article { position: relative; }
footer { position: relative; z-index: 1; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-sm { width: 18px; height: 18px; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--cyan-700); outline-offset: 3px; }
.calque :focus-visible, .calque:focus-visible, .glass--sombre :focus-visible, .aq-sombre :focus-visible { outline-color: var(--cyan-400); }
.container { width: 100%; max-width: var(--cmax); margin-inline: auto; padding-inline: var(--gutter); }

/* =====================================================================
   3. LA FEUILLE : papier fixe et dessin technique propre à la page (derrière le contenu)
   ===================================================================== */
.feuille {
  position: fixed; z-index: 0; inset: 0;
  height: 100vh; height: 100lvh;
  pointer-events: none;
  background:
    radial-gradient(130% 90% at 50% 40%, var(--fond-reflet) 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(160% 120% at 50% 50%, rgba(239, 237, 230, 0) 60%, var(--fond-bord) 100%),
    var(--fond);
  overflow: hidden;
}
.feuille-plan { position: absolute; inset: 0; transform-origin: 50% 0; opacity: var(--plan-force); transition: opacity .6s ease; }
/* Tant que GSAP n'a pas pris la main, le dessin reste caché (sinon il apparaît entièrement tracé, puis s'efface) */
.intro .feuille-plan { opacity: 0; }
.plan { width: 100%; height: 100%; overflow: hidden; }
/* Traits : hiérarchie fin / moyen / fort, épaisseur constante à toute échelle */
.plan line, .plan path, .plan circle, .plan rect, .plan polyline, .plan ellipse { fill: none; stroke: var(--plan-encre); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.plan .k1 { stroke-width: .75px; stroke-opacity: .45; }
.plan .k2 { stroke-width: 1.1px; stroke-opacity: .58; }
.plan .k3 { stroke-width: 1.7px; stroke-opacity: .7; }
.plan .k4 { stroke-width: 2.1px; stroke-opacity: .64; }
.plan .dl { stroke-dasharray: 22 4 3 4 3 4; stroke-linecap: butt; }
.plan .da { stroke-dasharray: 16 3 2 3; stroke-linecap: butt; }
.plan .dc { stroke-dasharray: 6 4; stroke-linecap: butt; }
.plan .ds { stroke-dasharray: 10 5; stroke-linecap: butt; }
.plan .dsan { stroke-dasharray: 9 4; stroke-linecap: butt; }
.plan .dplu { stroke-dasharray: 14 3 3 3; stroke-linecap: butt; }
.plan .dcoupe { stroke-dasharray: 20 4 3 4; stroke-linecap: butt; }
.plan .fi { fill: var(--plan-encre); fill-opacity: .55; stroke: none; }
.plan .bulle { fill: none; }
.plan .hf path { stroke-width: .5px; stroke-opacity: .2; }
.plan .cn { stroke-opacity: .27; }
.plan .cnm { stroke-opacity: .42; stroke-width: .95px; }
.plan .arb { stroke-opacity: .34; }
.plan .nuage { stroke-opacity: .5; }
.plan .cy { stroke: var(--plan-cyan); stroke-opacity: .85; stroke-width: 1.2px; }
.plan .cyd { stroke: var(--plan-cyan); stroke-opacity: .8; stroke-width: 1px; stroke-dasharray: 4 3; stroke-linecap: butt; }
.plan .cyf { stroke-dasharray: 2 4; }
.plan .cyb { stroke-opacity: .62; }
.plan .cyp { fill: var(--plan-cyan); fill-opacity: .9; stroke: none; }
.plan text {
  font-family: var(--font-text); font-size: 8.5px; letter-spacing: .04em; font-variant-numeric: tabular-nums;
  fill: var(--plan-encre); fill-opacity: .6;
  paint-order: stroke; stroke: var(--plan-halo); stroke-width: 3px; stroke-linejoin: round;
}
.plan .tx2 { font-size: 11px; font-weight: 600; fill-opacity: .72; }
.plan .txs { font-size: 6px; }
.plan .txc { font-size: 8px; fill-opacity: .48; }
/* En portrait, un dessin peut tourner d'un quart de tour : envelopper ses calques dans <g class="plan-rot"> */
@media (orientation: portrait) { .plan-rot { transform-box: view-box; transform-origin: 800px 800px; transform: rotate(90deg); } }
@media (orientation: portrait) and (max-aspect-ratio: 1/2) { .plan-rot { transform: rotate(90deg) scale(.72); } }
@media (orientation: portrait) and (min-aspect-ratio: 1/2) and (max-aspect-ratio: 5/8) { .plan-rot { transform: rotate(90deg) scale(.86); } }

/* =====================================================================
   4. SCHÉMA ÉLECTRIQUE LATÉRAL : colonne montante dans la marge de gauche, une dérivation vers chaque
   section [data-circuit]. Les éléments sont construits par aq-premium.js (repères techniques seulement).
   ===================================================================== */
.schema {
  position: absolute; display: block; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--schema-encre); stroke-linecap: round; stroke-linejoin: round;
  opacity: var(--schema-force);
}
.schema * { vector-effect: non-scaling-stroke; }
.schema .t-fort { stroke-width: 1.6px; stroke-opacity: .66; stroke-linecap: butt; }
.schema .t-moyen { stroke-width: 1.15px; stroke-opacity: .68; }
.schema .t-fin { stroke-width: .75px; stroke-opacity: .52; }
.schema .noeud { fill: var(--schema-encre); fill-opacity: .8; stroke: none; }
.schema .plein { fill: var(--schema-encre); fill-opacity: .68; stroke: none; }
.schema .borne { fill: var(--schema-borne); stroke-width: 1.15px; stroke-opacity: .7; transition: fill .5s var(--ease-std), stroke .5s var(--ease-std); }
.schema .lampe { fill: rgba(0, 212, 255, 0); transition: fill .4s var(--ease-std); }
.schema .halo { stroke: none; opacity: 0; transition: opacity .6s var(--ease-std); }
.schema .t-axe { stroke-dasharray: 12 3 2 3; }
.schema .signal { stroke: var(--schema-signal); stroke-width: 2.4px; stroke-linecap: round; stroke-opacity: 1; opacity: 0; }
.schema text { stroke: none; }
.schema .tag {
  font-family: var(--font-text); font-size: 9.5px; font-weight: 560; letter-spacing: .07em; font-variant-numeric: tabular-nums;
  fill: var(--schema-encre); fill-opacity: .7;
}
.schema .tag--fin { fill-opacity: .56; }
.schema .tag--centre { font-size: 8.5px; letter-spacing: .02em; }
.schema .lame--ouverte { transform-box: fill-box; transform-origin: 100% 50%; transform: rotate(24deg); }
.schema .lame--v.lame--ouverte { transform-origin: 50% 100%; transform: rotate(-24deg); }
.schema .colonne { stroke: var(--schema-colonne); stroke-opacity: 1; }
/* Parties de dérivation posées sur une photo (clair) ou dans un panneau marine */
.schema--clair { stroke: #fff; }
.schema--clair .t-moyen { stroke-opacity: .8; }
.schema--clair .borne { fill: rgba(10, 22, 40, .6); stroke: #fff; stroke-opacity: .85; }
.schema--panneau { stroke: var(--panneau-titre); }
.schema--panneau .t-moyen { stroke-opacity: .7; }
.schema--panneau .borne { fill: var(--panneau-icone-fond); stroke: var(--panneau-titre); stroke-opacity: .8; }
/* Variantes selon la largeur : c-grand (> 700 px), c-petit (téléphone), c-large (≥ 1200 px) */
.schema .c-petit, .c-petit { display: none; }
.schema .c-large { display: none; }
@media (min-width: 1200px) { .schema .c-large { display: inline; } }

/* Où le schéma se pose (géométrie calculée par le script) */
[data-circuit] { position: relative; }
.troncon { left: calc(var(--lane) * -1); top: -1px; width: var(--lane); height: calc(100% + 2px); }
.prise { position: absolute; top: 50%; right: calc(100% + 10px); width: 0; height: 0; pointer-events: none; }
.prise > .schema { left: 0; top: 0; width: 100%; height: 1px; }
.entree { z-index: -1; top: 100%; height: var(--ecart); }   /* sous la photo : la descente semble sortir du bâtiment */
.charge { width: 1px; height: 1px; }
.est-alimentee .prise .borne { fill: var(--schema-signal); stroke: var(--schema-signal); stroke-opacity: 1; }
.est-alimentee > .charge .halo, .charge.est-allumee .halo { opacity: 1; }
.est-alimentee > .charge .lampe, .charge.est-allumee .lampe { fill: rgba(0, 212, 255, .28); }
.eyebrow, [data-prise] { position: relative; }

/* =====================================================================
   5. TYPOGRAPHIE (réglages du site officiel ; h2 = +20 %)
   ===================================================================== */
h1 {
  font-family: var(--font-text); font-weight: 850; letter-spacing: -.035em; line-height: 1.07;
  font-size: var(--taille-h1);
  text-wrap: balance;
}
h2 {
  font-family: var(--font-text); font-weight: 830; letter-spacing: -.03em; line-height: 1.1;
  font-size: var(--taille-h2);
  color: var(--titre);
  text-wrap: balance;
}
h3 { font-family: var(--font-text); font-weight: 750; font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
h4 { font-family: var(--font-text); font-weight: 750; letter-spacing: -.01em; }
/* Lignes découpées par SplitText (titres animés) : sans masque, donc jamais de glyphe coupé.
   Si une page utilise malgré tout mask: 'lines', le coussin ci-dessous garde accents et jambages visibles au repos. */
.ligne-titre { display: block; }
.ligne-titre-mask { padding-block: .16em; margin-block: -.16em; }

/* Surtitre en pastille (site officiel) */
.eyebrow {
  display: inline-block;
  padding: .4rem 1.1rem; margin-bottom: 1.1rem;
  border: 1px solid var(--eyebrow-bord); border-radius: 50px;
  background: var(--eyebrow-fond);
  font-size: .68rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; line-height: 1.5;
  color: var(--accent-fond);
}
.aq-sombre .eyebrow, .eyebrow--sombre { background: rgba(0, 180, 216, .14); border-color: rgba(0, 212, 255, .3); color: var(--cyan-400); }

/* Pastille d'ouverture d'un héro (« Spécialiste IA… ») */
.label {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 24px; padding: 8px 15px 8px 11px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .95);
  box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .22);
  font-size: .74rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-750);
}
.label-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-500); box-shadow: 0 0 0 4px rgba(0, 180, 216, .18); animation: pouls 2.8s ease-in-out infinite; }

/* En-tête de section posé sur le papier, avec une zone dégagée derrière le texte (comme une note de dessin) */
.section-header { position: relative; isolation: isolate; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-header::before {
  content: ""; position: absolute; z-index: -1; inset: -26px -34px; border-radius: 40px;
  background: var(--halo-fond); filter: blur(16px);
  pointer-events: none;
}
.aq-sombre .section-header::before, .section-header--nu::before { display: none; }
.section-header > p, .section-header--split p { margin-top: 18px; max-width: 60ch; font-size: 1.125rem; line-height: 1.6; color: var(--texte-fond); }
.section-header--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 22px 72px; }
.section-header--split p { margin-top: 0; }
.section-header--centre { margin-inline: auto; text-align: center; }
.section-header--centre p { margin-inline: auto; }
.aq-intro { max-width: 62ch; font-size: 1.125rem; line-height: 1.6; color: var(--texte-fond); }

/* =====================================================================
   6. MATIÈRES : verre clair (sur photo), verre marine (.calque), verre sombre (sur photo foncée)
   ===================================================================== */
.glass {
  position: relative;
  isolation: isolate;
  background: var(--verre-fond);
  border-radius: var(--r-lg);
  box-shadow: var(--reflet-interne), var(--ombre-2);
}
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; padding: 1px;
  background: var(--verre-lisere);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.glass::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(560px circle at var(--rx, 18%) var(--ry, -12%), rgba(255, 255, 255, .8), rgba(255, 255, 255, 0) 48%);
  opacity: .55;
  transition: opacity var(--t-moyen) var(--ease-std);
}
.glass.is-reflet::after { opacity: 1; }
/* Verre liquide : réservé aux panneaux posés sur une photo */
.glass--photo { -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou); }
.glass--sombre {
  color: #fff;
  background: linear-gradient(150deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .045) 60%, rgba(0, 212, 255, .06) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 34px 64px -34px rgba(0, 0, 0, .7);
}
.glass--sombre::before { background: linear-gradient(150deg, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .06) 38%, rgba(0, 212, 255, .38) 76%, rgba(255, 255, 255, .22) 100%); }
.glass--sombre::after { background: radial-gradient(460px circle at var(--rx, 18%) var(--ry, -12%), rgba(0, 212, 255, .2), rgba(0, 212, 255, 0) 52%); }

/* Verre marine du logo : tous les panneaux et cartes posés sur le papier.
   Ne jamais donner à .calque une règle qui touche opacity, transform ou display (les révélations s'en servent). */
.calque {
  --schema-dedans: panneau;              /* une dérivation qui entre dans ce panneau passe en blanc */
  color: var(--panneau-texte);
  background: var(--panneau-fond);
  -webkit-backdrop-filter: var(--panneau-flou);
  backdrop-filter: var(--panneau-flou);
  box-shadow: var(--panneau-ombre);
  transition: box-shadow .9s var(--ease-sortie);
}
.calque.glass::before { background: var(--panneau-lisere); }
.calque.glass::after { background: radial-gradient(520px circle at var(--rx, 18%) var(--ry, -12%), var(--panneau-reflet), rgba(0, 0, 0, 0) 52%); }
.est-alimentee .calque, .calque.est-alimentee { box-shadow: var(--panneau-ombre), 0 0 0 1px var(--panneau-allume), 0 0 38px -12px var(--panneau-allume); }
.calque h2, .calque h3, .calque h4, .calque strong, .calque dt, .calque th { color: var(--panneau-titre); }
.calque p, .calque li, .calque dd, .calque td, .calque figcaption, .calque small { color: var(--panneau-texte-2); }
.calque .aq-texte, .calque .aq-lead { color: var(--panneau-texte); }
.calque a:not(.btn) { color: var(--panneau-accent); }
.calque .badge, .calque .aq-pastille { color: var(--panneau-puce-texte); background: var(--panneau-puce-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.calque .badge--marine { color: var(--panneau-btn-texte); background: var(--panneau-btn-fond); box-shadow: none; }
.calque .aq-icone { color: var(--panneau-icone); background: var(--panneau-icone-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.calque .features-list li { color: var(--panneau-texte); }
.calque .features-list li::before { background: var(--panneau-icone-fond); box-shadow: inset 0 0 0 1px var(--panneau-puce-bord); }
.calque .features-list li::after { background: var(--panneau-icone); }
.calque .features-list li.is-excluded { color: var(--panneau-texte-2); }
.calque .features-list li.is-excluded::before { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--panneau-filet); }
.calque .features-list li.is-excluded::after { background: var(--panneau-texte-2); }
.calque .btn-primary { color: var(--panneau-btn-texte); background: var(--panneau-btn-fond); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 14px 28px -16px rgba(0, 180, 216, .75); }
.calque .btn-primary:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 0 0 4px rgba(0, 212, 255, .2), 0 18px 34px -16px rgba(0, 180, 216, .85); }
.calque .btn-glass { color: var(--panneau-btn2-texte); background: var(--panneau-btn2-fond); box-shadow: inset 0 0 0 1px var(--panneau-btn2-bord); }
.calque .btn-glass:hover { background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px var(--panneau-accent); }
.calque hr, .calque .aq-filet { border: 0; height: 1px; background: var(--panneau-filet); }

/* =====================================================================
   7. BOUTONS
   - sur le papier : .btn-primary (marine) ; sur une photo ou un verre clair : .btn-glass ;
   - dans un panneau .calque : .btn-primary devient cyan, .btn-glass devient un contour clair ;
   - .btn-cyan : appel fort sur fond marine.
   ===================================================================== */
.btn {
  --btn-h: 50px;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--btn-h); padding: 0 24px;
  border: 0; border-radius: var(--r-pill);
  font: 600 .975rem/1.25 var(--font-text); letter-spacing: -.005em; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: transform var(--t-moyen) var(--ease-sortie), box-shadow var(--t-moyen) var(--ease-std), background-color var(--t-moyen) var(--ease-std), color var(--t-moyen) var(--ease-std);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, .34) 50%, rgba(255, 255, 255, 0) 70%);
  transform: translateX(-130%);
  transition: transform 750ms var(--ease-sortie);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: 90ms; }
.btn .ico-sm { transition: transform var(--t-moyen) var(--ease-sortie); }
.btn:hover .ico-sm { transform: translateX(3px); }
.aimant:hover { transform: none; }
.btn-primary, .btn-nav {
  color: #fff;
  background: linear-gradient(180deg, #17345a 0%, var(--marine-900) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), inset 0 0 0 1px rgba(10, 22, 40, .6), 0 14px 28px -16px rgba(10, 22, 40, .8);
}
.btn-primary:hover, .btn-nav:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 4px rgba(0, 180, 216, .2), 0 20px 36px -18px rgba(10, 22, 40, .8); }
.btn-glass {
  color: var(--marine-900);
  background: rgba(255, 255, 255, .78);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(10, 22, 40, .12), 0 10px 22px -16px rgba(10, 22, 40, .45);
}
.btn-glass::after { background: linear-gradient(105deg, rgba(0, 180, 216, 0) 30%, rgba(0, 180, 216, .16) 50%, rgba(0, 180, 216, 0) 70%); }
.btn-glass:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(0, 122, 153, .35), 0 14px 26px -16px rgba(10, 22, 40, .45); }
.btn-cyan {
  color: var(--marine-900);
  background: linear-gradient(180deg, var(--cyan-400) 0%, var(--cyan-500) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 16px 32px -16px rgba(0, 180, 216, .85);
}
.btn-cyan:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 0 0 4px rgba(0, 212, 255, .22), 0 20px 38px -16px rgba(0, 180, 216, .9); }
.btn-papier { color: var(--bouton-texte); background: var(--bouton-fond); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 14px 28px -16px rgba(10, 22, 40, .8); }
.btn-lg { --btn-h: 58px; padding: 0 30px; font-size: 1.04rem; }
.aq-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
/* Lien de texte souligné en cyan (« Lire le guide → ») */
.aq-lien {
  display: inline-flex; align-items: center; min-height: 44px; padding-bottom: 6px;
  font-weight: 650; color: var(--cyan-750); text-decoration: none;
  background: linear-gradient(var(--cyan-500), var(--cyan-500)) left 100% / 100% 2px no-repeat;
  transition: background-size var(--t-moyen) var(--ease-sortie), color var(--t-moyen) var(--ease-std);
}
.aq-lien:hover { background-size: 40% 2px; }

/* =====================================================================
   8. BARRE DE NAVIGATION pleine largeur en verre clair, logo posé sans pastille
   ===================================================================== */
#navbar { position: fixed; z-index: var(--z-nav); top: 0; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; }
.nav-shell {
  pointer-events: auto;
  width: 100%; min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px clamp(16px, 2.6vw, 40px);
  background: var(--nav-fond);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
  backdrop-filter: blur(24px) saturate(170%);
  box-shadow: inset 0 -1px 0 var(--nav-filet), 0 12px 30px -26px rgba(10, 22, 40, .5);
  transition: background var(--t-moyen) var(--ease-std), box-shadow var(--t-moyen) var(--ease-std);
}
#navbar.scrolled .nav-shell { background: var(--nav-fond-defile); box-shadow: inset 0 -1px 0 var(--nav-filet), 0 14px 34px -24px rgba(10, 22, 40, .5); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--nav-texte); border-radius: 18px; }
.logo-stack { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.logo-aq-img { width: auto; height: 34px; }
.logo-caption { font-size: .56rem; font-weight: 760; letter-spacing: .15em; line-height: 1; white-space: nowrap; color: var(--nav-texte); }
.logo-caption i { font-style: normal; font-weight: 400; color: var(--cyan-700); }
.nav-slogan { padding-left: 14px; border-left: 1px solid rgba(10, 22, 40, .14); font-size: .78rem; font-style: italic; line-height: 1.3; color: var(--ardoise-600); }
.nav-links { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-links a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 11px; white-space: nowrap;
  border-radius: 12px; font-size: .9rem; font-weight: 560; color: var(--nav-texte); text-decoration: none;
  transition: background-color var(--t-rapide) var(--ease-std);
}
.nav-links a:not(.btn):hover { background: rgba(10, 22, 40, .06); }
.nav-links a[aria-current="page"]:not(.btn) { background: rgba(0, 180, 216, .1); box-shadow: inset 0 -2px 0 var(--cyan-500); }
.lang-switch { display: inline-flex; padding: 3px; margin: 0 6px; border-radius: var(--r-pill); background: rgba(10, 22, 40, .06); box-shadow: inset 0 1px 2px rgba(10, 22, 40, .08); }
.lang-btn {
  min-width: 40px; min-height: 36px; padding: 0 10px;
  border: 0; border-radius: var(--r-pill); background: transparent; cursor: pointer;
  font-size: .76rem; font-weight: 680; letter-spacing: .06em; color: var(--ardoise-600);
  transition: background-color var(--t-rapide) var(--ease-std), color var(--t-rapide) var(--ease-std);
}
.lang-btn:hover { color: var(--marine-900); }
.lang-btn.active { color: #fff; background: var(--marine-900); box-shadow: 0 4px 10px -4px rgba(10, 22, 40, .6); }
.btn-nav { --btn-h: 46px; padding: 0 20px; font-size: .9rem; white-space: nowrap; }
.nav-mobile-controls { display: none; align-items: center; gap: 8px; }
/* Bouton « Menu » : privacy-controls.css le force à ≤ 1240 px (font-size 0 + libellé « Menu » en ::after) */
.mobile-menu-btn {
  flex: none; display: none; white-space: nowrap;
  min-height: 44px; min-width: 44px; padding: 0 16px 0 13px;
  border: 1px solid rgba(10, 22, 40, .14); border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .72); color: var(--marine-900);
  cursor: pointer; line-height: 1;
}
.mobile-menu-btn .ico { display: inline-block; vertical-align: middle; width: 20px; height: 20px; }
.mobile-menu-btn::after { font-size: .86rem !important; font-weight: 650; margin-left: 7px; vertical-align: middle; }

/* Menu mobile plein écran (se ferme avec Échap, par un lien, ou par le bouton de fermeture) */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px clamp(24px, 7vw, 56px) 40px;
  background: linear-gradient(160deg, rgba(248, 247, 243, .92), rgba(238, 241, 242, .88));
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  opacity: 0; visibility: hidden;
  overflow-y: auto; overscroll-behavior: contain;
  transition: opacity var(--t-moyen) var(--ease-std), visibility 0s linear var(--t-moyen);
}
.mobile-menu.active { opacity: 1; visibility: visible; transition: opacity var(--t-moyen) var(--ease-std); }
.mobile-menu a:not(.btn) {
  display: flex; align-items: center; min-height: 54px; flex: none;
  border-bottom: 1px solid rgba(10, 22, 40, .08);
  font-family: var(--font-text); font-weight: 750; font-size: clamp(1.5rem, 5.6vw, 2rem); line-height: 1.1; letter-spacing: -.02em;
  color: var(--marine-900); text-decoration: none;
}
.mobile-menu .btn-menu { margin-top: 28px; align-self: stretch; flex: none; --btn-h: 56px; }
.menu-close {
  position: absolute; top: 20px; right: 20px;
  width: 52px; height: 52px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: var(--marine-900); background: rgba(255, 255, 255, .85);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .12), 0 10px 20px -14px rgba(10, 22, 40, .5);
}

/* =====================================================================
   9. SECTIONS, ÉCARTS ET COMPOSANTS COMMUNS
   ===================================================================== */
.aq-section { padding-top: var(--ecart); }
.aq-section--ilot { padding: var(--ecart) var(--inset) 0; }   /* bloc photo à coins arrondis, presque pleine largeur */

/* Héro générique d'une page intérieure : photo pleine largeur à marges symétriques, panneau ancré au coin haut gauche.
   L'entrée de service du schéma part du bas de la photo (attribut data-entree-service). */
.aq-entete { position: relative; margin-left: calc(var(--lane) * -1); padding: calc(var(--nav-h) + 12px) var(--marge-photo) 0; }
.aq-entete-cadre {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-start;
  min-height: clamp(520px, 74svh, 820px);
  padding: var(--marge-panneau);
  border-radius: var(--r-xl);
  background: #26364b;
  box-shadow: 0 30px 60px -40px rgba(10, 22, 40, .55);
}
.aq-entete--courte .aq-entete-cadre { min-height: clamp(380px, 52svh, 560px); }
.aq-entete-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.aq-entete-photo img { width: 100%; height: 100%; object-fit: cover; }
.aq-entete-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 40, .22) 0%, rgba(10, 22, 40, 0) 26%), linear-gradient(90deg, rgba(10, 22, 40, .18), rgba(10, 22, 40, 0) 55%); }
.aq-entete-panneau {
  max-width: min(860px, 100%);
  padding: clamp(26px, 3.3vw, 46px) clamp(24px, 3.5vw, 50px);
  border-radius: 32px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .78) 0%, rgba(255, 255, 255, .64) 55%, rgba(244, 248, 250, .7) 100%);
  -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou);
  box-shadow: var(--reflet-interne), 0 50px 90px -46px rgba(10, 22, 40, .55), 0 14px 28px -20px rgba(10, 22, 40, .3);
}
.aq-entete-panneau h1 { margin-bottom: 20px; }
.aq-entete-texte { max-width: 60ch; font-size: clamp(1.04rem, .94rem + .4vw, 1.2rem); line-height: 1.6; color: #26354a; }

/* Panneau marine standard et grilles */
.aq-panneau { padding: clamp(24px, 3.2vw, 44px); border-radius: 32px; }
.aq-carte { padding: 28px 28px 30px; border-radius: 28px; }
.aq-grille { display: grid; gap: 18px; grid-template-columns: repeat(var(--colonnes, 3), minmax(0, 1fr)); }
.aq-grille--2 { --colonnes: 2; }
.aq-grille--4 { --colonnes: 4; }
.aq-icone {
  width: 52px; height: 52px; margin-bottom: 20px; border-radius: 17px;
  display: grid; place-items: center; color: var(--cyan-700);
  background: linear-gradient(145deg, #ffffff, rgba(226, 245, 250, .95));
  box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .2), 0 12px 22px -14px rgba(0, 122, 153, .7);
}
.aq-icone .ico { width: 26px; height: 26px; }
/* Photo encadrée (coins arrondis), à poser sur le papier ou dans une grille */
.aq-photo { position: relative; overflow: hidden; border-radius: 28px; background: #8d7a62; box-shadow: var(--ombre-2); }
.aq-photo img { width: 100%; height: 100%; object-fit: cover; }
.aq-photo--bandeau { height: clamp(190px, 21vw, 300px); }
.aq-photo--carre { aspect-ratio: 1; }
.aq-photo--portrait { aspect-ratio: 4 / 5; }

/* Pastilles (badges) */
.badge, .aq-pastille {
  display: inline-flex; align-items: center; align-self: flex-start;
  min-height: 30px; padding: 0 13px; border-radius: var(--r-pill);
  font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2;
  color: var(--cyan-750); background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .24), 0 6px 14px -12px rgba(0, 122, 153, .7);
}
.badge--marine { color: #fff; background: var(--marine-900); box-shadow: 0 8px 18px -12px rgba(10, 22, 40, .8); }

/* Liste à coches */
.features-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.features-list li { position: relative; padding-left: 33px; font-size: .97rem; line-height: 1.5; color: var(--ardoise-700); }
.features-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 21px; height: 21px; border-radius: 50%;
  background: rgba(0, 180, 216, .13); box-shadow: inset 0 0 0 1px rgba(0, 122, 153, .28);
}
.features-list li::after {
  content: ""; position: absolute; left: 5px; top: 6px; width: 11px; height: 11px;
  background: var(--cyan-700);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.4 2.4L10 3.2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4l2.4 2.4L10 3.2' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.features-list li.is-excluded { color: var(--ardoise-600); }
.features-list li.is-excluded::before { background: rgba(10, 22, 40, .05); box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .16); }
.features-list li.is-excluded::after {
  background: var(--ardoise-600);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Duo texte + photo (ou texte + panneau), qui passe en colonne sous 960 px */
.aq-duo { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.aq-duo--inverse > :first-child { order: 2; }

/* Appel final : photo à coins arrondis, boîte de verre clair ; la lampe du schéma s'allume dans la marge.
   <section class="aq-section aq-section--ilot" data-circuit data-charge-finale><div class="aq-appel" data-charge-cible>… */
.aq-appel {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: clamp(460px, 44vw, 640px);
  padding: clamp(20px, 4vw, 60px);
  border-radius: var(--r-xl);
  background: #1d2a44;
}
.aq-appel-photo { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.aq-appel-photo img { width: 100%; height: 100%; object-fit: cover; }
.aq-appel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 22, 40, .32) 0%, rgba(10, 22, 40, 0) 55%); }
.aq-appel-boite {
  max-width: 680px; padding: clamp(26px, 3.6vw, 48px); border-radius: 32px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .7) 58%, rgba(246, 248, 250, .78) 100%);
  -webkit-backdrop-filter: var(--verre-flou); backdrop-filter: var(--verre-flou);
  box-shadow: var(--reflet-interne), 0 56px 100px -48px rgba(10, 22, 40, .6);
}
.aq-appel-boite h2 { margin-bottom: 16px; }
.aq-appel-boite p { margin-bottom: 26px; font-size: 1.05rem; line-height: 1.62; color: var(--ardoise-700); }

/* Texte long (articles, pages légales) : feuille claire lisible, posée sur le papier */
.aq-prose { max-width: 74ch; font-size: 1.04rem; line-height: 1.72; color: var(--ardoise-700); }
.aq-prose > * + * { margin-top: 1.05em; }
.aq-prose h2 { margin-top: 1.9em; font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.1rem); line-height: 1.18; letter-spacing: -.025em; }
.aq-prose h3 { margin-top: 1.6em; font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); }
.aq-prose h2 + *, .aq-prose h3 + * { margin-top: .6em; }
.aq-prose a { color: var(--cyan-750); font-weight: 600; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.aq-prose a:hover { color: var(--marine-900); }
.aq-prose ul, .aq-prose ol { padding-left: 1.3em; }
.aq-prose li + li { margin-top: .4em; }
.aq-prose ul li::marker { color: var(--cyan-500); }
.aq-prose strong { color: var(--marine-900); }
.aq-prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 3px solid var(--cyan-500); border-radius: 0 14px 14px 0; background: rgba(0, 180, 216, .07); }
.aq-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.aq-prose th, .aq-prose td { padding: 10px 12px; border-bottom: 1px solid rgba(10, 22, 40, .1); text-align: left; vertical-align: top; }
.aq-prose th { font-weight: 700; color: var(--marine-900); }
.aq-feuille-texte { padding: clamp(24px, 4vw, 56px); border-radius: 28px; background: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .06), var(--ombre-2); }

/* Défiler / Scroll : petit repère au bas d'un héro */
.aq-defiler {
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 13px 12px 15px; border-radius: var(--r-pill);
  font-size: .66rem; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; color: #fff;
  background: rgba(10, 22, 40, .58);
  -webkit-backdrop-filter: blur(10px) saturate(140%); backdrop-filter: blur(10px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 24px -14px rgba(10, 22, 40, .7);
}
.aq-defiler span { position: relative; display: block; width: 1.5px; height: 30px; overflow: hidden; background: rgba(255, 255, 255, .3); border-radius: 2px; }
.aq-defiler span::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: #fff; animation: defiler 2.2s var(--ease-std) infinite; }

/* =====================================================================
   10. PIED DE PAGE : bande marine pleine largeur ; logo avec pastille #f3f3f3 sur fond foncé
   ===================================================================== */
footer { padding: var(--ecart) 0 0; }
.footer-panel {
  position: relative;
  padding: 30px var(--gutter) 14px calc(var(--lane) + var(--gutter));
  color: var(--pied-texte);
  background: var(--pied-fond);
}
.footer-inner { max-width: var(--contenu-max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 1fr)); gap: 22px 40px; }
.footer-logo { display: inline-flex; margin-bottom: 10px; padding: 7px 11px; border-radius: 13px; background: #f3f3f3; }
.footer-logo img { width: auto; height: 30px; }
.logo-text { margin-bottom: 8px; font-size: .78rem; font-weight: 760; letter-spacing: .17em; color: var(--pied-lien); }
.logo-sep { font-weight: 400; color: var(--pied-titre); }
.footer-brand p { max-width: 38ch; font-size: .88rem; line-height: 1.5; color: var(--pied-texte); }
.footer-col { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.footer-col h2, .footer-col h3, .footer-col h4 { margin-bottom: 6px; font-family: var(--font-text); font-size: .74rem; font-weight: 680; letter-spacing: .16em; line-height: 1.3; text-transform: uppercase; color: var(--pied-titre); }
.footer-col a:not(.btn) { display: inline-flex; align-items: center; min-height: 28px; font-size: .88rem; color: var(--pied-lien); text-decoration: none; }
.footer-col a:not(.btn):hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-meta { padding: 3px 0; font-size: .8rem; line-height: 1.4; color: var(--pied-texte); }
.footer-bottom {
  max-width: var(--contenu-max); margin: 18px auto 0; padding-top: 12px;
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 26px;
  border-top: 1px solid var(--pied-filet);
  font-size: .8rem; color: var(--pied-texte);
}
.footer-bottom a { color: var(--pied-lien); text-underline-offset: 3px; }
footer :focus-visible { outline-color: var(--cyan-400); }

/* =====================================================================
   11. AVIS DE TÉMOINS (privacy-controls.js) harmonisé au verre clair
   ===================================================================== */
.aq-cookie-banner {
  color: var(--marine-900);
  border: 0;
  background: rgba(251, 251, 250, .94);
  box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(10, 22, 40, .08), 0 30px 70px -30px rgba(10, 22, 40, .55);
}
.aq-cookie-copy h2 { font-family: var(--font-text); font-size: 1rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; color: var(--marine-900); }
.aq-cookie-copy p { color: var(--ardoise-600); }
.aq-cookie-copy a { color: var(--cyan-700); }
.aq-cookie-close { min-height: 44px; border: 0; border-radius: var(--r-pill); color: #fff; background: linear-gradient(180deg, #17345a, var(--marine-900)); box-shadow: 0 12px 26px -14px rgba(10, 22, 40, .8); }
.aq-cookie-trigger {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-pill);
  color: var(--marine-900); background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .1), 0 12px 30px -18px rgba(10, 22, 40, .55);
}

/* =====================================================================
   12. ENTRÉE ANIMÉE : éléments [data-intro] masqués le temps que GSAP prenne la main, au plus 0,3 s après le premier
   affichage (classe intro-passee posée par le script de la tête de page; secours : 2,6 s)
   ===================================================================== */
.intro:not(.intro-passee) [data-intro], .intro:not(.intro-passee) [data-intro-titre] { visibility: hidden; }

@keyframes pouls { 0%, 100% { box-shadow: 0 0 0 4px rgba(0, 180, 216, .18); } 50% { box-shadow: 0 0 0 8px rgba(0, 180, 216, .06); } }
@keyframes tourner { to { --angle: 360deg; } }
@keyframes defiler { 0% { top: -40%; } 70%, 100% { top: 100%; } }

/* =====================================================================
   13. REPLIS : sans flou, transparence réduite
   ===================================================================== */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .calque { background: var(--panneau-fond-plein); }
  .nav-shell { background: rgba(251, 251, 250, .97); }
  .mobile-menu { background: rgba(246, 247, 247, .98); }
  .glass--photo, .aq-entete-panneau, .aq-appel-boite { background: rgba(252, 252, 251, .95); }
}
@media (prefers-reduced-transparency: reduce) {
  .nav-shell, .mobile-menu, .glass--photo, .aq-entete-panneau, .aq-appel-boite { background: #fbfbfa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .calque { background: var(--panneau-fond-plein); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* =====================================================================
   14. ADAPTATIF
   ===================================================================== */
@media (max-width: 1340px) { .nav-slogan { display: none; } }
@media (max-width: 1240px) { .nav-shell { padding-right: 8px; } }
@media (max-width: 1100px) and (min-width: 701px) {
  .nav-links { gap: 0; }
  .nav-links a:not(.btn) { padding: 0 8px; font-size: .86rem; }
}
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .nav-mobile-controls { display: flex; }
  .mobile-menu-btn { display: block; }
}
@media (max-width: 960px) {
  .section-header--split { grid-template-columns: minmax(0, 1fr); }
  .aq-duo { grid-template-columns: minmax(0, 1fr); }
  .aq-duo--inverse > :first-child { order: 0; }
  .aq-appel { min-height: 0; align-items: flex-end; padding-top: clamp(260px, 48vw, 420px); }
  .aq-grille, .aq-grille--4 { --colonnes: 2; }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .schema .etape-terre { display: none; } }
@media (max-width: 700px) {
  .nav-shell { padding: 6px 10px; }
  .logo-aq-img { height: 28px; }
  .lang-btn { min-height: 44px; min-width: 44px; }
  .schema .c-grand, .c-grand { display: none; }
  .schema .c-petit, .c-petit { display: inline; }
  svg.schema.c-petit { display: block; }
  .schema .colonne { stroke-width: 1.7px; }
  .schema .t-moyen { stroke-width: 1.35px; stroke-opacity: .74; }
  .badge, .aq-pastille { border-radius: 12px; padding-block: 5px; }
  .aq-grille, .aq-grille--2, .aq-grille--4 { --colonnes: 1; }
  .aq-entete-cadre { border-radius: 28px; padding: 10px; align-items: flex-end; min-height: clamp(520px, 88svh, 760px); }
  .aq-entete-panneau { padding: 22px 20px; border-radius: 26px; }
  .aq-appel { padding: min(52vh, 380px) 10px 10px; border-radius: 28px; }
  .aq-appel-boite { padding: 26px 22px; border-radius: 26px; }
  .aq-appel-boite .btn { width: 100%; }
  .calque, .aq-feuille-texte { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .calque { background: var(--panneau-fond-plein); }
  .aq-boutons .btn { flex: 1 1 100%; }
  .footer-panel { padding: 28px var(--gutter) 76px calc(var(--lane) + var(--gutter)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
  .footer-brand, .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col a:not(.btn) { min-height: 40px; line-height: 1.35; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .plan .m0 { display: none; }
}
@media (max-width: 420px) {
  .btn { padding: 0 18px; font-size: .95rem; }
  .btn .ico-sm { display: none; }
  .btn-lg { padding: 0 20px; }
}

/* =====================================================================
   15. MOUVEMENT RÉDUIT : dessin et schéma complets et immobiles
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .btn:hover { transform: none; }
  .aq-defiler span::after { display: none; }
}

/* Sélecteur de langue : « FR » et « EN » centrés aussi quand ce sont des liens ou des étiquettes (30 octobre 2026) */
a.lang-btn, span.lang-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* =====================================================================
   Lots SEO du 1er novembre 2026 : sous-menu « Services », bouton « Consultation » mobile, premier écran mobile
   ===================================================================== */
.nav-deroulant { position: relative; display: flex; align-items: center; }
.nav-links .nav-deroulant > a.nav-deroulant-lien { padding-right: 4px; }
.nav-deroulant-btn { display: inline-grid; place-items: center; width: 28px; min-height: 44px; margin-left: -2px; padding: 0; border: 0; border-radius: 10px; background: none; color: var(--nav-texte); cursor: pointer; }
.nav-deroulant-btn:hover, .nav-deroulant-btn[aria-expanded="true"] { background: rgba(10, 22, 40, .06); }
.nav-deroulant-btn:focus-visible { outline: 3px solid var(--cyan-400); outline-offset: 1px; }
.nav-deroulant-btn .ico { transition: transform .2s ease; }
.nav-deroulant-btn[aria-expanded="true"] .ico, .nav-deroulant:hover .nav-deroulant-btn .ico { transform: rotate(180deg); }
.nav-sous-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 5; min-width: 300px; margin: 0; padding: 8px; list-style: none;
  border-radius: 16px; background: rgba(251, 251, 250, .98);
  box-shadow: inset 0 0 0 1px rgba(10, 22, 40, .08), 0 22px 44px -22px rgba(10, 22, 40, .45);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
}
.nav-sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-deroulant:hover .nav-sous-menu, .nav-deroulant:focus-within .nav-sous-menu, .nav-deroulant.est-ouvert .nav-sous-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease, visibility 0s;
}
.nav-sous-menu a:not(.btn) { display: flex; width: 100%; }
.nav-sous-menu a[aria-current="page"]:not(.btn) { background: rgba(0, 180, 216, .1); box-shadow: inset 3px 0 0 var(--cyan-500); }
.mobile-menu { overflow-y: auto; justify-content: safe center; }
.mobile-menu .menu-sous-liens { display: flex; flex-direction: column; flex: none; padding: 2px 0 8px 18px; border-bottom: 1px solid rgba(10, 22, 40, .08); }
.mobile-menu .menu-sous-liens a:not(.btn) { min-height: 44px; border-bottom: 0; font-size: 1.05rem; font-weight: 620; letter-spacing: 0; }
.mobile-menu .menu-sous-liens a[aria-current="page"] { color: var(--cyan-850, #0b6d84); }
.btn-nav-mobile { display: none; }
@media (max-width: 1240px) {
  .btn-nav-mobile { display: inline-flex; --btn-h: 40px; min-height: 40px; padding: 0 14px; font-size: .8rem; white-space: nowrap; }
}
@media (max-width: 480px) {
  .nav-mobile-controls { gap: 6px; }
  .nav-mobile-controls .lang-switch { margin: 0; }
  .nav-mobile-controls .lang-btn.active { display: none; }
  .btn-nav-mobile { --btn-h: 44px; min-height: 44px; padding: 0 12px; }
  .mobile-menu-btn { min-width: 44px; min-height: 44px; padding: 0 10px !important; }
  .mobile-menu-btn::after { content: none !important; }
}
@media (max-width: 700px) {
  :root { --taille-h1: 2.05rem; }
}
