/* Styles propres à CE site : pages, sections, composants qui n'existent pas dans le socle. */

/* Polices communes aux deux sites, servies localement (assets/charte/fonts) */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../charte/fonts/plus-jakarta-sans-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../charte/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../charte/fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../charte/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../charte/fonts/barlow-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../charte/fonts/barlow-400-italic.woff2') format('woff2');
}

/* Base (reprise de la page unique) */
:root{color-scheme:light}body{margin:0;padding:0;font:14px -apple-system,BlinkMacSystemFont,sans-serif;background:#faf9f5;color:#141413}img{max-width:100%}[hidden]:not([hidden=until-found i]){display:none!important}

/* ============================================================
   WEBQAM.SPORT — Design System
   Palette : bleu nuit #272C60 / #0B0F39 · vert #9DD339 (seule couleur d'accent) · blanc
   Type    : Plus Jakarta Sans (titres) + Barlow (textes & labels)
   Site    : 7 pages · FR / EN
   ============================================================ */

:root {
  --black:        #090909;
  --white:        #FFFFFF;
  --navy:         #272C60;
  --navy-d:       #0B0F39;
  --green:        #9DD339;   /* seule couleur d'accent, identique à webqam.app */
  --green-pale:   rgba(157,211,57,.16);   /* voile du même vert */
  --off-white:    #F4F4F7;
  --border-l:     #E2E2EC;
  --border-d:     rgba(255,255,255,.12);
  --muted:        #5C5C6B;
  --dark-bg:      #272C60;
  --dark-alt:     #1F2458;

  --bg:           var(--white);
  --fg:           var(--black);
  --fg-muted:     var(--muted);
  --border:       var(--border-l);
  --accent:       var(--green);
  --accent-pale:  var(--green-pale);
  --accent-txt:   var(--navy);   /* texte d'accent sur fond clair : bleu nuit (le vert ne passe pas AA sur blanc) */
  --btn-line:     var(--navy);
  --heading:      var(--navy);   /* titres sur fond clair, comme webqam.app */

  --f-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --f-body:    'Barlow', system-ui, sans-serif;
  --f-label:   'Barlow', system-ui, sans-serif;
  --nav-h:     64px;
  --radius-card: 16px;  /* blocs de liste (cartes), comme webqam.app */
  --max-w:     1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0F39;
    --fg: #F0F0FA;
    --fg-muted: #A3A8CC;
    --border: var(--border-d);
    --accent-pale: rgba(157,211,57,.16);
    --accent-txt: var(--green);
    --off-white: #161B4A;
    --btn-line: var(--white);
    --heading: var(--fg);
  }
}
:root[data-theme="dark"] {
  --bg: #0B0F39;
  --fg: #F0F0FA;
  --fg-muted: #A3A8CC;
  --border: var(--border-d);
  --accent-pale: rgba(157,211,57,.16);
  --accent-txt: var(--green);
  --off-white: #161B4A;
  --btn-line: var(--white);
  --heading: var(--fg);
}

/* Accent TEXTE : vert #9DD339 sur fond sombre, bleu nuit #272C60 sur fond clair (contraste AA) */
.nav, .mobile-menu, .hero, .page-head, .section-dark, .section-darker, .on-dark,
.app-card, .boundary-block, .conviction-block,
footer { --accent-txt: var(--green); --heading: var(--white); }
.cta-band {  /* fond vert : texte bleu nuit */
  --accent-txt: var(--navy);
  --heading: var(--navy);
}

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

html { font-size: 16px; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  overflow-anchor: none;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0;
  background: rgba(11,15,57,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: transform .3s ease;
  will-change: transform;
}
/* Le menu top disparaît au scroll down, réapparaît au scroll up */
body.nav-up .nav { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .nav { transition: none; } }
/* Contenu de la nav aligné sur le conteneur du site, pas sur la fenêtre */
.nav-in {
  max-width: var(--max-w); width: 100%; height: 100%;
  margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: flex-start;
  gap: 32px; /* menus alignés à droite du logo, comme webqam.app */
}
.nav-logo {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.02em;
  flex: 0 0 auto;
}
.nav-logo span { color: var(--accent-txt); }
.brand-svg { height: 30px; width: auto; display: block; color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  list-style: none;
  margin: 0;
  flex: 1 1 auto;
}
.nav-links a {
  font-family: var(--f-label);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--accent-txt); }

.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; flex: 0 0 auto; margin-left: auto; }

.lang-select { position: relative; flex-shrink: 0; }
.lang-current {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--f-label);
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .4rem .7rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,.92);
  cursor: pointer;
  transition: color .2s;
}
.lang-current:hover { color: var(--white); }
.lang-caret { width: 8px; height: 5px; fill: currentColor; transition: transform .2s; }
.lang-current[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + .5rem); right: 0;
  min-width: 148px; padding: .35rem;
  background: var(--dark-alt);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55);
  z-index: 120;
}
.lang-opt {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  width: 100%;
  font-family: var(--f-body);
  font-size: .88rem; font-weight: 500;
  padding: .5rem .7rem;
  border: none; border-radius: 999px;
  background: none;
  color: rgba(255,255,255,.86);
  cursor: pointer; text-align: left;
  transition: background .18s, color .18s;
}
.lang-opt:hover { background: rgba(255,255,255,.1); color: var(--white); }
.lang-opt[aria-selected="true"] { color: var(--green); font-weight: 600; }
.lang-opt-code {
  font-family: var(--f-label); font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; color: rgba(255,255,255,0.82);
}
.lang-opt[aria-selected="true"] .lang-opt-code { color: var(--green); }

.nav-cta {
  font-family: var(--f-label);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .6rem 1.2rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--navy-d);
  text-decoration: none;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--green); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .3rem;
}
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .22s ease, opacity .16s ease; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE MENU ---- */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 99;
  padding: 2rem;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mm-links { display: flex; flex-direction: column; }
.mobile-menu a {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -.02em;
  padding: .85rem 0;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.mobile-menu a:hover { color: var(--green); }
.mm-lang { margin-top: 2rem; }
.mm-lang-lbl {
  font-family: var(--f-label);
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.70); margin-bottom: .8rem;
}
.mm-langs { display: flex; gap: .6rem; flex-wrap: wrap; }
.mm-lang-btn {
  font-family: var(--f-label);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem 1.1rem; border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.3);
  background: transparent; color: rgba(255,255,255,.92); cursor: pointer;
  transition: border-color .18s, color .18s;
}
.mm-lang-btn[aria-pressed="true"] { border-color: var(--green); color: var(--green); }
body.menu-open { overflow: hidden; }

/* ---- LAYOUT ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }

.section-light  { background: var(--bg); }
.section-alt    { background: var(--off-white); }
/* Strate toujours blanche, y compris quand l'appareil est en mode sombre */
.section-white {
  --bg: var(--white); --fg: var(--black); --fg-muted: var(--muted); --border: var(--border-l);
  --accent-pale: var(--green-pale); --accent-txt: var(--navy); --off-white: #F4F4F7;
  --btn-line: var(--navy); --heading: var(--navy);
  background: var(--white); color: var(--fg);
}
:root .section-white .eco-logo { background: none; border-radius: 0; padding: 0; height: 36px; box-sizing: border-box; }
:root .section-white .eco-logo--tall { height: 62px; }
.section-dark   { background: linear-gradient(145deg, var(--navy-d) 0%, var(--navy) 100%); color: var(--white); }
.section-darker { background: var(--navy-d); color: var(--white); }
/* bloc applications de l'accueil : texture Figma en bas, 100 % de large (comme webqam.app) */
.section-dark.apps-home { background: url("/assets/images/apps-home-texture.svg") center bottom / 100% auto no-repeat, linear-gradient(145deg, var(--navy-d) 0%, var(--navy) 100%); }

section { padding: 6rem 0; }

.eyebrow {
  font-family: var(--f-label);
  font-size: .74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent-txt);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow-l { color: var(--green); }

h1, h2, h3 { color: var(--heading); }
h1 {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.035em;
  text-wrap: balance;
}
h2 {
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h3 {
  font-family: var(--f-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.022em;
}
h4 {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1.3;
}
h5 {
  font-family: var(--f-label);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
}

p { line-height: 1.7; }
.lead { font-size: 1.12rem; color: var(--fg-muted); line-height: 1.65; max-width: 62ch; }
.lead-w { font-size: 1.12rem; color: rgba(255,255,255,0.82); line-height: 1.65; max-width: 62ch; }
.accent { color: var(--accent-txt); }
.muted  { color: var(--fg-muted); }
.small  { font-size: .9rem; }

/* ---- BOUTONS ---- */
/* Réf. Figma : coins arrondis (pill), bordure 2px, flèche optionnelle à droite.
   1 variante pleine (action principale) + 1 variante contour. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--f-label);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .09em;
  padding: .78rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:focus-visible, .nav-cta:focus-visible, .lang-current:focus-visible,
.lang-opt:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
/* plein — vert #9DD339 / bleu nuit #0B0F39 */
.btn-primary { background: var(--green); color: var(--navy-d); border-color: var(--green); }
.btn-primary:hover { background: var(--green); border-color: var(--green); }
/* plein sur fond sombre lorsqu'un contraste maximum est requis */
.btn-white { background: var(--white); color: var(--navy-d); border-color: var(--white); }
.btn-white:hover { background: var(--off-white); border-color: var(--off-white); }
/* contour sur fond clair */
.btn-outline { background: transparent; color: var(--btn-line); border-color: var(--btn-line); }
.btn-outline:hover { background: var(--btn-line); color: var(--bg); }
/* contour sur fond sombre */
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ---- ICÔNES FLÈCHES (Figma) ---- */
.ico-arrow {
  flex: 0 0 auto; display: inline-block;
  width: 1em; height: 1em; fill: currentColor;
  vertical-align: -.09em; transition: transform .2s;
}
.ico-arrow--int { width: 1.05em; height: .9em; }
.ico-arrow--ext { width: 1.05em; height: 1.05em; }
/* les boutons gèrent l'espace via `gap`, les liens simples via une marge */
:not(.btn) > .ico-arrow { margin-left: .4em; }
a:hover > .ico-arrow--int, .btn:hover > .ico-arrow--int { transform: translateX(3px); }

.status-pill {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em;
  padding: .62rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.34);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
}
.status-pill::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex: 0 0 auto;
}

/* ---- TAGS ---- */
.tag {
  display: inline-block;
  font-family: var(--f-label);
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .28rem .65rem;
  background: var(--accent-pale);
  color: var(--accent-txt);
}
.tag-dark { background: rgba(157,211,57,.18); color: var(--green); }
.tag-line { background: transparent; border: 1px solid var(--border); color: var(--fg-muted); }
.sol-card > .tag, .app-card > .tag { align-self: flex-start; }

.hline { display: block; width: 48px; height: 2px; background: var(--green); margin: 1.5rem 0; }

/* ---- PAGE HEADER (pages internes) ---- */
.page-head {
  background: url("/assets/images/hero-texture.svg") center/cover no-repeat, linear-gradient(145deg, var(--navy) 0%, var(--navy-d) 100%);
  color: var(--white);
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
}
/* Heros animés (ruban d'ondes vertes, hero-ondes.js), comme webqam.app.
   Sans JS : le fond d'origine reste. */
[data-ondes] { --hero-ondes: var(--green); position: relative; overflow: hidden; }
[data-ondes] > :not(.hero-ondes) { position: relative; z-index: 1; }
.hero-ondes { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.page-head.hero--anime { background: linear-gradient(145deg, var(--navy) 0%, var(--navy-d) 100%); }
.page-head h1 { color: var(--white); }
.page-head h1 em { font-style: normal; color: var(--accent-txt); }
.page-head .lead-w { margin-top: 1.5rem; }
.page-head-actions { display: flex; gap: 1rem; margin-top: 2.25rem; flex-wrap: wrap; }

/* ---- HERO (accueil) ---- */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-d) 100%);
  color: var(--white);
  min-height: calc(100svh - var(--stats-h, 0px));
  padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
  position: relative;
}
.hero > .container { position: relative; z-index: 1; width: 100%; }
/* Surlignage noir : une bande derrière chaque ligne (lisibilité sur photo sans filtre) */
.hero-headline .hl {
  display: inline;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background-image: linear-gradient(rgba(11,15,57,.90), rgba(11,15,57,.90));
  background-repeat: no-repeat;
  background-size: 100% .92em;
  background-position: left bottom .1em;
  padding: 0 .16em;
  margin-left: -.16em;
}
.hero-headline h1 { line-height: .95; font-size: clamp(3rem, 6.4vw, 5.75rem); text-align: left; }
.hero-headline .lead-w .hl { background-size: 100% .98em; background-position: left bottom .04em; }

/* ---- CHIFFRES CLES : bande noire pleine largeur, apres l'image ---- */
.stats-band {
  background: var(--navy);
  color: var(--white);
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.stats-band > .container {
  padding-top: clamp(1.25rem, 1.9vw, 1.9rem);
  padding-bottom: clamp(1.25rem, 1.9vw, 1.9rem);
}
.stats-band .hero-stats { margin: 0; padding: 0; border-top: 0; }
@media (max-width: 600px) {
  .stats-band .hero-stats { margin: 0 -1.25rem; padding: 0 1.25rem; }
}

.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4.5rem; align-items: center; justify-items: start; }
.hero-headline h1 { color: var(--white); }
.hero-headline h1 em { font-style: normal; color: var(--green); }
.hero-headline .lead-w { margin-top: 1.5rem; }
/* Photo du hero de l'accueil, à droite du texte */
.hero-photo { margin: 0; width: 100%; }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); }
@media (min-width: 860px) {
  .hero-grid:has(.hero-photo) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; }
}
.hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-top: 2.25rem; }
/* Second lien du hero : lien souligné, sous le bouton */
.hero-link {
  font-family: var(--f-label); font-size: 1rem; font-weight: 600; color: var(--white);
  text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px;
}
.hero-link:hover { color: var(--green); }
.hero-link:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
/* emplacement reserve au visuel inspirationnel (a fournir) */
.hero-visual {
  aspect-ratio: 4 / 3;
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: 6px;
  background: linear-gradient(140deg, rgba(157,211,57,.16), rgba(255,255,255,.03));
  display: flex; align-items: center; justify-content: center;
}
.hero-visual span {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.58);
}
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem;
  margin-top: 4.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.14);
}
.hero-stat-num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800; color: var(--white);
  letter-spacing: -.045em; line-height: 1;
}
.hero-stat-num span { color: var(--green); }
.hero-stat-label {
  font-family: var(--f-label);
  font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .09em;
  color: rgba(255,255,255,0.76); margin-top: .4rem;
}

/* Chiffres clés incrustés en bas du hero (accueil) : bande pleine largeur à filet haut, 3 blocs qui se touchent séparés par un filet, trait vert sur le filet devant chaque chiffre */
.hero:has(.hero-stats-band), .page-head.page-head--stats { padding-bottom: 0; }
.hero > .hero-stats-band, .page-head > .hero-stats-band {
  position: relative; z-index: 1; width: 100%;
  margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.22);
}
.hero .hero-stats--in, .page-head .hero-stats--in {
  grid-template-columns: 1fr; gap: 0;
  margin: 0; padding: 0; border-top: 0;
}
.hero-stats--in > div {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem 1.5rem;
  border-left: 1px solid rgba(255,255,255,.22);
}
.hero-stats--in > div::before {
  content: ''; position: absolute; left: -2px; top: 1.5rem; bottom: 1.5rem;
  width: 3px; background: var(--green);
}
.hero-stats--in .hero-stat-num { font-size: clamp(1.8rem, 3.1vw, 2.75rem); }
.hero-stats--in .hero-stat-label { margin-top: .6rem; line-height: 1.6; }
@media (min-width: 640px) { .hero .hero-stats--in { grid-template-columns: repeat(3, 1fr); } .page-head .hero-stats--in { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .page-head .hero-stats--in { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
  .hero > .hero-stats-band, .page-head > .hero-stats-band { margin-top: 3.5rem; }
  .hero-stats--in > div { padding: 2.1rem 1.5rem 1.9rem 1.75rem; }
  .hero-stats--in > div::before { top: 2.1rem; bottom: 1.9rem; }
}

/* ---- PILIERS / MISSION ---- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.mission-block { max-width: 68ch; }
.principles-grid { margin-top: 2.5rem; }
.mission-pillar {
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  display: flex; gap: 1.5rem; align-items: flex-start;
}
.mission-pillar:last-child { border-bottom: 1px solid var(--border); }
.pillar-mark {
  font-family: var(--f-label);
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .11em;
  color: var(--accent-txt); white-space: nowrap; padding-top: .25rem; min-width: 7.5rem;
}
.mission-quote {
  margin-top: 2.5rem; padding: 1.75rem;
  border-left: 3px solid var(--green); background: var(--off-white);
}
.mission-quote p {
  font-family: var(--f-display);
  font-size: 1.08rem; font-weight: 600; line-height: 1.5; letter-spacing: -.018em;
}
.mission-quote cite {
  display: block; margin-top: .75rem;
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-style: normal;
}

/* ---- CARDS GRID ---- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.pilier-block { margin-bottom: 0; }
.pilier-header { margin-bottom: 1.5rem; }
/* titre d'offre + logo partenaire à droite (offre 01) */
.pilier-title-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.pilier-title-row .pilier-title { flex: 1 1 auto; min-width: 0; }
.pilier-partner-logo { height: 44px; width: auto; flex: none; }
@media (min-width: 640px) {
  .pilier-title-row { flex-wrap: nowrap; }
  .pilier-partner-logo { height: 60px; }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pilier-partner-logo { filter: invert(1); }
}
:root[data-theme="dark"] .pilier-partner-logo { filter: invert(1); }
.pilier-num {
  display: block;
  font-family: var(--f-label); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .14em; color: var(--accent-txt);
  margin-bottom: 1rem;
}
.pilier-title {
  font-family: var(--f-display);
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  font-weight: 800; line-height: 1.04; letter-spacing: -.035em;
  color: var(--accent-txt);
  max-width: 20ch; text-wrap: balance;
}
/* violet clair quand la strate passe en sombre (thème système ou forcé) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pilier-title { color: var(--green); }
}
:root[data-theme="dark"] .pilier-title { color: var(--green); }
/* 2e ligne : accroche, plus petite et dans la couleur du texte courant */
.pilier-title-sub {
  display: block;
  margin-top: .55rem;
  font-size: clamp(1.15rem, 2vw, 1.75rem);
  font-weight: 700; line-height: 1.2; letter-spacing: -.022em;
  color: var(--fg);
  max-width: 28ch;
}
/* la ligne de logos vient coller le titre */
.pilier-header + .logo-band { margin-top: -1rem; }
.pilier-header + .logo-band .logo-grid { gap: 1.5rem 3rem; }

/* Blocs sans contour, arrondis. Fond opposé à celui de la strate. */
.sol-card {
  background: var(--bg); border: none; border-radius: var(--radius-card);
  padding: 2.25rem; display: flex; flex-direction: column; min-width: 0;
}
.sol-cards-grey .sol-card { background: var(--off-white); }
.sol-card h4 { margin: .85rem 0 .6rem; }
.sol-card > h4:first-child { margin-top: 0; }
.sol-card > p { font-size: .95rem; color: var(--fg-muted); }
.sol-card--full { margin-top: 1.5rem; }

/* Blocs « expertise » de l'accueil : image en tête, texte dessous sur fond blanc. */
.pil-card { padding: 0; overflow: hidden; }
.pil-media { display: block; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; }
.pil-body { padding: 1.9rem 2.25rem 2.25rem; display: flex; flex-direction: column; flex: 1; }
.pil-body h4 { margin: 0 0 .65rem; }
.pil-body > p { font-size: .95rem; color: var(--fg-muted); }
.pil-link { margin-top: auto; padding-top: 1.5rem; }
@media (max-width: 720px) { .pil-body { padding: 1.5rem; } }
.sol-card-list { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: .45rem; }
.sol-card-list li { font-size: .92rem; color: var(--fg-muted); padding-left: 1rem; position: relative; }
.sol-card-list li::before { content: '—'; position: absolute; left: 0; color: var(--accent-txt); font-size: .8rem; }

/* ---- SOL-ROW : bloc pleine largeur texte + visuel ---- */
.sol-rows { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.sol-row {
  display: grid; grid-template-columns: 1.02fr .98fr;
  background: var(--bg); border-radius: var(--radius-card); overflow: hidden; align-items: stretch;
}
.sol-row-body {
  padding: 2.75rem 3rem; display: flex; flex-direction: column; justify-content: center;
  order: 1; min-width: 0;
}
.sol-row-body h3 { font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.sol-row-body > p { font-size: .98rem; color: var(--fg-muted); margin-top: .75rem; }
.sol-row-media { order: 2; min-height: 340px; position: relative; background: var(--accent-pale); }
.sol-row-media svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* image à gauche */
.sol-row--flip .sol-row-body { order: 2; }
.sol-row--flip .sol-row-media { order: 1; }
/* texte seul, sans visuel */
.sol-row--solo { grid-template-columns: 1fr; }
@media (max-width: 880px) {
  .sol-row { grid-template-columns: 1fr; }
  .sol-row-body, .sol-row--flip .sol-row-body { order: 1; padding: 2.25rem 1.75rem; }
  .sol-row-media, .sol-row--flip .sol-row-media { order: 2; min-height: 240px; }
}

/* ---- GALERIE DU HERO (page solutions) ---- */
.sol-hero-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 3rem; }
.sol-hero-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1024 / 520; object-fit: cover; border-radius: 18px; }
@media (max-width: 700px) { .sol-hero-gallery { grid-template-columns: 1fr; gap: 1rem; margin-top: 2.25rem; } }

/* ---- OFFRES (page solutions) ---- */
.sol-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-cards-grey .sol-row { background: var(--off-white); }
.offer-statement {
  background: linear-gradient(145deg, var(--navy-d) 0%, var(--navy) 100%);
  color: var(--white); padding: 2.75rem 3rem;
  display: flex; flex-direction: column; justify-content: center;
}
.offer-statement blockquote { margin: 0; }
.offer-statement blockquote p {
  font-family: var(--f-display); font-style: italic; font-weight: 600;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem); line-height: 1.35; letter-spacing: -.01em;
  color: var(--white);
}
@media (max-width: 880px) { .offer-statement { padding: 2.25rem 1.75rem; } }
.offer-blocs { margin-top: 1.5rem; }
.offer-gallery {
  display: grid; grid-template-columns: 2.1fr 1fr; grid-template-rows: auto auto;
  gap: 1.5rem; margin-top: 1.5rem;
}
.offer-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 18px; background: var(--bg); }
.offer-gallery img:first-child { grid-row: 1 / span 2; }
@media (max-width: 700px) {
  .offer-gallery { grid-template-columns: 1fr; gap: 1rem; }
  .offer-gallery img:first-child { grid-row: auto; }
}
.offer-apps-lead { margin: 0 0 2.5rem; max-width: 60ch; }
.app-pitch.app-pitch--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .app-pitch.app-pitch--3 { grid-template-columns: 1fr; } }

/* ---- BANDEAU IMAGE PLEINE LARGEUR (avant un pilier) ---- */
.sol-band { margin: 0 0 4.5rem; width: 100%; }
.sol-band img {
  display: block; width: 100%;
  height: clamp(180px, 24vw, 330px);
  object-fit: cover;
}
.sol-has-band { padding-top: 0; }
@media (max-width: 700px) { .sol-band { margin-bottom: 2.5rem; } }

.sol-anchor { scroll-margin-top: var(--nav-h); }

/* ---- APPS PITCH ---- */
.app-pitch { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.app-card {
  background: var(--dark-alt); border: 1px solid var(--border-d); border-radius: var(--radius-card);
  padding: 2rem; display: flex; flex-direction: column; gap: .9rem;
}
.app-logo { width: 72px; height: 72px; display: block; margin-bottom: .35rem; }
.app-card h3 { color: var(--white); }
.apps-table-logo { width: 34px; height: 34px; display: block; }
.apps-table td:first-child .apps-app { display: flex; align-items: center; gap: .7rem; }
.app-card p { font-size: .95rem; color: rgba(255,255,255,0.82); }
.app-proof {
  font-size: .9rem; color: rgba(255,255,255,0.76);
  border-left: 2px solid var(--green); padding-left: .85rem; margin-top: .25rem;
}
.app-status {
  font-family: var(--f-label); font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--green);
  display: flex; align-items: center; gap: .5rem; margin-top: -.35rem;
}
.app-status::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}
.app-link {
  margin-top: auto; padding-top: 1.25rem;
  font-family: var(--f-label); font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  color: var(--green); text-decoration: none; display: inline-block;
}
.app-link:hover { color: var(--white); }

.apps-table { width: 100%; min-width: 560px; border-collapse: collapse; margin-top: 1.25rem; }
.apps-table th, .apps-table td {
  text-align: left; padding: .85rem .75rem; font-size: .92rem;
  border-bottom: 1px solid var(--border); vertical-align: top;
}
.apps-table th {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--fg-muted);
}
.apps-table td:first-child { font-family: var(--f-display); font-weight: 700; letter-spacing: -.015em; white-space: nowrap; }
.apps-table td:nth-child(2) { color: var(--fg-muted); }
.apps-table a { color: var(--accent-txt); text-decoration: none; font-weight: 600; white-space: nowrap; }
.apps-table a:hover { text-decoration: underline; }
.table-wrap { overflow-x: auto; min-width: 0; max-width: 100%; }

/* ---- ÉCOSYSTÈME ---- */
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.eco-card { background: var(--off-white); border-radius: var(--radius-card); padding: 2rem; display: flex; flex-direction: column; }
.eco-name { font-family: var(--f-display); font-size: 1.12rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: .35rem; }
.eco-role {
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--accent-txt); margin-bottom: .8rem;
}
.eco-card p { font-size: .93rem; color: var(--fg-muted); }
.eco-logo {
  display: flex; align-items: center;
  height: 36px; margin-bottom: 1.6rem;
  color: #090909; align-self: flex-start;
}
.eco-logo--tall { height: 62px; }
.eco-logo .eco-logo-svg { height: 100%; width: auto; max-width: 190px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .eco-logo {
    background: #FFFFFF; border-radius: 6px;
    padding: .5rem .8rem; height: 48px; box-sizing: content-box;
  }
  :root:not([data-theme="light"]) .eco-logo--tall { height: 62px; }
}
:root[data-theme="dark"] .eco-logo {
  background: #FFFFFF; border-radius: 6px;
  padding: .5rem .8rem; height: 48px; box-sizing: content-box;
}
:root[data-theme="dark"] .eco-logo--tall { height: 62px; }
/* page Écosystème : même mise en page que le bloc applications de l'accueil, strate et cartes blanches */
.eco-app-card {
  --accent-txt: var(--navy); --heading: var(--navy);
  background: var(--bg); border: 1px solid var(--border);
}
.eco-app-card p { color: var(--fg-muted); }
.eco-app-card .eco-logo { margin-bottom: .35rem; }
.eco-app-card .eco-name { color: var(--heading); }
.eco-app-card .app-status { margin-top: 0; color: var(--accent-txt); }
.eco-app-card .app-status::before { background: var(--accent); }
.eco-app-card .app-link { color: var(--accent-txt); }
.eco-app-card .app-link:hover { color: var(--heading); }
.eco-badge {
  align-self: flex-start; margin-top: 1.1rem;
  font-family: var(--f-label); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em;
  padding: .24rem .6rem; border: 1px solid var(--border); color: var(--fg-muted);
}

.boundary-block {
  margin-top: 3rem; background: var(--dark-bg); color: var(--white);
  padding: 2.5rem; display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem;
}
.boundary-block h3 { color: var(--white); }
.boundary-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.boundary-list li { font-size: .95rem; color: rgba(255,255,255,0.82); padding-left: 1.5rem; position: relative; }
.boundary-list li::before { content: '✕'; position: absolute; left: 0; color: var(--accent-txt); font-size: .8rem; }

/* ---- À PROPOS ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.conviction-block { background: var(--dark-bg); color: var(--white); padding: 2.5rem; }
.conviction-block blockquote {
  font-family: var(--f-display); font-size: 1.18rem; font-weight: 600;
  line-height: 1.55; letter-spacing: -.02em;
  border-left: 3px solid var(--green); padding-left: 1.5rem;
}
.conviction-block p { color: rgba(255,255,255,0.82); margin-top: 1rem; font-size: .95rem; }
.conviction-quote { margin: 0; }
.conviction-block blockquote p { margin: 0; color: var(--white); font-size: inherit; font-style: italic; }
.conviction-quote figcaption {
  margin-top: 1.5rem; padding-left: calc(1.5rem + 3px);
  font-family: var(--f-label); font-size: 1rem; font-weight: 600; line-height: 1.5; color: rgba(255,255,255,0.82);
}

.traj-list { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-top: 1.5rem; }
.traj-list li { font-size: .98rem; color: var(--fg-muted); padding-left: 1.25rem; position: relative; }
.traj-list li::before { content: '→'; position: absolute; left: 0; color: var(--accent-txt); }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 1.5rem; }
.team-card { background: var(--off-white); border-radius: var(--radius-card); padding: 1.6rem; }
.team-name { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; margin-bottom: .2rem; }
.team-role {
  font-family: var(--f-label); font-size: .74rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em; color: var(--accent-txt);
}

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: start; }
.contact-detail { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.4rem; }
.contact-label {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .11em; color: var(--accent-txt); margin-bottom: .2rem;
}
.contact-value { font-size: 1rem; color: rgba(255,255,255,.82); }

/* formulaire HubSpot (page contact) */
.contact-form-in { max-width: 600px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 1.15rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; }
.form-label {
  font-family: var(--f-label); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .11em; color: rgba(255,255,255,0.76);
}
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); color: var(--white);
  padding: .8rem 1rem; font-family: var(--f-body); font-size: 1rem; width: 100%;
  outline: none; transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-select { appearance: none; cursor: pointer; }
option { background: var(--dark-bg); }

/* ---- CTA BAND ---- */
/* fond vert #9DD339 / bleu nuit #272C60 (comme webqam.app) */
.cta-band {
  background: var(--green); color: var(--navy);
  padding: 5.5rem 0;
}
.cta-band-in {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 2.25rem;
}
.cta-band h2 { color: var(--navy); max-width: 24ch; }
.cta-band p { color: var(--navy); margin: .9rem auto 0; max-width: 52ch; }
.cta-band .btn-white { background: var(--navy); color: var(--white); border-color: var(--navy); }
.cta-band .btn-white:hover { background: var(--navy-d); border-color: var(--navy-d); }
.cta-band .btn-outline-white { color: var(--navy); border-color: var(--navy); }
.cta-band .btn-outline-white:hover { background: rgba(39,44,96,.1); border-color: var(--navy); }
.cta-band .btn:focus-visible { outline-color: var(--navy); }
.cta-band-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* ---- FOOTER ---- */
footer { background: var(--navy-d); color: rgba(255,255,255,0.76); border-top: 1px solid rgba(255,255,255,.07); }
.footer-main { padding: 4rem 0 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer-brand-name { display: inline-block; color: var(--white); }
.footer-brand-name .brand-svg { height: 30px; }
.footer-brand-name:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.footer-brand p { font-size: .93rem; color: rgba(255,255,255,0.76); margin-top: 1rem; max-width: 38ch; }
.footer-col h5 { color: rgba(255,255,255,0.76); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.footer-col a { font-size: .93rem; color: rgba(255,255,255,0.82); text-decoration: none; transition: color .2s; background: none; border: none; font-family: var(--f-body); padding: 0; text-align: left; cursor: pointer; }
.footer-col a:hover { color: var(--white); }
.footer-col-btn {
  all: unset; display: block; width: 100%;
  font: inherit; color: inherit; cursor: default;
}
.footer-chev { display: none; }
@media (max-width: 700px) {
  .footer-main { grid-template-columns: 1fr; gap: 0; }
  .footer-brand { margin-bottom: 2rem; }
  .footer-col { border-top: 1px solid rgba(255,255,255,.09); }
  .footer-col:last-of-type { border-bottom: 1px solid rgba(255,255,255,.09); }
  .footer-col h5 { margin: 0; }
  .footer-col-btn {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: .8rem 0; line-height: 1.35; cursor: pointer;
  }
  .footer-col-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
  .footer-chev {
    display: block; width: 9px; height: 9px; flex-shrink: 0;
    border-right: 1.6px solid rgba(255,255,255,.7);
    border-bottom: 1.6px solid rgba(255,255,255,.7);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .22s ease;
  }
  .footer-col.open .footer-chev { transform: translateY(2px) rotate(-135deg); }
  .footer-col ul { display: none; gap: .45rem; padding-bottom: .8rem; }
  .footer-col li { line-height: 1.35; }
  .footer-col.open ul { display: flex; }
}

.footer-links-ext { display: flex; align-items: center; gap: 1rem; margin-top: 1.25rem; }
.footer-social {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  background: rgba(255,255,255,.06); border-radius: 8px; color: rgba(255,255,255,0.76); transition: background .2s, color .2s;
}
.footer-social:hover { background: rgba(255,255,255,.12); color: var(--white); }
.footer-link-ext {
  font-family: var(--f-label); font-size: .93rem; font-weight: 600; color: var(--accent-txt); text-decoration: none;
}
.footer-link-ext:hover { color: var(--white); }
.footer-social:focus-visible, .footer-link-ext:focus-visible, .footer-legal-link:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.footer-bottom-left { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; }
.footer-legal-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal-link:hover { color: var(--white); }
.footer-partner-logo { height: 40px; width: auto; display: block; }

/* ---- MENTIONS LÉGALES ---- */
.legal { max-width: 72ch; display: flex; flex-direction: column; gap: 3rem; }
.legal-block h2 { font-size: 1.5rem; margin-bottom: 1.25rem; }
.legal-list { display: flex; flex-direction: column; }
.legal-row { display: grid; grid-template-columns: 1fr; gap: .25rem; padding: .85rem 0; border-top: 1px solid var(--border, rgba(0,0,0,.08)); }
.legal-row dt { font-family: var(--f-label); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--fg-muted); }
.legal-row dd { margin: 0; }
.legal a { color: var(--accent-txt); text-decoration: underline; text-underline-offset: 3px; }
.legal-todo { background: #FFF3C4; color: #5C4A00; padding: .05rem .35rem; border-radius: 4px; }
@media (min-width: 640px) { .legal-row { grid-template-columns: 16rem 1fr; gap: 1.5rem; } }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-copyright {
  font-family: var(--f-label); font-size: .74rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .07em; color: rgba(255,255,255,0.7);
}

/* ---- LOGO BAND (références clubs) ---- */
.logo-band { margin-top: 3.5rem; }
.logo-band-title {
  font-family: var(--f-label); font-size: .76rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,0.76); margin-bottom: 1.25rem;
}
.on-light .logo-band-title { color: var(--fg-muted); }
/* Les logos reposent directement sur le fond du bloc : aucun cartouche blanc. */
.logo-grid {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 2rem 3.25rem; background: none;
}
.on-light .logo-grid { background: none; }
.logo-tile {
  background: transparent; padding: 0; min-height: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-tile img { height: 58px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 720px) { .logo-tile img { height: 46px; } .logo-grid { gap: 1.5rem 2.25rem; } }
/* Sur fond sombre, cartouche clair : les logos monochromes (Angers SCO, BBH,
   Provence Rugby, Vitality…) seraient illisibles à même le noir. */
.logo-band:not(.on-light) .logo-grid { gap: .85rem; }
.logo-band:not(.on-light) .logo-tile {
  background: #FFFFFF; border-radius: 14px;
  width: 104px; height: 80px; padding: .5rem;
}
.logo-band:not(.on-light) .logo-tile img { height: 52px; }
@media (max-width: 720px) {
  /* Mobile : grille de 4 colonnes qui remplit toute la largeur.
     Les tuiles sont dimensionnees en 1fr, les logos grossissent en consequence. */
  .logo-grid,
  .pilier-header + .logo-band .logo-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem .7rem;
  }
  .logo-band:not(.on-light) .logo-grid { gap: .5rem; }
  .logo-band:not(.on-light) .logo-tile {
    width: auto; height: auto; aspect-ratio: 4 / 3; padding: .3rem; border-radius: 12px;
  }
  .logo-band:not(.on-light) .logo-tile img { height: auto; max-height: 70%; max-width: 88%; }
  .logo-band.on-light .logo-tile { width: auto; height: 54px; }
  .logo-band.on-light .logo-tile img { height: 100%; max-height: 46px; width: auto; max-width: 100%; }
}

/* ---- RÉFÉRENCES ---- */
.proj-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.proj-media { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.proj-card h3 { font-size: 1.2rem; line-height: 1.25; margin: .5rem 0 .65rem; }
.proj-card .app-status { color: var(--fg-muted); }
.proj-card .app-link { color: var(--accent-txt); }
.proj-card .app-link:hover { color: var(--heading); }
.refs-logos-title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); max-width: 40ch; }
@media (min-width: 640px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .proj-grid { grid-template-columns: repeat(3, 1fr); } .proj-card .pil-body { padding: 1.5rem; } }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  /* burger à gauche · logo centré · bouton d'action toujours visible à droite */
  .nav-links { display: none; }
  .nav-burger { display: flex; justify-self: start; margin-left: -.3rem; }
  .nav-in { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; padding: 0 1.25rem; }
  .nav-logo { flex: none; justify-self: center; white-space: nowrap; }
  .nav-right { justify-self: end; margin-left: 0; gap: .75rem; }
  .nav-right .lang-select { display: none; }
  .nav-cta { padding: .58rem 1.1rem; font-size: .8rem; letter-spacing: .06em; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { aspect-ratio: 16 / 10; }
  .hero-stats { margin-top: 3rem; padding-top: 2rem; gap: 2rem; }
  .mission-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .grid-2, .grid-3, .app-pitch, .eco-grid { grid-template-columns: 1fr; }
  .boundary-block { grid-template-columns: 1fr; gap: 1.5rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .container { padding: 0 1.25rem; }
  section { padding: 4.5rem 0; }
  .page-head { padding: calc(var(--nav-h) + 3.5rem) 0 3.5rem; }
  .hero { padding: calc(var(--nav-h) + 4rem) 0 4.5rem; }
}
@media (max-width: 600px) {
  .nav-in { padding: 0 1.25rem; gap: .6rem; }
  .brand-svg { height: 22px; }
  .nav-cta { padding: .55rem 1rem; font-size: .76rem; letter-spacing: .05em; }
  .mobile-menu a { font-size: 1.35rem; }
  /* chiffres cles : carrousel au swipe */
  .hero-stats {
    display: flex; gap: 0;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; -ms-overflow-style: none;
    margin: 3rem -1.25rem 0; padding: 2rem 1.25rem 0;
    scroll-padding-left: 1.25rem;
  }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hero-stats > div { flex: 0 0 72%; scroll-snap-align: start; padding-right: 1.5rem; }
  .hero-stats.hero-stats--in { gap: 0; margin: 0 -1.25rem; padding: 0 1.25rem; }
  .hero-stats--in > div { flex: 0 0 78%; padding: 1.25rem 1rem 1.25rem 1.25rem; }
  .hero-stats--in > div::before { top: 1.25rem; bottom: 1.25rem; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
}
/* ---- LISIBILITÉ MOBILE : +1px sur les textes courants ---- */
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .lead, .lead-w { font-size: 1.18rem; }
  .traj-list li { font-size: 1.04rem; }
  .contact-value { font-size: 1.06rem; }
  .app-card p, .boundary-list li, .conviction-block p, .sol-card > p { font-size: 1.01rem; }
  .eco-card p, .footer-brand p, .footer-col a { font-size: .99rem; }
  .sol-card-list li { font-size: .98rem; }
  .small, .app-proof { font-size: .96rem; }
  .apps-table th, .apps-table td { font-size: .96rem; }
  .tag, .eyebrow, .pilier-num { font-size: .76rem; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==== Plan éditorial 2026-09 : récit, page Enjeux, page Résultats ==== */
/* Badge Shopify Plus Partner (hero accueil, bande de chiffres Résultats) */
.hero-partner, .results-partner { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
/* Accueil : badge en haut à droite du hero */
.hero-top { display: flex; justify-content: flex-end; margin-bottom: auto; padding-bottom: 2.5rem; }
.hero-partner { display: inline-flex; margin: 0; }
.hero-partner img, .results-partner img { height: 34px; width: auto; flex: none; }
.results-partner { margin: 0 0 1.75rem; }
.hero-partner span, .results-partner span {
  font-family: var(--f-label); font-size: .8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .09em; color: var(--white);
}
.results-stats > .container { padding-top: 2.25rem; padding-bottom: 2.25rem; }
.results-stats .hero-stats { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .results-stats .hero-stats { grid-template-columns: repeat(4, 1fr); } }

/* Accueil */
.home-logos { padding: 1.75rem 0; }
/* Bande de logos défilante (même défilement que webqam.app) : deux jeux identiques, fondus latéraux */
.logo-marquee { overflow: hidden; position: relative; }
.logo-marquee::before, .logo-marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 1; pointer-events: none; }
.logo-marquee::before { left: 0; background: linear-gradient(to right, var(--bg) 40%, transparent); }
.logo-marquee::after { right: 0; background: linear-gradient(to left, var(--bg) 40%, transparent); }
.logo-track { display: flex; width: max-content; animation: scroll-logos 44s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 3.25rem; padding: 0 1.625rem; }
.logo-set .logo-tile { flex-shrink: 0; }
.logo-set .logo-tile img { height: 58px; width: auto; max-width: none; }
@keyframes scroll-logos { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 720px) {
  .logo-marquee::before, .logo-marquee::after { width: 40px; }
  .logo-set { gap: 2.25rem; padding: 0 1.125rem; }
  .logo-set .logo-tile img { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}
.home-lead { margin-top: 1rem; }
.home-teaser-cta { margin-top: 2.25rem; }
.home-apps-lead { margin: 1rem 0 2.5rem; }
.home-lead + .grid-2, .home-lead + .grid-3, h2 + .grid-2 { margin-top: 2.5rem; }
.sol-card h3 { margin: 0 0 .6rem; font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
.sol-card .pilier-num { margin-bottom: .75rem; }
figure.mission-quote { margin-inline: 0; }
.mission-quote blockquote { margin: 0; }
/* Citations en italique, sur toutes les pages */
.mission-quote blockquote p, .app-proof--citation { font-style: italic; }
/* Mots mis en avant en vert (accroche « Shopify pour le socle ») */
.txt-vert { color: var(--green); }
.home-quote p { font-size: clamp(1.25rem, 2.2vw, 1.75rem); }
.event-line { padding: 2.5rem 0; }
.event-line .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.event-line p { font-size: 1.05rem; }
.event-line .app-link, .quotes-source a { color: var(--accent-txt); }
.event-line .app-link:hover, .quotes-source a:hover { color: var(--heading); }

/* Page Enjeux */
.facts-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
.fact { border-top: 2px solid var(--green); padding-top: 1.25rem; }
.fact-num { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -.045em; line-height: 1; color: var(--heading); }
.fact-num span { color: var(--accent-txt); }
.fact p { margin-top: .5rem; color: var(--fg-muted); }
.sol-card > p.rupture-answer { margin-top: auto; padding-top: 1.25rem; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; color: var(--accent-txt); }
@media (max-width: 700px) { .ruptures-grid, .grid-2.sol-cards-grey { grid-template-columns: 1fr; } }
/* Les ruptures (Enjeux FR) : strate sombre, cartes à filet vert à gauche, numéro + flèche, réponse sous un filet */
.ruptures-strate { --fg-muted: #C3C7E2; }
.ruptures-strate .rupture-card {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border-d);
  padding: 1.25rem 1.4rem 1.1rem;
}
.ruptures-strate .rupture-card::before {
  content: ''; position: absolute; left: -1px; top: 1.1rem; bottom: 1.1rem;
  width: 3px; background: var(--green);
}
.ruptures-strate .ruptures-grid { gap: .9rem; }
.rupture-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.rupture-num { font-family: var(--f-label); font-weight: 700; font-size: .875rem; letter-spacing: .04em; color: var(--green); }
.rupture-arrow { width: 1.3rem; height: 1.3rem; fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: square; }
.ruptures-strate .sol-card h3 { color: var(--white); font-size: 1.375rem; font-weight: 800; line-height: 1.2; letter-spacing: -.03em; margin-bottom: .35rem; }
.ruptures-strate .sol-card > p { font-size: 1.05rem; line-height: 1.5; color: var(--fg-muted); }
.ruptures-strate .sol-card > p.rupture-answer {
  margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--border-d);
  font-family: var(--f-body); font-weight: 700; font-size: .9rem; line-height: 1.4; color: var(--white);
}
.ruptures-strate .sol-card > p:not(.rupture-answer) { margin-bottom: 1rem; }

/* Page Résultats */
.quotes-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 1024px) { .quotes-grid { grid-template-columns: repeat(3, 1fr); } }
.quotes-grid .mission-quote { margin-top: 0; border-radius: var(--radius-card); }
.quotes-source { margin-top: 1.5rem; }

/* À propos : notre histoire */
.story-steps { list-style: none; margin-top: 2.5rem; display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .story-steps { grid-template-columns: repeat(3, 1fr); } }
.story-steps li { border-top: 1px solid var(--border); padding-top: 1.25rem; }
.story-steps p { margin-top: .6rem; }
.home-teaser .lead { margin-top: 1rem; }
/* « Le fan a changé » : texte à gauche, photo à droite collée au bord de l'écran et aux strates voisines */
.home-split { position: relative; padding-top: 0; }
.home-split-media { margin: 0 0 3rem; }
.home-split-media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
@media (min-width: 860px) {
  .home-split { padding-top: 8rem; padding-bottom: 8rem; min-height: 44rem; display: flex; align-items: center; }
  .home-split > .container { width: 100%; }
  .home-split .home-teaser { max-width: calc(50% - 3rem); }
  .home-split-media { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; margin: 0; }
  .home-split-media img { height: 100%; aspect-ratio: auto; object-position: center 45%; }
}

/* « Le fan a changé » (accueil FR) : fond bleu #272C60, texte à gauche, supporters détourés à droite posés sur le bas de la strate */
.home-fan { background: var(--navy); color: var(--white); }
.home-fan { padding-bottom: 0; overflow: hidden; }
.home-fan-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.home-fan .home-teaser { align-self: center; }
.home-fan .lead-w { margin-top: 1rem; }
.home-fan-media { margin: 0 auto; max-width: 22rem; align-self: end; }
.home-fan-media img { display: block; width: 100%; height: auto; }
@media (min-width: 860px) {
  .home-fan { padding-top: 5rem; }
  .home-fan-grid { grid-template-columns: 3fr 2fr; gap: 3rem; }
  .home-fan .home-teaser { padding-bottom: 5rem; }
  .home-fan-media { max-width: 30rem; margin: 0 0 0 auto; }
}

/* ---- ACCUEIL : cartes « Shopify pour le socle » (icône, sous-titre, tags, lien) ---- */
.home-offer-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.home-offer-icon { width: 56px; height: 56px; border-radius: 14px; }
.home-offer .pilier-num { margin: .35rem 0 0; color: var(--fg-muted); }
.home-offer h3 { color: var(--heading); }
.home-offer-sub { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; line-height: 1.35; color: var(--heading); margin-bottom: 1.25rem; }
.home-offer > p:not(.home-offer-sub) { margin-bottom: 1.5rem; }
.home-offer-tags { list-style: none; margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.home-offer-tags li { font-family: var(--f-label); font-size: .8rem; color: var(--fg-muted); border: 1px solid currentColor; border-radius: 999px; padding: .3rem .8rem; }
.home-offer-link {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border);
  font-family: var(--f-display); font-weight: 700; font-size: 1rem;
  color: var(--heading); text-decoration: none;
}
.home-offer-link:hover { color: var(--accent-txt); }
.home-offer-link:focus-visible { outline: 2px solid var(--accent-txt); outline-offset: 4px; }

/* Anciens attributs style des pages, passés en classes (même rendu) */
.muted.small.small--serre{margin-top:.35rem}
.page-head.page-head--court{padding-bottom:3rem}

/* Formulaire HubSpot : hauteur réservée pendant le chargement (pas de saut de page) + indicateur de chargement */
.hs-form-frame{position:relative;min-height:786px}
.hs-form-frame.is-loading::before{content:"";position:absolute;top:96px;left:50%;width:40px;height:40px;margin-left:-20px;border-radius:50%;border:3px solid rgba(39,44,96,.15);border-top-color:var(--green);animation:hs-spin .8s linear infinite}
.hs-form-frame.is-loading iframe{opacity:0}
.hs-form-frame iframe{transition:opacity .3s}
@keyframes hs-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion: reduce){.hs-form-frame.is-loading::before{animation-duration:2.4s}}
@media (min-width: 640px){.hs-form-frame{min-height:696px}}
