/* AXOMEDIC Pharma — feuille de style unique, d'après la charte graphique
   Palette officielle : #482771 · #7656A0 · #CAAAD1 · #44B9B7 · #F2EDF2.
   Le cyan sert aux signaux (influx, accents graphiques), jamais au texte courant sur fond clair. */

:root {
  --violet: #482771;
  --violet-2: #7656A0;
  --mauve: #CAAAD1;
  --cyan: #44B9B7;
  --fond: #F2EDF2;
  --fond-2: #E9E0EC;
  --blanc: #FFFFFF;
  --texte: #3E2D57;
  --gris: #6E6380;
  --ligne: rgba(72, 39, 113, .14);
  --ligne-forte: rgba(72, 39, 113, .3);
  --titre: "Unbounded", "Arial Black", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header: 96px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 12vw, 168px);
  --rayon: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fond); color: var(--texte);
  font: 400 17px/1.62 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; color: var(--violet); font-family: var(--titre); font-weight: 400; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--violet); color: var(--fond); }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; top: 12px; left: 12px; z-index: 200; background: var(--violet); color: #fff; padding: 10px 16px; text-decoration: none; border-radius: 8px; transform: translateY(-160%); transition: transform .2s; }
.evitement:focus { transform: none; }

/* ── Typographie ─────────────────────────────────────────── */
.h1, .h2 { font-family: var(--titre); color: var(--violet); font-weight: 300; }
.h1 { font-size: clamp(38px, 5.2vw, 78px); line-height: 1.04; letter-spacing: -.035em; }
.h2 { font-size: clamp(28px, 3.3vw, 48px); line-height: 1.1; letter-spacing: -.03em; }
.h1 strong, .h2 strong { font-weight: 500; }
.label { font: 400 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.label b { color: var(--violet-2); font-weight: 500; }
.lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; max-width: 34em; }
.signature { font: 400 clamp(28px, 2.6vw, 40px)/1.2 var(--script); color: var(--violet-2); }
.tbc { text-decoration: underline dotted var(--cyan); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.note { font: 400 12px/1.5 var(--mono); color: var(--gris); }
.surligne { position: relative; white-space: nowrap; }
.surligne svg { position: absolute; left: 0; right: 0; bottom: -.2em; width: 100%; height: .3em; overflow: visible; }
.surligne path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; }
.js .surligne svg { transform: scaleX(0); transform-origin: left; transition: transform 1.2s .9s var(--ease); }
.js .est-visible .surligne svg { transform: none; }

/* ── Symbole et logo ─────────────────────────────────────── */
.symbole { flex: none; overflow: visible; }
.s-point { fill: var(--violet-2); }
.s-barre { fill: none; stroke-width: 88; stroke-linecap: round; }
.s-barre--1 { stroke: var(--violet-2); }
.s-barre--2 { stroke: var(--cyan); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--violet); }
.logo .symbole { width: 46px; height: auto; }
.mot { position: relative; display: inline-flex; align-items: center; font: 600 19px/1 var(--titre); letter-spacing: .04em; color: var(--violet); padding-bottom: 11px; }
.mot__o { width: .86em; height: .86em; margin: 0 .04em; color: var(--violet); }
.mot small { position: absolute; right: 0; bottom: -2px; font: 500 10.5px/1 var(--titre); letter-spacing: .06em; color: var(--cyan); }

/* ── Boutons et liens ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 24px;
  border: 1.5px solid var(--violet); border-radius: 999px; background: transparent; color: var(--violet);
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.btn span[aria-hidden] { transition: transform .35s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(5px); }
.btn:hover { background: rgba(72, 39, 113, .07); }
.btn--plein { background: var(--violet); color: #fff; }
.btn--plein:hover { background: #3a1f5d; }
.btn--petit { min-height: 40px; padding: 0 18px; font-size: 14px; }
.lien { position: relative; display: inline-flex; gap: 10px; align-items: center; color: var(--violet); text-decoration: none; font-weight: 500; padding-block: 4px; }
.lien::after, .nav ul a::after, .pied__nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.lien::after { transform: scaleX(1); }
.lien:hover::after { animation: trait .6s var(--ease); }
@keyframes trait { 0% { transform: scaleX(1); transform-origin: right; } 49% { transform: scaleX(0); transform-origin: right; } 50% { transform-origin: left; } 100% { transform: scaleX(1); transform-origin: left; } }

/* ── En-tête ─────────────────────────────────────────────── */
.entete { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); border-bottom: 1px solid transparent; transition: transform .45s var(--ease), background-color .3s, border-color .3s; }
.entete .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.entete.est-defile { background: rgba(242, 237, 242, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-color: var(--ligne); }
.entete.est-cache { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.nav ul { display: flex; gap: clamp(20px, 2.6vw, 36px); }
.nav ul a { position: relative; text-decoration: none; color: var(--violet); font-size: 15px; padding: 6px 0; }
.nav ul a:hover::after, .nav ul a:focus-visible::after { transform: scaleX(1); }
.nav ul a[aria-current="page"]::after { transform: scaleX(1); background: var(--cyan); height: 2px; }
.burger, .menu-mobile { display: none; }

/* ── Accueil : ouverture ─────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header) + 24px) 0 48px; overflow: hidden; }
.hero__grille { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero .h1 { margin-top: 24px; }
.hero .lead { margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__cerveau { position: relative; }
.hero__cerveau svg { width: 100%; height: auto; max-height: 76svh; margin-inline: auto; overflow: visible; }

/* ── Dessins : cerveau, neurones, réseau ─────────────────── */
.c-fond { fill: var(--fond); }
.c-trait { fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.c-fond.c-trait { fill: var(--fond); }
.c-sillon { fill: none; stroke: var(--violet-2); stroke-width: 1.05; stroke-linecap: round; opacity: .38; }
.n-dendrite { fill: none; stroke: var(--violet); stroke-linecap: round; opacity: .82; transition: stroke .5s, opacity .5s; }
.n-soma { fill: var(--violet-2); transition: fill .35s; }
.n-liaison { fill: none; stroke: var(--violet-2); stroke-width: 1.1; opacity: .5; stroke-linecap: round; }
.n-bouton { fill: var(--violet-2); transition: fill .3s; }
.n-axone { fill: none; stroke: var(--violet); stroke-width: 2.4; stroke-linecap: round; transition: stroke .4s; }
.n-myeline { fill: var(--mauve); stroke: var(--violet-2); stroke-width: 1.2; transition: fill .25s, stroke .25s; }
.n-vesicule { fill: var(--cyan); opacity: 0; transition: transform .9s var(--ease), opacity .4s; transition-delay: var(--d, 0s); }
.n-legende { font: 400 12px var(--mono); letter-spacing: .06em; fill: var(--violet-2); paint-order: stroke; stroke: var(--fond); stroke-width: 6px; stroke-linejoin: round; }
.n-point { fill: var(--cyan); }
.n-halo { fill: var(--cyan); opacity: .22; }
.n-neurone.est-allume .n-soma, .ville.est-allume .ville__point { fill: var(--cyan); }
.n-neurone.est-allume .n-dendrite, .est-allume .n-dendrite { stroke: var(--cyan); opacity: 1; }
.est-allume.n-myeline { fill: var(--cyan); stroke: var(--cyan); }
.est-allume.n-bouton, .est-allume .n-bouton { fill: var(--cyan); }
.est-allume.n-axone, .est-allume .n-axone { stroke: var(--cyan); }
.est-allume .n-soma { fill: var(--cyan); }
.cx-influx { fill: var(--cyan); opacity: 0; }
.est-traverse .n-vesicule { opacity: 1; transform: translateX(var(--dx)); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding-block: var(--section); }
.section--teinte { background: var(--fond-2); }
.section--blanche { background: var(--blanc); }
.entete-section { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px 48px; align-items: start; }
.entete-section .h2 { max-width: 17em; }
.entete-section .lead { margin-top: 22px; }

/* ── La connexion (histoire en 4 temps) ──────────────────── */
.connexion-section { position: relative; background: var(--blanc); }
.connexion-section .n-legende { stroke: var(--blanc); }
.connexion__scene { padding-block: var(--section); display: flex; flex-direction: column; justify-content: center; }
.connexion__dessin { margin-top: clamp(28px, 5vh, 56px); }
.connexion__dessin svg { width: 100%; height: auto; max-height: 40svh; overflow: visible; }
.connexion__dessin .n-legende { display: none; }
.temps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(24px, 4vh, 48px); }
.temps li { padding-top: 18px; border-top: 2px solid var(--ligne); transition: border-color .4s; }
.temps li span { font: 500 12px var(--mono); color: var(--gris); letter-spacing: .06em; transition: color .4s; }
.temps h3 { font: 500 clamp(16px, 1.35vw, 19px)/1.25 var(--titre); letter-spacing: -.01em; margin-top: 10px; color: var(--gris); transition: color .4s; }
.temps p { font-size: 15px; margin-top: 8px; color: var(--gris); transition: color .4s; }
.temps li.est-actif, .temps li.est-fait { border-color: var(--cyan); }
.temps li.est-actif h3, .temps li.est-fait h3 { color: var(--violet); }
.temps li.est-actif p, .temps li.est-fait p { color: var(--texte); }
.temps li.est-actif span { color: var(--violet-2); }
@media (min-width: 961px) {
  .js .connexion-section { height: 320vh; }
  .js .connexion__scene { position: sticky; top: 0; height: 100vh; height: 100svh; padding-block: calc(var(--header) + 8px) 24px; overflow: hidden; }
}

/* ── Services ────────────────────────────────────────────── */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); margin-top: clamp(48px, 7vw, 88px); }
.service { padding: 30px 0 44px; border-top: 1px solid var(--ligne-forte); }
.service__tete { display: flex; align-items: center; justify-content: space-between; }
.service__num { font: 400 13px var(--mono); color: var(--violet-2); }
.service__icone { width: 46px; height: 46px; color: var(--violet); }
.service__icone path, .service__icone circle, .service__icone rect { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.service__icone .plein { fill: var(--cyan); stroke: none; }
.service h3 { font: 400 clamp(20px, 1.7vw, 25px)/1.2 var(--titre); letter-spacing: -.02em; margin-top: 26px; }
.service p { margin-top: 12px; max-width: 26em; }
.service:hover .service__icone path, .service:hover .service__icone circle, .service:hover .service__icone rect { stroke: var(--violet-2); }

/* ── Réseau (carte) ──────────────────────────────────────── */
.reseau { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.reseau__texte .h2 { margin-top: 20px; }
.reseau__texte p:not(.label) { margin-top: 22px; max-width: 30em; }
.reseau__carte svg { width: 100%; height: auto; max-height: 82svh; overflow: visible; }
.carte .hachure { stroke: var(--violet-2); stroke-width: .5; opacity: .28; }
.carte__terre { fill: url(#hachure); stroke: var(--violet); stroke-width: 1.4; stroke-linejoin: round; }
.carte__mer { fill: none; stroke: var(--violet-2); stroke-width: .8; opacity: .22; stroke-linecap: round; }
.carte__etiquette { font: 400 10.5px var(--mono); letter-spacing: .32em; fill: var(--gris); }
.carte .n-liaison { stroke-width: 1.3; opacity: .55; }
.ville__point { fill: var(--violet-2); stroke: var(--fond-2); stroke-width: 2; transition: fill .3s; }
.ville__nom { font: 500 15px var(--sans); fill: var(--violet); paint-order: stroke; stroke: var(--fond-2); stroke-width: 5px; stroke-linejoin: round; }

/* ── Laboratoires partenaires ────────────────────────────── */
.clients { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px 48px; align-items: center; }
.clients__liste { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 40px; padding: 32px 0; border-block: 1px solid var(--ligne); }
.client { display: flex; align-items: center; gap: 28px; }
.client img { height: 56px; width: auto; }
.client p { font-size: 15px; color: var(--gris); max-width: 24em; }
.clients__appel { margin-top: 22px; }

/* ── Bande sombre ────────────────────────────────────────── */
.appel { position: relative; background: var(--violet); color: rgba(255, 255, 255, .82); overflow: hidden; }
.appel .wrap { padding-block: clamp(88px, 11vw, 150px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; position: relative; z-index: 1; }
.appel .h2 { color: #fff; font-size: clamp(36px, 5vw, 76px); margin-top: 18px; }
.appel .label { color: rgba(255, 255, 255, .6); }
.appel .btn { border-color: #fff; color: #fff; margin-top: 28px; }
.appel .btn--plein { background: var(--cyan); border-color: var(--cyan); color: var(--violet); }
.appel .btn--plein:hover { background: #5cc8c6; }
.appel__symbole { position: absolute; right: -8%; top: 50%; width: min(56vw, 820px); transform: translateY(-50%); opacity: .1; pointer-events: none; }
.appel__symbole .symbole { width: 100%; height: auto; }
.appel__symbole .s-point, .rideau .s-point { fill: #fff; }
.appel__symbole .s-barre--1, .rideau .s-barre--1 { stroke: #fff; }

/* ── Pied de page (dans l'esprit de « meridian ») ────────── */
.pied { position: relative; display: flex; flex-direction: column; background: var(--fond); overflow: hidden; }
.pied__contenu { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(56px, 8vh, 96px) 16px 0; }
.pied__logo { display: inline-flex; align-items: center; gap: 18px; text-decoration: none; }
.pied__logo .symbole { width: clamp(64px, 6vw, 92px); height: auto; }
.pied__logo .mot { font-size: clamp(30px, 3.4vw, 50px); padding-bottom: .55em; }
.pied__logo .mot small { font-size: .42em; bottom: -.05em; }
.pied__signature { margin-top: 14px; }
.pied__nav { margin-top: clamp(26px, 3.4vw, 40px); }
.pied__nav ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 10px; }
.pied__nav li { display: flex; align-items: center; }
.pied__nav li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin: 0 clamp(14px, 1.8vw, 24px); flex: none; }
.pied__nav a { position: relative; text-decoration: none; color: var(--violet); font-size: 15px; padding: 4px 0; }
.pied__nav a:hover::after, .pied__nav a:focus-visible::after { transform: scaleX(1); }
.pied__copy { margin-top: clamp(22px, 2.6vw, 32px); font: 400 11.5px var(--mono); color: var(--gris); letter-spacing: .02em; }
.pied__chaine { aspect-ratio: 2400 / 260; margin-top: clamp(28px, 5vh, 56px); }
.pied__chaine svg { width: 100%; height: 100%; }
.chaine .n-axone { stroke-width: 3; }
.chaine .n-dendrite { opacity: .7; }

/* ── Rideau entre deux pages ─────────────────────────────── */
.rideau { position: fixed; inset: 0; z-index: 150; background: var(--violet); display: grid; place-items: center; transform: translateY(100%); pointer-events: none; }
.rideau .symbole { width: 96px; height: auto; }
.rideau.est-ferme { transform: none; transition: transform .45s var(--ease); }
.rideau.est-ouvert { transform: translateY(-100%); transition: transform .55s var(--ease); }
.entree-rideau .rideau { transform: none; }

/* ── Qui sommes-nous ─────────────────────────────────────── */
.ouverture { position: relative; padding: calc(var(--header) + clamp(48px, 10vh, 120px)) 0 clamp(64px, 9vw, 120px); }
.ouverture__grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.ouverture .h1 { margin-top: 24px; font-size: clamp(34px, 4.3vw, 64px); }
.ouverture .lead { margin-top: 28px; }
.ouverture__symbole { width: 100%; max-width: 340px; justify-self: end; }
.ouverture__symbole .symbole { width: 100%; height: auto; }
.js .ouverture__symbole .s-point { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: point-entre .7s .2s var(--ease) forwards, signal 4.8s 2.4s ease-in-out infinite; }
.js .ouverture__symbole .s-barre { stroke-dasharray: 135; stroke-dashoffset: 135; }
.js .ouverture__symbole .s-barre--1 { animation: barre-trace .8s .7s var(--ease) forwards, signal-trait 4.8s 2.65s ease-in-out infinite; }
.js .ouverture__symbole .s-barre--2 { animation: barre-trace .8s 1.05s var(--ease) forwards, signal-trait-2 4.8s 2.9s ease-in-out infinite; }
@keyframes point-entre { to { transform: scale(1); } }
@keyframes barre-trace { to { stroke-dashoffset: 0; } }
@keyframes signal { 0%, 14%, 100% { fill: var(--violet-2); } 6% { fill: var(--cyan); } }
@keyframes signal-trait { 0%, 14%, 100% { stroke: var(--violet-2); stroke-dashoffset: 0; } 6% { stroke: var(--cyan); stroke-dashoffset: 0; } }
@keyframes signal-trait-2 { 0%, 14%, 100% { stroke: var(--cyan); stroke-dashoffset: 0; } 6% { stroke: var(--violet); stroke-dashoffset: 0; } }

.nom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 32px 64px; align-items: start; }
.nom .h2 { margin-top: 20px; }
.nom p:not(.label) { margin-top: 20px; max-width: 32em; }
.nom__dessin { margin-top: clamp(40px, 6vw, 72px); }
.nom__dessin svg { width: 100%; height: auto; overflow: visible; }
.nom__dessin .n-legende { font-size: 19px; }
.js .nom__dessin .n-legende { opacity: 0; transition: opacity .8s var(--ease); }
.js .nom__dessin.est-visible .n-legende { opacity: 1; }
.decodage { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px 56px; align-items: center; margin-top: clamp(48px, 7vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--ligne); }
.decodage svg { width: clamp(220px, 26vw, 360px); height: auto; overflow: visible; }
.decodage__fil { fill: none; stroke: var(--violet-2); stroke-width: 1.4; stroke-dasharray: 3 5; }
.decodage__txt { font: 400 15px var(--mono); fill: var(--violet-2); letter-spacing: .04em; }
.decodage p { font-size: clamp(18px, 1.5vw, 21px); max-width: 30em; }

.valeurs { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--ligne-forte); }
.valeur { display: grid; grid-template-columns: clamp(64px, 9vw, 130px) minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px 32px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.valeur__lettre { font: 500 clamp(44px, 6vw, 92px)/1 var(--titre); color: var(--mauve); transition: color .5s var(--ease); letter-spacing: -.04em; }
.valeur h3 { font: 400 clamp(20px, 1.9vw, 28px)/1.2 var(--titre); letter-spacing: -.02em; }
.valeur p { max-width: 34em; }
.valeur.est-au-centre .valeur__lettre { color: var(--violet); }

.engagements { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.engagements li { padding-top: 26px; border-top: 2px solid var(--cyan); }
.engagements h3 { font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--titre); letter-spacing: -.02em; }
.engagements p { margin-top: 12px; }

.ethique { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px 48px; }
.ethique h3 { font: 400 clamp(22px, 2vw, 30px)/1.2 var(--titre); }
.ethique p { font-size: 18px; max-width: 34em; margin-top: 16px; }

/* ── Contact ─────────────────────────────────────────────── */
.synapse-petite { width: 100%; max-width: 480px; justify-self: center; }
.synapse-petite svg { width: 100%; height: auto; overflow: hidden; }
.synapse-petite .n-legende { display: none; }
.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.champ { display: flex; flex-direction: column; gap: 8px; }
.champ--large { grid-column: 1 / -1; }
.champ label { font: 500 14px var(--sans); color: var(--violet); }
.champ label .facultatif { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea {
  font: 400 17px/1.4 var(--sans); color: var(--violet); background: var(--blanc);
  border: 1.5px solid var(--ligne-forte); border-radius: 12px; padding: 13px 16px; width: 100%;
  transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.champ select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23482771' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.champ textarea { resize: vertical; min-height: 150px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(68, 185, 183, .25); }
.champ [aria-invalid="true"] { border-color: #b03a5b; }
.erreur { font-size: 13.5px; color: #b03a5b; }
.erreur:empty { display: none; }
.accord { grid-column: 1 / -1; display: grid; grid-template-columns: 20px 1fr; gap: 14px; align-items: start; font-size: 14.5px; }
.accord input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--violet); }
.accord .erreur { grid-column: 2; }
.envoi { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-envoi { position: relative; overflow: hidden; min-width: 240px; }
.btn-envoi__texte { transition: transform .5s var(--ease), opacity .3s; }
.btn-envoi__influx { position: absolute; left: 0; top: 50%; width: 100%; height: 14px; margin-top: -7px; opacity: 0; overflow: visible; }
.btn-envoi__influx circle { fill: var(--cyan); }
.btn-envoi.est-envoye .btn-envoi__texte { transform: translateY(-160%); opacity: 0; }
.btn-envoi.est-envoye .btn-envoi__influx { opacity: 1; }
.btn-envoi.est-envoye .btn-envoi__influx circle { animation: influx-bouton 1.1s cubic-bezier(.45, 0, .55, 1) forwards; }
@keyframes influx-bouton { from { transform: translateX(-20px); } to { transform: translateX(300px); } }
.confirmation { display: flex; align-items: center; gap: 10px; color: var(--violet); font-weight: 500; opacity: 0; transition: opacity .5s .8s; }
.confirmation svg { width: 22px; height: 22px; }
.confirmation path { fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s 1s var(--ease); }
.est-confirme .confirmation { opacity: 1; }
.est-confirme .confirmation path { stroke-dashoffset: 0; }

.fiche { background: var(--blanc); padding: clamp(28px, 3vw, 44px); border-radius: var(--rayon); }
.fiche .logo { pointer-events: none; }
.fiche dl { margin-top: 30px; display: grid; gap: 18px; }
.fiche dt { font: 400 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.fiche dd { margin-top: 4px; color: var(--violet); }
.fiche dd a { text-decoration-color: var(--ligne-forte); text-underline-offset: 3px; }

.recrutement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.recrutement p { font-size: 18px; max-width: 30em; }
.recrutement .btn { margin-top: 26px; }

.texte-legal { max-width: 46em; }
.texte-legal h2 { font: 400 24px var(--titre); margin-top: 48px; }
.texte-legal p { margin-top: 14px; }


/* ── Logo d'origine, espace adhérent ─────────────────────── */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: calc(var(--header) + 12px); }
.logo__img { height: 56px; width: auto; }
.entete__droite { display: flex; align-items: center; gap: 18px; }
.adherent { position: relative; }
.adherent__bouton { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--violet); color: #fff; font: 500 14px var(--sans); cursor: pointer; transition: background-color .25s; }
.adherent__bouton:hover, .adherent__bouton[aria-expanded="true"] { background: #3a1f5d; }
.adherent__bouton svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.adherent__panneau { position: absolute; right: 0; top: calc(100% + 12px); width: 330px; background: var(--blanc); border-radius: 18px; padding: 24px; display: grid; gap: 14px; z-index: 60;
  box-shadow: 0 28px 60px -24px rgba(72, 39, 113, .45), 0 0 0 1px var(--ligne); }
.adherent__panneau[hidden] { display: none; }
.adherent__titre { font: 500 18px var(--titre); color: var(--violet); }
.adherent__aide { font-size: 13.5px; color: var(--gris); margin-top: -8px; }
.adherent__champ { display: grid; gap: 6px; font: 500 13px var(--sans); color: var(--violet); }
.adherent__champ input { font: 400 16px var(--sans); color: var(--violet); border: 1.5px solid var(--ligne-forte); border-radius: 10px; padding: 10px 12px; }
.adherent__champ input:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(68, 185, 183, .25); }
.adherent__valider { width: 100%; min-height: 46px; }
.adherent__oubli, .adherent__message { font-size: 12.5px; color: var(--gris); text-align: center; }
.adherent__message { color: var(--violet-2); }

/* ── Bandeau des marques ─────────────────────────────────── */
.marques { background: var(--blanc); padding: 36px 0 40px; border-block: 1px solid var(--ligne); }
.marques__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 26px; }
.marques__tete .label { margin: 0; }
.marques__defile { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marques__piste { display: flex; width: max-content; align-items: center; animation: defile 55s linear infinite; }
.marques__piste li { margin-right: clamp(48px, 6vw, 96px); flex: none; }
.marques__piste img { height: clamp(96px, 10vw, 150px); width: auto; }
.marques__defile:hover .marques__piste { animation-play-state: paused; }
@keyframes defile { to { transform: translateX(-50%); } }

/* ── Notre métier ────────────────────────────────────────── */
.metier { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.metier .h2 { margin-top: 20px; }
.metier .lead { margin-top: 24px; }
.decodage { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; align-items: center; margin-top: 0; padding: 28px; border-top: 0; background: var(--fond-2); border-radius: 18px; }
.decodage__symbole { width: 110px; height: auto; }
.decodage p { font-size: 16.5px; max-width: none; }

/* Les quatre temps : tout le chapitre se colore, pas seulement le trait */
.temps li { padding: 18px 18px 20px; border-top: 0; border-radius: 16px; opacity: .55; transition: background-color .5s var(--ease), opacity .5s var(--ease), color .5s var(--ease); }
.temps li.est-fait { background: var(--mauve); opacity: 1; }
.temps li.est-fait h3, .temps li.est-fait p { color: var(--violet); }
.temps li.est-actif { background: var(--violet); opacity: 1; }
.temps li.est-actif h3, .temps li.est-actif p { color: #fff; }
.temps li.est-actif span { color: var(--cyan); }

/* ── Photo + texte ───────────────────────────────────────── */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.duo--inverse { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.duo .h2 { margin-top: 20px; }
.duo .lead { margin-top: 22px; }
.photo { margin: 0; border-radius: 28px; overflow: hidden; aspect-ratio: 1 / 1.06; background: var(--fond-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.rejoindre .photo img { object-position: 50% 35%; }
.garanties { margin-top: 32px; display: grid; gap: 18px; }
.garanties li { padding-left: 20px; border-left: 2px solid var(--cyan); }
.garanties h3 { font: 500 17px/1.3 var(--titre); letter-spacing: -.01em; }
.garanties p { font-size: 15.5px; margin-top: 4px; }
.atouts { margin-top: 28px; display: grid; gap: 14px; }
.atouts li { position: relative; padding-left: 30px; }
.atouts li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 11px; height: 11px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(68, 185, 183, .2); }

/* ── Les huit lettres ────────────────────────────────────── */
.lettres { margin-top: clamp(48px, 7vw, 88px); border-top: 1px solid var(--ligne-forte); }
.lettres li { padding: 28px 8px 4px 0; display: flex; flex-direction: column; gap: 14px; }
.lettre { font: 500 clamp(48px, 7.6vw, 116px)/1 var(--titre); color: var(--mauve); letter-spacing: -.04em; transition: color .7s var(--ease); }
.lettres.est-visible .lettre { color: var(--violet); }
.lettres li:nth-child(2) .lettre { transition-delay: .09s; } .lettres li:nth-child(3) .lettre { transition-delay: .18s; }
.lettres li:nth-child(4) .lettre { transition-delay: .27s; } .lettres li:nth-child(5) .lettre { transition-delay: .36s; }
.lettres li:nth-child(6) .lettre { transition-delay: .45s; } .lettres li:nth-child(7) .lettre { transition-delay: .54s; }
.lettres li:nth-child(8) .lettre { transition-delay: .63s; }
.lettres li:hover .lettre { color: var(--violet-2); transition-delay: 0s; }
.lettre__mot { font: 400 15px var(--sans); color: var(--texte); }

/* ── Logos en image ──────────────────────────────────────── */
img.appel__symbole { position: absolute; right: -4%; top: 50%; width: min(48vw, 700px); height: auto; transform: translateY(-50%); opacity: .12; pointer-events: none; }
.pied__logo img { width: clamp(260px, 30vw, 440px); height: auto; }
.rideau img { width: 110px; height: auto; }
.fiche__logo { width: 220px; height: auto; }

/* ── Apparitions ─────────────────────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delai, 0s); }
.js [data-reveal].est-visible { opacity: 1; transform: none; }
.mot-anime { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.mot-anime > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--delai, 0s); }
.est-visible .mot-anime > span { transform: none; }
.en-pause, .en-pause * { animation-play-state: paused !important; }

/* ── Tablette ────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 10px 0; font: 500 15px var(--sans); color: var(--violet); cursor: pointer; }
  .burger__traits { width: 22px; height: 10px; position: relative; }
  .burger__traits::before, .burger__traits::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
  .burger__traits::before { top: 0; } .burger__traits::after { bottom: 0; }
  .menu-ouvert .burger__traits::before { transform: translateY(4px) rotate(45deg); }
  .menu-ouvert .burger__traits::after { transform: translateY(-4px) rotate(-45deg); }
  .menu-ouvert .entete { background: var(--fond); transform: none; }
  .menu-mobile { display: flex !important; position: fixed; inset: var(--header) 0 0; z-index: 49; background: var(--fond); padding: 40px var(--gutter); flex-direction: column; gap: 10px; visibility: hidden; opacity: 0; transition: opacity .3s, visibility 0s .3s; }
  .menu-ouvert .menu-mobile { visibility: visible; opacity: 1; transition: opacity .3s; }
  .menu-mobile a { font: 300 34px/1.3 var(--titre); color: var(--violet); text-decoration: none; letter-spacing: -.03em; transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease); }
  .menu-mobile a[aria-current="page"] { color: var(--violet-2); }
  .menu-mobile .menu-mobile__cta { font: 500 17px var(--sans); margin-top: 20px; color: var(--violet-2); }
  .menu-ouvert .menu-mobile a { transform: none; opacity: 1; }
  .menu-ouvert .menu-mobile a:nth-child(2) { transition-delay: .06s; }
  .menu-ouvert .menu-mobile a:nth-child(3) { transition-delay: .12s; }
  .menu-ouvert .menu-mobile a:nth-child(4) { transition-delay: .18s; }
  .menu-mobile .signature { margin-top: auto; }
}

@media (max-width: 960px) {

  .hero__grille, .entete-section, .reseau, .clients, .appel .wrap, .ethique, .recrutement, .contact, .ouverture__grille, .nom { grid-template-columns: 1fr; }
  .hero { min-height: 0; padding-top: calc(var(--header) + 40px); }
  .hero__cerveau svg { max-height: 56svh; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .temps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .engagements { grid-template-columns: 1fr; gap: 28px; }
  .ouverture__symbole { max-width: 300px; justify-self: start; }
  .valeur { grid-template-columns: 72px minmax(0, 1fr); }
  .valeur p { grid-column: 2; }
  .pied__nav ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; row-gap: 2px; max-width: 520px; margin: 0 auto; }
  .pied__nav li { justify-content: center; }
  .pied__nav li + li::before { display: none; }
  .pied__nav a { padding: 8px 4px; }
  .pied__chaine { aspect-ratio: auto; height: 150px; }
}

/* ── Téléphone ───────────────────────────────────────────── */
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header: 66px; }
  .logo .symbole { width: 38px; }
  .mot { font-size: 16px; }
  .actions .btn { flex: 1 1 auto; }
  .services { grid-template-columns: 1fr; }
  .service { padding-bottom: 32px; }
  .temps { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; }
  .decodage { grid-template-columns: 1fr; }
  .valeur { grid-template-columns: 52px minmax(0, 1fr); gap: 8px 16px; }
  .pied__logo { flex-direction: column; gap: 14px; }
  .pied__nav ul { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px; }
  .ville__nom { font-size: 22px; stroke-width: 7px; }
  .carte__etiquette { font-size: 16px; }
  .nom__dessin .n-legende { font-size: 22px; }
  .pied__chaine { height: 96px; }
}

/* ── Mouvement réduit ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .connexion-section { height: auto; }
  .js .connexion__scene { position: relative; height: auto; padding-block: var(--section); }
}

@media (max-width: 960px) {
  .metier, .duo, .duo--inverse { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .logo__img { height: 40px; }
  .lettre__mot { font-size: 12.5px; }
  .adherent__bouton { padding: 0 13px; }
  .adherent__bouton span { display: none; }
  .adherent__panneau { position: fixed; left: 16px; right: 16px; top: calc(var(--header) + 6px); width: auto; }
  .entete__droite { gap: 12px; }
  .marques__tete { flex-direction: column; gap: 4px; }
  .decodage { grid-template-columns: 72px minmax(0, 1fr); padding: 20px; gap: 16px; }
  .decodage__symbole { width: 72px; }
  .pied__logo img { width: 240px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marques__piste { animation: none; flex-wrap: wrap; width: auto; } }

/* ── Fond de page : des axones à faible opacité, l'influx y circule ── */
.fond { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fond svg { width: 100%; height: 100%; }
.fond__dessin { opacity: .11; }
.fond__influx .n-point { opacity: .55; }
.fond__influx .n-halo { opacity: .14; }
.hero, .pied { background: transparent; }
.section--teinte { background: rgba(233, 224, 236, .78); }
.section--blanche, .connexion-section { background: rgba(255, 255, 255, .8); }
.marques { background: transparent; border-block-color: var(--ligne); }
.marques__piste img { filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .35)); }
.marques__piste img { height: auto; max-height: clamp(44px, 4.6vw, 66px); max-width: clamp(130px, 14vw, 220px); width: auto; object-fit: contain; }
.marques__piste li { margin-right: clamp(56px, 7vw, 110px); }
.garanties--colonnes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px clamp(24px, 3vw, 48px); margin-top: clamp(40px, 6vw, 72px); }
@media (max-width: 960px) { .garanties--colonnes { grid-template-columns: 1fr; } }

/* Métiers : titres seuls */
.service { padding: 26px 0 30px; }
.service h3 { margin-top: 18px; }

/* Cerveau agrandi (03/10, demande de Mehdi) */
@media (min-width: 961px) {
  .hero__grille { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(16px, 2.5vw, 40px); }
  .hero__cerveau svg { max-height: 88svh; width: 118%; max-width: none; margin-left: -4%; }
}
@media (max-width: 960px) { .hero__cerveau svg { width: 112%; margin-left: -6%; max-height: 64svh; } }

/* ── Les huit lettres : les glyphes du logo, une seule ligne, espace régulier ── */
.lettres { --h: clamp(56px, 7.2vw, 108px); --ecart: clamp(20px, 3.4vw, 56px);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 40px var(--ecart); padding-top: 36px; }
.lettres li { position: relative; padding: 0 0 36px; }
.lettre { display: block; height: var(--h); width: calc(var(--h) * var(--l) / 25.27); fill: currentColor; color: var(--mauve); transition: color .7s var(--ease); overflow: visible; }
.lettres.est-visible .lettre { color: var(--violet); }
.lettres li:hover .lettre { color: var(--violet-2); }
.lettre__mot { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); white-space: nowrap; text-align: center; }
.lettres .saut { display: none; }
.client__logo { display: inline-block; line-height: 0; }
.client__logo img { transition: opacity .3s; }
.client__logo:hover img, .client__logo:focus-visible img { opacity: .78; }
@media (max-width: 960px) {
  .lettres { --h: 48px; --ecart: 22px; }
  /* AXO sur une ligne, MEDIC sur la suivante */
  .lettres .saut { display: block; flex-basis: 100%; height: 0; margin: -40px 0 0; padding: 0; }
}
@media (max-width: 600px) { .lettres { --h: 32px; --ecart: 36px; } .lettre__mot { font-size: 10.5px; } }
.champ[hidden], .champ-piege { display: none; }
.formulaire { scroll-margin-top: calc(var(--header) + 24px); }
.champ--cv input[type="file"] { padding: 12px 14px; background: var(--blanc); }

/* ── 04/10 : en-tête plus haut, logo nettement plus grand (ordinateur) ── */
@media (min-width: 961px) {
  :root { --header: 128px; }
  .logo__img { height: 92px; }
  .nav ul a { font-size: 17px; }
  .adherent__bouton { min-height: 50px; padding: 0 24px; font-size: 15.5px; }
}
/* AXOMEDIC toujours sur une seule ligne sur ordinateur : la taille suit la largeur disponible */
@media (min-width: 961px) {
  .lettres { flex-wrap: nowrap; justify-content: space-between; container-type: inline-size; }
  .lettre { height: min(108px, calc((100cqw - 7 * var(--ecart)) / 10.4)); width: auto; aspect-ratio: var(--l) / 25.27; }
}
.adherent__bo { display: block; margin-top: 10px; font-size: 12.5px; color: var(--gris); text-align: center; }
.adherent__bo:hover { color: var(--violet); }
