/* ============================================================
   CHEDLIA BEN KRIMA — AUDIOPROTHESISTE · DESIGN V2 « L'ONDE »
   ------------------------------------------------------------
   Parti pris : le son rendu visible. Serif editoriale, ivoire
   chaud contre encre marine, formes d'onde en guise d'ornement.
   - tout est en rem : la taille du texte se regle via html[data-taille]
   - proprietes logiques partout : la page arabe est un vrai miroir
   - .p-sombre = panneau toujours sombre (heros, simulateur, pied...)
   ============================================================ */

/* ---------- Jetons ---------- */
:root {
  --encre: #071A3D;
  --marine: #0B2559;
  --roi: #1457C8;
  --cyan: #22C3E6;
  --cyan-encre: #086E8E;
  --ivoire: #F7F3EC;
  --ivoire-2: #EFE9DD;
  --papier: #FFFDF8;
  --brume: #E8F0F5;
  --ambre: #A35F0B;
  --ambre-vif: #E8A040;
  --ambre-doux: #FBEBD0;

  --fond: var(--ivoire);
  --fond-2: var(--ivoire-2);
  --fond-doux: var(--brume);
  --surface: var(--papier);
  --texte: #0A1B3D;
  --texte-2: #47546F;
  --filet: rgba(7, 26, 61, .18);
  --filet-doux: rgba(7, 26, 61, .09);
  --accent: var(--roi);
  --accent-2: var(--cyan-encre);
  --plein: var(--encre);
  --plein-texte: #FFFFFF;
  --plein-survol: var(--roi);
  --ombre: 0 1.5rem 3.5rem -1.5rem rgba(7, 26, 61, .28);
  --ombre-douce: 0 .75rem 2rem -1rem rgba(7, 26, 61, .18);

  --titre: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --corps: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --graisse-titre: 460;
  --interligne-titre: 1.04;
  --approche-titre: -.022em;

  --marge: clamp(1.25rem, 4.5vw, 4rem);
  --large: 77.5rem;
  --rayon: 1.75rem;
  --rayon-petit: 1rem;
  --douceur: cubic-bezier(.2, .8, .2, 1);
  --hauteur-dock: 0rem;
}

[dir="rtl"] {
  --titre: "Alexandria", "Noto Kufi Arabic", "Segoe UI", Tahoma, sans-serif;
  --corps: "IBM Plex Sans Arabic", "DM Sans", "Segoe UI", Tahoma, sans-serif;
  --graisse-titre: 600;
  --interligne-titre: 1.4;
  --approche-titre: 0;
}

[data-theme="dark"] {
  --fond: #050E22;
  --fond-2: #081530;
  --fond-doux: #0A1A38;
  --surface: #0C1D42;
  --texte: #EEF3FC;
  --texte-2: #A9B9D8;
  --filet: rgba(255, 255, 255, .18);
  --filet-doux: rgba(255, 255, 255, .08);
  --accent: #7DB6FF;
  --accent-2: var(--cyan);
  --plein: var(--cyan);
  --plein-texte: var(--encre);
  --plein-survol: #FFFFFF;
  --ambre: #F2B866;
  --ambre-doux: rgba(232, 160, 64, .13);
  --ombre: 0 1.5rem 3.5rem -1.5rem rgba(0, 0, 0, .7);
  --ombre-douce: 0 .75rem 2rem -1rem rgba(0, 0, 0, .55);
}

.p-sombre {
  --fond: var(--encre);
  --fond-2: var(--marine);
  --surface: rgba(255, 255, 255, .06);
  --texte: #F4F7FD;
  --texte-2: #B8C6E3;
  --filet: rgba(255, 255, 255, .2);
  --filet-doux: rgba(255, 255, 255, .09);
  --accent: var(--cyan);
  --accent-2: var(--cyan);
  --plein: var(--cyan);
  --plein-texte: var(--encre);
  --plein-survol: #FFFFFF;
  background: var(--fond);
  color: var(--texte);
}
[data-theme="dark"] .p-sombre { --fond: #030A1B; --fond-2: #071431; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html[data-taille="1"] { font-size: 110%; }
html[data-taille="2"] { font-size: 120%; }
html[data-taille="3"] { font-size: 130%; }

body {
  font-family: var(--corps);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body { line-height: 1.85; }

img, svg, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
address { font-style: normal; }
[hidden] { display: none !important; }
strong { font-weight: 700; }
sup { font-size: .6em; }

::selection { background: var(--cyan); color: var(--encre); }

:focus-visible {
  outline: .1875rem solid var(--cyan);
  outline-offset: .1875rem;
  border-radius: .375rem;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: var(--graisse-titre);
  line-height: var(--interligne-titre);
  letter-spacing: var(--approche-titre);
  font-optical-sizing: none;
  font-variation-settings: "opsz" 56;
  text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4rem); }
h3 { font-size: 1.4rem; line-height: 1.2; }
[dir="rtl"] h2 { font-size: clamp(1.8rem, 1.1rem + 2.7vw, 3.2rem); }
[dir="rtl"] h3 { line-height: 1.5; font-size: 1.25rem; }

a[href^="tel:"] { white-space: nowrap; }
p a:not(.btn):not(.lien-fleche):not(.outil), .qr-corps a, address a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .2em;
}

.bibliotheque { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.35rem; height: 1.35rem; flex: none; }
[dir="rtl"] .ic-fleche { transform: scaleX(-1); }
.ic-retour { transform: scaleX(-1); }
[dir="rtl"] .ic-retour { transform: none; }

.boite { width: min(100% - 2 * var(--marge), var(--large)); margin-inline: auto; }

.saut {
  position: fixed; inset-block-start: -6rem; inset-inline-start: 1rem; z-index: 300;
  background: var(--cyan); color: var(--encre); font-weight: 700;
  padding: .85rem 1.25rem; border-radius: 999px;
  transition: inset-block-start .2s;
}
.saut:focus { inset-block-start: 1rem; }

/* ---------- Mots forts : italique + sinusoide ---------- */
.onde, .hl-cyan {
  font-style: italic;
  font-weight: 420;
  color: var(--accent);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 12' preserveAspectRatio='none'%3E%3Cpath d='M0 6c5-5.4 15-5.4 20 0s15 5.4 20 0' fill='none' stroke='%2322C3E6' stroke-width='1.6' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") repeat-x 0 100% / 1.15em .2em;
  padding-block-end: .14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
[dir="rtl"] .onde, [dir="rtl"] .hl-cyan { font-style: normal; font-weight: 700; padding-block-end: .3em; background-size: 1.15em .16em; }

/* ---------- Barres d'egaliseur ---------- */
.barres {
  display: inline-flex; align-items: center; gap: .1875rem;
  height: 1.1rem; flex: none;
}
.barres i {
  display: block; width: .1875rem; height: 100%;
  border-radius: 999px; background: currentColor;
  transform-origin: center;
  animation: egaliseur 1.4s ease-in-out infinite;
}
.barres i:nth-child(1) { height: 35%; animation-delay: -.2s; }
.barres i:nth-child(2) { height: 75%; animation-delay: -.9s; }
.barres i:nth-child(3) { height: 100%; animation-delay: -.5s; }
.barres i:nth-child(4) { height: 60%; animation-delay: -1.1s; }
.barres i:nth-child(5) { height: 30%; animation-delay: -.7s; }
.barres-fixes i { animation: none; }
@keyframes egaliseur { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }

/* ---------- Reperes de section : « 01 —— Services » ---------- */
main { counter-reset: section; }
.repere {
  counter-increment: section;
  display: flex; align-items: center; gap: .9rem;
  font-size: .8125rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--texte-2);
  margin-block-end: 1.5rem;
}
.repere::before {
  content: counter(section, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif; font-size: 1.05rem; font-style: italic; font-weight: 400;
  letter-spacing: 0; color: var(--accent);
}
.repere::after {
  content: ""; order: 1; flex: none;
  width: 3rem; height: 1px; background: var(--filet);
}
.repere::before { order: 0; }
.repere { flex-direction: row; }
.repere > * { order: 2; }
[dir="rtl"] .repere { letter-spacing: 0; text-transform: none; font-size: 1rem; }

/* ---------- Tete de section asymetrique ---------- */
.section { position: relative; padding-block: clamp(4.5rem, 3rem + 7vw, 9.5rem); background: var(--fond); }
.tete {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 5vw, 5rem); align-items: end;
  margin-block-end: clamp(2.5rem, 2rem + 3vw, 5rem);
}
.tete-texte { color: var(--texte-2); font-size: 1.125rem; max-width: 34rem; padding-block-end: .4rem; }

.chapeau { font-size: 1.1875rem; color: var(--texte-2); max-width: 36rem; }
.chapeau strong { color: var(--texte); font-weight: 600; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 3.25rem; padding: .7rem 1.6rem;
  border-radius: 999px; border: .09375rem solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-align: center;
  transition: color .35s var(--douceur), border-color .35s var(--douceur), transform .2s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1;
  border-radius: inherit; background: var(--plein-survol);
  transform: translateY(102%);
  transition: transform .45s var(--douceur);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn-grand { min-height: 3.75rem; padding-inline: 2rem; font-size: 1.0625rem; }
.btn-bloc { width: 100%; }

.btn-plein { background: var(--plein); color: var(--plein-texte); }
.btn-plein:hover, .btn-plein:focus-visible { color: #FFFFFF; }
.p-sombre .btn-plein:hover, .p-sombre .btn-plein:focus-visible,
[data-theme="dark"] .btn-plein:hover, [data-theme="dark"] .btn-plein:focus-visible { color: var(--encre); }

.btn-trait { border-color: var(--filet); color: var(--texte); --plein-survol: var(--texte); }
.btn-trait:hover, .btn-trait:focus-visible { color: var(--fond); border-color: var(--texte); }

.btn-encre { background: var(--encre); color: #FFFFFF; --plein-survol: var(--roi); }
[data-theme="dark"] .btn-encre { background: var(--cyan); color: var(--encre); --plein-survol: #FFFFFF; }

.ricochet {
  position: absolute; z-index: -1; border-radius: 50%;
  width: 1rem; height: 1rem; margin: -.5rem;
  border: .125rem solid currentColor; opacity: .55;
  pointer-events: none;
  animation: ricochet .7s ease-out forwards;
}
@keyframes ricochet { to { transform: scale(14); opacity: 0; } }

.lien-fleche {
  display: inline-flex; align-items: center; gap: .75rem;
  min-height: 2.75rem;
  font-weight: 600; color: var(--texte);
  border-block-end: .09375rem solid var(--filet);
  padding-block: .4rem;
  transition: border-color .3s, gap .3s var(--douceur), color .3s;
}
.lien-fleche:hover { gap: 1.25rem; border-color: var(--accent); color: var(--accent); }

.lien-fort {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem;
  font-family: var(--titre); font-size: 1.6rem; color: var(--texte);
}
.lien-fort .ic { color: var(--accent); }

.avertissement {
  display: flex; gap: .8rem; align-items: flex-start;
  font-size: .9375rem; color: var(--texte-2);
  border-inline-start: .1875rem solid var(--accent-2);
  padding-inline-start: 1rem;
}
.avertissement .ic { color: var(--accent-2); margin-block-start: .2rem; width: 1.15rem; height: 1.15rem; }

.erreur {
  color: #A11B1B; font-weight: 600; font-size: .9375rem; margin-block-start: .5rem;
}
[data-theme="dark"] .erreur { color: #FFA9A0; }

/* ---------- Cadres d'images (repli : degrade + embleme) ---------- */
.cadre {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(34, 195, 230, .28), transparent 62%),
    linear-gradient(160deg, var(--marine), var(--encre));
}
.cadre img { width: 100%; height: 100%; object-fit: cover; }
.portrait img { object-position: 50% 12%; }

/* ---------- A propos sans photo : l'appareil auditif dessine ---------- */
.portrait--dessin {
  position: relative; overflow: hidden;
  --a-fond-1: #FFFFFF; --a-fond-2: #DCEBF5; --a-disque-1: #FFFFFF; --a-disque-2: #E6F1F8; --a-trait: rgba(20, 87, 200, .2);
}
[data-theme="dark"] .portrait--dessin {
  --a-fond-1: #123A86; --a-fond-2: #071A3D; --a-disque-1: #1C4FA8; --a-disque-2: #0B2559; --a-trait: rgba(34, 195, 230, .3);
}
.aide { position: absolute; inset: 0; width: 100%; height: 100%; }
[dir="rtl"] .aide { transform: scaleX(-1); }
.a-fond-1 { stop-color: var(--a-fond-1); }
.a-fond-2 { stop-color: var(--a-fond-2); }
.a-disque-1 { stop-color: var(--a-disque-1); }
.a-disque-2 { stop-color: var(--a-disque-2); }
.a-anneau { stroke: var(--a-trait); stroke-width: 1.2; animation: a-anneau 5s ease-in-out infinite; animation-delay: var(--d); }
@keyframes a-anneau { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
.a-appareil { transform-box: fill-box; transform-origin: 50% 40%; animation: a-flotte 8s ease-in-out infinite; }
@keyframes a-flotte { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-6px) rotate(1.2deg); } }
.a-barres rect { fill: var(--accent-2); opacity: .75; transform-box: fill-box; transform-origin: center; animation: egaliseur 1.8s ease-in-out infinite; animation-delay: var(--d); }
.cadre.sans-image img { visibility: hidden; }
.cadre.sans-image::after {
  content: ""; position: absolute; inset: 22%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 2.2rem rgba(255, 255, 255, .05), 0 0 0 4.4rem rgba(255, 255, 255, .03);
}

/* ---------- Revelations au defilement ---------- */
html.js [data-rev] {
  opacity: 0; transform: translateY(1.75rem);
  transition: opacity .9s var(--douceur), transform .9s var(--douceur), clip-path 1.1s var(--douceur);
  transition-delay: calc(var(--i, 0) * 90ms);
}
html.js [data-rev="masque"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); }
html.js [data-rev].vu { opacity: 1; transform: none; }
html.js [data-rev="masque"].vu { clip-path: inset(-45%); }

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  padding: 1rem clamp(.6rem, 2.2vw, 4rem) 0;
  pointer-events: none;
  transition: padding .4s var(--douceur);
}
.nav-pastille {
  pointer-events: auto;
  width: min(100%, 85rem); margin-inline: auto;
  display: flex; align-items: center; gap: 1rem;
  padding: .55rem .55rem .55rem 1.1rem;
  padding-inline: 1.1rem .55rem;
  border-radius: 999px;
  color: #FFFFFF;
  background: rgba(7, 26, 61, .38);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(1.1rem) saturate(1.4);
  backdrop-filter: blur(1.1rem) saturate(1.4);
  transition: background .4s, color .4s, border-color .4s, box-shadow .4s, padding .4s var(--douceur);
}
body.defile .nav { padding-block-start: .6rem; }
body.defile .nav-pastille {
  color: var(--encre);
  background: rgba(247, 243, 236, .82);
  border-color: rgba(7, 26, 61, .1);
  box-shadow: var(--ombre-douce);
  padding-block: .35rem;
}
[data-theme="dark"] body.defile .nav-pastille {
  color: #EEF3FC; background: rgba(8, 21, 48, .82); border-color: rgba(255, 255, 255, .14);
}

.marque { display: flex; align-items: center; gap: .75rem; min-width: 0; min-height: 2.75rem; margin-inline-end: auto; }
.marque-embleme {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: #FFFFFF; padding: .3rem;
  box-shadow: 0 0 0 1px rgba(7, 26, 61, .08);
}
.marque-embleme img { width: 100%; height: 100%; object-fit: contain; }
.marque-grande { width: 4.5rem; height: 4.5rem; padding: .55rem; }
.marque-texte { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.marque-texte strong { font-family: var(--titre); font-weight: 500; font-size: 1.125rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.marque-texte small { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .72; white-space: nowrap; }
[dir="rtl"] .marque-texte { line-height: 1.4; }
[dir="rtl"] .marque-texte strong { font-weight: 700; font-size: 1.05rem; letter-spacing: 0; }
[dir="rtl"] .marque-texte small { letter-spacing: 0; text-transform: none; font-size: .78rem; }

.nav-liens { display: none; align-items: center; gap: .15rem; }
.nav-liens a {
  position: relative; display: inline-flex; align-items: center;
  min-height: 2.75rem; padding-inline: .7rem;
  font-size: .9375rem; font-weight: 500; white-space: nowrap;
  border-radius: 999px;
  transition: background .25s;
}
.nav-liens a::after {
  content: ""; position: absolute; inset-inline: .7rem; inset-block-end: .5rem;
  height: .125rem; border-radius: 999px; background: var(--cyan);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .35s var(--douceur);
}
[dir="rtl"] .nav-liens a::after { transform-origin: 100% 50%; }
.nav-liens a:hover::after, .nav-liens a[aria-current="true"]::after { transform: none; }

.nav-outils { display: flex; align-items: center; gap: .35rem; flex: none; }
.outil {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-width: 2.75rem; min-height: 2.75rem; padding-inline: .6rem;
  border-radius: 999px; font-size: .9375rem; font-weight: 600;
  transition: background .25s, color .25s;
}
.outil:hover { background: rgba(127, 140, 170, .22); }
.outil .ic { width: 1.25rem; height: 1.25rem; }
.outil-groupe { display: inline-flex; border-radius: 999px; box-shadow: inset 0 0 0 1px currentColor; opacity: .92; }
.outil-groupe { box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
.outil-langue { padding-inline: .9rem; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 28%, transparent); }
.outil-langue span { font-family: "IBM Plex Sans Arabic", "DM Sans", sans-serif; }
[data-theme="light"] .ic-nuit, [data-theme="dark"] .ic-jour { display: none; }
.nav .outil-groupe, .nav .outil[data-theme-toggle] { display: none; }

.btn-nav { min-height: 2.75rem; padding-inline: 1.25rem; font-size: .9375rem; white-space: nowrap; background: var(--cyan); color: var(--encre); --plein-survol: #FFFFFF; }
.btn-nav:hover { color: var(--encre); }
body.defile .btn-nav { background: var(--encre); color: #FFFFFF; --plein-survol: var(--roi); }
body.defile .btn-nav:hover { color: #FFFFFF; }
[data-theme="dark"] body.defile .btn-nav { background: var(--cyan); color: var(--encre); --plein-survol: #FFFFFF; }
[data-theme="dark"] body.defile .btn-nav:hover { color: var(--encre); }

.burger { display: grid; gap: .3125rem; width: 1.35rem; }
.burger i { display: block; height: .125rem; border-radius: 999px; background: currentColor; }
.burger i:nth-child(2) { width: 65%; }

/* ---------- Menu plein ecran ---------- */
.menu {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column;
  padding: 1.25rem var(--marge) calc(1.5rem + env(safe-area-inset-bottom));
  overflow-y: auto;
  background:
    radial-gradient(60rem 30rem at 110% -10%, rgba(34, 195, 230, .22), transparent 60%),
    radial-gradient(40rem 30rem at -20% 110%, rgba(20, 87, 200, .4), transparent 60%),
    var(--encre);
  animation: menu-entree .45s var(--douceur);
}
@keyframes menu-entree { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0); } }
.menu-tete { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 3.5rem; }
.menu-devise { font-family: var(--titre); font-style: italic; color: var(--cyan); font-size: 1rem; }
[dir="rtl"] .menu-devise { font-style: normal; }
.menu-tete .outil { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.menu-liens { counter-reset: lien; display: grid; margin-block: 1.5rem auto; }
.menu-liens a {
  counter-increment: lien;
  display: flex; align-items: baseline; gap: 1.1rem;
  padding-block: .7rem; min-height: 3.25rem;
  font-family: var(--titre); font-size: clamp(1.6rem, 1.1rem + 3vw, 2.6rem); line-height: 1.15;
  border-block-end: 1px solid rgba(255, 255, 255, .12);
  transition: color .25s, padding-inline-start .35s var(--douceur);
}
[dir="rtl"] .menu-liens a { line-height: 1.5; font-size: clamp(1.4rem, 1rem + 2.4vw, 2.1rem); }
.menu-liens a::before {
  content: counter(lien, decimal-leading-zero);
  font-family: var(--corps); font-size: .8125rem; font-weight: 600; letter-spacing: .08em;
  color: var(--cyan); min-width: 1.75rem;
}
.menu-liens a:hover, .menu-liens a:focus-visible { color: var(--cyan); padding-inline-start: .6rem; }
.menu-pied { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; padding-block-start: 1.5rem; }
body.menu-ouvert { overflow: hidden; }

/* ---------- Vumetre de defilement ---------- */
.vumetre {
  position: fixed; z-index: 90;
  inset-block-start: 50%; inset-inline-end: 1.1rem;
  transform: translateY(-50%);
  display: none; flex-direction: column-reverse; gap: .3125rem; align-items: flex-end;
  mix-blend-mode: difference; color: #FFFFFF;
  pointer-events: none;
}
.vumetre i {
  display: block; width: .75rem; height: .1875rem; border-radius: 999px;
  background: currentColor; opacity: .28;
  transition: width .3s var(--douceur), opacity .3s;
}
.vumetre i.on { width: 1.5rem; opacity: 1; }

/* ============================================================
   HEROS
============================================================ */
.heros {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding-block-start: clamp(6.5rem, 5rem + 3vw, 7.5rem);
  background:
    radial-gradient(70rem 40rem at 85% 10%, rgba(20, 87, 200, .55), transparent 62%),
    radial-gradient(50rem 36rem at -10% 100%, rgba(34, 195, 230, .16), transparent 60%),
    linear-gradient(180deg, #071A3D, #061633 70%, #051129);
}
.heros-onde { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.heros-grille {
  position: relative; flex: 1;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
  padding-block: clamp(1.5rem, 3vw, 3rem);
}
.surtitre {
  display: inline-flex; align-items: center; gap: .85rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
  margin-block-end: 1.75rem;
}
[dir="rtl"] .surtitre { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.heros h1 {
  font-size: clamp(2.7rem, 1.3rem + 5vw, 5.5rem);
  font-weight: 440; line-height: 1.02; letter-spacing: -.028em;
  max-width: 15ch;
}
[dir="rtl"] .heros h1 { font-size: clamp(2.2rem, 1.2rem + 4.4vw, 4.6rem); font-weight: 600; line-height: 1.35; letter-spacing: 0; max-width: 14ch; }
.heros h1 .onde, .heros h1 .hl-cyan { color: var(--cyan); font-weight: 400; }
[dir="rtl"] .heros h1 .onde { font-weight: 700; }
.heros-slogan {
  font-family: var(--titre); font-style: italic; font-size: 1.35rem;
  color: #DCE8FB; margin-block: 1.5rem .6rem;
}
[dir="rtl"] .heros-slogan { font-style: normal; font-size: 1.2rem; }
.heros .chapeau { max-width: 33rem; }
.actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-block-start: 2rem; }

.heros-visuel { position: relative; justify-self: end; width: min(100%, 27rem, 52vh); }
.arche {
  aspect-ratio: 12 / 13.5;
  border-radius: 999px 999px 1.5rem 1.5rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 0 0 .75rem rgba(255, 255, 255, .05), 0 3rem 5rem -2rem rgba(0, 0, 0, .7);
}
.arche img { object-position: 50% 30%; }
.anneaux { position: absolute; inset: 0; z-index: -1; }
.anneaux i {
  position: absolute; inset-block-start: 38%; inset-inline-start: 50%;
  width: 100%; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(34, 195, 230, .34);
  transform: translate(-50%, -50%) scale(var(--e));
  animation: anneau 7s ease-in-out infinite;
}
[dir="rtl"] .anneaux i { transform: translate(50%, -50%) scale(var(--e)); }
.anneaux i:nth-child(1) { --e: 1.22; animation-delay: 0s; }
.anneaux i:nth-child(2) { --e: 1.5; animation-delay: -1.5s; border-color: rgba(34, 195, 230, .24); }
.anneaux i:nth-child(3) { --e: 1.82; animation-delay: -3s; border-color: rgba(34, 195, 230, .16); }
.anneaux i:nth-child(4) { --e: 2.2; animation-delay: -4.5s; border-color: rgba(34, 195, 230, .1); }
@keyframes anneau { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- Heros sans photo : l'oreille d'ondes ---------- */
.heros-visuel--oeuvre { width: min(100%, 35rem, 68vh); }
.oeuvre { position: relative; aspect-ratio: 600 / 660; margin-inline-start: -6%; }
.oeuvre-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
[dir="rtl"] .oeuvre-svg { transform: scaleX(-1); }
.h-halo { transform-box: fill-box; transform-origin: center; animation: h-souffle 7s ease-in-out infinite; }
@keyframes h-souffle { 0%, 100% { opacity: .7; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.h-onde {
  transform-box: fill-box; transform-origin: center;
  vector-effect: non-scaling-stroke;
  transform: scale(var(--s)); opacity: var(--o);
  animation: h-propage 7s linear infinite; animation-delay: var(--d);
}
@keyframes h-propage {
  0% { transform: scale(.4); opacity: 0; }
  18% { opacity: .8; }
  100% { transform: scale(1.04); opacity: 0; }
}
.h-fil { stroke-dasharray: 3 12; animation: h-coule 2.4s linear infinite; }
@keyframes h-coule { to { stroke-dashoffset: -30; } }
.h-oreille-lueur { animation: h-lueur 7s ease-in-out infinite; }
@keyframes h-lueur { 0%, 100% { opacity: .5; } 50% { opacity: .85; } }
.h-point { transform-box: fill-box; transform-origin: center; animation: h-scintille 5.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes h-scintille { 0%, 100% { opacity: .35; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.15); } }
.heros-visuel--oeuvre .devise {
  position: static; writing-mode: horizontal-tb; transform: none;
  justify-content: center; margin-block-start: .25rem; margin-inline-start: 10%;
  color: rgba(255, 255, 255, .7);
}

.devise {
  position: absolute; top: 0; bottom: 0; right: calc(100% + 1.6rem);
  writing-mode: vertical-rl; transform: rotate(180deg);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(255, 255, 255, .62); white-space: nowrap;
}
[dir="rtl"] .devise {
  position: static; writing-mode: horizontal-tb; transform: none;
  margin-block-start: 1.1rem; letter-spacing: 0; text-transform: none; font-size: .95rem;
}

.heros-bande {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, .16);
  padding-block: 1.1rem 1.35rem;
}
.bande-liste { display: flex; flex-wrap: wrap; gap: .4rem 2.25rem; font-size: .9375rem; color: #DCE8FB; }
.bande-liste li { display: inline-flex; align-items: center; gap: .7rem; min-height: 2.75rem; }
.bande-liste a { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; font-weight: 700; font-size: 1.0625rem; color: #FFFFFF; }
.bande-liste .ic, .bande-liste .barres { color: var(--cyan); }
.defiler {
  display: inline-flex; align-items: center; gap: .9rem; min-height: 2.75rem; flex: none;
  font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #DCE8FB;
}
[dir="rtl"] .defiler { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.defiler-trait { position: relative; width: 1px; height: 2.25rem; background: rgba(255, 255, 255, .25); overflow: hidden; }
.defiler-trait::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 45%;
  background: var(--cyan);
  animation: defiler 2.2s var(--douceur) infinite;
}
@keyframes defiler { from { transform: translateY(-110%); } to { transform: translateY(240%); } }

/* ---------- Mots geants ---------- */
.mots { overflow: hidden; background: var(--fond); padding-block: clamp(2rem, 4vw, 3.5rem) 0; }
.mots-piste {
  display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3rem);
  width: max-content;
  font-family: var(--titre); font-style: italic; font-weight: 340;
  font-size: clamp(3rem, 1.5rem + 8vw, 8.5rem); line-height: 1.1;
  white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px var(--filet);
  transform: translate3d(var(--derive, 0), 0, 0);
  will-change: transform;
}
.mots-sep { width: .42em; height: .42em; flex: none; color: var(--accent-2); opacity: .7; }
[dir="rtl"] .mots-piste {
  font-style: normal; font-weight: 700; line-height: 1.5;
  font-size: clamp(2.6rem, 1.4rem + 6vw, 6.5rem);
  -webkit-text-stroke: 0; color: var(--filet-doux);
}

/* ============================================================
   A PROPOS
============================================================ */
.apropos { padding-block-start: clamp(3rem, 6vw, 6rem); }
.apropos-grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6.5rem); align-items: center;
}
.apropos-visuel { position: relative; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: 1.5rem;
  border-start-start-radius: 14rem; border-start-end-radius: 14rem;
  box-shadow: var(--ombre);
}
.apropos-visuel::before {
  content: ""; position: absolute; z-index: -1;
  inset: 1.25rem -1.25rem -1.25rem 1.25rem;
  border: 1px solid var(--filet);
  border-radius: 1.5rem; border-start-start-radius: 14rem; border-start-end-radius: 14rem;
}
[dir="rtl"] .apropos-visuel::before { inset: 1.25rem 1.25rem -1.25rem -1.25rem; }
.legende {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin-block-start: 2.5rem;
  font-family: var(--titre); font-style: italic; font-size: 1.05rem; color: var(--texte-2);
}
[dir="rtl"] .legende { font-style: normal; }
.legende .barres { color: var(--accent-2); }

.citation { position: relative; margin-block: 2.25rem; padding-inline-start: 4.25rem; }
.citation-onde {
  position: absolute; inset-inline-start: 0; inset-block-start: .2rem;
  width: 3rem; height: 3rem; color: var(--accent-2);
}
.citation p {
  font-family: var(--titre); font-style: italic; font-weight: 360;
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); line-height: 1.25;
  color: var(--texte);
}
[dir="rtl"] .citation p { font-style: normal; font-weight: 500; line-height: 1.6; font-size: clamp(1.35rem, 1rem + 1.3vw, 1.9rem); }
.colonnes { columns: 2 16rem; column-gap: 2.5rem; color: var(--texte-2); }
.colonnes p { break-inside: avoid; margin-block-end: 1rem; }
.colonnes strong { color: var(--texte); font-weight: 600; }

.valeurs {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: clamp(3.5rem, 7vw, 6.5rem);
  border-block-start: 1px solid var(--filet);
}
.valeur { padding: 2rem 1.75rem 0 0; padding-inline: 0 1.75rem; border-inline-end: 1px solid var(--filet-doux); margin-inline-end: 1.75rem; }
.valeur:last-child { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }
.valeur .ic { width: 2rem; height: 2rem; color: var(--accent); margin-block-end: 1.5rem; }
.valeur h3 { font-size: 1.3rem; margin-block-end: .6rem; }
.valeur p { font-size: .9688rem; color: var(--texte-2); }
.apropos-suite { margin-block-start: 3rem; }

/* ============================================================
   POUR QUI : volets
============================================================ */
.publics { background: var(--fond-2); }
.volets { display: flex; gap: .85rem; min-height: 31rem; }
.volet {
  position: relative; overflow: hidden; isolation: isolate;
  flex: 1 1 0; min-width: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(1.5rem, 2.4vw, 2.5rem);
  border-radius: 2rem;
  color: #FFFFFF;
  background: linear-gradient(165deg, var(--marine), var(--encre));
  cursor: pointer;
  transition: flex-grow .7s var(--douceur);
}
.volet.ton-blue { background: linear-gradient(165deg, #1E6BE6, var(--roi) 45%, #0E3F96); }
.volet.ton-cyan { background: linear-gradient(165deg, #6FDDF5, var(--cyan)); color: var(--encre); }
.volet.ton-aqua { background: linear-gradient(165deg, #E3F5FB, #BFE7F4); color: var(--encre); }
.volet.actif { flex-grow: 2.6; }
.volet-onde {
  position: absolute; z-index: -1;
  width: 34rem; height: 34rem; max-width: none;
  inset-block-start: -11rem; inset-inline-end: -13rem;
  opacity: .3;
  transition: transform 1s var(--douceur), opacity .6s;
}
.volet.actif .volet-onde { transform: scale(1.12); opacity: .5; }
.volet-ic { width: 2.75rem; height: 2.75rem; margin-block-end: auto; stroke-width: 1.2; }
.volet h3 {
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.4rem); font-weight: 380; line-height: 1;
  margin-block-end: 0;
}
[dir="rtl"] .volet h3 { font-weight: 700; line-height: 1.4; font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.6rem); }
.volet p {
  font-size: 1.0625rem; max-width: 26rem;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .7s var(--douceur), opacity .5s, margin .7s var(--douceur);
}
.volet.actif p { max-height: 12rem; opacity: .95; margin-block-start: 1rem; }

/* ============================================================
   SERVICES : bento
============================================================ */
.services { background: var(--surface); }
[data-theme="dark"] .services { background: var(--fond); }
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(15.5rem, auto); grid-auto-flow: dense;
  gap: 1rem;
}
.tuile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: clamp(1.4rem, 2vw, 2.1rem);
  border-radius: var(--rayon);
  background: var(--fond);
  border: 1px solid var(--filet-doux);
  transition: transform .5s var(--douceur), box-shadow .5s var(--douceur);
}
[data-theme="dark"] .tuile { background: var(--surface); }
.tuile:hover { transform: translateY(-.35rem); box-shadow: var(--ombre); }
.tuile-ic {
  display: grid; place-items: center; align-self: flex-end;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  border: 1px solid var(--filet); color: var(--accent);
  transition: background .4s, color .4s, border-color .4s;
}
.tuile:hover .tuile-ic { background: var(--accent); color: var(--fond); border-color: var(--accent); }
.tuile h3 { font-size: 1.45rem; margin-block-end: .6rem; }
.tuile p { color: var(--texte-2); font-size: .9688rem; max-width: 30rem; }
.tuile-forme {
  position: absolute; z-index: -1; inset-inline: 0; inset-block-end: 0;
  width: 100%; height: 5rem; transform: scaleY(-1);
  color: currentColor; opacity: 0;
}

.tuile:nth-child(6n + 1) {
  grid-column: span 2; grid-row: span 2;
  --texte-2: #C3D0EA; --filet: rgba(255, 255, 255, .25); --accent: var(--cyan); --fond: var(--encre);
  background: radial-gradient(34rem 22rem at 100% 0, rgba(20, 87, 200, .75), transparent 65%), linear-gradient(165deg, var(--marine), #061633);
  color: #FFFFFF; border-color: transparent;
}
.tuile:nth-child(6n + 1) h3 { font-size: clamp(2rem, 1.4rem + 1.8vw, 3rem); margin-block-end: 1rem; }
.tuile:nth-child(6n + 1) p { font-size: 1.0938rem; max-width: 26rem; }
.tuile:nth-child(6n + 1) .tuile-ic { width: 4.5rem; height: 4.5rem; }
.tuile:nth-child(6n + 1) .tuile-ic .ic { width: 2rem; height: 2rem; }
.tuile:nth-child(6n + 1) .tuile-forme { opacity: .22; height: 42%; inset-block: 0 auto; transform: none; color: var(--cyan);
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
.tuile:nth-child(6n + 2), .tuile:nth-child(6n + 5), .tuile:nth-child(6n) { grid-column: span 2; }
.tuile:nth-child(6n + 3) {
  --texte-2: #0A2A4D; --filet: rgba(7, 26, 61, .3); --accent: var(--encre); --fond: var(--cyan);
  background: linear-gradient(165deg, #7FE1F6, var(--cyan)); color: var(--encre); border-color: transparent;
}
.tuile:nth-child(6n + 5) {
  --texte-2: #DCE8FB; --filet: rgba(255, 255, 255, .3); --accent: #FFFFFF; --fond: var(--roi);
  background: linear-gradient(165deg, #1E6BE6, var(--roi) 50%, #0E3F96); color: #FFFFFF; border-color: transparent;
}
.tuile:nth-child(6n + 5) .tuile-forme { opacity: .16; height: 55%; inset-block: 0 auto; transform: none;
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }

/* ============================================================
   BEBE
============================================================ */
.bebe { background: var(--fond-doux); overflow: hidden; }
.bebe-grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: center;
  padding-inline-end: max(var(--marge), calc((100vw - var(--large)) / 2));
}
.bebe-visuel { position: relative; align-self: stretch; min-height: 34rem; }
.bebe-photo {
  position: absolute; inset: 0;
  border-start-end-radius: 16rem; border-end-end-radius: 2rem;
  box-shadow: var(--ombre);
}
.bebe-photo img { object-position: 45% 30%; }

/* ---------- Bebe sans photo : le mobile de berceau ---------- */
.bebe-photo--dessin { overflow: hidden; background: #0B2559; }
.berceau { position: absolute; inset: 0; width: 100%; height: 100%; }
.b-pendule { transform-origin: var(--ox) var(--oy); animation: b-balance var(--t) ease-in-out infinite; animation-delay: var(--d); }
@keyframes b-balance { 0%, 100% { transform: rotate(calc(var(--a) * -1)); } 50% { transform: rotate(var(--a)); } }
.b-scintille { transform-box: fill-box; transform-origin: center; animation: h-scintille 4.6s ease-in-out infinite; animation-delay: var(--d); }
.b-ondes path { opacity: .55; animation: b-onde 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes b-onde { 0%, 100% { opacity: .15; } 50% { opacity: .85; } }
.bebe-citation {
  position: absolute; inset-block-end: 2rem; inset-inline: var(--marge) 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 1.5rem;
  color: #FFFFFF;
  background: rgba(7, 26, 61, .62);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(.9rem);
  backdrop-filter: blur(.9rem);
}
.bebe-citation p { font-family: var(--titre); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); line-height: 1.25; }
[dir="rtl"] .bebe-citation p { font-style: normal; line-height: 1.6; font-weight: 500; }
.bebe-sous { font-family: var(--titre); font-style: italic; font-size: 1.35rem; color: var(--accent); margin-block-start: 1.25rem; }
[dir="rtl"] .bebe-sous { font-style: normal; font-size: 1.2rem; }
.pourquoi { margin-block: 2.25rem; max-width: 40rem; }
.pourquoi h3 { margin-block-end: .6rem; }
.pourquoi p { color: var(--texte-2); }
.bebe-listes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; margin-block-end: 2.75rem; }
.liste-titre {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--corps); font-size: .875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent);
  padding-block-end: 1rem; border-block-end: .125rem solid currentColor;
}
[dir="rtl"] .liste-titre { letter-spacing: 0; text-transform: none; font-size: 1.05rem; line-height: 1.5; }
.liste-alerte { color: var(--ambre); }
.filets li {
  display: flex; align-items: flex-start; gap: .9rem;
  padding-block: 1rem; border-block-end: 1px solid var(--filet);
}
.filets .ic { color: var(--accent-2); margin-block-start: .2rem; }

/* ============================================================
   SIMULATEUR
============================================================ */
.simulateur {
  overflow: hidden;
  background:
    radial-gradient(60rem 34rem at 50% 118%, rgba(20, 87, 200, .6), transparent 65%),
    linear-gradient(180deg, #071A3D, #051129);
  padding-block-start: clamp(7rem, 5rem + 8vw, 12rem);
}
.forme { position: absolute; inset-inline: 0; width: 100%; height: clamp(2.5rem, 5vw, 4.5rem); }
.forme-haut { inset-block-start: -1px; color: var(--brume); }
[data-theme="dark"] .forme-haut { color: #0A1A38; }
.sim {
  position: relative; overflow: hidden;
  border: 1px solid var(--filet); border-radius: 2.25rem;
  padding: clamp(1.5rem, 4vw, 4rem);
  background: rgba(255, 255, 255, .035);
}
.sim { display: flex; flex-direction: column; }
.sim-phrase { order: 1; }
.sim-spectre {
  order: 2;
  display: flex; align-items: flex-end; gap: .25rem;
  height: clamp(5rem, 3rem + 8vw, 9.5rem);
  margin-block-start: clamp(1.5rem, 3vw, 3rem);
  border-block-end: 1px solid var(--filet);
  pointer-events: none;
}
.sim-commande { order: 3; }
.sim-spectre i {
  flex: 1; min-width: 0; border-radius: 999px 999px 0 0;
  height: calc(var(--h, 50) * 1%);
  background: linear-gradient(to top, var(--roi), var(--cyan));
  transition: height .8s var(--douceur), opacity .8s;
}
.sim-phrase {
  position: relative;
  font-family: var(--titre); font-weight: 380;
  font-size: clamp(1.9rem, 1rem + 4.2vw, 4.6rem); line-height: 1.12; letter-spacing: -.02em;
  min-height: 2.3em;
  max-width: 22ch;
  text-wrap: balance;
}
[dir="rtl"] .sim-phrase { font-weight: 600; line-height: 1.6; letter-spacing: 0; font-size: clamp(1.7rem, 1rem + 3.4vw, 3.6rem); }
.sim-phrase .mot { display: inline-block; white-space: nowrap; }
.sim-phrase .f1, .sim-phrase .f2, .sim-phrase .f3 {
  display: inline-block;
  transition: opacity .7s var(--douceur), filter .7s var(--douceur);
}
[dir="rtl"] .sim-phrase .f1, [dir="rtl"] .sim-phrase .f2, [dir="rtl"] .sim-phrase .f3 { display: inline; }
.sim[data-niveau="1"] .f1 { opacity: .3; filter: blur(.06em); }
.sim[data-niveau="2"] .f1 { opacity: .07; filter: blur(.14em); }
.sim[data-niveau="2"] .f2 { opacity: .32; filter: blur(.06em); }
.sim[data-niveau="3"] .f1, .sim[data-niveau="3"] .f2 { opacity: .04; filter: blur(.18em); }
.sim[data-niveau="3"] .f3 { opacity: .16; filter: blur(.1em); }

.sim-commande {
  position: relative;
  display: grid; grid-template-columns: 1fr auto; gap: .5rem 1.5rem; align-items: baseline;
  margin-block-start: clamp(1.75rem, 3vw, 2.75rem);
}
.sim-label { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); }
[dir="rtl"] .sim-label { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.sim-niveau { font-family: var(--titre); font-style: italic; font-size: 1.5rem; color: var(--cyan); text-align: end; }
[dir="rtl"] .sim-niveau { font-style: normal; font-size: 1.3rem; }
.sim-curseur {
  grid-column: 1 / -1;
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 3rem; background: transparent; cursor: pointer;
}
.sim-curseur::-webkit-slider-runnable-track { height: .375rem; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--roi) 60%, rgba(255, 255, 255, .2)); }
[dir="rtl"] .sim-curseur::-webkit-slider-runnable-track { background: linear-gradient(270deg, var(--cyan), var(--roi) 60%, rgba(255, 255, 255, .2)); }
.sim-curseur::-moz-range-track { height: .375rem; border-radius: 999px; background: linear-gradient(90deg, var(--cyan), var(--roi) 60%, rgba(255, 255, 255, .2)); }
.sim-curseur::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 2.25rem; height: 2.25rem; margin-block-start: -.9375rem;
  border-radius: 50%; background: #FFFFFF;
  border: .5rem solid var(--cyan);
  box-shadow: 0 0 0 .5rem rgba(34, 195, 230, .22), 0 .5rem 1.25rem rgba(0, 0, 0, .45);
  transition: box-shadow .3s;
}
.sim-curseur::-moz-range-thumb {
  width: 1.25rem; height: 1.25rem;
  border-radius: 50%; background: #FFFFFF;
  border: .5rem solid var(--cyan);
  box-shadow: 0 0 0 .5rem rgba(34, 195, 230, .22), 0 .5rem 1.25rem rgba(0, 0, 0, .45);
}
.sim-curseur:hover::-webkit-slider-thumb, .sim-curseur:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 .85rem rgba(34, 195, 230, .28), 0 .5rem 1.25rem rgba(0, 0, 0, .45); }
.sim-curseur:focus-visible { outline-offset: .5rem; }
.sim-niveaux { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; }
.sim-niveaux li { display: flex; }
.sim-niveaux li:nth-child(n + 2) { justify-content: center; }
.sim-niveaux li:last-child { justify-content: flex-end; }
.sim-niveaux button {
  min-height: 2.75rem; padding-inline: .2rem;
  font-size: .875rem; font-weight: 500; color: var(--texte-2); text-align: start;
  transition: color .3s;
}
.sim-niveaux li:nth-child(n + 2) button { text-align: center; }
.sim-niveaux li:last-child button { text-align: end; }
.sim-niveaux li.courant button { color: #FFFFFF; font-weight: 700; }
html:not(.js) .sim-commande, html:not(.js) .sim-spectre { display: none; }

.sim-pied {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
  margin-block-start: 2.25rem;
}
.sim-note { display: flex; gap: .8rem; align-items: flex-start; font-size: .9375rem; color: var(--texte-2); max-width: 36rem; }
.sim-note .ic { color: var(--cyan); margin-block-start: .2rem; width: 1.15rem; height: 1.15rem; }

/* ============================================================
   TEST AUDITIF : assistant
============================================================ */
.test-grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.test-tete { position: sticky; inset-block-start: 7.5rem; }
.test-tete .tete-texte { margin-block: 1.5rem 2rem; }

.assistant {
  background: var(--surface); border-radius: 2.25rem;
  border: 1px solid var(--filet-doux);
  box-shadow: var(--ombre);
  padding: clamp(1.5rem, 3.5vw, 3.25rem);
}
.assistant-haut { display: flex; align-items: center; gap: 1.25rem; margin-block-end: 2rem; }
.anneau { position: relative; width: 4.75rem; height: 4.75rem; flex: none; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau circle { fill: none; stroke-width: 4; }
.anneau-fond { stroke: var(--filet-doux); }
.anneau-val {
  stroke: var(--accent); stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset .7s var(--douceur);
}
.anneau-texte {
  position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; gap: .1rem;
  padding-block-start: 1.45rem;
  font-size: .8125rem; color: var(--texte-2); line-height: 1;
}
.anneau-texte b { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.6rem; color: var(--texte); }
.anneau-texte i { font-style: normal; }
.assistant-etape { font-size: .8125rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); }
[dir="rtl"] .assistant-etape { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.assistant-barres { margin-inline-start: auto; height: 1.75rem; gap: .3125rem; color: var(--filet); }
.assistant-barres i { width: .3125rem; height: 45%; transition: height .5s var(--douceur), background .4s; }
.assistant-barres i:nth-child(n) { height: 45%; }
.assistant-barres i.fait { background: var(--accent); height: 100%; }
.assistant-barres i.ici { background: var(--accent-2); height: 72%; }

.question { border: 0; min-width: 0; }
html.js .question:not(.courante) { display: none; }
html.js .question.courante { animation: question .55s var(--douceur); }
@keyframes question { from { opacity: 0; transform: translateX(1.5rem); } }
[dir="rtl"].js .question.courante { animation-name: question-rtl; }
@keyframes question-rtl { from { opacity: 0; transform: translateX(-1.5rem); } }
.question legend {
  font-family: var(--titre); font-weight: 400;
  font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.1rem); line-height: 1.2;
  margin-block-end: 1.75rem;
  min-height: 3.6em;
  text-wrap: balance;
}
[dir="rtl"] .question legend { font-weight: 600; line-height: 1.55; font-size: clamp(1.3rem, 1rem + 1.1vw, 1.75rem); }
html:not(.js) .question { padding-block: 1.5rem; border-block-end: 1px solid var(--filet); }
html:not(.js) .question legend { min-height: 0; }
html:not(.js) .assistant-haut, html:not(.js) .assistant-nav { display: none; }

.reponses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.reponse { position: relative; display: block; cursor: pointer; }
.reponse input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.reponse span {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 4.75rem; padding: .85rem 1rem;
  border-radius: 1.25rem; border: .09375rem solid var(--filet);
  font-weight: 600; font-size: 1.0625rem; line-height: 1.25;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--douceur);
}
.reponse:hover span { border-color: var(--accent); transform: translateY(-.15rem); }
.reponse input:checked + span { background: var(--plein); color: var(--plein-texte); border-color: var(--plein); }
.reponse input:focus-visible + span { outline: .1875rem solid var(--cyan); outline-offset: .1875rem; }

.assistant-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block-start: 2.25rem; }
.assistant-nav #testSuiv, .assistant-nav #testVoir { margin-inline-start: auto; }
.assistant-nav .btn[disabled] { opacity: .4; pointer-events: none; }

.resultat { text-align: center; }
.resultat:focus { outline: 0; }
html.js .resultat { animation: question .6s var(--douceur); }
.jauge { width: min(100%, 21rem); margin-inline: auto; }
[dir="rtl"] .jauge svg { transform: scaleX(-1); }
.jauge-zone { fill: none; stroke-width: 12; stroke-linecap: round; opacity: .22; transition: opacity .6s; }
.jauge-bon { stroke: var(--accent-2); }
.jauge-moyen { stroke: var(--accent); }
.jauge-eleve { stroke: var(--ambre-vif); }
.resultat[data-niveau="bon"] .jauge-bon,
.resultat[data-niveau="moyen"] .jauge-moyen,
.resultat[data-niveau="eleve"] .jauge-eleve { opacity: 1; }
.jauge-aiguille {
  transform-box: view-box; transform-origin: 100px 100px;
  transform: rotate(var(--angle, 0deg));
  transition: transform 1.3s cubic-bezier(.3, 1.3, .4, 1);
}
.jauge-aiguille path { stroke: var(--texte); stroke-width: 4; stroke-linecap: round; fill: none; }
.jauge-aiguille circle { fill: var(--texte); }
.niveau h3 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); margin-block: 1.25rem .8rem; }
.niveau p { color: var(--texte-2); max-width: 34rem; margin-inline: auto; }
.score {
  display: inline-flex; align-items: baseline; gap: .75rem;
  margin-block-start: 1.5rem; padding: .5rem 1.25rem;
  border-radius: 999px; border: 1px solid var(--filet);
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2);
}
[dir="rtl"] .score { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.score b { font-family: "Fraunces", Georgia, serif; font-weight: 500; font-size: 1.35rem; letter-spacing: 0; color: var(--texte); }
.resultat .actions { justify-content: center; }

/* ============================================================
   PARCOURS : frise
============================================================ */
.parcours { background: var(--fond-2); }
.frise { position: relative; --p: 100%; }
.fil {
  position: absolute; inset-block: 0; inset-inline-start: 50%;
  width: 1.5rem; margin-inline-start: -.75rem;
}
.fil::before, .fil-actif {
  content: ""; position: absolute; inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath d='M12 0c9 8 9 16 0 24s-9 16 0 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y 50% 0 / 1.5rem 3rem;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 48'%3E%3Cpath d='M12 0c9 8 9 16 0 24s-9 16 0 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") repeat-y 50% 0 / 1.5rem 3rem;
}
.fil::before { background: var(--filet); }
.fil-actif {
  display: block; background: linear-gradient(180deg, var(--cyan), var(--roi));
  clip-path: inset(0 0 calc(100% - var(--p)) 0);
}
.etapes { counter-reset: etape; display: grid; gap: clamp(2rem, 5vw, 4.5rem); position: relative; }
.etape {
  counter-increment: etape;
  display: grid; grid-template-columns: minmax(0, 1fr) 5.5rem minmax(0, 1fr); align-items: center;
}
.etape-point {
  grid-column: 2; grid-row: 1; justify-self: center;
  display: grid; place-items: center;
  width: 4.25rem; height: 4.25rem; border-radius: 50%;
  background: var(--fond-2); color: var(--accent);
  border: .09375rem solid var(--accent);
  box-shadow: 0 0 0 .6rem var(--fond-2);
}
.etape-point .ic { width: 1.6rem; height: 1.6rem; }
.etape-corps { grid-column: 1; grid-row: 1; text-align: end; padding-inline-end: clamp(1rem, 3vw, 3rem); }
.etape:nth-child(even) .etape-corps { grid-column: 3; text-align: start; padding-inline: clamp(1rem, 3vw, 3rem) 0; }
.etape-corps::before {
  content: counter(etape, decimal-leading-zero);
  display: block;
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 340;
  font-size: clamp(3rem, 2rem + 3vw, 5rem); line-height: 1;
  color: var(--accent-2); opacity: .85;
  margin-block-end: .6rem;
}
.etape h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-block-end: .6rem; }
.etape p { color: var(--texte-2); max-width: 28rem; margin-inline-start: auto; }
.etape:nth-child(even) p { margin-inline: 0 auto; }

/* ============================================================
   CABINET : mosaique
============================================================ */
.mosaique { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 9rem; grid-auto-flow: dense; gap: 1rem; }
.vue { position: relative; grid-column: span 4; grid-row: span 2; }
.vue:nth-child(5n + 1) { grid-column: span 7; grid-row: span 3; }
.vue:nth-child(5n + 2) { grid-column: span 5; grid-row: span 3; }
.vue:nth-child(5n + 4) { grid-column: span 4; grid-row: span 3; }
.vue-lien { display: block; height: 100%; border-radius: var(--rayon); cursor: zoom-in; }
.vue-lien img { transition: transform 1s var(--douceur); }
.vue-lien:hover img { transform: scale(1.05); }
.vue figcaption {
  position: absolute; inset-inline-start: 1rem; inset-block-end: 1rem;
  padding: .45rem 1rem; border-radius: 999px;
  font-size: .875rem; font-weight: 600; color: #FFFFFF;
  background: rgba(7, 26, 61, .66);
  -webkit-backdrop-filter: blur(.6rem); backdrop-filter: blur(.6rem);
  pointer-events: none;
}
.vue figcaption:empty { display: none; }
.cabinet-note { margin-block-start: 2rem; font-family: var(--titre); font-style: italic; font-size: 1.25rem; color: var(--texte-2); }
[dir="rtl"] .cabinet-note { font-style: normal; }

.visionneuse {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  border: 0; padding: clamp(1rem, 4vw, 3rem);
  background: rgba(3, 10, 27, .94); color: #FFFFFF;
}
.visionneuse[open] { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; }
.visionneuse::backdrop { background: rgba(3, 10, 27, .8); }
.visionneuse figure { display: grid; justify-items: center; gap: 1rem; min-height: 0; max-height: 100%; }
.visionneuse img { max-height: calc(100vh - 9rem); width: auto; border-radius: 1rem; object-fit: contain; }
.visionneuse figcaption { font-family: var(--titre); font-style: italic; font-size: 1.15rem; }
.visionneuse .outil { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.visionneuse-fermer { position: absolute; inset-block-start: 1rem; inset-inline-end: 1rem; }

/* ============================================================
   CONSEILS
============================================================ */
.conseils { background: var(--surface); padding-block-end: 0; }
[data-theme="dark"] .conseils { background: var(--fond); }
.conseils-grille {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.conseils-liste { counter-reset: conseil; border-block-start: 1px solid var(--filet); }
.conseil {
  counter-increment: conseil;
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) auto; gap: 1rem 1.5rem; align-items: center;
  padding-block: 1.9rem; border-block-end: 1px solid var(--filet);
  transition: padding-inline-start .5s var(--douceur);
}
.conseil:hover { padding-inline-start: .75rem; }
.conseil-num::before {
  content: counter(conseil, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 340;
  font-size: 3.25rem; line-height: 1; color: var(--accent);
}
.conseil h3 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-block-end: .4rem; }
.conseil p { color: var(--texte-2); }
.conseil-ic { width: 1.75rem; height: 1.75rem; color: var(--accent-2); }
.conseils-cote { position: sticky; inset-block-start: 7.5rem; }
.conseils-photo { aspect-ratio: 1; border-radius: 2rem; border-end-end-radius: 10rem; box-shadow: var(--ombre-douce); }
.conseils-conclusion {
  font-family: var(--titre); font-style: italic; font-weight: 360;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25;
  margin-block: 2rem 1.5rem;
}
[dir="rtl"] .conseils-conclusion { font-style: normal; font-weight: 500; line-height: 1.6; }

.alerte {
  margin-block-start: clamp(4rem, 8vw, 8rem);
  background: var(--ambre-doux);
  border-block: 1px solid color-mix(in srgb, var(--ambre-vif) 55%, transparent);
  color: var(--texte);
}
.alerte-grille {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: center;
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
}
.alerte-ic { width: 2.5rem; height: 2.5rem; color: var(--ambre); }
.alerte h3 { font-size: clamp(1.4rem, 1.2rem + .9vw, 1.9rem); margin-block-end: .4rem; }
.alerte p { color: var(--texte-2); max-width: 52rem; }
.alerte p strong { color: var(--texte); }

/* ============================================================
   FAQ
============================================================ */
.faq-grille {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6rem); align-items: start;
}
.faq-tete { position: sticky; inset-block-start: 7.5rem; }
.faq-contact { display: grid; justify-items: start; gap: 1rem; margin-block-start: 2.25rem; padding-block-start: 2rem; border-block-start: 1px solid var(--filet); }
.faq-liste { border-block-start: 1px solid var(--filet); }
.qr { border-block-end: 1px solid var(--filet); }
.qr summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-block: 1.6rem; min-height: 3.5rem; cursor: pointer; list-style: none;
  font-family: var(--titre); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); line-height: 1.25;
  transition: color .3s;
}
[dir="rtl"] .qr summary { line-height: 1.6; font-weight: 600; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.qr summary::-webkit-details-marker { display: none; }
.qr summary:hover { color: var(--accent); }
.qr-signe {
  position: relative; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1px solid var(--filet);
  transition: background .35s, border-color .35s, color .35s, transform .5s var(--douceur);
}
.qr-signe::before, .qr-signe::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 50%;
  width: 1rem; height: .125rem; margin: -.0625rem 0 0 -.5rem; border-radius: 999px;
  background: currentColor;
  transition: transform .5s var(--douceur);
}
.qr-signe::after { transform: rotate(90deg); }
.qr[open] .qr-signe { background: var(--plein); border-color: var(--plein); color: var(--plein-texte); transform: rotate(180deg); }
.qr[open] .qr-signe::after { transform: rotate(0); }
.qr-corps { padding-block-end: 1.75rem; padding-inline-end: 4.25rem; color: var(--texte-2); }
.qr[open] .qr-corps { animation: question .5s var(--douceur); }
.qr-corps strong { color: var(--texte); }

/* ============================================================
   INFOS PRATIQUES : la carte en fond
============================================================ */
.infos { position: relative; background: var(--fond-2); isolation: isolate; }
.infos-carte { position: absolute; inset: 0; z-index: -1; background: var(--fond-doux); }
.infos-carte iframe { width: 100%; height: 100%; border: 0; filter: saturate(.85) contrast(1.02); }
[data-theme="dark"] .infos-carte iframe { filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.9); }
.infos-boite { padding-block: clamp(3rem, 6vw, 6rem); pointer-events: none; }
.fiche {
  pointer-events: auto;
  width: min(100%, 31rem);
  background: var(--surface); color: var(--texte);
  border-radius: 2.25rem; border: 1px solid var(--filet-doux);
  box-shadow: var(--ombre);
  padding: clamp(1.5rem, 3vw, 2.75rem);
}
.fiche h2 { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); }
.fiche-bloc { padding-block: 1.6rem; border-block-end: 1px solid var(--filet); }
.fiche h2 + .fiche-bloc { margin-block-start: 1rem; border-block-start: 1px solid var(--filet); }
.fiche-bloc h3 {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--corps); font-size: .8125rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin-block-end: 1rem;
}
[dir="rtl"] .fiche-bloc h3 { letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.fiche-bloc h3 .ic { width: 1.15rem; height: 1.15rem; }
.horaires div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 1rem; padding-block: .3rem; }
.horaires dt { color: var(--texte-2); }
.horaires dd { font-weight: 600; text-align: end; white-space: nowrap; unicode-bidi: plaintext; margin-inline-start: auto; }
.horaires .ferme dd { color: var(--ambre); }
.fiche-note { font-size: .9063rem; color: var(--texte-2); margin-block-start: .8rem; }
.fiche address { font-family: var(--titre); font-size: 1.2rem; line-height: 1.35; }
[dir="rtl"] .fiche address { line-height: 1.7; font-size: 1.1rem; }
.fiche-bloc > .btn { margin-block-start: 1.1rem; }
.fiche-contacts li { padding-block: .1rem; }
.fiche-contacts a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.fiche-contacts a:hover { color: var(--accent); }
.fiche-contacts small { color: var(--texte-2); font-size: .8125rem; }
.fiche-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-block-start: .9rem; }
.reseaux { display: inline-flex; gap: .4rem; }
.reseaux .outil { box-shadow: inset 0 0 0 1px var(--filet); }
.fiche-qr { display: flex; align-items: center; gap: 1.25rem; padding-block-start: 1.6rem; }
.fiche-qr img { width: 6.5rem; height: 6.5rem; flex: none; border-radius: .9rem; background: #FFFFFF; padding: .3rem; border: 1px solid var(--filet); }
.fiche-qr p { display: grid; gap: .15rem; }
.fiche-qr strong { font-family: var(--titre); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }
.fiche-qr span { font-size: .875rem; color: var(--texte-2); }

/* ============================================================
   RENDEZ-VOUS : panneau scinde
============================================================ */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--fond-2); }
.contact-gauche {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(4rem, 8vw, 8rem);
  padding-inline: max(var(--marge), calc((100vw - var(--large)) / 2)) clamp(1.5rem, 4vw, 4.5rem);
  background: radial-gradient(40rem 30rem at 0 100%, rgba(20, 87, 200, .6), transparent 65%), linear-gradient(180deg, #071A3D, #051129);
}
.contact-gauche h2 { margin-block-end: 1.5rem; }
.contact-anneaux {
  position: absolute; z-index: -1; width: 38rem; height: 38rem; max-width: none;
  inset-block-end: -16rem; inset-inline-end: -16rem;
  color: var(--cyan); opacity: .28;
}
.contact-mail { margin-block-start: 1.75rem; color: var(--texte-2); }
.contact-mail a { color: var(--cyan); font-weight: 600; }
.rappel {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-block-start: 2.25rem; padding: 1.25rem 1.4rem;
  border-radius: 1.25rem; border: 1px solid var(--filet);
  background: rgba(255, 255, 255, .05);
  font-size: .9375rem; color: #DCE8FB;
}
.rappel .ic { color: var(--cyan); margin-block-start: .15rem; }
.contact-droite {
  display: grid; align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
  padding-inline: clamp(1.25rem, 4vw, 4.5rem) max(var(--marge), calc((100vw - var(--large)) / 2));
}
.rdv {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.25rem;
  background: var(--surface); border-radius: 2.25rem;
  border: 1px solid var(--filet-doux);
  box-shadow: var(--ombre);
  padding: clamp(1.5rem, 3.2vw, 3rem);
}
.rdv h3 { grid-column: 1 / -1; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-block-end: .35rem; }
.champ { display: grid; gap: .5rem; align-content: start; min-width: 0; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--texte-2); }
[dir="rtl"] .champ label { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 3.5rem; padding: .8rem 1rem;
  border-radius: 1rem; border: .09375rem solid var(--filet);
  background: var(--fond); color: var(--texte);
  font-size: 1.0625rem;
  transition: border-color .25s, box-shadow .25s;
}
.champ textarea { resize: vertical; min-height: 6.5rem; line-height: 1.5; }
.champ select {
  -webkit-appearance: none; appearance: none;
  padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A8AA8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 1.25rem; background-position: right 1rem center;
}
[dir="rtl"] .champ select { background-position: left 1rem center; }
.champ input::placeholder, .champ textarea::placeholder { color: var(--texte-2); opacity: .75; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 0; border-color: var(--accent);
  box-shadow: 0 0 0 .25rem color-mix(in srgb, var(--cyan) 35%, transparent);
}
.champ input[aria-invalid="true"] { border-color: #C0392B; }
[dir="rtl"] .champ input[type="tel"] { text-align: end; }
.rdv-aide { font-size: .875rem; color: var(--texte-2); text-align: center; margin-block-start: .4rem; }

/* ============================================================
   PIED DE PAGE
============================================================ */
.pied {
  position: relative; overflow: hidden;
  padding-block-start: clamp(5rem, 9vw, 9rem);
  padding-block-end: var(--hauteur-dock);
  background: linear-gradient(180deg, #051129, #030A1B);
}
.pied .forme-haut { color: rgba(255, 255, 255, .06); }
.pied-grille {
  display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.15fr; gap: clamp(2rem, 4vw, 4rem);
  padding-block-end: clamp(3rem, 5vw, 5rem);
}
.pied-slogan { font-family: var(--titre); font-style: italic; font-size: 1.6rem; line-height: 1.2; margin-block: 1.5rem .75rem; max-width: 18rem; }
[dir="rtl"] .pied-slogan { font-style: normal; line-height: 1.6; font-size: 1.4rem; }
.pied-devise { font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--cyan); }
[dir="rtl"] .pied-devise { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.pied-col h4 {
  font-family: var(--corps); font-size: .75rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--texte-2);
  margin-block-end: 1.1rem;
}
[dir="rtl"] .pied-col h4 { letter-spacing: 0; text-transform: none; font-size: 1rem; }
.pied-col > a {
  display: flex; align-items: flex-start; gap: .7rem;
  min-height: 2.75rem; padding-block: .45rem;
  color: #DCE8FB; overflow-wrap: anywhere;
  transition: color .25s, padding-inline-start .35s var(--douceur);
}
.pied-col > a:hover { color: var(--cyan); padding-inline-start: .35rem; }
.pied-col .ic { width: 1.15rem; height: 1.15rem; margin-block-start: .3rem; color: var(--cyan); }
.pied-col .reseaux { margin-block-start: .75rem; }
.pied-bas {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem;
  border-block-start: 1px solid var(--filet);
  padding-block: 1.4rem;
  font-size: .875rem; color: var(--texte-2);
}
.pied-bas p:nth-child(2) { font-family: var(--titre); font-style: italic; color: #DCE8FB; }
[dir="rtl"] .pied-bas p:nth-child(2) { font-style: normal; }
.pied-haut { margin-inline-start: auto; box-shadow: inset 0 0 0 1px var(--filet); color: #FFFFFF; }
/* Le nom en grand, entierement visible et lisible (pas de rognage) */
.mot-symbole {
  font-family: var(--titre); font-weight: 400; font-style: italic;
  font-size: clamp(2.6rem, 11.5vw, 12.5rem); line-height: 1.05; letter-spacing: -.03em;
  white-space: nowrap; text-align: center;
  margin-block: clamp(1rem, 3vw, 3rem) 0;
  padding-block-end: clamp(1.5rem, 3vw, 3rem);
  background: linear-gradient(180deg, #FFFFFF 0%, #BFE6F7 55%, #22C3E6 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}
[dir="rtl"] .mot-symbole { font-style: normal; font-weight: 800; letter-spacing: 0; line-height: 1.5; font-size: clamp(2.4rem, 10.5vw, 11rem); }

/* ============================================================
   DOCK (mobile)
============================================================ */
.dock {
  position: fixed; z-index: 150;
  inset-inline: .6rem; inset-block-end: calc(.6rem + env(safe-area-inset-bottom));
  display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .25rem;
  padding: .35rem;
  border-radius: 1.6rem;
  color: #FFFFFF;
  background: rgba(7, 26, 61, .86);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(1.1rem) saturate(1.4);
  backdrop-filter: blur(1.1rem) saturate(1.4);
  box-shadow: 0 1rem 2.5rem -1rem rgba(0, 0, 0, .6);
  transition: transform .45s var(--douceur), opacity .3s;
}
.dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 3.5rem; padding: .35rem .2rem;
  border-radius: 1.25rem;
  font-size: .6875rem; font-weight: 600; line-height: 1.15; text-align: center;
}
.dock a .ic { width: 1.4rem; height: 1.4rem; }
.dock a:active { background: rgba(255, 255, 255, .12); }
.dock .dock-fort { background: var(--cyan); color: var(--encre); }
[dir="rtl"] .dock a { font-size: .75rem; line-height: 1.3; }
body.menu-ouvert .dock, body.saisie .dock { transform: translateY(140%); opacity: 0; pointer-events: none; }

/* ============================================================
   ADAPTATIONS
============================================================ */
@media (min-width: 82rem) {
  .nav-liens { display: flex; }
  .outil-menu { display: none; }
  .nav .outil-groupe { display: inline-flex; }
  .nav .outil[data-theme-toggle] { display: inline-flex; }
  .marque { margin-inline-end: .5rem; flex: none; }
  .nav-liens { margin-inline: auto; }
  html[data-taille="2"] .nav-liens, html[data-taille="3"] .nav-liens { display: none; }
  html[data-taille="2"] .outil-menu, html[data-taille="3"] .outil-menu { display: inline-flex; }
  html[data-taille="2"] .marque, html[data-taille="3"] .marque { margin-inline-end: auto; }
}
@media (min-width: 82rem) and (max-width: 92rem) {
  .nav-pastille { gap: .5rem; }
  .nav-liens a { padding-inline: .5rem; font-size: .9rem; }
  .nav-liens a::after { inset-inline: .5rem; }
  .btn-nav { padding-inline: 1rem; }
  .outil-langue { padding-inline: .7rem; }
}
@media (min-width: 70rem) {
  .vumetre { display: flex; }
}
@media (min-width: 53.75rem) and (max-width: 81.99rem) {
  .nav .outil-groupe, .nav .outil[data-theme-toggle] { display: inline-flex; }
}

@media (max-width: 68rem) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tuile:nth-child(6n + 1) { grid-row: span 1; min-height: 24rem; }
  .tuile:nth-child(6n + 2), .tuile:nth-child(6n) { grid-column: span 1; }
  .tuile:nth-child(6n + 5) { grid-column: span 2; }
  .valeurs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .valeur { padding-block-end: 2rem; }
  .valeur:nth-child(2n) { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; }
  .valeur:nth-child(n + 3) { border-block-start: 1px solid var(--filet); }
  .pied-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .contact-gauche, .contact-droite { padding-inline: var(--marge); }
  .bebe-listes { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 53.74rem) {
  :root { --hauteur-dock: calc(5.5rem + env(safe-area-inset-bottom)); }
  html { scroll-padding-top: 5.5rem; }
  .dock { display: grid; }
  .btn-nav { display: none; }
  .marque-texte small { display: none; }

  .tete, .apropos-grille, .test-grille, .conseils-grille, .faq-grille { grid-template-columns: 1fr; }
  .tete { align-items: start; gap: 1.25rem; }
  .test-tete, .faq-tete, .conseils-cote { position: static; }

  .heros { min-height: 0; }
  .heros-grille { grid-template-columns: 1fr; gap: 3rem; padding-block-end: 2.5rem; }
  .heros-visuel { justify-self: center; width: min(78%, 21rem); order: -1; margin-block-start: .5rem; }
  .heros h1 { max-width: none; }
  .devise { display: none; }
  [dir="rtl"] .devise { display: block; text-align: center; }
  .heros-bande { flex-direction: column; align-items: flex-start; gap: .25rem; padding-block-end: 1.5rem; }
  .defiler { display: none; }
  .bande-liste { display: grid; gap: 0; }

  .apropos-visuel { width: min(100%, 24rem); margin-inline: auto; }
  .citation { padding-inline-start: 0; padding-block-start: 3.5rem; }

  .volets { flex-direction: column; min-height: 0; }
  .volet { min-height: 15rem; flex: none; }
  .volet p, .volet.actif p { max-height: none; opacity: .95; margin-block-start: .85rem; }
  .volet-ic { margin-block-end: 3rem; }

  .bebe-grille { grid-template-columns: 1fr; padding-inline-end: 0; gap: 2.5rem; }
  .bebe-visuel { min-height: 26rem; margin-inline-end: var(--marge); }
  .bebe-visuel:has(.bebe-photo--dessin) { min-height: 34rem; }
  .bebe-texte { padding-inline: var(--marge); }
  .bebe-photo { border-start-end-radius: 9rem; }

  .fil { inset-inline-start: 2.125rem; }
  .etape { grid-template-columns: 4.25rem minmax(0, 1fr); align-items: start; gap: 1.25rem; }
  .etape-point { grid-column: 1; }
  .etape-corps, .etape:nth-child(even) .etape-corps { grid-column: 2; text-align: start; padding-inline: 0; }
  .etape p, .etape:nth-child(even) p { margin-inline: 0; }

  .mosaique { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 8rem; }
  .vue, .vue:nth-child(n) { grid-column: span 1; grid-row: span 2; }
  .vue:nth-child(3n + 1) { grid-column: span 2; grid-row: span 3; }

  .conseil { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .conseil-num::before { font-size: 2.4rem; }
  .conseil-ic { display: none; }
  .conseils-cote { order: -1; }
  .conseils-photo { width: min(100%, 22rem); }
  .alerte-grille { grid-template-columns: auto minmax(0, 1fr); }
  .alerte-grille .btn { grid-column: 1 / -1; }

  .qr-corps { padding-inline-end: 0; }
  .forme { width: 240%; max-width: none; }

  .infos { display: flex; flex-direction: column; }
  .infos-carte { position: relative; z-index: 0; height: 20rem; order: 2; }
  .infos-boite { padding-block: 3rem 2rem; pointer-events: auto; }
  .fiche { width: 100%; }

  .rdv { grid-template-columns: 1fr; }
  .pied-haut { margin-inline-start: 0; }
}

@media (max-width: 40rem) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .tuile, .tuile:nth-child(n) { grid-column: span 1; min-height: 13.5rem; }
  .tuile:nth-child(6n + 1) { min-height: 22rem; }
  .valeurs { grid-template-columns: 1fr; }
  .valeur, .valeur:nth-child(n) { border-inline-end: 0; margin-inline-end: 0; padding-inline-end: 0; border-block-start: 1px solid var(--filet); }
  .valeur:first-child { border-block-start: 0; }
  .reponses { grid-template-columns: 1fr; }
  .reponse span { min-height: 3.75rem; }
  .question legend { min-height: 0; }
  .assistant-barres { display: none; }
  .assistant-nav .btn { flex: 1 1 auto; }
  .pied-grille { grid-template-columns: 1fr; }
  .sim-niveaux button { font-size: .75rem; }
  .actions .btn { flex: 1 1 100%; }
  .sim-pied .btn { width: 100%; }
  .outil-langue span { display: none; }
  .outil-langue { padding-inline: .6rem; }
  .horaires dd { white-space: normal; }
  .nav-pastille { gap: .5rem; padding-inline-start: .7rem; }
  .marque { gap: .55rem; }
  .menu .outil-langue span { display: inline; }
  .fiche-qr { align-items: flex-start; }
}

/* ============================================================
   ACCESSIBILITE & IMPRESSION
============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  html.js [data-rev], html.js [data-rev="masque"] { opacity: 1; transform: none; clip-path: none; }
  .mots-piste { transform: none; }
}

@media (hover: none) {
  .tuile:hover { transform: none; box-shadow: none; }
}

@media print {
  .nav, .menu, .dock, .vumetre, .heros-onde, .mots, .infos-carte, .rdv, .assistant-nav, .sim-commande, .sim-spectre,
  .forme, .defiler, .visionneuse, .anneaux, .mot-symbole, .contact-anneaux { display: none !important; }
  :root, .p-sombre, [data-theme="dark"] {
    --fond: #FFFFFF; --fond-2: #FFFFFF; --fond-doux: #FFFFFF; --surface: #FFFFFF;
    --texte: #000000; --texte-2: #333333; --filet: #999999; --filet-doux: #CCCCCC;
    --accent: #0B2559; --accent-2: #0B2559;
  }
  body, .section, .heros, .simulateur, .contact-gauche, .pied, .alerte, .tuile, .volet { background: #FFFFFF !important; color: #000000 !important; }
  .heros { min-height: 0; padding-block-start: 0; }
  .section { padding-block: 1.5rem; }
  html.js [data-rev], html.js [data-rev="masque"] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  html.js .question:not(.courante) { display: block; }
  .volet p { max-height: none; opacity: 1; }
  .sim-phrase * { opacity: 1 !important; filter: none !important; }
  .contact, .infos { display: block; }
  a[href^="http"]::after { content: ""; }
}

/* ============================================================
   NOS MARQUES : noms en grande typographie, sans logos
============================================================ */
.marques { background: var(--fond-2); }
.marques-liste {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem;
  counter-reset: marque;
}
.marque-tuile {
  counter-increment: marque;
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: .6rem;
  min-height: 15rem; padding: 1.75rem 1.75rem 1.5rem;
  border-radius: var(--rayon); background: var(--surface); border: 1px solid var(--filet-doux);
  transition: transform .5s var(--douceur), box-shadow .5s var(--douceur);
}
.marque-tuile:hover { transform: translateY(-.35rem); box-shadow: var(--ombre); }
.marque-rang::before {
  content: counter(marque, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1rem; color: var(--accent-2);
}
.marque-nom {
  font-family: "Fraunces", Georgia, serif; font-weight: 500; font-style: normal;
  font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); line-height: 1; letter-spacing: -.03em;
  direction: ltr; text-align: start;
}
[dir="rtl"] .marque-nom { text-align: end; font-size: clamp(2.2rem, 1.6rem + 1.8vw, 3.2rem); line-height: 1; font-weight: 500; }
.marque-tuile p { color: var(--texte-2); font-size: .9688rem; margin-block-start: auto; }
.marque-onde {
  position: absolute; inset-inline-end: 1.25rem; inset-block-start: 1.4rem;
  width: 1.6rem; height: 1.6rem; color: var(--accent); opacity: .5;
}
.marques-types { margin-block-start: 2.5rem; }
.marques-types h3 {
  font-family: var(--corps); font-size: .8125rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--texte-2); margin-block-end: 1rem;
}
[dir="rtl"] .marques-types h3 { letter-spacing: 0; text-transform: none; font-size: 1.05rem; }
.etiquettes { display: flex; flex-wrap: wrap; gap: .6rem; }
.etiquettes li {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .5rem 1.1rem;
  border-radius: 999px; border: 1px solid var(--filet); background: var(--surface);
  font-weight: 600; font-size: .9375rem;
}
.marques-pied { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; margin-block-start: 2.25rem; }
.marques-note { font-size: .875rem; color: var(--texte-2); max-width: 40rem; }

/* ============================================================
   DEPISTAGE PAR OTOEMISSIONS
============================================================ */
.depistage { background: var(--surface); }
[data-theme="dark"] .depistage { background: var(--fond); }
.depistage-grille {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.depistage-visuel { --o-fond-1: #EAF4FB; --o-fond-2: #CFE3F3; --o-trait: var(--encre); --o-onde: var(--roi); }
[data-theme="dark"] .depistage-visuel { --o-fond-1: #163F8F; --o-fond-2: #071A3D; --o-trait: #FFFFFF; --o-onde: var(--cyan); }
.oto { width: min(100%, 26rem); margin-inline: auto; display: block; }
[dir="rtl"] .oto { transform: scaleX(-1); }
.o-fond-1 { stop-color: var(--o-fond-1); }
.o-fond-2 { stop-color: var(--o-fond-2); }
.o-trait { stroke: var(--o-trait); }
.o-onde { stroke: var(--o-onde); opacity: 0; animation: o-sort 2.6s ease-out infinite; animation-delay: var(--d); }
@keyframes o-sort { 0% { opacity: 0; transform: translateX(10px) scale(.96); } 30% { opacity: .85; } 100% { opacity: 0; transform: translateX(-14px) scale(1.03); } }
.o-onde { transform-box: fill-box; transform-origin: 100% 50%; }
.o-voyant { fill: var(--cyan); animation: o-voyant 1.3s ease-in-out infinite; }
@keyframes o-voyant { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.o-pulse { transform-box: fill-box; transform-origin: center; animation: h-scintille 2.7s ease-in-out infinite; animation-delay: var(--d); }
.o-sonde { transform-box: fill-box; transform-origin: 90% 50%; animation: o-sonde 5s ease-in-out infinite; }
@keyframes o-sonde { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
.depistage-appareil { text-align: center; margin-block-start: 1.25rem; }
.depistage-marque {
  display: inline-block; padding: .45rem 1rem; border-radius: 999px;
  border: 1px solid var(--filet); font-size: .8125rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent);
}
.depistage-sous { font-size: 1.1rem; margin-block: 2rem 1.1rem; }
.ecran {
  counter-reset: ecran;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  background: var(--filet); border: 1px solid var(--filet); border-radius: 1.5rem; overflow: hidden;
}
.ecran-etape {
  counter-increment: ecran;
  position: relative; background: var(--fond); padding: 1.4rem 1.25rem 1.25rem; display: grid; gap: .5rem; align-content: start;
}
[data-theme="dark"] .ecran-etape { background: var(--surface); }
.ecran-num::before {
  content: counter(ecran, decimal-leading-zero);
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.1rem; color: var(--accent-2);
}
.ecran-etape .ic { width: 1.6rem; height: 1.6rem; color: var(--accent); }
.ecran-etape h4 { font-size: 1.1rem; line-height: 1.25; }
[dir="rtl"] .ecran-etape h4 { line-height: 1.5; }
.ecran-etape p { font-size: .9063rem; color: var(--texte-2); }
.depistage-colonnes {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem);
  margin-block-start: clamp(3rem, 5vw, 4.5rem); padding-block-start: clamp(2rem, 4vw, 3rem);
  border-block-start: 1px solid var(--filet);
}
.depistage-colonnes .filets .barres { color: var(--accent-2); margin-block-start: .35rem; }
.depistage-pourquoi { color: var(--texte-2); margin-block: 1.25rem 1.5rem; }
.depistage-action { margin-block-start: 1.75rem; }

/* ============================================================
   TEST SONORE AU CASQUE
============================================================ */
.audio { overflow: hidden; background: radial-gradient(60rem 34rem at 50% -10%, rgba(20, 87, 200, .55), transparent 65%), linear-gradient(180deg, #071A3D, #051129); padding-block-start: clamp(7rem, 5rem + 8vw, 12rem); }
.forme-ivoire { color: var(--ivoire); }
[data-theme="dark"] .forme-ivoire { color: #050E22; }
.casque {
  border: 1px solid var(--filet); border-radius: 2.25rem;
  padding: clamp(1.5rem, 4vw, 3.5rem); background: rgba(255, 255, 255, .035);
}
.casque-etape h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); margin-block-end: 1.25rem; }
.consignes { counter-reset: consigne; display: grid; gap: .75rem; max-width: 44rem; margin-block-end: 2rem; }
.consignes li { counter-increment: consigne; display: flex; gap: 1rem; align-items: flex-start; font-size: 1.0625rem; }
.consigne-num::before {
  content: counter(consigne);
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--cyan); color: var(--encre); font-weight: 700; font-size: .9rem;
}
.casque-sans, .casque-asymetrie {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.25rem; border-radius: 1.25rem; border: 1px solid var(--filet);
  background: rgba(232, 160, 64, .12); color: #FBEBD0; margin-block: 1rem;
}
.casque-sans .ic, .casque-asymetrie .ic { color: var(--ambre-vif); margin-block-start: .15rem; }
.casque-actions { margin-block-start: 0; }
html:not(.js) .casque-actions { display: none; }

.casque-haut { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.casque-oreille { display: flex; gap: .5rem; }
.casque-oreille span {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .4rem 1.1rem;
  border-radius: 999px; border: 1px solid var(--filet); color: var(--texte-2); font-weight: 600;
  transition: background .3s, color .3s;
}
.casque-oreille[data-oreille="gauche"] .oreille-g, .casque-oreille[data-oreille="droite"] .oreille-d { background: var(--cyan); color: var(--encre); border-color: var(--cyan); }
.casque-mesures { display: flex; gap: 2rem; }
.casque-mesures div { display: grid; gap: .1rem; }
.casque-mesures dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); }
[dir="rtl"] .casque-mesures dt { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.casque-mesures dd { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; line-height: 1; }
.casque-barre { height: .375rem; border-radius: 999px; background: rgba(255, 255, 255, .12); margin-block: 1.25rem 2rem; overflow: hidden; }
.casque-barre i { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--roi), var(--cyan)); transition: width .5s var(--douceur); }
.casque-scene { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; margin-block-end: 2rem; }
.casque-visuel { position: relative; width: 9rem; height: 9rem; display: grid; place-items: center; }
.casque-anneau {
  position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(34, 195, 230, .5);
  opacity: 0; transform: scale(.4);
}
.casque-visuel.joue .casque-anneau { animation: casque-onde 1.1s ease-out infinite; }
.casque-visuel.joue .casque-anneau:nth-child(2) { animation-delay: .35s; }
.casque-visuel.joue .casque-anneau:nth-child(3) { animation-delay: .7s; }
@keyframes casque-onde { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.1); } }
.casque-coeur {
  display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--marine); border: 1px solid var(--filet); color: var(--cyan);
  transition: transform .3s var(--douceur), background .3s;
}
.casque-coeur .ic { width: 2rem; height: 2rem; }
.casque-visuel.joue .casque-coeur { background: var(--cyan); color: var(--encre); transform: scale(1.08); }
.casque-consigne { color: var(--texte-2); font-size: 1.0625rem; max-width: 36rem; }
.casque-reponses { display: flex; flex-wrap: wrap; gap: .85rem; }
.casque-reponses .btn[disabled] { opacity: .45; pointer-events: none; }
.casque-reponses #casqueRejouer { margin-inline-start: auto; }

.audiogramme { max-width: 40rem; margin-block: .5rem 1.5rem; }
.audiogramme svg { width: 100%; height: auto; }
.ag-zones rect { opacity: .9; }
.ag-grille line { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.ag-axes text { fill: var(--texte-2); font-family: var(--corps); font-size: 12px; }
.ag-axes .ag-non { fill: var(--ambre-vif); }
.ag-courbe path { fill: none; stroke-width: 2.5; stroke-linejoin: round; }
.ag-gauche path { stroke: #7DB6FF; }
.ag-droite path { stroke: var(--cyan); }
.ag-gauche text { fill: #7DB6FF; font-size: 24px; font-weight: 700; }
.ag-droite circle { fill: none; stroke: var(--cyan); stroke-width: 2.5; }
.ag-courbe .ag-pt-non { opacity: .55; }
.ag-legende { display: flex; gap: 1.5rem; font-size: .9375rem; color: var(--texte-2); margin-block-start: .5rem; }
.ag-legende i { font-style: normal; font-weight: 700; font-size: 1.2rem; margin-inline-end: .4rem; }
.ag-leg-g i { color: #7DB6FF; }
.ag-leg-d i { color: var(--cyan); }
.casque-bilan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block-end: 1.5rem; }
.bilan-oreille { display: grid; gap: .3rem; padding: 1.25rem 1.4rem; border-radius: 1.25rem; border: 1px solid var(--filet); background: rgba(255, 255, 255, .04); }
.bilan-titre { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-2); }
[dir="rtl"] .bilan-titre { letter-spacing: 0; text-transform: none; font-size: .95rem; }
.bilan-oreille strong { font-family: var(--titre); font-weight: 500; font-size: 1.35rem; line-height: 1.2; }
.bilan-oreille small { color: var(--texte-2); }
.casque-categories .niveau-audio { display: grid; gap: .5rem; max-width: 46rem; margin-block-end: 1rem; }
.casque-categories strong { font-family: var(--titre); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.casque-categories span { color: var(--texte-2); }
.casque-avertissement { margin-block-start: 1.75rem; }

@media (max-width: 68rem) {
  .depistage-grille { grid-template-columns: 1fr; }
  .depistage-colonnes { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 53.74rem) {
  .ecran { grid-template-columns: 1fr; }
  .casque-scene { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .casque-reponses .btn { flex: 1 1 100%; }
  .casque-reponses #casqueRejouer { margin-inline-start: 0; }
  .casque-bilan { grid-template-columns: 1fr; }
  .marques-pied .btn { width: 100%; }
}
