/* =============================================================
   DOXA TECHNOLOGY — feuille de style unique (V1 Production)
   Charte : bleu profond · blanc · gris clair · orange Doxa
   Une seule source de vérité pour toutes les pages.
   ============================================================= */
:root{
  --blue:#0A2540; --blue-2:#123A6B; --blue-deep:#071A30;
  --orange:#EF7215; --orange-2:#D9610C; --orange-tint:#FDEEE0;
  --bg:#FFFFFF; --bg-2:#F4F7FB; --bg-3:#EAF1F8;
  --line:#E1E9F2; --line-2:#D3DEEC;
  --ink:#0A2540; --text:#33465D; --muted:#5A6B82;
  --maxw:1360px; --pad:clamp(4rem,7vw,6.5rem); --r:16px; --ease:cubic-bezier(.22,.61,.36,1);
  --shadow:0 2px 4px rgba(10,37,64,.04); --shadow-lg:0 24px 50px -30px rgba(10,37,64,.28);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:"Inter",system-ui,sans-serif;font-size:16.5px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer}
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:clamp(1.25rem,4vw,2.5rem)}
h1,h2,h3,h4{font-family:"Inter",sans-serif;color:var(--ink);line-height:1.15;letter-spacing:-.02em;font-weight:800}

/* --- utilitaires --- */
.eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange);display:inline-flex;align-items:center;gap:.6rem}
.eyebrow::before{content:"";width:22px;height:2px;background:var(--orange);border-radius:2px}
.section-title{font-size:clamp(1.75rem,3.3vw,2.5rem);margin:.9rem 0 .7rem;font-weight:800}
.section-lead{color:var(--muted);max-width:52ch;font-size:1.04rem}
.head{margin-bottom:3rem;max-width:60ch}
.head.center{margin-inline:auto;text-align:center}
.head.center .eyebrow{justify-content:center}

/* --- boutons --- */
.btn{display:inline-flex;align-items:center;gap:.55rem;padding:.85rem 1.5rem;border-radius:10px;font-weight:600;font-size:.96rem;border:1.5px solid transparent;transition:transform .25s var(--ease),background .2s,color .2s,border-color .2s,box-shadow .25s}
.btn:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.btn-primary{background:var(--orange);color:#fff;box-shadow:0 10px 24px -12px rgba(239,114,21,.6)}
.btn-primary:hover{background:var(--orange-2);transform:translateY(-2px)}
.btn-ghost{border-color:var(--line-2);color:var(--ink);background:#fff}
.btn-ghost:hover{border-color:var(--blue);transform:translateY(-2px)}
.btn-onblue{background:#fff;color:var(--blue)}
.btn-onblue:hover{background:var(--orange);color:#fff;transform:translateY(-2px)}
.btn-outline-light{border-color:rgba(255,255,255,.35);color:#fff}
.btn-outline-light:hover{border-color:#fff;transform:translateY(-2px)}
.btn .arrow{transition:transform .25s var(--ease)}
.btn:hover .arrow{transform:translateX(3px)}

/* --- emplacements photo (.ph) ---
   Vraie photo : remplacer le <div class="ph-in">…</div> par
   <img class="ph-img" src="/img/xxx.jpg" alt="Description"> */
.ph{position:relative;overflow:hidden;border-radius:12px;border:1px solid var(--line);background:linear-gradient(135deg,var(--bg-3),var(--bg-2));display:grid;place-items:center}

.ph-img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.ph.r-hero{aspect-ratio:4/3}
.ph.r-wide{aspect-ratio:16/6}

/* =============================================================
   HEADER + LOGO
   ============================================================= */
header.site{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;height:76px}
.logo{display:flex;align-items:center;gap:.6rem}
.logo-img{height:48px;width:auto}
.logo-mark{width:24px;height:24px;transform:rotate(45deg);background:linear-gradient(135deg,var(--blue),var(--blue-2));border-radius:5px;position:relative}
.logo-mark::after{content:"";position:absolute;inset:6px;background:var(--orange);border-radius:2px}
.logo-word{font-weight:800;font-size:1.1rem;color:var(--ink);letter-spacing:-.02em;line-height:1}
.logo-word small{display:block;font-weight:600;font-size:.54rem;letter-spacing:.18em;color:var(--muted);margin-top:3px}
.nav-links{display:flex;align-items:center;gap:2rem;font-size:.94rem;font-weight:500}
.nav-links a{color:var(--ink);transition:color .2s;position:relative}
.nav-links a:hover,.nav-links a.active{color:var(--orange)}
/* séparateurs verticaux entre les rubriques (pas avant le 1er lien ni le bouton CTA) */
.nav-links a:not(:first-child):not(.nav-cta)::before{content:"";position:absolute;left:-1rem;top:50%;transform:translateY(-50%);width:1px;height:15px;background:var(--line-2)}
.nav-cta{padding:.6rem 1.2rem;font-size:.9rem;color:#fff}
.burger{display:none;background:none;border:0;color:var(--ink);width:40px;height:40px}
.burger span{display:block;width:22px;height:2px;background:currentColor;margin:5px auto;transition:.25s}

/* =============================================================
   HERO (accueil) + PAGE HERO (intérieures)
   ============================================================= */
.hero{position:relative;overflow:hidden;padding-top:clamp(2rem,3vw,2.5rem);padding-bottom:clamp(3rem,4.5vw,3.75rem)}
.hero::before{content:"";position:absolute;inset:-30% -20% auto auto;width:55vw;height:55vw;background:radial-gradient(circle at 70% 30%,rgba(18,58,107,.08),transparent 60%);pointer-events:none}
.hero::after{content:"";position:absolute;left:-10%;bottom:-40%;width:40vw;height:40vw;background:radial-gradient(circle,rgba(239,114,21,.06),transparent 60%);pointer-events:none}
.hero .wrap{position:relative;z-index:1}
.hero-grid{display:grid;grid-template-columns:minmax(0,46%) minmax(0,54%);gap:clamp(2rem,3.5vw,3rem);align-items:start}
.hero h1{font-size:clamp(2.7rem,4.5vw,4rem);line-height:1.08;letter-spacing:-.035em;font-weight:800;max-width:620px;margin:1rem 0}
.hero h1 .accent{color:var(--orange)}
.hero-sub{font-size:clamp(1.05rem,1.45vw,1.25rem);line-height:1.55;color:var(--muted);max-width:520px;margin-bottom:1.6rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem}
.hero-media{position:relative;width:100%;align-self:start}
.hero-media .ph.r-hero{box-shadow:var(--shadow-lg)}



/* =============================================================
   BANDES + GRILLES
   ============================================================= */
section[id]{scroll-margin-top:92px}
.band{padding-block:var(--pad)}
.band.grey{background:var(--bg-2)}
.band.blue{background:var(--blue);color:#fff}
.band.blue h2,.band.blue h3,.band.blue h4{color:#fff}
.band.blue .section-lead{color:rgba(255,255,255,.72)}
.band.blue.center{text-align:center}


/* =============================================================
   MÉTHODE (sur bleu)
   ============================================================= */
.method{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;position:relative}
.mstep{background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:var(--r);padding:1.6rem;position:relative}
.mstep .num{width:38px;height:38px;border-radius:10px;background:var(--orange);color:#fff;font-weight:800;display:grid;place-items:center;margin-bottom:1rem}
.mstep h4{font-size:1.1rem;margin-bottom:.4rem}
.mstep p{color:rgba(255,255,255,.7);font-size:.9rem}
.mstep .conn{position:absolute;right:-.85rem;top:2.4rem;color:var(--orange);font-size:1.2rem;z-index:2}

/* =============================================================
   SECTEURS
   ============================================================= */
.sectors{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.sector-tile{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.4rem;display:flex;align-items:center;gap:.9rem;transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.sector-tile:hover{transform:translateY(-3px);border-color:var(--line-2);box-shadow:var(--shadow-lg)}
.sector-tile .si{width:42px;height:42px;flex-shrink:0;border-radius:11px;background:var(--bg-3);display:grid;place-items:center}
.sector-tile .si svg{width:22px;height:22px;stroke:var(--blue-2);fill:none;stroke-width:1.6}
.sector-tile span{font-weight:600;color:var(--ink);font-size:.96rem}

/* =============================================================
   FAQ · CTA · CONTACT
   ============================================================= */
.faq-list{max-width:820px;margin-inline:auto}
.faq-item{border-bottom:1px solid var(--line)}
.faq-q{width:100%;background:none;border:0;color:var(--ink);text-align:left;padding:1.35rem 0;font-weight:700;font-size:1.05rem;display:flex;justify-content:space-between;align-items:center;gap:1rem}
.faq-q .pm{color:var(--orange);font-size:1.4rem;transition:transform .3s var(--ease);flex-shrink:0}
.faq-q[aria-expanded="true"] .pm{transform:rotate(45deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s var(--ease)}
.faq-a p{color:var(--muted);padding-bottom:1.35rem;font-size:.96rem}

.band.blue.center h2{font-size:clamp(1.8rem,3.4vw,2.5rem)}
.band.blue.center p{color:rgba(255,255,255,.75);max-width:48ch;margin:.9rem auto 2rem}
.cta-actions{display:flex;gap:.9rem;justify-content:center;flex-wrap:wrap}

.contact{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,3.5rem)}
.info-list{display:grid;gap:1.1rem;margin:1.8rem 0}
.info-item{display:flex;gap:1rem;align-items:flex-start}
.info-item .ico{width:40px;height:40px;flex-shrink:0;border-radius:11px;background:var(--orange-tint);display:grid;place-items:center}
.info-item .ico svg{width:19px;height:19px;stroke:var(--orange);fill:none;stroke-width:1.7}
.info-item .lbl{font-size:.66rem;font-weight:700;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}
.info-item .val{font-size:.98rem;color:var(--ink)}
.info-item a.val:hover{color:var(--orange)}
.form{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.6rem,3vw,2.2rem);box-shadow:var(--shadow)}
.field{margin-bottom:1.05rem}
.field label{display:block;font-size:.82rem;font-weight:600;color:var(--ink);margin-bottom:.4rem}
.field input,.field select,.field textarea{width:100%;background:var(--bg-2);border:1px solid var(--line);border-radius:10px;padding:.82rem .9rem;color:var(--ink);font-family:inherit;font-size:.94rem;transition:border-color .2s,background .2s}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--orange);background:#fff}
.field textarea{resize:vertical;min-height:110px}
.form-msg{display:none;margin-top:1rem;padding:.8rem 1rem;border-radius:10px;background:var(--orange-tint);color:var(--orange-2);font-size:.88rem;font-weight:500}

/* =============================================================
   FOOTER · WHATSAPP · REVEAL
   ============================================================= */
footer.site{background:var(--blue-deep);color:rgba(255,255,255,.7);padding-block:3.4rem 1.8rem}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:2rem;padding-bottom:2.4rem;border-bottom:1px solid rgba(255,255,255,.1)}
.foot-brand .logo-word{color:#fff}
.foot-brand p{margin-top:1rem;font-size:.88rem;max-width:34ch}
.foot-col h5{color:#fff;font-size:.72rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:1.1rem}
.foot-col a{display:block;color:rgba(255,255,255,.7);font-size:.9rem;margin-bottom:.6rem;transition:color .2s}
.foot-col a:hover{color:var(--orange)}
.foot-col address{font-style:normal;color:rgba(255,255,255,.7);font-size:.9rem;line-height:1.6;margin-top:.2rem}
.social{display:flex;gap:.6rem;margin-top:.4rem}
.social a{width:36px;height:36px;border-radius:9px;background:rgba(255,255,255,.08);display:grid;place-items:center;transition:background .2s}
.social a:hover{background:var(--orange)}
.social svg{width:17px;height:17px;fill:#fff}

.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:1rem;padding-top:1.6rem;font-size:.82rem}
.foot-bottom a{color:var(--orange);font-weight:600}

.wa{position:fixed;right:20px;bottom:20px;width:56px;height:56px;border-radius:50%;background:#25D366;display:grid;place-items:center;box-shadow:0 12px 30px -8px rgba(37,211,102,.6);z-index:60;transition:transform .25s var(--ease)}
.wa:hover{transform:scale(1.07)}
.wa svg{width:30px;height:30px;fill:#fff}

.reveal{opacity:1;transform:none}
.js .reveal{opacity:0;transform:translateY(22px);transition:opacity .6s var(--ease),transform .6s var(--ease)}
.js .reveal.in{opacity:1;transform:none}

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr}.hero-media{max-width:680px}
  .method,.sectors{grid-template-columns:repeat(2,1fr)}
  .mstep .conn{display:none}
  .contact{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .hero{padding-top:2rem;padding-bottom:3rem}
  .hero-grid{gap:2rem}
  .hero h1{font-size:clamp(2.35rem,11vw,3.25rem)}
  .hero-sub{font-size:1.05rem}
  .nav-links{position:fixed;inset:76px 0 auto 0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line);padding:1rem 1.5rem;transform:translateY(-130%);transition:transform .3s var(--ease);align-items:stretch}
  .nav-links.open{transform:none}
  .nav-links a{padding:.9rem 0;border-bottom:1px solid var(--line)}
  .nav-links a::before{content:none}
  .nav-cta{margin-top:.6rem;text-align:center;justify-content:center}
  .burger{display:block}
  .method,.sectors{grid-template-columns:1fr}
  .foot-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto}.reveal,.js .reveal{opacity:1;transform:none;transition:none}.dhero .up{opacity:1;transform:none}.dhero-img{transform:scale(1.02)}}


/* QA V1 — accessibilité et états fonctionnels */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--orange);outline-offset:3px
}
.form input:invalid:not(:placeholder-shown),.form textarea:invalid:not(:placeholder-shown){border-color:#b42318}

/* =============================================================
   V3 — ARCHITECTURE PAR DOMAINES D'EXPERTISE
   Ajouts uniquement : la charte, les tokens et les composants
   existants (boutons, cartes, formulaires, footer) sont conservés.
   ============================================================= */

/* --- accessibilité : lien d'évitement --- */
.skip{position:absolute;left:-9999px;top:0;z-index:100;background:var(--orange);color:#fff;padding:.7rem 1.1rem;border-radius:0 0 10px 0;font-weight:600}
.skip:focus{left:0}
body.no-scroll{overflow:hidden}

/* --- header : 8 entrées de menu, densité ajustée --- */
.nav-links{gap:1.35rem;font-size:.9rem}
.nav-links a{white-space:nowrap}
.nav-links a.active{color:var(--ink);font-weight:600;position:relative}
.nav-links a.active::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:2px;background:var(--orange);border-radius:2px}
.nav-cta{padding:.58rem 1.05rem;font-size:.87rem}
.burger span{transition:transform .25s var(--ease),opacity .2s}
.burger.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.is-open span:nth-child(2){opacity:0}
.burger.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media(max-width:1200px){
  .nav-links{gap:1.05rem;font-size:.875rem}
  .logo-word{font-size:1rem}
}
/* bascule vers le menu mobile dès la tablette */
@media(max-width:1024px){
  .burger{display:block}
  .nav-links{position:fixed;inset:76px 0 auto 0;flex-direction:column;gap:0;background:#fff;border-bottom:1px solid var(--line);padding:1rem clamp(1.25rem,4vw,2.5rem) 1.4rem;transform:translateY(-130%);transition:transform .3s var(--ease);align-items:stretch;font-size:1rem;max-height:calc(100vh - 76px);overflow-y:auto;box-shadow:var(--shadow-lg)}
  .nav-links.open{transform:none}
  .nav-links a{padding:.95rem 0;border-bottom:1px solid var(--line);white-space:normal}
  .nav-links a::before{content:none}
  .nav-links a.active::after{display:none}
  .nav-cta{margin-top:.9rem;text-align:center;justify-content:center;border-bottom:0;padding:.85rem 1.2rem;font-size:.95rem}
}

/* --- sections éditoriales des domaines (accueil) --- */
.dom{padding-block:clamp(3.5rem,6.5vw,6rem);scroll-margin-top:92px}
.dom.grey{background:var(--bg-2)}
.dom-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:clamp(2rem,5vw,4.5rem);align-items:center}
.dom.reverse .dom-media{order:-1}
.dom-num{display:inline-flex;align-items:center;gap:.6rem;font-size:.76rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--orange)}
.dom-num::before{content:"";width:26px;height:2px;background:var(--orange);border-radius:2px}
.dom-copy h2{font-size:clamp(1.6rem,3vw,2.3rem);margin:.9rem 0 .9rem;max-width:20ch}
.dom-lead{color:var(--muted);font-size:1.04rem;max-width:54ch}
.dom-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1.4rem;margin:1.5rem 0 1.8rem}
.dom-list li{display:flex;gap:.55rem;align-items:flex-start;font-size:.94rem;color:var(--text)}
.dom-list li::before{content:"\2713";color:var(--orange);font-weight:800;flex-shrink:0}
.dom-link{display:inline-flex;align-items:center;gap:.5rem;font-weight:700;font-size:.95rem;color:var(--orange);border-bottom:2px solid transparent;padding-bottom:2px;transition:border-color .2s,gap .25s var(--ease)}
.dom-link:hover{border-color:var(--orange);gap:.75rem}
.dom-link .arrow{transition:transform .25s var(--ease)}
.dom-media .ph{box-shadow:var(--shadow-lg)}
.ph.r-dom{aspect-ratio:4/3}

/* --- hero des pages d'expertise : bandeau immersif sombre ---
   Rupture volontaire avec l'accueil (fond blanc, texte|image) :
   le visiteur voit immédiatement qu'il a changé de page. */
.dhero{position:relative;isolation:isolate;overflow:hidden;background:var(--blue-deep);
  min-height:clamp(400px,54vh,580px);display:flex;align-items:flex-end;
  padding-block:clamp(3rem,7vw,5.5rem) clamp(2.6rem,5vw,4rem)}
.dhero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;
  transform:scale(1.06);animation:dhero-zoom 1.4s var(--ease) both}
.dhero-veil{position:absolute;inset:0;z-index:-1;
  background:linear-gradient(100deg,rgba(7,26,48,.94) 0%,rgba(7,26,48,.86) 42%,rgba(10,37,64,.55) 100%),
             linear-gradient(0deg,rgba(7,26,48,.55),rgba(7,26,48,0) 55%)}
.dhero-num{position:absolute;right:clamp(1.5rem,4vw,3.5rem);top:clamp(1rem,4vw,2.4rem);z-index:-1;
  font-size:clamp(7rem,18vw,15rem);font-weight:800;line-height:.8;letter-spacing:-.06em;
  color:#fff;opacity:.07;pointer-events:none;user-select:none}
.dhero-inner{position:relative;width:100%}
.dhero-eyebrow{display:inline-flex;align-items:center;gap:.65rem;font-size:.76rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--orange)}
.dhero-eyebrow::before{content:"";width:30px;height:2px;background:var(--orange);border-radius:2px}
.dhero h1{font-size:clamp(2.05rem,4.1vw,3.35rem);line-height:1.08;letter-spacing:-.032em;
  color:#fff;margin:1rem 0 1.1rem;max-width:19ch}
.dhero-sub{font-size:clamp(1.02rem,1.4vw,1.2rem);line-height:1.55;color:rgba(255,255,255,.88);
  max-width:56ch;margin-bottom:1.9rem}
.dhero-cta{display:flex;flex-wrap:wrap;gap:.9rem}
.dhero-cta .arrow.down{display:inline-block}
.dhero-cta .btn:hover .arrow.down{transform:translateY(3px)}
.crumb{font-size:.82rem;color:rgba(255,255,255,.82);margin-bottom:1.4rem;display:flex;gap:.5rem;
  flex-wrap:wrap;align-items:center}
.crumb a{color:rgba(255,255,255,.82);border-bottom:1px solid transparent}
.crumb a:hover{color:#fff;border-color:rgba(255,255,255,.5)}
.crumb span[aria-hidden]{opacity:.6}
.crumb>span:last-child{color:#fff;font-weight:600}

/* séquence d'entrée : confirme visuellement le changement de page */
@keyframes dhero-zoom{from{transform:scale(1.14)}to{transform:scale(1.06)}}
@keyframes up{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.dhero .up{animation:up .65s var(--ease) both}
.dhero .up-1{animation-delay:.05s}
.dhero .up-2{animation-delay:.14s}
.dhero .up-3{animation-delay:.23s}
.dhero .up-4{animation-delay:.32s}

/* --- présentation du domaine --- */
.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem)}
.intro-grid .section-title{font-size:clamp(1.4rem,2.4vw,1.85rem)}
.intro-grid p{color:var(--text)}
.intro-benef{margin-top:1rem;padding-left:1rem;border-left:3px solid var(--orange);color:var(--ink);font-weight:500}

/* --- lignes éditoriales « Nos solutions » --- */
.sol-list{display:grid;gap:0;border-top:1px solid var(--line)}
.sol-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:clamp(1.2rem,3vw,2.6rem);padding-block:clamp(1.6rem,3vw,2.3rem);border-bottom:1px solid var(--line)}
.sol-idx{font-size:.85rem;font-weight:800;color:var(--orange);letter-spacing:.06em;padding-top:.25rem;min-width:2.2rem}
.sol-body h3{font-size:clamp(1.1rem,1.9vw,1.35rem);margin-bottom:.5rem}
.sol-body p{color:var(--muted);max-width:62ch;margin-bottom:.9rem}

/* --- étapes de l'approche (fond clair) --- */
.psteps{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.pstep{background:#fff;border:1px solid var(--line);border-radius:var(--r);padding:1.7rem;box-shadow:var(--shadow)}
.pstep .pnum{width:38px;height:38px;border-radius:10px;background:var(--blue);color:#fff;font-weight:800;display:grid;place-items:center;margin-bottom:1rem}
.pstep h4{font-size:1.06rem;margin-bottom:.4rem}
.pstep p{color:var(--muted);font-size:.92rem}

/* --- pourquoi Doxa Technology --- */
.why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1.6rem 3rem}
.why-item{border-top:2px solid var(--orange);padding-top:1.1rem}
.why-item h4{font-size:1.08rem;margin-bottom:.45rem}
.why-item p{color:var(--muted);font-size:.95rem;max-width:48ch}

/* --- maillage vers les autres domaines --- */
.xlinks{display:grid;grid-template-columns:repeat(2,1fr);gap:.8rem}
.xlink{display:flex;align-items:center;gap:1rem;background:#fff;border:1px solid var(--line);border-radius:12px;padding:1.05rem 1.3rem;font-weight:600;color:var(--ink);transition:border-color .25s,transform .25s var(--ease)}
.xlink:hover{border-color:var(--orange);transform:translateX(3px)}
.xlink .xnum{font-size:.78rem;font-weight:800;color:var(--orange);letter-spacing:.08em}
.xlink .arrow{margin-left:auto;color:var(--orange)}

/* --- champ prérempli --- */
.field select.prefilled{border-color:var(--orange);background:#fff}

/* --- responsive V3 --- */
@media(max-width:1024px){
  .dom-grid{grid-template-columns:1fr}
  .dom.reverse .dom-media{order:0}
  .dom-media{max-width:720px}
  .psteps{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:900px){
  .intro-grid{grid-template-columns:1fr}
  .why-grid,.xlinks{grid-template-columns:1fr}
}
@media(max-width:680px){
  .dom{padding-block:3rem}
  .dom-list{grid-template-columns:1fr;margin:1.2rem 0 1.5rem}
  .psteps{grid-template-columns:1fr}
  .sol-row{grid-template-columns:1fr;gap:.5rem}
  .sol-idx{padding-top:0}
  .dhero{min-height:auto;padding-block:2.6rem 2.4rem}
  .dhero h1{font-size:clamp(1.85rem,8.5vw,2.4rem);max-width:none}
  .dhero-num{font-size:8rem;opacity:.06}
  .dhero-cta .btn{flex:1 1 100%;justify-content:center}
}

/* =============================================================
   V3.2 — HEADER COMPACT, PAGES LÉGALES, 404, FORMULAIRE
   ============================================================= */

/* --- header : le logo passe en marque seule sous 1280 px pour que
   les 8 entrées + le bouton devis tiennent sans repli ni chevauchement --- */
.nav{gap:1.5rem}
.logo{flex-shrink:0}
.logo-compact{display:none}
.logo-img{height:48px;width:auto}
@media(max-width:1439px){
  .nav-links{gap:1rem;font-size:.875rem}
}
@media(max-width:1279px){
  .nav-links{gap:.6rem;font-size:.85rem}
  .nav-cta{padding:.55rem .9rem;font-size:.84rem}
  .logo-img{height:42px}
}
/* le logo complet est conservé aussi longtemps que la largeur le permet ;
   en dessous de 1180 px il laisse la place à la marque seule */
@media(max-width:1179px){
  .logo-full{display:none}
  .logo-compact{display:block;height:44px;width:44px}
}
@media(min-width:1025px){
  .nav-links{flex-wrap:nowrap}
  .nav-links a{flex-shrink:0}
}
@media(max-width:1024px){
  .logo-full{display:block}
  .logo-compact{display:none}
}

.chips{display:flex;flex-wrap:wrap;gap:.5rem}
.chips span{font-size:.82rem;background:#fff;border:1px solid var(--line);border-radius:8px;
  padding:.42rem .72rem;color:var(--ink)}
.band.grey .chips span{background:var(--bg)}

/* --- formulaire --- */
.form-note{margin-top:.7rem;font-size:.82rem;color:var(--muted);line-height:1.5}
.form-msg:empty{display:none}

/* --- footer sur 5 colonnes --- */
.foot-grid{grid-template-columns:1.5fr 1fr .9fr 1.1fr 1.2fr}
@media(max-width:1100px){.foot-grid{grid-template-columns:1.4fr 1fr 1fr}}
@media(max-width:760px){.foot-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.foot-grid{grid-template-columns:1fr}}

/* --- pages légales --- */
.legal-head{background:var(--blue-deep);color:#fff;padding-block:clamp(2.6rem,5vw,4rem) clamp(2.2rem,4vw,3rem)}
.legal-head h1{color:#fff;font-size:clamp(1.9rem,3.6vw,2.7rem);margin:.6rem 0 .8rem}
.legal-lead{color:rgba(255,255,255,.85);max-width:56ch}
.crumb.dark{color:rgba(255,255,255,.7)}
.legal{max-width:76ch}
.legal h2{font-size:clamp(1.15rem,2vw,1.4rem);margin:2.4rem 0 .7rem}
.legal h2:first-child{margin-top:0}
.legal p{margin-bottom:.9rem;color:var(--text)}
.legal a{color:var(--orange-2);border-bottom:1px solid currentColor}
.legal a:hover{color:var(--blue)}
.legal-date{margin-top:2.4rem;padding-top:1.2rem;border-top:1px solid var(--line);
  font-size:.86rem;color:var(--muted)}

/* --- page 404 --- */
.nf{padding-block:clamp(3.5rem,8vw,6.5rem);text-align:center}
.nf-code{display:block;font-size:clamp(4.5rem,14vw,9rem);font-weight:800;line-height:.9;
  letter-spacing:-.05em;color:var(--bg-3)}
.nf h1{font-size:clamp(1.7rem,3.4vw,2.4rem);margin:-.4rem 0 .9rem}
.nf-sub{color:var(--muted);max-width:46ch;margin:0 auto 1.9rem}
.nf .dhero-cta{justify-content:center}

/* --- contraste : sous-titre du hero d'accueil --- */
.hero-sub{color:var(--text)}

/* --- repli sans JavaScript --- */
.noscript-note{background:#FFF6EE;border:1px solid var(--orange);border-radius:var(--r-sm);
  padding:1rem 1.2rem;margin-bottom:1.2rem}
.noscript-note p{font-size:.92rem;color:var(--ink);margin:0}
.noscript-note a{color:var(--orange-2);border-bottom:1px solid currentColor}

/* =============================================================
   V4 — REFONTE ÉDITORIALE DE LA PAGE D'ACCUEIL
   Ajouts uniquement : aucun token, composant ou règle V1/V3
   n'est supprimé. Ce bloc surcharge la Home et laisse les pages
   d'expertise strictement inchangées.
   ============================================================= */

/* --- HERO : plus compact, sans boutons ------------------------
   Réglage : --h1-hero pilote la taille du titre. La valeur ci-dessous
   garantit deux lignes maximum sur desktop (≥ 960 px). L'augmenter
   (ex. 3.5rem) agrandit le titre mais réintroduit une 3e ligne. */
.hero{--h1-hero:clamp(2rem,2.95vw,2.65rem);
  padding-top:clamp(1.1rem,2.2vw,2.15rem);          /* header → hero ≈ 35 px */
  padding-bottom:clamp(2.4rem,3.6vw,3rem)}          /* − 20 % */
.hero-grid{grid-template-columns:minmax(0,54%) minmax(0,46%);align-items:center}
.hero h1{font-size:var(--h1-hero);line-height:1.05;margin:.8rem 0 .65rem;
  max-width:none;text-wrap:balance}
.hero-sub{font-size:clamp(1.02rem,1.3vw,1.14rem);line-height:1.6;max-width:60ch;margin-bottom:0}

/* --- indicateur de scroll (chevron animé, centré en bas du hero) --- */
.hero-scroll{position:absolute;left:50%;bottom:clamp(.5rem,1.4vw,1.1rem);transform:translateX(-50%);
  display:inline-flex;flex-direction:column;align-items:center;gap:.3rem;z-index:2;text-decoration:none;
  color:var(--muted);font-size:.68rem;letter-spacing:.16em;text-transform:uppercase;font-weight:600;
  opacity:.85;transition:opacity .3s var(--ease),color .2s}
.hero-scroll:hover{opacity:1;color:var(--orange)}
.hero-scroll.is-hidden{opacity:0;pointer-events:none}
.hero-scroll svg{width:22px;height:22px;animation:heroChevron 1.8s var(--ease) infinite}
@keyframes heroChevron{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
@media(prefers-reduced-motion:reduce){.hero-scroll svg{animation:none}}
@media(max-width:680px){.hero-scroll{display:none}}

/* --- BLOCS D'EXPERTISE : structure commune --------------------
   01 / 05 · Titre · Promesse · Paragraphe · Libellé · Liste · Bouton */
.dom{--dom-text:48%;--dom-img:52%;padding-block:clamp(3.25rem,5.8vw,5.4rem)}
.dom.r-48-52{--dom-text:48%;--dom-img:52%}
.dom.r-44-56{--dom-text:44%;--dom-img:56%}
.dom.r-50-50{--dom-text:50%;--dom-img:50%}
.dom-grid{grid-template-columns:minmax(0,var(--dom-text)) minmax(0,var(--dom-img));
  align-items:stretch;gap:clamp(2rem,4.2vw,3.8rem)}
.dom.reverse .dom-grid{grid-template-columns:minmax(0,var(--dom-img)) minmax(0,var(--dom-text))}
.dom-copy{display:flex;flex-direction:column;justify-content:center}

.dom-num{font-size:14px;font-weight:600;letter-spacing:.12em;color:var(--orange)}
.dom-copy h2{font-size:clamp(1.85rem,3vw,2.6rem);   /* 40 → 42 px */
  font-weight:700;line-height:1.1;letter-spacing:-.025em;
  max-width:none;margin:.85rem 0 .5rem}             /* titre → promesse resserré */
.dom-promise{font-size:clamp(1.2rem,1.55vw,1.375rem);  /* 22 px */
  font-weight:600;color:var(--ink);line-height:1.35;max-width:34ch;margin-bottom:.7rem}
.dom-lead{font-size:1.125rem;line-height:1.72;color:var(--text);max-width:56ch;margin-bottom:0}
.dom-listlabel{display:block;font-size:1rem;font-weight:500;color:var(--muted);
  margin:1.7rem 0 .7rem}                            /* paragraphe → liste élargi */
.dom-list{margin:0 0 1.1rem;gap:.55rem 1.6rem}      /* liste → bouton resserré */
.dom-list li{font-size:1.0625rem;line-height:1.5}   /* 17 px */
.dom-link{font-size:1rem;font-weight:600}

/* --- images : présence renforcée, haut aligné sur le bloc texte --- */
.dom-media{display:flex}
.dom-media .ph{width:100%;height:100%}
.ph.r-dom{aspect-ratio:auto;min-height:clamp(380px,33vw,540px)}

/* --- responsive V4 ------------------------------------------- */
@media(max-width:1200px){
  .hero-grid{grid-template-columns:minmax(0,56%) minmax(0,44%)}
}
@media(max-width:1024px){
  .dom-grid,.dom.reverse .dom-grid{grid-template-columns:1fr}
  .dom-media{max-width:720px}
  .ph.r-dom{aspect-ratio:4/3;min-height:0}
}
@media(max-width:960px){
  .hero-grid{grid-template-columns:1fr}
  .hero h1{max-width:18ch}
}
@media(max-width:680px){
  .hero{--h1-hero:clamp(2.05rem,9.5vw,2.85rem);padding-top:1.4rem;padding-bottom:2.4rem}
  .dom{padding-block:2.9rem}
  .dom-copy h2{font-size:clamp(1.7rem,7.5vw,2.1rem)}
  .dom-promise{font-size:1.15rem;max-width:none}
  .dom-lead{font-size:1.05rem}
  .dom-listlabel{margin-top:1.4rem}
  .dom-list{grid-template-columns:1fr;margin:0 0 1.1rem}
}

/* =============================================================
   V4.1 — HEADER (CTA « Contactez-nous ») ET PAGE CONTACT
   ============================================================= */

/* --- cartes de choix ---------------------------------------- */
.choice-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.choice-card{display:flex;flex-direction:column;align-items:flex-start;gap:.55rem;
  text-align:left;background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:1.5rem 1.4rem 1.3rem;font-family:inherit;color:var(--ink);height:100%;
  transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.choice-card:hover{transform:translateY(-3px);border-color:var(--orange);box-shadow:var(--shadow-lg)}
.choice-card.is-selected{border-color:var(--orange);box-shadow:var(--shadow-lg)}
.choice-card .ci{width:44px;height:44px;border-radius:12px;background:var(--orange-tint);
  display:grid;place-items:center;margin-bottom:.35rem}
.choice-card .ci svg{width:22px;height:22px;stroke:var(--orange);fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}
.choice-card .ct{font-size:1.08rem;font-weight:700;color:var(--ink);line-height:1.25}
.choice-card .cd{font-size:.94rem;color:var(--muted);line-height:1.55;flex:1}
.choice-card .carrow{margin-top:.6rem;font-size:.9rem;font-weight:700;color:var(--orange);
  display:inline-flex;align-items:center;gap:.4rem}
.choice-card:hover .carrow .arrow{transform:translateX(3px)}
.choice-card .carrow .arrow{transition:transform .25s var(--ease)}
.band.grey .choice-card{background:var(--bg)}

/* --- hub de contact : deux colonnes -------------------------- */
.contact-hub{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,3.5rem);align-items:start}
.contact-hub .info-item .val{line-height:1.6}
.map-embed{position:relative;overflow:hidden;border-radius:14px;border:1px solid var(--line);
  box-shadow:var(--shadow-lg);aspect-ratio:4/3;background:var(--bg-3)}
.map-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map-link{margin-top:1rem;display:inline-flex}

/* --- formulaire : mention facultative ------------------------ */
.field label .opt{font-weight:400;color:var(--muted)}

/* --- responsive ---------------------------------------------- */
@media(max-width:1024px){
  .choice-grid{grid-template-columns:repeat(2,1fr)}
  .contact-hub{grid-template-columns:1fr}
  .map-embed{aspect-ratio:16/10}
}
@media(max-width:600px){
  .choice-grid{grid-template-columns:1fr}
  .map-embed{aspect-ratio:4/3}
}

/* =============================================================
   V4.2 — PAGE SOLUTIONS DIGITALES (page de vente B2B)
   Composants réutilisables : badges, cartes d'enjeux, timeline,
   cartes de solutions, cartes différenciantes, apparition étagée.
   ============================================================= */

/* --- hero : promesse, texte, badges -------------------------- */
.dhero-lead{font-size:clamp(1.15rem,1.6vw,1.375rem);   /* 22 px */
  font-weight:600;line-height:1.4;color:#fff;max-width:24ch;margin:1rem 0 .9rem}
.dhero-text{font-size:1.125rem;line-height:1.7;        /* 18 px */
  color:rgba(255,255,255,.86);max-width:680px;margin-bottom:1.5rem}
.dhero-sd h1{font-size:clamp(2.3rem,4vw,3rem);max-width:none;margin-bottom:0}
.dhero-sd .dhero-eyebrow{font-size:14px;font-weight:600;letter-spacing:.16em}

.badges{display:flex;flex-wrap:wrap;gap:.5rem}
.badge{display:inline-flex;align-items:center;font-size:.82rem;font-weight:500;
  padding:.42rem .85rem;border-radius:999px;background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.2);color:rgba(255,255,255,.94);
  opacity:0;transform:translateY(8px);animation:badge-in .5s var(--ease) both}
.badge:nth-child(1){animation-delay:.40s}
.badge:nth-child(2){animation-delay:.48s}
.badge:nth-child(3){animation-delay:.56s}
.badge:nth-child(4){animation-delay:.64s}
.badge:nth-child(5){animation-delay:.72s}
.badge:nth-child(6){animation-delay:.80s}
@keyframes badge-in{to{opacity:1;transform:none}}
/* variante fond clair, si les badges sont réutilisés hors du hero sombre */
.band .badge{background:var(--bg-2);border-color:var(--line);color:var(--ink)}

/* --- apparition progressive des cartes ----------------------- */
.js .stagger.in > *{animation:card-in .55s var(--ease) both}
.js .stagger.in > *:nth-child(1){animation-delay:.02s}
.js .stagger.in > *:nth-child(2){animation-delay:.09s}
.js .stagger.in > *:nth-child(3){animation-delay:.16s}
.js .stagger.in > *:nth-child(4){animation-delay:.23s}
.js .stagger.in > *:nth-child(5){animation-delay:.30s}
.js .stagger.in > *:nth-child(6){animation-delay:.37s}
@keyframes card-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}

/* --- 2. les enjeux ------------------------------------------- */
.issue-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
.issue-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.6rem 1.5rem;
  transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.issue-card:hover{transform:translateY(-3px);border-color:var(--line-2);box-shadow:var(--shadow-lg)}
.band.grey .issue-card{background:var(--bg)}
.issue-card .ii{width:44px;height:44px;border-radius:12px;background:var(--bg-3);
  display:grid;place-items:center;margin-bottom:1rem}
.issue-card .ii svg{width:22px;height:22px;stroke:var(--blue-2);fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.issue-card h3{font-size:1.1rem;margin-bottom:.45rem;line-height:1.3}
.issue-card p{color:var(--muted);font-size:.96rem;line-height:1.6;max-width:680px}

/* --- 3. timeline de l'approche ------------------------------- */
.timeline{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:1.2rem;
  position:relative;padding:0;margin:0}
.timeline::before{content:"";position:absolute;left:0;right:0;top:19px;height:2px;
  background:linear-gradient(90deg,var(--orange),rgba(239,114,21,.18));border-radius:2px}
.tl-step{position:relative;padding-top:0}
.tl-dot{width:38px;height:38px;border-radius:50%;background:var(--orange);color:#fff;
  font-weight:800;font-size:.95rem;display:grid;place-items:center;position:relative;z-index:1;
  box-shadow:0 0 0 6px var(--bg-2)}
.band:not(.grey) .tl-dot{box-shadow:0 0 0 6px var(--bg)}
.tl-body{margin-top:1.1rem}
.tl-body h3{font-size:1.08rem;margin-bottom:.4rem}
.tl-body p{color:var(--muted);font-size:.94rem;line-height:1.6;max-width:680px}

/* --- 4. cartes de solutions ---------------------------------- */
.scard-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.1rem}
.scard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);
  border-radius:16px;padding:1.7rem 1.6rem 1.5rem;
  transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.scard:hover{transform:translateY(-4px);border-color:var(--orange);box-shadow:var(--shadow-lg)}
.band.grey .scard{background:var(--bg)}
.scard .si{width:46px;height:46px;border-radius:13px;background:var(--orange-tint);
  display:grid;place-items:center;margin-bottom:1.1rem}
.scard .si svg{width:23px;height:23px;stroke:var(--orange);fill:none;stroke-width:1.6;
  stroke-linecap:round;stroke-linejoin:round}
.scard h3{font-size:1.18rem;margin-bottom:.55rem;line-height:1.3}
.scard p{color:var(--muted);font-size:.96rem;line-height:1.65;max-width:680px;flex:1;margin-bottom:1.1rem}

/* --- 5. cartes différenciantes ------------------------------- */
.wcard-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.wcard{background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.7rem 1.5rem;
  transition:transform .25s var(--ease),border-color .25s,box-shadow .25s}
.wcard:hover{transform:translateY(-3px);border-color:var(--line-2);box-shadow:var(--shadow-lg)}
.band.grey .wcard{background:var(--bg)}
.wcard .wnum{display:block;font-size:.82rem;font-weight:800;letter-spacing:.1em;
  color:var(--orange);margin-bottom:.9rem}
.wcard h3{font-size:1.1rem;margin-bottom:.5rem;line-height:1.3}
.wcard p{color:var(--muted);font-size:.95rem;line-height:1.6;max-width:680px}

/* --- largeur de lecture : jamais plus de 680 px -------------- */
#enjeux .section-lead,#approche .section-lead,#solutions .section-lead,
#pourquoi .section-lead,#autres-domaines .section-lead{max-width:680px}

/* --- responsive ---------------------------------------------- */
@media(max-width:1100px){
  .issue-grid,.scard-grid{grid-template-columns:repeat(2,1fr)}
  .wcard-grid{grid-template-columns:repeat(2,1fr)}
  .timeline{grid-template-columns:repeat(3,1fr);gap:1.6rem 1.2rem}
  .timeline::before{display:none}
}
@media(max-width:760px){
  .issue-grid,.scard-grid,.wcard-grid{grid-template-columns:1fr}
  .timeline{grid-template-columns:1fr;gap:0;padding-left:1.4rem}
  .timeline::before{display:block;left:19px;right:auto;top:8px;bottom:8px;width:2px;height:auto;
    background:linear-gradient(180deg,var(--orange),rgba(239,114,21,.18))}
  .tl-step{display:grid;grid-template-columns:auto 1fr;gap:1rem;padding-bottom:1.6rem;margin-left:-1.4rem}
  .tl-body{margin-top:.25rem}
  .dhero-sd h1{font-size:clamp(2rem,9vw,2.6rem)}
  .dhero-lead{font-size:1.15rem;max-width:none}
  .dhero-text{font-size:1.04rem}
  .badge{font-size:.78rem;padding:.36rem .72rem}
}
@media(prefers-reduced-motion:reduce){
  .badge,.js .stagger.in > *{animation:none!important;opacity:1;transform:none}
}

/* =============================================================
   V4.3 — PAGE INFRASTRUCTURES IT
   Réutilise les composants de la V4.2 ; seules deux variantes
   sont ajoutées : pastilles de timeline à icône et mots-clés
   dans les cartes de solutions.
   ============================================================= */

/* --- timeline à icônes (variante des pastilles numérotées) --- */
.timeline-icons .tl-dot svg{width:19px;height:19px;stroke:#fff;fill:none;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round}

/* --- mots-clés dans les cartes de solutions ------------------ */
.scard .chips{margin:0 0 1.15rem}
.scard .chips span{font-size:.78rem;padding:.28rem .6rem}
.scard p{margin-bottom:.95rem}
/* hauteurs de cartes égalisées sur toute la grille, pas seulement par ligne */
.scard-grid,.issue-grid,.wcard-grid{grid-auto-rows:1fr}
@media(max-width:760px){
  /* en colonne unique, chaque carte reprend sa hauteur naturelle */
  .scard-grid,.issue-grid,.wcard-grid{grid-auto-rows:auto}
}

/* =============================================================
   V4.4 — ÉQUIPEMENTS IT · SOLUTIONS ÉNERGÉTIQUES · SERVICES PRO
   ============================================================= */

/* --- grille de solutions sur deux colonnes (Accompagnement) ---- */
.scard-grid.g2{grid-template-columns:repeat(2,1fr)}
@media(max-width:760px){.scard-grid.g2{grid-template-columns:1fr}}

/* --- menu : libellés longs après harmonisation ---------------
   Le header ne doit pas se replier avant 1024 px (contrainte V3.2).
   Gouttière et taille resserrées sous 1400 px : marge minimale
   mesurée de +24 px entre 1060 et 1440 px. */
@media(max-width:1400px){
  .nav-links{gap:.7rem}
  .nav-links a{font-size:.85rem}
  .nav-cta{padding:.6rem .95rem}
}

/* --- utilitaires (remplacent les attributs style inline, requis par la CSP) --- */
.section-lead.is-centered{margin-inline:auto}
.section-lead.has-top-gap{margin-top:1rem}
.btn-block{width:100%;justify-content:center}

/* --- pot de miel anti-robots : hors écran plutôt que display:none,
       que certains robots savent contourner --- */
.hp{position:absolute!important;left:-9999px!important;top:auto;width:1px;height:1px;overflow:hidden}

/* --- boutons d'action du hero (accueil) --- */
.hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.8rem}
@media(max-width:520px){
  .hero-actions{gap:.65rem}
  .hero-actions .btn{width:100%;justify-content:center}
}

/* --- note de réassurance sous les secteurs (accueil) --- */
.sectors-note{margin:1.8rem auto 0;max-width:62ch;text-align:center;color:var(--muted);font-size:.98rem;line-height:1.6}

/* --- section Réalisations (accueil) --- */
.proj-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.6rem;margin-top:2.4rem}
.proj-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;transition:transform .25s var(--ease),box-shadow .25s var(--ease)}
.proj-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.ph.r-proj{aspect-ratio:16/10;border:0;border-radius:0}
.proj-body{padding:1.4rem 1.5rem 1.6rem;display:flex;flex-direction:column;gap:.7rem;flex:1}
.proj-body h3{font-size:1.18rem;line-height:1.3}
.proj-body p{color:var(--muted);font-size:.96rem;line-height:1.6}
.proj-result{margin-top:auto;padding-top:.9rem;border-top:1px dashed var(--line-2);font-size:.9rem;color:var(--orange-2);font-weight:600}
@media(max-width:860px){.proj-grid{grid-template-columns:1fr;gap:1.3rem}}

/* =============================================================
   CARROUSEL DU HERO (accueil)
   Sans JavaScript, les diapositives s'empilent et restent toutes
   accessibles : le contenu ne dépend jamais du script.
   ============================================================= */
.hero-car{position:relative}
.js .hero-slide{display:none}
.js .hero-slide.is-active{display:block;animation:heroSlideIn .45s var(--ease) both}
@keyframes heroSlideIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Titre de la 2e diapositive : même rendu que le h1, sans en être un
   (une page ne doit porter qu'un seul h1). */
.hero .hero-title{font-size:clamp(2.7rem,4.5vw,4rem);line-height:1.08;letter-spacing:-.035em;
  font-weight:800;max-width:620px;margin:1rem 0;color:var(--ink)}


/* Commandes */
.hero-car-nav{display:flex;align-items:center;justify-content:center;gap:.9rem;margin-top:2.2rem}
.hero-car-btn{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;
  border-radius:50%;border:1.5px solid var(--line-2);background:#fff;color:var(--ink);
  cursor:pointer;transition:border-color .2s,color .2s,transform .2s var(--ease)}
.hero-car-btn:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-2px)}
.hero-car-btn:focus-visible{outline:2px solid var(--orange);outline-offset:3px}
.hero-car-btn svg{width:18px;height:18px}
.hero-car-dots{display:flex;align-items:center;gap:.5rem}
.hero-car-dot{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:var(--line-2);
  cursor:pointer;transition:background .2s,width .25s var(--ease)}
.hero-car-dot[aria-selected="true"]{background:var(--orange);width:26px;border-radius:999px}
.hero-car-dot:focus-visible{outline:2px solid var(--orange);outline-offset:3px}

/* Le repère « Découvrir » est en position absolue au bas du hero :
   on lui laisse la place sous les commandes. */
.hero:has(.hero-car) .hero-car-nav{margin-bottom:1.4rem}
@media(max-width:680px){.hero-car-nav{margin-top:1.6rem;margin-bottom:0}}
@media(prefers-reduced-motion:reduce){
  .js .hero-slide.is-active{animation:none}
  .hero-car-btn:hover,.hero-car-dot{transition:none}
}

/* =============================================================
   FICHE PRODUIT (Équipements IT)
   Préfixe .fp- : ne percute aucune classe existante.
   Les deux règles globales du bloc d'origine (.scard h3 / .scard p)
   ont été écartées : elles auraient rétréci les titres et assombri
   les textes des cartes sur les cinq pages de domaine.
   .fp-hero n'impose pas de fond : .dhero est déjà en --blue-deep.
   ============================================================= */
.fp-hero .badges{margin-top:1.6rem}

/* --- bloc « l'essentiel » : visuel + texte --- */
.fp-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.fp-copy{max-width:680px}
.fp-copy p{margin-bottom:.9rem;color:var(--muted)}
.fp-copy p:last-child{margin-bottom:0}
.fp-media{background:linear-gradient(135deg,var(--bg-3),var(--bg-2));
  border:1px solid var(--line);border-radius:var(--r);padding:clamp(1.2rem,3vw,2rem)}
.fp-media svg{width:100%;height:auto;display:block}
@media(max-width:860px){
  .fp-grid{grid-template-columns:1fr}
  .fp-media{order:-1}
}

/* --- tableau de caractéristiques --- */
.fp-specs{display:grid;grid-template-columns:repeat(2,1fr);gap:0 clamp(1.5rem,3vw,3rem);
  border-top:1px solid var(--line)}
.fp-spec{display:grid;grid-template-columns:minmax(140px,34%) 1fr;gap:1rem;
  padding:.95rem 0;border-bottom:1px solid var(--line);align-items:baseline}
.fp-spec dt{font-weight:600;color:var(--ink);font-size:.94rem}
.fp-spec dd{margin:0;color:var(--text);font-size:.98rem;line-height:1.5}
@media(max-width:860px){.fp-specs{grid-template-columns:1fr}}
@media(max-width:480px){
  .fp-spec{grid-template-columns:1fr;gap:.2rem}
  .fp-spec dt{font-size:.82rem;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
}

/* --- note de bas de section --- */
.fp-note{margin-top:1.6rem;max-width:680px;font-size:.94rem;line-height:1.6;
  color:var(--muted);border-left:2px solid var(--orange);padding-left:1rem}

/* --- galerie de la fiche produit --- */
.fp-gal-main{aspect-ratio:1/1;display:grid;place-items:center}
.fp-gal-img{width:100%;height:100%;object-fit:contain;display:block}
.fp-gal-thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:.6rem;margin-top:.9rem}
.fp-gal-thumb{padding:.3rem;border:1.5px solid var(--line);border-radius:10px;background:#fff;
  cursor:pointer;aspect-ratio:1/1;overflow:hidden;transition:border-color .2s,transform .2s var(--ease)}
.fp-gal-thumb img{width:100%;height:100%;object-fit:contain;display:block}
.fp-gal-thumb:hover{border-color:var(--line-2);transform:translateY(-2px)}
.fp-gal-thumb.is-active{border-color:var(--orange)}
.fp-gal-thumb:focus-visible{outline:2px solid var(--orange);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.fp-gal-thumb:hover{transform:none}}

/* --- photo produit de la diapositive 2 du carrousel ---
   Le conteneur garde le ratio 4/3 du hero pour que les deux diapositives
   aient exactement la meme hauteur : aucun saut a la rotation.
   L image est rognee au plus pres du produit, elle remplit donc le cadre.
   Pas d overflow:hidden ici : l ancien conteneur .ph coupait le bas du
   portable sur une centaine de pixels. --- */
.hero-produit{aspect-ratio:4/3;position:relative}
.hero-produit-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;
  filter:drop-shadow(0 22px 30px rgba(10,37,64,.20))}
@media(max-width:680px){
  .hero-produit-img{filter:drop-shadow(0 14px 20px rgba(10,37,64,.18))}
}
