:root{
  --noir:#18191b;--blanc:#fff;--gris:#f0f0f2;--gris-2:#e6e7eb;--gris-3:#b5b7c0;--jaune:#f8ff07;
  --encre-2:#4d4f57;--encre-3:#7a7d86;--carte-sombre:#232427;
  --titre:"MD Nichrome","Satoshi",sans-serif;--sans:"Satoshi",sans-serif;--mono:"JetBrains Mono",monospace;
}

.he-page{padding:0 16px;font-family:var(--sans);font-size:16px;line-height:normal;color:var(--noir)}
.he-page img{display:block;max-width:100%}

.he-carre{width:8px;height:8px;background:var(--jaune);display:inline-block;flex:none}
.he-kicker{display:flex;align-items:center;gap:8px;margin:0 0 24px;font-family:var(--mono);font-size:14px;text-transform:none}

/* les en-têtes de section, centrés */
.he-tete{text-align:center;margin:0 auto 48px;max-width:900px}
.he-tete .he-kicker{justify-content:center;margin-bottom:14px}
.he-h2{font-family:var(--titre);font-weight:500;font-size:56px;line-height:62px;margin:0}
.he-h2.sans{font-family:var(--sans);font-weight:900;letter-spacing:-1px}
.he-chapeau{font-size:18px;line-height:28px;color:var(--encre-2);margin:18px auto 0;max-width:720px}

/* ---------------------------------------------------------------------------------------------
   Deux façons de travailler avec nous
   --------------------------------------------------------------------------------------------- */
.he-facons{padding:88px 0 40px}
.he-facons .he-tete{max-width:1120px}
.he-deux{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:1280px;margin:0 auto}
.he-facon{border-radius:40px;padding:44px 40px 40px;position:relative;overflow:hidden;display:flex;flex-direction:column}
.he-facon.conseil{background:var(--noir);color:#fff}
.he-facon.assistance{background:var(--gris);color:var(--noir)}
.he-facon-kicker{font-family:var(--mono);font-size:13px;letter-spacing:.06em;display:flex;align-items:center;gap:8px;margin:0 0 18px}
.he-facon.conseil .he-facon-kicker{color:var(--jaune)}
.he-facon-titre{font-family:var(--titre);font-weight:500;font-size:52px;line-height:56px;margin:0 0 6px}
.he-facon-titre.sans{font-family:var(--sans);font-weight:900;font-size:46px;line-height:52px;letter-spacing:-1px}
.he-facon-verbe{font-size:22px;font-weight:700;margin:0 0 14px}
.he-facon.conseil .he-facon-verbe{color:var(--jaune)}
.he-facon-phrase{font-size:17px;line-height:27px;margin:0 0 28px;max-width:520px}
.he-facon.conseil .he-facon-phrase{color:#c9cad0}
.he-facon .he-topo{position:absolute;right:-60px;top:-40px;width:420px;opacity:.5;pointer-events:none}

/* les cartes d'un panneau */
.he-carte{border-radius:24px;padding:24px;position:relative}
.he-facon.conseil .he-carte{background:var(--carte-sombre);border:1px solid rgba(255,255,255,.07)}
.he-facon.assistance .he-carte{background:#fff}
.he-carte h3{font-size:24px;line-height:30px;font-weight:700;margin:0 0 8px}
.he-carte p{font-size:15px;line-height:23px;margin:0;color:inherit;opacity:.82}
.he-carte .he-etiquette{position:absolute;top:22px;right:22px}
.he-etiquette{font-family:var(--mono);font-size:11px;letter-spacing:.04em;padding:5px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.3);white-space:nowrap}
.he-facon.assistance .he-etiquette{border-color:rgba(24,25,27,.2)}
.he-carte .he-etiquette.he-etiquette-ligne{position:static;display:inline-block;margin-bottom:12px}
.he-etiquette.jaune{background:var(--jaune);color:var(--noir);border-color:var(--jaune)}
.he-pile{display:grid;gap:12px}
.he-duo{display:grid;grid-template-columns:1fr 1fr;gap:12px}

/* la méthode : le cycle, l'anneau en aplats */
.he-methode{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:center}
.he-anneau{width:200px;height:200px}
.he-etapes{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.he-etape{font-family:var(--mono);font-size:11px;padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14)}
.he-etape.ia{background:var(--jaune);color:var(--noir);border-color:var(--jaune)}

.he-profils{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}
.he-profil{border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.he-profil.sombre{background:var(--noir);color:#fff}
.he-profil-img{aspect-ratio:1/.86;overflow:hidden;margin:6px 6px 0;border-radius:14px;position:relative}
.he-profil-img img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}
.he-profil-corps{display:flex;flex-direction:column;flex:1}
.he-profil-nom{font-size:17px;line-height:20px;font-weight:700;margin:14px 14px 4px}
.he-profil-sous{font-family:var(--mono);font-size:10px;line-height:14px;margin:0 14px 0;opacity:.7}
.he-esprit{margin:14px 14px 16px;padding-top:12px;border-top:1px solid rgba(24,25,27,.12)}
.he-profil.sombre .he-esprit{border-top-color:rgba(255,255,255,.16)}
.he-esprit-lib{font-family:var(--mono);font-size:10px;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px;opacity:.6}
.he-esprit-mots{display:grid;gap:6px;margin:0;padding:0;list-style:none}
.he-esprit-mots li{display:flex;align-items:baseline;gap:8px;font-size:14px;line-height:18px;font-weight:700}
.he-esprit-mots li::before{content:"";flex:none;width:7px;height:7px;background:var(--jaune);transform:translateY(-1px)}
.he-profil:not(.sombre) .he-esprit-mots li::before{box-shadow:0 0 0 1px var(--noir)}
.he-esprit-phrase{font-size:13px;line-height:19px;margin:10px 0 0;opacity:.75}
.he-esprit-source{font-family:var(--mono);font-size:10.5px;line-height:15px;color:var(--encre-3);margin:0 4px 14px}

.he-plateforme{display:grid;grid-template-columns:1fr auto;gap:20px;align-items:center}
.he-plateforme .rail{display:flex;gap:6px;flex-wrap:wrap;margin-top:12px}
.he-plateforme .rail span{font-family:var(--mono);font-size:11px;padding:6px 10px;border-radius:999px;background:var(--gris)}
.he-pixels{width:110px;height:96px}

/* le pied de chaque panneau se pose en bas (les deux panneaux ont la même hauteur dans la grille) */
.he-facon-pied{margin-top:auto;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.he-facon-pied .ligne{font-family:var(--mono);font-size:12px;opacity:.75}
.he-facon.conseil .he-bouton-blanc{background:#fff;color:var(--noir)}
.he-bouton-blanc{font-weight:700;font-size:16px;padding:12px 22px;border-radius:999px;background:var(--noir);color:#fff;white-space:nowrap}

/* ---------------------------------------------------------------------------------------------
   Un cas pratique : « Ce que nous construisons »
   --------------------------------------------------------------------------------------------- */
.he-refs{padding:104px 0 40px}
.he-refs-cadre{max-width:1280px;margin:0 auto;display:grid;grid-template-columns:1.35fr 1fr;gap:16px}
.he-demo{border-radius:40px;background:var(--gris);padding:18px;position:relative;overflow:hidden}
.he-demo-ecran{border-radius:26px;overflow:hidden;background:#fff;aspect-ratio:16/9;box-shadow:0 2px 6px rgba(24,25,27,.05),0 24px 60px rgba(24,25,27,.12)}
.he-demo-ecran img{width:100%;height:100%;object-fit:cover}
.he-demo-legende{display:flex;justify-content:space-between;align-items:center;padding:16px 8px 4px;font-family:var(--mono);font-size:12px;color:var(--encre-2)}
.he-ref{border-radius:40px;background:var(--noir);color:#fff;padding:40px;display:flex;flex-direction:column;position:relative;overflow:hidden}
.he-estampille{display:inline-flex;align-self:flex-start;align-items:center;gap:6px;font-family:var(--mono);font-size:11px;letter-spacing:.04em;background:#000;border:1px solid rgba(255,255,255,.18);padding:7px 12px;border-radius:999px}
.he-estampille b{color:var(--jaune);font-weight:700}
.he-ref h3{font-size:32px;line-height:38px;font-weight:700;margin:22px 0 12px}
.he-ref p{font-size:16px;line-height:25px;color:#c9cad0;margin:0}
.he-chiffre{margin-top:auto;padding-top:28px}
.he-chiffre .val{font-size:60px;line-height:64px;font-weight:700;color:var(--jaune)}
.he-chiffre .leg{font-size:16px;margin-top:4px}
.he-chiffre .src{font-family:var(--mono);font-size:11px;opacity:.6;margin-top:10px}
.he-autres{max-width:1280px;margin:16px auto 0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.he-autre{border-radius:24px;background:#fff;border:1px solid var(--gris-2);padding:22px 24px;display:flex;gap:16px;align-items:center}
.he-autre .num{font-family:var(--mono);font-size:12px;color:var(--encre-3)}
.he-autre h4{margin:2px 0 0;font-size:18px;line-height:23px}

@media (max-width:1180px){
  .he-profils{grid-template-columns:1fr}
  .he-profil{display:grid;grid-template-columns:150px minmax(0,1fr);align-items:start}
  .he-profil-img{aspect-ratio:1/1;margin:6px}
  .he-profil-nom{margin-top:16px}
}
@media (max-width:760px){
  .he-facons{padding:64px 0 20px}
  .he-h2{font-size:38px;line-height:42px}
  .he-deux,.he-refs-cadre,.he-autres{grid-template-columns:1fr}
  .he-facon{padding:30px 20px 24px;border-radius:28px}
  .he-facon-titre{font-size:40px;line-height:44px}
  .he-facon-titre.sans{font-size:36px;line-height:40px}
  .he-methode{grid-template-columns:1fr;justify-items:start}
  .he-anneau{width:150px;height:150px}
  .he-duo{grid-template-columns:1fr}
  .he-carte .he-etiquette{position:static;display:inline-block;margin-bottom:10px}
  .he-profil{grid-template-columns:104px minmax(0,1fr)}
  .he-profil-nom{margin:12px 12px 4px}
  .he-profil-sous{margin:0 12px}
  .he-esprit{margin:10px 12px 14px;padding-top:10px}
  .he-plateforme{grid-template-columns:1fr}
  .he-pixels{display:none}
  .he-facon-pied{flex-direction:column;align-items:flex-start}
  .he-refs{padding:72px 0 20px}
  .he-ref{padding:28px 22px;border-radius:28px}
  .he-demo{border-radius:28px;padding:10px}
}

.hd-page{padding:0 16px;font-family:var(--sans);font-size:16px;line-height:normal;color:var(--noir)}
.hd-carre{display:inline-block;width:8px;height:8px;background:var(--jaune);flex:none}
.hd-kicker{display:flex;align-items:center;justify-content:center;gap:8px;font-family:var(--mono);font-size:14px;text-transform:uppercase}
.hd-h2{font-family:var(--titre);font-weight:500;font-size:56px;line-height:1.08;text-align:center;margin-top:14px}
.hd-intro{max-width:760px;margin:22px auto 0;text-align:center;font-size:18px;line-height:1.55;color:var(--encre)}
.hd-entete{padding:0 24px}
.hd-section{margin-top:120px}
.hd-panneau{border-radius:40px;padding:80px 64px}
.hd-panneau.hd-gris{background:var(--gris)}
.hd-demo{display:grid;grid-template-columns:1fr 330px;gap:24px;margin-top:56px;align-items:start}
.hd-demo>*{min-width:0}
.hd-ecran{background:#fff;border-radius:28px;padding:12px;box-shadow:0 30px 70px rgba(24,25,27,.12)}
.hd-ecran img{display:block;width:100%;height:auto;border-radius:18px}
.hd-cote{display:grid;gap:14px;align-content:start}
.hd-cjaune{border-radius:28px;padding:30px 28px;background:linear-gradient(170deg,var(--jaune),var(--pale));transform:rotate(-2deg);margin-top:10px}
.hd-cjaune b{display:block;font-weight:700;font-size:60px;line-height:1}
.hd-cjaune p{font-size:17px;line-height:1.45;margin-top:12px}
.hd-cjaune small{display:block;font-family:var(--mono);font-size:12px;margin-top:14px;color:var(--encre)}
.hd-estampille{display:inline-flex;gap:8px;align-items:center;justify-self:start;background:var(--noir);color:#fff;border-radius:100px;padding:9px 16px;font-weight:700;font-size:14px}
.hd-estampille b{font-family:var(--mono);font-weight:400;color:var(--jaune);letter-spacing:.12em;text-transform:uppercase;font-size:12px}
.hd-etapes-film{display:grid;gap:8px}
.hd-etapes-film li{display:flex;gap:12px;align-items:baseline;background:#fff;border-radius:18px;padding:13px 18px;font-size:16px}
.hd-etapes-film span{font-family:var(--mono);font-size:12px;color:var(--encre)}
.hd-mention{font-family:var(--mono);font-size:12px;color:#8a8c95;margin-top:22px;text-align:center}

@media (max-width:760px){
  .hd-page{padding:0 8px}
  .hd-section{margin-top:80px}
  .hd-panneau{padding:48px 16px;border-radius:28px}
  .hd-h2{font-size:38px}
  .hd-intro{font-size:16px}
  .hd-demo{grid-template-columns:1fr}
}
