/* ============================================================
   Auto-hosted Google Fonts — Inter, Manrope, Space Grotesk
   Source : Google Fonts API (subset latin + latin-ext)
   Licence : SIL Open Font License 1.1
   Régénéré via scripts/auto-host-fonts.py
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('/fonts/inter-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/inter-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/inter-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/inter-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/manrope-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/manrope-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/manrope-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/manrope-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/manrope-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/manrope-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/space-grotesk-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/space-grotesk-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/space-grotesk-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/space-grotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Dark navy core */
  --bg: #050b1a;
  --bg-alt: #0a1628;
  --bg-elev: #0f1e3a;
  --bg-card: rgba(15, 30, 58, 0.6);
  --bg-card-solid: #0f1e3a;

  /* Blue accents */
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-300: #93c5fd;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-900: #1e3a8a;
  --cyan-400: #22d3ee;

  /* Text */
  --text: #e2e8f0;
  --text-strong: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  /* Borders */
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.25);
  --border-blue: rgba(59, 130, 246, 0.3);

  /* Status */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.45);
  --shadow-blue: 0 10px 40px rgba(37, 99, 235, 0.35);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.25);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
}

/* Global background — animated aurora */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(59, 130, 246, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(37, 99, 235, 0.12), transparent 65%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(34, 211, 238, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-600); }

/* MAIN */
main { min-height: 100vh; padding-top: 80px; position: relative; z-index: 1; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
main { animation: fadeUp 0.6s ease; }

/* NAV (landing page only — scoped to #navbar so it doesn't apply to sidebar-nav) */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 80px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 80px);
  background: rgba(5, 11, 26, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(5, 11, 26, 0.92);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--text-strong); letter-spacing: -0.03em;
  text-decoration: none; cursor: pointer;
}
.logo-mark {
  width: 38px; height: 38px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-800));
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.35);
}
.logo-mark svg { width: 22px; height: 22px; color: white; }
.logo .dot { color: var(--blue-400); }

.nav-links { display: flex; gap: 4px; list-style: none; align-items: center; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  padding: 10px 18px; border-radius: 10px;
  transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text-strong); background: rgba(255, 255, 255, 0.05); }
.nav-links a.active { color: var(--blue-400); background: rgba(59, 130, 246, 0.12); }
.nav-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500)) !important;
  color: white !important; font-weight: 600 !important;
  padding: 10px 22px !important;
  box-shadow: var(--shadow-blue);
  border: 1px solid rgba(96, 165, 250, 0.4) !important;
}
.nav-cta:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-400)) !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 45px rgba(59, 130, 246, 0.5);
}

/* Lien "Se connecter" — sobre, à côté du CTA Essai gratuit */
.nav-login {
  color: var(--text-muted) !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
}
.nav-login:hover {
  color: var(--text-strong) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Icône LinkedIn dans la nav header — discret, secondaire au CTA "Essai gratuit"
   (classe volontairement neutre pour ne pas être ciblée par les filtres anti-pub
    qui matchent les classes "social-*") */
.nav-icon-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border-radius: 10px;
  background: transparent !important;
  color: var(--text-muted) !important;
  border: 1px solid var(--border) !important;
  transition: var(--transition);
  margin-left: 6px;
}
.nav-icon-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.nav-icon-btn:hover {
  background: #0a66c2 !important;
  border-color: #0a66c2 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Variante mobile-menu : lien horizontal avec icône + texte */
.mobile-menu .m-pill-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.mobile-menu .m-pill-link svg { width: 18px; height: 18px; flex-shrink: 0; }

/* CTA primaire — gros bouton bleu visible (sections finales, hero, etc.) */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md, 12px);
  border: 1px solid rgba(96, 165, 250, 0.5);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.cta-primary:hover {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  transform: translateY(-2px);
  box-shadow: 0 18px 55px rgba(59, 130, 246, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  gap: 14px;
}
.cta-primary svg { transition: transform 0.25s; }
.cta-primary:hover svg { transform: translateX(3px); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 8px; z-index: 1001;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text-strong); border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none; position: fixed; top: 80px; left: 0; right: 0;
  background: rgba(5, 11, 26, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  flex-direction: column;
  padding: 16px 20px 28px; gap: 6px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text-muted); text-decoration: none;
  font-size: 1rem; font-weight: 500;
  padding: 16px 20px; border-radius: 10px;
  transition: var(--transition);
}
.mobile-menu a:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-strong); }
.mobile-menu a.m-cta {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white; text-align: center; margin-top: 8px;
  box-shadow: var(--shadow-blue);
}

/* BUTTONS */
.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600;
  cursor: pointer; border: 1px solid rgba(96, 165, 250, 0.3);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  text-decoration: none; box-shadow: var(--shadow-blue);
  position: relative; overflow: hidden;
}
.btn-p::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-p:hover::before { transform: translateX(100%); }
.btn-p:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 45px rgba(59, 130, 246, 0.5);
}
.btn-s {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-strong);
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--border-strong);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  text-decoration: none;
  backdrop-filter: blur(12px);
}
.btn-s:hover {
  border-color: var(--blue-400);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

/* SECTION UTILITIES */
.section-wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 80px); position: relative; }
.section-pad { padding: 100px 0; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--blue-400);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-blue);
  padding: 7px 16px; border-radius: 50px;
  margin-bottom: 18px;
}
.section-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 18px;
}
.section-title .accent {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  color: var(--text-muted); font-size: 1rem;
  max-width: 620px; margin: 0 auto;
  line-height: 1.8;
}

/* ===================== HERO ===================== */
.hero {
  min-height: calc(100vh - 80px);
  display: flex; align-items: center;
  padding: 80px clamp(20px, 5vw, 80px) 60px;
  position: relative; overflow: hidden;
}
.hero-inner {
  max-width: 1240px; margin: 0 auto; width: 100%;
  position: relative; z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: 50px; padding: 8px 18px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--text);
  margin-bottom: 32px;
  backdrop-filter: blur(10px);
}
.hero-badge .badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.7);
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--text-strong);
  margin-bottom: 28px;
  max-width: 960px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--blue-400) 0%, var(--cyan-400) 50%, var(--blue-300) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted);
  max-width: 640px; line-height: 1.8;
  margin-bottom: 40px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats {
  display: flex; gap: 40px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 760px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 2rem; font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text-strong), var(--blue-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* Hero visual — animated orb */
.hero-orb {
  position: absolute;
  right: -10%; top: 10%;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.35), rgba(37, 99, 235, 0.15) 40%, transparent 70%);
  filter: blur(40px);
  animation: orb-float 12s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 40px) scale(1.05); }
}

/* ===================== HOME SECTIONS ===================== */
.home-section { padding: 120px 0; position: relative; }
.home-section[id] { scroll-margin-top: 90px; }

/* Comparatif — table cosec vs concurrents */
.compare-content { max-width: 1080px; }
.compare-table-wrap {
  overflow-x: auto;
  margin: 18px 0 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(15, 30, 58, 0.25);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 720px;
}
.compare-table thead th {
  text-align: left;
  padding: 14px 14px;
  background: rgba(15, 30, 58, 0.6);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  color: var(--text-strong);
  border-bottom: 1px solid var(--border);
  vertical-align: bottom;
}
.compare-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-muted);
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td:first-child {
  color: var(--text);
  font-weight: 600;
  width: 24%;
}
.compare-table .cosec-col {
  background: rgba(56, 132, 255, 0.06);
  color: var(--text);
}
.compare-table thead .cosec-col {
  background: rgba(56, 132, 255, 0.18);
  color: var(--text-strong);
  border-bottom-color: rgba(56, 132, 255, 0.4);
}
.compare-table .tick { color: #4ade80; font-weight: 600; }
.compare-table .cross { color: #f87171; font-weight: 500; }
.compare-table .partial { color: #fbbf24; font-weight: 500; }
.compare-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  opacity: 0.8;
  font-style: italic;
  margin: 8px 0 24px !important;
}

/* Objection ChatGPT — bloc post-hero qui traite l'objection #1 */
.objection-section { padding: 60px 0 0; }
.objection-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(244, 114, 182, 0.04) 0%, rgba(15, 30, 58, 0.45) 100%);
  text-align: left;
}
.objection-card-head {
  margin-bottom: 18px;
}
.objection-card-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 0 0 6px;
  line-height: 1.3;
}
.objection-card-tag {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(244, 114, 182, 0.85);
  font-weight: 600;
}
.objection-card-list {
  margin: 0 0 20px;
  padding-left: 0;
  list-style: none;
}
.objection-card-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}
.objection-card-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(244, 114, 182, 0.7);
}
.objection-card-list strong { color: var(--text); font-weight: 600; }
.objection-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.objection-card-cta:hover {
  border-bottom-color: var(--accent);
}
@media (max-width: 700px) {
  .objection-card { padding: 24px 22px; }
  .objection-card-title { font-size: 1.2rem; }
}

/* Preuve sociale — premiers déploiements opérationnels */
.social-proof-section { padding: 80px 0; }
.social-proof-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.social-proof-card {
  padding: 28px 30px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 30, 58, 0.45);
  text-align: left;
}
.social-proof-card--secondary {
  background: rgba(15, 30, 58, 0.3);
  border-color: rgba(255, 255, 255, 0.08);
}
.social-proof-card-head {
  border-bottom: 1px solid var(--border);
  padding-bottom: 18px;
  margin-bottom: 18px;
}
.social-proof-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.social-proof-card-tag svg { width: 13px; height: 13px; }
.social-proof-card-event {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  margin-bottom: 6px;
  line-height: 1.3;
}
.social-proof-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.85;
}
.social-proof-card-body p {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 14px;
}
.social-proof-card-body strong { color: var(--text); font-weight: 600; }
.social-proof-card-list {
  margin: 0;
  padding-left: 22px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}
.social-proof-card-list li { margin-bottom: 6px; }
@media (max-width: 900px) {
  .social-proof-grid { grid-template-columns: 1fr; }
}

/* TL;DR — 3 cas d'usage CoSec (entre hero et personas) */
.tldr-section { padding: 80px 0 40px; }
.usage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.usage-card {
  padding: 28px 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 30, 58, 0.35);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}
.usage-card:hover {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(15, 30, 58, 0.55);
}
.usage-card-num {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  opacity: 0.85;
}
.usage-card-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
  line-height: 1.3;
}
.usage-card-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}
.usage-card-desc strong { color: var(--text); font-weight: 600; }
.usage-meta {
  max-width: 1180px;
  margin: 32px auto 0;
  text-align: center;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-muted);
  opacity: 0.85;
}
.usage-meta strong { color: var(--text); font-weight: 600; }
@media (max-width: 900px) {
  .usage-grid { grid-template-columns: 1fr; }
}

/* Legacy TL;DR styles conservés pour rétrocompatibilité ; à retirer
   après confirmation que plus aucune page n'utilise .tldr-card */
.tldr-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 36px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(15, 30, 58, 0.35);
  text-align: left;
}
.tldr-heading {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-strong);
  margin: 12px 0 14px;
}
.tldr-body {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}
.tldr-body strong { color: var(--text); font-weight: 600; }
@media (max-width: 600px) {
  .tldr-card { padding: 22px 20px; }
  .tldr-body { font-size: 0.92rem; line-height: 1.65; }
}

/* ============================================================
   PROCHAINE PRÉSENTATION LIVE — bloc LinkedIn Live
   ============================================================ */
.live-event-section { padding: 56px 0 0 0; }
.live-event-card {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 36px;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 30, 58, 0.5) 0%, rgba(30, 58, 138, 0.18) 100%);
  position: relative;
  overflow: hidden;
}
.live-event-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-400), transparent);
}
.live-event-status {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.live-pulse {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: live-pulse 2s ease-out infinite;
}
@keyframes live-pulse {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.live-event-tag {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-300);
}
.live-event-title {
  font-family: "Manrope", sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text-strong);
  margin: 0 0 12px;
}
.live-event-desc {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 22px;
  max-width: 680px;
}
.live-event-meta {
  display: flex; flex-wrap: wrap; gap: 16px 28px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  color: var(--text);
}
.live-event-when,
.live-event-where {
  display: inline-flex; align-items: center; gap: 8px;
}
.live-event-when svg,
.live-event-where svg { width: 16px; height: 16px; color: var(--blue-400); flex-shrink: 0; }
.live-event-when strong { color: var(--text-strong); font-weight: 600; }

.live-event-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px;
}
.live-event-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  background: var(--blue-500);
  color: #fff;
  border-radius: 10px;
  font-size: 0.9rem; font-weight: 600;
  text-decoration: none;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}
.live-event-cta:hover {
  background: var(--blue-400);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(96, 165, 250, 0.35);
}
.live-event-cta svg { width: 18px; height: 18px; flex-shrink: 0; }
.live-event-cta--static {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-300, #93c5fd);
  border: 1px solid rgba(59, 130, 246, 0.3);
  cursor: default;
  box-shadow: none;
}
.live-event-cta--static:hover {
  background: rgba(59, 130, 246, 0.12);
  transform: none;
  box-shadow: none;
}
.live-event-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .live-event-section { padding: 40px 0 0 0; }
  .live-event-card { padding: 24px 22px; }
  .live-event-title { font-size: 1.35rem; }
  .live-event-desc { font-size: 0.92rem; }
  .live-event-meta { gap: 10px 0; flex-direction: column; }
  .live-event-cta { width: 100%; justify-content: center; }
}

.home-section-head { text-align: center; margin-bottom: 72px; }

/* Page secondaire — hero réduit (ex: /securite.html) */
.page-hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
}
.page-hero .section-tag { margin: 0 auto 24px; }
.page-title {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 auto 24px;
  max-width: 960px;
  color: var(--text);
}
.page-desc {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Domain cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.home-card {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.6), rgba(10, 22, 40, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  cursor: pointer; transition: var(--transition);
  position: relative; overflow: hidden;
  text-decoration: none; color: inherit; display: block;
  backdrop-filter: blur(10px);
}
.home-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0; transition: var(--transition);
}
.home-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.12), transparent 60%);
  opacity: 0; transition: var(--transition);
  pointer-events: none;
}
.home-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.12);
}
.home-card:hover::before { opacity: 1; }
.home-card:hover::after { opacity: 1; }

.card-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.1);
}
.card-icon svg { width: 30px; height: 30px; }
.card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 14px;
}
.card-desc {
  font-size: 0.92rem; color: var(--text-muted);
  line-height: 1.75;
}
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 22px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--blue-400); transition: var(--transition);
}
.home-card:hover .card-link { gap: 12px; color: var(--cyan-400); }

/* === Section Aperçu produit (captures d'écran réelles) === */
.produit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.produit-card {
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.6), rgba(10, 22, 40, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
}
.produit-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  opacity: 0; transition: var(--transition);
  z-index: 1;
}
.produit-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.12);
}
.produit-card:hover::before { opacity: 1; }

/* Browser chrome frame autour de la capture */
.produit-frame {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border);
}
.produit-frame-head {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.85), rgba(10, 22, 40, 0.6));
  border-bottom: 1px solid var(--border);
}
.produit-dot {
  width: 10px; height: 10px; border-radius: 50%;
  display: inline-block;
}
.produit-dot-red    { background: #ff5f57; }
.produit-dot-amber  { background: #febc2e; }
.produit-dot-green  { background: #28c840; }
.produit-url {
  flex: 1; text-align: center;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  user-select: none;
}
.produit-frame-body {
  background: #f8fafc; /* fond clair pour matcher le mode light de l'app */
  overflow: hidden;
  /* aspect-ratio pour stabiliser la hauteur entre les 3 cards */
  aspect-ratio: 16 / 10;
}
.produit-img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.produit-card:hover .produit-img {
  transform: scale(1.03);
}

/* Texte de la card */
.produit-text {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.produit-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0;
}
.produit-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.produit-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-400);
  transition: var(--transition);
}
.produit-card:hover .produit-cta {
  gap: 12px;
  color: var(--cyan-400);
}

/* Responsive — 2 cols puis 1 col */
@media (max-width: 1024px) {
  .produit-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .produit-grid { grid-template-columns: 1fr; }
  .produit-frame-body { aspect-ratio: 16 / 9; }
}

/* Feature list */
.features-section { position: relative; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: rgba(15, 30, 58, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.feature:hover {
  border-color: var(--border-blue);
  background: rgba(15, 30, 58, 0.6);
  transform: translateY(-3px);
}
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-blue);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
  margin-bottom: 16px;
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700; color: var(--text-strong);
  font-size: 0.96rem; margin-bottom: 10px;
}
.feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.feature-desc strong {
  color: var(--text-strong);
  font-weight: 600;
}

/* Bandeau CTA sous la grille de fonctionnalités */
.feature-cta {
  margin-top: 32px;
  padding: 22px 26px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(15, 30, 58, 0.55);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-400);
  border-radius: 12px;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.feature-cta > svg {
  width: 22px;
  height: 22px;
  color: var(--blue-400);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-cta strong {
  color: var(--text-strong);
  font-weight: 700;
}
.feature-cta-link {
  display: inline-block;
  margin-left: 6px;
  color: var(--blue-300);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}
.feature-cta-link:hover {
  color: var(--cyan-400);
}

/* Stats band */
.stats-band {
  margin: 40px 0;
  background: linear-gradient(135deg, rgba(15, 30, 58, 0.8), rgba(5, 11, 26, 0.9));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative; overflow: hidden;
}
.stats-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.15), transparent 60%);
  pointer-events: none;
}
.stat-item { text-align: center; position: relative; z-index: 1; }
.stat-num {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--blue-300), var(--cyan-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em; line-height: 1;
  margin-bottom: 10px;
  /* Hauteur uniforme pour centrer chiffres et mots */
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
}
/* Variante mot (ex: "Illimité") — taille réduite pour tenir dans la même box */
.stat-num-text {
  font-size: 1.7rem;
  letter-spacing: 0;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* CTA band */
.cta-band {
  margin: 80px 0 0;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 50%, #0f1e3a 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 100%, rgba(34, 211, 238, 0.2), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(59, 130, 246, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.cta-band p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

/* ===================== PAGE HEADERS ===================== */
.page-header {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.5) 0%, transparent 100%);
  padding: 100px clamp(20px, 5vw, 80px) 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: 500px; height: 500px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.page-header::after {
  content: ""; position: absolute; bottom: 0; left: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(ellipse, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .section-wrap { position: relative; z-index: 1; }
.page-header .section-title { margin-bottom: 18px; }

/* ===================== SERVICES ===================== */
.services-body {
  max-width: 1200px; margin: 80px auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: grid; gap: 32px;
}
.service-item {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.6), rgba(10, 22, 40, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 52px;
  align-items: start;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative; overflow: hidden;
}
.service-item::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--blue-500), var(--cyan-400));
  opacity: 0; transition: var(--transition);
}
.service-item:hover {
  border-color: var(--border-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.service-item:hover::before { opacity: 1; }

.svc-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-blue);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
  margin-bottom: 22px;
  box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.1), 0 8px 24px rgba(59, 130, 246, 0.15);
}
.svc-icon svg { width: 34px; height: 34px; }
.svc-num {
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 3px; color: var(--text-dim);
  text-transform: uppercase;
}
.svc-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-strong);
  margin: 10px 0 14px;
  letter-spacing: -0.01em;
}
.svc-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem;
  color: var(--blue-400); font-weight: 600;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-blue);
  padding: 5px 14px; border-radius: 50px;
}
.svc-desc {
  color: var(--text-muted);
  font-size: 0.96rem; line-height: 1.85;
  margin-bottom: 28px;
}
.svc-features { list-style: none; display: grid; gap: 14px; }
.svc-features li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 0.92rem; color: var(--text);
  line-height: 1.6;
}
.svc-features li::before {
  content: ""; flex-shrink: 0; margin-top: 4px;
  width: 20px; height: 20px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

/* ===================== EXPERTISES ===================== */
.expertises-body {
  max-width: 1240px; margin: 80px auto;
  padding: 0 clamp(20px, 5vw, 80px);
}
.exp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 80px;
}
/* Variante 3 colonnes (utilisée en section Sécurité) */
.exp-grid.exp-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}
.exp-card {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.55), rgba(10, 22, 40, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  backdrop-filter: blur(10px);
}
.exp-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.exp-card-head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.exp-card-icon {
  width: 56px; height: 56px; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
}
.exp-card-icon svg { width: 28px; height: 28px; }
.exp-card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.exp-card-desc {
  color: var(--text-muted);
  font-size: 0.9rem; line-height: 1.75;
  margin-bottom: 18px;
}
.exp-card-list {
  list-style: none; display: grid; gap: 8px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.exp-card-list li {
  font-size: 0.84rem;
  color: var(--text);
  display: flex; align-items: center; gap: 10px;
}
.exp-card-list li::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400); flex-shrink: 0;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.6);
}

/* Cards "Documents légaux" — duo lire en ligne / télécharger PDF */
.legal-download-card { display: flex; flex-direction: column; }
.legal-download-card .exp-card-desc { flex: 1; }

.legal-download-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding-top: 16px; border-top: 1px solid var(--border);
  margin-top: auto;
}
.legal-link-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--blue-500);
  color: #fff !important;
  border-radius: 8px;
  font-size: 0.86rem; font-weight: 600;
  text-decoration: none !important;
  transition: background 0.18s ease, transform 0.18s ease;
}
.legal-link-primary:hover {
  background: var(--blue-400);
  transform: translateY(-1px);
}
.legal-link-primary svg { width: 16px; height: 16px; }
.legal-link-secondary {
  font-size: 0.86rem;
  color: var(--blue-400) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.18s ease;
}
.legal-link-secondary:hover { color: var(--blue-300) !important; }

/* Bouton "Télécharger en PDF" en tête de chaque page légale */
.legal-page-download {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.legal-page-download .legal-link-primary {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-300, #93c5fd) !important;
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 12px 22px;
  font-size: 0.92rem;
}
.legal-page-download .legal-link-primary:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff !important;
  border-color: rgba(59, 130, 246, 0.5);
}
@media print {
  .legal-page-download { display: none !important; }
}

/* ===================== A PROPOS ===================== */
.apropos-body {
  max-width: 1100px; margin: 80px auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px; align-items: start;
}
.ap-card {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.7), rgba(10, 22, 40, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  position: sticky; top: 100px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.ap-avatar {
  width: 140px; height: 140px;
  border-radius: 50%; margin: 0 auto 24px;
  overflow: hidden;
  border: 3px solid var(--border-blue);
  box-shadow: 0 0 40px rgba(59, 130, 246, 0.25);
  background: linear-gradient(135deg, var(--blue-700), var(--blue-900));
  display: flex; align-items: center; justify-content: center;
}
.ap-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ap-avatar-placeholder {
  font-family: 'Manrope', sans-serif;
  font-size: 2.8rem; font-weight: 800;
  color: white;
  letter-spacing: -0.05em;
}
.ap-name {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-strong); margin-bottom: 6px;
}
.ap-role {
  font-size: 0.86rem;
  color: var(--blue-400);
  margin-bottom: 24px; font-weight: 500;
}
.ap-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 24px;
}
.ap-metric {
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 14px;
}
.ap-metric-num {
  font-family: 'Manrope', sans-serif;
  font-size: 1.7rem; font-weight: 800;
  color: var(--text-strong);
  background: linear-gradient(135deg, var(--blue-300), var(--cyan-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.ap-metric-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px; font-weight: 500;
  letter-spacing: 0.5px;
}
.ap-certifs { margin-top: 28px; }
.ap-certif-title {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px; text-align: left;
}
.ap-certif-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.88rem; color: var(--text);
  font-weight: 500;
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 8px;
}
.ap-certif-item svg { color: var(--blue-400); flex-shrink: 0; }

.ap-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.9rem; font-weight: 800;
  color: var(--text-strong);
  margin-bottom: 24px; line-height: 1.2;
  letter-spacing: -0.02em;
}
.ap-p {
  color: var(--text-muted);
  font-size: 0.95rem; line-height: 1.9;
  margin-bottom: 20px;
}
.ap-skills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}
.ap-skill {
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 18px;
  font-size: 0.84rem;
  color: var(--text); font-weight: 500;
  transition: var(--transition);
}
.ap-skill:hover {
  border-color: var(--border-blue);
  color: var(--blue-300);
  background: rgba(59, 130, 246, 0.08);
}

/* ===================== CONTACT ===================== */
.contact-body {
  max-width: 1100px; margin: 80px auto;
  padding: 0 clamp(20px, 5vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px; align-items: start;
}
.contact-infos {
  display: grid; gap: 16px;
  position: sticky; top: 100px;
}
.ci-card {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.6), rgba(10, 22, 40, 0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex; align-items: flex-start; gap: 18px;
  transition: var(--transition);
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.ci-card:hover {
  border-color: var(--border-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.ci-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
}
.ci-icon svg { width: 22px; height: 22px; }
.ci-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 6px;
}
.ci-val {
  font-size: 0.96rem; font-weight: 600;
  color: var(--text-strong);
}
.ci-sub {
  font-size: 0.82rem;
  color: var(--text-muted); margin-top: 3px;
}

.contact-form-box {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.65), rgba(10, 22, 40, 0.4));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}
.cform { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(5, 11, 26, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-strong);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  background: rgba(5, 11, 26, 0.9);
}
.form-group select option {
  background: var(--bg-elev);
  color: var(--text-strong);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem; font-weight: 600;
  border: 1px solid rgba(96, 165, 250, 0.3);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  margin-top: 8px;
  box-shadow: var(--shadow-blue);
  position: relative; overflow: hidden;
}
.btn-submit::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.btn-submit:hover::before { transform: translateX(100%); }
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 45px rgba(59, 130, 246, 0.5);
}

.form-notice {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.6;
}
.form-notice svg { color: var(--blue-400); flex-shrink: 0; margin-top: 2px; }

/* HERO SEARCH */
.hero-search {
  display: flex; gap: 10px; flex-wrap: wrap;
  max-width: 640px; margin-bottom: 18px;
}
.hero-search-field {
  flex: 1; min-width: 280px;
  position: relative;
  display: flex; align-items: center;
}
.hero-search-field svg {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--text-muted);
  pointer-events: none;
}
.hero-search-field input {
  width: 100%;
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 14px 18px 14px 48px;
  color: var(--text-strong);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}
.hero-search-field input::placeholder { color: var(--text-muted); }
.hero-search-field input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  background: rgba(15, 30, 58, 0.7);
}
.hero-search button { white-space: nowrap; }

.hero-examples {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 36px;
}
.chip {
  display: inline-flex; align-items: center;
  background: rgba(15, 30, 58, 0.4);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 6px 14px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
.chip:hover {
  border-color: var(--border-blue);
  color: var(--blue-300);
  background: rgba(59, 130, 246, 0.1);
}
.hero-note {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 16px; margin-bottom: 48px;
}

/* Hero — badges de confiance (remplace l'ancienne hero-note émojis) */
.hero-trial-reassurance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  margin-bottom: 8px;
  padding: 9px 14px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #d1fae5;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.35);
  border-radius: 999px;
  letter-spacing: -0.005em;
}
.hero-trial-reassurance svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #34d399;
}
.hero-trial-reassurance strong {
  color: #ffffff;
  font-weight: 600;
}
@media (max-width: 600px) {
  .hero-trial-reassurance {
    display: flex;
    border-radius: 12px;
    font-size: 0.85rem;
    padding: 10px 12px;
  }
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  margin-bottom: 28px;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(15, 30, 58, 0.55);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease;
}
.trust-badge:hover {
  border-color: var(--border-blue);
  color: var(--text-strong);
  background: rgba(59, 130, 246, 0.08);
}
.trust-badge svg {
  width: 14px;
  height: 14px;
  color: var(--blue-400);
  flex-shrink: 0;
}

/* Hero — ligne partenaire infrastructure (ancrage tiers institutionnel) */
.hero-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 40px;
  padding: 14px 18px;
  background: rgba(15, 30, 58, 0.4);
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue-400);
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 760px;
}
.hero-partners-label {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}
.hero-partners-sep {
  color: var(--border-blue);
  opacity: .6;
}
.hero-partners-name {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.hero-partners-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Hero — ligne "Conçu en Suisse" (signal légitimité métier) */
.hero-craft {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 760px;
}
.hero-craft svg {
  width: 18px;
  height: 18px;
  color: var(--blue-400);
  flex-shrink: 0;
  margin-top: 2px;
}
.hero-craft strong {
  color: var(--text-strong);
  font-weight: 600;
}

/* TRUST BAR */
.trust-bar {
  margin-top: 40px;
  padding: 24px 32px;
  background: rgba(15, 30, 58, 0.4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-muted);
  backdrop-filter: blur(10px);
}
.trust-bar span {
  display: inline-flex; align-items: center; gap: 8px;
}
.trust-bar svg {
  width: 16px; height: 16px;
  color: var(--blue-400); flex-shrink: 0;
}

/* Citation Infomaniak AI (Section Sécurité) */
.quote-box {
  margin: 40px auto 0;
  max-width: 860px;
  padding: 24px 32px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
  border-left: 3px solid var(--blue-400);
  border-radius: 10px;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--text);
  font-style: italic;
}
.quote-box cite {
  display: block;
  margin-top: 12px;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text-muted);
}

/* ===================== DEMO PAGE — mockups produit ===================== */
/* Objectif : mimer fidèlement la vraie app cosec (thème clair, sidebar gauche,
   bulles identiques au dashboard réel). Le hero et le footer de la page restent
   dark navy, mais les mockups eux-mêmes rendent la vraie UI du produit.          */

:root {
  --demo-bg: #f5f7fb;
  --demo-card: #ffffff;
  --demo-border: #e2e8f0;
  --demo-border-soft: #eef2f7;
  --demo-fg: #0f172a;
  --demo-muted: #64748b;
  --demo-primary: #2563eb;
  --demo-primary-fg: #1d4ed8;
  --demo-primary-soft: rgba(37, 99, 235, 0.1);
  --demo-emerald: #059669;
  --demo-emerald-soft: rgba(5, 150, 105, 0.12);
  --demo-amber: #b45309;
  --demo-amber-soft: rgba(180, 83, 9, 0.12);
  --demo-rose: #be123c;
  --demo-rose-soft: rgba(190, 18, 60, 0.1);
}

/* Container "vraie app" avec head browser + sidebar + main */
.demo-app {
  border-radius: 16px;
  overflow: hidden;
  background: var(--demo-bg);
  color: var(--demo-fg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  font-family: "Inter", -apple-system, sans-serif;
}
.demo-app-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #e8edf4;
  border-bottom: 1px solid #cfd7e3;
}
.demo-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.demo-dot-red { background: #ff5f56; }
.demo-dot-amber { background: #ffbd2e; }
.demo-dot-green { background: #27c93f; }
.demo-url {
  margin-left: 10px;
  padding: 4px 12px;
  background: #f5f7fb;
  border: 1px solid #d1d9e6;
  border-radius: 6px;
  font-size: 0.72rem;
  color: #64748b;
  font-family: "Space Grotesk", monospace;
  flex: 1;
  max-width: 420px;
}

/* Captures réelles affichées dans le frame demo-app */
.demo-app-img {
  display: block;
  width: 100%;
  height: auto;
  background: #f8fafc;
}

/* CTA centré sous une section (ex : Sécurité → page détail) */
.section-cta {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 10px;
  color: var(--blue-300);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.18);
  border-color: rgba(59, 130, 246, 0.5);
  color: var(--blue-200);
}

/* PRICING */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
/* Variante 2 plans — on centre avec une largeur contrôlée pour ne pas laisser
   les cards s'étirer à l'infini sur grand écran */
.pricing-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
/* Variante 3 plans — Solo · Team (featured) · Enterprise */
.pricing-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Enterprise — ancrage haut, ton sobre vs Team featured */
.price-card--enterprise {
  border-color: rgba(167, 139, 250, 0.35);
  background: linear-gradient(180deg, rgba(96, 50, 180, 0.05) 0%, rgba(15, 30, 58, 0.35) 60%);
}
.price-card--enterprise .price-plan {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-amount--quote {
  font-size: 2.2rem !important;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-strong);
}
.price-card--enterprise .price-credits-num {
  font-size: 1.6rem;
}

/* Bandeau "100 crédits = X livrables" — concrétisation des crédits */
.price-credits-examples {
  max-width: 1080px;
  margin: 0 auto 40px;
  padding: 24px 28px;
  background: rgba(15, 30, 58, 0.45);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.price-credits-examples-head {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 18px;
  text-align: center;
  line-height: 1.55;
}
.price-credits-examples-head strong { color: var(--text-strong); font-weight: 700; }
.price-credits-examples-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-credits-example {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 12px;
  background: rgba(96, 165, 250, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: 12px;
}
.price-credits-example-num {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 6px;
}
.price-credits-example-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.price-credits-examples-meta {
  margin: 18px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.7;
  text-align: center;
  font-style: italic;
}
@media (max-width: 800px) {
  .pricing-grid--3 { grid-template-columns: 1fr; max-width: 480px; }
  .price-credits-examples-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Note explicative crédit IA au-dessus des cards */
.price-credit-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 880px;
  margin: 0 auto 32px;
  padding: 16px 22px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.price-credit-note svg {
  width: 18px;
  height: 18px;
  color: var(--blue-300);
  flex-shrink: 0;
  margin-top: 2px;
}
.price-credit-note strong {
  color: var(--text-strong);
  font-weight: 600;
}

/* Bloc crédits mis en avant dans chaque card */
.price-credits {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.price-credits-num {
  font-family: 'Manrope', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue-300), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-credits-label {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
}

/* Bandeau "jusqu'à X utilisateurs" sur le plan Équipe */
.price-seats {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 10px;
  font-size: 0.88rem;
  color: var(--text);
  flex-wrap: wrap;
}
.price-seats svg {
  width: 16px;
  height: 16px;
  color: var(--success);
  flex-shrink: 0;
}
.price-seats strong {
  color: var(--text-strong);
  font-weight: 700;
}
.price-seats-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* Bloc Enterprise "Bientôt disponible" — teaser qualifié */
.price-enterprise--coming {
  flex-direction: row;
  align-items: center;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.55), rgba(15, 30, 58, 0.35));
  border: 1px solid var(--border-blue);
  border-style: solid;
}
.price-enterprise-head {
  flex: 1;
  min-width: 0;
}
.price-enterprise-badge {
  display: inline-block;
  padding: 4px 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 50px;
  margin-bottom: 10px;
}

/* Rassurances tarifs en ligne sous les cards */
.price-reassure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
}
.price-reassure span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.price-reassure svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

/* Inline code dans les features (pour .md par exemple) */
.price-features code {
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 0.78rem;
  padding: 1px 6px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-blue);
  border-radius: 4px;
  color: var(--blue-300);
}

/* Responsive — 2 cards passent en 1 colonne sous 760px */
@media (max-width: 760px) {
  .pricing-grid--2 { grid-template-columns: 1fr; max-width: 480px; }
  .price-enterprise--coming { flex-direction: column; align-items: flex-start; }
  .price-reassure { flex-direction: column; gap: 14px; align-items: center; }
}
.price-card {
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.6), rgba(10, 22, 40, 0.35));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex; flex-direction: column; gap: 22px;
  transition: var(--transition);
  position: relative;
  backdrop-filter: blur(10px);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(30, 58, 95, 0.7), rgba(15, 30, 58, 0.5));
  border-color: var(--border-blue);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}
.price-ribbon {
  position: absolute; top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  font-size: 0.72rem; font-weight: 700;
  padding: 6px 18px; border-radius: 50px;
  letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
  white-space: nowrap;
}
.price-head { margin-bottom: 4px; }
.price-plan {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 6px;
}
.price-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}
.price-main {
  display: flex; align-items: baseline; gap: 8px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.price-amount {
  font-family: 'Manrope', sans-serif;
  font-size: 3rem; font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em; line-height: 1;
  background: linear-gradient(135deg, var(--text-strong), var(--blue-300));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.price-unit {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}
.price-trial {
  font-size: 0.8rem;
  color: var(--blue-300);
  font-weight: 600;
  margin-top: -8px;
}

/* Bandeau réassurance "Essai gratuit 7 jours" sur les cards Solo/Team */
.price-trial-badge {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  margin-top: 4px;
}
.price-trial-badge svg {
  width: 22px;
  height: 22px;
  color: rgba(34, 197, 94, 0.95);
  flex-shrink: 0;
  margin-top: 1px;
}
.price-trial-badge-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.4;
}
.price-trial-badge-body strong {
  font-size: 0.86rem;
  color: rgba(134, 239, 172, 1);
  font-weight: 700;
}
.price-trial-badge-body span {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}
.price-trial-badge-body .price-trial-note {
  margin-top: 4px;
  font-size: 0.72rem;
  font-style: italic;
  color: rgba(134, 239, 172, 0.85);
}
.price-features {
  list-style: none; display: grid; gap: 12px;
  padding-top: 16px;
}
.price-features li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.55;
}
.price-features li::before {
  content: ""; flex-shrink: 0; margin-top: 3px;
  width: 18px; height: 18px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.price-enterprise {
  margin-top: 32px;
  padding: 28px 36px;
  background: rgba(15, 30, 58, 0.45);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 24px;
}
.price-enterprise-label {
  font-family: 'Manrope', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 4px;
}
.price-enterprise-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 540px; line-height: 1.65;
}

/* FAQ */
.faq-list {
  display: grid; gap: 12px;
}
.faq-det {
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.faq-det:hover { border-color: var(--border-blue); }
.faq-det[open] {
  background: rgba(15, 30, 58, 0.7);
  border-color: var(--border-blue);
  box-shadow: var(--shadow-sm);
}
.faq-det summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem; font-weight: 600;
  color: var(--text-strong);
  letter-spacing: -0.01em;
}
.faq-det summary::-webkit-details-marker { display: none; }
.faq-det summary::after {
  content: "";
  flex-shrink: 0;
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-blue);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360a5fa' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
  transition: var(--transition);
}
.faq-det[open] summary::after { transform: rotate(180deg); }
.faq-det p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem; line-height: 1.8;
}
.faq-det p code {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-blue);
  color: var(--blue-300);
  padding: 2px 8px; border-radius: 6px;
  font-size: 0.84em;
}
.faq-det p a {
  color: var(--blue-400);
  text-decoration: none;
  border-bottom: 1px dashed var(--border-blue);
}
.faq-det p a:hover { color: var(--cyan-400); }

/* ===================== CHATBOT WIDGET ===================== */
.chat-fab {
  position: fixed; bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 50%;
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: var(--transition);
  z-index: 998;
  animation: fab-in 0.5s ease 1s both;
}
.chat-fab svg { width: 26px; height: 26px; position: relative; z-index: 1; }
.chat-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.6);
}
.chat-fab-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--blue-500);
  opacity: 0.5;
  animation: fab-pulse 2.2s infinite;
  pointer-events: none;
}
@keyframes fab-in {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fab-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.9); opacity: 0; }
}

.chat-panel {
  position: fixed; bottom: 24px; right: 24px;
  width: 400px; max-width: calc(100vw - 32px);
  height: 600px; max-height: calc(100vh - 100px);
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.98), rgba(5, 11, 26, 0.98));
  border: 1px solid var(--border-blue);
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 50px rgba(59, 130, 246, 0.15);
  backdrop-filter: blur(30px);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}
.chat-panel.open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}
.chat-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15, 30, 58, 0.8), rgba(30, 58, 95, 0.6));
}
.chat-header-left { display: flex; align-items: center; gap: 14px; }
.chat-avatar {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
  flex-shrink: 0;
}
.chat-avatar svg { width: 22px; height: 22px; }
.chat-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.98rem; font-weight: 700;
  color: var(--text-strong);
}
.chat-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.chat-close {
  width: 36px; height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-close svg { width: 16px; height: 16px; }
.chat-close:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.1);
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px;
  display: flex; flex-direction: column; gap: 18px;
}
.chat-messages::-webkit-scrollbar { width: 4px; }
.chat-messages::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }

.msg {
  display: flex; gap: 10px;
  animation: msg-in 0.3s ease;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.msg-avatar {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white;
}
.msg-bot .msg-avatar {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.msg-avatar svg { width: 16px; height: 16px; }
.msg-body {
  flex: 1;
  background: rgba(15, 30, 58, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
}
.msg-body p { margin: 0; }
.msg-body p + p { margin-top: 10px; }
.msg-body strong { color: var(--text-strong); }
.msg-body code {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--border-blue);
  color: var(--blue-300);
  padding: 1px 6px; border-radius: 4px;
  font-size: 0.85em;
}

.msg-user { flex-direction: row-reverse; }
.msg-user .msg-avatar {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--border-blue);
  color: var(--blue-400);
}
.msg-user .msg-body {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--border-blue);
  color: var(--text-strong);
}

.msg-typing {
  display: inline-flex; gap: 4px; padding: 4px 0;
}
.msg-typing span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-400);
  opacity: 0.5;
  animation: typing 1.2s infinite;
}
.msg-typing span:nth-child(2) { animation-delay: 0.15s; }
.msg-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.9); }
  30% { opacity: 1; transform: scale(1); }
}

.msg-suggestions {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.msg-suggestions .chip {
  background: rgba(59, 130, 246, 0.08);
  color: var(--blue-300);
  border-color: var(--border-blue);
  font-size: 0.78rem;
  padding: 6px 12px;
  cursor: pointer;
  border: 1px solid var(--border-blue);
}
.msg-suggestions .chip:hover {
  background: rgba(59, 130, 246, 0.18);
  color: var(--text-strong);
}

.chat-input {
  display: flex; gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--border);
  background: rgba(5, 11, 26, 0.6);
}
.chat-input input {
  flex: 1;
  background: rgba(15, 30, 58, 0.6);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--text-strong);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}
.chat-input input::placeholder { color: var(--text-muted); }
.chat-input input:focus {
  border-color: var(--blue-400);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.chat-send {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 12px;
  color: white;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-blue);
  flex-shrink: 0;
}
.chat-send svg { width: 18px; height: 18px; }
.chat-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.5);
}
.chat-send:disabled {
  opacity: 0.5; cursor: not-allowed;
  transform: none;
}

.chat-footer {
  padding: 10px 18px;
  background: rgba(5, 11, 26, 0.8);
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
  justify-content: center;
}
.chat-footer svg { color: var(--blue-400); flex-shrink: 0; }

/* FOOTER */
footer {
  padding: 60px clamp(20px, 5vw, 80px) 40px;
  border-top: 1px solid var(--border);
  background: rgba(5, 11, 26, 0.8);
  color: var(--text-muted);
  font-size: 0.86rem;
  position: relative; z-index: 1;
  backdrop-filter: blur(12px);
}
.footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 340px;
}
.footer-col h4 {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 18px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--text-strong);
  letter-spacing: -0.03em;
  text-decoration: none;
}
.footer-logo .dot { color: var(--blue-400); }

/* ===================== OlOxOn wordmark =====================
   Reproduit en CSS le logo texte OlOxOn avec la font Manrope 800
   (déjà chargée sur le site). Bicolore comme le logo d'origine,
   mais adapté au thème dark pour rester lisible sur fond navy. */
.oloxon-wordmark {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
}
/* Variante petite pour usage inline dans © footer-bottom + hero signature */
.oloxon-wordmark--sm {
  font-size: 0.88rem;
}
/* Variante grande pour bloc éditeur sur page sécurité */
.oloxon-wordmark--xl {
  font-size: 2.4rem;
  letter-spacing: -0.045em;
}
.oloxon-dark {
  color: var(--text-strong);
}
.oloxon-light {
  color: var(--blue-400);
}
.oloxon-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
  transition: transform .2s ease, opacity .2s ease;
}
.oloxon-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}
/* Ligne "cosec est un produit de OlOxOn" dans footer-brand */
.footer-by {
  margin-top: 18px !important;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.84rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.footer-by .oloxon-link {
  margin-left: 2px;
}

/* Pills réseaux dans footer-brand (classes neutres pour éviter les filtres anti-pub) */
.footer-pills {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  line-height: 1;
}
.footer-pill svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.footer-pill-li:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  color: #ffffff;
  transform: translateY(-1px);
}
.footer-pill-li:hover svg { color: #ffffff; }

/* Signature "a OlOxOn product" au-dessus du hero-badge */
.hero-signature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  padding: 4px 10px;
  font-size: 0.78rem;
  color: var(--text-dim);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color .2s ease, transform .2s ease;
  font-style: italic;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}
.hero-signature:hover {
  color: var(--text-muted);
  transform: translateY(-1px);
}
.hero-signature .oloxon-wordmark {
  font-style: normal; /* remet non-italique pour le wordmark lui-même */
}
.hero-signature-prefix,
.hero-signature-suffix {
  opacity: 0.75;
}

/* Bloc éditeur sur page sécurité — carte d'information juridique */
.editor-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 40px 44px;
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.6), rgba(10, 22, 40, 0.4));
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.editor-card-head {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.editor-card-brand {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.editor-card-url {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-blue);
  border-radius: 50px;
  font-size: 0.84rem;
  color: var(--blue-300);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}
.editor-card-url svg {
  width: 12px;
  height: 12px;
}
.editor-card-url:hover {
  background: rgba(59, 130, 246, 0.2);
  color: var(--cyan-400);
}
.editor-card-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 720px;
  margin: 0;
}
.editor-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  margin: 0;
}
.editor-card-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.editor-card-row:last-child,
.editor-card-row:nth-last-child(2) {
  border-bottom: none;
  padding-bottom: 0;
}
.editor-card-row dt {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}
.editor-card-row dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
}
.editor-card-row dd strong {
  color: var(--text-strong);
  font-weight: 700;
}
.editor-card-row dd a {
  color: var(--blue-300);
  text-decoration: none;
  border-bottom: 1px solid rgba(59, 130, 246, 0.3);
  transition: color .2s ease, border-color .2s ease;
}
.editor-card-row dd a:hover {
  color: var(--cyan-400);
  border-color: var(--cyan-400);
}

@media (max-width: 760px) {
  .editor-card { padding: 28px 24px; }
  .editor-card-grid { grid-template-columns: 1fr; gap: 16px; }
  .editor-card-row:nth-last-child(2) { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
  .oloxon-wordmark--xl { font-size: 1.8rem; }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .exp-grid, .exp-grid.exp-grid-3 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .price-card.featured { transform: none; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 40px 32px; }
  .service-item { grid-template-columns: 1fr; gap: 32px; padding: 40px 36px; }
  .apropos-body { grid-template-columns: 1fr; gap: 40px; }
  .ap-card { position: static; }
  .contact-body { grid-template-columns: 1fr; gap: 40px; }
  .contact-infos { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-orb { width: 400px; height: 400px; right: -30%; opacity: 0.6; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .chat-panel {
    bottom: 0; right: 0; left: 0;
    width: 100%; max-width: 100%;
    height: 100vh; max-height: 100vh;
    border-radius: 0;
  }
  .chat-fab { bottom: 16px; right: 16px; width: 54px; height: 54px; }
  .chat-fab svg { width: 22px; height: 22px; }
  .trust-bar { padding: 18px 20px; gap: 14px; font-size: 0.78rem; }
  .price-enterprise { flex-direction: column; align-items: flex-start; padding: 22px 24px; }
  .price-enterprise-desc { max-width: 100%; }
  .hero-search-field { min-width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .stats-band { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .cta-band { padding: 48px 28px; }
  .hero { padding: 60px 20px 40px; }
  .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 1.6rem; }
  .home-section { padding: 72px 0; }
  .section-pad { padding: 64px 0; }
  .services-body,
  .expertises-body,
  .apropos-body,
  .contact-body { margin: 48px auto; }
  .page-header { padding: 72px 20px 56px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-box { padding: 32px 24px; }
  .service-item { padding: 32px 24px; }
  .exp-card { padding: 32px 26px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .ap-section-title { font-size: 1.5rem; }
  .svc-title { font-size: 1.25rem; }
  .hero-orb { display: none; }
}

/* ===================== DASHBOARD ===================== */
.dashboard-body {
  background: var(--bg);
  overflow: hidden;
  height: 100vh;
}
.dashboard-body::before,
.dashboard-body::after { display: none; }

.app-shell {
  display: grid;
  grid-template-columns: 272px 1fr;
  height: 100vh;
  position: relative;
  z-index: 1;
}

/* ---------- SIDEBAR ---------- */
.sidebar {
  display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.7), rgba(5, 11, 26, 0.9));
  border-right: 1px solid var(--border);
  padding: 18px 14px;
  overflow-y: auto;
  backdrop-filter: blur(16px);
}
.sidebar-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6px 18px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-collapse {
  width: 30px; height: 30px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.sidebar-collapse svg { width: 14px; height: 14px; }
.sidebar-collapse:hover {
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-strong);
}

/* Org switcher */
.org-switcher {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--text-strong);
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  margin-bottom: 14px;
}
.org-switcher:hover {
  background: rgba(15, 30, 58, 0.8);
  border-color: var(--border-blue);
}
.org-badge {
  width: 32px; height: 32px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 800; font-size: 0.78rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}
.org-info { flex: 1; text-align: left; min-width: 0; }
.org-name {
  font-size: 0.86rem; font-weight: 600;
  color: var(--text-strong);
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.org-plan {
  font-size: 0.72rem;
  color: var(--blue-300);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* Nav */
.sidebar-nav {
  display: flex; flex-direction: column;
  gap: 2px;
  flex: 1;
}
.sidebar-nav .nav-item {
  display: flex; align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}
.sidebar-nav .nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
}
.sidebar-nav .nav-item.active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-300);
  border: 1px solid var(--border-blue);
}
.sidebar-nav .nav-item.nav-primary {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border-blue);
  color: var(--blue-300);
  font-weight: 600;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.12);
}
.sidebar-nav .nav-item.nav-primary:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(34, 211, 238, 0.12));
  color: var(--text-strong);
}
.nav-icon {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-icon svg { width: 18px; height: 18px; }
.nav-shortcut {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-family: 'Space Grotesk', monospace;
  color: var(--text-muted);
}
.nav-count {
  margin-left: auto;
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  min-width: 22px;
  text-align: center;
}
.nav-item.active .nav-count {
  background: rgba(59, 130, 246, 0.25);
  color: var(--blue-300);
}
.nav-section-title {
  padding: 16px 12px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* Credits card */
.credits-card {
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.6), rgba(15, 30, 58, 0.4));
  border: 1px solid var(--border-blue);
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin-top: 12px;
}
.credits-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.credits-label {
  font-size: 0.76rem; font-weight: 600;
  color: var(--text);
  letter-spacing: 0.3px;
}
.credits-plan-tag {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  padding: 2px 9px; border-radius: 50px;
  font-size: 0.66rem; font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.credits-bar {
  height: 6px;
  background: rgba(148, 163, 184, 0.15);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 8px;
}
.credits-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  box-shadow: 0 0 12px rgba(96, 165, 250, 0.5);
  border-radius: 50px;
}
.credits-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.credits-meta strong { color: var(--text-strong); font-weight: 700; }
.credits-cta {
  display: inline-flex; align-items: center; gap: 6px;
  width: 100%;
  justify-content: center;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid var(--border-blue);
  color: var(--blue-300);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.8rem; font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}
.credits-cta:hover {
  background: rgba(59, 130, 246, 0.25);
  color: var(--text-strong);
}

/* User footer */
.sidebar-user {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
.user-avatar {
  width: 36px; height: 36px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  border: 1px solid var(--border-blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: -0.01em;
}
.user-info { flex: 1; min-width: 0; }
.user-name {
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-strong);
  line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.user-role {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.user-menu {
  width: 28px; height: 28px;
  background: transparent;
  border: none; border-radius: 6px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.user-menu svg { width: 16px; height: 16px; }
.user-menu:hover { background: rgba(255, 255, 255, 0.06); color: var(--text-strong); }

/* ---------- MAIN ---------- */
.dashboard-main {
  display: flex; flex-direction: column;
  overflow: hidden;
  height: 100vh;
}

/* Topbar */
.topbar {
  display: flex; align-items: center;
  height: 60px;
  padding: 0 24px;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 11, 26, 0.5);
  backdrop-filter: blur(16px);
  gap: 16px;
  flex-shrink: 0;
}
.sidebar-toggle {
  display: none;
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  align-items: center; justify-content: center;
}
.sidebar-toggle svg { width: 18px; height: 18px; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.86rem;
  color: var(--text-muted);
  flex: 1;
}
.crumb-sep { color: var(--text-dim); }
.crumb-active { color: var(--text-strong); font-weight: 600; }

.topbar-actions {
  display: flex; align-items: center; gap: 8px;
}
.icon-btn {
  position: relative;
  width: 38px; height: 38px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.icon-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-strong);
  border-color: var(--border-strong);
}
.icon-btn svg { width: 18px; height: 18px; }
.dot-indicator {
  position: absolute; top: 8px; right: 9px;
  width: 8px; height: 8px;
  background: var(--blue-400);
  border: 2px solid var(--bg);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(96, 165, 250, 0.7);
}

/* Content */
.dashboard-content {
  flex: 1;
  overflow-y: auto;
  padding: 48px 24px;
  position: relative;
}
.dashboard-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 130, 246, 0.08), transparent 70%);
  pointer-events: none;
}

.starter-wrap {
  max-width: 820px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

.starter-greeting {
  text-align: center;
  margin-bottom: 48px;
}
.greeting-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}
.greeting-icon svg { width: 30px; height: 30px; }
.starter-title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text-strong);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.starter-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Skills grid */
.starter-skills { margin-bottom: 32px; }
.starter-skills-title {
  font-family: 'Manrope', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  padding-left: 4px;
}
.starter-skill-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.skill-tile {
  background: rgba(15, 30, 58, 0.5);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  cursor: pointer;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  text-align: left;
  transition: var(--transition);
  display: flex; flex-direction: column;
  gap: 8px;
  backdrop-filter: blur(10px);
}
.skill-tile:hover {
  border-color: var(--border-blue);
  background: rgba(15, 30, 58, 0.75);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.skill-tile-icon {
  width: 34px; height: 34px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid var(--border-blue);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
}
.skill-tile-icon svg { width: 18px; height: 18px; }
.skill-tile-label {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  color: var(--text-strong);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
}
.skill-tile-cost {
  font-size: 0.74rem;
  color: var(--blue-300);
  font-weight: 600;
}

/* Chat input */
.starter-input {
  margin: 28px 0 40px;
}
.starter-input-wrap {
  display: flex; align-items: flex-end;
  gap: 8px;
  background: linear-gradient(180deg, rgba(15, 30, 58, 0.75), rgba(10, 22, 40, 0.55));
  border: 1px solid var(--border-blue);
  border-radius: 18px;
  padding: 10px 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(16px);
  transition: var(--transition);
}
.starter-input-wrap:focus-within {
  border-color: var(--blue-400);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 50px rgba(59, 130, 246, 0.2);
}
.starter-input-wrap textarea {
  flex: 1;
  background: transparent;
  border: none;
  resize: none;
  color: var(--text-strong);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  outline: none;
  padding: 10px 6px;
  min-height: 44px;
  max-height: 200px;
}
.starter-input-wrap textarea::placeholder { color: var(--text-muted); }
.input-attach, .input-skill, .input-send {
  width: 38px; height: 38px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.input-attach svg, .input-skill svg, .input-send svg { width: 18px; height: 18px; }
.input-attach:hover, .input-skill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-strong);
  border-color: var(--border-strong);
}
.input-send {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: white;
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: var(--shadow-blue);
}
.input-send:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.5);
}
.starter-input-hints {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 12px;
  padding: 0 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
}
.starter-input-hints kbd {
  background: rgba(148, 163, 184, 0.15);
  border: 1px solid var(--border);
  padding: 1px 7px;
  border-radius: 5px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.76rem;
  color: var(--text);
}

/* Recent */
.starter-recent { margin-top: 12px; }
.recent-list { display: grid; gap: 8px; }
.recent-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(15, 30, 58, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.recent-item:hover {
  background: rgba(15, 30, 58, 0.7);
  border-color: var(--border-blue);
  transform: translateX(4px);
}
.recent-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--border-blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-400);
}
.recent-icon svg { width: 18px; height: 18px; }
.recent-body { flex: 1; min-width: 0; }
.recent-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: var(--text-strong);
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.recent-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Sidebar collapsed */
.sidebar.collapsed {
  grid-column: 1;
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 272px; z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .sidebar.collapsed { transform: translateX(0); }
  .sidebar-toggle { display: flex; }
  .dashboard-content { padding: 32px 16px; }
  .starter-skill-grid { grid-template-columns: repeat(2, 1fr); }
  .starter-input-hints { font-size: 0.72rem; gap: 10px; }
}
@media (max-width: 560px) {
  .starter-skill-grid { grid-template-columns: 1fr; }
  .topbar { padding: 0 16px; }
  .crumb:not(.crumb-active) { display: none; }
  .crumb-sep { display: none; }
}

/* ===================== RESPONSIVE BOTTOM ===================== */
@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 16px 36px; }
  .hero-badge { font-size: 0.74rem; padding: 6px 14px; }
  .hero-btns { flex-direction: column; align-items: stretch; }
  .btn-p, .btn-s { width: 100%; justify-content: center; }
  .home-section { padding: 56px 0; }
  .section-pad { padding: 48px 0; }
  .services-body,
  .expertises-body,
  .apropos-body,
  .contact-body { margin: 32px auto; }
  .page-header { padding: 56px 16px 40px; }
  .service-item { padding: 28px 20px; }
  .exp-card { padding: 28px 22px; }
  .contact-form-box { padding: 28px 20px; }
  .ap-section-title { font-size: 1.3rem; }
  .svc-title { font-size: 1.15rem; }
  .ap-card { padding: 32px 24px; }
  .stat-num { font-size: 2.2rem; }
}

/* ===================== LEGAL PAGES ===================== */
.legal-section {
  padding: 0 0 120px;
  position: relative;
}
.legal-content {
  max-width: 860px;
  text-align: left;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
}
.legal-content > p,
.legal-content > ul,
.legal-content > ol,
.legal-content > dl,
.legal-content > table { color: var(--text-muted); }
.legal-content h2 {
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 56px 0 16px;
  color: var(--text);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  scroll-margin-top: 100px;
}
.legal-content h2:first-of-type { border-top: 0; padding-top: 0; }
.legal-content h3 {
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--text);
  scroll-margin-top: 100px;
}
.legal-content p { margin: 0 0 14px; }
.legal-content ul,
.legal-content ol { margin: 0 0 16px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: rgba(96, 165, 250, 0.4);
  transition: text-decoration-color 0.2s;
}
.legal-content a:hover { text-decoration-color: #60a5fa; }
.legal-content strong { color: var(--text); font-weight: 600; }
.legal-content code {
  font-family: "JetBrains Mono", Consolas, monospace;
  font-size: 0.88em;
  background: var(--bg-card);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.legal-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 18px;
  letter-spacing: 0.02em;
  opacity: 0.75;
}

.legal-todo {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 4px;
  color: #fbbf24;
  font-size: 0.78rem;
  font-style: italic;
  margin-left: 6px;
}

.legal-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 26px;
  margin: 0 0 56px;
}
.legal-toc strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 32px;
}
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
}
.legal-toc a:hover { color: #60a5fa; text-decoration: underline; }

.legal-dl {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 24px;
  margin: 0 0 24px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.legal-dl dt {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.legal-dl dd {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.9rem;
}
.legal-table th,
.legal-table td {
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.legal-table thead th {
  background: rgba(59, 130, 246, 0.08);
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.legal-table tbody th {
  width: 200px;
  background: rgba(15, 30, 58, 0.4);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}
.legal-table tbody tr:last-child th,
.legal-table tbody tr:last-child td { border-bottom: 0; }
.legal-table td ul {
  margin: 0;
  padding-left: 18px;
}
.legal-table td ul li { margin-bottom: 4px; }

.legal-callout {
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  padding: 16px 20px;
  border-radius: 4px;
  margin: 0 0 24px;
  color: var(--text);
}

.legal-hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 56px 0 28px;
}

.legal-footnote {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.8;
}

@media (max-width: 720px) {
  .legal-toc ol { columns: 1; }
  .legal-dl {
    grid-template-columns: 1fr;
    gap: 4px 0;
  }
  .legal-dl dt { margin-top: 8px; }
  .legal-dl dt:first-child { margin-top: 0; }
  .legal-table thead { display: none; }
  .legal-table tbody td,
  .legal-table tbody th {
    display: block;
    width: 100% !important;
    border-bottom: 0;
    padding: 6px 14px;
  }
  .legal-table tbody tr {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .legal-table tbody tr:last-child { border-bottom: 0; }
}

/* ============================================================
   PRINT — pages légales (mentions / confidentialité / CGU /
   sous-traitants) générées en PDF via Chrome headless. On force
   un rendu light, on retire les éléments de navigation et les
   décorations cosmétiques pour obtenir un document professionnel
   léger (texte sur fond blanc, sans fioritures).
   ============================================================ */
@media print {
  /* CRITIQUE : neutralise les animations d'entrée (fadeUp sur <main>)
     qui font partir le contenu de opacity:0. Chrome headless génère le
     PDF avant la fin de l'animation → tout est invisible. Force visible. */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
  }
  main {
    animation: none !important;
    opacity: 1 !important;
  }

  /* Override TOUTES les variables thème dark → light pour l'impression.
     Sans ça les éléments qui utilisent var(--text-muted), var(--bg-card),
     etc. restent en gris clair / fond translucide dark → quasi invisibles
     sur fond blanc imprimé. */
  :root {
    /* Backgrounds : tout passe en blanc / gris très clair */
    --bg: #ffffff !important;
    --bg-alt: #ffffff !important;
    --bg-elev: #ffffff !important;
    --bg-card: #ffffff !important;
    --bg-card-solid: #ffffff !important;
    --bg-secondary: #f5f5f5 !important;
    /* Textes : tout passe en noir / gris foncé */
    --text: #1a1a1a !important;
    --text-strong: #000000 !important;
    --text-muted: #444444 !important;
    --text-dim: #666666 !important;
    /* Bordures : opaque gris clair (les rgba avec opacity faible
       deviennent invisibles sur blanc) */
    --border: #d4d4d4 !important;
    --border-strong: #b8b8b8 !important;
    --border-blue: #c5d4f0 !important;
    /* Bleu accent : foncé pour contraste sur blanc */
    --blue-300: #1a4ec4 !important;
    --blue-400: #1a4ec4 !important;
    --blue-500: #1a4ec4 !important;
    /* Shadow et glow : neutralisés (sinon ça crée des halos gris sur PDF) */
    --shadow-sm: none !important;
  }

  /* Defense in depth : override directe sur tous les containers de
     contenu légal au cas où Chrome PDF ne réévaluerait pas les variables
     fast enough. */
  .legal-content,
  .legal-content > *,
  .legal-content p,
  .legal-content li,
  .legal-content dt,
  .legal-content dd,
  .legal-dl,
  .legal-dl dt,
  .legal-dl dd,
  .legal-table,
  .legal-table th,
  .legal-table td {
    color: #1a1a1a !important;
    background: #ffffff !important;
  }
  .legal-content h2,
  .legal-content h3 {
    color: #000000 !important;
  }
  .legal-dl dt {
    color: #555555 !important;
  }

  /* Reset global : fond blanc, texte foncé, désactive les effets */
  html, body {
    background: #ffffff !important;
    color: #1a1a1a !important;
    font-size: 10.5pt;
    line-height: 1.55;
  }
  body::before,
  body::after { display: none !important; }

  /* Cache la chrome de la landing : nav, mobile menu, hero deco, footer.
     Le contenu juridique s'imprime tel quel, avec son propre titre h1
     dans la section page-hero (qu'on garde mais qu'on simplifie). */
  #navbar,
  .mobile-menu,
  footer,
  .footer,
  .nav-cta,
  .hero-chips,
  .hero-badges,
  [data-no-print] { display: none !important; }

  /* Hero simplifié : pas de gradient ni de fond, juste le titre */
  .page-hero,
  .home-section {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 18pt 0 !important;
    border: none !important;
    box-shadow: none !important;
  }
  .page-hero { padding-top: 8pt !important; padding-bottom: 12pt !important; border-bottom: 1px solid #e5e5e5 !important; }

  .section-wrap {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Typographie : forcer noir pur pour lecture papier / archivage */
  h1, h2, h3, h4, h5, h6,
  .page-title,
  .section-title { color: #1a1a1a !important; }
  .accent { color: #1a4ec4 !important; } /* bleu cosec un peu plus foncé pour print */

  p, li, td, th, dd, dt, span, strong { color: #1a1a1a !important; }
  .section-desc,
  .page-desc { color: #444 !important; }

  /* Liens : URL imprimée entre parenthèses pour traçabilité juridique */
  a {
    color: #1a4ec4 !important;
    text-decoration: underline !important;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    color: #555 !important;
    word-break: break-all;
  }
  /* Pas d'URL imprimée pour les ancres internes ni mailto: (plus lisible) */
  a[href^="#"]::after,
  a[href^="mailto:"]::after { content: ""; }

  /* Tableaux légaux propres */
  table, .legal-table {
    background: #fff !important;
    border: 1px solid #ccc !important;
    page-break-inside: avoid;
  }
  th { background: #f5f5f5 !important; color: #1a1a1a !important; }
  td, th { border-color: #ddd !important; }

  /* Cards / blocs : pas de glow, pas de gradient */
  .card, .exp-card, .editor-card, .feature-card, .legal-card {
    background: #fff !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  /* Évite que les sections se cassent au milieu d'un titre */
  h1, h2, h3 { page-break-after: avoid; }
  h2 { margin-top: 16pt !important; }
  h3 { margin-top: 12pt !important; }

  /* Marges de page A4 */
  @page {
    size: A4;
    margin: 18mm 16mm 18mm 16mm;
  }

  /* Bannière cookie : ne pas l'imprimer */
  #cosec-cookie-banner { display: none !important; }
}

/* =============================================================
   Bannière cookie (cookie-banner.js)
   ============================================================= */
#cosec-cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 9999;
  display: flex;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#cosec-cookie-banner.ccb-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#cosec-cookie-banner .ccb-card {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(96, 165, 250, 0.1) inset;
  max-width: 880px;
  width: 100%;
  padding: 18px 22px;
  color: #e2e8f0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
#cosec-cookie-banner .ccb-body {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
#cosec-cookie-banner .ccb-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.1));
  color: #60a5fa;
}
#cosec-cookie-banner .ccb-icon svg {
  width: 22px;
  height: 22px;
}
#cosec-cookie-banner .ccb-text {
  flex: 1 1 auto;
  min-width: 0;
}
#cosec-cookie-banner .ccb-title {
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
}
#cosec-cookie-banner .ccb-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
}
#cosec-cookie-banner .ccb-desc strong {
  color: #e2e8f0;
  font-weight: 600;
}
#cosec-cookie-banner .ccb-link {
  margin: 6px 0 0 0;
  font-size: 12.5px;
}
#cosec-cookie-banner .ccb-link a {
  color: #60a5fa;
  text-decoration: none;
  border-bottom: 1px dotted rgba(96, 165, 250, 0.5);
  transition: border-color 0.2s ease, color 0.2s ease;
}
#cosec-cookie-banner .ccb-link a:hover {
  color: #93c5fd;
  border-bottom-color: rgba(147, 197, 253, 0.7);
}
#cosec-cookie-banner .ccb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-top: 14px;
}
#cosec-cookie-banner .ccb-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 9px 16px;
  border-radius: 8px;
  transition: background-color 0.18s ease, transform 0.18s ease,
    box-shadow 0.18s ease;
}
#cosec-cookie-banner .ccb-btn:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
#cosec-cookie-banner .ccb-btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.3);
}
#cosec-cookie-banner .ccb-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
}
#cosec-cookie-banner .ccb-btn-secondary {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
#cosec-cookie-banner .ccb-btn-secondary:hover {
  background: rgba(148, 163, 184, 0.2);
  color: #f1f5f9;
}

/* Mobile : passer en pleine largeur, actions empilées si besoin */
@media (max-width: 600px) {
  #cosec-cookie-banner {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  #cosec-cookie-banner .ccb-card {
    padding: 16px 16px 14px;
    border-radius: 12px;
  }
  #cosec-cookie-banner .ccb-body {
    gap: 12px;
  }
  #cosec-cookie-banner .ccb-icon {
    width: 36px;
    height: 36px;
  }
  #cosec-cookie-banner .ccb-title {
    font-size: 14px;
  }
  #cosec-cookie-banner .ccb-desc {
    font-size: 12.5px;
  }
  #cosec-cookie-banner .ccb-actions {
    flex-direction: column-reverse;
  }
  #cosec-cookie-banner .ccb-btn {
    width: 100%;
    text-align: center;
  }
}

/* Lien "Gérer les cookies" dans le footer */
.cookie-trigger-link {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
  text-decoration: none;
}
.cookie-trigger-link:hover {
  color: var(--blue, #60a5fa);
}

/* === SECTION NEWSLETTER — Le Brief CoSec (session 2026-05-08) === */
/* Hérite du fond global de la landing (pas de gradient propre) + classes
   .home-section / .section-wrap standard pour matcher les autres blocs.   */
.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.newsletter-text {
  max-width: 540px;
}
.newsletter-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 14px;
}
.newsletter-text h2 {
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 16px 0;
  color: var(--text, #fff);
}
.newsletter-lead {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--text-muted, rgba(255, 255, 255, 0.72));
  margin: 0 0 22px 0;
}
.newsletter-points {
  list-style: none;
  padding: 0;
  margin: 0;
}
.newsletter-points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: var(--text-muted, rgba(255, 255, 255, 0.7));
  font-size: 0.94rem;
  line-height: 1.5;
}
.newsletter-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b82f6;
}
.newsletter-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 16px;
  padding: clamp(18px, 2.6vw, 26px);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* Override des styles Infomaniak pour la lisibilité des inputs sur fond
   sombre : texte saisi en noir cosec, placeholder gris ardoise. */
.newsletter-form-card input,
.newsletter-form-card input[type="email"],
.newsletter-form-card input[type="text"],
.newsletter-form-card textarea {
  color: #0a1628 !important;
  font-size: 1rem !important;
}
.newsletter-form-card input::placeholder,
.newsletter-form-card textarea::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}
/* Bouton de soumission Infomaniak rebrandé bleu primary cosec. */
.newsletter-form-card button,
.newsletter-form-card input[type="submit"],
.newsletter-form-card button[type="submit"] {
  background: #3b82f6 !important;
  background-color: #3b82f6 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 12px 22px !important;
  cursor: pointer !important;
  letter-spacing: 0 !important;
  transition: background-color 0.18s ease, transform 0.18s ease !important;
}
.newsletter-form-card button:hover,
.newsletter-form-card input[type="submit"]:hover,
.newsletter-form-card button[type="submit"]:hover {
  background: #2563eb !important;
  background-color: #2563eb !important;
  transform: translateY(-1px) !important;
}
.newsletter-form-card button:active,
.newsletter-form-card input[type="submit"]:active,
.newsletter-form-card button[type="submit"]:active {
  transform: translateY(0) !important;
}
/* Override de la carte blanche interne du formulaire Infomaniak pour
   intégrer naturellement le formulaire dans le wrapper dark navy cosec.
   Neutralise les fonds blancs et les box-shadows internes, force les
   couleurs de texte sur la palette claire pour fond sombre. */
.newsletter-form-card iframe,
.newsletter-form-card > div,
.newsletter-form-card form,
.newsletter-form-card form > *,
.newsletter-form-card section {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}
.newsletter-form-card h1,
.newsletter-form-card h2,
.newsletter-form-card h3,
.newsletter-form-card h4,
.newsletter-form-card h5 {
  color: #ffffff !important;
  font-family: "Manrope", "Inter", system-ui, sans-serif !important;
}
.newsletter-form-card p,
.newsletter-form-card span,
.newsletter-form-card div {
  color: rgba(255, 255, 255, 0.78) !important;
}
.newsletter-form-card label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 600 !important;
}
.newsletter-form-card a {
  color: #60a5fa !important;
  text-decoration: underline !important;
}
/* L'input garde un fond clair (sinon illisible) mais avec une nuance
   slate-50 et une bordure plus douce pour s'intégrer en visuel. */
.newsletter-form-card input,
.newsletter-form-card input[type="email"],
.newsletter-form-card input[type="text"] {
  background: #f8fafc !important;
  background-color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 8px !important;
}
.newsletter-form-card input:focus,
.newsletter-form-card input[type="email"]:focus,
.newsletter-form-card input[type="text"]:focus {
  border-color: #3b82f6 !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18) !important;
}
@media (max-width: 860px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .newsletter-text {
    max-width: none;
  }
}
