/* ============================================================================
   LUXGAP, site marketing (luxgap.com)
   Design system v2, pro, sobre, premium
   Palette : navy #0F1A3D · teal #00C2B5 · accent or #E5B566
   Typographie : Inter (texte), Fraunces (titres en option)
   ============================================================================ */

:root {
  /* Palette principale */
  --lxg-navy:        #0F1A3D;
  --lxg-navy-2:      #1A2A5E;
  --lxg-navy-3:      #060B22;
  --lxg-teal:        #00C2B5;
  --lxg-teal-2:      #00A095;
  --lxg-teal-light:  #E6F8F6;
  --lxg-gold:        #E5B566;
  --lxg-gold-light:  #FBF1DC;

  /* Surfaces */
  --bg:              #FAFBFC;
  --bg-soft:         #F2F5FA;
  --surface:         #FFFFFF;
  --ink:             #0F1A3D;
  --ink-2:           #2D3A5E;
  --muted:           #6C7590;
  --line:            #E5E9F0;
  --line-soft:       #F0F3F8;

  /* Sémantique */
  --ok:              #11A65A;  --ok-bg:   #E5F6EC;
  --ko:              #D04545;  --ko-bg:   #FBE8E8;
  --warn:            #C99025;  --warn-bg: #FBF4E0;

  /* Espace (8px grid) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px;  --s-4: 16px;  --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px;  --s-9: 96px;  --s-10: 128px;

  /* Radius */
  --radius:    10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;

  /* Ombres premium */
  --shadow-xs: 0 1px 2px rgba(15,26,61,0.04);
  --shadow-sm: 0 2px 4px rgba(15,26,61,0.05), 0 1px 2px rgba(15,26,61,0.03);
  --shadow-md: 0 8px 24px rgba(15,26,61,0.07), 0 3px 8px rgba(15,26,61,0.04);
  --shadow-lg: 0 24px 48px rgba(15,26,61,0.10), 0 8px 16px rgba(15,26,61,0.05);
  --shadow-xl: 0 40px 80px rgba(15,26,61,0.14), 0 16px 32px rgba(15,26,61,0.07);
  --shadow-glow: 0 0 0 1px rgba(0,194,181,0.20), 0 8px 24px rgba(0,194,181,0.15);

  /* Typographie */
  --font-sans: "Inter","Helvetica Neue",Arial,sans-serif;
  --font-serif:"Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono","SF Mono",Menlo,Consolas,monospace;

  --container: 1200px;
  --container-narrow: 880px;
  --container-prose: 720px;

  /* Animation */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

*,*::before,*::after { box-sizing: border-box; }

html, body {
  margin:0; padding:0;
  font-family: var(--font-sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}
body { line-height: 1.6; }

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--lxg-navy); text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--lxg-teal-2); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--lxg-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  color: var(--lxg-navy);
  margin: 0 0 var(--s-4);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 4vw + 0.5rem, 3.4rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 2.2vw + 0.6rem, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-2); }

.muted { color: var(--muted); }
.small { font-size: 0.9em; }
em.accent {
  font-style: normal;
  color: var(--lxg-teal-2);
  font-weight: inherit;
  background: linear-gradient(180deg, transparent 60%, rgba(0,194,181,.18) 60%);
  padding: 0 0.1em;
}

code {
  font-family: var(--font-mono);
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.92em;
  color: var(--ink);
}

/* === Containers === */
.lxg-container { max-width: var(--container); margin: 0 auto; padding: 0 var(--s-5); }
.lxg-container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--s-5); }

/* === Boutons premium === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: var(--lxg-navy);
  color: #fff;
  text-decoration: none;
  transition: background .18s var(--ease), transform .12s var(--ease), box-shadow .18s var(--ease);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn:hover { background: var(--lxg-navy-2); color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lxg-teal); color: #fff; }
.btn-primary:hover { background: var(--lxg-teal-2); box-shadow: var(--shadow-glow); }
.btn-ghost { background: transparent; color: var(--lxg-navy); box-shadow: inset 0 0 0 1.5px var(--lxg-navy); }
.btn-ghost:hover { background: var(--lxg-navy); color: #fff; box-shadow: var(--shadow-md); }
.btn-light { background: rgba(255,255,255,.10); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.40); backdrop-filter: blur(8px); }
.btn-light:hover { background: #fff; color: var(--lxg-navy); }
.btn-ghost-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-ghost-light:hover { background: #fff; color: var(--lxg-navy); box-shadow: var(--shadow-md); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* === Topbar premium (glassmorphism) === */
.lxg-topbar {
  position: sticky; top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229,233,240,0.6);
}
.lxg-topbar-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: 14px var(--s-5);
  max-width: var(--container);
  margin: 0 auto;
}
.lxg-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--lxg-navy);
  text-decoration: none;
  flex-shrink: 0;
}
.lxg-brand:hover { text-decoration: none; }
.lxg-brand img { height: 42px; width: auto; max-height: 42px; object-fit: contain; }
.lxg-brand-tag {
  display: none;
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 3px 8px;
  background: var(--bg-soft);
  border-radius: var(--radius-pill);
}
@media (min-width: 1100px) {
  .lxg-brand-tag { display: inline-flex; }
}

.lxg-nav {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-left: auto;
}
/* Desktop : header interne et actions rapides du panneau mobile sont caches.
   .lxg-nav-links utilise display:contents pour que ses enfants (dropdowns,
   liens, CTA) se comportent comme des enfants directs de .lxg-nav, sans
   casser le layout flex existant. */
.lxg-nav-head,
.lxg-nav-actions { display: none; }
.lxg-nav-backdrop { display: none; }
.lxg-nav-links { display: contents; }
.lxg-nav > a {
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 500;
  padding: 6px 4px;
  position: relative;
}
.lxg-nav > a::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px;
  bottom: 2px;
  height: 2px;
  background: var(--lxg-teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s var(--ease);
}
.lxg-nav > a:hover { color: var(--lxg-navy); text-decoration: none; }
.lxg-nav > a:hover::after { transform: scaleX(1); }

.lxg-nav-cta {
  background: var(--lxg-teal);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
  transition: all .2s var(--ease);
}
.lxg-nav-cta:hover { background: var(--lxg-teal-2); text-decoration: none !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.lxg-nav-cta::after { display: none !important; }

.lxg-lang-toggle {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--lxg-navy);
  letter-spacing: 0.08em;
  background: #fff;
}
.lxg-lang-toggle:hover { border-color: var(--lxg-teal); color: var(--lxg-teal-2); text-decoration: none; }

/* === Dropdown nav === */
.lxg-dropdown { position: relative; }
.lxg-dropdown-toggle {
  background: none;
  border: 0;
  padding: 6px 4px;
  font: inherit;
  color: var(--ink-2);
  font-size: 0.93rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lxg-dropdown-toggle:hover { color: var(--lxg-navy); }
.lxg-dropdown-toggle::after {
  content: "";
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform .2s var(--ease);
}
.lxg-dropdown[data-open="true"] .lxg-dropdown-toggle { color: var(--lxg-navy); }
.lxg-dropdown[data-open="true"] .lxg-dropdown-toggle::after { transform: rotate(180deg); }

.lxg-dropdown::before {
  content: "";
  position: absolute;
  top: 100%;
  left: -10px; right: -10px;
  height: 14px;
  display: none;
}
.lxg-dropdown[data-open="true"]::before { display: block; }

.lxg-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translate(-50%, -8px);
  min-width: 320px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  z-index: 35;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.lxg-dropdown[data-open="true"] .lxg-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s;
}
.lxg-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background .15s var(--ease), color .15s var(--ease);
}
.lxg-dropdown-menu a:hover {
  background: var(--lxg-teal-light);
  color: var(--lxg-teal-2);
  text-decoration: none;
}
.lxg-dropdown-menu a small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 400;
  margin-top: 3px;
}

/* Burger mobile */
.lxg-burger {
  display: none;
  background: transparent;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--lxg-navy);
}

@media (max-width: 1080px) {
  /* Le positionnement complet du panneau (top/right/bottom/left/width/transform)
     est defini dans le bloc "MOBILE FIXES" plus bas, qui est la source de
     verite. Ici on garde uniquement les regles non-positionnelles. */
  .lxg-nav.open { transform: translateX(0); }
  .lxg-nav > a {
    display: block;
    padding: 16px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.05rem;
    color: var(--ink);
  }
  .lxg-nav > a::after { display: none; }
  .lxg-dropdown { display: block; padding: 0; border-bottom: 1px solid var(--line-soft); }
  .lxg-dropdown::before { display: none !important; }
  .lxg-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
  }
  .lxg-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 0 12px 16px !important;
    margin: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .25s var(--ease), opacity .15s var(--ease), visibility 0s linear .15s;
  }
  .lxg-dropdown[data-open="true"] .lxg-dropdown-menu {
    max-height: 600px;
    opacity: 1;
    visibility: visible;
    transition: max-height .25s var(--ease), opacity .15s var(--ease), visibility 0s;
  }
  .lxg-dropdown-menu a {
    padding: 12px 0 !important;
    font-size: 0.98rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .lxg-dropdown-menu a:last-child { border-bottom: 0; }
  .lxg-burger { display: inline-flex; margin-left: auto; }
  .lxg-nav-cta {
    margin-top: var(--s-4);
    align-self: stretch;
    text-align: center;
    padding: 14px 16px !important;
    font-size: 1rem;
  }
  .lxg-lang-toggle { align-self: flex-start; margin-top: var(--s-3); }
}

/* === Internal linking SEO : bloc "A explorer aussi" en bas des pages services === */
.lxg-related-h {
  font-size: 1.05rem;
  color: var(--lxg-navy);
  margin: var(--s-5) 0 var(--s-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lxg-related-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
  display: grid;
  gap: 8px;
}
.lxg-related-list li a {
  display: block;
  padding: 12px 16px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.lxg-related-list li a:hover {
  background: rgba(0, 194, 181, 0.08);
  border-color: var(--lxg-teal);
  transform: translateY(-1px);
  text-decoration: none;
}
.lxg-related-list li a strong { color: var(--lxg-navy); }

/* === Icônes pictogrammes === */
.lxg-icon { display: inline-block; vertical-align: middle; color: var(--lxg-navy); flex-shrink: 0; }
.lxg-icon-lg { width: 64px; height: 64px; }
.lxg-icon-md { width: 44px; height: 44px; }
.lxg-icon-sm { width: 28px; height: 28px; }

.lxg-card-icon-svg {
  width: 56px; height: 56px;
  background: var(--lxg-teal-light);
  color: var(--lxg-navy);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s-3);
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lxg-card-icon-svg svg { width: 36px; height: 36px; }
.lxg-section-dark .lxg-card-icon-svg { background: rgba(0,194,181,.20); color: #fff; }

/* === Hero premium === */
.lxg-hero {
  position: relative;
  padding: var(--s-9) 0 var(--s-9);
  text-align: center;
  background:
    radial-gradient(ellipse at 18% -5%, rgba(0,194,181,0.12) 0%, transparent 45%),
    radial-gradient(ellipse at 90% 110%, rgba(15,26,61,0.06) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  overflow: hidden;
}
.lxg-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 25%, rgba(0,194,181,0.08) 0, transparent 35%),
    radial-gradient(circle at 88% 75%, rgba(229,181,102,0.06) 0, transparent 35%);
  pointer-events: none;
}

/* Hero avec image SVG cyber (variant) */
.lxg-hero-img {
  background-image: url('/assets/img/hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 120px 0 100px;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.lxg-hero-img::before { display: none; }
.lxg-hero-img h1 { color: #fff; max-width: 22ch; margin-left: auto; margin-right: auto; }
.lxg-hero-img h2 { color: #fff; }
.lxg-hero-img .lxg-hero-lead { color: rgba(255,255,255,.92); }
.lxg-hero-img h1 em.accent {
  background: none;
  color: #5ee0d4;
}
.lxg-hero-img .lxg-eyebrow {
  background: rgba(0,194,181,.18);
  color: #b6f0ec;
  border-color: rgba(0,194,181,.35);
}
.lxg-hero-img .lxg-hero-trust span { color: rgba(255,255,255,.7); }

.lxg-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lxg-teal-2);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--lxg-teal-light);
  border: 1px solid rgba(0,194,181,0.18);
  border-radius: var(--radius-pill);
  margin-bottom: var(--s-5);
}
.lxg-hero h1 {
  max-width: 22ch;
  margin: 0 auto var(--s-5);
  position: relative;
}
.lxg-hero-lead {
  max-width: 60ch;
  margin: 0 auto var(--s-7);
  color: var(--ink-2);
  font-size: 1.1rem;
  line-height: 1.55;
  position: relative;
}
.lxg-hero-img .lxg-hero-lead { color: rgba(255,255,255,.92); }

.lxg-hero-cta {
  display: flex; flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
  margin-bottom: var(--s-7);
  position: relative;
}
.lxg-hero-trust {
  margin-top: var(--s-7);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-4) var(--s-7);
  position: relative;
}
.lxg-hero-trust span {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

/* === Sections === */
.lxg-section { padding: var(--s-9) 0; position: relative; }
.lxg-section-alt { background: linear-gradient(180deg, #fff 0%, var(--bg) 50%, #fff 100%); }
.lxg-section-dark {
  background: linear-gradient(135deg, var(--lxg-navy) 0%, var(--lxg-navy-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.lxg-section-dark::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 0%, rgba(0,194,181,.18) 0%, transparent 55%);
  pointer-events: none;
}
.lxg-section-dark > * { position: relative; }
.lxg-section-dark h2,
.lxg-section-dark h3 { color: #fff; }
.lxg-section-dark p,
.lxg-section-dark li { color: rgba(255,255,255,0.85); }

.lxg-section-head {
  text-align: center;
  margin-bottom: var(--s-7);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.lxg-section-head .lxg-eyebrow { margin-bottom: var(--s-3); }
.lxg-section-head h2 { margin-bottom: var(--s-4); }
.lxg-section-head p {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.55;
}
.lxg-section-dark .lxg-section-head p { color: rgba(255,255,255,.85); }

/* === Grid === */
.lxg-grid {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.lxg-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lxg-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .lxg-grid-3 { grid-template-columns: 1fr; }
  .lxg-grid-2 { grid-template-columns: 1fr; }
}

/* === Cards premium === */
.lxg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
}
.lxg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,194,181,0.30);
}
.lxg-card:hover .lxg-card-icon-svg {
  background: var(--lxg-teal);
  color: #fff;
}
.lxg-card h3 { color: var(--lxg-navy); margin: 0; }
.lxg-card p { color: var(--ink-2); margin: 0; line-height: 1.55; }
.lxg-card .lxg-card-link {
  margin-top: auto;
  font-weight: 600;
  color: var(--lxg-teal-2);
  font-size: 0.92rem;
  padding-top: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s var(--ease);
}
.lxg-card-link-block { color: var(--ink); text-decoration: none; cursor: pointer; }
.lxg-card-link-block:hover { text-decoration: none; color: var(--ink); }
.lxg-card-link-block h3 { transition: color .15s; }
.lxg-card-link-block:hover h3 { color: var(--lxg-teal-2); }

/* === Mandats home === */
.lxg-mandates { gap: var(--s-6); margin-top: var(--s-6); }
.lxg-mandate-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-7) var(--s-6) var(--s-6);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  overflow: hidden;
}
.lxg-mandate-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lxg-teal) 0%, var(--lxg-gold) 100%);
}
.lxg-mandate-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,194,181,0.30); }
.lxg-mandate-card h3 { font-size: 1.5rem; margin: 0; }
.lxg-mandate-tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--lxg-teal-light);
  color: var(--lxg-teal-2);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
}
.lxg-mandate-points { list-style: none; padding: 0; margin: var(--s-3) 0 0; }
.lxg-mandate-points li {
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line-soft);
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.5;
}
.lxg-mandate-points li:first-child { border-top: 0; padding-top: 0; }
.lxg-mandate-card .lxg-card-link { margin-top: auto; padding-top: var(--s-4); }

/* === Scan Dark Web === */
.lxg-scan {
  background: linear-gradient(135deg, var(--lxg-navy) 0%, var(--lxg-navy-3) 100%);
  color: #fff;
  padding: var(--s-9) 0;
  position: relative;
  overflow: hidden;
}
.lxg-scan::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(0,194,181,.20) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(229,181,102,.10) 0%, transparent 50%);
  pointer-events: none;
}
.lxg-scan-inner { position: relative; max-width: 760px; margin: 0 auto; padding: 0 var(--s-5); text-align: center; }
.lxg-scan h2 { color: #fff; }
.lxg-scan p { color: rgba(255,255,255,0.85); }
.lxg-scan .lxg-eyebrow {
  background: rgba(0,194,181,.18) !important;
  color: #b6f0ec !important;
  border-color: rgba(0,194,181,.35);
}
.lxg-scan-form {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  margin: var(--s-6) auto var(--s-3);
  max-width: 580px;
}
.lxg-scan-form input[type=text] {
  flex: 1 1 280px;
  padding: 16px 20px;
  border-radius: var(--radius);
  border: 0;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(255,255,255,0.95);
}
.lxg-scan-form input[type=text]:focus { background: #fff; outline: 3px solid var(--lxg-teal); outline-offset: 0; }
.lxg-scan-disclaimer { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-top: var(--s-4); }

/* === Captcha visible (anti-bot stateless) === */
.lxg-scan-captcha {
  margin: var(--s-3) auto 0;
  max-width: 640px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  text-align: left;
}
.lxg-scan-captcha-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 280px;
  min-width: 0;
  cursor: pointer;
}
.lxg-scan-captcha-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  background: rgba(0,194,181,0.18);
  border-radius: 50%;
  font-size: 14px;
  flex-shrink: 0;
}
.lxg-scan-captcha-q { line-height: 1.4; }
.lxg-scan-captcha-q strong { color: #fff; font-weight: 700; }
.lxg-scan-captcha input[type=number] {
  width: 80px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  color: var(--lxg-navy);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}
.lxg-scan-captcha input[type=number]::-webkit-outer-spin-button,
.lxg-scan-captcha input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.lxg-scan-captcha input[type=number]:focus {
  outline: 3px solid var(--lxg-teal);
  outline-offset: 0;
}
.lxg-scan-captcha input[type=number]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lxg-scan-captcha-input--err {
  outline: 2px solid #f87171 !important;
  background: #fff5f5 !important;
}
.lxg-scan-captcha-hint {
  flex-basis: 100%;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: -2px;
}
.lxg-scan-captcha-hint--err {
  color: #fca5a5;
}
.lxg-scan-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lxg-scan-result {
  text-align: left;
  margin: var(--s-6) auto 0;
  max-width: 640px;
  padding: var(--s-5) var(--s-6);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.96);
  color: var(--ink);
  box-shadow: var(--shadow-md);
}
.lxg-scan-result h3 { color: var(--lxg-navy); margin: 0 0 var(--s-3); font-size: 1.1rem; }
.lxg-scan-result p { color: var(--ink-2); margin: 0 0 var(--s-2); }
.lxg-scan-result.alert { border-left: 4px solid var(--ko); }
.lxg-scan-result.ok    { border-left: 4px solid var(--ok); }
/* Mode chargement (info) : transparent pour que le loader blanc soit lisible sur le fond navy */
.lxg-scan-result.info  {
  background: transparent !important;
  box-shadow: none !important;
  border-left: 0 !important;
  color: #fff !important;
  padding: var(--s-5) 0 !important;
}
.lxg-scan-result.warn  { border-left: 4px solid var(--warn); }
.lxg-scan-result code { background: var(--bg-soft); }
.lxg-scan-cta-row { text-align: center; margin-top: var(--s-4); }

/* === Marquee logos === */
.lxg-logo-marquee {
  position: relative;
  overflow: hidden;
  margin: var(--s-6) auto 0;
  padding: var(--s-4) 0;
  width: 100%;
  max-width: 100vw;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.lxg-logo-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 64px;
  animation: lxg-marquee 80s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.lxg-logo-marquee-track img {
  height: 40px;
  width: auto;
  max-width: 130px;
  flex-shrink: 0;
  object-fit: contain;
  filter: none;
  transition: filter .25s var(--ease);
  vertical-align: middle;
}
.lxg-logo-marquee:hover .lxg-logo-marquee-track { animation-play-state: paused; }
.lxg-logo-marquee-track img:hover { transform: scale(1.05); }
/* Sur le hero (fond clair), les logos restent en couleur naturelle */
.lxg-hero-img .lxg-logo-marquee-track img { filter: none; }
.lxg-hero-img .lxg-logo-marquee-track img:hover { filter: none; transform: scale(1.05); }
@keyframes lxg-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .lxg-logo-marquee-track { animation: none; }
}
@media (max-width: 600px) {
  .lxg-logo-marquee-track { gap: 36px; animation-duration: 60s; }
  .lxg-logo-marquee-track img { height: 28px; max-width: 90px; }
}

/* === Mur de logos === */
.lxg-logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-4);
  margin: var(--s-6) 0 0;
}
.lxg-logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.lxg-logo-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0,194,181,0.30);
}
.lxg-logo-tile img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  filter: none;
  transition: filter .25s var(--ease);
  object-fit: contain;
}


/* === Tuiles lois === */
.lxg-laws-grid { gap: var(--s-3); }
.lxg-law-tile {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  font-weight: 600;
  color: var(--lxg-navy);
  font-size: 1rem;
  transition: all .2s var(--ease);
}
.lxg-law-tile:hover {
  border-color: var(--lxg-teal);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  color: var(--lxg-teal-2);
}
.lxg-law-tile svg { flex-shrink: 0; }

/* === IA section === */
.lxg-ia-section {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--s-7);
  align-items: start;
}
.lxg-ia-icon { padding-top: 4px; color: #fff; }
.lxg-ia-icon svg { color: #fff; }
@media (max-width: 700px) {
  .lxg-ia-section { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* === FAQ === */
.lxg-faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: var(--s-2);
  padding: var(--s-4) var(--s-5);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lxg-faq details[open] { border-color: var(--lxg-teal); box-shadow: var(--shadow-sm); }
.lxg-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--lxg-navy);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem;
}
.lxg-faq summary::-webkit-details-marker { display: none; }
.lxg-faq summary::after { content: "+"; color: var(--lxg-teal-2); font-weight: 400; font-size: 1.4rem; line-height: 1; }
.lxg-faq details[open] summary::after { content: "−"; }
.lxg-faq details > p { margin: var(--s-3) 0 0; color: var(--ink-2); line-height: 1.6; }

/* === References === */
.lxg-ref-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-6);
  margin-bottom: var(--s-5);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.lxg-ref-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lxg-ref-card h3 { color: var(--lxg-navy); margin: 0 0 6px; font-size: 1.35rem; }
.lxg-ref-card .lxg-ref-sector {
  color: var(--lxg-teal-2);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}

/* === CTA Final === */
.lxg-cta-final {
  text-align: center;
  background: linear-gradient(135deg, var(--lxg-teal) 0%, var(--lxg-teal-2) 100%);
  padding: var(--s-9) var(--s-5);
  color: #fff;
  border-radius: var(--radius-xl);
  margin: var(--s-9) auto;
  max-width: calc(var(--container) - 48px);
  position: relative;
  overflow: hidden;
}
.lxg-cta-final::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.lxg-cta-final > * { position: relative; }
.lxg-cta-final h2 { color: #fff; margin-bottom: var(--s-3); font-size: clamp(1.6rem, 2.5vw, 2.2rem); }
.lxg-cta-final p { color: rgba(255,255,255,.95); max-width: 60ch; margin: 0 auto var(--s-5); font-size: 1.05rem; }
.lxg-cta-final .btn { background: #fff; color: var(--lxg-teal-2); font-weight: 700; padding: 16px 32px; }
.lxg-cta-final .btn:hover { background: #fff; color: var(--lxg-navy); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.lxg-cta-final-alt { font-size: 0.92rem; color: rgba(255,255,255,.85); margin-top: var(--s-3); }
.lxg-cta-final-alt a { color: #fff; text-decoration: underline; }

/* === Footer === */
.lxg-footer {
  background: var(--lxg-navy-3);
  color: #c0c8de;
  padding: var(--s-9) 0 var(--s-5);
  font-size: 0.93rem;
}
.lxg-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 var(--s-3); font-weight: 600; }
.lxg-footer a { color: #c0c8de; transition: color .2s var(--ease); }
.lxg-footer a:hover { color: var(--lxg-teal); text-decoration: none; }
.lxg-footer-grid { display: grid; gap: var(--s-7); grid-template-columns: 2fr 1fr 1fr 1fr; }
.lxg-footer-grid img { height: 32px; margin-bottom: var(--s-4); }
.lxg-footer-grid ul { list-style: none; padding: 0; margin: 0; }
.lxg-footer-grid li { margin-bottom: var(--s-2); }
.lxg-footer-bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-7); justify-content: space-between;
  font-size: 0.82rem; color: rgba(255,255,255,.55);
}
@media (max-width: 800px) { .lxg-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .lxg-footer-grid { grid-template-columns: 1fr; } }

/* === Inner pages === */
.lxg-page-hero {
  padding: var(--s-9) 0 var(--s-7);
  background:
    radial-gradient(ellipse at 10% 0%, rgba(0,194,181,0.10) 0%, transparent 40%),
    var(--bg);
}
.lxg-page-hero h1 { max-width: 22ch; }
.lxg-page-hero .lxg-hero-lead { margin-left: 0; max-width: 64ch; text-align: left; }
.lxg-page-hero { text-align: left; }
.lxg-page-hero .lxg-eyebrow { margin-bottom: var(--s-4); }

.lxg-prose { max-width: var(--container-prose); }
.lxg-prose h2 { margin-top: 1.6em; }
.lxg-prose h3 { margin-top: 1.4em; }
.lxg-prose ul, .lxg-prose ol { padding-left: var(--s-5); margin-bottom: 1.2em; }
.lxg-prose li { margin-bottom: 8px; color: var(--ink-2); line-height: 1.55; }

/* === Roadmap DPO === */
.lxg-roadmap {
  display: grid;
  gap: var(--s-3);
  max-width: 880px;
  margin: 0 auto;
}
.lxg-roadmap-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-4) var(--s-6);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lxg-roadmap-item[open] {
  border-color: var(--lxg-teal);
  box-shadow: var(--shadow-sm);
}
.lxg-roadmap-item summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  list-style: none;
  font-weight: 600;
  color: var(--lxg-navy);
  font-size: 1.05rem;
}
.lxg-roadmap-item summary::-webkit-details-marker { display: none; }
.lxg-roadmap-item summary::after {
  content: "+";
  margin-left: auto;
  color: var(--lxg-teal-2);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}
.lxg-roadmap-item[open] summary::after { content: "−"; }
.lxg-roadmap-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--lxg-teal-light);
  color: var(--lxg-teal-2);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}
.lxg-roadmap-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lxg-navy);
  flex-shrink: 0;
}
.lxg-roadmap-icon svg { width: 28px; height: 28px; }
.lxg-roadmap-title { flex: 1; min-width: 0; }
.lxg-roadmap-item > p {
  margin: var(--s-4) 0 0;
  padding: var(--s-4) 0 0;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .lxg-roadmap-item summary { gap: var(--s-3); font-size: 0.98rem; }
  .lxg-roadmap-num { width: 34px; height: 34px; font-size: 0.82rem; }
  .lxg-roadmap-icon svg { width: 22px; height: 22px; }
}

/* === Europrivacy / Whistleblowing === */
.lxg-europrivacy { gap: var(--s-7); align-items: center; }
.lxg-europrivacy-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-5);
}
@media (max-width: 800px) {
  .lxg-europrivacy { gap: var(--s-5); }
  .lxg-europrivacy-side { order: -1; }
}

/* === Page équipes === */
.lxg-team-detail {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--s-7);
  align-items: start;
}
.lxg-team-detail-icon {
  background: var(--lxg-teal-light);
  color: var(--lxg-navy);
  border-radius: 16px;
  width: 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.lxg-team-detail h2 { margin-top: 0; }
.lxg-team-detail-lead { font-size: 1.1rem; color: var(--ink-2); line-height: 1.55; }
.lxg-team-list { padding-left: var(--s-4); }
.lxg-team-list li { margin-bottom: var(--s-3); color: var(--ink-2); line-height: 1.6; }
.lxg-team-list li strong { color: var(--lxg-navy); }
@media (max-width: 700px) {
  .lxg-team-detail { grid-template-columns: 1fr; gap: var(--s-4); }
  .lxg-team-detail-icon { width: 64px; height: 64px; }
  .lxg-team-detail-icon svg { width: 44px; height: 44px; }
}

/* === Lois cards === */
.lxg-law-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-6) var(--s-6);
  margin-bottom: var(--s-5);
  border-left: 5px solid var(--lxg-teal);
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.lxg-law-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.lxg-law-card h3 { color: var(--lxg-navy); margin-top: 0; font-size: 1.35rem; }
.lxg-law-card .lxg-law-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 8px var(--s-5);
  margin: var(--s-4) 0;
  font-size: 0.95rem;
}
.lxg-law-card .lxg-law-row dt { color: var(--lxg-teal-2); font-weight: 700; }
.lxg-law-card .lxg-law-row dd { margin: 0; color: var(--ink-2); }
.lxg-law-card .lxg-law-help {
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px dashed var(--line);
  font-size: 0.95rem;
  color: var(--ink);
}
@media (max-width: 600px) {
  .lxg-law-card .lxg-law-row { grid-template-columns: 1fr; }
  .lxg-law-card .lxg-law-row dt { margin-top: 6px; }
}

/* === Forms === */
.lxg-form { display: grid; gap: var(--s-3); }
.lxg-form label { font-weight: 500; font-size: 0.92rem; color: var(--ink-2); }
.lxg-form input,
.lxg-form select,
.lxg-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.lxg-form input:focus,
.lxg-form textarea:focus,
.lxg-form select:focus { border-color: var(--lxg-teal); box-shadow: 0 0 0 3px rgba(0,194,181,0.12); }
.lxg-form textarea { min-height: 120px; resize: vertical; }
.lxg-form-row { display: grid; gap: var(--s-3); grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .lxg-form-row { grid-template-columns: 1fr; } }
.lxg-form-consent { font-size: 0.82rem; color: var(--muted); }
.lxg-form-msg { padding: var(--s-4) var(--s-5); border-radius: var(--radius); margin-bottom: var(--s-3); }
.lxg-form-msg.ok { background: var(--ok-bg); color: #1d6b3f; border: 1px solid #b8dec9; }
.lxg-form-msg.err { background: var(--ko-bg); color: #803131; border: 1px solid #e9b3b3; }

/* Honeypot anti-bot : invisible pour les humains, present dans le DOM pour les bots */
.lxg-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Question anti-bot (calcul mental) */
.lxg-form-antibot {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: #f7faff; border: 1px solid var(--line);
  padding: 12px 14px; border-radius: var(--radius);
  margin: 4px 0;
}
.lxg-form-antibot label {
  font-size: 0.92rem; color: var(--lxg-navy); margin: 0;
  display: inline-flex; align-items: center; gap: 8px;
}
.lxg-form-antibot label strong { color: var(--lxg-teal-2); font-size: 1.05rem; }
.lxg-form-antibot input {
  width: 80px; padding: 8px 10px; font-size: 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; font-weight: 600;
}
.lxg-form-antibot-hint { font-size: 0.78rem; color: var(--muted); margin-left: auto; }
@media (max-width: 600px) {
  .lxg-form-antibot-hint { margin-left: 0; flex-basis: 100%; }
}

/* === PECB cards === */
.lxg-pecb-card {
  gap: var(--s-3);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}
.lxg-pecb-card h3 {
  font-size: 1.18rem;
  margin: 0;
  color: var(--lxg-navy);
}
.lxg-pecb-card p { margin: 0; line-height: 1.55; }
.lxg-pecb-meta { display:flex; flex-wrap:wrap; gap:8px; align-items:center; margin-bottom:4px; }
.lxg-pecb-meta .badge {
  display:inline-block; padding:4px 10px; border-radius:var(--radius-pill);
  font-size:0.74rem; font-weight:700; letter-spacing:0.04em; text-transform:uppercase;
}
.lxg-pecb-meta .badge-blue { background: var(--lxg-teal-light); color: var(--lxg-teal-2); }
.lxg-pecb-meta .badge-grey { background:#eee; color:#555; }
.lxg-pecb-actions {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-soft);
}
.lxg-pecb-actions .btn { flex: 1 1 auto; padding: 10px 14px; font-size: 0.9rem; }
.lxg-pecb-actions .btn.btn-ghost { background: #fff; }
@media (max-width: 600px) {
  .lxg-pecb-actions .btn { flex: 1 1 100%; }
}

/* === Brochures === */
.lxg-bro-card {
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.lxg-bro-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--lxg-teal);
  text-decoration: none;
  color: var(--ink);
}
.lxg-bro-card .lxg-card-icon-svg { flex-shrink: 0; margin: 0; }
.lxg-bro-meta { flex: 1; min-width: 0; }
.lxg-bro-meta h3 { margin: 0 0 4px; font-size: 1.05rem; color: var(--lxg-navy); }
.lxg-bro-meta p { margin: 0 0 var(--s-2); }
.lxg-bro-action { color: var(--lxg-teal-2); font-size: 0.9rem; font-weight: 600; }

.lxg-bro-suggest {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) var(--s-5);
  background: var(--lxg-teal-light);
  border-radius: var(--radius-lg);
  margin: var(--s-5) 0;
}
.lxg-bro-suggest-icon { font-size: 1.8rem; flex-shrink: 0; }
.lxg-bro-suggest > div { flex: 1; min-width: 0; }
.lxg-bro-suggest > div strong { color: var(--lxg-navy); }
.lxg-bro-suggest .btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 600px) {
  .lxg-bro-suggest { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* === Tiers (anciens) === */
.lxg-tiers {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin: var(--s-5) 0;
}
.lxg-tier {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-5);
}
.lxg-tier h4 { color: var(--lxg-navy); font-size: 1.05rem; margin: 0 0 var(--s-2); }
.lxg-tier p { font-size: 0.95rem; color: var(--ink-2); margin: 0; }

/* === Skip link === */
.lxg-skip {
  position: absolute; top: -40px; left: 8px;
  background: var(--lxg-navy);
  color: #fff;
  padding: 8px var(--s-4);
  border-radius: 6px;
  z-index: 100;
}
.lxg-skip:focus { top: 8px; }

/* === Chat widget === */
.lxg-chat-launcher {
  position: fixed; right: 20px; bottom: 20px;
  background: var(--lxg-teal);
  color: #fff;
  border: 0;
  border-radius: var(--radius-pill);
  padding: 14px 22px 14px 18px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 50;
  transition: background .2s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.lxg-chat-launcher:hover { background: var(--lxg-teal-2); transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.lxg-chat-launcher .lxg-chat-launcher-dot {
  width: 10px; height: 10px;
  background: #fff;
  border-radius: 50%;
  position: relative;
}
.lxg-chat-launcher .lxg-chat-launcher-dot::before {
  content: ""; position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45);
  animation: lxg-pulse 1.6s infinite;
}
@keyframes lxg-pulse {
  0%   { transform: scale(.8); opacity: .9; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(.8); opacity: 0; }
}

.lxg-chat-window {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 380px;
  max-width: calc(100vw - 24px);
  max-height: min(640px, calc(100vh - 40px));
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(15, 26, 61, 0.35), 0 8px 24px -8px rgba(15, 26, 61, 0.18);
  display: none;
  flex-direction: column;
  z-index: 60;
  overflow: hidden;
  border: 1px solid rgba(15, 26, 61, 0.08);
  animation: lxg-chat-slide-in .25s var(--ease) both;
}
@keyframes lxg-chat-slide-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.lxg-chat-window.open { display: flex; }
.lxg-chat-window.expanded {
  width: min(720px, calc(100vw - 32px));
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
  right: 16px; bottom: 16px;
  transition: width .2s ease, height .2s ease;
}
.lxg-chat-window.expanded .lxg-chat-body { font-size: 0.97rem; padding: 22px; gap: 14px; }
.lxg-chat-window.expanded .lxg-chat-msg { max-width: 78%; }

/* === Header === */
.lxg-chat-header {
  padding: 16px 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 194, 181, 0.22), transparent 50%),
    linear-gradient(135deg, var(--lxg-navy) 0%, var(--lxg-navy-2) 100%);
  color: #fff;
  display: flex; align-items: center; gap: 12px;
  position: relative;
}
.lxg-chat-header::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 194, 181, 0.5), transparent);
}
.lxg-chat-header-avatar {
  position: relative;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--lxg-teal) 0%, #00A99D 100%);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(0, 194, 181, 0.18);
  letter-spacing: 0.02em;
}
/* Indicateur online pulse */
.lxg-chat-header-avatar::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width: 12px; height: 12px;
  background: #22c55e;
  border: 2px solid var(--lxg-navy);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  animation: lxg-online-pulse 2s ease-in-out infinite;
}
@keyframes lxg-online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50%      { box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.lxg-chat-header-text { flex: 1; min-width: 0; }
.lxg-chat-header-text strong { display: block; font-size: 0.95rem; letter-spacing: 0.005em; }
.lxg-chat-header-text span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.74rem; opacity: 0.85;
  margin-top: 1px;
}
.lxg-chat-header-text span::before {
  content: "";
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
}
.lxg-chat-close,
.lxg-chat-expand {
  background: transparent; border: 0; color: rgba(255,255,255,.85);
  cursor: pointer; padding: 4px 6px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 6px; transition: background-color .15s, color .15s, transform .15s;
}
.lxg-chat-close { font-size: 1.35rem; line-height: 1; padding: 0 4px; }
.lxg-chat-close:hover,
.lxg-chat-expand:hover { color: #fff; background: rgba(255,255,255,.14); transform: scale(1.05); }
.lxg-chat-expand .lxg-chat-expand-in { display: none; }
.lxg-chat-window.expanded .lxg-chat-expand .lxg-chat-expand-out { display: none; }
.lxg-chat-window.expanded .lxg-chat-expand .lxg-chat-expand-in  { display: inline; }

/* === Body === */
.lxg-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: linear-gradient(180deg, #fbfaf6 0%, #f6f4ee 100%);
  font-size: 0.93rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 26, 61, 0.18) transparent;
}
.lxg-chat-body::-webkit-scrollbar { width: 6px; }
.lxg-chat-body::-webkit-scrollbar-thumb { background: rgba(15, 26, 61, 0.18); border-radius: 3px; }

/* === Messages === */
.lxg-chat-msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 16px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  animation: lxg-msg-in .22s var(--ease) both;
}
@keyframes lxg-msg-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lxg-chat-msg.bot {
  background: #fff;
  color: var(--ink);
  align-self: flex-start;
  border: 1px solid rgba(15, 26, 61, 0.08);
  border-left: 3px solid var(--lxg-teal);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(15, 26, 61, 0.04);
}
.lxg-chat-msg.user {
  background: linear-gradient(135deg, var(--lxg-navy) 0%, var(--lxg-navy-2) 100%);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 2px 6px rgba(15, 26, 61, 0.18);
}
.lxg-chat-msg.thinking {
  background: #fff;
  color: var(--muted);
  font-style: italic;
  align-self: flex-start;
  border: 1px solid rgba(15, 26, 61, 0.08);
  display: inline-flex; align-items: center; gap: 8px;
}
.lxg-chat-msg.thinking::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lxg-teal);
  animation: lxg-thinking-bounce 1s ease-in-out infinite;
}
@keyframes lxg-thinking-bounce {
  0%, 100% { transform: scale(0.6); opacity: 0.4; }
  50%      { transform: scale(1.1); opacity: 1; }
}
.lxg-chat-msg.error {
  background: var(--ko-bg);
  color: #803131;
  align-self: stretch;
  border: 1px solid #e9b3b3;
  border-left: 3px solid #c2410c;
  font-size: 0.88rem;
}

/* Markdown rendu naturellement dans les reponses du bot */
.lxg-chat-msg.bot strong { font-weight: 600; color: var(--lxg-navy); }
.lxg-chat-msg.bot em { font-style: italic; }
.lxg-chat-msg.bot a { color: var(--lxg-teal-2); text-decoration: underline; text-underline-offset: 2px; }
.lxg-chat-msg.bot a:hover { color: var(--lxg-navy); }
.lxg-chat-msg.bot code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .88em; background: #f1f4fa; padding: 1px 5px; border-radius: 4px;
}
.lxg-chat-msg.bot ul,
.lxg-chat-msg.bot ol { margin: 6px 0 6px 18px; padding: 0; }
.lxg-chat-msg.bot li { margin: 2px 0; }
.lxg-chat-msg.bot li::marker { color: var(--lxg-teal); }
.lxg-chat-msg.bot p { margin: 0 0 6px; }
.lxg-chat-msg.bot p:last-child { margin-bottom: 0; }

/* === Form === */
.lxg-chat-form {
  border-top: 1px solid rgba(15, 26, 61, 0.08);
  padding: 12px;
  display: flex;
  gap: 8px;
  background: #fff;
  position: relative;
}
.lxg-chat-form input[type=text] {
  flex: 1;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color .15s, box-shadow .15s;
  background: #fbfaf6;
}
.lxg-chat-form input[type=text]:focus {
  outline: none;
  border-color: var(--lxg-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 194, 181, 0.15);
}
.lxg-chat-form button {
  background: linear-gradient(135deg, var(--lxg-teal) 0%, #00A99D 100%);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, opacity .15s;
  box-shadow: 0 2px 6px rgba(0, 194, 181, 0.28);
}
.lxg-chat-form button:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 194, 181, 0.38); }
.lxg-chat-form button:active { transform: translateY(0); }
.lxg-chat-form button:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

.lxg-chat-disclaimer {
  font-size: 0.7rem;
  color: var(--muted);
  padding: 4px 14px 10px;
  text-align: center;
  background: #fff;
  line-height: 1.4;
}

/* === Pre-chat identify === */
.lxg-chat-identify {
  padding: 22px 18px 18px;
  background: linear-gradient(180deg, #fff 0%, #fbfaf6 100%);
  border-bottom: 1px solid rgba(15, 26, 61, 0.06);
}
.lxg-chat-identify h4 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  color: var(--lxg-navy);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lxg-chat-identify p {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.lxg-chat-identify input {
  width: 100%;
  margin-bottom: 10px;
  padding: 11px 14px 11px 38px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.92rem;
  background: #fff
    no-repeat 12px center / 18px 18px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.lxg-chat-identify input:focus {
  outline: none;
  border-color: var(--lxg-teal);
  box-shadow: 0 0 0 3px rgba(0, 194, 181, 0.12);
}
/* Icone prenom */
.lxg-chat-identify input#lxg-chat-name {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}
/* Icone email */
.lxg-chat-identify input#lxg-chat-email {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
}
.lxg-chat-identify input:focus#lxg-chat-name,
.lxg-chat-identify input:focus#lxg-chat-email {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A99D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}
.lxg-chat-identify input:focus#lxg-chat-email {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300A99D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
}

.lxg-chat-identify .btn-primary {
  margin-top: 6px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--lxg-teal) 0%, #00A99D 100%);
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(0, 194, 181, 0.3);
}
.lxg-chat-identify .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 194, 181, 0.42);
}

.lxg-chat-identify .lxg-chat-skip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: 0.82rem;
  margin-top: 12px;
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  width: 100%;
  padding: 8px;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.lxg-chat-identify .lxg-chat-skip::before {
  content: "";
  width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 18l6-6-6-6'/></svg>") center/contain no-repeat;
  opacity: 0.7;
}
.lxg-chat-identify .lxg-chat-skip:hover {
  color: var(--lxg-teal-2);
  background: rgba(0, 194, 181, 0.06);
  text-decoration: none;
}

@media (max-width: 480px) {
  .lxg-chat-launcher { padding: 12px 16px; font-size: 0.88rem; right: 12px; bottom: 12px; }
  .lxg-chat-launcher span:not(.lxg-chat-launcher-dot) { display: none; }
  .lxg-chat-window { right: 8px; bottom: 8px; left: 8px; width: auto; max-height: calc(100vh - 16px); }
  .lxg-chat-window.expanded { right: 8px; left: 8px; bottom: 8px; top: 8px; width: auto; height: auto; max-height: none; }
  .lxg-chat-expand { display: none; } /* mobile : la fenetre prend deja tout, expand inutile */
}

/* === Utilities === */
.lxg-mt-0 { margin-top: 0; }
.lxg-mt-2 { margin-top: var(--s-3); }
.lxg-mt-4 { margin-top: var(--s-6); }
.lxg-mb-0 { margin-bottom: 0; }
.lxg-mb-4 { margin-bottom: var(--s-6); }
.lxg-text-center { text-align: center; }
hr.lxg-sep { border: 0; border-top: 1px solid var(--line); margin: var(--s-6) 0; }

/* === Reduced motion === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* === UTILITY BAR (ligne 1) === */
.lxg-utility-bar {
  background: var(--lxg-navy);
  color: rgba(255,255,255,.78);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.lxg-utility-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px var(--s-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 36px;
}
.lxg-utility-left, .lxg-utility-right {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}
.lxg-utility-bar a {
  color: rgba(255,255,255,.85);
  font-weight: 500;
  text-decoration: none;
  transition: color .15s var(--ease);
}
.lxg-utility-bar a:hover { color: var(--lxg-teal); }
.lxg-utility-sep { color: rgba(255,255,255,.30); }
.lxg-utility-tag { color: rgba(255,255,255,.55); font-weight: 400; }
.lxg-utility-bar .lxg-lang-toggle {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  padding: 4px 12px;
  font-size: 0.72rem;
}
.lxg-utility-bar .lxg-lang-toggle:hover {
  background: var(--lxg-teal);
  color: #fff;
  border-color: var(--lxg-teal);
}
@media (max-width: 800px) {
  .lxg-utility-bar { font-size: 0.74rem; }
  .lxg-utility-tag { display: none; }
  .lxg-utility-inner { padding: 6px var(--s-4); }
}
@media (max-width: 520px) {
  .lxg-utility-left a + .lxg-utility-sep + a { display: none; }
}

/* Topbar dans le contexte 2 lignes (le sticky reste sur la nav, pas la utility) */
.lxg-utility-bar { position: relative; z-index: 31; }

/* ============================================================================
   v2.1, Mur logos compact pour la home + Sticky CTA flottant
   ============================================================================ */

/* Mur de logos compact (utilise sur la home) */
.lxg-logo-wall-home {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: var(--s-3);
}
.lxg-logo-wall-home .lxg-logo-tile {
  height: 90px;
  padding: var(--s-3) var(--s-4);
}
.lxg-logo-wall-home .lxg-logo-tile img {
  max-height: 48px;
}
@media (max-width: 600px) {
  .lxg-logo-wall-home {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-2);
  }
  .lxg-logo-wall-home .lxg-logo-tile { height: 72px; padding: var(--s-2); }
  .lxg-logo-wall-home .lxg-logo-tile img { max-height: 36px; }
}

/* Sticky CTA devis (bouton flottant toujours visible, en bas-gauche pour ne pas chevaucher le chat) */
.lxg-sticky-cta {
  position: fixed;
  left: 20px;
  bottom: 20px;
  right: auto;
  z-index: 25;
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px 22px;
  background: var(--lxg-navy);
  color: #fff;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(15,26,61,0.30), 0 4px 8px rgba(15,26,61,0.12);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  letter-spacing: -0.01em;
}
.lxg-sticky-cta:hover {
  background: var(--lxg-teal-2);
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,194,181,0.40), 0 6px 12px rgba(15,26,61,0.15);
}
.lxg-sticky-cta::before {
  content: "→";
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform .2s var(--ease);
}
.lxg-sticky-cta:hover::before { transform: translateX(2px); }

/* Mobile : compact, reste en bas-gauche */
@media (max-width: 600px) {
  .lxg-sticky-cta {
    left: 12px;
    bottom: 12px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

/* Quand le menu burger est ouvert, on cache le sticky CTA */
body.lxg-nav-open .lxg-sticky-cta { display: none; }

/* ============================================================================
   v2.1, Hero h1 : élargir pour limiter le wrap
   ============================================================================ */
.lxg-hero h1 { max-width: 28ch; }
.lxg-hero-img h1 { max-width: 28ch; }
.lxg-hero h1 em.accent { display: inline-block; }
@media (max-width: 800px) {
  .lxg-hero h1, .lxg-hero-img h1 { max-width: 100%; }
}

/* ============================================================================
   ============================================================================
   DA v3, éditoriale, institutionnelle, premium
   ----------------------------------------------------------------------------
   Direction : cabinet luxembourgeois sérieux. Serif Fraunces pour les H1/H2,
   fond crème, teal en accent rare, espacements amples. On override les
   éléments clés sans toucher au HTML.
   ============================================================================
   ============================================================================ */

:root {
  /* Palette charte Luxgap : navy #0F1A3D · teal #00C2B5 · or #E5B566 */
  --bg:        #FAFBFC;          /* fond gris bleuté très clair (charte) */
  --bg-soft:   #F2F5FA;
  --line:      #E5E9F0;
  --line-soft: #F0F3F8;
  --gold-line: #E5B566;          /* accent or charte */
  --font-serif: "Fraunces", "Source Serif Pro", Georgia, serif;
}

body {
  font-size: 17px;
  line-height: 1.65;
  background: var(--bg);
}

/* === Typographie éditoriale === */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.1;
}
h1 {
  font-size: clamp(2.2rem, 4.5vw + 0.4rem, 3.8rem);
  font-weight: 500;
}
h2 {
  font-size: clamp(1.7rem, 2.6vw + 0.6rem, 2.7rem);
  font-weight: 500;
}
h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: -0.005em;
}
h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.98rem;
}

p { color: #2D3245; }

/* Override de l'em.accent (gradient surligné), version éditoriale */
em.accent,
.lxg-hero h1 em.accent,
.lxg-hero-img h1 em.accent {
  background: none;
  color: inherit;
  font-style: italic;
  font-weight: 500;
  padding: 0;
}
.lxg-hero h1 em.accent::after,
.lxg-hero-img h1 em.accent::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--lxg-teal);
  margin-top: 14px;
}

/* === Eyebrows : forme épurée (pas une pill, pas de fond) === */
.lxg-eyebrow {
  display: inline-flex;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  padding: 0;
  color: var(--lxg-navy);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.lxg-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--gold-line);
  margin-right: 14px;
  vertical-align: middle;
}
.lxg-section-dark .lxg-eyebrow,
.lxg-hero-img .lxg-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  background: transparent !important;
  border: 0 !important;
}
.lxg-section-dark .lxg-eyebrow::before,
.lxg-hero-img .lxg-eyebrow::before {
  background: rgba(229, 181, 102, 0.65);
}

/* === Hero charte Luxgap (navy/teal/or) avec ornement geometrique === */
.lxg-hero,
.lxg-hero-img {
  background:
    radial-gradient(ellipse at 22% 0%, rgba(0, 194, 181, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 92% 100%, rgba(229, 181, 102, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #fff 100%) !important;
  color: var(--lxg-navy);
  border-radius: 0;
  padding: 96px 0 72px;
  text-align: left;
  position: relative;
  overflow: hidden;
}
.lxg-hero::before { display: none !important; }
.lxg-hero-img::before { display: none !important; }
/* Ornement géométrique cote droit (SVG aux couleurs charte) */
.lxg-hero::after,
.lxg-hero-img::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 540px;
  height: 540px;
  background-image: url('/assets/img/hero-ornament.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
.lxg-hero .lxg-container,
.lxg-hero-img .lxg-container { position: relative; z-index: 1; }
@media (max-width: 1080px) {
  .lxg-hero::after,
  .lxg-hero-img::after { display: none; }
}
.lxg-hero h1,
.lxg-hero-img h1 {
  color: var(--lxg-navy);
  margin-left: 0;
  margin-right: 0;
  text-align: left;
  max-width: 18ch;
}
.lxg-hero-lead {
  text-align: left;
  margin-left: 0;
  color: #2D3245;
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 56ch;
}
.lxg-hero-img .lxg-hero-lead { color: #2D3245; }
.lxg-hero-cta { justify-content: flex-start; }
.lxg-hero-trust {
  margin-top: 64px;
  justify-content: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.lxg-hero-trust span,
.lxg-hero-img .lxg-hero-trust span {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
/* Annule les anciens styles v1 qui rendaient le hero-img en blanc */
.lxg-hero-img h1, .lxg-hero-img h2 { color: var(--lxg-navy) !important; }
.lxg-hero-img .lxg-hero-lead { color: #2D3245 !important; }
.lxg-hero-img .lxg-eyebrow {
  color: var(--lxg-navy) !important;
  background: transparent !important;
}
.lxg-hero-img h1 em.accent { color: inherit !important; }

/* Bouton "ghost-light" sur fond crème devient ghost navy classique */
.lxg-hero .btn-ghost-light,
.lxg-hero-img .btn-ghost-light {
  background: transparent;
  color: var(--lxg-navy);
  box-shadow: inset 0 0 0 1.5px var(--lxg-navy);
}
.lxg-hero .btn-ghost-light:hover,
.lxg-hero-img .btn-ghost-light:hover {
  background: var(--lxg-navy);
  color: #fff;
}

/* === Logos hero, grille statique 6 logos bien visibles === */
/* Marquee du hero : defile doucement, logos serres */
.lxg-logo-marquee {
  margin-top: 24px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.lxg-logo-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: lxg-marquee 90s linear infinite;
  will-change: transform;
}
.lxg-logo-marquee-track img {
  filter: none;
  height: 32px;
  max-width: 110px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform .25s var(--ease);
}
.lxg-logo-marquee:hover .lxg-logo-marquee-track { animation-play-state: paused; }
.lxg-logo-marquee-track img:hover { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .lxg-logo-marquee-track { animation: none; }
}
@media (max-width: 900px) {
  .lxg-logo-marquee-track { gap: 28px; animation-duration: 75s; }
  .lxg-logo-marquee-track img { height: 26px; max-width: 90px; }
}

/* === Sections : plus d'air, alternance subtile === */
.lxg-section { padding: 112px 0; }
.lxg-section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 50%, var(--bg) 100%);
}
@media (max-width: 800px) {
  .lxg-section { padding: 72px 0; }
}

.lxg-section-head {
  text-align: left;
  max-width: 720px;
  margin: 0 0 64px;
}
.lxg-section-head h2 {
  margin-bottom: 20px;
  max-width: 22ch;
}
.lxg-section-head p {
  color: #2D3245;
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 60ch;
}

/* === Cards : sobres, bordures fines, hover discret === */
.lxg-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 36px 32px;
  box-shadow: none;
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.lxg-card:hover {
  border-color: var(--lxg-navy);
  transform: none;
  box-shadow: none;
}
.lxg-card h3 { margin-top: 6px; margin-bottom: 12px; }

/* Card-icon plus sobre : pas de fond teal-light, juste l'icône */
.lxg-card-icon-svg {
  width: 44px;
  height: 44px;
  background: transparent;
  border-radius: 0;
  margin-bottom: 24px;
}
.lxg-card-icon-svg svg {
  width: 36px;
  height: 36px;
  color: var(--lxg-teal-2);
}
.lxg-section-dark .lxg-card-icon-svg svg { color: var(--lxg-teal); }

/* === Mandate cards : bandeau gradient teal+or charte === */
.lxg-mandate-card {
  position: relative;
  padding: 44px 36px 36px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.lxg-mandate-card::before {
  content: "";
  display: block !important;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lxg-teal) 0%, var(--lxg-gold) 100%);
}
.lxg-mandate-card::after { display: none !important; }
.lxg-mandate-card:hover { border-color: var(--lxg-teal); }
.lxg-mandate-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--lxg-teal-2);
  background: transparent;
  border: 1px solid rgba(0, 194, 181, 0.28);
  border-radius: 999px;
  padding: 4px 14px;
  margin: -4px 0 18px;
}
.lxg-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lxg-navy);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 20px;
  letter-spacing: -0.005em;
}
.lxg-card-link:hover { color: var(--lxg-teal-2); }

/* === Boutons éditoriaux === */
.btn {
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: -0.005em;
  box-shadow: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn:hover { transform: none; box-shadow: none; }
.btn-primary {
  background: var(--lxg-teal-2);
  color: #fff;
}
.btn-primary:hover { background: var(--lxg-navy); box-shadow: none; }
.btn-ghost {
  background: transparent;
  color: var(--lxg-navy);
  box-shadow: inset 0 0 0 1.5px var(--lxg-navy);
}
.btn-ghost:hover { background: var(--lxg-navy); color: #fff; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }

/* === Topbar, moins glass, plus crème solid === */
.lxg-topbar {
  background: rgba(251, 250, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.lxg-utility-bar { background: var(--lxg-navy); }
.lxg-nav > a { font-size: 0.9rem; }
.lxg-nav-cta {
  background: var(--lxg-teal-2);
  border-radius: 4px;
  padding: 9px 16px;
  font-size: 0.88rem;
}
.lxg-nav-cta:hover { background: var(--lxg-navy); transform: none; box-shadow: none; }

/* === Section dark, plus profonde, sans gradient marketing === */
.lxg-section-dark {
  background: var(--lxg-navy);
}
.lxg-section-dark::before {
  background: radial-gradient(ellipse at 88% 0%, rgba(229, 181, 102, 0.08) 0%, transparent 55%);
}

/* === CTA final, éditorial, pas une carte teal === */
.lxg-cta-final {
  background: var(--lxg-navy);
  border-radius: 0;
  margin: 0;
  max-width: none;
  padding: 96px var(--s-5);
  text-align: center;
}
.lxg-cta-final::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(229, 181, 102, 0.10) 0%, transparent 60%);
  top: 0; right: 0; width: 100%; height: 100%;
}
.lxg-cta-final h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
  max-width: 24ch;
  margin-left: auto; margin-right: auto;
}
.lxg-cta-final p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  margin-bottom: 36px;
}
.lxg-cta-final .btn {
  background: #fff;
  color: var(--lxg-navy);
  border-radius: 4px;
  padding: 16px 32px;
  font-weight: 600;
}
.lxg-cta-final .btn:hover { background: var(--lxg-teal-2); color: #fff; }
.lxg-cta-final-alt { color: rgba(255, 255, 255, 0.6); }
.lxg-cta-final-alt a { color: #fff; }

/* === Page hero (pages internes) : meme degrade que la home pour la coherence === */
.lxg-page-hero {
  background:
    radial-gradient(ellipse at 22% 0%, rgba(0, 194, 181, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 92% 100%, rgba(229, 181, 102, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, #fff 100%);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.lxg-page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  height: 420px;
  background-image: url('/assets/img/hero-ornament.svg');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}
.lxg-page-hero .lxg-container { position: relative; z-index: 1; }
@media (max-width: 1080px) {
  .lxg-page-hero::after { display: none; }
}
.lxg-page-hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw + 0.4rem, 3.2rem);
  max-width: 22ch;
  letter-spacing: -0.012em;
}
.lxg-page-hero .lxg-hero-lead {
  font-size: 1.12rem;
  color: #2D3245;
  max-width: 60ch;
}

/* === Sticky CTA "Mon devis", éditorial, pas un blob teal === */
.lxg-sticky-cta {
  background: var(--lxg-navy);
  border-radius: 4px;
  padding: 13px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(15, 26, 61, 0.18);
}
.lxg-sticky-cta:hover {
  background: var(--lxg-teal-2);
  box-shadow: 0 12px 28px rgba(0, 194, 181, 0.25);
}
.lxg-sticky-cta::before { content: ""; }
.lxg-sticky-cta::after {
  content: "→";
  font-size: 1rem;
  margin-left: 4px;
}

/* === Logo wall (mur de logos), version éditoriale === */
.lxg-logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 100px;
  padding: 14px;
  transition: border-color .25s var(--ease);
  box-shadow: none;
}
.lxg-logo-tile:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--lxg-navy);
}
.lxg-logo-tile img {
  max-height: 56px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  transition: transform .25s var(--ease);
}
.lxg-logo-tile:hover img { transform: scale(1.05); }
.lxg-logo-wall-home .lxg-logo-tile { height: 84px; padding: 10px; }
.lxg-logo-wall-home .lxg-logo-tile img { max-height: 48px; }

/* === FAQ details, sobre === */
.lxg-faq details {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}
.lxg-faq details:last-child { border-bottom: 1px solid var(--line); }
.lxg-faq summary {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--lxg-navy);
  cursor: pointer;
  list-style: none;
}
.lxg-faq summary::after {
  content: "+";
  float: right;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--muted);
  transition: transform .2s var(--ease);
}
.lxg-faq details[open] summary::after { transform: rotate(45deg); }

/* === Footer un peu plus aéré === */
.lxg-footer { padding: 80px 0 32px; }
.lxg-footer-grid { gap: 48px; }
.lxg-footer h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* === Roadmap DPO 9 axes, sobre === */
.lxg-roadmap-item {
  border-top: 1px solid var(--line);
  background: transparent;
}
.lxg-roadmap-item:last-child { border-bottom: 1px solid var(--line); }

/* === Phases DPO (les 3 cartes "comment ça se déroule") === */
.lxg-phases-grid .lxg-phase-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--lxg-teal-2);
  line-height: 1;
  margin-bottom: 14px;
}

/* === Promise grid (DPO/CISO mandate-promise) === */
.lxg-promise-grid .lxg-card { padding: 32px 28px; }

/* === DPO 4 piliers (RGPD / AI Act / Représentation / Lanceur d'alerte) === */
.lxg-grid-dpo-pillars { grid-template-columns: repeat(2, 1fr); gap: var(--s-5); }
@media (max-width: 800px) { .lxg-grid-dpo-pillars { grid-template-columns: 1fr; } }
.lxg-card-option {
  background: linear-gradient(180deg, rgba(229, 181, 102, 0.05) 0%, #fff 50%);
  border: 1px solid rgba(229, 181, 102, 0.35);
}
.lxg-card-option:hover { border-color: var(--lxg-gold); }
.lxg-card-option h3 {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.lxg-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(229, 181, 102, 0.15);
  color: #b8830f;
  border: 1px solid rgba(229, 181, 102, 0.40);
  border-radius: 999px;
  padding: 2px 10px;
  margin-left: auto;
}

/* === Use cases CISO === */
.lxg-usecases .lxg-card h3 {
  color: var(--lxg-navy);
  font-size: 1.05rem;
}

/* === Articles (blog) === */
.lxg-articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-5);
  margin-top: var(--s-5);
}
.lxg-article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px 26px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.lxg-article-card:hover { border-color: var(--lxg-teal); transform: translateY(-2px); text-decoration: none; }
.lxg-article-card h2 {
  font-size: 1.25rem;
  font-family: var(--font-serif);
  font-weight: 500;
  margin: 12px 0;
  line-height: 1.25;
  color: var(--lxg-navy);
}
.lxg-article-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin: 0 0 16px;
  line-height: 1.5;
}
.lxg-article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
}
.lxg-article-role { color: var(--lxg-teal-2); }
.lxg-article-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
}
.lxg-article-tags span,
.lxg-article-tag {
  display: inline-block;
  font-size: 0.74rem;
  padding: 3px 10px;
  background: var(--bg-soft);
  border-radius: 999px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.lxg-articles-pagination {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: var(--s-7);
}
.lxg-article-page .lxg-prose h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}
.lxg-article-page .lxg-prose h3 {
  font-family: var(--font-sans);
  font-weight: 600;
  margin-top: 1.4em;
}
.lxg-article-page .lxg-prose p { margin-bottom: 1em; line-height: 1.7; }
.lxg-article-page .lxg-prose ul,
.lxg-article-page .lxg-prose ol { margin: 0 0 1em 1.5em; }
.lxg-article-page .lxg-prose li { margin-bottom: 0.4em; line-height: 1.6; }
.lxg-article-page .lxg-prose blockquote {
  border-left: 3px solid var(--lxg-teal);
  padding-left: 18px;
  font-style: italic;
  color: var(--ink-2);
  margin: 1.4em 0;
}
.lxg-article-byline {
  display: flex;
  gap: 18px;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: var(--s-3);
  letter-spacing: 0.02em;
}
.lxg-article-breadcrumb { font-size: 0.85rem; margin-bottom: var(--s-3); }
.lxg-article-tags-list {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: var(--s-7);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
}
.lxg-form-article textarea {
  width: 100%;
  min-height: 320px;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  resize: vertical;
}
.lxg-form-article input[type=text] {
  width: 100%; padding: 14px; border: 1px solid var(--line); border-radius: 6px; font-size: 1rem; font-family: inherit;
}
.lxg-form-article > div { margin-bottom: var(--s-5); }
.lxg-form-ok {
  background: var(--ok-bg);
  border-left: 4px solid var(--ok);
  padding: 28px 28px;
  border-radius: 6px;
}
.lxg-form-ok h2 { font-family: var(--font-sans); font-weight: 600; }
.lxg-form-err {
  background: var(--ko-bg);
  border-left: 4px solid var(--ko);
  padding: 16px 18px;
  border-radius: 6px;
  margin-bottom: var(--s-4);
  color: #8B1A1A;
}

/* === Scan Dark Web : etapes de progression animees === */
.lxg-scan-loading-title {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 var(--s-3);
  text-align: left;
}
.lxg-scan-loading-title code {
  background: rgba(255,255,255,.10);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}
.lxg-scan-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}
.lxg-scan-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: rgba(255,255,255,.6);
  transition: color .25s var(--ease), opacity .25s var(--ease);
  opacity: 0.55;
}
.lxg-scan-step.pending { animation: lxg-scan-fadein .35s var(--ease-out) backwards; }
.lxg-scan-step.pending:nth-child(1) { animation-delay: .0s; }
.lxg-scan-step.pending:nth-child(2) { animation-delay: .8s; }
.lxg-scan-step.pending:nth-child(3) { animation-delay: 1.6s; }
.lxg-scan-step.pending:nth-child(4) { animation-delay: 2.4s; }
.lxg-scan-step.pending:nth-child(5) { animation-delay: 3.2s; }
.lxg-scan-step.done {
  color: #fff;
  opacity: 1;
}
.lxg-scan-spin {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.25);
  border-top-color: var(--lxg-teal);
  animation: lxg-scan-spin 0.8s linear infinite;
  flex-shrink: 0;
}
.lxg-scan-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--lxg-teal);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}
@keyframes lxg-scan-spin { to { transform: rotate(360deg); } }
@keyframes lxg-scan-fadein {
  from { opacity: 0; transform: translateX(-6px); }
  to   { opacity: 0.55; transform: translateX(0); }
}

/* === CISO 3 couches : visuel + texte === */
.lxg-three-layers {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: center;
  margin-top: var(--s-5);
}
.lxg-three-layers-visual { text-align: center; }
.lxg-three-layers-visual img { max-width: 480px; width: 100%; height: auto; }
.lxg-three-layers-text { display: flex; flex-direction: column; gap: var(--s-4); }
.lxg-layer-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-rows: auto auto;
  column-gap: 18px;
  row-gap: 8px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  border-left-width: 4px;
}
.lxg-layer-card .lxg-layer-num {
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--lxg-navy);
  line-height: 1;
  padding-top: 2px;
}
.lxg-layer-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 1.05rem;
  font-family: var(--font-sans);
  font-weight: 600;
  color: var(--lxg-navy);
}
.lxg-layer-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}
.lxg-layer-1 { border-left-color: var(--lxg-teal); }
.lxg-layer-1 .lxg-layer-num { color: var(--lxg-teal-2); }
.lxg-layer-2 { border-left-color: var(--lxg-gold); }
.lxg-layer-2 .lxg-layer-num { color: #B8830F; }
.lxg-layer-3 { border-left-color: var(--lxg-navy); }
.lxg-three-layers-tagline {
  text-align: center;
  margin: var(--s-7) auto 0;
  max-width: 700px;
  color: var(--ink-2);
  font-size: 1rem;
}
@media (max-width: 980px) {
  .lxg-three-layers { grid-template-columns: 1fr; gap: var(--s-5); }
  .lxg-three-layers-visual { order: -1; }
  .lxg-three-layers-visual img { max-width: 320px; }
}

/* === Mobile : tailles encore raisonnables === */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .lxg-hero, .lxg-hero-img { padding: 64px 0 48px; }
  .lxg-hero h1, .lxg-hero-img h1 { max-width: 100%; }
  .lxg-section-head { margin-bottom: 40px; }
  .lxg-card { padding: 28px 22px; }
  .lxg-cta-final { padding: 64px var(--s-4); }
}

/* === Numérotation éditoriale des sections home (01 / Mandats, 02 / Équipes...) === */
main { counter-reset: section; }
main > section.lxg-section { counter-increment: section; }
main > section.lxg-section .lxg-section-head .lxg-eyebrow::after {
  content: " · " counter(section, decimal-leading-zero);
  color: var(--gold-line);
  font-weight: 600;
  letter-spacing: 0.18em;
  margin-left: 4px;
}
/* Pas de numérotation sur les sections sans head, ni sur les CTA finaux ni sur le scan */
main > section:not(.lxg-section) { counter-increment: none; }
main > section.lxg-section:not(:has(.lxg-section-head)) { counter-increment: none; }
main > section.lxg-scan,
main > section:last-of-type {
  counter-increment: none;
}
.lxg-page-hero .lxg-eyebrow::after { content: ""; }

/* === Détails finaux : règles fines entre certaines sections === */
.lxg-section + .lxg-section-alt,
.lxg-section-alt + .lxg-section { border-top: 0; }

/* Lien dans la nav : underline plus fine */
.lxg-nav > a::after { height: 1.5px; bottom: 0; }
.lxg-nav > a {
  font-family: var(--font-sans);
  letter-spacing: -0.005em;
}

/* Améliorer le rendu des chiffres dans Fraunces (opentype features) */
h1, h2, .lxg-phase-num {
  font-feature-settings: "ss01", "ss02";
  font-variant-numeric: lining-nums proportional-nums;
}

/* === Page References : sections compactes + logos plus grands === */
.lxg-refs-section { padding: 40px 0 32px; }
.lxg-refs-section.lxg-section-alt {
  background: linear-gradient(180deg, var(--bg) 0%, #fff 50%, var(--bg) 100%);
}
.lxg-refs-section-head { margin: 0 0 20px; }
.lxg-refs-section-head h2 {
  font-size: 1.4rem;
  font-family: var(--font-sans);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: var(--lxg-navy);
}
.lxg-refs-bar {
  display: inline-block;
  width: 6px;
  height: 26px;
  background: linear-gradient(180deg, var(--lxg-teal) 0%, var(--lxg-gold) 100%);
  border-radius: 3px;
  flex-shrink: 0;
}
.lxg-refs-count {
  font-weight: 400 !important;
  letter-spacing: 0.04em;
  margin-left: 4px;
}
.lxg-logo-wall-refs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 0;
}
.lxg-logo-wall-refs .lxg-logo-tile {
  height: 130px;
  padding: 18px;
}
.lxg-logo-wall-refs .lxg-logo-tile img {
  max-height: 80px;
  max-width: 100%;
}
@media (max-width: 760px) {
  .lxg-logo-wall-refs { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .lxg-logo-wall-refs .lxg-logo-tile { height: 100px; padding: 12px; }
  .lxg-logo-wall-refs .lxg-logo-tile img { max-height: 56px; }
}

/* === Refs marquee : logos qui defilent en continu, plein largeur === */
.lxg-refs-marquee {
  position: relative;
  overflow: hidden;
  margin: var(--s-6) 0 var(--s-5);
  padding: var(--s-4) 0;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 5%, #000 95%, transparent 100%);
}
.lxg-refs-marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: lxg-refs-scroll 60s linear infinite;
}
.lxg-refs-marquee:hover .lxg-refs-marquee-track { animation-play-state: paused; }
.lxg-refs-tile {
  flex-shrink: 0;
  height: 80px;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.lxg-refs-tile:hover { border-color: var(--lxg-teal); transform: translateY(-2px); }
.lxg-refs-tile img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
}
@keyframes lxg-refs-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .lxg-refs-marquee-track { gap: 32px; animation-duration: 80s; }
  .lxg-refs-tile { height: 64px; width: 130px; padding: 10px; }
  .lxg-refs-tile img { max-height: 36px; }
}

/* Eyebrow sur fond fonce (section dark, hero scan, etc.) */
.lxg-eyebrow-on-dark { background: rgba(255,255,255,0.10); color: #fff; }

/* === Newsletter widget (sous les articles + sticky possible) === */
.lxg-newsletter-cta { padding: 56px 0 24px; }
.lxg-newsletter-box {
  background: linear-gradient(135deg, #0F1A3D 0%, #1A2A5E 100%);
  border-radius: 18px; padding: 40px 32px; color: #fff; text-align: left;
  position: relative; overflow: hidden;
}
.lxg-newsletter-box::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(0,194,181,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.lxg-newsletter-eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em;
  color: #E5B566; margin-bottom: 12px;
}
.lxg-newsletter-h2 {
  margin: 0 0 12px; color: #fff; font-size: 1.6rem; line-height: 1.2;
  font-family: Georgia, serif; max-width: 28ch;
}
.lxg-newsletter-p { color: rgba(255,255,255,0.78); margin: 0 0 20px; line-height: 1.55; font-size: 0.96rem; max-width: 60ch; }
.lxg-newsletter-p strong { color: #fff; }
.lxg-newsletter-form {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch;
}
.lxg-newsletter-form input[type=email] {
  flex: 1 1 280px; min-width: 0; padding: 12px 14px;
  border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
  color: #fff; border-radius: 8px; font-size: 0.95rem; font-family: inherit;
}
.lxg-newsletter-form input[type=email]::placeholder { color: rgba(255,255,255,0.45); }
.lxg-newsletter-form input[type=email]:focus { outline: 3px solid var(--lxg-teal); outline-offset: 0; background: rgba(255,255,255,0.16); }
.lxg-newsletter-form button { padding: 12px 22px; font-size: 0.95rem; }
.lxg-newsletter-status { margin: 12px 0 0; font-size: 0.9rem; min-height: 1em; }
.lxg-newsletter-status.ok { color: var(--lxg-teal); }
.lxg-newsletter-status.err { color: #FCA5A5; }
.lxg-newsletter-fineprint { color: rgba(255,255,255,0.45); font-size: 0.78rem; margin: 16px 0 0; }
@media (max-width: 600px) {
  .lxg-newsletter-box { padding: 28px 22px; border-radius: 14px; }
  .lxg-newsletter-h2 { font-size: 1.3rem; }
  .lxg-newsletter-form input,
  .lxg-newsletter-form button { width: 100%; flex: none; }
}

/* === Recherche + filtres articles === */
.lxg-articles-toolbar { padding: 12px 0 32px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.lxg-articles-search { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.lxg-articles-search input[type=search] {
  flex: 1 1 320px; min-width: 0; padding: 12px 14px; font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff;
  font-family: inherit;
}
.lxg-articles-search input[type=search]:focus { outline: 3px solid var(--lxg-teal); outline-offset: 0; border-color: var(--lxg-teal); }
.lxg-articles-search button { padding: 12px 20px; }
.lxg-articles-filters { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.lxg-articles-filter-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lxg-articles-filter-label { font-size: 0.78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-right: 4px; }
.lxg-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 500;
  background: #fff; border: 1px solid var(--line); color: var(--ink-2);
  text-decoration: none; transition: all .15s var(--ease);
}
.lxg-chip:hover { border-color: var(--lxg-teal); color: var(--lxg-teal-2); text-decoration: none; }
.lxg-chip.active { background: var(--lxg-navy); color: #fff; border-color: var(--lxg-navy); }
.lxg-chip-count { font-size: 0.7rem; opacity: 0.65; }
.lxg-articles-result-count { margin: 0 0 24px; font-size: 0.92rem; }

/* === Performance Core Web Vitals ===
   content-visibility: auto -> le navigateur ne rend pas le contenu hors
   ecran tant qu'il n'est pas approche du viewport. Reduit fortement le
   temps de rendu initial (LCP, FID/INP) sur les pages a sections multiples.
   Pas de visible diff pour l'utilisateur, gain de 200-800 ms sur mobile. */
.lxg-section-alt,
.lxg-trust-bar,
.lxg-refs-marquee,
.lxg-newsletter-cta,
.lxg-related-articles,
.lxg-articles-grid,
.lxg-cta-final,
.lxg-footer {
  content-visibility: auto;
  contain-intrinsic-size: 600px 1px;
}

/* === Newsletter sticky droite sur les pages articles (desktop only) === */
.lxg-article-stick { display: none; }
@media (min-width: 1200px) {
  .lxg-article-stick {
    display: block;
    position: fixed;
    top: 110px; /* sous topbar */
    right: 16px;
    width: 280px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 18px 18px 14px;
    background: linear-gradient(135deg, #0F1A3D 0%, #1A2A5E 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(15, 26, 61, 0.22);
    z-index: 35;
  }
  .lxg-article-stick-eyebrow {
    font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em;
    color: #E5B566; margin-bottom: 8px;
  }
  .lxg-article-stick-h {
    margin: 0 0 8px; font-size: 1.05rem; line-height: 1.25;
    color: #fff; font-family: Georgia, serif; font-weight: 600;
  }
  .lxg-article-stick-p {
    margin: 0 0 12px; font-size: 0.84rem; color: rgba(255,255,255,0.78); line-height: 1.45;
  }
  .lxg-article-stick-p strong { color: #fff; }
  .lxg-article-stick-form { display: flex; flex-direction: column; gap: 6px; position: relative; }
  .lxg-article-stick-form input[type=email] {
    padding: 9px 12px; font-size: 0.9rem; font-family: inherit;
    border: 1.5px solid rgba(255,255,255,0.25); background: rgba(255,255,255,0.08);
    color: #fff; border-radius: 6px;
  }
  .lxg-article-stick-form input[type=email]::placeholder { color: rgba(255,255,255,0.4); }
  .lxg-article-stick-form input[type=email]:focus { outline: 2px solid var(--lxg-teal); background: rgba(255,255,255,0.14); }
  .lxg-article-stick-form button { padding: 9px 14px; font-size: 0.86rem; }
  .lxg-article-stick-status { margin: 8px 0 0; font-size: 0.78rem; min-height: 1em; }
  .lxg-article-stick-status.ok { color: var(--lxg-teal); }
  .lxg-article-stick-status.err { color: #FCA5A5; }
  .lxg-article-stick-fineprint { color: rgba(255,255,255,0.45); font-size: 0.7rem; margin: 8px 0 0; }
  /* Sur desktop on cache la version inline pour eviter le doublon */
  .lxg-article-page .lxg-newsletter-cta { display: none; }
  /* La sidebar related-articles cohabite : on la pousse plus bas pour eviter overlap */
  body.has-article-stick .lxg-related-articles { bottom: 16px; }
}

/* === Articles lies (widget pages services / lois / formations / landings) ===
   Mobile / tablette : stack en bas de page (flow normal, full-width).
   Desktop >= 1200px : sidebar fixe en bas a droite, compacte. */
.lxg-related-articles { padding: 48px 0 24px; background: var(--bg-soft); border-top: 1px solid var(--line); }.lxg-related-articles-h {
  font-size: 0.78rem; font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  text-align: center; margin: 0 0 24px;
}
.lxg-related-articles-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px;
}
.lxg-related-card {
  display: block; padding: 18px 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
  transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .2s var(--ease);
}
.lxg-related-card:hover {
  border-color: var(--lxg-teal); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 26, 61, 0.08); text-decoration: none;
}
.lxg-related-card-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 0.74rem; color: var(--muted); margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.lxg-related-card-role { color: var(--lxg-teal-2); font-weight: 700; }
.lxg-related-card h3 {
  margin: 0 0 8px; font-size: 1.02rem; line-height: 1.32;
  color: var(--lxg-navy); font-family: inherit; font-weight: 600;
}
.lxg-related-card p { margin: 0; font-size: 0.88rem; color: var(--ink-2); line-height: 1.45; }

@media (min-width: 1200px) {
  /* Sidebar flottante a droite sur grand ecran. La box est minimisable
     (collapse via le toggle) pour ne pas gener la lecture. */
  .lxg-related-articles {
    position: fixed;
    right: 16px;
    bottom: 80px; /* au-dessus du sticky-cta */
    width: 300px;
    max-height: calc(100vh - 160px);
    padding: 16px 16px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 36px rgba(15, 26, 61, 0.18);
    z-index: 35;
    overflow-y: auto;
    overflow-x: hidden;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }
  .lxg-related-articles[hidden] { display: block !important; transform: translateX(calc(100% + 32px)); opacity: 0; pointer-events: none; }
  .lxg-related-articles .lxg-container-narrow { max-width: none; padding: 0; }
  .lxg-related-articles-h {
    text-align: left; margin: 0 0 12px; font-size: 0.7rem;
    display: flex; align-items: center; justify-content: space-between;
  }
  .lxg-related-articles-grid {
    grid-template-columns: 1fr; gap: 8px;
  }
  .lxg-related-card { padding: 12px 14px; }
  .lxg-related-card h3 { font-size: 0.92rem; line-height: 1.3; margin-bottom: 4px; }
  .lxg-related-card p { display: none; } /* trop dense en sidebar */
  .lxg-related-card-meta { font-size: 0.68rem; margin-bottom: 4px; }
  /* Toggle close (croix discret) */
  .lxg-related-close {
    background: transparent; border: 0; color: var(--muted);
    font-size: 1rem; line-height: 1; cursor: pointer; padding: 2px 6px;
    border-radius: 4px;
  }
  .lxg-related-close:hover { background: var(--bg-soft); color: var(--lxg-navy); }
  /* Bouton "rouvrir" si l'utilisateur a ferme */
  .lxg-related-reopen {
    position: fixed; right: 16px; bottom: 80px; z-index: 35;
    background: var(--lxg-navy); color: #fff; border: 0;
    padding: 10px 14px; border-radius: 999px; font-size: 0.82rem;
    font-weight: 600; cursor: pointer; box-shadow: var(--shadow-md);
    display: none;
  }
  .lxg-related-reopen.show { display: inline-flex; align-items: center; gap: 6px; }
}

/* === Trust bar (logos clients) en bas de toutes les pages sauf home === */
.lxg-trust-bar {
  padding: 48px 0 24px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 48px;
}
.lxg-trust-bar-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  text-align: center;
  margin: 0 0 24px;
}
.lxg-trust-bar-more {
  font-size: 0.85rem;
  text-decoration: none;
}
.lxg-trust-bar-more:hover { color: var(--lxg-teal-2); }
@media (prefers-reduced-motion: reduce) {
  .lxg-trust-bar .lxg-refs-marquee-track { animation: none; }
}

/* === Mandate card cliquable plein-cadre === */
.lxg-mandate-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.lxg-mandate-card-link:hover {
  border-color: var(--lxg-teal) !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 26, 61, .10);
  text-decoration: none;
}
.lxg-mandate-card-link:hover h3 { color: var(--lxg-navy); }
.lxg-mandate-card-link:hover .lxg-card-link { color: var(--lxg-teal-2); }
.lxg-mandate-card-link {
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}

/* === Training cards (page sensibilisation) : 6 formats cliquables === */
.lxg-training-grid { gap: var(--s-4); }
.lxg-training-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.lxg-training-card:hover {
  border-color: var(--lxg-teal);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 26, 61, .08);
  text-decoration: none;
}
.lxg-training-card .lxg-card-icon-svg {
  width: 44px; height: 44px; margin-bottom: 6px;
  background: var(--lxg-teal-light);
  border-radius: 10px;
}
.lxg-training-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.lxg-training-card p { margin: 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink-2); }
.lxg-training-card .lxg-card-link { margin-top: auto; font-size: 0.92rem; }
.lxg-training-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  padding: 3px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
  align-self: flex-start;
}

/* === Page Lois : design plus joli (cards spacieuses + bandeau gradient + icônes) === */
.lxg-law-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px 28px;
  margin-bottom: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
  overflow: hidden;
}
.lxg-law-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lxg-teal) 0%, var(--lxg-gold) 100%);
}
.lxg-law-card:hover {
  border-color: var(--lxg-teal);
  box-shadow: 0 16px 32px rgba(15, 26, 61, .08);
}
.lxg-law-card h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}
.lxg-law-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 8px 24px;
  margin: 4px 0 8px;
  font-size: 0.95rem;
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 18px 20px;
}
.lxg-law-row dt {
  font-weight: 600;
  color: var(--lxg-navy);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.lxg-law-row dd {
  margin: 0 0 4px;
  color: var(--ink-2);
  line-height: 1.5;
}
.lxg-law-help {
  padding: 16px 20px;
  background: rgba(0, 194, 181, 0.06);
  border-left: 3px solid var(--lxg-teal);
  border-radius: 6px;
  font-size: 0.95rem;
}
.lxg-law-help strong { color: var(--lxg-teal-2); }
@media (max-width: 600px) {
  .lxg-law-row { grid-template-columns: 1fr; gap: 4px; }
  .lxg-law-row dt { padding-top: 8px; }
}

/* ============================================================================
   MOBILE FIXES (priorite : tout fonctionne en dessous de 1080px)
   ============================================================================ */

@media (max-width: 1080px) {
  /* ----- Burger ----- */
  .lxg-burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1.5px solid var(--lxg-navy);
    background: #fff;
    color: var(--lxg-navy);
    font-size: 1.3rem;
    margin-left: auto;
    z-index: 60;
    border-radius: 8px;
    transition: background .15s var(--ease), color .15s var(--ease);
  }
  /* Quand le menu est ouvert, on cache le burger : la croix de fermeture est
     a l'interieur du panneau (.lxg-nav-close), au meme endroit que le burger.
     Sinon double X visible sur tablette quand le panneau est correctement
     ancre a droite. */
  body.lxg-nav-open .lxg-burger {
    visibility: hidden;
  }

  /* ----- Topbar : compacte ----- */
  .lxg-topbar-inner { padding: 10px 16px; gap: 0; }
  .lxg-brand img { height: 36px; }

  /* ----- Backdrop : assombrit le contenu derriere le menu ----- */
  .lxg-nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 61, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 49;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), visibility 0s linear .25s;
  }
  body.lxg-nav-open .lxg-nav-backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity .25s var(--ease);
  }

  /* ----- Panneau de navigation ----- */
  .lxg-nav {
    position: fixed;
    /* IMPORTANT : left:auto force l'ancrage a droite. Sans ca, la regle plus
       haute "inset:64px 0 0 0" laisse left:0 actif, et avec width fixe le
       panneau s'ancre a GAUCHE (CSS over-constrained ignore right). */
    top: 0; right: 0; bottom: 0; left: auto;
    width: min(92vw, 380px);
    max-width: 100vw;
    height: 100dvh;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .28s var(--ease);
    z-index: 50;
    box-shadow: -12px 0 40px rgba(15, 26, 61, .14);
  }
  .lxg-nav.open { transform: translateX(0); }
  body.lxg-nav-open { overflow: hidden; }

  /* Header interne du panneau : logo + croix de fermeture */
  .lxg-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 5;
  }
  .lxg-nav-head-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .lxg-nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--lxg-navy);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    padding: 0;
    /* Force la cliquabilite meme si un overlay chat bug et passe par-dessus */
    position: relative;
    z-index: 10;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0,194,181,0.3);
  }
  .lxg-nav-close:hover { background: #f1f4fa; }
  .lxg-nav-close:active { background: #e2e8f0; transform: scale(0.96); }

  /* Quand le menu est ouvert, on cache le widget chat (qui sinon couvre la
     zone d'action en bas du panneau et peut bloquer la fermeture sur tablette) */
  body.lxg-nav-open .lxg-chat-launcher,
  body.lxg-nav-open .lxg-chat-window,
  body.lxg-nav-open .lxg-sticky-cta {
    display: none !important;
  }

  /* Container des liens : padding horizontal coherent */
  .lxg-nav-links {
    padding: 8px 18px 24px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  /* Liens directs */
  /* Liens directs (IA, Lois, Articles, Equipes, References, Contact).
     Note : en mobile, .lxg-nav-links est un vrai conteneur flex column
     (pas display:contents), donc les <a> sont enfants directs de
     .lxg-nav-links et non de .lxg-nav. */
  .lxg-nav-links > a:not(.lxg-nav-cta) {
    display: flex;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--line-soft);
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--ink);
    min-height: 48px;
    text-decoration: none;
  }
  .lxg-nav-links > a:not(.lxg-nav-cta):hover {
    color: var(--lxg-teal-2);
    background: rgba(0, 194, 181, 0.04);
    padding-left: 6px;
    border-radius: 4px 4px 0 0;
  }
  .lxg-nav-links > a::after { display: none; }

  /* Dropdowns : look uniforme avec les liens */
  .lxg-dropdown {
    display: block;
    padding: 0;
    border-bottom: 1px solid var(--line-soft);
    position: static;
  }
  .lxg-dropdown::before { display: none !important; }

  .lxg-dropdown-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--ink);
    background: transparent;
    border: 0;
    text-align: left;
    min-height: 48px;
    cursor: pointer;
  }
  /* Chevron rotatif */
  .lxg-dropdown-toggle::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--muted);
    border-bottom: 2px solid var(--muted);
    transform: rotate(45deg);
    margin-right: 4px;
    transition: transform .25s var(--ease);
    flex-shrink: 0;
  }
  .lxg-dropdown[data-open="true"] .lxg-dropdown-toggle::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }

  /* Sous-menu : repli accordéon */
  .lxg-dropdown-menu {
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    padding: 0 0 8px 14px !important;
    margin: 0 !important;
    min-width: 0 !important;
    background: transparent !important;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .25s var(--ease), opacity .15s var(--ease), visibility 0s linear .15s;
  }
  .lxg-dropdown[data-open="true"] .lxg-dropdown-menu {
    max-height: 800px;
    opacity: 1;
    visibility: visible;
    transition: max-height .35s var(--ease), opacity .2s var(--ease), visibility 0s;
  }
  .lxg-dropdown-menu a {
    padding: 12px 0 !important;
    font-size: 0.96rem;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid var(--lxg-teal);
    padding-left: 12px !important;
    margin-bottom: 4px;
    background: rgba(0, 194, 181, 0.04);
    border-radius: 0 6px 6px 0;
  }
  .lxg-dropdown-menu a:last-child {
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 0;
  }
  .lxg-dropdown-menu a strong { display: block; line-height: 1.3; }
  .lxg-dropdown-menu a small { display: block; color: var(--muted); margin-top: 3px; font-size: 0.82rem; line-height: 1.4; }

  /* CTA "Mon devis" : marque, full-width */
  .lxg-nav-cta {
    margin: 18px 0 0 !important;
    padding: 16px 20px !important;
    font-size: 1.02rem !important;
    text-align: center;
    border-radius: 8px;
    align-self: stretch;
    box-shadow: 0 4px 14px rgba(0, 194, 181, 0.28);
  }

  /* Bloc d'actions rapides en bas du panneau */
  .lxg-nav-actions {
    margin: 22px 0 8px;
    padding: 18px 0 0;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
  }
  .lxg-nav-actions::before {
    content: "Contact direct";
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
  }
  html[lang="en"] .lxg-nav-actions::before { content: "Direct contact"; }
  .lxg-nav-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--lxg-navy);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    min-height: 48px;
  }
  .lxg-nav-action:hover { background: #f1f4fa; }
  .lxg-nav-action-ico {
    width: 18px; height: 18px;
    color: var(--lxg-teal-2);
    flex-shrink: 0;
  }
  .lxg-nav-action small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: 0.78rem;
    margin-top: 1px;
  }
  .lxg-nav-action-text { display: flex; flex-direction: column; line-height: 1.2; flex: 1 1 auto; min-width: 0; }
  .lxg-nav-action-text strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lxg-nav-action-text small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Action "changer de langue" : pastille FR/EN bien visible a droite */
  .lxg-nav-action--lang { position: relative; }
  .lxg-nav-action-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 28px;
    padding: 0 10px;
    background: var(--lxg-navy);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 999px;
    flex-shrink: 0;
  }
  .lxg-nav-action--lang:hover .lxg-nav-action-badge {
    background: var(--lxg-teal);
  }

  /* Si l'ancien lang_toggle_html() est encore present, on le masque
     dans le panneau pour eviter le doublon (la nouvelle action--lang
     remplace son role). */
  .lxg-nav .lxg-lang-toggle { display: none; }

  /* ----- Utility bar : simplifiee en mobile ----- */
  .lxg-utility-bar { font-size: 0.78rem; }
  .lxg-utility-tag { display: none !important; }
  .lxg-utility-inner { padding: 6px 16px; }
}

@media (max-width: 720px) {
  /* Mobile et petit tablet portrait : panneau plein-largeur, plus aere.
     Au-dessus de 720px on garde le side-panel de 380px (tablet paysage,
     iPad, etc.) qui laisse voir une bande de page derriere et le backdrop. */
  .lxg-nav { width: 100vw; max-width: 100vw; }
  .lxg-nav-head { padding: 12px 14px; }
  .lxg-nav-links { padding: 6px 14px 20px; }
}

@media (max-width: 760px) {
  /* Conteneurs : padding plus serre */
  .lxg-container,
  .lxg-container-narrow { padding: 0 16px; }

  /* Sections : moins de padding vertical */
  .lxg-section { padding: 56px 0 !important; }
  .lxg-page-hero { padding: 48px 0 36px !important; }
  .lxg-hero, .lxg-hero-img { padding: 56px 0 40px !important; }

  /* Hero CTA : boutons full-width */
  .lxg-hero-cta { flex-direction: column; align-items: stretch; }
  .lxg-hero-cta .btn { width: 100%; padding: 14px 18px; }

  /* Cards : padding moins large */
  .lxg-card { padding: 24px 20px; }
  .lxg-mandate-card { padding: 32px 22px; }

  /* H1/H2 mobile : tailles raisonnables */
  h1 { font-size: clamp(1.7rem, 6vw, 2.4rem) !important; }
  h2 { font-size: clamp(1.4rem, 5vw, 1.9rem) !important; }
  .lxg-hero h1, .lxg-hero-img h1, .lxg-page-hero h1 { max-width: 100%; }

  /* Hero trust : pas trop massif */
  .lxg-hero-trust { margin-top: 40px; padding-top: 20px; }

  /* Scan : input + button stackes, plus compacts qu'en desktop.
     IMPORTANT : sur desktop l'input a "flex:1 1 280px" (largeur). Sur mobile
     le form passe en flex-direction:column, donc 280px devient une HAUTEUR ->
     champ geant. On force flex:none + height auto. */
  .lxg-scan-form { flex-direction: column; gap: 8px; }
  .lxg-scan-form input,
  .lxg-scan-form button { width: 100%; flex: none; }
  .lxg-scan-form input[type=text] {
    flex: none;
    height: auto;
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  .lxg-scan-form button {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  /* Captcha : plus compact aussi */
  .lxg-scan-captcha {
    padding: 10px 12px !important;
    gap: 8px !important;
  }
  .lxg-scan-captcha-label { font-size: 0.85rem !important; flex: none !important; }
  .lxg-scan-captcha input[type=number] {
    width: 64px !important;
    flex: none !important;
    padding: 8px 10px !important;
    font-size: 0.95rem !important;
  }

  /* Logo wall home : 3 colonnes plus serres */
  .lxg-logo-wall-home { grid-template-columns: repeat(3, 1fr) !important; gap: 8px; }
  .lxg-logo-wall-home .lxg-logo-tile { height: 64px; padding: 8px; }
  .lxg-logo-wall-home .lxg-logo-tile img { max-height: 36px; }

  /* CTA final : padding moins lourd */
  .lxg-cta-final { padding: 56px 20px !important; }
  .lxg-cta-final h2 { font-size: clamp(1.4rem, 5vw, 1.8rem) !important; }

  /* 3 couches CISO : passe en colonne propre */
  .lxg-three-layers { gap: 32px !important; }
  .lxg-three-layers-visual img { max-width: 280px !important; }

  /* DPO 4 piliers : 1 colonne sur mobile */
  .lxg-grid-dpo-pillars { grid-template-columns: 1fr !important; }

  /* Card-tag (En option) : retour ligne propre */
  .lxg-card-option h3 { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lxg-card-tag { margin-left: 0 !important; }

  /* Sticky CTA mobile : plus discret pour ne pas cacher contenu */
  .lxg-sticky-cta {
    left: 12px; bottom: 12px;
    padding: 10px 16px; font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  /* Tres petit ecran : encore plus serre */
  .lxg-logo-wall-home { grid-template-columns: repeat(2, 1fr) !important; }
  .lxg-grid-2,
  .lxg-grid-3 { grid-template-columns: 1fr !important; }
  .lxg-utility-left a + .lxg-utility-sep + a { display: none !important; }
}

