/* ============================================================
   DRJ CLOUD — Design System
   Direction: corporate cloud infrastructure, sobre & aéré.
   Palette ancrée "ciel/cloud" : bleu nuit profond + bleu signal
   + un vert menthe discret pour les états "actif/vérifié".
   ============================================================ */

:root {
  /* Couleurs de fond */
  --ink:        #0B1B33;   /* bleu nuit, texte fort & sections sombres */
  --ink-2:      #12294a;   /* bleu nuit secondaire */
  --slate:      #46566f;   /* texte courant atténué */
  --mist:       #6b7a93;   /* texte tertiaire / légendes */
  --line:       #e6ebf2;   /* hairlines / bordures */
  --paper:      #ffffff;   /* fond blanc */
  --paper-2:    #f5f8fc;   /* fond gris-bleu très clair */
  --paper-3:    #eef3fa;   /* fond cartes alternées */

  /* Accents */
  --signal:     #2563eb;   /* bleu signal — CTA principal */
  --signal-700: #1d4ed8;
  --signal-300: #93b4fb;
  --signal-50:  #eaf1ff;
  --mint:       #16b981;   /* vert "actif / vérifié" */
  --mint-50:    #e6f8f1;
  --halo:       #c9defc;   /* halo cloud clair */

  /* Typo */
  --display: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;

  /* Rayons & ombres */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(11,27,51,.06), 0 2px 8px rgba(11,27,51,.04);
  --shadow:    0 4px 14px rgba(11,27,51,.07), 0 12px 32px rgba(11,27,51,.06);
  --shadow-lg: 0 20px 48px rgba(11,27,51,.12);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img,svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

/* ---------- Typo helpers ---------- */
h1,h2,h3,h4 { font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.eyebrow {
  font-family: var(--body);
  font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--signal);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:""; width: 26px; height: 2px; background: var(--signal); border-radius: 2px; }
.eyebrow.on-dark { color: var(--signal-300); }
.eyebrow.on-dark::before { background: var(--signal-300); }

.lead { font-size: clamp(17px, 2vw, 19px); color: var(--slate); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--dark { background: var(--ink); color: #cdd8e8; }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.section--mist { background: var(--paper-2); }

.grid { display: grid; gap: 28px; }
@media (min-width: 720px){ .g-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 940px){ .g-3 { grid-template-columns: repeat(3,1fr); } .g-4 { grid-template-columns: repeat(4,1fr);} }

.center { text-align: center; }
.measure { max-width: 640px; }
.measure.center { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 16px; line-height: 1;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--signal); color: #fff; box-shadow: 0 6px 18px rgba(37,99,235,.28); }
.btn-primary:hover { background: var(--signal-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(37,99,235,.34); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--signal-300); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-dark { background: #fff; color: var(--ink); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.25); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-lg { padding: 17px 30px; font-size: 17px; }

.arrow { transition: transform .2s ease; }
.btn:hover .arrow, .lnk:hover .arrow { transform: translateX(4px); }

.lnk { display:inline-flex; align-items:center; gap:8px; font-weight:600; color: var(--signal); }
.lnk svg { width: 16px; height: 16px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--signal); font-weight: 700; }

.nav-menu { display: none; align-items: center; gap: 4px; margin-left: 8px; }
@media (min-width: 1040px){ .nav-menu { display: flex; } }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 9px; font-weight: 500; font-size: 15.5px; color: var(--ink);
  transition: background .15s, color .15s;
}
.nav-link:hover { background: var(--paper-2); color: var(--signal); }
.nav-link svg { width: 14px; height: 14px; opacity: .6; transition: transform .2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 300px;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown.wide { min-width: 540px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.dd-link { display: flex; gap: 12px; padding: 11px 12px; border-radius: 11px; transition: background .15s; }
.dd-link:hover { background: var(--paper-2); }
.dd-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--signal-50); display: grid; place-items: center; color: var(--signal); }
.dd-ic svg { width: 19px; height: 19px; }
.dd-tt { font-weight: 600; font-size: 15px; color: var(--ink); }
.dd-ds { font-size: 13px; color: var(--mist); line-height: 1.4; }
.dd-foot { grid-column: 1/-1; margin-top: 4px; padding: 12px; border-top: 1px solid var(--line); display:flex; justify-content:space-between; align-items:center; }
.dd-foot a { font-weight: 600; color: var(--signal); font-size: 14px; }

.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-phone { display: none; font-weight: 600; font-size: 15px; color: var(--ink); }
@media (min-width: 1200px){ .nav-phone { display: inline-flex; align-items:center; gap:7px;} .nav-phone svg{width:16px;height:16px;color:var(--signal);} }

.burger { display: grid; gap: 5px; padding: 10px; margin-left: auto; }
@media (min-width: 1040px){ .burger { display: none; } }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
body.menu-open .burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2){ opacity: 0; }
body.menu-open .burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* mobile drawer */
.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 55; background: #fff;
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
  padding: 24px var(--gutter) 60px;
}
body.menu-open .mobile-menu { transform: translateX(0); }
.mm-group { border-bottom: 1px solid var(--line); padding: 6px 0; }
.mm-group > summary { display:flex; justify-content:space-between; align-items:center; padding: 14px 4px; font-family:var(--display); font-weight:600; font-size:18px; cursor:pointer; list-style:none; }
.mm-group > summary::-webkit-details-marker{ display:none; }
.mm-group > summary svg{ width:18px; height:18px; transition:.2s; color:var(--mist);}
.mm-group[open] > summary svg{ transform: rotate(180deg); }
.mm-sub { padding: 4px 4px 14px; display: grid; gap: 2px; }
.mm-sub a { padding: 10px 12px; border-radius: 9px; color: var(--slate); font-weight:500; }
.mm-sub a:hover { background: var(--paper-2); color: var(--signal); }
.mm-flat { display:block; padding: 16px 4px; font-family:var(--display); font-weight:600; font-size:18px; border-bottom:1px solid var(--line); }
.mm-cta { margin-top: 22px; display: grid; gap: 12px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #d6e0f0; }
.hero::before { /* halo cloud */
  content:""; position:absolute; width: 900px; height: 900px; right: -260px; top: -340px;
  background: radial-gradient(circle, rgba(37,99,235,.34), transparent 62%);
  filter: blur(8px); pointer-events:none;
}
.hero::after {
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 26px 26px; mask-image: linear-gradient(transparent, #000 30%, #000 70%, transparent);
  pointer-events:none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: 48px; align-items: center; padding-block: clamp(56px, 8vw, 104px); }
@media (min-width: 980px){ .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 9px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: 13.5px; font-weight: 500; color: #cdd8e8;
}
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(22,185,129,.22); }

.hero h1 { color: #fff; font-size: clamp(36px, 5.4vw, 60px); margin: 22px 0 18px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--signal-300); }
.hero p.lead { color: #aebed6; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-stats { display: flex; gap: 34px; margin-top: 44px; flex-wrap: wrap; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: 30px; color: #fff; letter-spacing:-.02em; }
.stat .l { font-size: 13.5px; color: #91a3bf; }

/* ---------- Hero visual : carte console "infrastructure" ---------- */
.console {
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; backdrop-filter: blur(6px);
}
.console-bar { display:flex; align-items:center; gap:8px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.09); }
.console-bar .d { width: 11px; height: 11px; border-radius: 50%; }
.console-bar .d:nth-child(1){ background:#ff5f57;} .console-bar .d:nth-child(2){ background:#febc2e;} .console-bar .d:nth-child(3){ background:#28c840;}
.console-bar .t { margin-left: 8px; font-size: 12.5px; color:#8fa0bc; font-family: ui-monospace, monospace; }
.console-body { padding: 18px; display: grid; gap: 12px; }
.node {
  display:flex; align-items:center; gap: 13px; padding: 13px 15px; border-radius: 13px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
}
.node .ic { width: 36px; height: 36px; border-radius: 9px; flex:none; display:grid; place-items:center; background: rgba(37,99,235,.18); color: var(--signal-300); }
.node .ic svg{ width: 18px; height: 18px; }
.node .meta { flex: 1; min-width: 0; }
.node .meta b { display:block; font-size: 14px; color:#eaf0f9; font-weight:600; }
.node .meta span { font-size: 12.5px; color:#8fa0bc; }
.node .status { font-size: 12px; font-weight:600; color: var(--mint); display:flex; align-items:center; gap:6px; }
.node .status::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--mint); box-shadow:0 0 0 3px rgba(22,185,129,.2);}
.bar-track { height:6px; border-radius:99px; background: rgba(255,255,255,.08); overflow:hidden; }
.bar-fill { height:100%; border-radius:99px; background: linear-gradient(90deg,var(--signal),var(--signal-300)); }

/* ============================================================
   CARDS — services / sectors / generic
   ============================================================ */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .ic-box { width: 52px; height: 52px; border-radius: 14px; background: var(--signal-50); color: var(--signal); display:grid; place-items:center; margin-bottom: 20px; }
.card .ic-box svg { width: 25px; height: 25px; }
.card .tag { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mist); }
.card h3 { font-size: 21px; margin: 6px 0 10px; }
.card p { color: var(--slate); font-size: 15.5px; }
.card .lnk { margin-top: 18px; }
.card.is-link::after { content:""; position:absolute; inset:0; border-radius: var(--r-lg); }

/* sector chip cards */
.chips { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); }
.chip {
  display:flex; align-items:center; gap: 14px; padding: 16px 18px;
  background:#fff; border:1px solid var(--line); border-radius: var(--r);
  transition: .18s; font-weight:600; color: var(--ink); font-size: 15.5px;
  position: relative;
}
.chip:hover { border-color: var(--signal-300); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.chip .ci { width: 40px; height:40px; flex:none; border-radius:11px; background: var(--signal-50); color:var(--signal); display:grid; place-items:center;}
.chip .ci svg{ width: 20px; height:20px; }
.chip .arrow-sm { margin-left:auto; color: var(--mist); transition:.2s; }
.chip:hover .arrow-sm { color: var(--signal); transform: translateX(3px); }

/* ============================================================
   FEATURE SPLIT (image-like panel + checklist)
   ============================================================ */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px){ .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split.reverse > .panel { order: 2; } }
.checklist { display: grid; gap: 18px; margin-top: 28px; }
.checklist li { display: flex; gap: 14px; }
.checklist .ck { width: 26px; height: 26px; flex:none; border-radius: 8px; background: var(--mint-50); color: var(--mint); display:grid; place-items:center; margin-top: 2px; }
.checklist .ck svg { width: 15px; height: 15px; }
.checklist b { display:block; font-size: 16.5px; color: var(--ink); }
.checklist span { font-size: 14.5px; color: var(--slate); }

/* abstract visual panel (no stock photo, drawn UI) */
.panel { position: relative; border-radius: var(--r-xl); padding: 34px; background: linear-gradient(160deg, var(--paper-3), #fff); border: 1px solid var(--line); box-shadow: var(--shadow); }
.panel.dark { background: linear-gradient(160deg, var(--ink), var(--ink-2)); border-color: rgba(255,255,255,.08); }
.mini-card { background:#fff; border-radius: var(--r); box-shadow: var(--shadow-sm); padding: 16px 18px; border: 1px solid var(--line); }
.mini-card + .mini-card { margin-top: 14px; }
.mini-row { display:flex; align-items:center; gap: 12px; }
.skel { height: 9px; border-radius: 6px; background: var(--paper-3); }

/* ============================================================
   PROCESS (numbered — used only where order matters)
   ============================================================ */
.steps { display: grid; gap: 24px; }
@media (min-width: 880px){ .steps { grid-template-columns: repeat(3,1fr); } }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px; position: relative; }
.step .num { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--signal); background: var(--signal-50); width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; margin-bottom: 20px; }
.step h3 { font-size: 19px; margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 15px; }

/* ============================================================
   LOGOS strip
   ============================================================ */
.logos { display:flex; flex-wrap:wrap; gap: 14px 40px; align-items:center; justify-content:center; }
.logos span { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--mist); opacity:.7; letter-spacing:-.01em; transition:.2s;}
.logos span:hover { opacity:1; color: var(--slate); }

/* ============================================================
   STAT band
   ============================================================ */
.statband { display:grid; gap: 28px; grid-template-columns: repeat(2,1fr); }
@media (min-width:880px){ .statband { grid-template-columns: repeat(4,1fr); } }
.statband .s .n { font-family: var(--display); font-weight:700; font-size: clamp(34px,4vw,46px); color: var(--signal); letter-spacing:-.02em; }
.statband .s .l { color: var(--slate); font-size: 15px; margin-top: 4px; }
.section--dark .statband .s .n { color: var(--signal-300); }
.section--dark .statband .s .l { color:#9fb0cb; }

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.quote-grid { display:grid; gap: 24px; }
@media (min-width:880px){ .quote-grid { grid-template-columns: repeat(3,1fr);} }
.quote { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 30px; }
.quote .stars { color: #f5b400; letter-spacing: 2px; font-size: 15px; }
.quote p { font-size: 16.5px; color: var(--ink); margin: 16px 0 22px; line-height: 1.55; }
.quote .who { display:flex; align-items:center; gap: 13px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg,var(--signal),var(--signal-300)); color:#fff; display:grid; place-items:center; font-weight:700; font-family:var(--display); }
.quote .who b { display:block; font-size: 15px; }
.quote .who span { font-size: 13.5px; color: var(--mist); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin-inline:auto; }
.faq details { background:#fff; border:1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { list-style:none; cursor:pointer; padding: 22px 24px; font-family: var(--display); font-weight:600; font-size: 17.5px; display:flex; justify-content:space-between; gap: 16px; align-items:center; }
.faq summary::-webkit-details-marker { display:none; }
.faq summary .pm { width: 28px; height: 28px; flex:none; border-radius: 8px; background: var(--signal-50); color: var(--signal); display:grid; place-items:center; transition: .2s; }
.faq details[open] summary .pm { transform: rotate(45deg); }
.faq .ans { padding: 0 24px 24px; color: var(--slate); font-size: 15.5px; }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band { position: relative; overflow:hidden; background: linear-gradient(135deg, var(--signal-700), var(--signal)); border-radius: var(--r-xl); padding: clamp(44px,6vw,72px); color:#fff; text-align:center; }
.cta-band::before { content:""; position:absolute; width: 520px; height:520px; right:-160px; bottom:-220px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 60%); }
.cta-band::after { content:""; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.10) 1px, transparent 1px); background-size: 24px 24px; opacity:.5; }
.cta-band > * { position:relative; z-index:2; }
.cta-band h2 { color:#fff; font-size: clamp(28px,3.6vw,40px); }
.cta-band p { color: rgba(255,255,255,.86); max-width: 560px; margin: 14px auto 30px; }
.cta-band .hero-cta { justify-content:center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #9fb0cb; padding-block: 64px 30px; }
.foot-grid { display:grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 760px){ .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-brand .brand { color:#fff; margin-bottom: 16px; }
.foot-brand p { font-size: 14.5px; max-width: 300px; color:#8fa0bc; }
.foot-contact { margin-top: 18px; display:grid; gap:8px; font-size: 14.5px; }
.foot-contact a { color:#cdd8e8; display:inline-flex; gap:8px; align-items:center; }
.foot-contact a:hover { color:#fff; }
.foot-contact svg{ width:15px; height:15px; color: var(--signal-300); flex:none; }
.foot-col h4 { color:#fff; font-size: 14px; letter-spacing:.06em; text-transform:uppercase; margin-bottom: 16px; }
.foot-col a { display:block; padding: 6px 0; font-size: 14.5px; color:#9fb0cb; }
.foot-col a:hover { color:#fff; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display:flex; flex-wrap:wrap; gap: 14px 24px; justify-content:space-between; align-items:center; font-size: 13.5px; }
.foot-bottom .links { display:flex; gap: 20px; flex-wrap:wrap;}
.foot-bottom a:hover { color:#fff; }
.badges { display:flex; flex-wrap:wrap; gap: 10px; margin-top: 22px; }
.badges span { font-size: 12.5px; padding: 6px 12px; border-radius: 99px; border:1px solid rgba(255,255,255,.14); color:#aebed6; display:inline-flex; align-items:center; gap:7px;}
.badges svg{ width:13px; height:13px; color: var(--mint);}

/* ============================================================
   PAGE HERO (interior pages, lighter)
   ============================================================ */
.phero { position: relative; background: var(--ink); color:#cdd8e8; overflow:hidden; }
.phero::before { content:""; position:absolute; width:760px; height:760px; left:-220px; top:-300px; background: radial-gradient(circle, rgba(37,99,235,.30), transparent 62%); }
.phero .wrap { position:relative; z-index:2; padding-block: clamp(56px,7vw,92px); }
.breadcrumb { display:flex; gap:8px; align-items:center; font-size: 13.5px; color:#8fa0bc; margin-bottom: 22px; flex-wrap:wrap; }
.breadcrumb a:hover { color:#fff; }
.breadcrumb svg{ width:13px; height:13px; opacity:.6;}
.phero h1 { color:#fff; font-size: clamp(33px,4.6vw,52px); max-width: 760px; }
.phero p { color:#aebed6; max-width: 600px; margin-top: 18px; font-size: clamp(16px,2vw,18.5px); }
.phero .hero-cta { margin-top: 30px; }

/* prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(24px,3vw,32px); margin: 40px 0 14px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }
.prose p { color: var(--slate); margin-bottom: 16px; }
.prose ul.bul { display:grid; gap: 12px; margin: 8px 0 20px; }
.prose ul.bul li { display:flex; gap:12px; color: var(--slate); }
.prose ul.bul .ck { width:24px;height:24px;flex:none;border-radius:7px;background:var(--mint-50);color:var(--mint);display:grid;place-items:center; margin-top:2px;}
.prose ul.bul .ck svg{width:14px;height:14px;}

/* utilities */
.mt-s{margin-top:14px}.mt-m{margin-top:28px}.mt-l{margin-top:48px}
.reveal { opacity:0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  * { animation: none !important; transition: none !important; scroll-behavior:auto !important;}
  .reveal { opacity:1; transform:none; }
}

:focus-visible { outline: 3px solid var(--signal-300); outline-offset: 2px; border-radius: 4px; }

/* ============================================================
   CORRECTIFS — checkmarks, header, menus déroulants
   ============================================================ */

/* 1. CHECKMARKS : contraindre la taille des SVG dans .ck */
.ck {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--mint-50);
  color: var(--mint);
}
.ck svg {
  width: 13px;
  height: 13px;
}
/* sécurité : tout SVG sans taille explicite est borné */
.prose.bul li { display: flex; align-items: flex-start; gap: 10px; }
.prose.bul li span:last-child { flex: 1; }

/* 2. HEADER : éviter le tassement, garder tout sur une ligne aérée */
.site-header .nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
}
.site-header .nav > * { white-space: nowrap; }
.site-header .brand { flex-shrink: 0; margin-right: auto; }

/* 3. MENUS DÉROULANTS : créer le "pont" invisible pour qu'ils restent ouverts */
.has-menu { position: relative; }
.has-menu .submenu,
.has-menu .dropdown {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, visibility .15s ease;
}
/* le pont : une zone invisible qui relie le bouton au menu */
.has-menu::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
}
.has-menu:hover .submenu,
.has-menu:hover .dropdown,
.has-menu:focus-within .submenu,
.has-menu:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ===== MENUS façon 8UP, adaptés DRJ Cloud ===== */
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(10px);
  background:#fff; border:1px solid var(--line); border-radius:16px;
  padding:12px; min-width:260px; box-shadow:var(--shadow-lg);
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .25s ease, transform .25s ease, visibility .25s;
  z-index:200;
}
.nav-item:hover .dropdown {
  opacity:1; visibility:visible; pointer-events:all;
  transform:translateX(-50%) translateY(0);
}
.dropdown.wide {
  width:min(680px, calc(100vw - 40px));
  display:grid; grid-template-columns:repeat(2,1fr); gap:4px;
}
.dd-link {
  display:flex; align-items:center; gap:12px;
  padding:10px 14px; border-radius:10px;
  text-decoration:none; color:var(--ink);
  transition:background .18s ease;
}
.dd-link:hover { background:var(--signal-50); }
.dd-ic {
  flex-shrink:0; width:36px; height:36px; border-radius:9px;
  background:var(--signal-50); color:var(--signal);
  display:flex; align-items:center; justify-content:center;
  transition:all .18s ease;
}
.dd-ic svg { width:18px; height:18px; }
.dd-link:hover .dd-ic { background:var(--signal); color:#fff; transform:scale(1.05); }
.dd-tt { font-size:.92rem; font-weight:600; color:var(--ink); line-height:1.3; }
.dd-ds { font-size:.78rem; color:var(--mist); line-height:1.35; }
.dd-foot {
  grid-column:1 / -1;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding:14px 16px 6px; margin-top:6px;
  border-top:1px solid var(--line); flex-wrap:wrap;
}
.dd-foot a { color:var(--signal); font-weight:600; text-decoration:none; font-size:.85rem; }

/* ===== Bornage des SVG flèches restants ===== */
.dd-foot a svg { width:18px; height:18px; flex-shrink:0; vertical-align:middle; }
.btn svg { width:18px; height:18px; flex-shrink:0; vertical-align:middle; }
.nav-link svg { width:14px; height:14px; flex-shrink:0; }
/* filet de sécurité : tout SVG hors hero/illustration limité à 24px */
.dropdown svg, .dd-foot svg { max-width:24px; max-height:24px; }

/* ===== Pied de méga-menu : texte dessous, flèche à côté ===== */
.dd-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.dd-foot a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.dd-foot a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== Pied de méga-menu : texte dessous, flèche à côté ===== */
.dd-foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.dd-foot a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.dd-foot a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== Empiler titre + sous-titre dans les liens de menu ===== */
.dd-link > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.dd-tt { display: block; }
.dd-ds { display: block; }

/* ===== FAQ (accordéon) ===== */
.faq-item { border:1px solid var(--line); border-radius:var(--r); margin-bottom:12px; overflow:hidden; background:var(--paper); }
.faq-item summary { padding:18px 22px; font-weight:600; color:var(--ink); cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:var(--display); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; font-size:22px; color:var(--signal); flex-shrink:0; transition:transform .2s; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item .faq-a { padding:0 22px 18px; color:var(--slate); line-height:1.7; }
.card .tag { display:inline-block; margin-bottom:10px; }

/* ===== FAQ (accordéon) ===== */
.faq-item { border:1px solid var(--line); border-radius:var(--r); margin-bottom:12px; overflow:hidden; background:var(--paper); }
.faq-item summary { padding:18px 22px; font-weight:600; color:var(--ink); cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:var(--display); }
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after { content:"+"; font-size:22px; color:var(--signal); flex-shrink:0; transition:transform .2s; }
.faq-item[open] summary::after { transform:rotate(45deg); }
.faq-item .faq-a { padding:0 22px 18px; color:var(--slate); line-height:1.7; }
