/* ============================================================
   AZYRA — Cloud & IA Consulting
   Feuille de style unique · design sombre premium
   ============================================================ */

:root{
  --bg:            #06080f;
  --bg-alt:        #090c17;
  --surface:       rgba(255,255,255,.035);
  --surface-2:     rgba(255,255,255,.055);
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #e8ecf6;
  --text-soft:     #a3adc2;
  --text-dim:      #6f7a92;

  --accent:        #6f8bff;
  --accent-2:      #22d3ee;
  --accent-soft:   rgba(111,139,255,.14);
  --grad:          linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);

  --radius:        16px;
  --radius-sm:     10px;
  --maxw:          1160px;
  --ease:          cubic-bezier(.22,.61,.36,1);

  --font-display:  "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body:     "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; }

html{ scroll-behavior:smooth; scroll-padding-top:88px; }

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:var(--font-display); line-height:1.18; margin:0 0 .5em; letter-spacing:-.02em;
  text-wrap:balance;
}
h1{ font-size:clamp(2rem,4.2vw,3.25rem); font-weight:700; }
h2{ font-size:clamp(1.6rem,3.1vw,2.4rem); font-weight:700; }
h3{ font-size:1.06rem; font-weight:600; }
p{ margin:0 0 1rem; }
a{ color:inherit; text-decoration:none; }
ul,ol{ margin:0; padding:0; list-style:none; }
em{ font-style:normal; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

.container{ width:min(100% - 2.5rem, var(--maxw)); margin-inline:auto; }

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--accent); color:#04060d; padding:.7rem 1.1rem; border-radius:0 0 8px 0; font-weight:600;
}
.skip-link:focus{ left:0; }

:focus-visible{ outline:2px solid var(--accent-2); outline-offset:3px; border-radius:6px; }

/* ---------- Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:50;
  transition:background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom:1px solid transparent;
}
.site-header.is-stuck{
  background:rgba(6,8,15,.82);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom-color:var(--line);
}
.header__inner{ display:flex; align-items:center; gap:1.5rem; height:74px; }

.brand{ display:flex; align-items:center; gap:.7rem; flex:0 0 auto; }
.brand__mark{ width:auto; height:34px; display:block; }
.brand__text{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{ font-family:var(--font-display); font-weight:700; font-size:1.22rem; letter-spacing:.16em; }
.brand__tag{ font-size:.62rem; letter-spacing:.22em; text-transform:uppercase; color:var(--text-dim); }

.nav{ display:flex; align-items:center; gap:1.6rem; margin-left:auto; }
.nav a{ font-size:.88rem; color:var(--text-soft); position:relative; padding:.2rem 0; transition:color .2s; }
.nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-3px; height:1.5px;
  background:var(--grad); transition:right .3s var(--ease);
}
.nav a:hover{ color:var(--text); }
.nav a:hover::after, .nav a.is-active::after{ right:0; }
.nav a.is-active{ color:var(--text); }
.nav .nav__cta{
  padding:.5rem 1.05rem; border:1px solid var(--line-strong); border-radius:999px; color:var(--text);
  transition:border-color .25s, background .25s, transform .25s;
}
.nav .nav__cta::after{ display:none; }
.nav .nav__cta:hover{ border-color:var(--accent); background:var(--accent-soft); transform:translateY(-1px); }

.header__tools{ display:flex; align-items:center; gap:.75rem; }
.lang-switch{ display:flex; border:1px solid var(--line); border-radius:999px; overflow:hidden; }
.lang-switch__btn{
  background:none; border:0; color:var(--text-dim); font:inherit; font-size:.74rem; font-weight:600;
  letter-spacing:.08em; padding:.34rem .62rem; cursor:pointer; transition:color .2s, background .2s;
}
.lang-switch__btn.is-active{ color:#04060d; background:var(--accent-2); }

.burger{ display:none; flex-direction:column; justify-content:center; gap:5px; width:40px; height:38px;
  background:none; border:1px solid var(--line); border-radius:10px; cursor:pointer; padding:0 9px; }
.burger span{ display:block; height:1.6px; background:var(--text); transition:transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1){ transform:translateY(6.6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.burger[aria-expanded="true"] span:nth-child(3){ transform:translateY(-6.6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{ position:relative; padding:10rem 0 4.5rem; overflow:hidden; }
.hero__glow{
  position:absolute; top:-28%; left:50%; transform:translateX(-50%);
  width:min(1100px,120vw); aspect-ratio:1.4/1; pointer-events:none;
  background:
    radial-gradient(closest-side, rgba(111,139,255,.30), transparent 72%),
    radial-gradient(closest-side, rgba(34,211,238,.18), transparent 70%);
  background-position:30% 40%, 72% 60%; background-repeat:no-repeat;
  background-size:70% 80%, 60% 70%; filter:blur(12px);
}
.hero__grid{
  position:absolute; inset:0; pointer-events:none; opacity:.32;
  background-image:linear-gradient(var(--line) 1px, transparent 1px),
                   linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 78% 62% at 50% 22%, #000 25%, transparent 78%);
  -webkit-mask-image:radial-gradient(ellipse 78% 62% at 50% 22%, #000 25%, transparent 78%);
}
.hero__inner{
  position:relative;
  display:grid; grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);
  gap:3rem; align-items:center;
}
.hero__copy{ min-width:0; }
.hero__logo{
  display:block; width:auto; height:clamp(56px,6vw,72px); margin:0 0 1.5rem;
  filter:drop-shadow(0 14px 34px rgba(34,211,238,.28)) drop-shadow(0 4px 16px rgba(91,48,214,.35));
}

/* portrait du fondateur */
.hero__portrait{ position:relative; margin:0; display:flex; justify-content:center; }
.hero__portrait::before{
  content:""; position:absolute; left:50%; bottom:4%; transform:translateX(-50%);
  width:112%; height:88%; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(111,139,255,.30), rgba(34,211,238,.10) 58%, transparent 78%);
}
.hero__portrait::after{
  content:""; position:absolute; left:50%; bottom:-6px; transform:translateX(-50%);
  width:62%; height:26px; border-radius:50%; pointer-events:none;
  background:radial-gradient(closest-side, rgba(0,0,0,.55), transparent 72%);
}
.hero__portrait img{
  position:relative; display:block; width:auto; height:clamp(430px,48vw,600px); max-width:100%;
  object-fit:contain; object-position:bottom;
  filter:drop-shadow(0 26px 46px rgba(0,0,0,.55));
}
.portrait__card{
  position:absolute; left:-.6rem; bottom:9%;
  display:flex; flex-direction:column; gap:.12rem;
  padding:.6rem .9rem; text-align:left; border:0; background:none;
}
.portrait__card::before{           /* halo diffus, sans bord ni cadre */
  content:""; position:absolute; inset:-1.5rem -2.4rem -1.2rem -1.8rem; z-index:0;
  background:radial-gradient(58% 130% at 34% 55%,
    rgba(6,8,15,.94), rgba(6,8,15,.66) 52%, rgba(6,8,15,0) 78%);
}
.portrait__card strong,
.portrait__card span{ position:relative; z-index:1; }
.portrait__card strong{
  font-family:var(--font-display); font-size:1rem; letter-spacing:-.01em;
  text-shadow:0 2px 14px rgba(3,6,15,.95);
}
.portrait__card span{ font-size:.76rem; color:var(--text-dim); text-shadow:0 2px 10px rgba(3,6,15,.9); }
.hero__title{ max-width:20ch; font-size:clamp(1.9rem,3.3vw,2.85rem); }
.hero__lead{ max-width:56ch; margin:1.4rem 0 0; color:var(--text-soft); font-size:1.02rem; }

.eyebrow{
  font-size:.72rem; letter-spacing:.2em; text-transform:uppercase; font-weight:600;
  color:var(--accent-2); margin:0 0 1rem;
}

.hero__actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin:2.1rem 0 0; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.82rem 1.6rem; border-radius:999px; font-weight:600; font-size:.92rem;
  border:1px solid transparent; cursor:pointer; transition:transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn--primary{ background:var(--grad); color:#03060f; box-shadow:0 10px 30px -12px rgba(111,139,255,.75); }
.btn--primary:hover{ transform:translateY(-2px); box-shadow:0 18px 40px -14px rgba(34,211,238,.7); }
.btn--ghost{ border-color:var(--line-strong); color:var(--text); }
.btn--ghost:hover{ border-color:var(--accent); background:var(--accent-soft); transform:translateY(-2px); }


/* ---------- Stats ---------- */
.stats__label{
  text-align:center; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  font-weight:600; color:var(--text-dim); margin:3.2rem 0 1.1rem;
}
.stats{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.7fr) minmax(0,1fr); }
.stat{
  position:relative; padding:1.1rem .55rem; text-align:center;
  display:grid; grid-template-rows:66px auto; align-items:center; justify-items:center;
}

.stat__num{
  display:block; align-self:center; font-family:var(--font-display); font-weight:700;
  font-size:clamp(1.7rem,3.2vw,2.5rem);
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.stat__label{ display:block; font-size:.8rem; color:var(--text-dim); align-self:start; }

/* pictogrammes des secteurs et des écosystèmes, à la place d'un chiffre */
.pics{
  display:flex; flex-wrap:nowrap; justify-content:center; align-items:center; gap:.4rem;
  width:100%; justify-self:stretch;
}
.pic{
  position:relative; width:46px; height:46px; display:grid; place-items:center;
  border:0; background:none; color:var(--accent-2);
  transition:transform .25s var(--ease);
}
.pic:hover{ transform:translateY(-2px); }
.pic svg{ width:23px; height:23px; }
.pic__mark{ font-family:var(--font-display); font-weight:700; font-size:.95rem; white-space:nowrap; }
.pic--label{ width:auto; height:38px; padding:0 .3rem; }
.pic--label .pic__mark{ font-size:.74rem; letter-spacing:.01em; }
.pic--label{ display:flex; align-items:center; gap:.4rem; }
.pic__logo{ width:17px; height:17px; object-fit:contain; display:block; }
.pic--copilot{ color:#5aa8ff; }
.pic--claude{ color:#e08a63; }
.pic--gemini{ color:#9dc0fb; }
.pic--mistral{ color:#ff9d4d; }
.pic__tip{
  position:absolute; bottom:calc(100% + .45rem); left:50%; transform:translateX(-50%);
  white-space:nowrap; font-size:.68rem; color:var(--text); background:rgba(9,12,23,.94);
  border:1px solid var(--line-strong); border-radius:7px; padding:.22rem .5rem;
  opacity:0; pointer-events:none; transition:opacity .2s;
}
.pic:hover .pic__tip, .pic:focus-within .pic__tip{ opacity:1; }

/* ---------- Bandeau des certifications ---------- */
.certstrip{ margin-top:3.6rem; }
.certstrip__label{
  text-align:center; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  font-weight:600; color:var(--accent-2); margin:0 0 1.4rem;
}
.marquee{
  display:flex; gap:2.4rem; overflow:hidden; width:100%;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.marquee__track{
  display:flex; gap:2.4rem; flex:0 0 auto; padding:0; margin:0;
  animation:marquee 52s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track{ animation-play-state:paused; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(calc(-100% - 2.4rem)); } }

.cert{
  flex:0 0 142px; width:142px; display:grid; grid-template-rows:60px auto auto;
  justify-items:center; align-content:start; gap:.5rem; text-align:center;
}
.cert__badge{ align-self:center; }
.cert__badge{
  position:relative; width:64px; height:72px; display:grid; place-items:center;
  clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cert__badge::before{
  content:""; position:absolute; inset:3px; background:#0a0e1a;
  clip-path:polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.cert__badge--anthropic{ background:linear-gradient(155deg,#e7a07c,#c05f38); }
.cert__badge--ms{ background:linear-gradient(155deg,#5aa8ff,#1b5fc4); }
.cert__badge--google{ background:linear-gradient(155deg,#9dc0fb,#3568cf); }
.cert__key{
  position:relative; font-family:var(--font-display); font-weight:700; font-size:.8rem;
  line-height:1.2; color:#fff; letter-spacing:.01em;
}
.cert__key--long{ font-size:.63rem; letter-spacing:.04em; }
/* visuel clair (certificat, logo sombre) : posé sur une pastille blanche */
.cert__badge--card{
  background:#fff; clip-path:none; width:84px; height:60px; padding:5px 6px;
  border-radius:11px; box-shadow:0 4px 12px rgba(0,0,0,.45);
}
.cert__badge--card::before{ display:none; }
.cert__badge--card img{ position:relative; width:100%; height:100%; object-fit:contain; display:block; }

/* variante pour un vrai badge officiel déposé en image */
.cert__badge--img{
  display:block; background:none; clip-path:none; width:74px; height:52px;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.5));
}
.cert__badge--img::before{ display:none; }
.cert__badge--img img{
  position:relative; width:100%; height:100%;
  object-fit:contain; object-position:center; display:block;
}
.cert__name{ font-size:.74rem; line-height:1.35; color:var(--text-soft); min-height:2.7em; }
.cert__issuer{ font-size:.6rem; letter-spacing:.14em; text-transform:uppercase; color:var(--text-dim); }

/* ---------- Sections ---------- */
.section{ padding:6rem 0; position:relative; }
.section--alt{ background:none; }   /* fond unique sur toute la page */
.section__head{ margin-bottom:3rem; }
/* un titre de section remplit la largeur : text-wrap:balance égalisait les
   lignes et laissait une moitié de ligne vide à droite */
.section__head h2{ text-wrap:pretty; }
.section__intro{ color:var(--text-soft); text-wrap:pretty; }

/* ---------- À propos ---------- */
.profile{ display:block; }
.profile__body .lead{ font-size:1.14rem; color:var(--text); }
.profile__body p{ color:var(--text-soft); }
.values{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:.9rem; margin-top:2.2rem; }
.values li{
  border:1px solid var(--line); border-left:2px solid var(--accent); border-radius:var(--radius-sm);
  padding:1.1rem 1.25rem; background:var(--surface); display:flex; flex-direction:column; gap:.3rem;
}
.values strong{ font-size:.93rem; font-weight:600; }
.values span{ font-size:.88rem; color:var(--text-soft); }

/* ---------- Offres : le parcours en six étapes ---------- */
.journey{ --p:0; }
.journey__map{ padding:4.6rem 0 4.2rem; }
.journey__plot{ position:relative; }
.journey__svg{ display:block; width:100%; height:auto; overflow:visible; }
.journey__track{
  fill:none; stroke:var(--line-strong); stroke-width:2; stroke-linecap:round;
}
.journey__progress{
  fill:none; stroke:url(#jgrad); stroke-width:3.5; stroke-linecap:round;
  stroke-dasharray:var(--len);
  stroke-dashoffset:calc(var(--len) * (1 - var(--p)));
  transition:stroke-dashoffset .8s var(--ease);
  filter:drop-shadow(0 0 8px rgba(34,211,238,.35));
}

.journey__stations{ position:absolute; inset:0; }
.journey__station{
  position:absolute; left:var(--x); top:var(--y); transform:translate(-50%,-50%);
  display:grid; place-items:center; padding:0; background:none; border:0; cursor:pointer;
  color:var(--text-soft);
}
.journey__dot{
  position:relative; display:grid; place-items:center; width:44px; height:44px; border-radius:50%;
  background:var(--bg); border:1px solid var(--line-strong); color:var(--text-dim);
  box-shadow:0 0 0 6px var(--bg);
  transition:transform .4s var(--ease), background .4s, color .4s, border-color .4s;
}
.journey__ico{ font-size:1rem; line-height:1; }
.journey__station:hover .journey__dot{ transform:scale(1.08); color:var(--text); border-color:var(--accent); }
.journey__station.is-done .journey__dot{ border-color:var(--accent); color:var(--accent-2); }
.journey__station.is-active .journey__dot{
  background:var(--grad); border-color:transparent; color:#03060f; transform:scale(1.18);
}
.journey__station.is-active .journey__dot::after{
  content:""; position:absolute; inset:-9px; border-radius:50%;
  border:1px solid rgba(34,211,238,.45); animation:pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ transform:scale(.86); opacity:.9; } 70%{ transform:scale(1.25); opacity:0; } 100%{ opacity:0; }
}

.journey__tag{
  position:absolute; left:50%; transform:translateX(-50%);
  width:150px; display:grid; gap:.15rem; text-align:center; pointer-events:none;
}
.journey__tag--up{ bottom:calc(100% + 14px); }
.journey__tag--down{ top:calc(100% + 14px); }
.journey__num{
  font-family:var(--font-display); font-size:.64rem; letter-spacing:.14em; color:var(--text-dim);
  transition:color .35s;
}
.journey__name{ font-size:.74rem; line-height:1.25; transition:color .35s; }
.journey__station.is-active .journey__num{ color:var(--accent-2); }
.journey__station.is-active .journey__name{ color:var(--text); font-weight:600; }

.journey__cards{ position:relative; min-height:250px; }
.journey__card{ display:block; }
.journey__card[hidden]{ display:none; }
.journey__card.is-entering{ animation:journeyIn .5s var(--ease) both; }
@keyframes journeyIn{ from{ opacity:0; transform:translateY(14px); } to{ opacity:1; transform:none; } }
.journey__step{
  font-family:var(--font-display); font-size:.72rem; letter-spacing:.16em; color:var(--text-dim); margin:0 0 .5rem;
}
.journey__step span{ color:var(--accent-2); }
.journey__card h3{ font-size:1.55rem; margin-bottom:1.1rem; }
.journey__body{ display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:2.4rem; }
.journey__text{ color:var(--text-soft); font-size:.98rem; }
.journey__text p{ margin:0; }
.offer__label{
  font-size:.66rem; letter-spacing:.18em; text-transform:uppercase; font-weight:600;
  color:var(--text-dim); margin:0 0 .7rem;
}
.offer__list{ display:grid; gap:.5rem; }
.offer__list li{ position:relative; padding-left:1.4rem; font-size:.92rem; color:var(--text); }
.offer__list li::before{
  content:""; position:absolute; left:.2rem; top:.6em; width:6px; height:6px; border-radius:2px;
  background:var(--grad);
}

.journey__nav{ display:flex; align-items:center; gap:1rem; margin-top:1.8rem; }
.journey__arrow{
  width:38px; height:38px; display:grid; place-items:center; padding:0; cursor:pointer;
  background:none; border:1px solid var(--line-strong); border-radius:50%;
  color:var(--text-soft); font-size:1.2rem; line-height:1;
  transition:border-color .25s, color .25s, background .25s;
}
.journey__arrow:hover:not(:disabled){ border-color:var(--accent); color:var(--text); background:var(--accent-soft); }
.journey__arrow:disabled{ opacity:.35; cursor:default; }
.journey__count{
  font-family:var(--font-display); font-size:.78rem; letter-spacing:.14em; color:var(--text-dim);
}
.journey__count b{ color:var(--accent-2); font-weight:700; }

@media (prefers-reduced-motion:reduce){
  .journey__progress{ transition:none; }
  .journey__station.is-active .journey__dot::after{ animation:none; }
  .journey__card.is-entering{ animation:none; }
}

@media (max-width:900px){
  /* le parcours se redresse : jalons empilés, carte en dessous */
  .journey__map{ padding:0 0 1.6rem; }
  .journey__svg{ display:none; }
  .journey__plot{ position:static; }
  .journey__stations{ position:static; display:grid; gap:.45rem; }
  .journey__station{
    position:static; transform:none; display:flex; align-items:center; gap:.85rem; width:100%;
    padding:.6rem .75rem; border-radius:12px; text-align:left;
  }
  .journey__station.is-active{ background:var(--surface-2); }
  .journey__dot{ width:38px; height:38px; box-shadow:none; }
  .journey__station.is-active .journey__dot{ transform:none; }
  .journey__station.is-active .journey__dot::after{ display:none; }
  .journey__tag{
    position:static; transform:none; width:auto; text-align:left; grid-auto-flow:row;
  }
  .journey__name{ font-size:.86rem; }
  .journey__body{ grid-template-columns:1fr; gap:1.3rem; }
  .journey__cards{ min-height:0; margin-top:1.4rem; }
}

/* ---------- Écosystème & preuves ---------- */
.eco{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:1rem; }
.eco__card{
  border:1px solid var(--line); border-radius:var(--radius); padding:1.4rem;
  background:linear-gradient(180deg, var(--surface-2), var(--surface));
}
.eco__badge{
  display:inline-block; font-size:.6rem; font-weight:700; letter-spacing:.16em;
  color:#03060f; background:var(--grad); border-radius:999px; padding:.24rem .65rem; margin-bottom:.9rem;
}
.eco__logo{
  display:grid; place-items:center; width:44px; height:44px; margin:.2rem 0 .9rem;
}
.eco__logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.eco__logo--text{
  font-family:var(--font-display); font-weight:700; font-size:1.25rem; color:#ff9d4d;
  border:1px solid rgba(255,157,77,.45); border-radius:12px; width:44px; height:44px;
}
.eco__card h3{ font-size:1rem; margin-bottom:.3rem; }
.eco__card p{ font-size:.85rem; color:var(--text-soft); margin:0; }

.proof{ display:grid; grid-template-columns:1fr 1fr; gap:2.5rem; margin-top:3rem; }
.proof--single{ grid-template-columns:minmax(0,1fr); }
.proof__title{
  font-size:.78rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim); margin-bottom:1rem;
}
.certchips{ display:flex; flex-wrap:wrap; gap:.45rem; }
.certchips li{
  font-size:.78rem; color:var(--text-soft); border:1px solid var(--line); background:var(--surface);
  border-radius:999px; padding:.35rem .8rem;
}
.techs{ display:flex; flex-wrap:wrap; gap:.5rem; }
.techs li{
  font-size:.82rem; color:var(--text); border:1px solid var(--line); background:var(--surface);
  border-radius:8px; padding:.4rem .8rem; transition:border-color .25s, color .25s;
}
.techs li:hover{ border-color:var(--accent); color:var(--accent-2); }
/* le parcours d'un partenaire */
.partner{ margin-top:3rem; }
.partner__intro{ color:var(--text-soft); font-size:.95rem; margin:0 0 1.4rem; }
.partner__steps{ display:grid; grid-template-columns:repeat(auto-fit,minmax(230px,1fr)); gap:.9rem; }
.partner__step{
  position:relative; display:grid; gap:.35rem; padding:1.15rem 1.25rem;
  border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--surface);
  transition:border-color .3s, background .3s;
}
.partner__step:hover{ border-color:var(--line-strong); background:var(--surface-2); }
.partner__num{
  display:grid; place-items:center; width:24px; height:24px; border-radius:50%;
  background:var(--grad); color:#03060f; font-family:var(--font-display); font-weight:700; font-size:.72rem;
}
.partner__step strong{ font-size:.92rem; font-weight:600; }
.partner__step span:last-child{ font-size:.86rem; color:var(--text-soft); line-height:1.5; }
.partner__gain{
  margin:1.2rem 0 0; padding:1.1rem 1.3rem; font-size:.9rem; color:var(--text-soft);
  border:1px solid var(--line); border-left:2px solid var(--accent-2);
  border-radius:var(--radius-sm); background:var(--surface);
}

/* ---------- Méthode : les deux fils entrelacés ---------- */
.braid{ --len:1078; --p:0; }
.braid__legend{ display:flex; flex-wrap:wrap; gap:1.3rem; margin-bottom:.6rem; }
.braid__key{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.78rem; color:var(--text-soft);
}
.braid__key::before{ content:""; width:22px; height:3px; border-radius:2px; }
.braid__key--caf::before{ background:linear-gradient(90deg,#6f8bff,#a78bfa); }
.braid__key--adkar::before{ background:linear-gradient(90deg,#22d3ee,#5eead4); }
.braid__key--joint::before{
  width:11px; height:11px; border-radius:50%; background:none;
  border:1.5px solid rgba(167,139,250,.9); box-shadow:0 0 9px rgba(34,211,238,.7);
}

/* le tracé : deux fils qui s'écartent puis se rejoignent */
.braid__plot{ position:relative; aspect-ratio:1200 / 152; margin-bottom:4.4rem; }
.braid__svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.braid__rail{
  fill:none; stroke:rgba(255,255,255,.13); stroke-width:2;
  stroke-linecap:round; vector-effect:non-scaling-stroke;
}
.braid__fill{
  fill:none; stroke-width:2.6; stroke-linecap:round; vector-effect:non-scaling-stroke;
  stroke-dasharray:var(--len); stroke-dashoffset:calc(var(--len) * (1 - var(--p)));
  transition:stroke-dashoffset .85s var(--ease);
}
.braid__fill--caf{ stroke:url(#bcaf); filter:drop-shadow(0 0 6px rgba(111,139,255,.5)); }
.braid__fill--adkar{ stroke:url(#badk); filter:drop-shadow(0 0 6px rgba(34,211,238,.5)); }

.braid__stations{ position:absolute; inset:0; }
.braid__station{
  position:absolute; left:var(--x); top:50%; transform:translate(-50%,-50%);
  width:44px; padding:0; margin:0; background:none; border:0; cursor:pointer;
  color:var(--text-dim);
}
.braid__node{
  display:grid; place-items:center; width:44px; height:44px; border-radius:50%;
  background:var(--bg); border:1.5px solid var(--line-strong);
  font-family:var(--font-display); font-weight:700; font-size:1rem; color:var(--text-dim);
  transition:border-color .4s, color .4s, background .4s, box-shadow .4s, transform .4s;
}
/* une étape où les deux cadres se rejoignent porte un anneau */
.braid__station.is-joint .braid__node{
  box-shadow:0 0 0 5px rgba(6,8,15,1), 0 0 0 6.5px rgba(167,139,250,.35);
}
.braid__station:hover .braid__node{ border-color:rgba(111,139,255,.7); color:var(--text); }
.braid__station.is-done .braid__node{ border-color:rgba(111,139,255,.5); color:var(--text-soft); }
.braid__station.is-active .braid__node{
  border-color:transparent; color:#04060d; background:var(--grad); transform:scale(1.1);
  box-shadow:0 0 0 5px rgba(6,8,15,1), 0 0 26px -2px rgba(34,211,238,.75);
}
.braid__label{
  position:absolute; left:50%; top:calc(50% + 84px); transform:translateX(-50%);
  width:132px; display:grid; gap:.15rem; text-align:center; pointer-events:none;
}
.braid__step{
  font-size:.6rem; letter-spacing:.16em; text-transform:uppercase; color:var(--text-dim);
}
.braid__name{
  font-family:var(--font-display); font-weight:600; font-size:.9rem; line-height:1.25;
  color:var(--text-soft); text-wrap:balance; transition:color .4s;
}
.braid__station.is-active .braid__name{ color:var(--text); }

/* la carte de l'étape choisie */
.braid__cards{ position:relative; }
.braid__card{
  border:1px solid var(--line); border-radius:var(--radius); padding:1.7rem 1.8rem;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
}
.braid__card[hidden]{ display:none; }
.braid__card.is-joint{
  border-color:rgba(167,139,250,.34);
  box-shadow:inset 0 1px 0 rgba(167,139,250,.2), 0 0 46px -18px rgba(34,211,238,.6);
}
.braid__card.is-entering{ animation:braidIn .5s var(--ease) both; }
@keyframes braidIn{ from{ opacity:0; transform:translateY(10px); } to{ opacity:1; transform:none; } }
.braid__card-count{
  font-family:var(--font-display); font-size:.76rem; letter-spacing:.16em; margin:0 0 .35rem;
}
.braid__card-count b{ color:var(--accent-2); }
.braid__card-count span{ color:var(--text-dim); }
.braid__card h3{ font-size:1.5rem; margin:0 0 .9rem; }
/* le raccord : les deux cadres de part et d'autre d'un point de jonction */
.braid__pair{
  display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:center; max-width:620px; margin:0 0 1.3rem;
  padding:.9rem 0 1rem; border-block:1px solid var(--line);
}
.braid__side{ display:grid; gap:.18rem; min-width:0; }
.braid__side i{
  font-style:normal; font-size:.58rem; letter-spacing:.18em; text-transform:uppercase;
  color:var(--text-dim);
}
.braid__side b{
  font-family:var(--font-display); font-size:1.02rem; font-weight:600; line-height:1.25;
}
.braid__side--caf{ text-align:right; padding-right:1.1rem; }
.braid__side--caf b{ color:#a9bcff; }
.braid__side--adkar{ text-align:left; padding-left:1.1rem; }
.braid__side--adkar b{ color:#7fe6f5; }

.braid__joint{
  position:relative; display:grid; justify-items:center; gap:.45rem;
  width:clamp(120px, 18vw, 168px);
}
.braid__joint-txt{ order:-1; }        /* la légende passe au-dessus du point */
.braid__joint::before{                /* le trait qui relie les deux cadres */
  content:""; position:absolute; left:0; right:0; bottom:9px; height:1.5px; border-radius:2px;
  background:linear-gradient(90deg, rgba(111,139,255,.65), rgba(34,211,238,.65));
}
.braid__joint-dot{
  position:relative; width:19px; height:19px; border-radius:50%;
  background:var(--bg); border:1.5px solid rgba(167,139,250,.85);
  display:grid; place-items:center;
}
.braid__joint-dot::after{
  content:""; width:7px; height:7px; border-radius:50%; background:var(--grad);
}
.braid__joint-txt{
  font-size:.64rem; letter-spacing:.14em; text-transform:uppercase;
  color:#c4b5fd; white-space:nowrap;
}
/* étape où les deux cadres avancent chacun de leur côté : le trait se rompt */
.braid__card:not(.is-joint) .braid__joint::before{
  height:0; background:none; border-top:1.5px dashed rgba(255,255,255,.16);
}
.braid__card:not(.is-joint) .braid__joint-dot{ border-color:var(--line-strong); }
.braid__card:not(.is-joint) .braid__joint-dot::after{ background:var(--text-dim); }
.braid__card:not(.is-joint) .braid__joint-txt{ color:var(--text-dim); }
.braid__text{ margin:0; color:var(--text-soft); }

.braid__foot{ display:flex; align-items:center; gap:.9rem; margin-top:1.2rem; }
.braid__arrow{
  width:36px; height:36px; border-radius:50%; border:1px solid var(--line-strong);
  background:none; color:var(--text-soft); font-size:1.1rem; line-height:1; cursor:pointer;
  transition:border-color .25s, color .25s, background .25s;
}
.braid__arrow:hover:not(:disabled){ border-color:var(--accent); color:var(--text); background:var(--accent-soft); }
.braid__arrow:disabled{ opacity:.35; cursor:default; }
.braid__count{ margin:0; font-family:var(--font-display); font-size:.78rem; letter-spacing:.16em; }
.braid__count b{ color:var(--accent-2); }
.braid__count span{ color:var(--text-dim); }

@media (prefers-reduced-motion: reduce){
  .braid__fill{ transition:none; }
  .braid__card.is-entering{ animation:none; }
}

/* sous 900 px le tracé n'a plus la place : les étapes s'empilent */
@media (max-width:900px){
  .braid__plot{ aspect-ratio:auto; margin-bottom:1.4rem; }
  .braid__svg{ display:none; }
  .braid__stations{
    position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem;
  }
  .braid__station{
    position:static; transform:none; width:auto;
    display:flex; align-items:center; gap:.7rem; text-align:left;
    padding:.7rem .85rem; border:1px solid var(--line); border-radius:12px;
  }
  .braid__station.is-joint{ border-color:rgba(167,139,250,.4); }
  .braid__station.is-active{ background:rgba(111,139,255,.10); border-color:rgba(111,139,255,.6); }
  .braid__node{ width:34px; height:34px; font-size:.86rem; flex:0 0 auto; box-shadow:none !important; }
  .braid__station.is-active .braid__node{ transform:none; }
  .braid__label{
    position:static; transform:none; width:auto; text-align:left; gap:0;
  }
  .braid__pair{ grid-template-columns:1fr; justify-items:start; gap:.7rem; max-width:none; }
  .braid__side--caf{ text-align:left; padding:0; }
  .braid__side--adkar{ padding:0; }
  .braid__joint{
    width:auto; grid-auto-flow:column; align-items:center; justify-items:start; gap:.55rem;
  }
  .braid__joint::before{ display:none; }
  .braid__card{ padding:1.3rem; }
}

@media (max-width:560px){
  .braid__stations{ grid-template-columns:1fr; }
}

/* ---------- Clients : la roue ---------- */
.clients{
  display:grid; grid-template-columns:430px minmax(0,1fr); gap:2.6rem; align-items:center;
}
.clients__dial{
  --rot:0deg; position:relative; width:400px; height:400px; justify-self:center;
}
.clients__svg{
  position:absolute; inset:0; width:100%; height:100%;
  transform:rotate(var(--rot)); transition:transform .8s var(--ease);
}
.clients__sector{
  fill:rgba(255,255,255,.03); stroke:var(--line); stroke-width:1;
  transition:fill .45s, stroke .45s;
}
.clients__sector.is-active{
  fill:rgba(111,139,255,.12); stroke:rgba(111,139,255,.55); stroke-width:1.5;
}

.clients__tabs{ position:absolute; inset:0; }
.clients__tab{
  position:absolute; left:50%; top:50%; width:max-content; max-width:132px; margin:0; z-index:2;
  display:block; padding:.36rem .62rem; text-align:center; cursor:pointer;
  color:var(--text-soft); border-radius:999px;
  background:rgba(6,8,15,.82);
  border:1px solid var(--line-strong);
  transform:translate(-50%,-50%) rotate(calc(var(--a) + var(--rot))) translateY(-134px)
            rotate(calc(-1 * (var(--a) + var(--rot))));
  transition:transform .8s var(--ease), color .35s, background .35s,
             border-color .35s, box-shadow .35s;
}
.clients__tab:hover{ border-color:var(--accent); }
.clients__tab.is-active{
  background:var(--accent-soft);
  border-color:rgba(111,139,255,.6);
}
.clients__label{
  display:block; font-family:var(--font-display); font-weight:600;
  font-size:.76rem; line-height:1.25; letter-spacing:.01em; white-space:nowrap;
  color:var(--text-soft); transition:color .35s;
}
.clients__tab.is-active .clients__label,
.clients__tab:not(.is-active):hover .clients__label{ color:var(--text); }

.clients__hub{
  position:absolute; left:50%; top:50%; z-index:1; transform:translate(-50%,-50%);
  width:206px; height:206px; border-radius:50%; padding:0 1.4rem;
  display:grid; place-content:center; justify-items:center; gap:.35rem; text-align:center;
  background:radial-gradient(circle at 50% 35%, rgba(111,139,255,.14), transparent 70%), var(--bg);
  border:1px solid var(--line);
}
.clients__hub-num{
  font-family:var(--font-display); font-weight:700; font-size:2rem; line-height:1;
  background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent;
}
.clients__hub-name{
  font-size:.82rem; line-height:1.3; color:var(--text); font-weight:600; text-wrap:balance;
}

.clients__panels{ position:relative; min-height:360px; }
.client-panel{
  position:relative; border:1px solid var(--line); border-radius:var(--radius);
  padding:1.7rem 1.8rem;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012));
}
.client-panel[hidden]{ display:none; }
.client-panel.is-entering{ animation:clientIn .5s var(--ease) both; }
@keyframes clientIn{ from{ opacity:0; transform:translateY(12px); } to{ opacity:1; transform:none; } }
.client-panel__count{
  font-family:var(--font-display); font-size:.7rem; letter-spacing:.16em; color:var(--text-dim); margin:0 0 .5rem;
}
.client-panel__count span{ color:var(--accent-2); }
.client-panel h3{ font-size:1.32rem; margin-bottom:.2rem; }

.work__sector{ font-size:.8rem; color:var(--text-dim); margin:0 0 .9rem; }
.work__role{
  font-size:.96rem; color:var(--accent-2); font-weight:500; margin-bottom:1.1rem;
}
.work__list li{
  position:relative; padding-left:1.4rem; margin-bottom:.7rem; font-size:.9rem; color:var(--text-soft);
}
.work__list li::before{ content:"▸"; position:absolute; left:0; top:0; color:var(--accent); font-size:.8rem; }
.tagrow{
  display:flex; flex-wrap:wrap; gap:.4rem; margin-top:1.2rem; padding-top:1.1rem;
  border-top:1px solid var(--line);
}
.tagrow li{
  font-size:.72rem; color:var(--text-soft); border:1px solid var(--line);
  border-radius:6px; padding:.2rem .55rem; background:var(--surface);
}

@media (prefers-reduced-motion:reduce){
  .clients__svg,.clients__tab{ transition:none; }
  .client-panel.is-entering{ animation:none; }
}

@media (max-width:980px){
  /* la roue se déplie : quatre pastilles au-dessus du détail */
  .clients{ grid-template-columns:1fr; gap:1.4rem; }
  .clients__dial{ width:auto; height:auto; justify-self:stretch; }
  .clients__svg,.clients__hub{ display:none; }
  .clients__tabs{ position:static; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.6rem; }
  .clients__tab{
    position:static; transform:none; width:auto; max-width:none; display:flex;
    justify-content:flex-start; align-items:baseline; gap:.55rem; text-align:left;
    padding:.75rem .95rem; border-radius:12px; background:rgba(255,255,255,.02);
  }
  .clients__label{ white-space:normal; font-size:.88rem; }
  .clients__tab.is-active{ background:var(--accent-soft); border-color:rgba(111,139,255,.6); }
  .clients__panels{ min-height:0; }
  .client-panel{ padding:1.3rem; }
}

@media (max-width:560px){
  .clients__tabs{ grid-template-columns:1fr; }
}

/* ---------- Contact ---------- */
.section--contact{ padding:7rem 0; position:relative; overflow:hidden; }
.section--contact::before{
  content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(900px,110vw); aspect-ratio:1.6/1; pointer-events:none;
  background:radial-gradient(closest-side, rgba(34,211,238,.16), transparent 70%);
}
.cta{ position:relative; text-align:center; }
.cta__lead{ color:var(--text-soft); }
.cta__actions{ display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:2rem; }

/* ---------- Footer ---------- */
.site-footer{
  position:relative; margin-top:2rem; padding:1.6rem 0 1.8rem;
  border:0; background:none;
}
.footer__bar{ display:flex; align-items:center; justify-content:center; }
.footer__legal{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:center;
  gap:.3rem .55rem; margin:0; font-size:.74rem; color:var(--text-dim);
}
.footer__sep{ color:var(--line-strong); }

/* ---------- Assistant de contact ---------- */
.chat-launcher{
  position:fixed; right:18px; top:50%; z-index:60;
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.72rem 1.1rem; border:0; border-radius:999px; cursor:pointer;
  font:600 .86rem/1 var(--font-body); color:#03060f; background:var(--grad);
  box-shadow:0 14px 34px -12px rgba(34,211,238,.75);
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translate(18px,-50%);
  transition:opacity .35s var(--ease), transform .35s var(--ease), box-shadow .25s, visibility .35s;
}
.chat-launcher.is-shown{
  opacity:1; visibility:visible; pointer-events:auto; transform:translate(0,-50%);
}
.chat-launcher.is-shown:hover{ box-shadow:0 20px 42px -14px rgba(111,139,255,.85); }
.chat-launcher__ico{ display:grid; place-items:center; width:20px; height:20px; }
.chat-launcher__ico svg{ width:100%; height:100%; }

.chat{
  position:fixed; right:20px; bottom:26px; z-index:61;
  display:flex; flex-direction:column;
  width:min(384px, calc(100vw - 40px)); height:min(566px, calc(100vh - 140px));
  background:var(--bg-alt); border:1px solid var(--line-strong); border-radius:18px;
  box-shadow:0 30px 70px -20px rgba(0,0,0,.85); overflow:hidden;
  opacity:0; transform:translateY(12px) scale(.98); transform-origin:bottom right;
  transition:opacity .22s var(--ease), transform .22s var(--ease);
}
.chat.is-open{ opacity:1; transform:none; }
.chat[hidden]{ display:none; }   /* sinon le panneau invisible intercepte les clics */

.chat__head{
  display:flex; align-items:center; gap:.7rem; padding:.9rem 1rem;
  border-bottom:1px solid var(--line); background:var(--surface);
}
.chat__logo{ width:auto; height:26px; display:block; }
.chat__id{ display:flex; flex-direction:column; line-height:1.25; min-width:0; }
.chat__title{ font-family:var(--font-display); font-size:.92rem; }
.chat__subtitle{ font-size:.72rem; color:var(--text-dim); }
.chat__close{
  margin-left:auto; width:30px; height:30px; flex:0 0 30px; border-radius:8px; cursor:pointer;
  background:none; border:1px solid var(--line); color:var(--text-soft); font-size:1.2rem; line-height:1;
  transition:border-color .2s, color .2s;
}
.chat__close:hover{ border-color:var(--accent); color:var(--text); }

.chat__log{
  flex:1; overflow-y:auto; display:flex; flex-direction:column; gap:.5rem;
  padding:1rem; scrollbar-width:thin;
}
.chat__msg{
  max-width:86%; margin:0; padding:.6rem .85rem; border-radius:14px;
  font-size:.87rem; line-height:1.5; overflow-wrap:anywhere;
}
.chat__msg--bot{
  align-self:flex-start; background:var(--surface-2); border:1px solid var(--line);
  border-bottom-left-radius:5px; color:var(--text);
}
.chat__msg--bot a{ color:var(--accent-2); text-decoration:underline; }
.chat__msg--user{
  align-self:flex-end; background:var(--grad); color:#03060f; font-weight:500;
  border-bottom-right-radius:5px;
}
.chat__recap-title{ display:block; font-weight:600; color:var(--accent-2); margin-bottom:.35rem; }
.chat__msg--typing{
  align-self:flex-start; display:flex; gap:4px; padding:.75rem .85rem;
  background:var(--surface-2); border:1px solid var(--line); border-bottom-left-radius:5px;
}
.chat__msg--typing span{
  width:6px; height:6px; border-radius:50%; background:var(--text-dim);
  animation:chatdot 1.1s infinite ease-in-out;
}
.chat__msg--typing span:nth-child(2){ animation-delay:.15s; }
.chat__msg--typing span:nth-child(3){ animation-delay:.3s; }
@keyframes chatdot{ 0%,60%,100%{ opacity:.3; transform:translateY(0); } 30%{ opacity:1; transform:translateY(-3px); } }

.chat__chips{ display:flex; flex-wrap:wrap; gap:.4rem; padding:0 1rem; }
.chat__chips:not(:empty){ padding-bottom:.9rem; }
.chat__chip{
  border:1px solid var(--line-strong); background:var(--surface); color:var(--text);
  border-radius:999px; padding:.4rem .8rem; font:500 .79rem/1.2 var(--font-body); cursor:pointer;
  transition:border-color .2s, background .2s, color .2s;
}
.chat__chip:hover{ border-color:var(--accent-2); background:var(--accent-soft); color:var(--accent-2); }

.chat__form{ display:flex; gap:.5rem; padding:.8rem 1rem 1rem; border-top:1px solid var(--line); }
.chat__form[hidden]{ display:none; }   /* l'attribut hidden doit l'emporter sur display:flex */
.chat__input{
  flex:1; min-width:0; background:var(--surface); border:1px solid var(--line); border-radius:10px;
  padding:.62rem .8rem; color:var(--text); font:400 .87rem/1.4 var(--font-body);
}
.chat__input::placeholder{ color:var(--text-dim); }
.chat__input:focus{ outline:none; border-color:var(--accent-2); }
.chat__send{
  border:0; border-radius:10px; padding:.62rem 1rem; cursor:pointer;
  font:600 .84rem/1 var(--font-body); color:#03060f; background:var(--grad);
}

@media (max-width:560px){
  .chat-launcher{
    right:14px; top:auto; bottom:16px; padding:.68rem .9rem;
    transform:translate(0,14px);
  }
  .chat-launcher.is-shown{ transform:none; }
  .chat-launcher__label{ display:none; }
  .chat{
    right:0; left:0; bottom:0; width:100%; height:82vh;
    border-radius:18px 18px 0 0; border-bottom:0; transform-origin:bottom center;
  }
}

@media print{ .chat-launcher,.chat{ display:none !important; } }


/* ---------- Mode planche : la page se parcourt vers la droite ---------- */
.mode-switch{
  display:grid; place-items:center; width:34px; height:32px; padding:0;
  background:none; border:1px solid var(--line); border-radius:999px;
  color:var(--text-dim); cursor:pointer; transition:color .2s, border-color .2s, background .2s;
}
.mode-switch svg{ width:16px; height:16px; }
.mode-switch:hover{ color:var(--text); border-color:var(--line-strong); }
.mode-switch[aria-pressed="true"]{ color:#03060f; background:var(--accent-2); border-color:transparent; }

body.board{ overflow:hidden; }
body.board #main{
  display:flex; flex-direction:row; align-items:stretch;
  width:100%; height:100dvh; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; scrollbar-width:none;
}
body.board #main::-webkit-scrollbar{ display:none; }
body.board #main > span{ display:none; }
body.board #main > section{
  flex:0 0 100vw; width:100vw; height:100dvh; margin:0;
  scroll-snap-align:start; overflow-y:auto; overscroll-behavior:contain;
  display:flex; flex-direction:column;
  justify-content:center;
  justify-content:safe center;   /* un panneau trop haut se lit depuis le début */
  padding:6.6rem 0 5rem; border-block:0;
}
/* en lecture horizontale la page ne défile pas verticalement : la bannière
   n'a plus de raison d'être opaque, elle se fond dans le panneau. Un dégradé
   de la couleur du fond la garde lisible quand un panneau trop haut défile
   sous elle. */
body.board .site-header,
body.board .site-header.is-stuck{
  background:none; backdrop-filter:none; border-bottom-color:transparent;
}
body.board .site-header::before{
  content:""; position:absolute; inset:0 0 -28px 0; z-index:-1; pointer-events:none;
  background:linear-gradient(180deg,
    var(--bg) 0%, rgba(6,8,15,.92) 46%, rgba(6,8,15,.55) 74%, rgba(6,8,15,0) 100%);
}
body.board .hero{ padding-top:6rem; }
body.board .section__head{ margin-bottom:2rem; }
body.board .certstrip{ margin-top:2.4rem; }
body.board .stats__label{ margin-top:2rem; }

body.board .hero__portrait img{ height:clamp(340px,38vh,460px); }
body.board .hero__lead{ margin-top:1.1rem; }
body.board .hero__actions{ margin-top:1.5rem; }
body.board .certstrip{ margin-top:1.9rem; }
body.board .certstrip__label{ margin-bottom:1rem; }
body.board .cert__badge{ width:56px; height:64px; }
body.board .cert__badge--img{ width:66px; height:46px; }
body.board .cert__badge--card{ width:76px; height:54px; }
body.board .stats__label{ margin:1.5rem 0 .6rem; }
body.board .stat{ padding:.75rem 1rem; }
body.board .journey__map{ padding:3.4rem 0 3.2rem; }
body.board .braid__legend{ margin-bottom:.9rem; }
body.board .braid__plot{ aspect-ratio:1200 / 118; margin-bottom:3.6rem; }
body.board .braid__label{ top:calc(50% + 66px); }
body.board .braid__node{ width:38px; height:38px; font-size:.9rem; }
body.board .braid__card{ padding:1.25rem 1.4rem; }
body.board .braid__card h3{ font-size:1.3rem; margin-bottom:.7rem; }
body.board .braid__pair{ margin-bottom:.9rem; padding:.7rem 0 .8rem; }
body.board .braid__foot{ margin-top:.8rem; }

body.board .journey__cards{ min-height:0; }
body.board .step{ padding:1.35rem 1.3rem; }
body.board .eco__card{ padding:1.15rem; }
body.board .proof{ margin-top:2rem; }

.board-nav{
  position:fixed; left:50%; bottom:20px; transform:translateX(-50%); z-index:55;
  display:none; align-items:center; gap:.85rem;
  padding:.4rem .5rem; border-radius:999px;
  background:rgba(9,12,23,.82); backdrop-filter:blur(10px); border:1px solid var(--line);
}
body.board .board-nav{ display:flex; }
/* en lecture horizontale le pied de page sort du flux : la mention légale
   reste visible en permanence, ancrée en bas à gauche, hors du chemin de la
   pastille de navigation qui occupe le centre. */
body.board .site-footer{
  position:fixed; left:0; right:0; bottom:0; z-index:45;
  margin:0; padding:0 0 26px; pointer-events:none;
}
body.board .site-footer::before{
  content:""; position:absolute; inset:-52px 0 0 0; z-index:-1; pointer-events:none;
  background:linear-gradient(0deg,
    var(--bg) 0%, var(--bg) 44%, rgba(6,8,15,.72) 74%, rgba(6,8,15,0) 100%);
}
body.board .footer__bar{ justify-content:flex-start; }
body.board .footer__legal{ justify-content:flex-start; font-size:.68rem; }
/* sous 1360 px la pastille de navigation se rapproche : la mention rétrécit
   pour ne jamais la toucher */
@media (max-width:1360px){
  body.board .footer__legal{ font-size:.62rem; gap:.25rem .45rem; }
}

.board-nav__btn{
  width:30px; height:30px; display:grid; place-items:center; padding:0;
  background:none; border:0; border-radius:50%; cursor:pointer;
  color:var(--text-soft); font-size:1.15rem; line-height:1; transition:color .2s, background .2s;
}
.board-nav__btn:hover{ color:var(--text); background:var(--surface-2); }
.board-dots{ display:flex; align-items:center; gap:.35rem; }
.board-dot{
  width:7px; height:7px; padding:0; border:0; border-radius:999px; cursor:pointer;
  background:var(--line-strong); transition:width .3s var(--ease), background .3s;
}
.board-dot.is-active{ width:22px; background:var(--accent-2); }
.board-progress{
  position:fixed; left:0; bottom:0; height:2px; width:0; z-index:56;
  background:var(--grad); transition:width .12s linear; pointer-events:none;
}
body:not(.board) .board-progress{ display:none; }

/* la lecture horizontale est réservée aux grands écrans à pointeur précis */
@media (max-width:1099px), (max-height:619px), (pointer:coarse){
  .mode-switch{ display:none; }
}

@media print{ .mode-switch,.board-nav,.board-progress{ display:none !important; } }

/* ---------- Reveal ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:980px){
  .hero__inner{ grid-template-columns:1fr; gap:2.5rem; text-align:center; }
  .hero__logo{ margin-inline:auto; }
  .hero__title{ max-width:24ch; margin-inline:auto; }
  .hero__lead{ margin-inline:auto; }
  .hero__actions,.partners{ justify-content:center; }
  .hero__portrait{ flex-direction:column; align-items:center; }
  .hero__portrait::after{ display:none; }
  .hero__portrait img{ height:clamp(340px,62vw,460px); }
  .portrait__card{
    position:static; transform:none; margin-top:.9rem; align-items:center; text-align:center;
  }
  .proof{ grid-template-columns:1fr; gap:2rem; }
  .works{ flex-direction:column; height:auto; }
  .work{ flex:0 0 auto; flex-direction:column; }
  .work__spine{
    flex-direction:row; align-items:center; justify-content:flex-start; gap:.9rem;
    flex-basis:auto; width:100%; padding:1rem 1.2rem; border-right:0;
  }
  .work.is-open .work__spine{ border-right:0; border-bottom:1px solid var(--line); }
  .work__client{ writing-mode:horizontal-tb; transform:none; font-size:1.1rem; }
  .work__spine .badge{ writing-mode:horizontal-tb; transform:none; margin-left:auto; padding:.28rem .7rem; }
  .work__panel{ display:none; }
  .work.is-open .work__panel{ display:block; }
  .work__panel-inner{ min-width:0; opacity:1; padding:1.3rem; }
  .stats{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:820px){
  .burger{ display:flex; }
  .nav{
    position:fixed; inset:74px 0 auto 0; flex-direction:column; align-items:stretch; gap:0;
    background:rgba(6,8,15,.97); backdrop-filter:blur(16px); border-bottom:1px solid var(--line);
    padding:0 1.25rem; margin:0;
    max-height:0; overflow:hidden; transition:max-height .38s var(--ease), padding-bottom .3s;
  }
  .nav.is-open{ max-height:70vh; padding-bottom:1.4rem; }
  .nav a{ padding:.85rem 0; border-bottom:1px solid var(--line); font-size:.98rem; }
  .nav a::after{ display:none; }
  .nav .nav__cta{ margin-top:1rem; text-align:center; border-bottom:1px solid var(--line-strong); }
  .hero{ padding-top:8.5rem; }
}

@media (max-width:520px){
  .stats{ grid-template-columns:1fr; }
  .section{ padding:4.2rem 0; }
  .work,.offer,.eco__card{ padding:1.35rem; }
  .brand__tag{ display:none; }
}

@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; transition-duration:.01ms !important; }
  .reveal{ opacity:1; transform:none; }
}

@media print{
  .site-header,.hero__glow,.hero__grid,.cta__actions,.hero__actions{ display:none; }
  body{ background:#fff; color:#111; }
  .section--alt,.site-footer{ background:#fff; }
  .reveal{ opacity:1; transform:none; }
}
