/* ============================================================
   Amicolab — CSS principal (mobile-first)
   Variables, Reset, Composants, Pages
   ============================================================ */

/* ============================================================
   1. VARIABLES CSS
   ============================================================ */
:root {
  /* ── Palette logo Amicolab ──────────────────────────────────
     Bleu-violet (AMICO) : #2e2e72 → #5558a8 → #8585c4
     Orange-rouge (LAB)  : #e8562c → #f07a56 → #fde8e2
  ────────────────────────────────────────────────────────── */
  --blue-dark: #2e2e72;
  --blue-mid: #4a4a9e;
  --blue-light: #7878c0;
  --green: #1ac300a6;
  --green-light: #24cb0b;
  --green-xlight: #b5ffad;
  --white: #fff;
  --gray-50: #f7f7fb;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e0;
  --gray-400: #a0aec0;
  --gray-500: #718096;
  --gray-600: #4a5568;
  --gray-700: #2d3748;
  --gray-800: #1a202c;
  --red: #e53e3e;
  --red-light: #fed7d7;
  --orange: #dd6b20;
  --orange-light: #feebc8;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,.12);

  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  --transition: all .2s ease;
  --transition-slow: all .35s ease;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;

  --container: 1200px;
  --header-h: 90px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
input, textarea, select { font: inherit; }
table { border-collapse: collapse; }
address { font-style: normal; }
h1,h2,h3,h4,h5,h6 { line-height: 1.25; }

/* Accessibilité */
.skip-link {
  position: absolute; top: -100%; left: 0; z-index: 9999;
  background: var(--blue-dark); color: #fff; padding: .75rem 1.5rem;
  font-weight: 600; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { top: 0; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px)  { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

.section { padding: 3.5rem 0; }
@media (min-width: 768px)  { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }

.section--white { background: var(--white); }
.section--gray  { background: var(--gray-50); }
.section--blue  { background: var(--blue-dark); }

/* ============================================================
   4. TYPOGRAPHIE
   ============================================================ */
.section-header { text-align: center; max-width: 700px; margin-inline: auto; margin-bottom: 3rem; }
.section-header--light .section-title { color: var(--white); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--green);
  margin-bottom: .75rem;
}
.section-eyebrow--light { color: var(--green-light); }
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--blue-dark);
  margin-bottom: 1rem; letter-spacing: -.02em;
}
.section-desc { font-size: 1rem; color: var(--gray-500); line-height: 1.7; }
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ============================================================
   5. BOUTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: var(--radius);
  font-weight: 600; font-size: .9375rem; line-height: 1;
  transition: var(--transition); white-space: nowrap;
  text-decoration: none; border: 2px solid transparent;
}
.btn--primary {
  background: var(--green); color: var(--white); border-color: var(--green);
}
.btn--primary:hover  { background: var(--green-light); border-color: var(--green-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--outline {
  background: transparent; color: var(--blue-dark); border-color: var(--blue-dark);
}
.btn--outline:hover  { background: var(--blue-dark); color: var(--white); }
.btn--outline-dark   { background: transparent; color: var(--blue-dark); border-color: var(--blue-dark); }
.btn--outline-dark:hover { background: var(--blue-dark); color: #fff; }
.btn--outline-white  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline-white:hover { background: rgba(255,255,255,.15); border-color: #fff; }
.btn--lg  { padding: .875rem 1.75rem; font-size: 1rem; }
.btn--sm  { padding: .5rem 1rem; font-size: .875rem; }
.btn--xs  { padding: .35rem .75rem; font-size: .8rem; }
.btn--full { width: 100%; justify-content: center; }

/* ============================================================
   6. HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,.98); backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm); height: var(--header-h);
  z-index: 1000;
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  height: var(--header-h);
}
.logo {
  display: flex; align-items: center; gap: .625rem;
  text-decoration: none; flex-shrink: 0;
}
.logo__img     { width: 100px; object-fit: contain; }
.logo__text    { display: flex; flex-direction: column; }
.logo__name    { font-size: 1.15rem; font-weight: 800; color: var(--blue-dark); line-height: 1.1; }
.logo__tagline { font-size: .65rem; color: var(--gray-500); line-height: 1.3; max-width: 180px; }

/* ── Liens de navigation (partagés desktop + mobile) ───────── */
.nav-link, .nav-link--btn {
  display: flex; align-items: center; gap: .35rem;
  padding: .5rem .875rem; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition); text-decoration: none; width: 100%;
}
.nav-link:hover, .nav-link--btn:hover { color: var(--blue-dark); background: var(--gray-100); }
.nav-link--portal {
  border: 1.5px solid var(--gray-200); color: var(--blue-dark); font-size: .85rem;
}
.nav-link--portal:hover { background: var(--gray-100); border-color: var(--gray-300); }
.nav-arrow { transition: transform .2s; flex-shrink: 0; margin-left: auto; }
.nav-link--btn[aria-expanded="true"] .nav-arrow { transform: rotate(180deg); }

/* ── Contenu dropdown (partagé) ─────────────────────────────── */
.dropdown__inner { display: flex; gap: 0; padding: 1.5rem; }
.dropdown__col   { flex: 1; padding: 0 1rem; }
.dropdown__col:first-child { padding-left: 0; }
.dropdown__col:not(:last-child) { border-right: 1px solid var(--gray-100); }
.dropdown__col--cta { flex: 0 0 220px; }
.dropdown__heading {
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .07em; color: var(--gray-400); margin-bottom: .75rem;
}
.dropdown__link {
  display: flex; align-items: center; gap: .625rem;
  padding: .5rem .75rem; border-radius: var(--radius-sm);
  font-size: .875rem; color: var(--gray-700);
  transition: var(--transition); margin-bottom: .125rem;
}
.dropdown__link svg  { color: var(--blue-light); flex-shrink: 0; }
.dropdown__link:hover { background: var(--gray-50); color: var(--blue-dark); }
.dropdown__promo {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius); padding: 1.25rem; height: 100%;
  display: flex; flex-direction: column; gap: .75rem;
}
.dropdown__promo-title { font-weight: 700; font-size: .9rem; color: #fff; }
.dropdown__promo-text  { font-size: .8rem; color: rgba(255,255,255,.8); line-height: 1.5; flex: 1; }

/* ── Header actions ─────────────────────────────────────────── */
.header-actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.header-cta     { display: none; }
@media (min-width: 768px) { .header-cta { display: inline-flex; } }

/* ── Hamburger ──────────────────────────────────────────────── */
.hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: .5rem; }
.hamburger__line {
  display: block; width: 22px; height: 2px;
  background: var(--gray-700); border-radius: 2px; transition: var(--transition);
}
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE (< 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  /* Panneau latéral */
  .main-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: #fff;
    overflow-y: auto;
    padding: .5rem 1rem 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 999;
    height: min-content;
  }
  .main-nav.is-open { transform: translateX(0); }

  .nav-list { display: flex; flex-direction: column; gap: 0; }
  .nav-item  { border-bottom: 1px solid var(--gray-100); }
  .nav-link, .nav-link--btn { padding: .875rem .5rem; font-size: 1rem; justify-content: space-between; }

  /* Dropdown mobile — inline, caché par défaut */
  .dropdown {
    display: none;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin: 0 0 .75rem .5rem;
    padding: .5rem .75rem;
  }
  .dropdown.is-open { display: block; }
  .dropdown__inner  { flex-direction: column; padding: .25rem 0; gap: .75rem; }
  .dropdown__col    { padding: 0; border: none; }
  .dropdown__col--cta { display: none; }
  .dropdown__heading { margin-bottom: .4rem; }
  .dropdown__link   { padding: .45rem .5rem; font-size: .9rem; }
}

/* ═══════════════════════════════════════════════════════════════
   DESKTOP (≥ 1024px)
   ═══════════════════════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .header-actions { margin-left: 1.5rem; }

  .main-nav  { margin-left: auto; }
  .nav-list  { display: flex; align-items: center; gap: .25rem; }
  .nav-item  { position: relative; }
  .nav-link, .nav-link--btn { width: auto; }

  /* Dropdown desktop — absolu, hover + clic */
  .dropdown {
    position: absolute; top: calc(100% + .5rem); left: 50%;
    transform: translateX(-50%) translateY(-8px);
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
    min-width: 640px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-item--has-dropdown:hover .dropdown,
  .dropdown.is-open {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
  .dropdown__inner { flex-direction: row; padding: 1.5rem; gap: 0; }
  .dropdown__col   { padding: 0 1rem; }
  .dropdown__col:first-child { padding-left: 0; }
  .dropdown__col:not(:last-child) { border-right: 1px solid var(--gray-100); }
  .dropdown__col--cta { display: block; flex: 0 0 220px; }
}

/* ============================================================
   7. BREADCRUMB
   ============================================================ */
.breadcrumb-wrapper { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); padding: .625rem 0; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; }
.breadcrumb__item { font-size: .8rem; color: var(--gray-500); }
.breadcrumb__item a { color: var(--blue-mid); }
.breadcrumb__item a:hover { text-decoration: underline; }
.breadcrumb__item:not(:last-child)::after { content: '/'; margin-left: .375rem; color: var(--gray-300); }
.breadcrumb__item--active { color: var(--gray-700); font-weight: 500; }

/* ============================================================
   8. HERO (accueil)
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(145deg, var(--blue-dark) 0%, #26267a 55%, #1f1f60 100%);
  padding: 4rem 0 3rem;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
}
@media (min-width: 768px) { .hero { padding: 5rem 0 4rem; } }

.hero__bg {
  position: absolute; inset: 0; opacity: .04;
  background-image: radial-gradient(circle at 20% 80%, #fff 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, #fff 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero__inner {
  display: grid; gap: 3rem; align-items: center; position: relative; z-index: 1;
}
@media (min-width: 1024px) { .hero__inner { grid-template-columns: 1fr 1fr; } }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  color: var(--white);
  font-size: .8rem; font-weight: 700;
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(232, 86, 44, 0.3);
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800;
  color: var(--white); line-height: 1.1; letter-spacing: -.03em;
  margin-bottom: 1.25rem;
}
.hero__title-accent { color: var(--green-light); }
.hero__desc { font-size: 1.0625rem; color: rgba(255,255,255,.8); line-height: 1.7; margin-bottom: 2rem; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.hero__trust-item {
  display: flex; align-items: center; gap: .5rem;
  font-size: .8rem; color: rgba(255,255,255,.75); font-weight: 500;
}
.hero__trust-item svg { color: var(--green-light); flex-shrink: 0; }

.hero__visual { position: relative; display: none; }
@media (min-width: 1024px) { .hero__visual { display: block; } }
.hero__img-wrap {
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-xl); aspect-ratio: 580/520;
}
.hero__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero__stat {
  position: absolute; background: var(--white);
  border-radius: var(--radius-lg); padding: .875rem 1.25rem;
  box-shadow: var(--shadow-lg); min-width: 110px; text-align: center;
}
.hero__stat--1 { bottom: -1rem; left: -1.5rem; }
.hero__stat--2 { top: 1.5rem; right: -1.5rem; }
.hero__stat-num  { font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.hero__stat-label { font-size: .7rem; color: var(--gray-500); margin-top: .25rem; }

/* ============================================================
   9. TICKER
   ============================================================ */
.ticker {
  background: var(--blue-dark); padding: .875rem 0;
  overflow: hidden; position: relative;
}
.ticker::before, .ticker::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1;
}
.ticker::before { left: 0; background: linear-gradient(to right, var(--blue-dark), transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left, var(--blue-dark), transparent); }
.ticker__track  { overflow: hidden; }
.ticker__inner  { display: flex; gap: 0; width: max-content; animation: ticker 35s linear infinite; }
.ticker__item {
  display: flex; align-items: center; gap: .75rem;
  color: rgba(255,255,255,.8); font-size: .85rem; font-weight: 500;
  padding: 0 1.5rem; white-space: nowrap;
}
.ticker__item svg { color: var(--green-light); flex-shrink: 0; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__inner { animation: none; } }

/* ============================================================
   10. ANALYSES GRID (accueil)
   ============================================================ */
.analyses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.analyse-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; gap: 1rem; transition: var(--transition);
}
.analyse-card:hover {
  border-color: var(--blue-light); box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.analyse-card__icon {
  flex-shrink: 0; width: 52px; height: 52px;
  background: var(--gray-100); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-mid);
}
.analyse-card__body { flex: 1; min-width: 0; }
.analyse-card__title { font-size: .9375rem; font-weight: 700; color: var(--gray-800); margin-bottom: .375rem; line-height: 1.3; }
.analyse-card__desc  { font-size: .8rem; color: var(--gray-500); line-height: 1.5; margin-bottom: .75rem; }
.analyse-card__meta  { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.analyse-card__delay { display: flex; align-items: center; gap: .25rem; font-size: .75rem; color: var(--gray-500); }

/* ============================================================
   11. BADGES
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .2rem .6rem; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 600; line-height: 1;
}
.badge--blue   { background: #eeeef9; color: var(--blue-mid); }
.badge--green  { background: var(--green-xlight); color: #bf3f18; }
.badge--orange { background: var(--orange-light); color: var(--orange); }

/* ============================================================
   12. À PROPOS (accueil)
   ============================================================ */
.about-split {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .about-split { grid-template-columns: 1fr 1fr; } }

.about-split__visual { position: relative; }
.about-split__visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-split__badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: .875rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .875rem;
  font-size: .8rem; color: var(--gray-600); line-height: 1.4;
}
.about-split__badge strong { color: var(--blue-dark); }
.about-split__lead { font-size: 1.0625rem; color: var(--gray-700); margin-bottom: 1rem; line-height: 1.7; }
.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin: 1.5rem 0 2rem; }
.about-stat { background: var(--gray-50); border-radius: var(--radius); padding: 1rem 1.25rem; }
.about-stat__num   { font-size: 1.75rem; font-weight: 800; color: var(--blue-dark); line-height: 1; }
.about-stat__label { font-size: .8rem; color: var(--gray-500); margin-top: .25rem; }

/* ============================================================
   13. SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.service-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.75rem;
  transition: var(--transition); display: flex; flex-direction: column;
}
.service-card:hover { border-color: var(--blue-light); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.service-card__icon {
  width: 60px; height: 60px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem; flex-shrink: 0;
}
.service-card__icon--blue  { background: #eeeef9; color: var(--blue-mid); }
.service-card__icon--green { background: var(--green-xlight); color: var(--green); }
.service-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .625rem; }
.service-card__desc  { font-size: .875rem; color: var(--gray-500); line-height: 1.6; flex: 1; margin-bottom: 1.25rem; }
.service-card__link  { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; color: var(--green); transition: var(--transition); }
.service-card__link:hover { gap: .65rem; }

/* ============================================================
   14. SECTEURS PROGRAMMES
   ============================================================ */
.secteurs-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .secteurs-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .secteurs-grid { grid-template-columns: repeat(2, 1fr); }
}
.secteur-card {
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg); padding: 1.5rem;
  transition: var(--transition); display: flex; flex-direction: column;
  gap: .5rem; text-decoration: none;
}
.secteur-card:hover { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); transform: translateY(-3px); }
.secteur-card__icon { color: var(--green-light); margin-bottom: .375rem; }
.secteur-card__title { font-size: 1rem; font-weight: 700; color: var(--white); }
.secteur-card__desc  { font-size: .8rem; color: rgba(255,255,255,.7); line-height: 1.5; flex: 1; }
.secteur-card__arrow { color: var(--green-light); font-size: 1.1rem; transition: var(--transition); }
.secteur-card:hover .secteur-card__arrow { transform: translateX(4px); }

/* ============================================================
   15. PROCESSUS 4 ÉTAPES
   ============================================================ */
.process-steps {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  position: relative;
}
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
  }
}
.process-step {
  text-align: center; padding: 1.5rem 1rem;
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); position: relative;
}
.process-step__num {
  font-size: 3rem; font-weight: 800;
  color: var(--gray-100); line-height: 1;
  position: absolute; top: 1rem; right: 1rem;
  font-family: var(--font-mono);
}
.process-step__icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #eeeef9, var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; color: var(--blue-mid);
}
.process-step__title { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .5rem; }
.process-step__desc  { font-size: .8rem; color: var(--gray-500); line-height: 1.6; }
.process-connector {
  display: none;
  align-self: center; color: var(--gray-300);
}
@media (min-width: 768px) {
  .process-connector { display: flex; align-items: center; padding: 0 .25rem; }
  .process-connector::after { content: '→'; font-size: 1.5rem; }
}

/* ============================================================
   16. PARTENAIRES
   ============================================================ */
.partners-section__title { text-align: center; font-size: 1rem; font-weight: 600; color: var(--gray-500); margin-bottom: 2rem; }
.partners-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2.5rem 3rem; }
.partner-logo { filter: grayscale(1); opacity: .6; transition: var(--transition); }
.partner-logo:hover { filter: none; opacity: 1; }
.partner-logo img { max-height: 60px; width: auto; }

/* ============================================================
   17. BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.blog-grid--full { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

.blog-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--gray-300); }
.blog-card__img-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--gray-100); }
.blog-card__img-wrap--placeholder { display: flex; align-items: center; justify-content: center; color: var(--gray-300); }
.blog-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.03); }
.blog-card__body  { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__date  { font-size: .75rem; color: var(--gray-500); margin-bottom: .5rem; }
.blog-card__title { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-bottom: .625rem; line-height: 1.35; }
.blog-card__title a:hover { color: var(--blue-mid); }
.blog-card__title--h2 { font-size: 1.0625rem; }
.blog-card__excerpt { font-size: .85rem; color: var(--gray-500); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.blog-card__link { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 600; color: var(--green); transition: var(--transition); }
.blog-card__link:hover { gap: .6rem; }

/* ============================================================
   18. CTA DEVIS
   ============================================================ */
.cta-devis {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #26267a 100%);
  padding: 4rem 0;
}
.cta-devis__inner {
  display: flex; flex-direction: column; gap: 2rem; align-items: center; text-align: center;
}
@media (min-width: 1024px) { .cta-devis__inner { flex-direction: row; text-align: left; } }
.cta-devis__text { flex: 1; }
.cta-devis__title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: #fff; margin-bottom: .75rem; }
.cta-devis__desc  { color: rgba(255,255,255,.8); margin-bottom: 1.25rem; max-width: 600px; }
.cta-features { display: flex; flex-direction: column; gap: .5rem; }
.cta-features li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: rgba(255,255,255,.85); font-weight: 500;
}
.cta-features li svg { color: var(--green-light); flex-shrink: 0; }
.cta-devis__actions { display: flex; flex-direction: column; gap: .875rem; flex-shrink: 0; }
@media (min-width: 400px) { .cta-devis__actions { flex-direction: row; flex-wrap: wrap; } }
@media (min-width: 1024px) { .cta-devis__actions { flex-direction: column; } }

/* ============================================================
   19. PAGE HERO
   ============================================================ */
.page-hero {
  background: linear-gradient(145deg, var(--blue-dark), #26267a);
  padding: 3.5rem 0 2.5rem; text-align: center;
}
.page-hero--compact { padding: 2.5rem 0 2rem; }
.page-hero__title { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; color: #fff; margin-bottom: .875rem; letter-spacing: -.02em; }
.page-hero__desc  { font-size: 1rem; color: rgba(255,255,255,.8); max-width: 680px; margin-inline: auto; line-height: 1.7; }

/* Tab nav */
.tab-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 2rem; }
.tab-nav__link {
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.2); border-radius: var(--radius-full);
  padding: .5rem 1.25rem; font-size: .875rem; font-weight: 500; transition: var(--transition);
}
.tab-nav__link:hover, .tab-nav__link.active { background: var(--green); border-color: var(--green); color: #fff; }

/* ============================================================
   20. ANALYSES PAR SECTEUR
   ============================================================ */
.secteur-section__header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.secteur-section__icon {
  width: 56px; height: 56px; border-radius: var(--radius-lg);
  background: #eeeef9; color: var(--blue-mid);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.secteur-section__title { font-size: clamp(1.4rem, 3vw, 1.875rem); font-weight: 800; color: var(--blue-dark); }
.secteur-section__desc  { color: var(--gray-600); line-height: 1.7; margin-bottom: 1.5rem; max-width: 800px; }

.analyses-list { margin: 1.5rem 0; }
.analyses-list__title { font-size: .85rem; font-weight: 700; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .75rem; }
.analyses-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.analyse-tag {
  background: #eeeef9; color: var(--blue-mid); border: 1px solid #c0c0e8;
  border-radius: var(--radius-full); padding: .3rem .875rem; font-size: .8rem; font-weight: 500;
}

/* Plan d'échantillonnage */
.plan-echantillonnage { margin: 2rem 0 1.5rem; }
.plan-echantillonnage__title { font-size: 1.0625rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1rem; }
.table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .875rem; min-width: 550px; }
.data-table th {
  background: var(--blue-dark); color: #fff; font-weight: 600;
  padding: .75rem 1rem; text-align: left; font-size: .8rem; letter-spacing: .04em;
}
.data-table td { padding: .75rem 1rem; border-bottom: 1px solid var(--gray-200); vertical-align: top; line-height: 1.5; }
.data-table tbody tr:nth-child(even) { background: var(--gray-50); }
.data-table tbody tr:hover { background: #eeeef9; }
.freq-badge {
  display: inline-block; background: var(--green-xlight); 
  border-radius: var(--radius-full); padding: .2rem .625rem; font-size: .75rem; font-weight: 600; white-space: nowrap;
}
.secteur-cta { margin-top: 1.5rem; }

/* ============================================================
   21. THÉMATIQUES
   ============================================================ */
.thematique-section { max-width: 900px; }
.thematique-section__header { display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 1.5rem; }
.thematique-icon {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.thematique-icon--blue  { background: #eeeef9; color: var(--blue-mid); }
.thematique-icon--red   { background: #fff5f5; color: var(--red); }
.thematique-icon--green { background: var(--green-xlight); color: var(--green); }
.thematique-section__title    { font-size: clamp(1.4rem, 3vw, 1.875rem); font-weight: 800; color: var(--blue-dark); }
.thematique-section__subtitle { font-size: .9rem; color: var(--gray-500); margin-top: .25rem; }
.thematique-section__intro { color: var(--gray-600); line-height: 1.7; margin-bottom: 2rem; }
.thematique-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: 1.5rem 0; }
.thematique-card {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.thematique-card h3 { font-size: .9375rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1rem; }
.param-list { display: flex; flex-direction: column; gap: .4rem; }
.param-list li { font-size: .85rem; color: var(--gray-600); padding-left: 1rem; position: relative; line-height: 1.4; }
.param-list li::before { content: '•'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.thematique-card__norm { font-size: .75rem; color: var(--gray-500); margin-top: 1rem; font-style: italic; }
.legionelles-process { background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1.5rem; }
.legionelles-process h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1rem; }
.process-list { counter-reset: steps; display: flex; flex-direction: column; gap: .625rem; }
.process-list li {
  padding-left: 2.25rem; position: relative; font-size: .9rem;
  color: var(--gray-700); line-height: 1.5; counter-increment: steps;
}
.process-list li::before {
  content: counter(steps); position: absolute; left: 0;
  width: 24px; height: 24px; background: var(--blue-dark); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 700; top: .1rem;
}

/* ============================================================
   22. SERVICES DETAIL
   ============================================================ */
.service-detail__header {
  display: flex; align-items: flex-start; gap: 1.25rem; margin-bottom: 2rem;
}
.service-detail__icon {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.service-detail__icon--blue  { background: #eeeef9; color: var(--blue-mid); }
.service-detail__icon--green { background: var(--green-xlight); color: var(--green); }
.service-detail__title    { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; color: var(--blue-dark); }
.service-detail__subtitle { font-size: .9375rem; color: var(--gray-500); margin-top: .25rem; }
.service-detail__content { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .service-detail__content { grid-template-columns: 1fr 320px; } }
.service-detail__lead { font-size: 1.0625rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1.5rem; }
.service-detail__text h3 { font-size: 1.0625rem; font-weight: 700; color: var(--blue-dark); margin: 1.5rem 0 .875rem; }
.matrices-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.matrix-item { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; color: var(--gray-600); }
.matrix-item svg { color: var(--green); flex-shrink: 0; margin-top: .1rem; }
.check-list { display: flex; flex-direction: column; gap: .5rem; }
.check-list li { padding-left: 1.5rem; position: relative; font-size: .9rem; color: var(--gray-700); line-height: 1.5; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.two-col-features { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .two-col-features { grid-template-columns: 1fr 1fr; } }
.feature-block h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .875rem; }
.onssa-services { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 1rem; }
.onssa-service-item { display: flex; gap: 1rem; }
.onssa-service-item__num {
  width: 32px; height: 32px; background: var(--blue-dark); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; flex-shrink: 0; margin-top: .125rem;
}
.onssa-service-item h4 { font-size: .9375rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .375rem; }
.onssa-service-item p  { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }
.info-box {
  background: var(--white); border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 1.25rem; margin-bottom: 1rem;
}
.info-box--green { border-color: #f5a58e; background: #fef3f0; }
.info-box--blue  { border-color: #c0c0e8; background: #eeeef9; }
.info-box h4 { font-size: .875rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .625rem; }
.info-box ul, .info-box p { font-size: .85rem; color: var(--gray-600); margin-bottom: .5rem; }
.info-box ul li { padding-left: .875rem; position: relative; margin-bottom: .25rem; }
.info-box ul li::before { content: '›'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ============================================================
   23. À PROPOS
   ============================================================ */
.about-detail {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .about-detail { grid-template-columns: 1fr 420px; } }
.about-detail__content { order: 1; }
.about-detail__visual  { order: 2; position: relative; }
.about-detail__visual img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.about-detail__partner-badge {
  position: absolute; bottom: -1.5rem; right: -1rem;
  background: var(--white); border-radius: var(--radius-lg);
  padding: .875rem 1.25rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: .75rem;
  font-size: .78rem; color: var(--gray-600); line-height: 1.4;
}
.about-detail__lead { font-size: 1.0625rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 1rem; }
.values-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 2rem 0; }
.value-card { background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.25rem; }
.value-card__icon { width: 48px; height: 48px; background: #eeeef9; color: var(--blue-mid); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: .875rem; }
.value-card h3 { font-size: .9375rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .5rem; }
.value-card p  { font-size: .85rem; color: var(--gray-600); line-height: 1.6; }
.accred-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .accred-grid { grid-template-columns: 2fr 1fr 1fr; } }
.accred-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.accred-card--main { border-color: var(--blue-light); background: #f5f5fc; }
.accred-card__logo { flex-shrink: 0; }
.accred-card__logo svg { color: var(--blue-mid); }
.accred-card__title { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .25rem; }
.accred-card__subtitle { font-size: .8rem; color: var(--gray-500); margin-bottom: .75rem; }
.accred-card p { font-size: .875rem; color: var(--gray-600); line-height: 1.6; }
.accred-benefits { display: flex; flex-direction: column; gap: .375rem; margin-top: .875rem; }
.accred-benefits li { font-size: .85rem; color: var(--gray-700); padding-left: 1.5rem; position: relative; }
.accred-benefits li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.zones-grid { margin-top: 2rem; }
.zone-card { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; }
.zone-card--primary { border-color: var(--blue-light); background: #f5f5fc; }
.zone-card--other  { border-color: var(--gray-300); background: var(--gray-50); }
.zone-card h3 { font-size: .9375rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .375rem; }
.zone-card p  { font-size: .85rem; color: var(--gray-500); margin-bottom: .75rem; }
.zone-card ul li { font-size: .85rem; color: var(--gray-700); padding-left: .875rem; position: relative; margin-bottom: .25rem; }
.zone-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.zones-map { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ============================================================
   24. FORMULAIRES
   ============================================================ */
.form-page-layout {
  display: grid; gap: 2.5rem;
}
@media (min-width: 1024px) { .form-page-layout { grid-template-columns: 1fr 320px; } }
.form { display: flex; flex-direction: column; gap: 1.125rem; }
.form-row { display: grid; gap: 1.125rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: .375rem; }
.form-group--error .form-input,
.form-group--error .form-select,
.form-group--error .form-textarea { border-color: var(--red); box-shadow: 0 0 0 3px rgba(229,62,62,.1); }
.form-label { font-size: .875rem; font-weight: 600; color: var(--gray-700); }
.required { color: var(--red); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: .9375rem; color: var(--gray-800);
  background: var(--white); transition: var(--transition);
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(120,120,192,.15);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%234a5568' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .875rem center; padding-right: 2.5rem; }
.form-error { font-size: .8rem; color: var(--red); display: flex; align-items: center; gap: .25rem; }
.form-hint  { font-size: .78rem; color: var(--gray-400); }
.form-actions { display: flex; flex-direction: column; gap: .875rem; margin-top: .5rem; }
.form-privacy { font-size: .78rem; color: var(--gray-500); display: flex; align-items: center; gap: .375rem; }
.checkbox-grid { display: grid; gap: .625rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.checkbox-label { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: var(--gray-700); cursor: pointer; }
.checkbox-label input { margin-top: .15rem; accent-color: var(--blue-mid); flex-shrink: 0; }
.checkbox-label:hover span { color: var(--blue-dark); }

/* Sidebar formulaire */
.form-page-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-contact { background: var(--blue-dark); color: #fff; border-radius: var(--radius-lg); padding: 1.5rem; }
.sidebar-contact h3 { font-size: 1rem; font-weight: 700; margin-bottom: 1.25rem; }
.sidebar-contact__list { display: flex; flex-direction: column; gap: 1.125rem; }
.sidebar-contact__list li { display: flex; gap: .875rem; }
.sidebar-contact__list svg { color: var(--green-light); flex-shrink: 0; margin-top: .15rem; }
.sidebar-contact__label { font-size: .75rem; color: rgba(255,255,255,.6); margin-bottom: .15rem; }
.sidebar-contact__value { font-size: .9rem; color: var(--white); font-weight: 500; }
.sidebar-contact__value a { color: inherit; }
.sidebar-promises { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.5rem; }
.sidebar-promises h3 { font-size: 1rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1rem; }

/* ============================================================
   25. CONTACT
   ============================================================ */
.contact-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-info__title { font-size: 1.25rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1.5rem; }
.contact-info__items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-info__item { display: flex; gap: 1rem; }
.contact-info__icon {
  width: 44px; height: 44px; background: #eeeef9; color: var(--blue-mid);
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info__label { font-size: .78rem; font-weight: 600; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .25rem; }
.contact-info__value { font-size: .9375rem; color: var(--gray-800); line-height: 1.5; }
.contact-info__value a:hover { color: var(--blue-mid); text-decoration: underline; }
.contact-info__address { font-style: normal; }
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid var(--gray-200); cursor: pointer; position: relative; }
.map-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .75rem; height: 300px; background: var(--gray-100); color: var(--gray-400);
  font-size: .875rem; font-weight: 500;
}
.map-wrapper iframe { display: none; }
.map-wrapper.loaded .map-placeholder { display: none; }
.map-wrapper.loaded iframe { display: block; }
.contact-form-wrap { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-xl); padding: 2rem; }
.contact-form-wrap__title { font-size: 1.25rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1.5rem; }

/* ============================================================
   26. BLOG ARTICLE
   ============================================================ */
.article-header { background: linear-gradient(145deg, var(--blue-dark), #26267a); padding: 3rem 0 2.5rem; }
.article-header__inner { max-width: 800px; }
.article-header__date { display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.article-header__title { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 1rem; }
.article-header__desc  { font-size: 1rem; color: rgba(255,255,255,.8); line-height: 1.6; max-width: 700px; }
.article-header__meta  { margin-top: 1.25rem; }
.article-header__author { display: flex; align-items: center; gap: .375rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.article-hero-img { padding: 2.5rem 0 0; }
.article-hero-img img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); max-height: 500px; width: 100%; object-fit: cover; }
.article-layout { display: grid; gap: 2.5rem; padding: 2.5rem 0 4rem; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: 1fr 280px; } }
.article-body { max-width: 720px; }
.article-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.sidebar-cta { background: var(--blue-dark); border-radius: var(--radius-lg); padding: 1.5rem; color: #fff; }
.sidebar-cta h3 { font-size: 1rem; font-weight: 700; margin-bottom: .625rem; }
.sidebar-cta p  { font-size: .85rem; color: rgba(255,255,255,.8); margin-bottom: 1rem; }
.sidebar-cta .btn { width: 100%; justify-content: center; margin-bottom: .625rem; }
.sidebar-cta .btn--outline { color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.3); }
.sidebar-cta .btn--outline:hover { background: rgba(255,255,255,.1); }
.sidebar-related { background: var(--gray-50); border-radius: var(--radius-lg); padding: 1.25rem; }
.sidebar-related h3 { font-size: .9rem; font-weight: 700; color: var(--blue-dark); margin-bottom: 1rem; }
.related-list { display: flex; flex-direction: column; gap: .875rem; }
.related-list__item { border-bottom: 1px solid var(--gray-200); padding-bottom: .875rem; }
.related-list__item:last-child { border: none; padding: 0; }
.related-list__date { font-size: .7rem; color: var(--gray-500); display: block; margin-bottom: .25rem; }
.related-list__link { font-size: .85rem; font-weight: 600; color: var(--gray-800); line-height: 1.4; }
.related-list__link:hover { color: var(--blue-mid); }
.sidebar-share { background: var(--white); border: 1.5px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; }
.sidebar-share h3 { font-size: .9rem; font-weight: 700; color: var(--blue-dark); margin-bottom: .875rem; }
.share-buttons { display: flex; gap: .625rem; }
.share-btn { display: inline-flex; align-items: center; gap: .375rem; padding: .5rem 1rem; border-radius: var(--radius); font-size: .8rem; font-weight: 600; transition: var(--transition); }
.share-btn--linkedin  { background: #0a66c2; color: #fff; }
.share-btn--whatsapp  { background: #25d366; color: #fff; }
.share-btn:hover { opacity: .9; transform: translateY(-1px); }

/* Prose (article body) */
.prose { color: var(--gray-700); line-height: 1.8; }
.prose h2 { font-size: 1.5rem; font-weight: 700; color: var(--blue-dark); margin: 2rem 0 .875rem; border-bottom: 2px solid var(--gray-100); padding-bottom: .5rem; }
.prose h3 { font-size: 1.125rem; font-weight: 700; color: var(--gray-800); margin: 1.5rem 0 .625rem; }
.prose p  { margin-bottom: 1.25rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .5rem; line-height: 1.7; }
.prose strong { font-weight: 700; color: var(--gray-800); }
.prose em { font-style: italic; }
.prose a { color: var(--blue-mid); text-decoration: underline; }
.prose a:hover { color: var(--blue-dark); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .875rem; overflow-x: auto; display: block; }
.prose th { background: var(--blue-dark); color: #fff; padding: .625rem .875rem; text-align: left; font-weight: 600; }
.prose td { padding: .625rem .875rem; border-bottom: 1px solid var(--gray-200); }
.prose tbody tr:nth-child(even) { background: var(--gray-50); }
.prose blockquote { border-left: 4px solid var(--blue-light); padding: 1rem 1.25rem; background: #eeeef9; margin: 1.5rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
.prose code { background: var(--gray-100); padding: .15rem .375rem; border-radius: .25rem; font-family: var(--font-mono); font-size: .875em; }

/* ============================================================
   27. PORTAIL RÉSULTATS
   ============================================================ */
.auth-box {
  background: var(--white); border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg); padding: 2.5rem; max-width: 460px;
  margin-inline: auto; width: 100%;
}
.auth-box__header { text-align: center; margin-bottom: 2rem; }
.auth-box__icon {
  width: 64px; height: 64px; background: #eeeef9; color: var(--blue-mid);
  border-radius: var(--radius-xl); display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
}
.auth-box__title { font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); margin-bottom: .375rem; }
.auth-box__desc   { font-size: .9rem; color: var(--gray-500); }
.auth-box__footer { text-align: center; margin-top: 1.5rem; font-size: .85rem; color: var(--gray-500); display: flex; flex-direction: column; gap: .375rem; }
.auth-box__footer a { color: var(--blue-mid); }
.dashboard { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); padding: 2rem; }
.dashboard__header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--gray-200); }
.dashboard__title   { font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); }
.dashboard__welcome { font-size: .9rem; color: var(--gray-500); margin-top: .25rem; }
.empty-dashboard { text-align: center; padding: 4rem 1rem; color: var(--gray-400); }
.empty-dashboard svg { margin: 0 auto 1.25rem; }
.empty-dashboard h2 { font-size: 1.25rem; font-weight: 700; color: var(--gray-700); margin-bottom: .5rem; }
.empty-dashboard p  { margin-bottom: 1.5rem; }
.status-badge { display: inline-flex; padding: .25rem .75rem; border-radius: var(--radius-full); font-size: .75rem; font-weight: 600; }
.status-badge--en_cours   { background: var(--orange-light); color: var(--orange); }
.status-badge--disponible { background: var(--green-xlight); color: #bf3f18; }
.status-badge--archivé    { background: var(--gray-100); color: var(--gray-600); }
.dashboard__help { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--gray-200); font-size: .85rem; color: var(--gray-500); }
.dashboard__help a { color: var(--blue-mid); }
.text-muted { color: var(--gray-400); font-size: .85rem; }

/* ============================================================
   28. ADMIN STYLES
   ============================================================ */
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar {
  width: 240px; background: var(--blue-dark); color: #fff;
  padding: 1.5rem 0; position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
  overflow-y: auto; display: flex; flex-direction: column; flex-shrink: 0;
}
.admin-sidebar__logo { padding: 0 1.5rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 1rem; }
.admin-sidebar__logo a { font-size: 1.125rem; font-weight: 800; color: #fff; display: flex; align-items: center; gap: .5rem; }
.admin-nav__item a {
  display: flex; align-items: center; gap: .625rem;
  padding: .625rem 1.5rem; font-size: .875rem; color: rgba(255,255,255,.75);
  transition: var(--transition);
}
.admin-nav__item a:hover, .admin-nav__item a.active { background: rgba(255,255,255,.1); color: #fff; }
.admin-nav__item a svg { flex-shrink: 0; }
.admin-nav__sep { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); padding: 1rem 1.5rem .375rem; }
.admin-main { margin-left: 240px; flex: 1; background: var(--gray-50); min-height: 100vh; }
.admin-topbar {
  background: var(--white); border-bottom: 1px solid var(--gray-200);
  padding: 1rem 2rem; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.admin-topbar__title { font-size: 1.0625rem; font-weight: 700; color: var(--gray-800); }
.admin-content { padding: 2rem; }
.admin-stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); margin-bottom: 2rem; }
.admin-stat { 
  background: var(--white); 
  border-radius: var(--radius-lg); 
  padding: 1.25rem; 
  box-shadow: var(--shadow-sm); 
  transition: var(--transition);
  cursor: pointer;
}
.admin-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-light);
}
.admin-stat__num   { font-size: 2rem; font-weight: 800; color: var(--blue-dark); }
.admin-stat__label { font-size: .8rem; color: var(--gray-500); margin-top: .25rem; }
.admin-table-wrap { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); overflow: hidden; }
.admin-table-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.admin-table-header h2 { font-size: 1rem; font-weight: 700; color: var(--gray-800); }
.admin-actions { display: flex; gap: .5rem; }
.badge--unread { background: var(--red-light); color: var(--red); }
.badge--read   { background: var(--green-xlight); color: #bf3f18; }

/* ============================================================
   29. ALERTES
   ============================================================ */
.alert {
  display: flex; align-items: flex-start; gap: .875rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-lg);
  margin-bottom: 1.5rem; font-size: .875rem; line-height: 1.6;
}
.alert--success { background: #ffffff; border: 1.5px solid var(--green); color: var(--green); }
.alert--success svg { color: var(--green); flex-shrink: 0; margin-top: .1rem; }
.alert--error   { background: #fff5f5; border: 1.5px solid #feb2b2; color: #c53030; }
.alert--error svg { color: var(--red); flex-shrink: 0; margin-top: .1rem; }
.alert--warning { background: var(--orange-light); border: 1.5px solid #fbd38d; color: #7b341e; }
.alert--warning svg { color: var(--orange); flex-shrink: 0; margin-top: .1rem; }
.alert ul { padding-left: 1.25rem; list-style: disc; margin-top: .375rem; }

/* ============================================================
   30. PAGINATION
   ============================================================ */
.pagination { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin-top: 3rem; }
.pagination__list { display: flex; gap: .375rem; flex-wrap: wrap; justify-content: center; }
.pagination__link {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .5rem .875rem; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: .875rem; font-weight: 500; color: var(--gray-700);
  transition: var(--transition);
}
.pagination__link:hover { border-color: var(--blue-light); color: var(--blue-mid); }
.pagination__link--active { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.pagination__info { font-size: .8rem; color: var(--gray-500); }

/* ============================================================
   31. FOOTER
   ============================================================ */
.site-footer { background: var(--blue-dark); }
.footer-top { padding: 3.5rem 0 2.5rem; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-col--brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-about { font-size: .875rem; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 320px; }
.footer-contact-info { display: flex; flex-direction: column; gap: .625rem; }
.footer-contact-link {
  display: flex; align-items: center; gap: .5rem;
  font-size: .875rem; color: rgba(255,255,255,.75); transition: var(--transition);
}
.footer-contact-link:hover { color: var(--white); }
.footer-contact-link svg { color: var(--green-light); flex-shrink: 0; }
.footer-address { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: rgba(255,255,255,.7); }
.footer-address svg { color: var(--green-light); flex-shrink: 0; margin-top: .15rem; }
.footer-heading { font-size: .8rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: .875rem; }
.footer-nav { display: flex; flex-direction: column; gap: .375rem; }
.footer-nav a { font-size: .875rem; color: rgba(255,255,255,.7); transition: var(--transition); }
.footer-nav a:hover { color: var(--white); padding-left: .25rem; }
.footer-badges { display: flex; gap: 1.5rem; margin-top: 1.75rem; filter: grayscale(1); opacity: .6; transition: var(--transition); }
.footer-badges img { width: 60px; height: 40px; }
.footer-badges:hover { filter: none; opacity: 1; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0;
}
.footer-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .625rem; }
.footer-copy, .footer-legal { font-size: .78rem; color: rgba(255,255,255,.5); }
.footer-legal a { color: rgba(255,255,255,.6); }
.footer-legal a:hover { color: #fff; }

/* ============================================================
   32. PAGE ERREUR 404
   ============================================================ */
.error-page { padding: 5rem 0; text-align: center; }
.error-page__inner { max-width: 480px; margin-inline: auto; }
.error-page__code  { font-size: 7rem; font-weight: 900; color: var(--gray-200); line-height: 1; letter-spacing: -.05em; }
.error-page__title { font-size: 1.75rem; font-weight: 800; color: var(--blue-dark); margin-bottom: .75rem; }
.error-page__desc  { color: var(--gray-500); margin-bottom: 2rem; }
.error-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.empty-state { text-align: center; padding: 3rem; color: var(--gray-400); font-size: 1rem; }

/* ============================================================
   33. UTILITAIRES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
