/* ==========================================================================
   EventSoft — UI globale 2026 (header, footer, composants partagés)
   Dérivée de assets/css/style.css (home « Régie »), chargée après default.css.
   Règles :
   - tout est préfixé par .es-ui (classe du <body>) : spécificité >= 0,2,0,
     de quoi battre a:hover / a:focus / button:focus de Bootstrap et default.css ;
   - les règles d'éléments ne valent que dans les racines de la nouvelle UI (R) :
     :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section)
     le contenu Gutenberg des pages internes est stylé par es-content.css ;
   - classes renommées (collisions Bootstrap / default.css) : es-btn, es-card,
     es-container, es-tag, mainnav__item / mainnav__link, site-footer__top / __bottom.
   Sommaire : 0 polices de repli · 1 tokens · 2 base · 3 utilitaires · 4 composants
   5 topbar · 6 header, méga-menus, voile · 7 tiroir · 8 footer · 9 barre mobile
   10 sans JS · 11 préférences système
   ========================================================================== */

/* 0. Polices de repli calibrées (anti-CLS) ================================= */
@font-face{font-family:"Inter Fallback";src:local("Arial");size-adjust:107.12%;ascent-override:90.44%;descent-override:22.52%;line-gap-override:0%}
@font-face{font-family:"Jakarta Fallback";src:local("Arial");size-adjust:108.4%;ascent-override:96%;descent-override:20.3%;line-gap-override:0%}

/* 1. Tokens ================================================================ */
:root{
  color-scheme:light;
  interpolate-size:allow-keywords;

  /* Marque */
  --brand-indigo:#3238AA;
  --brand-indigo-700:#262B8A;
  --brand-indigo-900:#1A1E66;
  --brand-blue:#2E68CB;
  --brand-blue-600:#2558B5;
  --brand-blue-700:#1F4A99;
  --brand-sky:#32ABF5;
  --brand-sky-300:#8FD0FA;
  --brand-sky-100:#BFE6FD;
  --brand-navy:#204A7A;
  --blue-50:#EEF3FD; --blue-100:#DCE7FB; --blue-200:#BCD0F6;

  /* Neutres teintés bleu */
  --ink-900:#0F1A2E;
  --ink-800:#1B2840;
  --ink-700:#2B3A52;
  --ink-500:#56657C;
  --ink-400:#7D8AA0;
  --ink-300:#A9B4C5;
  --line:#E3E8F1; --line-strong:#CBD4E3;
  --bg:#FFFFFF; --bg-alt:#F5F7FB; --bg-tint:#EEF3FD;
  --highlight:#DCE7FB;

  /* Sombres */
  --dark-900:#081230;
  --dark-800:#0B1638;
  --dark-700:#13224D;
  --dark-line:rgba(255,255,255,.10);
  --on-dark:#FFFFFF; --on-dark-2:#C3CDE6; --on-dark-3:#8C9AC0;
  --on-grad:#FFFFFF; --on-grad-2:#EAF1FF;

  /* Dégradés */
  --grad-brand:linear-gradient(45deg,#3238AA 0%,#2E68CB 55%,#32ABF5 100%);
  --grad-brand-mobile:linear-gradient(165deg,#3238AA 0%,#2E68CB 68%,#32ABF5 100%);
  --grad-hero-veil:linear-gradient(90deg,rgba(26,30,102,.38) 0%,rgba(26,30,102,.16) 45%,rgba(26,30,102,0) 62%);
  --grad-hero-light:radial-gradient(50% 60% at 92% 0%,rgba(255,255,255,.20),rgba(255,255,255,0) 70%),
                    radial-gradient(70% 90% at 0% 100%,rgba(26,30,102,.45),rgba(26,30,102,0) 60%);
  --grad-btn:linear-gradient(135deg,#3238AA 0%,#2E68CB 100%);
  --grad-text:linear-gradient(90deg,#3238AA 0%,#2E68CB 100%);
  --grad-text-dark:linear-gradient(90deg,#8FD0FA 0%,#BCD0F6 100%);
  --grad-border:linear-gradient(140deg,rgba(50,56,170,.60) 0%,rgba(50,171,245,.60) 45%,#E3E8F1 80%);
  --grad-dark:radial-gradient(60% 80% at 100% 0%,rgba(50,171,245,.18),rgba(50,171,245,0) 60%),
              radial-gradient(50% 60% at 0% 100%,rgba(50,56,170,.35),rgba(50,56,170,0) 60%),#0B1638;
  --grad-rdv:linear-gradient(180deg,#EEF3FD 0%,#F5F7FB 100%);
  --grad-ghost:linear-gradient(180deg,rgba(143,208,250,.16) 0%,rgba(143,208,250,0) 85%);
  --grid-lines:rgba(255,255,255,.07);
  --grid-pattern:linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px) 0 0/40px 40px,
                 linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px) 0 0/40px 40px;

  /* Rayons */
  --r-xs:6px; --r-sm:10px; --r-btn:12px; --r-md:16px; --r-lg:20px; --r-xl:24px; --r-panel:28px; --r-pill:999px;

  /* Ombres (teintées marine) */
  --sh-xs:0 1px 2px rgba(15,26,46,.06);
  --sh-sm:0 1px 2px rgba(15,26,46,.05),0 4px 12px -4px rgba(15,26,46,.08);
  --sh-md:0 2px 4px rgba(15,26,46,.04),0 12px 32px -8px rgba(15,26,46,.14);
  --sh-lg:0 8px 24px -8px rgba(8,18,48,.18),0 32px 64px -16px rgba(8,18,48,.28);
  --sh-header:0 6px 20px -12px rgba(15,26,46,.25);
  --sh-cta:inset 0 1px 0 rgba(255,255,255,.22),0 8px 20px -6px rgba(46,104,203,.55);
  --sh-cta-white:0 10px 28px -8px rgba(8,18,48,.45);
  --sh-device:drop-shadow(0 32px 48px rgba(8,18,48,.35));

  /* Focus */
  --focus:#2E68CB; --focus-dark:#FFFFFF; --focus-w:2px; --focus-off:3px;

  /* Espacements */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:20px; --s-6:24px; --s-7:28px; --s-8:32px;
  --s-10:40px; --s-12:48px; --s-14:56px; --s-16:64px; --s-20:80px; --s-24:96px; --s-30:120px;
  --section-y:clamp(56px,2.5rem + 4vw,104px);
  --section-y-tight:clamp(40px,1.5rem + 3vw,72px);

  /* Mise en page */
  --container:1200px; --container-narrow:880px; --container-rdv:1080px;
  --gutter:clamp(16px,4vw,32px);
  --panel-inset:0px;
  --topbar-h:36px; --header-h:72px; --header-h-compact:60px; --header-h-mobile:60px; --mobilebar-h:68px;
  --measure:64ch;

  /* Mouvement */
  --ease-out:cubic-bezier(.2,.8,.2,1); --ease-in-out:cubic-bezier(.65,0,.35,1);
  --t-fast:120ms; --t-base:200ms; --t-slow:320ms; --t-reveal:560ms;

  /* Plans */
  --z-mobilebar:80; --z-veil:90; --z-header:100; --z-skip:1000;

  /* Typographie */
  --font-display:"Plus Jakarta Sans","Jakarta Fallback",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:"Inter","Inter Fallback",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --fs-display:clamp(2.125rem,1.25rem + 3.2vw,4rem);
  --fs-h2:clamp(1.75rem,1.2rem + 1.7vw,2.625rem);
  --fs-h2-panel:clamp(1.875rem,1.2rem + 2.2vw,3rem);
  --fs-h3:clamp(1.125rem,1.05rem + .3vw,1.3125rem);
  --fs-stat:clamp(2rem,.9rem + 2.4vw,3rem);
  --fs-lead:clamp(1.0625rem,1rem + .3vw,1.25rem);
  --fs-body:1rem; --fs-ui:.9375rem; --fs-small:.875rem; --fs-eyebrow:.8125rem; --fs-badge:.75rem;
  --fs-wordmark:clamp(3.5rem,18vw,15rem);
}
@media (min-width:768px){:root{--panel-inset:12px}}
@media (min-width:1280px){:root{--panel-inset:16px}}

/* 2. Base ================================================================== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--header-h-compact) + 16px)}
@media (max-width:767px){html{scroll-padding-top:calc(var(--header-h-mobile) + 12px);scroll-padding-bottom:84px}}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
/* Verrou sur body : son overflow se propage au viewport, html reste visible et position:sticky reste calé sur le viewport */
html.has-dialog{scrollbar-gutter:stable}
html.has-dialog body{overflow:hidden}

/* Body : Inter + couleurs des tokens partout ; display:flex et les order de default.css sont conservés */
.es-ui{background:var(--bg);color:var(--ink-700);font-family:var(--font-body)}
.es-ui ::selection{background:rgba(50,171,245,.25)}

/* Racines de la nouvelle UI : base de la home, sans fuite vers le contenu Gutenberg */
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section){
  font:400 var(--fs-body)/1.6 var(--font-body);-webkit-font-smoothing:antialiased}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) :is(img,svg){display:block;max-width:100%;height:auto}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) :is(h1,h2,h3){
  margin:0;font-family:var(--font-display);font-weight:700;line-height:inherit;letter-spacing:normal;color:var(--ink-900);text-wrap:balance}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) h1{font-size:2em}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) h2{font-size:1.5em}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) h3{font-size:1.17em}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) p{margin:0;text-wrap:pretty}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) a{color:inherit}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) ul{margin:0;padding:0}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) button{font:inherit;color:inherit}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) figure{margin:0}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) address{margin:0;font-style:normal}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) :focus-visible{outline:var(--focus-w) solid var(--focus);outline-offset:var(--focus-off)}
/* Bootstrap button:focus dessine l'anneau du navigateur même au clic souris */
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) :focus:not(:focus-visible){outline:0}
.es-ui .on-dark :focus-visible,.es-ui .panel--grad :focus-visible{outline-color:var(--focus-dark)}
/* Accordéons natifs */
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) summary{display:block;list-style:none;cursor:pointer}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) summary::-webkit-details-marker{display:none}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) details::details-content{block-size:0;overflow:clip;transition:block-size .26s var(--ease-out),content-visibility .26s allow-discrete}
.es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar,.es-zoom,.es-section) details[open]::details-content{block-size:auto}

/* Contenu des pages : <main> reprend le flex en colonne du <body> pour que les order de default.css
   (.clients-supl, .carousel-bottom-page, .compo-prefooter, #prefooter-demo…) restent valides */
.es-ui .es-main{display:flex;flex-direction:column;min-width:0}
.es-ui .es-main:focus{outline:none}

/* 3. Utilitaires =========================================================== */
.es-ui .es-container{width:min(100% - 2*var(--gutter),var(--container));margin-inline:auto}
.es-ui .sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.es-ui .reg{font-size:.6em;line-height:0;vertical-align:.55em;margin-left:.04em}

.es-ui .skip-link{position:absolute;left:16px;top:-100px;z-index:var(--z-skip);padding:10px 16px;border-radius:10px;
  background:var(--ink-900);color:#fff;font:600 15px/1.2 var(--font-body);text-decoration:none}
.es-ui .skip-link:focus{top:12px;outline:var(--focus-w) solid var(--focus);outline-offset:var(--focus-off)}
.es-ui .skip-link:focus:not(:focus-visible){top:-100px}

/* Icônes (sprite) */
.es-ui .i{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}

.es-ui .grad-text{background:var(--grad-text);-webkit-background-clip:text;background-clip:text;color:transparent;
  -webkit-box-decoration-break:clone;box-decoration-break:clone}
@supports not ((-webkit-background-clip:text) or (background-clip:text)){.es-ui .grad-text{background:none;color:var(--brand-blue)}}
.es-ui .hl{font-weight:600;color:var(--ink-900);background:linear-gradient(transparent 60%,var(--highlight) 60%)}

/* 4. Composants partagés =================================================== */

/* 4.1 Eyebrow + en-têtes de section */
.es-ui .eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0;font:600 var(--fs-eyebrow)/1 var(--font-body);
  letter-spacing:.08em;text-transform:uppercase;color:var(--brand-blue)}
.es-ui .eyebrow::before{content:"";width:16px;height:2px;border-radius:2px;background:var(--grad-brand)}
.es-ui .on-dark .eyebrow{color:var(--brand-sky-300)}

.es-ui .sec-head{margin-bottom:40px}
.es-ui .sec-head h2{margin-top:12px;font-size:var(--fs-h2);font-weight:700;line-height:1.15;letter-spacing:-.022em}
.es-ui .sec-head__lead{margin-top:16px;font-size:var(--fs-lead);line-height:1.55;color:var(--ink-500);max-width:60ch}
.es-ui .sec-head--center{text-align:center;max-width:720px;margin-inline:auto}
.es-ui .sec-head--center .sec-head__lead{margin-inline:auto}
.es-ui .sec-head--split{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px}
@media (max-width:767px){
  .es-ui .sec-head{margin-bottom:28px}
  .es-ui .sec-head--split{flex-direction:column;align-items:flex-start;gap:16px}
}

/* 4.2 Boutons */
.es-ui .es-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 20px;
  border-radius:var(--r-btn);border:1px solid transparent;font:600 1rem/1 var(--font-body);letter-spacing:-.005em;
  text-decoration:none;text-transform:none;white-space:nowrap;cursor:pointer;
  transition:background-color .16s var(--ease-out),color .16s,border-color .16s,box-shadow .16s,transform .16s}
.es-ui .es-btn svg{width:18px;height:18px;flex:none}
.es-ui .es-btn .i-arrow{transition:transform .16s var(--ease-out)}
.es-ui .es-btn:hover .i-arrow{transform:translateX(3px)}
.es-ui .es-btn--sm{min-height:40px;padding:0 16px;font-size:.9375rem;border-radius:var(--r-sm)}
.es-ui .es-btn--lg{min-height:52px;padding:0 24px}
.es-ui .es-btn--block{width:100%}

.es-ui .es-btn--primary{background:var(--brand-blue);color:#fff;box-shadow:var(--sh-cta)}
.es-ui .es-btn--primary:hover{background:var(--brand-blue-600);transform:translateY(-1px)}
.es-ui .es-btn--primary:active{background:var(--brand-blue-700);transform:translateY(0);box-shadow:var(--sh-xs)}

.es-ui .es-btn--secondary{background:#fff;color:var(--ink-900);border-color:var(--line-strong);box-shadow:var(--sh-xs)}
.es-ui .es-btn--secondary:hover{border-color:var(--brand-blue);color:var(--brand-blue)}
.es-ui .es-btn--secondary:active{background:var(--bg-alt)}

.es-ui .es-btn--white{background:#fff;color:var(--brand-indigo-700);box-shadow:var(--sh-cta-white)}
.es-ui .es-btn--white .i-arrow{color:var(--brand-blue)}
.es-ui .es-btn--white:hover{background:#F0F4FF;transform:translateY(-1px)}
.es-ui .es-btn--white:active{transform:translateY(0)}

.es-ui .es-btn--ghost-light{background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.55);color:#fff}
.es-ui .es-btn--ghost-light:hover{background:rgba(255,255,255,.16)}
.es-ui .es-btn--ghost-light:active{background:rgba(255,255,255,.22)}

.es-ui .link-arrow{display:inline-flex;align-items:center;gap:6px;min-height:44px;font:600 .9375rem/1.2 var(--font-body);
  color:var(--brand-blue);text-decoration:none;text-underline-offset:4px}
.es-ui .link-arrow .i{width:16px;height:16px;transition:transform .16s var(--ease-out)}
.es-ui .link-arrow:hover{text-decoration:underline;color:var(--brand-blue-700)}
.es-ui .link-arrow:hover .i{transform:translateX(3px)}
.es-ui .on-dark .link-arrow{color:var(--brand-sky-300)}
.es-ui .on-dark .link-arrow:hover{color:#fff}

.es-ui .icon-btn{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;
  border:1px solid var(--line);background:#fff;color:var(--ink-700);cursor:pointer;
  transition:border-color .16s,background-color .16s,opacity .16s,color .16s}
.es-ui .icon-btn .i{width:18px;height:18px}
.es-ui .icon-btn:hover{border-color:var(--line-strong)}
.es-ui .icon-btn:disabled,.es-ui .icon-btn[aria-disabled="true"]{opacity:.4;cursor:default}
.es-ui .icon-btn--36{width:36px;height:36px;border-radius:10px}
.es-ui .icon-btn--36 .i{width:16px;height:16px}
.es-ui .icon-btn[aria-pressed="true"] .i-pause,.es-ui .icon-btn:not([aria-pressed="true"]) .i-play{display:none}
.es-ui .icon-btn--dark{background:transparent;border-color:rgba(255,255,255,.2);color:#fff}
.es-ui .icon-btn--dark:hover{border-color:rgba(255,255,255,.45);background:rgba(255,255,255,.06)}
.es-ui .icon-btn--dark:disabled{opacity:.35}

/* 4.3 Cartes + bord irisé */
.es-ui .es-card{background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-xs)}
.es-ui .es-card--link{text-decoration:none;transition:transform .2s var(--ease-out),box-shadow .2s var(--ease-out)}
.es-ui .es-card--link:hover{transform:translateY(-2px);box-shadow:var(--sh-md)}

.es-ui .iris{position:relative;isolation:isolate}
.es-ui .iris::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;background:var(--grad-border);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;
  opacity:0;transition:opacity .2s var(--ease-out);pointer-events:none}
.es-ui .iris:hover::after,.es-ui .iris:focus-within::after,.es-ui .iris.is-lit::after{opacity:1}

/* 4.4 Panneaux */
.es-ui .panel{position:relative;isolation:isolate;overflow:clip;margin-inline:var(--panel-inset);border-radius:var(--r-panel)}
.es-ui .panel--grad{background:var(--grad-hero-veil),var(--grad-hero-light),var(--grad-brand);color:#fff}
.es-ui .panel--grad::before,.es-ui .panel--dark::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:var(--grid-pattern);
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 70% 35%,#000 30%,transparent 75%);
  mask-image:radial-gradient(ellipse 70% 60% at 70% 35%,#000 30%,transparent 75%)}
.es-ui .panel--grad::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 1px 0 rgba(255,255,255,.25);pointer-events:none}
.es-ui .panel--dark{background:var(--grad-dark);color:var(--on-dark-2)}
@media (max-width:1023px){.es-ui .panel--grad{background:var(--grad-hero-light),var(--grad-brand-mobile)}}

/* 4.5 Petits éléments */
.es-ui .tile{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--blue-50);color:var(--brand-blue);
  transition:background-color .2s,color .2s}
.es-ui .tile .i{width:20px;height:20px}
.es-ui .tile--grad{background:var(--grad-btn);color:#fff}
.es-ui .tile--tint{background:var(--bg-tint)}
.es-ui .tile--32{width:32px;height:32px;border-radius:8px}
.es-ui .tile--32 .i{width:18px;height:18px}
.es-ui .tile--36{width:36px;height:36px;border-radius:10px}
.es-ui .tile--48{width:48px;height:48px;border-radius:14px}
.es-ui .tile--48 .i{width:24px;height:24px}

.es-ui .es-tag{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 12px 0 10px;border-radius:8px;
  font:600 15px/1 var(--font-body)}
.es-ui .es-tag .i{width:16px;height:16px}

.es-ui .badge-time{position:absolute;top:10px;left:10px;z-index:1;display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 8px;
  border-radius:var(--r-pill);background:rgba(8,18,48,.72);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  font:600 12px/1 var(--font-body);color:#fff}
.es-ui .badge-time .i{width:12px;height:12px;stroke-width:2.25}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.es-ui .badge-time{background:#0B1638}}

.es-ui .step-num{display:inline-grid;place-items:center;flex:none;width:32px;height:32px;border-radius:10px;
  font:700 14px/1 var(--font-display);font-variant-numeric:tabular-nums;
  border:1.5px solid var(--line-strong);color:var(--ink-500);background:#fff;transition:background-color .2s,color .2s,border-color .2s}

/* 4.6 Cadres d'image */
.es-ui .frame{padding:8px;border-radius:24px;border:1px solid transparent;
  background:linear-gradient(#fff,#fff) padding-box,var(--grad-border) border-box;box-shadow:var(--sh-lg)}
@media (max-width:767px){.es-ui .frame{padding:5px;border-radius:18px}}

.es-ui .window{background:#fff;border:1px solid var(--line);border-radius:12px 0 0 0;box-shadow:var(--sh-md);overflow:hidden}
.es-ui .window__bar{display:flex;align-items:center;gap:6px;height:28px;padding-left:12px;background:#F3F5F9;border-bottom:1px solid var(--line)}
.es-ui .window__bar i{width:8px;height:8px;border-radius:50%;background:#DDE2EA}
.es-ui .window img{width:100%}

/* 4.7 Rails (carrousels natifs) */
.es-ui .rail{overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none}
.es-ui .rail::-webkit-scrollbar{display:none}
.es-ui .rail:focus-visible{outline-offset:-3px;border-radius:12px}
.es-ui .rail__list{display:grid;grid-auto-flow:column;list-style:none;margin:0;padding:0;width:max-content}
.es-ui .rail__list>li{scroll-snap-align:start}

/* 5. Topbar ================================================================ */
.es-ui .topbar{background:var(--dark-900);border-bottom:1px solid rgba(255,255,255,.06);font-size:13px;line-height:1}
.es-ui .topbar__inner{display:flex;align-items:center;justify-content:space-between;gap:16px;height:var(--topbar-h)}
.es-ui .topbar__brands ul{display:flex;list-style:none;margin-left:-12px}
.es-ui .topbar__brands a{position:relative;display:flex;align-items:center;gap:8px;height:36px;padding:0 12px;
  font-weight:500;color:var(--on-dark-2);text-decoration:none;transition:color .16s}
.es-ui .topbar__brands a:hover{color:#fff}
.es-ui .topbar__brands a[aria-current="true"]{color:#fff}
.es-ui .topbar__brands a[aria-current="true"]::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--grad-brand);box-shadow:0 0 0 3px rgba(50,171,245,.25)}
.es-ui .topbar__brands a[aria-current="true"]::after{content:"";position:absolute;left:12px;right:12px;bottom:0;height:2px;background:var(--brand-sky)}
.es-ui .topbar__brands a:focus-visible,.es-ui .topbar__right a:focus-visible{outline-offset:-2px}
.es-ui .topbar__right{display:flex;align-items:center;gap:12px}
.es-ui .topbar__access{display:inline-flex;align-items:center;gap:6px;height:36px;font-weight:500;color:var(--on-dark-2);text-decoration:none}
.es-ui .topbar__access:hover{color:#fff}
.es-ui .topbar__access .i{width:14px;height:14px}
.es-ui .topbar__sep{width:1px;height:16px;background:rgba(255,255,255,.16)}
.es-ui .topbar__group{display:inline-flex;align-items:center;gap:8px;height:36px;text-decoration:none}
.es-ui .topbar__group span{font-size:12px;color:var(--on-dark-3)}
.es-ui .topbar__group img{height:20px;width:auto;opacity:.9;transition:opacity .16s}
.es-ui .topbar__group:hover img{opacity:1}
.es-ui .topbar a{white-space:nowrap}
@media (max-width:899px){.es-ui .topbar__group span,.es-ui .topbar__sep{display:none}}
@media (max-width:767px){.es-ui .topbar{display:none}}

/* 6. Header, méga-menus, voile ============================================= */
.es-ui #header-sentinel{height:1px;margin-bottom:-1px}

.es-ui .site-header{--hh:var(--header-h-mobile);--hh-c:56px;
  position:sticky;top:0;z-index:var(--z-header);height:var(--hh);
  background:rgba(255,255,255,.92);-webkit-backdrop-filter:saturate(1.8) blur(14px);backdrop-filter:saturate(1.8) blur(14px);
  border-bottom:1px solid transparent;
  transition:height .2s var(--ease-out),margin-bottom .2s var(--ease-out),border-color .2s,box-shadow .2s}
/* Hauteur réduite sans décaler la page : la marge compense la différence */
.es-ui .site-header.is-compact{height:var(--hh-c);margin-bottom:calc(var(--hh) - var(--hh-c));border-bottom-color:var(--line);box-shadow:var(--sh-header)}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.es-ui .site-header{background:#fff}}
@media (min-width:768px){.es-ui .site-header{--hh:64px;--hh-c:56px}}
@media (min-width:1024px){.es-ui .site-header{--hh:var(--header-h);--hh-c:var(--header-h-compact)}}
/* relative et non static : le header garde son z-index et le méga-menu reste au-dessus du voile */
@media (max-height:520px){.es-ui .site-header{position:relative}}
/* Barre d'administration WordPress (fixe au-dessus de 600 px) */
.es-ui.admin-bar .site-header{top:32px}
@media (max-width:782px){.es-ui.admin-bar .site-header{top:46px}}
@media (max-width:600px){.es-ui.admin-bar .site-header{top:0}}

.es-ui .site-header__bar{position:relative;display:flex;align-items:center;height:100%}
.es-ui .site-header__logo{display:block;flex:none;border-radius:6px}
/* Logo rogné au ras des lettres (sans les marges de l'ancien fichier) ; srcset 1x / 2x / 3x net jusqu'à 40 px */
.es-ui .site-header__logo img{height:30px;width:auto;transition:height .2s var(--ease-out)}
@media (max-width:360px){.es-ui .site-header__logo img{height:28px}}
@media (min-width:768px){.es-ui .site-header__logo img{height:34px}}
/* 1024-1279 px : menu complet à l'étroit (EN surtout), logo à 30 px ; 40 px dès 1280 px */
@media (min-width:1024px){
  .es-ui .site-header__logo img{height:30px}
  .es-ui .site-header.is-compact .site-header__logo img{height:28px}
}
@media (min-width:1280px){
  .es-ui .site-header__logo img{height:40px}
  .es-ui .site-header.is-compact .site-header__logo img{height:34px}
}

.es-ui .site-header__actions{display:flex;align-items:center;gap:12px;margin-left:auto}
.es-ui .header-cta{transition:background-color .3s var(--ease-out),color .3s,border-color .3s,box-shadow .3s,transform .16s}
.es-ui .site-header__actions .lang{display:none}
@media (max-width:767px){.es-ui .header-cta{display:none}}
@media (min-width:1024px){.es-ui .site-header__actions .lang{display:inline-flex}}

.es-ui .burger{display:inline-grid;place-items:center;width:44px;height:44px;padding:0;border-radius:12px;border:1px solid var(--line);
  background:#fff;color:var(--ink-900);cursor:pointer}
.es-ui .burger .i{width:20px;height:20px}
/* Après la règle de base : à spécificité égale, l'ordre décide */
@media (min-width:1024px){.es-ui .burger{display:none}}

/* Sélecteur de langue */
.es-ui .lang{display:inline-flex;align-items:center;height:32px;padding:2px;border-radius:8px;background:var(--bg-alt);font:600 13px/1 var(--font-body)}
.es-ui .lang>*{display:grid;place-items:center;min-width:34px;height:28px;padding:0 8px;border-radius:6px;text-decoration:none}
.es-ui .lang [aria-current]{background:#fff;color:var(--ink-900);box-shadow:var(--sh-xs)}
.es-ui .lang a{color:var(--ink-500);transition:color .16s}
.es-ui .lang a:hover{color:var(--ink-900)}
.es-ui .lang--lg{height:44px}
.es-ui .lang--lg>*{height:40px;min-width:44px}
.es-ui .lang--dark{background:rgba(255,255,255,.06);border:1px solid var(--dark-line)}
.es-ui .lang--dark [aria-current]{background:rgba(255,255,255,.14);color:#fff;box-shadow:none}
.es-ui .lang--dark a{color:var(--on-dark-2)}
.es-ui .lang--dark a:hover{color:#fff}

/* Navigation principale (>= 1024 px) */
.es-ui .mainnav{display:none}
@media (min-width:1024px){.es-ui .mainnav{display:block;margin-left:40px}}
.es-ui .mainnav__list{display:flex;align-items:center;gap:4px;list-style:none}
.es-ui .nav-trigger,.es-ui .mainnav__link{display:inline-flex;align-items:center;gap:4px;height:40px;padding:0 12px;border:0;border-radius:10px;background:transparent;
  font:500 15px/1.2 var(--font-body);color:var(--ink-700);text-decoration:none;white-space:nowrap;cursor:pointer;transition:background-color .2s,color .2s}
/* 1024-1199 px (barre de défilement Windows comprise) : le header doit tenir sur une ligne */
@media (min-width:1024px) and (max-width:1199px){.es-ui .mainnav{margin-left:20px}.es-ui .nav-trigger,.es-ui .mainnav__link{padding:0 10px}}
.es-ui .nav-trigger .i{width:16px;height:16px;color:var(--ink-400);transition:transform .2s var(--ease-out)}
.es-ui .nav-trigger:hover,.es-ui .mainnav__link:hover{background:var(--bg-alt);color:var(--ink-900)}
.es-ui .nav-trigger[aria-expanded="true"]{background:var(--bg-alt);color:var(--brand-blue)}
.es-ui .nav-trigger[aria-expanded="true"] .i{transform:rotate(180deg)}

.es-ui .mega{position:absolute;top:calc(100% + 8px);z-index:2;display:block;padding:24px;background:#fff;border:1px solid var(--line);
  border-radius:20px;box-shadow:var(--sh-lg);color:var(--ink-700)}
.es-ui .mega[hidden]{display:none}
.es-ui .mega::before{content:"";position:absolute;left:0;right:0;top:-13px;height:12px}
.es-ui .mega.is-open{animation:mega-in .18s var(--ease-out)}
@keyframes mega-in{from{opacity:0;transform:translateY(-4px)}}
.es-ui .mega--center{left:50%;translate:-50% 0}
.es-ui .mega--solutions{width:min(1120px,100vw - 48px)}
.es-ui .mega--cases{width:min(920px,100vw - 48px)}
.es-ui .mega--res{width:440px}
.es-ui .mega--about{width:280px;padding:12px}

.es-ui .mega__grid--solutions{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px}
.es-ui .mega__sectors{grid-column:1 / 6}
.es-ui .mega__discover{grid-column:6 / 13}
.es-ui .mega__band{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:-16px;
  padding:6px 16px;border-radius:12px;background:var(--bg-tint)}
.es-ui .mega__band p{font:500 14px/1.4 var(--font-body);color:var(--ink-700)}
.es-ui .mega__grid--cases{display:grid;grid-template-columns:8fr 4fr;gap:24px}
/* Sans carte citation (EN) : la liste prend toute la largeur */
.es-ui .mega__grid--cases>:only-child{grid-column:1 / -1}
.es-ui .mega__more{margin-top:8px}

.es-ui .mega-rows{list-style:none;display:grid;gap:2px 8px;margin-top:12px}
.es-ui .mega--res .mega-rows{margin-top:0}
.es-ui .mega-rows--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.es-ui .mega-rows--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.es-ui .mega-row{display:flex;align-items:center;gap:12px;min-height:44px;padding:6px 8px;border-radius:10px;
  font:500 15px/1.25 var(--font-body);color:var(--ink-900);text-decoration:none;transition:background-color .16s}
.es-ui .mega-row:hover{background:var(--bg-alt)}
.es-ui .mega-row__tile{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:8px;background:var(--bg-alt);color:var(--brand-blue);
  transition:background-color .16s,color .16s}
.es-ui .mega-row__tile .i{width:18px;height:18px}
.es-ui .mega-row:hover .mega-row__tile{background:var(--brand-blue);color:#fff}

.es-ui .mega-cards{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.es-ui .mega-card{display:flex;flex-direction:column;height:100%;padding:16px;border-radius:14px;border:1px solid var(--line);
  background:linear-gradient(180deg,#fff,#F8FAFD);color:var(--ink-900)}
.es-ui .mega-card:hover{box-shadow:var(--sh-sm)}
.es-ui .mega-card__title{margin-top:12px;font:600 15px/1.3 var(--font-body);color:var(--ink-900)}
.es-ui .mega-card__desc{margin-top:4px;font:400 13px/1.45 var(--font-body);color:var(--ink-500)}
.es-ui .mega__lead{margin-top:8px;font:400 14px/1.45 var(--font-body);color:var(--ink-500)}
.es-ui .mega .eyebrow,.es-ui .drawer .eyebrow{line-height:1.3}

.es-ui .mega-quote{display:flex;flex-direction:column;align-items:flex-start;padding:20px;border-radius:16px;background:var(--bg-alt)}
.es-ui .mega-quote__logo{display:block;width:96px;height:48px}
.es-ui .mega-quote__logo img{width:100%;height:100%;object-fit:contain;object-position:left center}
.es-ui .mega-quote__text{margin-top:12px;font:700 17px/1.35 var(--font-display);color:var(--ink-900)}
.es-ui .mega-quote__who{margin-top:8px;font-size:13px;color:var(--ink-500)}

.es-ui .mega-list{list-style:none;display:grid;gap:2px}
.es-ui .mega-list a{display:flex;align-items:center;min-height:44px;padding:0 12px;border-radius:10px;font:500 15px/1.2 var(--font-body);
  color:var(--ink-900);text-decoration:none}
.es-ui .mega-list a:hover{background:var(--bg-alt)}

.es-ui .nav-veil{position:fixed;inset:0;z-index:var(--z-veil);background:rgba(15,26,46,.18);opacity:0;visibility:hidden;
  transition:opacity .2s,visibility .2s}
.es-ui .nav-veil.is-on{opacity:1;visibility:visible}

/* 7. Tiroir mobile ========================================================= */
.es-ui .drawer{position:fixed;inset:0 0 0 auto;width:min(100%,420px);height:100dvh;max-width:none;max-height:none;margin:0 0 0 auto;padding:0;border:0;
  background:#fff;color:var(--ink-700);display:flex;flex-direction:column;overflow:hidden;translate:100% 0;
  transition:translate .28s var(--ease-out),overlay .28s allow-discrete,display .28s allow-discrete}
.es-ui .drawer:not([open]){display:none}
.es-ui .drawer[open]{translate:0 0}
@starting-style{.es-ui .drawer[open]{translate:100% 0}}
.es-ui .drawer::backdrop{background:rgba(8,18,48,0);transition:background-color .28s,overlay .28s allow-discrete,display .28s allow-discrete}
.es-ui .drawer[open]::backdrop{background:rgba(8,18,48,.5)}
@starting-style{.es-ui .drawer[open]::backdrop{background:rgba(8,18,48,0)}}

.es-ui .drawer__head{display:flex;align-items:center;justify-content:space-between;flex:none;height:60px;padding:0 8px 0 16px;border-bottom:1px solid var(--line)}
.es-ui .drawer__logo img{height:30px;width:auto}
.es-ui .drawer__close{border-radius:12px}
.es-ui .drawer__body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:8px 16px 0}

.es-ui .drawer-group{border-bottom:1px solid var(--line)}
.es-ui .drawer-group summary,.es-ui .drawer-single{display:flex;align-items:center;justify-content:space-between;min-height:56px;
  font:600 18px/1.2 var(--font-display);color:var(--ink-900);text-decoration:none}
.es-ui .drawer-single{border-bottom:1px solid var(--line)}
.es-ui .drawer-group summary .i{width:20px;height:20px;color:var(--ink-400);transition:transform .2s var(--ease-out)}
.es-ui .drawer-group[open] summary .i{transform:rotate(180deg)}
.es-ui .drawer-group__content{padding:4px 0 16px}
.es-ui .drawer-group__content .eyebrow{margin:12px 0 4px}
.es-ui .drawer-links{list-style:none}
.es-ui .drawer-links a{display:flex;align-items:center;gap:12px;min-height:48px;font:500 16px/1.3 var(--font-body);color:var(--ink-700);text-decoration:none}
.es-ui .drawer-links a:hover{color:var(--brand-blue)}
.es-ui .drawer-links .i{width:20px;height:20px;color:var(--ink-400)}
.es-ui .drawer-tiles{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:8px}
.es-ui .drawer-tiles a{display:flex;flex-direction:column;justify-content:center;gap:8px;min-height:72px;height:100%;padding:12px;border:1px solid var(--line);
  border-radius:12px;font:600 14px/1.3 var(--font-body);color:var(--ink-900);text-decoration:none}
.es-ui .drawer-tiles a:hover{border-color:var(--line-strong);background:var(--bg-alt)}

.es-ui .drawer__cta{position:sticky;bottom:0;z-index:1;display:grid;gap:10px;margin:16px -16px 0;
  padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}
.es-ui .drawer__meta{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.es-ui .drawer__access{display:inline-flex;align-items:center;gap:8px;min-height:44px;font:500 15px/1.2 var(--font-body);color:var(--ink-700);text-decoration:none}
.es-ui .drawer__access .i{width:18px;height:18px;color:var(--ink-400)}
.es-ui .drawer__brands{margin-bottom:calc(24px + env(safe-area-inset-bottom));padding:14px 16px;border-radius:16px;background:var(--dark-900);color:var(--on-dark-2)}
.es-ui .drawer__brands ul{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.es-ui .drawer__brands ul a{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:0 12px;border-radius:var(--r-pill);
  border:1px solid var(--dark-line);font:500 13px/1 var(--font-body);color:var(--on-dark-2);text-decoration:none}
.es-ui .drawer__brands ul a[aria-current="true"]{color:#fff;border-color:rgba(50,171,245,.5);background:rgba(50,171,245,.12)}
.es-ui .drawer__brands ul a[aria-current="true"]::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--grad-brand)}
.es-ui .drawer__group{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:8px;text-decoration:none}
.es-ui .drawer__group span{font-size:12px;color:var(--on-dark-3)}
.es-ui .drawer__group img{height:18px;width:auto}

/* 8. Footer ================================================================ */
/* Pages internes : 72 px au-dessus ; la home ajoute le chevauchement du CTA final (96 px) */
.es-ui .site-footer{padding-top:72px;overflow:clip;color:var(--on-dark-2);
  background:radial-gradient(60% 40% at 50% 0%,rgba(50,56,170,.28),transparent 70%),var(--dark-900);
  content-visibility:auto;contain-intrinsic-size:auto 1100px}
.es-ui.es-home .site-footer{padding-top:calc(96px + 72px)}
.es-ui .site-footer a{text-decoration:none}

.es-ui .site-footer__top{display:grid;gap:32px;padding-bottom:48px;border-bottom:1px solid var(--dark-line)}
.es-ui .footer-brand__logo{display:inline-block}
.es-ui .footer-brand__logo img{height:40px;width:auto}
.es-ui .footer-brand__tagline{max-width:36ch;margin-top:20px;font-size:15px;line-height:1.6}
.es-ui .footer-brand__tagline a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.es-ui .site-footer address{display:flex;align-items:flex-start;gap:8px;margin-top:16px;font-size:14px;line-height:1.5;color:var(--on-dark-3)}
.es-ui .site-footer address .i{width:16px;height:16px;margin-top:2px;color:var(--brand-sky-300)}
.es-ui .socials{display:flex;gap:10px;margin-top:24px;list-style:none}
.es-ui .socials a{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:rgba(255,255,255,.06);border:1px solid var(--dark-line);
  color:var(--on-dark-2);transition:background-color .16s,color .16s}
.es-ui .socials a:hover{background:rgba(255,255,255,.12);color:#fff}
.es-ui .socials .i{width:18px;height:18px}

.es-ui .f-heading{font:600 15px/1.3 var(--font-body);color:#fff}
.es-ui .f-heading--muted{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--on-dark-3)}
.es-ui .footer-app p{margin-top:8px;max-width:36ch;font-size:14px;line-height:1.55}
.es-ui .footer-app__badges{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.es-ui .footer-app__badges a{display:block;border-radius:8px}
.es-ui .footer-app__badges img{height:44px;width:auto}
.es-ui .footer-labels ul{display:flex;flex-wrap:wrap;gap:12px;margin-top:14px;list-style:none}
.es-ui .footer-labels a{display:flex;align-items:center;justify-content:center;height:64px;padding:8px 12px;border-radius:12px;background:#fff}
.es-ui .footer-labels img{height:48px;width:auto}
.es-ui .footer-labels .label--qualiopi img{height:44px}

.es-ui .footer-links{display:grid;gap:32px;padding-block:48px}
.es-ui .f-title{font:600 13px/1.3 var(--font-body);letter-spacing:.08em;text-transform:uppercase;color:var(--on-dark-3)}
.es-ui .f-group summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
.es-ui .f-group summary .i{width:18px;height:18px;color:var(--on-dark-3);transition:transform .2s var(--ease-out)}
.es-ui .f-group[open] summary .i{transform:rotate(180deg)}
.es-ui .f-group+.f-group{margin-top:28px}
.es-ui .f-list{list-style:none;margin-top:14px}
.es-ui .f-list li+li{margin-top:10px}
.es-ui .f-list a{font-size:14.5px;line-height:1.5;color:var(--on-dark-2);text-underline-offset:3px;transition:color .16s}
.es-ui .f-list a:hover{color:#fff;text-decoration:underline}
.es-ui .f-list--2{columns:2;column-gap:24px}
.es-ui .f-list--2 li{break-inside:avoid}
.es-ui .f-list--2 li+li{margin-top:0}
.es-ui .f-list--2 li{padding-bottom:10px}

.es-ui .site-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-block:24px;
  border-top:1px solid var(--dark-line);font-size:13.5px;color:var(--on-dark-3)}
.es-ui .footer-bottom__legal ul{display:flex;flex-wrap:wrap;gap:4px 20px;list-style:none}
.es-ui .footer-bottom__legal a{display:inline-flex;align-items:center;min-height:32px;color:var(--on-dark-2)}
.es-ui .footer-bottom__legal a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
.es-ui .footer-bottom__group{display:inline-flex;align-items:center;gap:8px;min-height:32px}
.es-ui .footer-bottom__group span{font-size:12px;color:var(--on-dark-3)}
.es-ui .footer-bottom__group img{height:22px;width:auto}
.es-ui .to-top{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:10px;
  background:rgba(255,255,255,.06);border:1px solid var(--dark-line);font:600 13.5px/1 var(--font-body);color:var(--on-dark-2)}
.es-ui .to-top:hover{background:rgba(255,255,255,.12);color:#fff}
.es-ui .to-top .i{width:16px;height:16px}

.es-ui .wordmark{margin:32px 0 -.14em;padding-bottom:env(safe-area-inset-bottom);font:800 var(--fs-wordmark)/.8 var(--font-display);letter-spacing:-.05em;
  text-align:center;white-space:nowrap;background:var(--grad-ghost);-webkit-background-clip:text;background-clip:text;color:transparent;
  -webkit-user-select:none;user-select:none;pointer-events:none}

@media (min-width:1024px){
  .es-ui .site-footer__top{grid-template-columns:1.3fr 1fr 1fr;gap:48px}
  .es-ui .footer-links{grid-template-columns:2fr repeat(4,minmax(0,1fr))}
}
@media (min-width:768px) and (max-width:1023px){
  .es-ui .site-footer__top{grid-template-columns:repeat(2,minmax(0,1fr))}
  .es-ui .footer-brand{grid-column:1 / -1}
  .es-ui .footer-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .es-ui .f-col--features{grid-column:1 / -1}
}
/* >= 768 px : groupes toujours ouverts, titres non interactifs */
@media (min-width:768px){
  .es-ui .f-group summary{pointer-events:none;cursor:default}
  .es-ui .f-group summary .i{display:none}
}
@media (max-width:767px){
  .es-ui .site-footer{padding-top:48px}
  .es-ui.es-home .site-footer{padding-top:calc(64px + 48px)}
  .es-ui .footer-links{gap:0;padding-block:24px 32px}
  .es-ui .f-group+.f-group{margin-top:0}
  .es-ui .f-group{border-bottom:1px solid var(--dark-line)}
  .es-ui .f-group summary{min-height:52px}
  .es-ui .f-group summary .f-title{font-size:15px;letter-spacing:0;text-transform:none;color:#fff}
  .es-ui .f-list{margin:0 0 12px}
  .es-ui .f-list li+li{margin-top:0}
  .es-ui .f-list a{display:flex;align-items:center;min-height:44px}
  .es-ui .f-list--2{columns:1}
  .es-ui .f-list--2 li{padding-bottom:0}
  .es-ui .site-footer__bottom{flex-direction:column;justify-content:center;gap:12px;text-align:center}
  .es-ui .footer-bottom__legal ul{justify-content:center}
  .es-ui .footer-bottom__legal a{min-height:44px}
  .es-ui .wordmark{font-size:max(56px,18vw)}
}

/* 9. Barre CTA mobile ====================================================== */
.es-ui .mobilebar{display:none}
@media (max-width:767px){
  .es-ui .mobilebar{position:fixed;inset-inline:0;bottom:0;z-index:var(--z-mobilebar);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;
    padding:10px 16px calc(10px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.94);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    border-top:1px solid var(--line);box-shadow:0 -8px 24px -12px rgba(15,26,46,.25);
    transform:translateY(calc(100% + 8px));visibility:hidden;
    transition:transform .24s var(--ease-out),visibility 0s linear .24s}
  .es-ui .mobilebar.is-on{transform:none;visibility:visible;transition:transform .24s var(--ease-out),visibility 0s}
  .es-ui .mobilebar .es-btn{min-height:48px;padding:0 14px;font-size:15px}
  @supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.es-ui .mobilebar{background:#fff}}
}
@media (max-width:380px){
  .es-ui .mobilebar__rdv{width:48px;padding:0}
  .es-ui .mobilebar__rdv-label{display:none}
}
/* Widgets tiers fixés en bas (bulle Chatbase de footer.php, badge Calendly) : remontés au-dessus de la barre ; !important car leurs styles sont en inline */
@media (max-width:767px){
  html:has(.es-ui .mobilebar.is-on) :is(#chatbase-bubble-button,.calendly-badge-widget){bottom:calc(var(--mobilebar-h) + 12px + env(safe-area-inset-bottom))!important}
  html:has(.es-ui .mobilebar.is-on) #chatbase-message-bubbles{bottom:calc(var(--mobilebar-h) + 80px + env(safe-area-inset-bottom))!important}
}

/* 10. Sans JS : tout reste visible et utilisable =========================== */
/* !important : Bootstrap impose [hidden]{display:none!important} */
html.no-js .es-ui .mainnav__item:is(:hover,:focus-within)>.mega[hidden]{display:block!important}
html.no-js .es-ui .mobilebar,html.no-js .es-ui .nav-veil{display:none}

/* 11. Préférences système ================================================== */
@media (prefers-reduced-motion:reduce){
  .es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar),
  .es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar) *,
  .es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar) *::before,
  .es-ui :where(.topbar,.site-header,.nav-veil,.drawer,.site-footer,.mobilebar) *::after,
  .es-ui .drawer::backdrop{animation-duration:.01ms!important;animation-iteration-count:1!important;
    transition-duration:.01ms!important;scroll-behavior:auto!important}
}

@media (prefers-reduced-transparency:reduce){
  .es-ui .site-header,.es-ui .mobilebar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
  .es-ui .badge-time{background:#0B1638;-webkit-backdrop-filter:none;backdrop-filter:none}
}

@media (prefers-contrast:more){
  :root{--line:#9AA6B8;--line-strong:#7D8AA0;--ink-500:#2B3A52}
  .es-ui .site-header,.es-ui .mobilebar{background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none}
  .es-ui .es-btn--ghost-light{background:rgba(26,30,102,.45)}
  .es-ui .badge-time{background:#0B1638}
  .es-ui .panel--grad::before,.es-ui .panel--dark::before{display:none}
}

@media (forced-colors:active){
  .es-ui .grad-text,.es-ui .wordmark{background:none;color:CanvasText}
  .es-ui .iris::after{display:none}
  .es-ui .iris{border:1px solid CanvasText}
  .es-ui .es-btn,.es-ui .icon-btn,.es-ui .burger,.es-ui .nav-trigger{border:1px solid ButtonText}
  .es-ui .panel--grad::before,.es-ui .panel--dark::before{display:none}
  .es-ui .i{stroke:currentColor}
  .es-ui :focus-visible{outline-color:Highlight}
  .es-ui .eyebrow::before{background:CanvasText}
  .es-ui .mega-quote__logo img{forced-color-adjust:none;background:#fff;border-radius:4px;opacity:1}
}
