/* ============================================================================
   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;
}
.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) {
  .lxg-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 80px;
    margin: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .25s var(--ease);
    border-top: 1px solid var(--line);
    z-index: 40;
  }
  .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); }
}

/* === 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); }

.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); }
.lxg-scan-result.info  { border-left: 4px solid var(--lxg-teal); color: var(--ink); }
.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: grayscale(1) opacity(.55);
  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 { filter: grayscale(0) opacity(1); }
.lxg-hero-img .lxg-logo-marquee-track img { filter: brightness(0) invert(1) opacity(0.65); }
.lxg-hero-img .lxg-logo-marquee-track img:hover { filter: brightness(0) invert(1) opacity(1); }
@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: grayscale(1) opacity(.65);
  transition: filter .25s var(--ease);
  object-fit: contain;
}
.lxg-logo-tile:hover img { filter: grayscale(0) opacity(1); }

/* === 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; }

/* === 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(620px, calc(100vh - 40px));
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  flex-direction: column;
  z-index: 60;
  overflow: hidden;
  border: 1px solid var(--line);
}
.lxg-chat-window.open { display: flex; }
.lxg-chat-header {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--lxg-navy) 0%, var(--lxg-navy-2) 100%);
  color: #fff;
  display: flex; align-items: center; gap: 12px;
}
.lxg-chat-header-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--lxg-teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}
.lxg-chat-header-text { flex: 1; min-width: 0; }
.lxg-chat-header-text strong { display: block; font-size: 0.95rem; }
.lxg-chat-header-text span { font-size: 0.75rem; opacity: 0.8; }
.lxg-chat-close {
  background: transparent; border: 0; color: rgba(255,255,255,.85);
  font-size: 1.35rem; cursor: pointer;
  padding: 0 4px;
}
.lxg-chat-close:hover { color: #fff; }
.lxg-chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  font-size: 0.93rem;
}
.lxg-chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; line-height: 1.45; }
.lxg-chat-msg.bot { background: #fff; align-self: flex-start; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.lxg-chat-msg.user { background: var(--lxg-navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.lxg-chat-msg.thinking { background: #fff; color: var(--muted); font-style: italic; align-self: flex-start; }
.lxg-chat-msg.error { background: var(--ko-bg); color: #803131; align-self: stretch; border: 1px solid #e9b3b3; }

.lxg-chat-form {
  border-top: 1px solid var(--line);
  padding: 10px;
  display: flex; gap: 8px;
  background: #fff;
}
.lxg-chat-form input[type=text] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.95rem;
}
.lxg-chat-form button {
  background: var(--lxg-teal);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 0 16px;
  font-weight: 600;
  cursor: pointer;
}
.lxg-chat-form button:hover { background: var(--lxg-teal-2); }
.lxg-chat-disclaimer { font-size: 0.72rem; color: var(--muted); padding: 4px 12px 8px; text-align: center; background: #fff; }

.lxg-chat-identify { padding: 18px 16px; background: #fff; }
.lxg-chat-identify h4 { margin: 0 0 4px; font-size: 1rem; color: var(--lxg-navy); }
.lxg-chat-identify p { font-size: 0.85rem; color: var(--muted); margin: 0 0 12px; }
.lxg-chat-identify input { margin-bottom: 10px; }
.lxg-chat-identify .lxg-chat-skip {
  display: block; text-align: center; font-size: 0.82rem; margin-top: 8px;
  background: transparent; border: 0; color: var(--muted); cursor: pointer; width: 100%;
}
.lxg-chat-identify .lxg-chat-skip:hover { color: var(--lxg-teal-2); text-decoration: underline; }

@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); }
}

/* === 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 === */
.lxg-logo-marquee {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-top: 24px;
  align-items: center;
  overflow: visible;
  mask-image: none;
}
.lxg-logo-marquee::before,
.lxg-logo-marquee::after { display: none; }
.lxg-logo-marquee-track {
  display: contents;
  animation: none;
}
.lxg-logo-marquee-track img {
  filter: grayscale(1) opacity(0.7);
  height: 38px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  transition: filter .25s var(--ease);
}
.lxg-logo-marquee-track img:hover {
  filter: grayscale(0) opacity(1);
}
/* Limiter a 6 logos visibles dans le hero (les suivants masques) */
.lxg-logo-marquee-track img:nth-child(n+7) { display: none; }
@media (max-width: 900px) {
  .lxg-logo-marquee { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .lxg-logo-marquee-track img:nth-child(n+7) { display: inline-block; }
  .lxg-logo-marquee-track img:nth-child(n+10) { display: none; }
}
@media (max-width: 540px) {
  .lxg-logo-marquee { grid-template-columns: repeat(2, 1fr); }
  .lxg-logo-marquee-track img:nth-child(n+5) { display: none; }
}

/* === 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), même langage éditorial === */
.lxg-page-hero {
  background: var(--bg);
  padding: 120px 0 80px;
  border-bottom: 1px solid var(--line);
}
.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 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  height: 100px;
  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 { filter: grayscale(1) opacity(0.55); max-height: 56px; }
.lxg-logo-tile:hover img { filter: grayscale(0) opacity(1); }
.lxg-logo-wall-home .lxg-logo-tile { height: 80px; }

/* === 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;
}

