/* ============================================================
   VENDORIS — vendoris.css  (feuille de marque PARTAGÉE)
   Source de vérité : Charte graphique VENDORIS, édition 2026.
   À importer dans TOUTES les pages du site.
   Le header, le footer, les boutons, les tokens et les utilitaires
   vivent ici — identiques partout. Les styles propres à une page
   restent dans la page (bloc <style> ou feuille dédiée).
   Les sections [Extension web] complètent la charte print pour l'écran.
   ============================================================ */

/* ===== Tokens VENDORIS — dominante sombre = ENCRE #0B0F1C ===== */
:root{
  /* Couleurs charte */
  --vd-bleu-nuit:#1A2746; --vd-encre:#0B0F1C; --vd-cyan:#32C5E0; --vd-orange:#FFB33E;
  --vd-blanc:#FFFFFF; --vd-gris-clair:#F4F6F9; --vd-gris:#9AA3B2;
  /* Sémantique web */
  --vd-bg:var(--vd-blanc); --vd-bg-alt:var(--vd-gris-clair); --vd-bg-dark:var(--vd-encre);
  --vd-surface:var(--vd-blanc); --vd-border:#E3E7EE; --vd-text:var(--vd-bleu-nuit);
  --vd-text-strong:var(--vd-encre); --vd-text-muted:var(--vd-gris); --vd-text-on-dark:var(--vd-blanc);
  /* Dégradé signature cyan -> orange */
  --vd-gradient:linear-gradient(90deg,var(--vd-cyan) 0%,var(--vd-orange) 100%);
  --vd-gradient-135:linear-gradient(135deg,var(--vd-cyan) 0%,var(--vd-orange) 100%);
  /* Typo */
  --vd-font-title:'Poppins',Calibri,Arial,sans-serif; --vd-font-body:'Lato',Calibri,Arial,sans-serif;
  /* Échelle typo [Extension web] */
  --vd-fs-display:3.5rem; --vd-fs-h1:2.5rem; --vd-fs-h2:2rem; --vd-fs-h3:1.5rem; --vd-fs-h4:1.25rem;
  --vd-fs-lg:1.125rem; --vd-fs-base:1rem; --vd-fs-sm:.875rem; --vd-fs-xs:.75rem;
  /* Espacement base 8px [Extension web] */
  --vd-space-3:.75rem; --vd-space-4:1rem; --vd-space-5:1.25rem; --vd-space-6:1.5rem;
  --vd-space-8:2rem; --vd-space-12:3rem; --vd-space-16:4rem; --vd-space-24:6rem;
  /* Rayons [Extension web] */
  --vd-radius-sm:8px; --vd-radius-md:14px; --vd-radius-lg:20px; --vd-radius-xl:28px; --vd-radius-pill:999px;
  /* Ombres [Extension web] */
  --vd-shadow-sm:0 1px 2px rgba(11,15,28,.06);
  --vd-shadow-md:0 8px 24px rgba(11,15,28,.10);
  --vd-shadow-lg:0 24px 56px rgba(11,15,28,.18);
  /* Conteneur */
  --vd-container:1200px;
}

/* ===== Reset léger + base ===== */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--vd-font-body);font-size:var(--vd-fs-base);line-height:1.6;color:var(--vd-text);background:var(--vd-bg);-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
h1,h2,h3,h4{font-family:var(--vd-font-title);color:var(--vd-bleu-nuit);margin:0}
a{color:inherit}

/* ===== Conteneur + utilitaires de marque ===== */
.vd-container{width:100%;max-width:var(--vd-container);margin-inline:auto;padding-inline:24px}
.vd-eyebrow{font-family:var(--vd-font-title);font-weight:600;font-size:var(--vd-fs-xs);letter-spacing:.14em;text-transform:uppercase;margin:0;background:var(--vd-gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.vd-rule{display:block;width:64px;height:4px;border-radius:4px;background:var(--vd-gradient);margin-top:var(--vd-space-4)}
.vd-gradient-text{background:var(--vd-gradient);-webkit-background-clip:text;background-clip:text;color:transparent}
.vd-h2{font-family:var(--vd-font-title);font-weight:600;font-size:var(--vd-fs-h2);line-height:1.15;color:var(--vd-bleu-nuit)}
.vd-h3{font-family:var(--vd-font-title);font-weight:600;font-size:var(--vd-fs-h3);color:var(--vd-bleu-nuit)}
.vd-h4{font-family:var(--vd-font-title);font-weight:500;font-size:var(--vd-fs-h4);color:var(--vd-bleu-nuit)}
.vd-lead{font-size:var(--vd-fs-lg);line-height:1.6;color:var(--vd-text)}
.vd-muted{color:var(--vd-text-muted)}
/* Marque iotill TOUJOURS en minuscules, meme dans un libelle en majuscules CSS */
.vd-nocase{text-transform:none}

/* ===== Sections ===== */
.vd-section{padding-block:var(--vd-space-24)}
.vd-section--alt{background:var(--vd-bg-alt)}
.vd-section--dark{background:var(--vd-encre);color:#fff}
.vd-section--dark h1,.vd-section--dark h2,.vd-section--dark h3,.vd-section--dark h4{color:#fff}

/* Entête de section centré (suréclat + titre + filet) */
.vd-sec-head{max-width:680px;margin:0 auto var(--vd-space-12);text-align:center}
.vd-sec-head .vd-rule{margin-inline:auto}
.vd-sec-head p.sub{color:var(--vd-text-muted);margin-top:var(--vd-space-4);font-size:var(--vd-fs-lg)}

/* ===== Boutons ===== */
.vd-btn{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;font-family:var(--vd-font-title);font-weight:600;font-size:1rem;line-height:1;min-height:48px;padding:0 1.5rem;border-radius:var(--vd-radius-md);border:1.5px solid transparent;text-decoration:none;cursor:pointer;transition:transform .15s,box-shadow .18s,filter .18s,background .18s}
.vd-btn svg{width:18px;height:18px}
.vd-btn:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(50,197,224,.45)}
.vd-btn:active{transform:scale(.98)}
.vd-btn:disabled{opacity:.5;cursor:not-allowed;transform:none}
.vd-btn--primary{background:var(--vd-encre);color:#fff}
.vd-btn--primary:hover{filter:brightness(1.5);box-shadow:var(--vd-shadow-md)}
.vd-btn--gradient{background:var(--vd-gradient);color:var(--vd-encre)}
.vd-btn--gradient:hover{box-shadow:var(--vd-shadow-md);filter:saturate(1.05)}
/* Boutons à fond plein : pas de largeur de bordure (la bordure transparente délave le pourtour d'un dégradé) ; padding compensé de 1.5px pour conserver exactement la taille des boutons ghost. */
.vd-btn--primary,.vd-btn--gradient{border-width:0;padding-inline:calc(1.5rem + 1.5px)}
.vd-btn--ghost{background:transparent;color:var(--vd-bleu-nuit);border-color:var(--vd-bleu-nuit)}
.vd-btn--ghost:hover{background:var(--vd-gris-clair)}
.vd-btn--ghost-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,.55)}
.vd-btn--ghost-dark:hover{background:rgba(255,255,255,.10)}

/* ===== Grilles utilitaires ===== */
.vd-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--vd-space-8)}
.vd-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--vd-space-8)}
.vd-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--vd-space-6)}
@media(max-width:880px){.vd-grid-2,.vd-grid-3,.vd-grid-4{grid-template-columns:1fr}}

/* ===== Topbar (chrome global) ===== */
.vd-topbar{background:#fff;border-bottom:1px solid var(--vd-border);font-size:.82rem}
.vd-topbar__inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;min-height:38px;gap:1rem}
/* Bandeau du haut : logos des marques, CENTRES, en gris ; la couleur revient en fondu au survol.
   (remplace l'ancien badge "Avis Google", sans source). Grille 1fr/auto/1fr : les logos restent
   au centre exact du bandeau, le telephone a droite. */
.vd-topbar__brands{grid-column:2;display:flex;align-items:center;justify-content:center;gap:1.4rem;min-width:0}
.vd-topbar__meta{grid-column:3;justify-self:end}
.vd-topbar__lbl{font-family:var(--vd-font-title);font-weight:600;font-size:.7rem;letter-spacing:.08em;text-transform:uppercase;color:var(--vd-text-muted);white-space:nowrap}
.vd-topbar__brands a{flex:0 0 auto;display:inline-flex;align-items:center;padding:.55rem 0}
.vd-topbar__brands img{display:block;height:16px;width:auto;max-width:none;filter:grayscale(1);opacity:.55;transition:filter .45s ease,opacity .45s ease} /* max-width:none : sinon img{max-width:100%} du socle ecrase le logo a 0 dans le flex */
.vd-topbar__brands a:hover img,.vd-topbar__brands a:focus-visible img{filter:grayscale(0);opacity:1}
.vd-topbar__brands a:focus-visible{outline:none;box-shadow:0 2px 0 var(--vd-cyan)}
.vd-topbar__brands .vd-topbar__sq img{height:22px}
@media(max-width:760px){.vd-topbar__inner{grid-template-columns:1fr}.vd-topbar__brands{grid-column:1}.vd-topbar__lbl{display:none}.vd-topbar__brands{gap:.9rem}.vd-topbar__brands img{height:13px}.vd-topbar__brands .vd-topbar__sq img{height:19px}}
@media(prefers-reduced-motion:reduce){.vd-topbar__brands img{transition:none}}
.vd-stars{color:var(--vd-orange);letter-spacing:1px}
.vd-topbar__meta{display:flex;align-items:center;gap:1.4rem;color:var(--vd-text-muted)}
.vd-topbar__meta span{display:inline-flex;align-items:center;gap:.4rem}
.vd-topbar__meta svg{width:14px;height:14px;color:var(--vd-cyan)}
.vd-topbar__meta a{color:inherit;text-decoration:none}
.vd-topbar__meta a:hover{color:var(--vd-cyan)}
@media(max-width:760px){.vd-topbar__meta{display:none}}

/* ===== Header (IDENTIQUE sur toutes les pages) ===== */
.vd-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--vd-border)}
.vd-header__inner{display:flex;align-items:center;gap:var(--vd-space-8);min-height:70px}
.logo-svg{height:30px;width:auto;display:block}
.vd-nav{display:flex;gap:var(--vd-space-6);margin-left:1rem}
.vd-nav a{font-family:var(--vd-font-title);font-weight:500;color:var(--vd-bleu-nuit);text-decoration:none;font-size:.95rem;display:inline-flex;align-items:center;gap:.3rem;padding:.25rem 0;position:relative}
.vd-nav a:hover{color:var(--vd-cyan)}
.vd-nav a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:var(--vd-gradient)}
.vd-nav .chev{width:14px;height:14px;opacity:.6}
.vd-header__actions{display:flex;gap:.6rem;margin-left:auto}
.vd-burger{display:none;position:relative;width:42px;height:42px;border:1px solid var(--vd-border);border-radius:10px;background:#fff;color:var(--vd-bleu-nuit);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:border-color .18s}
.vd-burger:hover{border-color:var(--vd-cyan)}
.vd-burger:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(50,197,224,.45)}
/* Icône : 3 barres qui se muent en croix à l'ouverture (barre du milieu = box-shadow de ::before) */
.vd-burger::before,.vd-burger::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:2px;margin:-1px 0 0 -9px;border-radius:2px;background:currentColor;transition:transform .25s ease,box-shadow .25s ease}
.vd-burger::before{transform:translateY(-5px);box-shadow:0 5px 0 currentColor}
.vd-burger::after{transform:translateY(5px)}
.vd-burger[aria-expanded="true"]::before{transform:rotate(45deg);box-shadow:0 0 0 transparent}
.vd-burger[aria-expanded="true"]::after{transform:rotate(-45deg)}
@media(max-width:980px){.vd-nav,.vd-header__actions{display:none}.vd-burger{display:block;margin-left:auto}}

/* ===== Menu mobile (panneau PARTAGÉ — généré et piloté par /assets/js/vendoris.js) ===== */
/* --vd-mnav-top est calculé en JS (bas du header) pour que le panneau glisse SOUS le header. */
.vd-mnav{position:fixed;left:0;right:0;top:var(--vd-mnav-top,108px);bottom:0;z-index:90;display:flex;flex-direction:column;background:var(--vd-blanc);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;visibility:hidden;opacity:0;transform:translateY(-8px);transition:opacity .25s ease,transform .25s ease,visibility 0s linear .25s}
.vd-mnav.is-open{visibility:visible;opacity:1;transform:none;transition:opacity .25s ease,transform .25s ease}
.vd-mnav::before{content:"";position:sticky;top:0;flex:0 0 auto;height:3px;background:var(--vd-gradient)} /* accent dégradé = signature, en filet uniquement */
.vd-mnav__inner{display:flex;flex-direction:column;padding:var(--vd-space-5) 24px calc(var(--vd-space-8) + env(safe-area-inset-bottom,0px))}
.vd-mnav__menu{display:flex;flex-direction:column}
.vd-mnav__link{display:flex;align-items:center;gap:.5rem;font-family:var(--vd-font-title);font-weight:500;font-size:1.05rem;color:var(--vd-bleu-nuit);text-decoration:none;padding:1rem .25rem;border-bottom:1px solid var(--vd-border)}
.vd-mnav__link:hover,.vd-mnav__link:focus-visible{color:var(--vd-cyan)}
.vd-mnav__link[aria-current="page"]{color:var(--vd-cyan)}
.vd-mnav__link .chev{width:16px;height:16px;opacity:.5}
.vd-mnav__actions{display:flex;flex-direction:column;gap:.7rem;margin-top:var(--vd-space-6)}
.vd-mnav__actions .vd-btn{width:100%}
html.vd-mnav-open{overflow:hidden} /* verrouille le défilement de la page quand le menu est ouvert */
@media(min-width:981px){.vd-mnav{display:none}}
/* --- Accordéons du menu mobile (Solutions / Métiers), données du mega menu --- */
.vd-macc{border-bottom:1px solid var(--vd-border)}
.vd-macc__btn{display:flex;align-items:center;justify-content:space-between;gap:.5rem;width:100%;background:none;border:0;cursor:pointer;font-family:var(--vd-font-title);font-weight:500;font-size:1.05rem;color:var(--vd-bleu-nuit);padding:1rem .25rem;text-align:left}
.vd-macc__btn .chev{flex:0 0 auto;width:16px;height:16px;opacity:.5;transition:transform .3s ease,opacity .2s}
.vd-macc.is-open .vd-macc__btn{color:var(--vd-cyan)}
.vd-macc.is-open .vd-macc__btn .chev{transform:rotate(180deg);opacity:1}
.vd-macc__wrap{display:grid;grid-template-rows:0fr;transition:grid-template-rows .38s cubic-bezier(.4,0,.2,1)}
.vd-macc.is-open .vd-macc__wrap{grid-template-rows:1fr}
.vd-macc__panel{overflow:hidden;min-height:0}
.vd-macc__cat{display:flex;align-items:center;gap:.55rem;font-family:var(--vd-font-title);font-weight:600;font-size:var(--vd-fs-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--vd-text-muted);margin:1rem 0 .35rem;padding-left:.25rem}
.vd-macc__cat::before{content:"";flex:0 0 auto;width:16px;height:2px;border-radius:1px;background:var(--vd-gradient)}
.vd-macc__item{display:flex;align-items:center;gap:.75rem;padding:.5rem .35rem;border-radius:var(--vd-radius-md);text-decoration:none}
.vd-macc__item:active,.vd-macc__item:focus-visible{background:var(--vd-gris-clair);outline:none}
.vd-macc__ic{flex:0 0 auto;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:var(--vd-gris-clair);color:var(--vd-bleu-nuit)}
.vd-macc__ic svg{width:20px;height:20px}
.vd-macc__ic--ph{background:#fff;border:1px solid var(--vd-border);overflow:hidden}
.vd-macc__ic--ph img{width:100%;height:100%;object-fit:contain;padding:2px;display:block}
.vd-macc__txt{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.vd-macc__fn{font-family:var(--vd-font-title);font-weight:600;font-size:.95rem;color:var(--vd-bleu-nuit)}
.vd-macc__brand{font-family:var(--vd-font-title);font-weight:600;font-size:.74rem;color:var(--vd-bleu-nuit);opacity:.58;margin-top:1px}
.vd-macc__all{display:flex;align-items:center;justify-content:center;gap:.4rem;margin:1rem .25rem 1.15rem;padding:.7rem;border:1px solid var(--vd-border);border-radius:var(--vd-radius-pill);font-family:var(--vd-font-title);font-weight:600;font-size:.92rem;color:var(--vd-bleu-nuit);text-decoration:none}
.vd-macc__all svg{width:15px;height:15px}
.vd-macc__all:active,.vd-macc__all:focus-visible{border-color:var(--vd-cyan);color:var(--vd-cyan)}
/* Entrée en cascade du contenu quand l'accordéon s'ouvre (délai --d posé en JS) */
.vd-macc__panel .vd-macc__cat,.vd-macc__panel .vd-macc__item,.vd-macc__panel .vd-macc__all{opacity:0;transform:translateY(6px);transition:opacity .28s ease,transform .28s ease;transition-delay:0s}
.vd-macc.is-open .vd-macc__panel .vd-macc__cat,.vd-macc.is-open .vd-macc__panel .vd-macc__item,.vd-macc.is-open .vd-macc__panel .vd-macc__all{opacity:1;transform:none;transition-delay:var(--d,0s)}
@media (prefers-reduced-motion:reduce){
  .vd-macc__wrap,.vd-macc__btn .chev,.vd-macc__panel .vd-macc__cat,.vd-macc__panel .vd-macc__item,.vd-macc__panel .vd-macc__all{transition:none}
}

/* ===== Mega menu « Solutions » (desktop — généré et piloté par /assets/js/vendoris.js) ===== */
/* Chevron qui pivote + lien actif en cyan quand le panneau est ouvert. */
.vd-nav a .chev{transition:transform .2s ease}
.vd-nav a[aria-expanded="true"]{color:var(--vd-cyan)}
.vd-nav a[aria-expanded="true"] .chev{transform:rotate(180deg)}
/* Voile discret derrière le panneau (sous le header, au-dessus du contenu). */
.vd-mega-scrim{position:fixed;inset:0;z-index:80;background:rgba(11,15,28,.22);opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s linear .2s}
.vd-mega-scrim.is-open{opacity:1;visibility:visible;transition:opacity .2s ease}
/* Panneau : carte flottante centrée sous le header (enfant de .vd-header). */
.vd-mega{position:absolute;top:calc(100% + 9px);left:50%;width:min(1240px,calc(100vw - 40px));transform:translateX(-50%) translateY(-8px);background:var(--vd-surface);border:1px solid var(--vd-border);border-radius:var(--vd-radius-lg);box-shadow:var(--vd-shadow-lg);overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility 0s linear .22s}
.vd-mega.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0);transition:opacity .22s ease,transform .22s ease}
.vd-mega::after{content:"";position:absolute;left:0;right:0;top:0;height:4px;background:var(--vd-gradient);z-index:2} /* filet signature */
.vd-mega::before{content:"";position:absolute;top:-13px;left:0;right:0;height:13px} /* pont anti-survol entre le menu et la carte */
.vd-mega__inner{display:flex;flex-direction:column}
.vd-mega__cols{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--vd-space-3);padding:var(--vd-space-6)}
@media(max-width:1140px){.vd-mega__cols{gap:6px;padding-inline:var(--vd-space-4)}.vd-mega__ic{width:32px;height:32px}.vd-mega__ic svg{width:17px;height:17px}.vd-mega__fn{font-size:.85rem}.vd-mega__brand,.vd-mega__note{font-size:.68rem}}
/* Placement 2 rangées : colonnes hautes (1,2,5) sur les 2 rangées, colonnes courtes
   (3,4) sur la 1re, et la carte promo comble la 2e rangée sous les colonnes 3-4.
   NB : lié à l'ordre actuel des colonnes (courtes = Préparation & Pilotage). */
.vd-mega__col:nth-child(1){grid-column:1;grid-row:1 / 3}
.vd-mega__col:nth-child(2){grid-column:2;grid-row:1 / 3}
.vd-mega__col:nth-child(3){grid-column:3;grid-row:1}
.vd-mega__col:nth-child(4){grid-column:4;grid-row:1}
.vd-mega__col:nth-child(5){grid-column:5;grid-row:1 / 3}
.vd-mega__promo{grid-column:3 / 5;grid-row:2;align-self:stretch;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:center;gap:.4rem;padding:var(--vd-space-5);border-radius:var(--vd-radius-md);border:1px solid var(--vd-border);background:linear-gradient(135deg,rgba(50,197,224,.12),rgba(255,179,62,.12)),var(--vd-surface);text-decoration:none;transition:border-color .16s,transform .16s,box-shadow .16s}
.vd-mega__promo:hover{border-color:rgba(50,197,224,.45);transform:translateY(-2px);box-shadow:var(--vd-shadow-md)}
.vd-mega__promo::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--vd-gradient)}
.vd-mega__promo-badge{align-self:flex-start;font-family:var(--vd-font-title);font-weight:700;font-size:.6rem;letter-spacing:.1em;text-transform:uppercase;color:var(--vd-encre);background:var(--vd-gradient);border-radius:var(--vd-radius-pill);padding:.25rem .65rem}
.vd-mega__promo-title{font-family:var(--vd-font-title);font-weight:600;font-size:1.02rem;color:var(--vd-bleu-nuit)}
.vd-mega__promo-text{font-size:.84rem;line-height:1.45;color:var(--vd-text-muted)}
.vd-mega__promo-link{margin-top:.1rem;font-family:var(--vd-font-title);font-weight:600;font-size:.9rem;color:var(--vd-bleu-nuit);display:inline-flex;align-items:center;gap:.35rem}
.vd-mega__promo-link svg{width:15px;height:15px}
.vd-mega__promo:hover .vd-mega__promo-link{color:var(--vd-cyan)}

/* Menu « Métiers » : 4 univers (cols 1-4) + palette de mise en avant à DROITE (col 5, pleine hauteur).
   Override de la grille générique, taillée pour les 5 colonnes du menu Solutions. */
#vd-mega-metiers .vd-mega__cols{grid-template-columns:repeat(4,1fr) 1.15fr}
#vd-mega-metiers .vd-mega__col:nth-child(1){grid-column:1;grid-row:1}
#vd-mega-metiers .vd-mega__col:nth-child(2){grid-column:2;grid-row:1}
#vd-mega-metiers .vd-mega__col:nth-child(3){grid-column:3;grid-row:1}
#vd-mega-metiers .vd-mega__col:nth-child(4){grid-column:4;grid-row:1}
#vd-mega-metiers .vd-mega__promo{grid-column:5;grid-row:1;align-self:stretch}
.vd-mega__promo--ph{justify-content:flex-start}
.vd-mega__promo-ph{display:block;flex:0 0 auto;margin:0 0 .45rem;border-radius:calc(var(--vd-radius-md) - 4px);overflow:hidden}
.vd-mega__promo-ph img{display:block;width:100%;height:118px;object-fit:cover}
.vd-mega__promo-ph--contain img{object-fit:contain}
/* Menu « Solutions » : 6e colonne (Aménagement & conception). Grille passee a 6 col ;
   la colonne 6 est haute (2 rangees) comme 1,2,5 ; la promo reste sous les colonnes courtes 3-4. */
#vd-mega-solutions .vd-mega__cols{grid-template-columns:repeat(6,1fr)}
#vd-mega-solutions .vd-mega__col:nth-child(6){grid-column:6;grid-row:1 / 3}
.vd-mega__title{font-family:var(--vd-font-title);font-weight:600;font-size:var(--vd-fs-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--vd-text-muted);margin:0 0 .5rem;padding-left:.6rem}
.vd-mega__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}
.vd-mega__item{display:flex;align-items:center;gap:.7rem;padding:.55rem .6rem;border-radius:var(--vd-radius-md);text-decoration:none}
.vd-mega__item:hover,.vd-mega__item:focus-visible{background:var(--vd-gris-clair);outline:none}
.vd-mega__item:focus-visible{box-shadow:0 0 0 2px rgba(50,197,224,.5)}
.vd-mega__ic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--vd-gris-clair);color:var(--vd-bleu-nuit);transition:background .16s,color .16s}
.vd-mega__ic svg{width:19px;height:19px}
.vd-mega__item:hover .vd-mega__ic,.vd-mega__item:focus-visible .vd-mega__ic{background:var(--vd-encre);color:#fff}
/* Items & palettes avec PHOTO produit (a la place du picto) */
.vd-mega__ic--ph{background:#fff;border:1px solid var(--vd-border);overflow:hidden}
.vd-mega__ic--ph img{width:100%;height:100%;object-fit:contain;padding:2px;display:block}
.vd-mega__item:hover .vd-mega__ic--ph{background:#fff;border-color:var(--vd-cyan)}
.vd-mega__txt{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.vd-mega__fn{font-family:var(--vd-font-title);font-weight:600;font-size:.9rem;color:var(--vd-bleu-nuit);line-height:1.2}
.vd-mega__item:hover .vd-mega__fn,.vd-mega__item:focus-visible .vd-mega__fn{color:var(--vd-cyan)}
.vd-mega__brand{font-family:var(--vd-font-title);font-weight:600;font-size:.72rem;color:var(--vd-bleu-nuit);opacity:.58;margin-top:1px}
.vd-mega__note{font-size:.71rem;color:var(--vd-text-muted);line-height:1.2;margin-top:1px}
/* Barre CTA en pied de panneau (encre + lueur dégradé) — remplace l'ancien panneau latéral. */
.vd-mega__bar{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:var(--vd-space-6);flex-wrap:wrap;background:var(--vd-encre);color:#fff;padding:var(--vd-space-5) var(--vd-space-6)}
.vd-mega__bar::before{content:"";position:absolute;right:-30px;top:-70px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(50,197,224,.22),transparent 68%);pointer-events:none}
.vd-mega__bar-txt{position:relative;font-size:.92rem;color:#C7CEDD;max-width:60ch;margin:0}
.vd-mega__bar-txt strong{font-family:var(--vd-font-title);font-weight:600;color:#fff}
.vd-mega__bar-cta{position:relative;display:flex;align-items:center;gap:var(--vd-space-6)}
.vd-mega__bar-cta .vd-btn{white-space:nowrap}
.vd-mega__feat-link{font-family:var(--vd-font-title);font-weight:600;font-size:.9rem;color:#fff;text-decoration:none;white-space:nowrap}
.vd-mega__feat-link:hover{color:var(--vd-cyan)}
@media(max-width:1120px){.vd-mega__bar-txt{display:none}}
@media(max-width:980px){.vd-mega,.vd-mega-scrim{display:none}}
@media(prefers-reduced-motion:reduce){.vd-mega{transform:translateX(-50%)}.vd-mega.is-open{transform:translateX(-50%)}}

/* ===== Bloc témoignage ===== */
.vd-quote{max-width:780px;margin:0 auto;text-align:center}
.vd-quote .mark{font-family:var(--vd-font-title);font-weight:700;font-size:3rem;line-height:0;background:var(--vd-gradient);-webkit-background-clip:text;background-clip:text;color:transparent;display:inline-block;margin-bottom:1rem}
.vd-quote p{font-family:var(--vd-font-title);font-weight:500;font-size:var(--vd-fs-h3);color:var(--vd-bleu-nuit);line-height:1.4;margin:0}
.vd-quote footer{margin-top:var(--vd-space-6);color:var(--vd-text-muted);font-size:var(--vd-fs-sm)}
.vd-quote strong{color:var(--vd-bleu-nuit)}

/* ===== Bandeau CTA (réutilisable en fin de page) ===== */
.vd-cta{background:var(--vd-encre);color:#fff;border-radius:var(--vd-radius-xl);padding:var(--vd-space-16);position:relative;overflow:hidden}
.vd-cta::before{content:"";position:absolute;inset:0 0 auto 0;height:5px;background:var(--vd-gradient)}
.vd-cta__inner{display:flex;align-items:center;justify-content:space-between;gap:var(--vd-space-8);flex-wrap:wrap}
.vd-cta h2{color:#fff;font-family:var(--vd-font-title);font-weight:700;font-size:var(--vd-fs-h2);margin:0}
.vd-cta p{color:#C7CEDD;margin:.5rem 0 0}

/* ===== Footer (IDENTIQUE sur toutes les pages) ===== */
.vd-footer{background:var(--vd-encre);color:#C7CEDD;padding-top:var(--vd-space-16);font-size:1rem}
.vd-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:var(--vd-space-8);padding-bottom:var(--vd-space-12)}
.vd-footer h4,.vd-footer__h{font-family:var(--vd-font-title);color:#fff;font-size:1rem;margin:0 0 .75rem}
.vd-footer nav{display:flex;flex-direction:column;gap:.4rem}
.vd-footer a{color:#C7CEDD;text-decoration:none;font-size:1rem}
.vd-footer a:hover{color:var(--vd-cyan)}
.vd-footer__tag{margin-top:.75rem;max-width:30ch}
.vd-footer__contact{margin:0;font-size:1rem;line-height:1.8;color:#C7CEDD}
.vd-footer__contact a{font-size:1rem}
.vd-footer__legal{display:flex;gap:var(--vd-space-6);align-items:center;font-size:1rem;border-top:1px solid rgba(255,255,255,.1);padding:var(--vd-space-6) 24px;flex-wrap:wrap}
@media(max-width:880px){.vd-footer__grid{grid-template-columns:1fr 1fr}}
/* Mega-footer : bloc « Solutions » généré depuis COLS (cf. vendoris.js) -> aligné sur le mega menu */
.vd-footer__mega-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:var(--vd-space-8);padding-bottom:var(--vd-space-12);margin-bottom:var(--vd-space-12);border-bottom:1px solid rgba(255,255,255,.1)}
.vd-footer__mega-col{display:flex;flex-direction:column;gap:.5rem;min-width:0}
.vd-footer__mega-cat{font-family:var(--vd-font-title);color:#fff;font-size:1rem;font-weight:600;margin:0 0 .35rem}
.vd-footer__mega-col a{color:#C7CEDD;text-decoration:none;font-size:1rem;line-height:1.3}
.vd-footer__mega-col a:hover{color:var(--vd-cyan)}
.vd-footer--mega .vd-footer__grid{grid-template-columns:1.6fr 1fr 1fr}
@media(max-width:980px){.vd-footer__mega-grid{grid-template-columns:repeat(3,1fr);gap:var(--vd-space-6) var(--vd-space-8)}}
@media(max-width:880px){.vd-footer--mega .vd-footer__grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.vd-footer__mega-grid{grid-template-columns:1fr 1fr}}

/* ===== Responsive global ===== */
@media(max-width:880px){.vd-section{padding-block:var(--vd-space-16)}.vd-h2{font-size:1.625rem}}

/* ===== Pages métier : section « matériel en situation » (vraies photos) ===== */
.vd-met-situ{display:grid;grid-template-columns:1.15fr .85fr;gap:var(--vd-space-8);align-items:center}
@media(max-width:880px){.vd-met-situ{grid-template-columns:1fr;gap:var(--vd-space-6)}}
.vd-met-situ__photo{margin:0;border-radius:var(--vd-radius-lg);overflow:hidden;box-shadow:var(--vd-shadow-md);border:1px solid var(--vd-border)}
.vd-met-situ__photo img{display:block;width:100%;height:100%;object-fit:cover}
.vd-met-situ__lead{font-size:var(--vd-fs-lg);color:var(--vd-text-muted);margin:0 0 var(--vd-space-5);line-height:1.6}
.vd-met-prods{display:flex;flex-wrap:wrap;gap:var(--vd-space-4)}
.vd-met-prods--center{justify-content:center}
.vd-met-prod{flex:0 1 168px;background:var(--vd-surface);border:1px solid var(--vd-border);border-radius:var(--vd-radius-md);padding:var(--vd-space-5) var(--vd-space-4);text-align:center;box-shadow:var(--vd-shadow-sm)}
.vd-met-prod img{height:78px;width:auto;max-width:100%;object-fit:contain;margin:0 auto .55rem;display:block}
.vd-met-prod span{display:block;font-family:var(--vd-font-title);font-weight:600;font-size:.85rem;color:var(--vd-bleu-nuit);line-height:1.25}
a.vd-met-prod{text-decoration:none;cursor:pointer;transition:transform .18s,box-shadow .18s,border-color .18s}
a.vd-met-prod:hover{transform:translateY(-4px);box-shadow:var(--vd-shadow-md);border-color:rgba(50,197,224,.45)}

/* ===== Accessibilité : mouvement réduit ===== */
@media(prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Maillage interne : cartes metiers/solutions */
.vd-fits{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--vd-space-6)}
@media(max-width:760px){.vd-fits{grid-template-columns:1fr}}
.vd-fit{display:flex;flex-direction:column;gap:.3rem;background:var(--vd-surface);border:1px solid var(--vd-border);border-radius:var(--vd-radius-lg);padding:var(--vd-space-6);text-decoration:none;box-shadow:var(--vd-shadow-sm);transition:transform .18s,box-shadow .18s,border-color .18s}
.vd-fit:hover{transform:translateY(-4px);box-shadow:var(--vd-shadow-md);border-color:rgba(50,197,224,.45)}
.vd-fit__t{font-family:var(--vd-font-title);font-weight:600;font-size:1.1rem;color:var(--vd-bleu-nuit)}
.vd-fit__d{color:var(--vd-text-muted);font-size:.92rem;line-height:1.5}
.vd-fit__go{margin-top:var(--vd-space-4);display:inline-flex;align-items:center;gap:.4rem;font-family:var(--vd-font-title);font-weight:600;font-size:.9rem;color:var(--vd-cyan)}
.vd-fit__go svg{width:15px;height:15px;transition:transform .18s}
.vd-fit:hover .vd-fit__go svg{transform:translateX(3px)}

/* Pages metiers : "Une journee type" (etapes) + FAQ accordeon */
.vd-day{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--vd-space-6);max-width:980px;margin-inline:auto}
@media(max-width:880px){.vd-day{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.vd-day{grid-template-columns:1fr}}
.vd-day__step{border-left:2px solid var(--vd-cyan);padding-left:var(--vd-space-4)}
.vd-day__t{display:block;font-family:var(--vd-font-title);font-weight:600;font-size:.98rem;color:var(--vd-bleu-nuit);margin-bottom:.35rem}
.vd-day__step p{margin:0;color:var(--vd-text-muted);font-size:.92rem;line-height:1.55}
.vd-pp-faq{max-width:760px;margin-inline:auto}
.vd-pp-faq details{border:1px solid var(--vd-border);border-radius:var(--vd-radius-md);background:var(--vd-surface);margin-bottom:.8rem;overflow:hidden}
.vd-pp-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.15rem var(--vd-space-6);font-family:var(--vd-font-title);font-weight:600;color:var(--vd-bleu-nuit);font-size:1.02rem}
.vd-pp-faq summary::-webkit-details-marker{display:none}
.vd-pp-faq summary .pm{flex:0 0 auto;width:22px;height:22px;position:relative}
.vd-pp-faq summary .pm::before,.vd-pp-faq summary .pm::after{content:"";position:absolute;background:var(--vd-cyan);border-radius:2px}
.vd-pp-faq summary .pm::before{top:10px;left:3px;right:3px;height:2px}
.vd-pp-faq summary .pm::after{left:10px;top:3px;bottom:3px;width:2px;transition:opacity .2s}
.vd-pp-faq details[open] summary .pm::after{opacity:0}
.vd-pp-faq__a{padding:0 var(--vd-space-6) 1.25rem;color:var(--vd-text);margin:0;line-height:1.65}
.vd-pp-faq__a a{color:var(--vd-bleu-nuit);font-weight:600}

/* ===== Transitions de page douces [Extension web] =====
   View Transitions API (cross-document) : fondu + léger glissement à chaque
   navigation interne. Progressif : un navigateur sans support (Firefox…)
   navigue instantanément comme avant — aucun JS, aucune perte de vitesse.
   Le header (identique partout) garde son propre groupe : il reste stable
   pendant que le contenu fond. */
@view-transition{navigation:auto}
/* L'ancienne page reste affichee telle quelle en fond ; la nouvelle fond
   par-dessus. mix-blend-mode:normal neutralise le plus-lighter par defaut
   du navigateur (fusion additive = flash blanc au chevauchement). */
::view-transition-old(root){animation:none;mix-blend-mode:normal}
::view-transition-new(root){animation:vd-page-in .3s ease both;mix-blend-mode:normal}
@keyframes vd-page-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.vd-header{view-transition-name:vd-header}
/* Posée en JS sur <html> au pageswap : les menus (panneau mobile plein écran,
   mega, scrim) disparaissent AVANT la capture de la page sortante, sinon le
   panneau blanc du menu mobile sert de fond a la transition = flash blanc. */
html.vd-nav-swap .vd-mnav,html.vd-nav-swap .vd-mega,html.vd-nav-swap .vd-mega-scrim{display:none!important}
@media(prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}

/* ===== Hero vitrine produit (vd-hero-f1) [Extension web] =====
   L'ambiance (--f1-img) continue sous un degrade encre qui va vers le
   message ; le produit detoure (photo reelle) est DEVANT, assis sur le bord
   bas, et chevauche la frontiere du degrade. Parametres par page :
   --f1-img (obligatoire), --f1-h (hauteur produit, def 88%), --f1-left. */
.vd-hero-f1{position:relative;background:var(--vd-encre);color:#fff;overflow:hidden}
.vd-hero-f1__img{position:absolute;inset:0;z-index:0;background-image:var(--f1-img);background-position:right 38%;background-size:cover;background-repeat:no-repeat}
.vd-hero-f1__veil{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,#0B0F1C 0%,#0B0F1C 26%,rgba(11,15,28,.9) 44%,rgba(11,15,28,.45) 64%,rgba(11,15,28,.08) 86%,rgba(11,15,28,0) 100%),linear-gradient(0deg,rgba(11,15,28,.5) 0%,rgba(11,15,28,0) 26%)}
.vd-hero-f1__accent{position:absolute;left:0;right:0;top:0;height:5px;background:var(--vd-gradient);z-index:4}
.vd-hero-f1__product{position:absolute;z-index:2;left:var(--f1-left,56%);bottom:clamp(1.5rem,3.2vw,3rem);height:var(--f1-h,88%);width:auto;max-height:600px;filter:drop-shadow(0 30px 55px rgba(0,0,0,.55))}
.vd-hero-f1__txt{position:relative;z-index:3;max-width:600px;padding-block:clamp(3.5rem,7vw,5.5rem) clamp(5.2rem,9.5vw,7.5rem)}
.vd-hero-f1__txt h1{font-family:var(--vd-font-title);font-weight:700;font-size:clamp(2.3rem,4.5vw,3.3rem);line-height:1.08;color:#fff;margin:.7rem 0 0}
.vd-hero-f1__txt .lead{color:#C7CEDD;font-size:var(--vd-fs-lg);max-width:54ch;margin:1.1rem 0 1.7rem}
.vd-hero-f1__txt .lead b{color:#fff}
.vd-hero-f1__cta{display:flex;gap:.8rem;flex-wrap:wrap;margin-bottom:1.6rem}
@media(max-width:1020px){.vd-hero-f1__product{left:calc(var(--f1-left,56%) + 6%);height:calc(var(--f1-h,88%) - 14%)}}
@media(max-width:880px){
  .vd-hero-f1__veil{background:linear-gradient(0deg,#0B0F1C 0%,rgba(11,15,28,.92) 55%,rgba(11,15,28,.55) 100%)}
  .vd-hero-f1__txt{max-width:none;padding-block:2.6rem 0}
  .vd-hero-f1__product{position:relative;z-index:2;left:auto;bottom:auto;display:block;height:auto;max-height:320px;margin:1.6rem auto 2rem}
}

/* Palette avec PHOTO produit : photo detouree flottante (sans cadre), plus grande
   que la boite d'icone d'origine. !important : les CSS de page fixent la taille
   des boites (.vd-met-tool__ic 44px...) apres le socle. */
.vd-ic-ph{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible;width:64px!important;height:64px!important}
.vd-ic-ph img{width:100%;height:100%;object-fit:contain;object-position:left center;display:block;filter:drop-shadow(0 4px 10px rgba(11,15,28,.14))}
/* Maillage : "Aussi pour : ..." sous les cartes metiers des pages produits (_maillage_v2.py) */
.vd-fits-more{max-width:900px;margin:var(--vd-space-8) auto 0;text-align:center;color:var(--vd-text-muted);font-size:.95rem;line-height:1.9}
.vd-fits-more a{color:var(--vd-bleu-nuit);font-weight:600;text-decoration:underline;text-decoration-color:rgba(50,197,224,.55);text-underline-offset:3px}
.vd-fits-more a:hover{color:var(--vd-cyan)}
/* Renvoi vers /financement.html (sections tarifs sombres + accompagnement) */
.vd-pp-finlink{max-width:62ch;margin:var(--vd-space-8) auto 0;text-align:center;color:#C7CEDD;font-size:.95rem;line-height:1.6}
.vd-pp-finlink a,.vd-acc-fin a{color:#fff;font-weight:700;text-decoration:none;border-bottom:2px solid rgba(50,197,224,.55)}
.vd-pp-finlink a:hover,.vd-acc-fin a:hover{border-bottom-color:var(--vd-cyan)}
.vd-acc-fin{max-width:60ch;margin:var(--vd-space-5) auto 0;color:#C7CEDD;font-size:1rem;line-height:1.6}
/* Lien Financement : barre du bas des mega-menus + accordeon mobile */
.vd-mega__fin{display:inline-flex;align-items:center;gap:.45rem;font-family:var(--vd-font-title);font-weight:600;font-size:.88rem;color:#fff;text-decoration:none;white-space:nowrap;padding:.45rem .95rem;border:1px solid rgba(255,179,62,.55);border-radius:var(--vd-radius-pill);background:rgba(255,179,62,.1);transition:border-color .2s,background .2s}
.vd-mega__fin svg{width:16px;height:16px;color:var(--vd-orange);flex:0 0 auto}
.vd-mega__fin:hover,.vd-mega__fin:focus-visible{border-color:var(--vd-orange);background:rgba(255,179,62,.18)}
.vd-macc__fin{margin-top:-.5rem;border-color:rgba(255,179,62,.6);background:rgba(255,179,62,.08)}
.vd-macc__fin svg{color:var(--vd-orange)}
/* Barre du bas du mega-menu : 3 liens -> la phrase se resserre, puis disparait avant de forcer un retour a la ligne */
.vd-mega__bar-txt{max-width:46ch}
@media(max-width:1280px){.vd-mega__bar-txt{display:none}}
/* Carte Financement du mega menu Solutions : coin bas droite (colonnes 5-6, rangee de la promo),
   alignee en bas pour ne pas agrandir le menu. Sobre : fond bleu nuit, pas de photo ni badge. */
#vd-mega-solutions .vd-mega__fincard{grid-column:5 / 7;grid-row:2;align-self:end;position:relative;z-index:1;display:flex;gap:.9rem;align-items:flex-start;padding:var(--vd-space-5);border-radius:var(--vd-radius-md);background:var(--vd-bleu-nuit);color:#fff;text-decoration:none;overflow:hidden;transition:transform .2s,box-shadow .2s}
#vd-mega-solutions .vd-mega__fincard::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--vd-gradient)}
#vd-mega-solutions .vd-mega__fincard:hover{transform:translateY(-2px);box-shadow:var(--vd-shadow-md)}
.vd-mega__fincard-ic{flex:0 0 auto;width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:rgba(255,179,62,.14);color:var(--vd-orange)}
.vd-mega__fincard-ic svg{width:20px;height:20px}
.vd-mega__fincard-txt{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.vd-mega__fincard-over{font-family:var(--vd-font-title);font-weight:600;font-size:.66rem;letter-spacing:.12em;text-transform:uppercase;color:#9fb0d0}
.vd-mega__fincard-title{font-family:var(--vd-font-title);font-weight:600;font-size:1rem;color:#fff}
.vd-mega__fincard-text{font-size:.8rem;line-height:1.45;color:#C7CEDD}
.vd-mega__fincard-link{margin-top:.2rem;display:inline-flex;align-items:center;gap:.35rem;font-family:var(--vd-font-title);font-weight:600;font-size:.86rem;color:#fff}
.vd-mega__fincard-link svg{width:15px;height:15px}
#vd-mega-solutions .vd-mega__fincard:hover .vd-mega__fincard-link{color:var(--vd-cyan)}
/* Pas de doublon : la carte remplace la pastille du bas dans le menu Solutions */
#vd-mega-solutions .vd-mega__fin{display:none}
