/* Social Tech — thème « moderniste » (d'après le prototype de design, haute fidélité).
   Archivo servie en local (licence OFL, voir assets/fonts/OFL.txt). Angles droits partout.
   Marine et indigo dominent ; l'or reste rare (étoile, badge « Nouveau », confirmations). */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-700.woff2") format("woff2"); font-weight: 700 800; font-display: swap; }

:root {
  --nuit: oklch(0.18 0.055 275);
  --marine: oklch(0.22 0.065 275);
  --marine-bas: oklch(0.30 0.10 272);
  --indigo: oklch(0.55 0.19 272);
  --indigo-bouton: oklch(0.60 0.18 272);
  --indigo-texte: oklch(0.48 0.18 272);
  --indigo-clair: oklch(0.78 0.11 272);
  --lav-surface: oklch(0.975 0.012 278);
  --lav-section: oklch(0.965 0.018 278);
  --lav-chip: oklch(0.95 0.03 278);
  --fond: oklch(0.99 0.004 280);
  --texte: var(--marine);
  --texte-2: oklch(0.42 0.05 275);
  --texte-sombre-2: oklch(0.86 0.03 270);
  --filet: oklch(0.92 0.02 275);
  --filet-carte: oklch(0.93 0.015 275);
  --filet-lum: oklch(0.60 0.15 272 / 0.35);
  --or: oklch(0.84 0.14 80);
  --vert: oklch(0.45 0.12 150);
  --ombre: 0 20px 40px -30px oklch(0.40 0.15 272 / 0.5);
  --ombre-lg: 0 30px 60px -30px oklch(0.40 0.15 272 / 0.5);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --pad: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--fond); color: var(--texte);
  font-family: var(--font); font-size: 15px; line-height: 1.55; text-wrap: pretty;
}
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--indigo); }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.12; }
p { margin: 0; }
strong { font-weight: 700; }
button { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--indigo-clair); outline-offset: 2px; }
::selection { background: oklch(0.55 0.19 272 / 0.3); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saut { position: absolute; left: -9999px; top: 0; z-index: 100; }
.saut:focus { left: 16px; top: 12px; padding: 10px 14px; background: var(--fond); color: var(--marine); font-weight: 600; }

.conteneur { max-width: 1240px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.kicker { font-size: 12px; font-weight: 700; line-height: 1.55; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo-texte); }
.accent { color: var(--indigo); }
.sombre .accent { color: var(--indigo-clair); }
.h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.06; letter-spacing: -0.03em; }
.h2-34 { font-size: clamp(30px, 3.4vw, 46px); }
.titre-section { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.onglets-section .titre-section, .documents .titre-section { margin-bottom: 0; }
.engagements-section .titre-section { margin-bottom: 24px; }
.texte-2 { color: var(--texte-2); }
.chapeau { font-size: 17px; line-height: 1.6; color: var(--texte-2); max-width: 48ch; }
.grille-points { background-color: var(--lav-section); background-image: radial-gradient(oklch(0.55 0.19 272 / 0.14) 1px, transparent 1px); background-size: 22px 22px; }
.fleche { display: inline-block; transition: transform .35s var(--ease); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn-lumineux { padding: 15px 22px; border: 0; background: var(--indigo-bouton); color: var(--fond); box-shadow: 0 10px 30px -10px oklch(0.55 0.19 272 / 0.8); }
.btn-lumineux:hover { background: var(--indigo); color: var(--fond); }
.btn-contour-sombre { padding: 14px 21px; border-color: oklch(0.60 0.15 272 / 0.5); color: var(--fond); }
.btn-contour-sombre:hover { border-color: var(--indigo-clair); color: var(--fond); }
.btn-marine { padding: 14px 20px; border: 0; background: var(--marine); color: var(--fond); }
.btn-marine:hover { background: oklch(0.30 0.08 275); color: var(--fond); }
.btn-contour { padding: 13px 19px; border-color: oklch(0.80 0.05 275); background: var(--fond); }
.btn-contour:hover { border-color: var(--indigo); }
.btn-indigo { padding: 14px 18px; background: var(--indigo); color: var(--fond); border: 0; text-align: left; }
.btn-indigo:hover { background: var(--indigo-texte); color: var(--fond); }
.boutons { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Tuile icône, cartes, pastilles ---------- */
.tuile { width: 44px; height: 44px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--lav-chip); color: var(--indigo); }
.carte { background: var(--fond); border: 1px solid var(--filet-carte); box-shadow: var(--ombre); padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.carte-lien { transition: border-color .2s; }
.carte-lien:hover { border-color: var(--indigo-clair); color: var(--texte); }
.carte strong { font-size: 20px; }
.carte .desc { font-size: 15.5px; line-height: 1.6; color: var(--texte-2); }
.carte-filet { border-top: 2px solid var(--indigo); }
.puce { align-self: flex-start; font-size: 12px; font-weight: 700; padding: 4px 8px; background: var(--lav-chip); color: oklch(0.42 0.16 272); }
.lien-carte { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--indigo-texte); }
.grille { display: grid; gap: 20px; }
.grille-280 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grille-300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grille-320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grille-340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.deux-colonnes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px 64px; align-items: center; }
.colonne-texte { display: flex; flex-direction: column; gap: 18px; }
.coches { display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; margin: 0; padding: 0; list-style: none; }
.coches li { display: flex; gap: 10px; align-items: flex-start; }
.coches .icone { flex-shrink: 0; margin-top: 2px; color: var(--indigo); stroke-width: 2.2; }

/* ---------- Fonds sombres : halo et grain ---------- */
.sombre { position: relative; overflow: hidden; color: var(--fond); }
.halo { position: absolute; pointer-events: none; }
.grain { position: absolute; inset: 0; opacity: 0.06; background-image: var(--grain); pointer-events: none; }
.filet-lumineux { position: relative; height: 1px; background: linear-gradient(90deg, transparent, oklch(0.70 0.15 272 / 0.8), transparent); }

/* ---------- En-tête (verre dépoli) ---------- */
.entete {
  position: sticky; top: 0; z-index: 30;
  background: oklch(0.20 0.06 275 / 0.78);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  color: var(--fond); border-bottom: 1px solid var(--filet-lum);
}
.entete-in { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: stretch; gap: 24px; height: 66px; }
.marque { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; white-space: nowrap; }
.marque:hover { color: var(--fond); }
.nav { display: flex; align-items: stretch; gap: 2px; }
.nav-lien { display: flex; align-items: center; gap: 4px; padding: 0 12px; font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--texte-sombre-2); }
.nav-lien:hover { color: var(--fond); }
.nav-lien.actif, .nav-lien[aria-current="page"] { color: var(--fond); box-shadow: inset 0 -2px 0 var(--indigo-clair); }
.entete-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.connexion { padding: 9px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; color: oklch(0.90 0.03 270); }
.connexion:hover { color: var(--fond); }
.btn-blanc { background: var(--fond); color: var(--marine); padding: 10px 16px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.btn-blanc:hover { background: oklch(0.90 0.05 275); color: var(--marine); }
.btn-blanc .court { display: none; }
.bouton-menu { display: none; font-weight: 600; font-size: 14px; background: transparent; color: var(--fond); border: 1px solid oklch(0.60 0.15 272 / 0.6); padding: 9px 14px; cursor: pointer; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--fond); color: var(--marine); border-bottom: 1px solid oklch(0.90 0.02 275); box-shadow: 0 30px 60px -30px oklch(0.40 0.15 272 / 0.35); }
.mega.est-ouvert { display: block; }
.mega-in { max-width: 1240px; margin: 0 auto; padding: 24px var(--pad); display: grid; grid-template-columns: 1fr 1fr 0.8fr; gap: 16px; }
.mega-carte { padding: 22px; background: var(--lav-surface); display: flex; flex-direction: column; gap: 8px; }
.mega-carte:hover { background: var(--lav-chip); color: var(--marine); }
.mega-titre { display: flex; align-items: center; gap: 10px; }
.mega-titre strong { font-size: 20px; }
.mega-texte { font-size: 14px; line-height: 1.5; color: var(--texte-2); }
.badge-dispo { font-size: 11px; font-weight: 700; padding: 2px 6px; background: oklch(0.93 0.04 278); color: oklch(0.45 0.18 272); }
.badge-bientot { font-size: 11px; font-weight: 700; padding: 2px 6px; background: oklch(0.94 0.06 85); color: oklch(0.42 0.10 70); }
.mega-liens { padding: 22px 0 22px 12px; display: flex; flex-direction: column; gap: 12px; font-weight: 600; font-size: 15px; }

.menu-mobile { display: none; position: absolute; left: 0; right: 0; top: 100%; background: oklch(0.20 0.06 275 / 0.96); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding: 8px var(--pad) 20px; flex-direction: column; }
.menu-mobile.est-ouvert { display: flex; }
.menu-mobile a { padding: 14px 0; border-bottom: 1px solid oklch(0.60 0.15 272 / 0.3); font-weight: 600; font-size: 17px; }
.menu-mobile a:hover, .menu-mobile a[aria-current="page"] { color: var(--indigo-clair); }

@media (max-width: 1099px) {
  .connexion { display: none; }
  .btn-blanc .long { display: none; }
  .btn-blanc .court { display: inline; }
}
@media (max-width: 859px) {
  .nav { display: none; }
  .bouton-menu { display: inline-flex; }
  html:not(.js) .bouton-menu { display: none; }
  html:not(.js) .menu-mobile { display: flex; position: static; }
  html:not(.js) .entete-in { height: auto; min-height: 66px; flex-wrap: wrap; }
}
@media (max-width: 359px) {
  .entete-in { gap: 10px; }
  .marque { font-size: 16px; gap: 8px; }
  .btn-blanc, .bouton-menu { padding: 9px 10px; }
  .public-tete h2 { min-width: 0; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; }
}

/* ---------- Accueil : bandeau sombre et constellation ---------- */
.hero-accueil { margin-top: -66px; padding-top: 66px; background: linear-gradient(180deg, var(--nuit) 0%, var(--marine) 55%, var(--marine-bas) 100%); }
.halo-accueil { right: -10%; top: 30%; width: 80%; height: 90%; background: radial-gradient(closest-side, oklch(0.55 0.19 272 / 0.5), transparent); }
.hero-contenu { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 88px var(--pad) 0; display: flex; flex-direction: column; gap: 24px; }
.badge-nouveau { align-self: flex-start; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; padding: 6px 12px 6px 6px; border: 1px solid oklch(0.60 0.15 272 / 0.45); background: oklch(0.99 0.004 280 / 0.04); white-space: nowrap; max-width: 100%; }
.badge-nouveau:hover { color: var(--fond); border-color: var(--indigo-clair); }
.badge-nouveau .or { background: var(--or); color: oklch(0.20 0.06 275); padding: 2px 8px; font-weight: 700; }
.h1-accueil { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.03; letter-spacing: -0.04em; max-width: 16ch; }
.hero-sous { font-size: 19px; line-height: 1.6; max-width: 52ch; color: var(--texte-sombre-2); }
.garanties { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--texte-sombre-2); margin: 0; padding: 0; list-style: none; }
.garanties li { display: flex; align-items: center; gap: 6px; }
.garanties .icone { color: var(--indigo-clair); stroke-width: 2; }
.hero-espace { height: 150px; }
@media (max-width: 479px) { .badge-nouveau { white-space: normal; } }

.ciel { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.couche-2 { transform: translate3d(calc(var(--mx, 0) * 2px), calc(var(--my, 0) * 2px), 0); transition: transform 1.6s var(--ease); }
.couche-1 { transform: translate3d(calc(var(--mx, 0) * 1px), calc(var(--my, 0) * 1px), 0); transition: transform 1.6s var(--ease); }
.nebuleuses { position: absolute; inset: 0; }
.nebuleuse { position: absolute; }
.neb-1 { left: 48%; top: 8%; width: 620px; height: 460px; background: radial-gradient(closest-side, oklch(0.50 0.17 285 / 0.35), transparent); filter: blur(20px); }
.neb-2 { left: 62%; top: 38%; width: 700px; height: 520px; background: radial-gradient(closest-side, oklch(0.55 0.19 265 / 0.40), transparent); filter: blur(24px); }
.neb-3 { left: 38%; top: 55%; width: 520px; height: 380px; background: radial-gradient(closest-side, oklch(0.45 0.14 300 / 0.25), transparent); filter: blur(24px); }
.champ { position: absolute; inset: 0; width: 100%; height: 100%; fill: oklch(0.98 0.01 270); }
.champ .tw { animation: st-twinkle 4s ease-in-out infinite; }
.champ .d1 { animation-delay: 1s; } .champ .d2 { animation-delay: 2s; } .champ .d3 { animation-delay: 3s; } .champ .d4 { animation-delay: 4s; } .champ .d5 { animation-delay: 5s; }
.champ .u3 { animation-duration: 3.5s; } .champ .u4 { animation-duration: 4.5s; } .champ .u5 { animation-duration: 5.5s; } .champ .u6 { animation-duration: 6.5s; }

/* Placement en CSS pur : toujours à droite de la colonne de texte, taille selon la place restante */
.constellation {
  /* Les % se rapportent à la largeur utile du bandeau (barre de défilement exclue), comme dans le prototype */
  --taille-titre: clamp(42px, 5.6%, 76px);
  --marge: clamp(20px, 4%, 48px);
  --fin-titre: calc(max(0px, (100% - 1240px) / 2) + var(--marge) + max(var(--taille-titre) * 9.3, 510px));
  --taille: clamp(380px, (100% - var(--fin-titre) - 46px) * 1.3333, 820px);
  position: absolute; top: 40px; left: calc(var(--fin-titre) + 30px - var(--taille) * 0.1667);
  width: var(--taille); aspect-ratio: 1;
  transform: translate3d(calc(var(--mx, 0) * 4px), calc(var(--my, 0) * 4px), 0); transition: transform 1.6s var(--ease);
}
.constellation svg { width: 100%; height: 100%; overflow: visible; }
.const-trait { fill: none; stroke: oklch(0.75 0.12 272 / 0.4); stroke-width: 0.08; stroke-dasharray: 1; stroke-dashoffset: 1; animation: st-draw 2.4s ease-out .4s forwards; }
.etoile { opacity: 0; animation: st-on .7s var(--ease) forwards; }
.etoile-point { fill: oklch(0.98 0.01 270); animation: st-twinkle 3.5s ease-in-out 2.2s infinite; }
.etoile-nom { font-size: 0.95px; font-weight: 600; fill: oklch(0.82 0.08 272); letter-spacing: 0.02em; }
.e0 { transform-origin: 8px 14px; animation-delay: .25s; }
.e1 { transform-origin: 19px 9px; animation-delay: .45s; }
.e2 { transform-origin: 28px 16px; animation-delay: .65s; }
.e3 { transform-origin: 35px 24px; animation-delay: .85s; }
.e4 { transform-origin: 13px 32px; animation-delay: 1.05s; }
.e5 { transform-origin: 31px 39px; animation-delay: 1.25s; }
.e1 .etoile-point { animation-duration: 4.1s; animation-delay: 2.5s; }
.e2 .etoile-point { animation-duration: 4.7s; animation-delay: 2.8s; }
.e3 .etoile-point { animation-duration: 5.3s; animation-delay: 3.1s; }
.e4 .etoile-point { animation-duration: 5.9s; animation-delay: 3.4s; }
.e5 .etoile-point { animation-duration: 6.5s; animation-delay: 3.7s; }
.etoile-centrale { opacity: 0; transform-origin: 23px 27px; animation: st-on .9s var(--ease) 1.6s forwards; }
.halo-central { animation: st-glow 3.6s ease-in-out 2.5s infinite; }
.nom-personne { font-size: 1.05px; font-weight: 700; fill: oklch(0.86 0.14 82); }
.rayon-lumiere { position: absolute; left: 47.92%; top: calc(56.25% + 26px); width: 1px; height: 800px; background: linear-gradient(180deg, oklch(0.86 0.14 82 / 0.7), oklch(0.70 0.15 272 / 0.25) 40%, transparent); opacity: 0; animation: st-on 1.2s ease-out 2.4s forwards; }
@media (max-width: 859px) {
  .constellation { --taille: min(560px, 110%); left: 10%; top: 80px; opacity: 0.35; }
  .etoile-nom, .nom-personne, .rayon-lumiere { display: none; }
}

/* Trois cartes produit qui chevauchent le bas du bandeau */
.cartes-produits { background: linear-gradient(180deg, var(--marine-bas) 0 110px, transparent 110px); }
.grille-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 0; box-shadow: 0 40px 80px -40px oklch(0.30 0.12 272 / 0.6); border: 1px solid oklch(0.90 0.03 275); }
@media (max-width: 859px) { .grille-cartes { grid-template-columns: 1fr; } }
.carte-produit {
  --c: var(--marine); position: relative; overflow: hidden; isolation: isolate; min-height: 480px; padding: 36px 32px;
  display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 18px; align-content: start;
  background: var(--c); color: oklch(0.98 0.008 280);
}
.carte-produit + .carte-produit { border-left: 1px solid oklch(1 0 0 / 0.08); }
@media (max-width: 859px) { .carte-produit + .carte-produit { border-left: 0; border-top: 1px solid oklch(1 0 0 / 0.08); } }
.carte-produit:hover { color: oklch(0.98 0.008 280); }
.carte-produit img { position: absolute; z-index: -2; left: 0; right: 0; bottom: 0; width: 100%; height: 72%; object-fit: cover; object-position: 50% 55%; transform-origin: 50% 70%; transition: transform .9s var(--ease), filter .6s; }
.carte-produit:hover img { transform: scale(1.06); filter: saturate(1.1) brightness(1.05); }
.carte-produit::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, var(--c) 0%, var(--c) 34%, transparent 72%); pointer-events: none; }
.carte-produit::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.08); pointer-events: none; }
.cp-pleiades { --c: oklch(0.24 0.07 278); }
.cp-astrea { --c: oklch(0.21 0.07 268); }
.cp-securite { --c: oklch(0.19 0.055 272); }
.cp-etiquette { justify-self: start; align-self: start; font-size: 13px; font-weight: 600; padding: 5px 10px; }
.cp-pleiades .cp-etiquette { background: oklch(0.99 0.004 280 / 0.12); color: oklch(0.98 0.008 280); }
.cp-astrea .cp-etiquette { background: var(--or); color: var(--marine); }
.cp-securite .cp-etiquette { background: oklch(0.45 0.16 272); color: var(--fond); }
.cp-titre { font-size: 26px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; max-width: 18ch; }
.cp-lien { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.cp-pleiades .cp-lien { color: oklch(0.82 0.10 285); }
.cp-astrea .cp-lien { color: oklch(0.86 0.13 82); }
.cp-securite .cp-lien { color: oklch(0.80 0.10 272); }
.carte-produit:hover .fleche { transform: translateX(6px); }
.cp-espace { height: 240px; }

/* Ils nous font confiance : logos qui défilent */
.confiance-bande { padding: 64px 0 72px; display: flex; flex-direction: column; gap: 24px; }
.confiance-entete { width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.confiance-entete a { font-size: 14px; font-weight: 600; color: var(--indigo-texte); white-space: nowrap; }
.defilement { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.piste { display: flex; width: max-content; animation: st-marquee 40s linear infinite; }
.defilement:hover .piste, .defilement:focus-within .piste { animation-play-state: paused; }
.logo-client { flex: 0 0 auto; width: 220px; height: 96px; margin: 0 12px; display: flex; align-items: center; justify-content: center; transition: background-color .3s, box-shadow .3s; }
.logo-client img { max-height: 64px; max-width: 170px; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: 0.6; mix-blend-mode: multiply; transition: filter .35s, opacity .35s; }
.logo-client:hover, .logo-client:focus-visible { background: oklch(0.995 0.003 280); box-shadow: 0 16px 40px -20px oklch(0.40 0.15 272 / 0.5); }
.logo-client:hover img, .logo-client:focus-visible img { filter: none; opacity: 1; }

/* Relier, alléger, protéger */
.verbes { padding-top: 24px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.verbe { background: var(--lav-surface); padding: 28px; display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--indigo); }
.verbe strong { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.verbe span { font-size: 15.5px; line-height: 1.6; color: var(--texte-2); }
.verbes-grands { padding-top: 0; padding-bottom: 72px; }
.verbes-grands .verbe strong { font-size: 32px; letter-spacing: -0.03em; font-weight: 700; }

/* Carte de la Wallonie (accueil, À propos) — les couleurs sont dans le SVG, seuls les libellés grossissent sur téléphone */
.bande-lavande { background: var(--lav-section); }
.accompagnement { padding-top: 96px; padding-bottom: 96px; gap: 48px 72px; }
.carte-terrain { overflow: hidden; aspect-ratio: 4 / 3; background: var(--marine); box-shadow: var(--ombre-lg); }
.carte-terrain svg { display: block; width: 100%; height: 100%; }
@media (max-width: 600px) {
  .carte-terrain .cw-nom { font-size: 28px; stroke-width: 5px; }
  .carte-terrain .cw-legende text { font-size: 22px; }
  .carte-terrain .cw-surtitre { font-size: 19px; }
}

/* Comment ça se passe */
.etapes-section { padding-top: 16px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 36px; }
.etapes-entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; }
.etapes-entete .titre-section { margin-bottom: 0; }
.etapes { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.etapes::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 1px; background: linear-gradient(90deg, var(--indigo), oklch(0.80 0.10 272), oklch(0.55 0.19 272 / 0.2)); }
.etape { position: relative; display: flex; flex-direction: column; gap: 14px; }
.etape-num { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--indigo); color: var(--fond); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 6px var(--fond), 0 10px 30px -8px oklch(0.55 0.19 272 / 0.7); }
.etape-corps { background: var(--fond); border: 1px solid var(--filet-carte); box-shadow: var(--ombre); padding: 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.etape-corps strong { font-size: 21px; letter-spacing: -0.01em; }
.etape-corps span { font-size: 15.5px; line-height: 1.6; color: var(--texte-2); }

/* ---------- En-tête des pages intérieures ---------- */
.hero-page { margin-top: -66px; padding-top: 66px; background: linear-gradient(180deg, var(--nuit) 0%, oklch(0.24 0.08 273) 100%); }
.halo-page { right: -10%; top: 10%; width: 60%; height: 140%; background: radial-gradient(closest-side, oklch(0.55 0.19 272 / 0.45), transparent); }
.hero-page-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 72px var(--pad); display: flex; flex-direction: column; gap: 18px; }
.fil { font-size: 13px; color: oklch(0.80 0.05 272); }
.fil a:hover { color: var(--fond); }
.h1-page { font-size: clamp(40px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -0.04em; max-width: 18ch; }
.hero-page .hero-sous { max-width: 54ch; }

.section-page { padding-top: 72px; padding-bottom: 96px; }
.section-72 { padding-top: 72px; padding-bottom: 72px; }

/* ---------- Nos logiciels ---------- */
.logiciels-page { display: flex; flex-direction: column; gap: 56px; }
.grille-logiciels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 20px; }
.carte-logiciel { position: relative; overflow: hidden; padding: 36px; display: flex; flex-direction: column; gap: 16px; min-height: 280px; }
.carte-logiciel strong { position: relative; font-size: 44px; font-weight: 700; letter-spacing: -0.035em; }
.carte-logiciel .desc { position: relative; font-size: 17px; line-height: 1.55; }
.carte-logiciel .suite { position: relative; margin-top: auto; font-weight: 600; }
.cl-sombre { background: var(--marine); color: var(--fond); }
.cl-sombre:hover { color: var(--fond); }
.cl-sombre .desc { color: var(--texte-sombre-2); }
.cl-sombre .suite { color: var(--indigo-clair); }
.cl-sombre .halo { right: -80px; bottom: -80px; width: 360px; height: 360px; background: radial-gradient(closest-side, oklch(0.55 0.19 272 / 0.55), transparent); }
.cl-clair { border: 1px solid oklch(0.90 0.03 275); }
.cl-clair:hover { color: var(--texte); border-color: var(--indigo-clair); }
.cl-clair .desc { color: var(--texte-2); }
.cl-clair .suite { color: var(--indigo-texte); }
.carte-logiciel:hover .fleche { transform: translateX(6px); }
.h2-simple { font-size: 36px; letter-spacing: -0.03em; margin-bottom: 20px; }
.tableau { width: 100%; border-collapse: collapse; border: 1px solid oklch(0.90 0.02 275); font-size: 15px; }
.tableau th, .tableau td { padding: 14px 20px; text-align: left; }
.tableau thead th { background: var(--lav-section); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--texte-2); }
.tableau tbody tr { border-top: 1px solid var(--filet); }
.tableau tbody th { font-weight: 700; }
.tableau-defile { overflow-x: auto; }

/* ---------- Pléiades ---------- */
.visuel-lavande { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(180deg, oklch(0.97 0.012 278), oklch(0.92 0.05 278)); }
.visuel-lavande img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); mix-blend-mode: multiply; }
.modules-section { padding-bottom: 88px; }
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.module { padding: 22px; background: var(--lav-surface); display: flex; flex-direction: column; gap: 14px; border: 1px solid transparent; min-height: 170px; transition: border-color .2s, background-color .2s; }
.module:hover { border-color: var(--indigo-clair); background: var(--fond); color: var(--texte); }
.module .tuile { background: var(--fond); }
.module strong { font-size: 19px; }
.module span.desc { font-size: 14.5px; line-height: 1.55; color: var(--texte-2); }
.onglets-section .conteneur { padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 28px; }
.onglets-liste { display: flex; flex-wrap: wrap; border-bottom: 1px solid oklch(0.86 0.04 275); }
.onglet { font-size: 14px; font-weight: 600; padding: 12px 18px; cursor: pointer; white-space: nowrap; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: transparent; color: var(--texte-2); }
.onglet[aria-selected="true"] { border-bottom-color: var(--indigo); background: var(--fond); color: var(--texte); }
.onglet:hover { color: var(--texte); }
.panneau { background: var(--fond); border: 1px solid var(--filet-carte); border-top: 0; box-shadow: var(--ombre); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.panneau[hidden] { display: none; }
.panneau-texte { padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.panneau-texte strong { font-size: 26px; line-height: 1.2; letter-spacing: -0.02em; }
.panneau-texte .desc { font-size: 16px; line-height: 1.6; color: var(--texte-2); }
.panneau-liste { padding: 32px; background: var(--lav-surface); display: flex; flex-direction: column; gap: 10px; }
.panneau-liste .petit-titre { font-size: 13px; font-weight: 700; color: var(--texte-2); }
.panneau-liste ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.panneau-liste li { display: flex; gap: 10px; padding: 12px 14px; background: var(--fond); font-size: 15px; }
.panneau-liste li::before { content: ""; width: 6px; height: 6px; margin-top: 8px; background: var(--indigo); flex-shrink: 0; }
.fonctionnalites { padding-top: 88px; padding-bottom: 96px; }
.fonctionnalites strong { font-size: 21px; }

/* ---------- Astrea ---------- */
.astrea-grille { padding-top: 72px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 48px; align-items: start; }
.astrea-texte { font-size: 19px; line-height: 1.6; max-width: 46ch; }
.formulaire { background: var(--fond); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--ombre-lg); }
.formulaire-titre { font-size: 22px; font-weight: 700; }
.confirmation { background: var(--marine); color: var(--fond); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.confirmation .or-titre { font-size: 12px; font-weight: 700; color: var(--or); letter-spacing: 0.04em; }
.confirmation strong { font-size: 22px; }
.confirmation-grande { padding: 32px; gap: 12px; }
.confirmation-grande strong { font-size: 26px; }

/* ---------- Formulaires ---------- */
.champ-form > label, .champ-form > .etiquette { display: block; font-size: 12px; margin-bottom: 5px; color: var(--texte-2); }
.champ-form .requis { color: var(--indigo-texte); }
.saisie { width: 100%; min-height: 36px; padding: 6px 10px; font: inherit; font-size: 14px; color: var(--texte); caret-color: var(--indigo); background: var(--lav-surface); border: 1px solid oklch(0.85 0.03 275); border-radius: 0; }
.saisie:hover { border-color: oklch(0.70 0.06 275); }
.saisie:focus-visible { border-color: var(--indigo); outline: 2px solid oklch(0.55 0.19 272 / 0.25); outline-offset: 0; background: var(--fond); }
.saisie[aria-invalid="true"] { border-color: oklch(0.50 0.15 30); }
textarea.saisie { min-height: 90px; resize: vertical; }
/* Sur téléphone : 16 px au moins, sinon Safari agrandit la page à chaque saisie */
@media (max-width: 859px) { .saisie { font-size: 16px; min-height: 44px; } }
.erreur { margin-top: 6px; font-size: 13px; font-weight: 600; color: oklch(0.48 0.15 30); }
.erreur-formulaire { padding: 12px 14px; background: oklch(0.96 0.03 30); color: oklch(0.42 0.13 30); font-weight: 600; font-size: 14px; }
.champ-sujet { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg { display: inline-flex; flex-wrap: wrap; border: 1px solid oklch(0.85 0.03 275); margin: 0; padding: 0; }
.seg legend { padding: 0; }
.seg-opt { position: relative; display: inline-flex; align-items: center; padding: 7px 12px; font-size: 13px; cursor: pointer; background: var(--fond); }
.seg-opt + .seg-opt { border-left: 1px solid oklch(0.85 0.03 275); }
.seg-opt input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.seg-opt:has(input:checked) { background: var(--marine); color: var(--fond); }
.seg-opt:not(:has(input:checked)):hover { background: var(--lav-surface); }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--indigo); outline-offset: -2px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mention-rgpd { font-size: 12.5px; line-height: 1.5; color: var(--texte-2); }
.mention-rgpd a { color: var(--indigo-texte); text-decoration: underline; }

/* ---------- Pour qui ---------- */
.public-tete { display: flex; align-items: center; gap: 14px; }
.public-tete h2 { font-size: inherit; font-weight: inherit; line-height: 1.55; }
.carte-public { gap: 14px; }
.garanties-section { padding-bottom: 72px; }
.engagements-section { padding-top: 72px; padding-bottom: 56px; }
.temoignage { margin: 0; }
.public-tete strong { font-size: 22px; letter-spacing: -0.02em; }
.public-pied { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--filet-carte); }
.public-pied a { font-weight: 600; font-size: 14px; color: var(--indigo-texte); white-space: nowrap; }

/* ---------- Sécurité ---------- */
.visuel-sombre { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--nuit); }
.visuel-sombre img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.tuiles-liens { padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.tuile-lien { padding: 24px; background: var(--lav-section); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; transition: background-color .2s; }
.tuile-lien:hover { background: var(--lav-chip); color: var(--texte); }
.tuile-lien-sombre { background: var(--marine); color: var(--fond); }
.tuile-lien-sombre:hover { background: oklch(0.28 0.08 275); color: var(--fond); }

/* ---------- Centre de confiance ---------- */
.engagements { border: 1px solid oklch(0.90 0.02 275); margin: 0; padding: 0; list-style: none; }
.engagement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 16px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--filet-carte); background: var(--fond); }
.engagement:last-child { border-bottom: 0; }
.engagement strong { font-size: 16px; }
.engagement span.val { font-size: 15px; color: var(--texte-2); }
.en-place { font-size: 12px; font-weight: 700; padding: 4px 8px; background: oklch(0.94 0.05 150); color: oklch(0.40 0.10 150); white-space: nowrap; }
@media (max-width: 599px) { .engagement { grid-template-columns: 1fr; gap: 6px; } .en-place { justify-self: start; } }
.documents .conteneur { padding-top: 72px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 24px; }
.document { min-height: 150px; gap: 10px; padding: 24px; }
.document strong { font-size: 18px; }

/* ---------- Témoignages ---------- */
.temoignage { gap: 18px; }
.temoignage-logo { height: 56px; display: flex; align-items: center; }
.temoignage-logo img { max-height: 56px; max-width: 150px; object-fit: contain; mix-blend-mode: multiply; }
.citation-a-recueillir { border: 1px dashed oklch(0.78 0.08 275); background: var(--lav-surface); padding: 18px; font-size: 15px; line-height: 1.55; color: var(--texte-2); font-style: italic; margin: 0; }
.temoignage-signature { margin-top: auto; }
.temoignage-signature strong { font-size: 15px; }
.temoignage-signature span { display: block; font-size: 13px; color: var(--texte-2); }

/* ---------- Ressources ---------- */
.ressource { min-height: 200px; }
.ressource strong { font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.ressource .desc { font-size: 15px; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px 64px; align-items: start; }
.faq-grille .faq-liste { grid-column: span 2; }
@media (max-width: 859px) { .faq-grille { grid-template-columns: 1fr; } .faq-grille .faq-liste { grid-column: auto; } }
.faq-intro { display: flex; flex-direction: column; gap: 16px; }
.faq-liste { border-top: 1px solid oklch(0.88 0.03 275); }
.faq-item { border-bottom: 1px solid oklch(0.88 0.03 275); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; color: var(--texte); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary strong { font-size: 18px; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--indigo); flex-shrink: 0; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--texte-2); max-width: 64ch; }

/* ---------- À propos ---------- */
.histoire { padding-top: 72px; padding-bottom: 72px; gap: 48px 72px; }
.grand-texte { font-size: 19px; line-height: 1.6; }
.partenaires .conteneur { padding-top: 56px; padding-bottom: 96px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px 56px; }
.liste-partenaires { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.liste-partenaires a { padding: 14px 0; border-bottom: 1px solid oklch(0.88 0.03 275); font-weight: 600; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.h2-partenaires { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.03em; }

/* ---------- Contact ---------- */
.contact-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr)); gap: 56px; align-items: start; }
.liens-rapides { display: flex; flex-direction: column; gap: 12px; }
.lien-rapide { padding: 18px 20px; background: var(--lav-surface); font-weight: 600; display: flex; justify-content: space-between; gap: 12px; transition: background-color .2s; }
.lien-rapide:hover { background: var(--lav-chip); color: var(--texte); }
.formulaire-contact { gap: 18px; padding: 32px; border: 1px solid var(--filet-carte); }
.btn-retour { align-self: flex-start; font-weight: 600; background: transparent; color: var(--fond); border: 1px solid oklch(0.60 0.15 272 / 0.6); padding: 10px 14px; }
.btn-retour:hover { color: var(--fond); border-color: var(--indigo-clair); }

/* ---------- Pages légales ---------- */
.prose { max-width: 780px; font-size: 16px; line-height: 1.65; }
.prose h2 { font-size: 24px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--indigo-texte); text-decoration: underline; }

/* ---------- Bandeau final ---------- */
.cta-final { background: linear-gradient(180deg, var(--marine), var(--nuit)); }
.halo-cta { left: 20%; top: -60%; width: 60%; height: 160%; background: radial-gradient(closest-side, oklch(0.55 0.19 272 / 0.4), transparent); }
.cta-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 80px var(--pad); display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.cta-texte { position: relative; display: flex; flex-direction: column; gap: 16px; }
.h2-cta { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -0.04em; max-width: 16ch; }
.cta-sous { font-size: 18px; line-height: 1.55; color: var(--texte-sombre-2); max-width: 44ch; }
.cta-in .btn-lumineux { position: relative; }
.cta-etoiles { display: none; position: absolute; left: calc(var(--pad) + 520px); top: 50%; width: min(340px, 100% - 2 * var(--pad) - 760px); aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; opacity: 0.9; }
@media (min-width: 1100px) { .cta-etoiles { display: block; } }
.cta-etoiles svg { width: 100%; height: 100%; overflow: visible; }
.cta-etoiles .const-trait { stroke: oklch(0.75 0.12 272 / 0.45); stroke-width: 0.12; animation: none; }
.cta-etoiles .ce { opacity: 0; transform-box: fill-box; transform-origin: center; }
.cta-etoiles.est-vue .const-trait { animation: st-draw 2s ease-out .2s forwards; }
.cta-etoiles.est-vue .ce { animation: st-on .7s var(--ease) forwards; }
.cta-etoiles .c0 { animation-delay: .2s; } .cta-etoiles .c1 { animation-delay: .38s; } .cta-etoiles .c2 { animation-delay: .56s; }
.cta-etoiles .c3 { animation-delay: .74s; } .cta-etoiles .c4 { animation-delay: .92s; } .cta-etoiles .c5 { animation-delay: 1.1s; }
.cta-etoiles .c6 { animation-delay: 1.4s; }

/* ---------- Pied de page ---------- */
.pied { background: var(--nuit); color: var(--fond); }
.pied-in { max-width: 1240px; margin: 0 auto; padding: 56px var(--pad) 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 32px; font-size: 14px; }
.pied-col { display: flex; flex-direction: column; gap: 8px; }
.pied-marque { gap: 12px; }
.pied-marque .marque-ligne { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; white-space: nowrap; }
.pied-marque span.texte { color: oklch(0.80 0.03 270); line-height: 1.5; }
.pied-titre { font-size: 12px; font-weight: 700; line-height: 1.55; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo-clair); margin: 0 0 2px; }
.pied a:hover { color: var(--indigo-clair); }
.pied-bas { grid-column: 1 / -1; border-top: 1px solid oklch(0.60 0.15 272 / 0.3); padding-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: oklch(0.80 0.03 270); }
.pied-bas nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Maquette : passages encore à valider ---------- */
.a-valider { padding: 0 .15em; background: #fff2a8; color: #3a3000; outline: 1px dashed #b89500; outline-offset: 1px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.maquette-badge { position: fixed; right: 16px; bottom: 16px; z-index: 60; margin: 0; padding: 8px 14px; background: #fff2a8; color: #3a3000; border: 1px dashed #b89500; font-size: 13px; font-weight: 600; }

/* ---------- Animations ---------- */
@keyframes st-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes st-draw { to { stroke-dashoffset: 0; } }
@keyframes st-on { from { opacity: 0; transform: scale(0.4); } to { opacity: 1; transform: scale(1); } }
@keyframes st-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes st-glow { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Mouvement réduit : les animations se terminent aussitôt (les éléments apparaissent, rien ne bouge) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
