/* ==========================================================================
   SIRIUSLOGIC — feuille de style du site (V0.3)
   Palette du logo : sarcelle profond et or. Syne, IBM Plex Sans, IBM Plex Mono.
   ========================================================================== */

@property --grain  { syntax: '<length>';     inherits: false; initial-value: 0px; }
@property --balai  { syntax: '<percentage>'; inherits: false; initial-value: -30%; }

@view-transition { navigation: auto; }

:root{
  --fond:        #00161A;
  --fond-2:      #031F24;
  --fond-3:      #072A2F;
  --fond-4:      #0B3439;
  --verre:       rgba(3, 29, 34, .62);

  --trait:       rgba(143, 211, 198, .10);
  --trait-fort:  rgba(143, 211, 198, .18);
  --trait-or:    rgba(216, 174, 85, .30);

  --creme:       #F2ECDF;
  --texte:       #C9D5D1;
  --texte-2:     #A9BCB8;
  --gris:        #86A3A0;

  --or:          #D8AE55;
  --or-clair:    #F0D08A;
  --or-profond:  #B8862F;
  --or-doux:     #C6B083;
  --eau:         #8FD3C6;
  --corail:      #F0A08E;
  --vert:        #8FD9AE;

  --degrade-or:  linear-gradient(135deg, #F7E2A6 0%, #E2BC67 38%, #C89840 72%, #A87526 100%);
  --degrade-texte: linear-gradient(100deg, #F7E2A6 0%, #E2BC67 45%, #C89840 100%);

  --display: "Syne", system-ui, sans-serif;
  --corps:   "IBM Plex Sans", system-ui, sans-serif;
  --data:    "IBM Plex Mono", ui-monospace, monospace;

  --marge: clamp(1rem, 5vw, 5.5rem);
  --large: 1320px;
  --gouttiere: max(var(--marge), calc((100% - var(--large)) / 2));
  --rayon: 22px;
  --rayon-petit: 14px;
  --haut-entete: 64px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Alias des noms de la V0.2, encore employés par l'espace client et le back-office */
  --nuit: var(--fond); --nuit-2: var(--fond-2); --nuit-3: var(--fond-3);
  --craie: var(--creme); --astre: var(--or-clair); --signal: var(--or);
}

*, *::before, *::after{ box-sizing: border-box; }
[hidden]{ display: none !important; }

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--haut-entete) + 2rem);
  background: var(--fond);
}

body{
  margin: 0;
  min-height: 100vh;
  color: var(--creme);
  font-family: var(--corps);
  font-weight: 300;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background:
    radial-gradient(1200px 800px at 85% -10%, rgba(14, 74, 76, .45), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(8, 52, 56, .35), transparent 60%),
    var(--fond);
  background-attachment: fixed;
}

/* Grain photographique très léger sur toute la page */
body::after{
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; }
::selection{ background: var(--or); color: var(--fond); }
:focus-visible{ outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 6px; }

.visuellement-cache{
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lien-evitement{
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .7rem 1.1rem; border-radius: 999px; background: var(--or); color: var(--fond);
  font-family: var(--data); font-size: .8rem; text-decoration: none;
}
.lien-evitement:focus{ top: 1rem; }

/* Barre de progression de lecture */
.progression{
  position: fixed; left: 0; top: 0; z-index: 70; height: 2px; width: 100%;
  background: var(--degrade-texte);
  transform-origin: 0 50%; transform: scaleX(0);
  pointer-events: none;
}

/* ------------------------------------------------------------ typographie */

.etiquette{
  font-family: var(--data);
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gris);
  margin: 0;
}
.etiquette--signal, .etiquette--or{ color: var(--or); }
section > .etiquette:first-child, .tete-section .etiquette, .duo > div > .etiquette:first-child, .bande-client > div > .etiquette:first-child, .fondateur > div > .etiquette:first-child{
  display: inline-flex; align-items: center; gap: .7rem; color: var(--or-doux);
}
section > .etiquette:first-child::before, .tete-section .etiquette::before, .duo > div > .etiquette:first-child::before, .bande-client > div > .etiquette:first-child::before, .fondateur > div > .etiquette:first-child::before{
  content: ""; width: 22px; height: 1px; background: var(--or);
}

h1{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5.4rem);
  line-height: 1.0;
  letter-spacing: -.03em;
  margin: 1.2rem 0 0;
  text-wrap: balance;
}
h1 em, .titre-section em, .appel h2 em{
  font-style: normal;
  background: var(--degrade-texte);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.titre-section{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.1rem + 2.6vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 1.1rem 0 0;
  max-width: 20ch;
  text-wrap: balance;
}
.intro{ margin: 1.4rem 0 0; max-width: 44rem; color: var(--texte-2); font-size: 1.0625rem; }

h3{
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.28rem;
  letter-spacing: -.01em;
  line-height: 1.22;
  margin: 1.1rem 0 .7rem;
}

.chapo{ margin: 1.6rem 0 0; max-width: 36rem; color: var(--texte); font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); }
.chapo strong{ color: var(--creme); font-weight: 500; }
.mention{ margin-top: 1.8rem; font-size: .875rem; color: var(--gris); max-width: 32rem; }
.mention a{ color: var(--or-clair); }

.lien-souligne{
  color: var(--or-clair); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 1px; transition: background-size .3s var(--ease);
}
.lien-souligne:hover{ background-size: 0 1px; background-position: 100% 100%; }

/* ------------------------------------------------------------ en-tête flottant */

.entete{
  position: fixed; top: 14px; left: 50%; z-index: 50;
  transform: translateX(-50%);
  width: min(var(--large), calc(100% - 28px));
  height: var(--haut-entete);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 .55rem 0 1.1rem;
  border-radius: 999px;
  background: rgba(2, 24, 28, .52);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(216, 174, 85, .16);
  box-shadow: 0 18px 50px -24px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .04);
  transition: background-color .35s ease, border-color .35s ease, top .35s var(--ease);
  view-transition-name: entete;
}
.entete.defile{ background: rgba(2, 22, 26, .82); border-color: rgba(216, 174, 85, .24); top: 10px; }

.marque{
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--display); font-weight: 800; font-size: 1rem; letter-spacing: .2em;
  text-decoration: none; white-space: nowrap; flex: none;
}
.marque img{ height: 38px; width: auto; filter: drop-shadow(0 0 10px rgba(240, 208, 138, .25)); }
.marque b{ font-weight: inherit; background: var(--degrade-texte); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav{ display: flex; align-items: center; gap: clamp(.8rem, 1.4vw, 1.4rem); }
.nav ul{ display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav a:not(.bouton){
  position: relative; display: block;
  padding: .5rem .8rem; border-radius: 999px;
  font-size: .875rem; font-weight: 400; color: var(--texte);
  text-decoration: none; white-space: nowrap;
  transition: color .2s ease, background-color .25s ease;
}
.nav a:not(.bouton):hover{ color: var(--creme); background: rgba(143, 211, 198, .07); }
.nav a[aria-current="page"]{ color: var(--or-clair); background: rgba(216, 174, 85, .1); }

.menu-bouton{
  display: none; align-items: center; justify-content: center;
  width: 2.8rem; height: 2.8rem; border-radius: 50%;
  border: 1px solid var(--trait-fort); background: transparent; color: var(--creme); cursor: pointer;
}
.menu-bouton svg{ width: 20px; height: 20px; }
.menu-bouton .ico-fermer{ display: none; }
.menu-ouvert .menu-bouton .ico-ouvrir{ display: none; }
.menu-ouvert .menu-bouton .ico-fermer{ display: block; }

/* ------------------------------------------------------------------ boutons */

.bouton{
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.45rem; border-radius: 999px;
  font-family: var(--data); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  color: var(--creme); background: rgba(255, 255, 255, .02);
  border: 1px solid var(--trait-fort);
  transition: border-color .25s ease, background-color .25s ease, transform .25s var(--ease), box-shadow .3s ease, color .25s ease;
}
.bouton:hover{ border-color: var(--trait-or); background: rgba(216, 174, 85, .08); transform: translateY(-1px); }
.bouton--plein{
  color: #1B1304; border-color: transparent;
  background: var(--degrade-or);
  box-shadow: 0 10px 34px -12px rgba(216, 174, 85, .6), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.bouton--plein::after{
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .45) 50%, transparent 80%);
  transition: transform .8s var(--ease);
}
.bouton--plein:hover{ color: #1B1304; background: var(--degrade-or); border-color: transparent; box-shadow: 0 14px 40px -12px rgba(216, 174, 85, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.bouton--plein:hover::after{ transform: translateX(120%); }
.bouton--petit{ padding: .6rem 1rem; font-size: .6875rem; }
.bouton svg{ width: 14px; height: 14px; flex: none; position: relative; z-index: 1; transition: transform .3s var(--ease); }
.bouton:hover svg{ transform: translateX(3px); }

.actions{ display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

.lien-fleche{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--data); font-size: .72rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--or-clair); text-decoration: none;
}
.lien-fleche svg{ width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lien-fleche:hover svg, a:hover .lien-fleche svg{ transform: translateX(4px); }

/* -------------------------------------------------- scènes du nuage de points */

.nuage{ position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }

/* Héros de l'accueil */
.heros{
  position: relative; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--haut-entete) + 3rem) var(--gouttiere) 6rem;
  overflow: hidden;
}
.heros::before{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 70% at 72% 42%, rgba(18, 88, 88, .38), transparent 70%),
    linear-gradient(90deg, rgba(0, 22, 26, .85) 0%, rgba(0, 22, 26, .35) 45%, rgba(0, 22, 26, 0) 70%);
}
.heros::after{
  content: ""; position: absolute; inset: auto 0 0 0; height: 26vh; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 22, 26, 0), var(--fond));
}
.heros .nuage{ z-index: -2; }
.heros__texte{ position: relative; z-index: 2; max-width: 40rem; }
.heros__texte h1{ font-size: clamp(2.5rem, 1rem + 4.2vw, 4.6rem); }
.heros[data-scene]{ cursor: crosshair; }
.heros[data-scene] a, .heros[data-scene] button{ cursor: pointer; }

.heros__hud{ position: absolute; inset: 0; z-index: 1; pointer-events: none; font-family: var(--data); color: var(--gris); }
.hud-sirius{
  position: absolute; left: 0; top: 0; opacity: 0;
  transition: opacity .6s ease;
  will-change: transform;
}
.hud-sirius.visible{ opacity: 1; }
.hud-sirius__trait{
  position: absolute; left: 10px; top: -10px; width: 64px; height: 36px;
  border-top: 1px solid rgba(240, 208, 138, .45);
  transform: skewX(-50deg); transform-origin: 0 100%;
}
.hud-sirius__texte{
  position: absolute; left: 62px; top: -58px; white-space: nowrap;
  font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
}
.hud-sirius__texte b{ color: var(--or-clair); font-weight: 500; }
.hud-coin{ position: absolute; margin: 0; font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.7; }
.hud-coin--bas{ right: var(--gouttiere); bottom: 2.6rem; text-align: right; max-width: 23rem; }
.hud-coin--bas span{ display: block; color: var(--gris); }
.hud-coin b{ color: var(--or-clair); font-weight: 500; font-variant-numeric: tabular-nums; }
.hud-coin em{ font-style: normal; color: var(--texte-2); text-transform: none; letter-spacing: .02em; font-family: var(--corps); font-size: .8125rem; }

.heros__defiler{
  position: absolute; left: var(--gouttiere); bottom: 2.6rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--data); font-size: .625rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gris); text-decoration: none;
}
.heros__defiler i{ position: relative; width: 1px; height: 42px; background: var(--trait-fort); overflow: hidden; }
.heros__defiler i::after{
  content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%;
  background: var(--or-clair); animation: descendre 2.2s var(--ease) infinite;
}
@keyframes descendre{ to{ top: 110%; } }

/* En-tête des pages intérieures */
.page-tete{
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 86svh, 880px);
  display: grid; align-content: center;
  padding: calc(var(--haut-entete) + 4.5rem) var(--gouttiere) 5rem;
}
.page-tete::before{
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 65% at 75% 45%, rgba(18, 88, 88, .34), transparent 70%),
    linear-gradient(90deg, rgba(0, 22, 26, .8) 0%, rgba(0, 22, 26, .3) 50%, rgba(0, 22, 26, 0) 72%);
}
.page-tete::after{
  content: ""; position: absolute; inset: auto 0 0 0; height: 18vh; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0, 22, 26, 0), var(--fond));
}
.page-tete .nuage{ z-index: -2; }
.page-tete__texte{ position: relative; z-index: 2; max-width: 42rem; }
.page-tete h1{ font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.6rem); max-width: 16ch; }
.page-tete--simple{ min-height: 0; padding-bottom: 4rem; }
.page-tete--simple::before{ background: radial-gradient(50% 80% at 80% 0%, rgba(18, 88, 88, .3), transparent 70%); }
.page-tete__points{
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 2.2rem 0 0; padding: 0; max-width: 44rem;
}
.page-tete__points li{
  padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--trait-fort); background: rgba(3, 31, 36, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: .8125rem; color: var(--texte);
}

.fil{
  display: flex; flex-wrap: wrap; gap: .55rem; align-items: center;
  font-family: var(--data); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris);
  margin: 0;
}
.fil a{ color: var(--gris); text-decoration: none; transition: color .2s ease; }
.fil a:hover{ color: var(--or-clair); }
.fil span[aria-hidden]{ color: var(--trait-fort); }

/* ---------------------------------------------------------------- bandeau défilant */

.defilant{
  position: relative; overflow: hidden;
  border-block: 1px solid var(--trait);
  background: rgba(3, 31, 36, .4);
  padding: 1.1rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.defilant__piste{ display: flex; width: max-content; animation: defiler 48s linear infinite; }
.defilant:hover .defilant__piste{ animation-play-state: paused; }
.defilant ul{ display: flex; align-items: center; gap: 2.4rem; list-style: none; margin: 0; padding: 0 1.2rem; }
.defilant li{
  display: inline-flex; align-items: center; gap: 2.4rem; white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.35rem); color: var(--texte-2);
}
.defilant li::after{ content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--or); opacity: .8; }
@keyframes defiler{ to{ transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */

section{ position: relative; padding: clamp(5rem, 12vh, 9rem) var(--gouttiere); }
.section--alt{
  background: linear-gradient(180deg, rgba(4, 34, 39, 0) 0%, rgba(4, 34, 39, .7) 12%, rgba(4, 34, 39, .7) 88%, rgba(4, 34, 39, 0) 100%);
}

.tete-section{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.tete-section > div{ max-width: 46rem; }

/* Grille de cartes */
.grille{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-top: clamp(2.5rem, 5vh, 4rem);
}
.grille--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Carte : fond vitré, reflet qui suit la souris, filet d'or au survol */
.metier, .carte, .appel, .maquette{
  --mx: 50%; --my: -30%;
  position: relative; isolation: isolate;
}
.metier{
  display: flex; flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border-radius: var(--rayon);
  background: linear-gradient(180deg, rgba(11, 52, 57, .55), rgba(3, 31, 36, .55));
  border: 1px solid var(--trait);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03);
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .35s ease, box-shadow .45s ease;
}
a.metier:hover, .carte:hover{ transform: translateY(-4px); }
.metier:hover{ border-color: rgba(216, 174, 85, .22); box-shadow: 0 26px 60px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .04); }
.metier::before, .carte::before, .appel::before{
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(240, 208, 138, .7), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s ease;
}
.metier::after, .carte::after{
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(216, 174, 85, .09), transparent 42%);
  opacity: 0; transition: opacity .4s ease;
}
.metier:hover::before, .carte:hover::before, .appel:hover::before,
.metier:hover::after, .carte:hover::after{ opacity: 1; }

.metier h3{ margin-top: 1.1rem; }
.metier p:not(.etiquette){ margin: 0; color: var(--texte-2); font-size: .9531rem; }
.metier ul{
  margin: 1.4rem 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: .4rem;
}
.metier li{
  font-family: var(--data); font-size: .6875rem; letter-spacing: .04em; color: var(--texte-2);
  padding: .3rem .65rem; border-radius: 999px; border: 1px solid var(--trait-fort);
}
.metier .lien-fleche{ margin-top: auto; padding-top: 1.6rem; }
.metier__num{
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--data); font-size: .6875rem; color: var(--or); letter-spacing: .14em; text-transform: uppercase;
}
.metier__icone{
  width: 44px; height: 44px; padding: 10px; border-radius: 12px;
  stroke: var(--or-clair); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  background: rgba(216, 174, 85, .08); border: 1px solid rgba(216, 174, 85, .18);
}

/* Offres */
.offre dl{ margin: 1.5rem 0 0; display: grid; gap: .1rem; }
.offre dl div{ display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--trait); }
.offre dt{ font-family: var(--data); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or-doux); padding-top: .2rem; }
.offre dd{ margin: 0; font-size: .875rem; color: var(--texte); }

/* Signaux / constats */
.signaux{
  display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem; margin: clamp(2rem, 4vh, 3rem) auto 0; padding: 0; list-style: none;
}
.signaux li{
  position: relative; padding: 1.4rem 1.4rem 1.5rem 3.2rem;
  border-radius: var(--rayon-petit); border: 1px solid var(--trait);
  background: rgba(3, 31, 36, .5); color: var(--texte-2); font-size: .9375rem;
}
.signaux li::before{
  content: ""; position: absolute; left: 1.4rem; top: 1.75rem;
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--or); box-shadow: 0 0 0 5px rgba(216, 174, 85, .12);
}
.signaux strong{ display: block; color: var(--creme); font-weight: 500; margin-bottom: .3rem; }

/* Étapes de méthode */
.etapes{
  counter-reset: etape;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: clamp(2.5rem, 5vh, 3.5rem) auto 0; padding: 0; list-style: none;
}
.etapes li{ counter-increment: etape; position: relative; padding-top: 4.6rem; }
.etapes li::before{
  content: counter(etape, decimal-leading-zero);
  position: absolute; top: 0; left: 0;
  font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(216, 174, 85, .55);
}
.etapes li::after{
  content: ""; position: absolute; top: 1.6rem; left: 5.2rem; right: 0; height: 1px;
  background: linear-gradient(to right, var(--trait-or), transparent);
}
.etapes h3{ margin: 0 0 .5rem; font-size: 1.15rem; }
.etapes p{ margin: 0; font-size: .9375rem; color: var(--texte-2); }

/* Chaîne de valeur (gestion) */
.flux{
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .9rem;
  margin: clamp(2.5rem, 5vh, 3.5rem) auto 0; padding: 0; list-style: none;
}
.flux li{
  position: relative; padding: 1.4rem 1.2rem 1.5rem;
  border-radius: var(--rayon-petit); border: 1px solid var(--trait);
  background: linear-gradient(180deg, rgba(11, 52, 57, .5), rgba(3, 31, 36, .5));
}
.flux li:not(:last-child)::after{
  content: ""; position: absolute; right: -.9rem; top: 50%; width: .9rem; height: 1px;
  background: linear-gradient(90deg, var(--or), transparent);
}
.flux li:not(:last-child)::before{
  content: ""; position: absolute; right: -.62rem; top: calc(50% - 3px); z-index: 1;
  width: 6px; height: 6px; border-radius: 50%; background: var(--or-clair);
  box-shadow: 0 0 10px var(--or);
  animation: impulsion 2.4s ease-in-out infinite;
}
.flux li:nth-child(2)::before{ animation-delay: .5s; }
.flux li:nth-child(3)::before{ animation-delay: 1s; }
.flux li:nth-child(4)::before{ animation-delay: 1.5s; }
@keyframes impulsion{ 0%, 100%{ opacity: .25; transform: scale(.7); } 50%{ opacity: 1; transform: scale(1.2); } }
.flux b{ display: block; font-family: var(--display); font-weight: 600; font-size: 1.08rem; margin: .5rem 0 .35rem; }
.flux span{ font-size: .8438rem; color: var(--texte-2); }
.flux .etiquette{ color: var(--or); }

/* Tableau comparatif */
.tableau-conteneur{ margin-top: clamp(2rem, 4vh, 3rem); overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon); background: rgba(3, 31, 36, .45); }
.tableau{ width: 100%; border-collapse: collapse; min-width: 40rem; font-size: .9375rem; }
.tableau th, .tableau td{ text-align: left; vertical-align: top; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--trait); }
.tableau thead th{ font-family: var(--display); font-weight: 600; font-size: 1.1rem; background: rgba(216, 174, 85, .06); }
.tableau thead th small{ display: block; font-family: var(--data); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or-doux); font-weight: 400; margin-top: .25rem; }
.tableau tbody th{ font-family: var(--data); font-weight: 500; font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); width: 11rem; }
.tableau td{ color: var(--texte); }
.tableau tr:last-child th, .tableau tr:last-child td{ border-bottom: 0; }

/* Deux colonnes texte + visuel */
.duo{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.duo--inverse > :first-child{ order: 2; }
.duo p:not(.etiquette){ color: var(--texte); }
.duo figure{ margin: 0; }
.duo figure img{ width: 100%; border-radius: var(--rayon); border: 1px solid var(--trait); }
.duo figcaption{ margin-top: .8rem; font-size: .8125rem; color: var(--gris); }

/* Visuel « relevé » : une ligne laser balaie l'image */
.releve{ position: relative; overflow: hidden; border-radius: var(--rayon); }
.releve img{ border: 0 !important; border-radius: 0 !important; }
.releve::after{
  content: ""; position: absolute; left: 0; right: 0; top: -10%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(240, 208, 138, .95), transparent);
  box-shadow: 0 0 18px 4px rgba(240, 208, 138, .35);
  animation: balayer 5.5s var(--ease) infinite;
}
.releve::before{
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--trait);
}
@keyframes balayer{ 0%{ top: 105%; opacity: 0; } 8%{ opacity: 1; } 85%{ opacity: 1; } 100%{ top: -5%; opacity: 0; } }

.liste-points{ margin: 1.6rem 0 0; padding: 0; list-style: none; }
.liste-points li{ position: relative; padding: .7rem 0 .7rem 1.7rem; border-top: 1px solid var(--trait); color: var(--texte); font-size: .9531rem; }
.liste-points li::before{ content: ""; position: absolute; left: .2rem; top: 1.3rem; width: 6px; height: 6px; transform: rotate(45deg); background: var(--or); }
.liste-points strong{ color: var(--creme); font-weight: 500; }

.formats, .etiquettes{ display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.formats span, .etiquettes span{
  font-family: var(--data); font-size: .6875rem; letter-spacing: .04em;
  padding: .28rem .65rem; border: 1px solid var(--trait-fort); border-radius: 999px; color: var(--texte-2);
}

/* ------------------------------------------------ médias (vidéo, 3D, images) */

.media{
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  background: #02100F; border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden;
}
.media iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media__lancer{
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .35rem;
  padding: clamp(1rem, 3vw, 2rem); border: 0; margin: 0; cursor: pointer; text-align: left;
  color: var(--creme); font: inherit; background: #02100F;
}
.media__lancer img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: opacity .4s ease, transform .8s var(--ease); }
.media__lancer::before{
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0, 16, 18, .94) 0%, rgba(0, 16, 18, .25) 55%, rgba(0, 16, 18, .1) 100%);
}
.media__lancer:hover img{ opacity: .72; transform: scale(1.03); }
.media__lancer > *:not(img){ position: relative; z-index: 2; }
.media__lecture{
  position: absolute !important; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 4.8rem; height: 4.8rem; border-radius: 50%;
  display: grid; place-items: center; color: #1B1304; background: var(--degrade-or);
  box-shadow: 0 0 0 10px rgba(216, 174, 85, .14), 0 18px 40px -12px rgba(216, 174, 85, .6);
  transition: transform .35s var(--ease), box-shadow .35s ease;
}
.media__lecture::after{
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(240, 208, 138, .5); animation: onde-lecture 2.4s ease-out infinite;
}
@keyframes onde-lecture{ from{ transform: scale(.9); opacity: 1; } to{ transform: scale(1.6); opacity: 0; } }
.media__lancer:hover .media__lecture{ transform: translate(-50%, -50%) scale(1.06); }
.media__lecture svg{ width: 26px; height: 26px; margin-left: 4px; }
.media__titre{ font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, .9rem + .8vw, 1.5rem); line-height: 1.2; }
.media__note{ font-size: .75rem; color: var(--gris); }

.galerie{ display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vh, 3rem); }
.galerie figure{ position: relative; margin: 0; overflow: hidden; border-radius: var(--rayon-petit); border: 1px solid var(--trait); background: var(--fond-2); }
.galerie img{ width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .8s var(--ease); }
.galerie figure:hover img{ transform: scale(1.04); }
.galerie figcaption{ padding: .85rem 1rem .95rem; font-size: .8438rem; color: var(--texte-2); }
.galerie figcaption b{ display: block; font-weight: 500; color: var(--creme); font-size: .9375rem; }

/* -------------------------------------------------------------- réalisations */

.sous-nav{ display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.sous-nav a{
  font-family: var(--data); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .55rem 1rem; border: 1px solid var(--trait-fort); border-radius: 999px;
  color: var(--texte); text-decoration: none; background: rgba(3, 31, 36, .5);
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.sous-nav a:hover{ border-color: var(--trait-or); color: var(--or-clair); background: rgba(216, 174, 85, .08); }

.cartes{ display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: clamp(1rem, 2vw, 1.4rem); margin-top: clamp(2rem, 4vh, 3rem); }
.carte{
  display: flex; flex-direction: column;
  border-radius: var(--rayon); overflow: hidden;
  background: linear-gradient(180deg, rgba(11, 52, 57, .55), rgba(3, 31, 36, .6));
  border: 1px solid var(--trait);
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .35s ease, box-shadow .45s ease;
}
.carte:hover{ border-color: rgba(216, 174, 85, .22); box-shadow: 0 30px 70px -34px rgba(0, 0, 0, .85); }
.carte__image{ position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #02100F; }
.carte__image::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3, 31, 36, .5), transparent 45%); }
.carte__image img{ width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--ease); }
a.carte:hover .carte__image img{ transform: scale(1.045); }
.carte__corps{ display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.5rem 1.55rem; }
.carte__corps h3{ margin: .65rem 0 .5rem; font-size: 1.2rem; }
.carte__corps p:not(.etiquette){ margin: 0; font-size: .9219rem; color: var(--texte-2); }
.carte__pied{ margin-top: auto; padding-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.carte__domaine{ font-family: var(--data); font-size: .72rem; color: var(--gris); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.carte > .media{ border: 0; border-radius: 0; border-bottom: 1px solid var(--trait); }

.publications{ margin: clamp(2rem, 4vh, 3rem) auto 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.publications a{
  display: grid; grid-template-columns: 11.5rem minmax(0, 1fr) auto; gap: .5rem 2rem; align-items: center;
  padding: 1.3rem 1.5rem; border-radius: var(--rayon-petit); border: 1px solid var(--trait);
  background: rgba(3, 31, 36, .45); text-decoration: none;
  transition: background-color .3s ease, border-color .3s ease, transform .35s var(--ease);
}
.publications a:hover{ background: rgba(11, 52, 57, .6); border-color: rgba(216, 174, 85, .22); transform: translateX(4px); }
.publications .etiquette{ color: var(--or-doux); }
.publications h3{ margin: 0 0 .3rem; font-size: 1.1rem; }
.publications p:not(.etiquette){ margin: 0; font-size: .9063rem; color: var(--texte-2); }
.publications .lien-fleche{
  width: 2.6rem; height: 2.6rem; border-radius: 50%; justify-content: center;
  border: 1px solid var(--trait-fort); transition: border-color .3s ease, background-color .3s ease;
}
.publications a:hover .lien-fleche{ border-color: var(--or); background: rgba(216, 174, 85, .12); }

/* --------------------------------------------- bande « espace client » */

.bande-client{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; }
.bande-client p:not(.etiquette){ color: var(--texte); }

.maquette{
  border-radius: var(--rayon); padding: 1.5rem;
  background: linear-gradient(180deg, rgba(11, 52, 57, .75), rgba(3, 31, 36, .8));
  border: 1px solid rgba(216, 174, 85, .18);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .05);
  font-size: .8125rem;
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .5s var(--ease);
}
.maquette__points{ display: flex; gap: .4rem; margin-bottom: 1.1rem; }
.maquette__points i{ width: 9px; height: 9px; border-radius: 50%; background: var(--trait-fort); }
.maquette__points i:first-child{ background: rgba(216, 174, 85, .6); }
.maquette__barre{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--trait); }
.maquette__barre b{ font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.maquette__statut{ font-family: var(--data); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or-clair); padding: .3rem .65rem; border: 1px solid rgba(216, 174, 85, .4); border-radius: 999px; white-space: nowrap; }
.maquette__jauge{ margin: 1.1rem 0 1.2rem; }
.maquette__jauge div{ height: 6px; background: var(--trait-fort); border-radius: 3px; overflow: hidden; }
.maquette__jauge i{ display: block; height: 100%; width: 68%; background: var(--degrade-texte); border-radius: 3px; box-shadow: 0 0 12px rgba(216, 174, 85, .5); }
.maquette__jauge span{ display: flex; justify-content: space-between; margin-top: .5rem; font-family: var(--data); font-size: .6875rem; color: var(--gris); }
.maquette ol{ list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.maquette li{ display: flex; align-items: center; gap: .75rem; color: var(--texte); }
.maquette li::before{ content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gris); flex: none; }
.maquette li.fait::before{ background: var(--eau); border-color: var(--eau); }
.maquette li.encours::before{ border-color: var(--or); box-shadow: 0 0 0 4px rgba(216, 174, 85, .2); }
.maquette li.fait{ color: var(--gris); }
.maquette li small{ margin-left: auto; font-family: var(--data); font-size: .6875rem; color: var(--gris); }
.maquette__livrable{
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 1.2rem; padding: .85rem 1rem; border-radius: 12px;
  border: 1px dashed rgba(216, 174, 85, .4); color: var(--texte);
}
.maquette__livrable em{ font-style: normal; font-family: var(--data); font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: #1B1304; background: var(--degrade-or); padding: .25rem .55rem; border-radius: 999px; }

/* ---------------------------------------------------------------- fondateur */

.fondateur{ display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5.5rem); align-items: start; }
.fondateur p:not(.etiquette){ margin: 0 0 1.15rem; color: var(--texte); }
.portrait{
  position: relative; margin: 2.2rem 0 0; max-width: 23rem;
  padding: 1px; border-radius: 28px;
  background: linear-gradient(160deg, rgba(240, 208, 138, .7), rgba(216, 174, 85, .1) 40%, rgba(143, 211, 198, .15));
}
.portrait img{ width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 27px; }
.portrait figcaption{
  position: absolute; left: 1rem; bottom: 1rem;
  padding: .45rem .8rem; border-radius: 999px;
  background: rgba(2, 22, 26, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(216, 174, 85, .25);
  font-family: var(--data); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--or-clair);
}

.liens{ display: flex; flex-direction: column; gap: .6rem; margin-top: 2rem; max-width: 28rem; }
.carte-lien{
  display: flex; align-items: center; gap: .95rem;
  padding: .9rem 1.2rem .9rem 1rem; border-radius: var(--rayon-petit);
  border: 1px solid var(--trait); background: rgba(3, 31, 36, .45);
  text-decoration: none;
  transition: border-color .25s ease, background-color .25s ease, transform .3s var(--ease);
}
.carte-lien:hover{ border-color: rgba(216, 174, 85, .3); background: rgba(216, 174, 85, .06); transform: translateX(4px); }
.carte-lien svg{ width: 21px; height: 21px; flex: none; fill: var(--or-clair); }
.carte-lien svg.ico-trait{ fill: none; stroke: var(--or-clair); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.carte-lien b{ display: block; font-family: var(--corps); font-weight: 500; font-size: .9375rem; }
.carte-lien small{ font-family: var(--data); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }

/* ---------------------------------------------------------------------- FAQ */

.faq{ margin: clamp(2rem, 4vh, 3rem) 0 0; max-width: 54rem; display: grid; gap: .6rem; }
.faq details{ border-radius: var(--rayon-petit); border: 1px solid var(--trait); background: rgba(3, 31, 36, .45); transition: border-color .3s ease, background-color .3s ease; }
.faq details[open]{ border-color: rgba(216, 174, 85, .22); background: rgba(11, 52, 57, .5); }
.faq summary{
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem 1.3rem; cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker{ display: none; }
.faq summary::after{
  content: "+"; flex: none; display: grid; place-items: center;
  width: 1.8rem; height: 1.8rem; border-radius: 50%; border: 1px solid var(--trait-or);
  font-family: var(--data); font-weight: 400; font-size: 1rem; color: var(--or-clair);
  transition: transform .3s var(--ease), background-color .3s ease;
}
.faq details[open] summary::after{ transform: rotate(45deg); background: rgba(216, 174, 85, .12); }
.faq details p{ margin: 0; padding: 0 1.3rem 1.3rem; color: var(--texte); max-width: 46rem; }

/* ------------------------------------------------------------ appel final */

.appel{
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  padding: clamp(2rem, 4.5vw, 3.4rem); border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(216, 174, 85, .2);
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(216, 174, 85, .16), transparent 55%),
    radial-gradient(60% 120% at 0% 100%, rgba(18, 88, 88, .45), transparent 60%),
    linear-gradient(180deg, rgba(11, 52, 57, .7), rgba(3, 31, 36, .8));
}
.appel h2{ font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.4rem); line-height: 1.12; letter-spacing: -.02em; margin: .7rem 0 0; max-width: 24ch; }
.appel .actions{ margin-top: 0; }

/* ---------------------------------------------------------------- contact */

.contact__courriel{
  display: inline-block; margin-top: 2rem;
  font-family: var(--display); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.5rem, .7rem + 4vw, 4.2rem); line-height: 1.1; text-decoration: none;
  word-break: break-word;
}
.contact__courriel span{
  display: inline-block; transition: transform .4s var(--ease);
  background: var(--degrade-texte); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__courriel:hover span{ transform: translateX(8px); }
.coordonnees{ display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: clamp(2rem, 4vh, 3rem); }
.coordonnee{ padding: 1.4rem 1.5rem; border-radius: var(--rayon-petit); border: 1px solid var(--trait); background: rgba(3, 31, 36, .45); }
.coordonnee a{
  display: inline-block; margin-top: .55rem;
  font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, .95rem + .45vw, 1.3rem);
  text-decoration: none; color: var(--creme); transition: color .2s ease; word-break: break-word;
}
.coordonnee a:hover{ color: var(--or-clair); }
.coordonnee small{ display: block; margin-top: .45rem; font-size: .8125rem; color: var(--gris); }

/* ------------------------------------------------------------------- pied */

.pied{ position: relative; overflow: hidden; padding: clamp(3.5rem, 7vh, 5rem) var(--gouttiere) 0; border-top: 1px solid var(--trait); }
.pied__haut{ display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 2.5rem; }
.pied__logo{ width: 118px; margin-bottom: 1.2rem; }
.pied p{ margin: 0; font-size: .875rem; color: var(--gris); max-width: 24rem; }
.pied h2{ font-family: var(--data); font-weight: 500; font-size: .6875rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or-doux); margin: 0 0 1rem; }
.pied ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.pied ul a{ font-size: .9063rem; color: var(--texte); text-decoration: none; transition: color .2s ease; }
.pied ul a:hover{ color: var(--or-clair); }
.pied__bas{
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; align-items: baseline;
  margin: 3rem 0 0; padding: 1.5rem 0 2rem; border-top: 1px solid var(--trait);
  font-family: var(--data); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris);
}
.pied__bas a{ color: var(--gris); text-decoration: none; transition: color .2s ease; }
.pied__bas a:hover{ color: var(--or-clair); }
.pied .pied__marque{
  display: block; width: 100%; height: auto; margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; padding-bottom: clamp(.6rem, 1.5vw, 1.2rem);
  overflow: visible; pointer-events: none; user-select: none;
}
.pied__marque text{
  font-family: var(--display); font-weight: 800; font-size: 118px;
  fill: url(#degrade-marque);
  stroke: rgba(216, 174, 85, .42); stroke-width: 1; vector-effect: non-scaling-stroke;
}

/* ----------------------------------------------------- pages de texte */

.texte-long{ max-width: 48rem; }
.texte-long h2{ font-family: var(--display); font-weight: 600; font-size: 1.4rem; margin: 2.8rem 0 .75rem; }
.texte-long p, .texte-long li{ color: var(--texte); }
.texte-long a{ color: var(--or-clair); }
.a-completer{ background: rgba(216, 174, 85, .14); color: var(--or-clair); padding: 0 .35rem; border-radius: 4px; font-family: var(--data); font-size: .85em; }

/* ============================================================ apparitions
   Sans JavaScript, tout reste visible. Avec : les titres naissent d'un nuage
   de points, les visuels se condensent en trame, les textes montent en fondu.
   Filet de sécurité : si le script ne démarre pas, tout apparaît après 4 s. */

.poussiere{ position: fixed; inset: 0; z-index: 45; pointer-events: none; }

.js :is(.heros h1, .page-tete h1, .titre-section, .appel h2):not(.visible){ opacity: 0; filter: blur(10px); }
.js :is(.heros h1, .page-tete h1, .titre-section, .appel h2){ transition: opacity .9s ease, filter .9s ease; }

.js :is(.metier, .carte, .galerie figure, .duo > figure, .media, .maquette, .portrait, .tableau-conteneur, .flux li, .appel, .coordonnee, .signaux li, .publications li, .faq details):not(.visible){ opacity: 0; }
.js :is(.metier, .carte, .galerie figure, .duo > figure, .media, .maquette, .portrait, .tableau-conteneur, .flux li, .appel, .coordonnee, .signaux li, .publications li, .faq details).visible:not(.fini){
  -webkit-mask-image: linear-gradient(118deg, #000 var(--balai), transparent calc(var(--balai) + 24%)), radial-gradient(circle, #000 var(--grain), transparent calc(var(--grain) + .7px));
  -webkit-mask-size: 100% 100%, 7px 7px;
  -webkit-mask-composite: source-over;
  mask-image: linear-gradient(118deg, #000 var(--balai), transparent calc(var(--balai) + 24%)), radial-gradient(circle, #000 var(--grain), transparent calc(var(--grain) + .7px));
  mask-size: 100% 100%, 7px 7px;
  mask-composite: add;
  animation: condenser 1.3s var(--ease) var(--retard, 0s) both;
}
@keyframes condenser{
  0%   { --grain: 0px;   --balai: -30%; opacity: 1; }
  35%  { --grain: 2.2px; }
  100% { --grain: 3px;   --balai: 135%; opacity: 1; }
}

.js :is(.intro, .chapo, .liste-points li, .etapes li, .fondateur p:not(.etiquette), .mention, .actions, .sous-nav, .page-tete__points, .tete-section > .lien-fleche, .liens, .fil, section > .etiquette:first-child, .contact__courriel):not(.visible){
  opacity: 0; transform: translateY(18px); filter: blur(5px);
}
.js :is(.intro, .chapo, .liste-points li, .etapes li, .fondateur p:not(.etiquette), .mention, .actions, .sous-nav, .page-tete__points, .tete-section > .lien-fleche, .liens, .fil, section > .etiquette:first-child, .contact__courriel){
  transition: opacity .85s ease var(--retard, 0s), transform .85s var(--ease) var(--retard, 0s), filter .85s ease var(--retard, 0s);
}

.js:not(.js-pret) :is(.heros h1, .page-tete h1, .titre-section, .appel h2, .metier, .carte, .galerie figure, .duo > figure, .media, .maquette, .portrait, .tableau-conteneur, .flux li, .appel, .coordonnee, .signaux li, .publications li, .faq details, .intro, .chapo, .liste-points li, .etapes li, .fondateur p, .mention, .actions, .sous-nav, .page-tete__points, .tete-section > .lien-fleche, .liens, .fil, section > .etiquette:first-child, .contact__courriel){
  animation: secours 0s 4s forwards;
}
@keyframes secours{ to{ opacity: 1; transform: none; filter: none; } }

/* ---------------------------------------------------------------- adaptatif */

@media (max-width: 1180px){
  .menu-bouton{ display: inline-flex; }
  .nav{
    position: fixed; left: 14px; right: 14px; top: calc(var(--haut-entete) + 24px);
    flex-direction: column; align-items: stretch; gap: 1.2rem;
    padding: 1.2rem; border-radius: 24px;
    background: rgba(2, 22, 26, .96); border: 1px solid rgba(216, 174, 85, .18);
    box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
    max-height: calc(100svh - var(--haut-entete) - 40px); overflow-y: auto;
    transform: translateY(-8px) scale(.98); opacity: 0; visibility: hidden;
    transition: opacity .25s ease, transform .25s var(--ease), visibility 0s linear .25s;
  }
  .menu-ouvert .nav{ transform: none; opacity: 1; visibility: visible; transition: opacity .25s ease, transform .25s var(--ease); }
  .nav ul{ flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav ul a:not(.bouton){ padding: .9rem 1rem; border-radius: 14px; font-size: 1rem; }
  .entete{ left: 14px; right: 14px; width: auto; transform: none; }
}

@media (max-width: 980px){
  .grille--3{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flux{ grid-template-columns: 1fr; }
  .flux li:not(:last-child)::after{ right: auto; left: 1.6rem; top: auto; bottom: -.9rem; width: 1px; height: .9rem; background: linear-gradient(180deg, var(--or), transparent); }
  .flux li:not(:last-child)::before{ right: auto; left: calc(1.6rem - 2.5px); top: auto; bottom: -.62rem; }
}

@media (max-width: 900px){
  .heros{ align-items: end; padding-top: 52svh; padding-bottom: 6rem; min-height: 100svh; }
  .heros::before{ background: radial-gradient(90% 55% at 50% 22%, rgba(18, 88, 88, .38), transparent 70%), linear-gradient(180deg, rgba(0, 22, 26, 0) 35%, rgba(0, 22, 26, .85) 62%); }
  .hud-coin--bas{ display: none; }
  .heros__defiler{ display: none; }
  .hud-sirius{ display: none; }
  .page-tete{ padding-top: max(46svh, 340px); min-height: 0; align-content: end; }
  .page-tete::before{ background: radial-gradient(90% 50% at 50% 20%, rgba(18, 88, 88, .34), transparent 70%), linear-gradient(180deg, rgba(0, 22, 26, 0) 30%, rgba(0, 22, 26, .88) 60%); }
  .page-tete--simple{ padding-top: calc(var(--haut-entete) + 4rem); }
  .duo, .bande-client, .fondateur{ grid-template-columns: 1fr; }
  .duo--inverse > :first-child{ order: 0; }
  .pied__haut{ grid-template-columns: 1fr 1fr; }
  .pied__haut > :first-child{ grid-column: 1 / -1; }
  .publications a{ grid-template-columns: 1fr; gap: .35rem; }
  .publications .lien-fleche{ display: none; }
}

@media (max-width: 640px){
  .grille--3{ grid-template-columns: 1fr; }
  .tableau-conteneur{ overflow: visible; border: 0; background: none; }
  .tableau{ min-width: 0; }
  .tableau thead{ display: none; }
  .tableau, .tableau tbody, .tableau tr, .tableau th, .tableau td{ display: block; width: auto; }
  .tableau tr{ border: 1px solid var(--trait); border-radius: var(--rayon-petit); margin-bottom: .75rem; overflow: hidden; background: rgba(3, 31, 36, .45); }
  .tableau tbody th{ width: auto; padding: .85rem 1rem; background: rgba(216, 174, 85, .06); }
  .tableau td{ padding: .75rem 1rem; }
  .tableau td::before{ content: attr(data-label); display: block; margin-bottom: .2rem; font-family: var(--display); font-weight: 600; font-size: .875rem; color: var(--or-clair); }
  .tableau tr td:last-child{ border-bottom: 0; }
}

@media (max-width: 560px){
  :root{ --haut-entete: 58px; }
  .marque{ font-size: .875rem; letter-spacing: .16em; gap: .5rem; }
  .marque img{ height: 32px; }
  .actions .bouton{ flex: 1 1 100%; }
  .offre dl div{ grid-template-columns: 1fr; gap: .2rem; }
  .pied__haut{ grid-template-columns: 1fr; }
  .appel .actions{ width: 100%; }
  .etapes li::after{ left: 4.6rem; }
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html{ scroll-behavior: auto; }
  .defilant__piste{ animation: none; }
}
