/* 18/10/2026 (nuit) v2 : page « L'entreprise » (a-propos.html) au niveau des pages services.
   Hero = gabarit des pages services (.svh de services.css : grande photo, plein écran exact sur téléphone, texte groupé en bas).
   Rythme clair / sombre : hero sombre, blanc, bleu nuit, blanc, bleu très clair, blanc, sombre (rappel).
   Règles Khamis : un seul texte en taille titre par section, seule l'idée clé en bleu, aucun sur-titre, aucun trait
   décoratif, pas de bordure gauche, aucune image qui zoome ou bouge, pas de gros chiffre + légende, rythme 120 / 72. */

.ent .e-lead{font-size:18px;line-height:1.65;color:var(--mute);margin:22px 0 0;max-width:560px}
.ent .e-lead strong{color:var(--navy-ink);font-weight:700}
.ent .nw{white-space:nowrap}
.ent .e-btns{display:flex;flex-wrap:wrap;gap:14px;margin-top:36px}
.ent .e-btns .btn{min-height:54px;padding:0 28px;font-size:16px}
.ent ol,.ent ul{list-style:none;margin:0;padding:0}
.ent img{transform:none}
.ent .e-ic{width:48px;height:48px;border-radius:15px;background:var(--ice);color:var(--royal);display:grid;place-items:center;flex:none}
.ent .e-ic svg,.ent .ico svg{width:26px;height:26px}

/* ---------- 1. Conseiller unique : grande photo à gauche, texte à droite, centrés ---------- */
.e-cu-g{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:80px;align-items:center}
.e-cu-v{border-radius:32px;overflow:hidden;aspect-ratio:4 / 4.4;background:var(--mist)}
.e-cu-v img{width:100%;height:100%;object-fit:cover;display:block}
.e-cu-t h2{font-size:clamp(34px,3.6vw,54px)}

/* ---------- 2. Déroulé : bleu nuit, photo collante + 6 étapes numérotées ---------- */
.e-dr h2{color:#fff}.e-dr h2 .hl{color:#8CB2FF}
.e-dr .e-lead{color:rgba(255,255,255,.78)}
.e-dr-h{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,400px);gap:64px;align-items:end}
.e-dr-h h2{margin:0;max-width:820px}.e-dr-h .e-lead{margin:0}
.e-dr-g{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:72px;align-items:start;margin-top:64px}
.e-dr-v{position:sticky;top:120px;border-radius:30px;overflow:hidden;aspect-ratio:4 / 5}
.e-dr-v img{width:100%;height:100%;object-fit:cover;display:block}
.e-dr-l{display:flex;flex-direction:column;gap:12px}
.e-dr-l li{display:grid;grid-template-columns:56px minmax(0,1fr);column-gap:24px;align-items:start;padding:28px 30px;border-radius:24px;background:rgba(255,255,255,.05)}
.e-dr-l .e-n{width:56px;height:56px;border-radius:17px;background:rgba(140,178,255,.16);color:#8CB2FF;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:18px}
.e-dr-l h3{color:#fff;font-size:22px;line-height:1.2;margin:4px 0 8px}
.e-dr-l p{margin:0;color:rgba(255,255,255,.76);font-size:16.5px;line-height:1.65}
.e-dr-l p strong{color:#fff}

/* ---------- 3. Engagements : mosaïque photo + tuiles alternées ---------- */
.e-en-g{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:minmax(250px,auto);gap:14px;margin-top:56px}
.e-en-ph{grid-column:span 2;grid-row:span 2;border-radius:28px;overflow:hidden;min-height:520px}
.e-en-ph img{width:100%;height:100%;object-fit:cover;display:block}
.e-en-g .tile{border-radius:28px;padding:30px 30px 32px;display:flex;flex-direction:column}
.e-en-g .tile .ico{width:48px;height:48px;border-radius:15px;display:grid;place-items:center}
.e-en-g .nv{background:var(--night);color:#fff}
.e-en-g .nv .ico{background:rgba(140,178,255,.16);color:#8CB2FF}
.e-en-g .ic2{background:var(--mist)}
.e-en-g .ic2 .ico{background:#fff;color:var(--royal)}
.e-en-g .tile h3{font-size:21px;line-height:1.2;margin:26px 0 10px}
.e-en-g .nv h3{color:#fff}.e-en-g .ic2 h3{color:var(--navy-ink)}
.e-en-g .tile p{margin:0;font-size:15.5px;line-height:1.6}
.e-en-g .nv p{color:rgba(255,255,255,.8)}.e-en-g .ic2 p{color:var(--mute)}

/* ---------- 4. Matériel FHE : les 4 produits réunis sur une grande carte blanche + arguments ---------- */
.e-fhe-g{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:72px;align-items:center}
.e-fhe-v{position:relative;border-radius:32px;overflow:hidden;aspect-ratio:1 / 1;background:#fff}
.e-fhe-v img{position:absolute;display:block;object-fit:contain;border-radius:14px}
.e-fhe-v .p-pv{left:8%;top:7%;width:34%;height:auto}
.e-fhe-v .p-pac{right:6%;top:14%;width:50%;height:auto;background:transparent}
.e-fhe-v .p-bt{right:10%;bottom:9%;width:40%;height:auto;border-radius:16px}
.e-fhe-v .p-mo{left:8%;bottom:12%;width:38%;height:auto;background:transparent}
.ent .e-fhe-a{margin-top:34px;display:flex;flex-direction:column;gap:22px}
.e-fhe-a li{display:flex;gap:18px;align-items:flex-start}
.e-fhe-a h3{font-size:19px;line-height:1.2;margin:2px 0 0;color:var(--navy-ink)}
.e-fhe-a p{margin:6px 0 0;color:var(--mute);font-size:16px;line-height:1.55}
.e-fhe-a strong{color:var(--navy-ink)}
.mist .e-fhe-a .e-ic{background:#fff}

/* ---------- 5. Chantiers ---------- */
.ent .e-cr .cr{margin-top:56px}
.ent .e-cr .cr-i img{transform:none !important;transition:none !important}
.home > section.e-cr{padding-top:var(--rythme) !important}
.home > section.e-cr + section.avis-sec{padding-top:0 !important}

/* Avis (bloc de l'accueil) sur tablette : texte puis bouton */
@media (min-width:721px) and (max-width:1000px){.avis-sec .avA{flex-direction:column;align-items:flex-start;gap:28px}.avis-sec .avA .t{align-items:center}}

/* ---------- Tablette ---------- */
@media (max-width:1100px){
  .e-dr-h{grid-template-columns:1fr;gap:22px}
  .e-cu-g,.e-fhe-g,.e-dr-g{gap:48px}
  .e-en-g{grid-template-columns:repeat(2,minmax(0,1fr))}
  .e-en-ph{grid-row:auto;min-height:380px}
}
@media (max-width:900px){
  .e-cu-g,.e-fhe-g,.e-dr-g{grid-template-columns:1fr}
  .e-cu-v{aspect-ratio:16 / 11}
  .e-dr-v{position:relative;top:auto;aspect-ratio:16 / 10}
  .e-fhe-v{max-width:620px;width:100%;order:2}
}
/* ---------- Téléphone ---------- */
@media (max-width:720px){
  .ent .e-lead{font-size:16px;margin-top:16px}
  .e-dr-h .e-lead{margin:0}
  .ent .e-btns{flex-direction:column;align-items:stretch;margin-top:28px}
  .ent .e-btns .btn{justify-content:center}
  .e-cu-g,.e-fhe-g,.e-dr-g{gap:32px}
  .e-cu-v{border-radius:24px;aspect-ratio:4 / 3.4}
  .e-dr-g{margin-top:36px}
  .e-dr-v{border-radius:24px;aspect-ratio:4 / 3}
  .e-dr-l li{grid-template-columns:44px minmax(0,1fr);column-gap:16px;padding:20px 18px;border-radius:20px}
  .e-dr-l .e-n{width:44px;height:44px;border-radius:13px;font-size:15px}
  .e-dr-l h3{font-size:19px;margin:2px 0 6px}
  .e-dr-l p{font-size:15.5px}
  .e-en-g{grid-template-columns:1fr;gap:12px;margin-top:36px;grid-auto-rows:auto}
  .e-en-ph{grid-column:auto;min-height:0;aspect-ratio:4 / 3;border-radius:24px}
  .e-en-g .tile{padding:24px 22px 26px;border-radius:22px}
  .e-en-g .tile h3{font-size:19px;margin-top:20px}
  .e-fhe-v{border-radius:24px}
  .ent .e-fhe-a{gap:18px;margin-top:28px}
  .ent .e-cr .cr{margin-top:36px}
  .ent h2{overflow-wrap:break-word}
}
