/* =============================================================
   NUMERICQC CAPITAL — main.css
   Thème enfant d'Astra
   Charte : Bleu nuit #0A2A4A | Bleu royal #1A2A4A | Or #D4A857
   Typo   : Montserrat (titres) | Poppins (corps)
   ============================================================= */

/* ─────────────────────────────────────────
   1. VARIABLES & RESET
───────────────────────────────────────── */
:root {
  /* Palette charte */
  --c-blue-night:  #0A2A4A;
  --c-blue-royal:  #1A2A4A;
  --c-blue-mid:    #1E3A6E;
  --c-blue-light:  #2D5A9E;
  --c-blue-pale:   #E0ECFF;
  --c-gold:        #D4A857;
  --c-gold-dark:   #B8903E;
  --c-gold-light:  #F0C97A;
  --c-beige:       #E8DCC4;
  --c-beige-dark:  #C9B79A;
  --c-white:       #FFFFFF;
  --c-gray-light:  #F5F7FA;
  --c-gray-mid:    #8A94A6;
  --c-gray-dark:   #2C3A4A;
  --c-text:        #344054;

  /* Typographie */
  --f-heading: 'Montserrat', sans-serif;
  --f-body:    'Poppins',    sans-serif;

  /* Dimensions */
  --max-w:     1200px;
  --header-h:  80px; /* hautseur ajustée pour logo 70px */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm:  0 2px 8px  rgba(10,42,74,0.08);
  --shadow-md:  0 6px 24px rgba(10,42,74,0.12);
  --shadow-lg:  0 16px 48px rgba(10,42,74,0.18);
  --shadow-gold: 0 4px 20px rgba(212,168,87,0.25);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; transition: color var(--ease); }
ul  { list-style: none; }
button { font-family: inherit; }


/* ─────────────────────────────────────────
   2. TYPOGRAPHIE
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-heading);
  line-height: 1.2;
  color: var(--c-blue-royal);
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 5vw,  4rem);   }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 700; }
h4 { font-size: clamp(1.05rem, 2vw, 1.2rem); font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--c-blue-royal); }


/* ─────────────────────────────────────────
   3. LAYOUT UTILITAIRES
───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.section         { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--dark   { background: var(--c-blue-night); }
.section--royal  { background: var(--c-blue-royal); }
.section--beige  { background: var(--c-beige); }
.section--pale   { background: var(--c-blue-pale); }
.section--gray   { background: var(--c-gray-light); }

/* Textes sur fonds sombres */
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark p,
.section--royal h1,
.section--royal h2,
.section--royal h3,
.section--royal h4,
.section--royal p  { color: var(--c-white); }

.section__header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section__header h2   { margin-bottom: 1rem; }
.section__header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.1rem);
  opacity: 0.85;
}

/* Eyebrow label */
.eyebrow {
  display: inline-block;
  font-family: var(--f-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.75rem;
}

/* Grilles */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.5rem; }


/* ─────────────────────────────────────────
   4. BOUTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: var(--radius);
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), transform var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: var(--c-gold);
  color: var(--c-blue-night);
  border-color: var(--c-gold);
}
.btn--gold:hover {
  background: var(--c-gold-dark);
  border-color: var(--c-gold-dark);
  box-shadow: var(--shadow-gold);
}

.btn--outline-gold {
  background: transparent;
  color: var(--c-gold);
  border-color: var(--c-gold);
}
.btn--outline-gold:hover {
  background: var(--c-gold);
  color: var(--c-blue-night);
}

.btn--white {
  background: var(--c-white);
  color: var(--c-blue-night);
  border-color: var(--c-white);
}
.btn--white:hover { background: var(--c-blue-pale); }

.btn--outline-white {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-white);
}

.btn--sm { padding: 0.55rem 1.25rem; font-size: 0.8rem; }
.btn--lg { padding: 1rem 2.5rem;     font-size: 1rem;   }


/* ─────────────────────────────────────────
   5. HEADER FIXE (remplace Astra header)
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  height: var(--header-h);
  background: rgba(10, 42, 74, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 87, 0.15);
  transition: box-shadow var(--ease), background var(--ease);
}
.site-header.is-scrolled {
  background: var(--c-blue-night);
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
}

/* ── Logo ── */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.header__logo-img {
  display: block;
  height: 70px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));
  transition: opacity var(--ease);
}
.header__logo:hover .header__logo-img { opacity: 0.85; }

/* Logo responsive */
@media (max-width: 1024px) { .header__logo-img { height: 56px; } }
@media (max-width: 768px)  { .header__logo-img { height: 48px; } }
@media (max-width: 480px)  { .header__logo-img { height: 42px; } }

/* Fallback texte footer */
.header__logo-text { display: none; }
.footer__logo-wrap .logo-nqc,
.footer__logo-wrap .logo-capital { display: block; }
.logo-nqc {
  font-family: var(--f-heading); font-weight: 800; font-size: 1.05rem;
  color: var(--c-white); letter-spacing: 0.08em;
}
.logo-capital {
  font-family: var(--f-heading); font-weight: 600; font-size: 0.6rem;
  color: var(--c-gold); letter-spacing: 0.22em; text-transform: uppercase; margin-top: 2px;
}

/* ── Navigation desktop ── */
.header__nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 0.15rem; }
.nav__item { position: relative; }

.nav__link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.7rem;
  font-family: var(--f-heading); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius-sm);
  transition: color var(--ease), background var(--ease);
  white-space: nowrap;
}
.nav__link:hover,
.nav__link.current-menu-item { color: var(--c-gold); background: rgba(212,168,87,0.09); }
.nav__link .chevron { width: 10px; height: 10px; transition: transform var(--ease); flex-shrink: 0; }
.nav__item--has-dropdown:hover .chevron { transform: rotate(180deg); }

/* Bridge invisible pour éviter que le dropdown disparaisse */
.nav__item--has-dropdown::after {
  content: ''; position: absolute; top: 100%; left: 0; right: 0;
  height: 10px; background: transparent; z-index: 1;
}

/* ── Dropdown desktop ── */
.nav__dropdown {
  position: absolute; top: calc(100% + 2px); left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 230px;
  background: var(--c-blue-night);
  border: 1px solid rgba(212,168,87,0.2);
  border-radius: var(--radius); padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--ease), transform var(--ease), visibility var(--ease);
  z-index: 9998;
}
.nav__item--has-dropdown:hover .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown li a {
  display: block; padding: 0.65rem 1.35rem;
  font-family: var(--f-heading); font-size: 0.83rem; font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: color var(--ease), background var(--ease);
}
.nav__dropdown li a:hover { color: var(--c-gold); background: rgba(212,168,87,0.08); }
.dropdown__label {
  padding: 0.4rem 1.35rem; font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3);
}
.dropdown__divider { height: 1px; background: rgba(255,255,255,0.08); margin: 0.4rem 1rem; }
.dropdown__active  { color: var(--c-gold) !important; font-weight: 700 !important; }

/* ── Actions header ── */
.header__actions { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header__cta { padding: 0.6rem 1.2rem; font-size: 0.78rem; }

/* ── Burger (caché par défaut, visible via media query) ── */
.header__burger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; width: 44px; height: 44px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-sm); cursor: pointer; padding: 0;
}
.header__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-white); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Overlay mobile ── */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  z-index: 9997;
  background: rgba(0,0,0,0.55);
}
.nav-overlay.is-open { display: block; }

/* Bloquer le scroll du body sans position:fixed (évite le saut) */
body.nav-open { overflow: hidden; }

/* Offset header pour le contenu */
.site-content-wrap { padding-top: var(--header-h); }


/* ─────────────────────────────────────────
   6. FOOTER (remplace Astra footer)
───────────────────────────────────────── */
.site-footer {
  background: var(--c-blue-night);
  color: rgba(255,255,255,0.72);
}

.footer__body {
  border-bottom: 1px solid rgba(212,168,87,0.12);
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

/* Le container porte la grille — conserve son padding latéral */
.footer__container {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer__brand { }
.footer__logo-wrap { display: flex; flex-direction: column; line-height: 1; margin-bottom: 1.25rem; }
.footer__tagline {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}
.footer__contacts { display: flex; flex-direction: column; gap: 0.45rem; }
.footer__contacts a,
.footer__contacts span {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease);
  display: flex; align-items: center; gap: 0.5rem;
}
.footer__contacts a:hover { color: var(--c-gold); }

.footer__col-title {
  font-family: var(--f-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__col ul li a {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--ease), padding-left var(--ease);
}
.footer__col ul li a:hover { color: var(--c-gold); padding-left: 4px; }

.footer__bottom {
  padding: 1.5rem 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.35rem;
}
.footer__bottom p:last-child { font-style: italic; }


/* ─────────────────────────────────────────
   7. HERO — ACCUEIL
───────────────────────────────────────── */
.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, var(--c-blue-night) 0%, var(--c-blue-royal) 55%, #0d1f3c 100%);
  overflow: hidden;
}

/* Grille de fond */
.hero-home__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(212,168,87,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,87,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-home__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

/* Content */
.hero-home__content { position: relative; z-index: 2; }

.hero-home__content h1 {
  color: var(--c-white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
}
.hero-home__sub {
  display: block;
  color: var(--c-gold);
  font-size: 0.62em;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 0.3rem;
}
.hero-home__desc {
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 520px;
}
.hero-home__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Visual rings */
.hero-home__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(300px, 40vw, 460px);
  z-index: 1;
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212,168,87,0.18);
}
.ring--1 { width: 100%; height: 100%; animation: spin 25s linear infinite; }
.ring--2 { width: 72%;  height: 72%;  border-color: rgba(212,168,87,0.3); animation: spin 18s linear infinite reverse; }
/* ring--3 encercle le core avec une petite marge */
.ring--3 { width: 46%;  height: 46%;  border-color: rgba(212,168,87,0.5); }

.ring-core {
  position: relative; z-index: 2;
  /* Taille suffisante pour contenir NUMERICQC sur une ligne */
  width: clamp(140px, 18vw, 190px);
  height: clamp(140px, 18vw, 190px);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* Padding interne pour que le texte ne touche pas le bord */
  padding: 0 16px;
  box-shadow: 0 0 60px rgba(212,168,87,0.5);
  text-align: center;
}
.ring-core__label {
  font-family: var(--f-heading);
  font-weight: 800;
  /* Taille adaptative : s'ajuste à la largeur du cercle */
  font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  color: var(--c-blue-night);
  line-height: 1.1;
  letter-spacing: 0.04em;
  /* Empêche le retour à la ligne */
  white-space: nowrap;
}
.ring-core__sub {
  font-family: var(--f-heading);
  font-size: clamp(0.45rem, 0.8vw, 0.6rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(10,42,74,0.65);
  margin-top: 5px;
  white-space: nowrap;
}

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Stats bar */
.hero-home__stats {
  background: rgba(0,0,0,0.22);
  border-top: 1px solid rgba(212,168,87,0.12);
  padding: clamp(1.25rem, 3vw, 2rem) 0;
}
.hero-home__stats .container { max-width: var(--max-w); }
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item__number {
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-item__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}


/* ─────────────────────────────────────────
   8. PAGE HERO (pages intérieures)
───────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--c-blue-royal) 0%, var(--c-blue-night) 100%);
  padding: clamp(4rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    135deg,
    transparent,
    transparent 40px,
    rgba(212,168,87,0.025) 40px,
    rgba(212,168,87,0.025) 41px
  );
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  color: var(--c-white);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 620px;
  margin: 0 auto;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--c-gold); }
.breadcrumb a:hover { text-decoration: underline; }
/* ── Page hero variantes de type ── */
/* page-hero--page : style par défaut (déjà géré par .page-hero) */
.page-hero--page { /* identique au défaut */ }

/* page-hero--dark : fond encore plus sombre */
.page-hero--dark {
  background: linear-gradient(135deg, var(--c-blue-night) 0%, #060f1e 100%);
}

/* page-hero--minimal : version compacte sans motif */
.page-hero--minimal {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  background: var(--c-blue-royal);
}
.page-hero--minimal::before { display: none; }



/* ─────────────────────────────────────────
   9. CARDS
───────────────────────────────────────── */
.card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,42,74,0.06);
  transition: transform var(--ease), box-shadow var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card__icon {
  width: 54px; height: 54px;
  background: var(--c-blue-pale);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.65rem; }
.card p  { font-size: 0.9rem; color: var(--c-gray-mid); margin-bottom: 0; }

/* Card investisseur (fond sombre) */
.card--investor {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,87,0.2);
}
.card--investor h3 { color: var(--c-white); }
.card--investor p  { color: rgba(255,255,255,0.65); }
.card--investor .card__icon { background: rgba(212,168,87,0.15); }


/* ─────────────────────────────────────────
   10. FILIALE CARDS
───────────────────────────────────────── */
.filiale-card {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}
.filiale-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.filiale-card__header {
  background: linear-gradient(135deg, var(--c-blue-royal), var(--c-blue-mid));
  padding: 2rem;
  flex-shrink: 0;
}
.filiale-card__header h3 { color: var(--c-gold); font-size: 1.15rem; margin-bottom: 0.35rem; }
.filiale-card__header p  { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin: 0; }

.filiale-card__body { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.filiale-card__body > p { font-size: 0.92rem; color: var(--c-gray-mid); margin-bottom: 1.5rem; }

.filiale-card__list { flex: 1; margin-bottom: 1.75rem; }
.filiale-card__list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.87rem;
  color: var(--c-text);
  border-bottom: 1px solid rgba(10,42,74,0.06);
}
.filiale-card__list li::before {
  content: '→';
  color: var(--c-gold);
  font-weight: 700;
  flex-shrink: 0;
}


/* ─────────────────────────────────────────
   11. PILIERS (fond sombre)
───────────────────────────────────────── */
.pillar {
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) 1.5rem;
  border-radius: var(--radius);
  transition: background var(--ease);
}
.pillar:hover { background: rgba(255,255,255,0.04); }
.pillar__icon { font-size: 2.2rem; margin-bottom: 1rem; }
.pillar h4 { color: var(--c-white); margin-bottom: 0.5rem; }
.pillar p  { color: rgba(255,255,255,0.65); font-size: 0.88rem; margin: 0; }


/* ─────────────────────────────────────────
   12. STATS SECTION
───────────────────────────────────────── */
.stats-section { text-align: center; }
.stats-section .stat-item__number { color: var(--c-gold); }
.stats-section .stat-item__label  { color: rgba(255,255,255,0.55); }


/* ─────────────────────────────────────────
   13. ACCORDION (Gouvernance)
───────────────────────────────────────── */
.accordion { max-width: 820px; margin: 0 auto; }
.accordion-item {
  border: 1.5px solid #dde5f0;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.accordion-toggle {
  width: 100%;
  background: var(--c-white);
  border: none;
  padding: 1.2rem 1.75rem;
  text-align: left;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-blue-royal);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background var(--ease);
}
.accordion-toggle:hover { background: var(--c-blue-pale); }
.accordion-toggle.is-open { background: var(--c-blue-royal); color: var(--c-white); }
.accordion-toggle .acc-icon { font-size: 1.1rem; flex-shrink: 0; transition: transform var(--ease); }
.accordion-toggle.is-open .acc-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 1.25rem 1.75rem;
  font-size: 0.92rem;
  color: var(--c-gray-mid);
  border-top: 1.5px solid #dde5f0;
  line-height: 1.7;
}
.accordion-body.is-open { display: block; }


/* ─────────────────────────────────────────
   14. FORMULAIRES
───────────────────────────────────────── */
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--c-blue-royal);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid #cdd5e0;
  border-radius: var(--radius-sm);
  font-family: var(--f-body);
  font-size: 0.93rem;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(212,168,87,0.18);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A2A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.checkbox-wrap {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.checkbox-wrap input[type="checkbox"] {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--c-gold);
}
.checkbox-wrap span {
  font-size: 0.82rem;
  color: var(--c-gray-mid);
  line-height: 1.55;
}
.checkbox-wrap a { color: var(--c-gold); }

.form-message {
  display: none;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.form-message--success { background: #e6f5ec; color: #1a6e3e; border: 1px solid #a3d4b5; }
.form-message--error   { background: #fdecea; color: #9b1c1c; border: 1px solid #f0b4b0; }


/* ─────────────────────────────────────────
   15. DOCUMENTS INVESTISSEURS
───────────────────────────────────────── */
.doc-list { display: flex; flex-direction: column; gap: 0.85rem; }
.doc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--c-white);
  border: 1.5px solid #dde5f0;
  border-radius: var(--radius);
  padding: 1.15rem 1.75rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  flex-wrap: wrap;
}
.doc-item:hover {
  border-color: var(--c-gold);
  box-shadow: 0 4px 18px rgba(212,168,87,0.14);
}
.doc-item__info { display: flex; align-items: center; gap: 1rem; }
.doc-item__icon { font-size: 1.7rem; flex-shrink: 0; color: var(--c-blue-royal); }
.doc-item__title {
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--c-blue-royal);
  margin-bottom: 0.2rem;
}
.doc-item__meta { font-size: 0.78rem; color: var(--c-gray-mid); }


/* ─────────────────────────────────────────
   16. GOUVERNANCE GRID
───────────────────────────────────────── */
.gouvernance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.75rem;
}
.gouvernance-item {
  padding: 1.75rem;
  border-left: 3px solid var(--c-gold);
  background: var(--c-gray-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.gouvernance-item.is-visible { opacity: 1; transform: translateY(0); }

.gouvernance-item__num {
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: rgba(212,168,87,0.28);
  line-height: 1;
  margin-bottom: 0.65rem;
}
.gouvernance-item h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.gouvernance-item p  { font-size: 0.88rem; color: var(--c-gray-mid); margin: 0; }


/* ─────────────────────────────────────────
   17. ORGANIGRAMME
───────────────────────────────────────── */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.org-root { }
.org-box {
  background: var(--c-gold);
  color: var(--c-blue-night);
  padding: 1.1rem 2.5rem;
  border-radius: var(--radius);
  text-align: center;
  font-family: var(--f-heading);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  flex-direction: column;
  gap: 0.25rem;
}
.org-box small { font-size: 0.7rem; font-weight: 500; opacity: 0.72; }
.org-connector {
  width: 2px;
  height: 2.5rem;
  background: rgba(212,168,87,0.35);
  margin: 0 auto;
}
.org-branches {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.org-box--child {
  background: rgba(255,255,255,0.06);
  color: var(--c-white);
  border: 1.5px solid rgba(212,168,87,0.35);
  font-size: 0.9rem;
  padding: 1rem 1.75rem;
}
.org-box--child small { opacity: 0.6; }


/* ─────────────────────────────────────────
   18. À PROPOS — VALEURS & RÔLES
───────────────────────────────────────── */
.values-list { display: flex; flex-direction: column; gap: 1.5rem; }
.value-item  { display: flex; align-items: flex-start; gap: 1rem; }
.value-icon  { font-size: 1.9rem; flex-shrink: 0; line-height: 1.2; }
.value-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.value-item p  { font-size: 0.87rem; color: var(--c-gray-mid); margin: 0; }

.role-list { display: flex; flex-direction: column; gap: 1rem; }
.role-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--c-gray-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--c-gold);
  transition: box-shadow var(--ease);
}
.role-item:hover { box-shadow: var(--shadow-md); }
.role-icon,
.role-item__icon { font-size: 1.75rem; flex-shrink: 0; line-height: 1.2; }
.role-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.role-item p  { font-size: 0.87rem; color: var(--c-gray-mid); margin: 0; }


/* ─────────────────────────────────────────
   19. PARTICIPATIONS — DÉTAIL FILIALE
───────────────────────────────────────── */
.filiale-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.filiale-detail__mission {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--c-gray-mid);
  border-left: 3px solid var(--c-gold);
  padding-left: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.section--dark .filiale-detail__mission { color: rgba(255,255,255,0.65); }


/* ─────────────────────────────────────────
   20. GOUVERNANCE — PILIERS DIRECTION
───────────────────────────────────────── */
.gov-pillars {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.gov-pillar {
  flex: 1;
  min-width: min(100%, 240px);
  max-width: 340px;
  background: var(--c-gray-light);
  border-top: 4px solid var(--c-gold);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.gov-pillar__num {
  font-family: var(--f-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(212,168,87,0.22);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.gov-pillar h3 { font-size: 1rem; margin-bottom: 0.65rem; }
.gov-pillar p  { font-size: 0.87rem; color: var(--c-gray-mid); margin: 0; }

.gov-arrow {
  display: flex;
  align-items: center;
  color: var(--c-gold);
  font-size: 1.8rem;
  flex-shrink: 0;
  padding-bottom: 2rem;
}


/* ─────────────────────────────────────────
   21. CONTACT
───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: flex-start;
}

.contact-info-col { display: flex; flex-direction: column; gap: 1.75rem; }

.contact-block {
  background: var(--c-blue-royal);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--c-white);
}
.contact-block h3 { color: var(--c-gold); margin-bottom: 1.25rem; font-size: 1.1rem; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}
.contact-detail__icon { font-size: 1rem; flex-shrink: 0; color: var(--c-gold); }
.contact-detail a,
.contact-detail span { font-size: 0.87rem; color: rgba(255,255,255,0.75); }
.contact-detail a:hover { color: var(--c-gold); }

.contact-types {
  background: var(--c-gray-light);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.contact-types h4 { margin-bottom: 1.25rem; font-size: 1rem; }
.contact-type-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.1rem;
}
.contact-type-item:last-child { margin-bottom: 0; }
.type-icon { font-size: 1.3rem; flex-shrink: 0; line-height: 1.3; }
.contact-type-item strong {
  display: block;
  font-family: var(--f-heading);
  font-size: 0.88rem;
  color: var(--c-blue-royal);
  margin-bottom: 0.15rem;
}
.contact-type-item p { font-size: 0.8rem; color: var(--c-gray-mid); margin: 0; }

.group-links {
  background: var(--c-blue-pale);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.group-links h4 { margin-bottom: 1rem; font-size: 1rem; }
.group-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--c-blue-royal);
  border-bottom: 1px solid rgba(10,42,74,0.08);
  transition: color var(--ease), padding-left var(--ease);
}
.group-links a:hover { color: var(--c-gold); padding-left: 5px; }


/* ─────────────────────────────────────────
   22. PAGES LÉGALES
───────────────────────────────────────── */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--c-blue-royal);
  margin: 2.5rem 0 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--c-gold);
  display: inline-block;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-content ul li { margin-bottom: 0.35rem; font-size: 0.93rem; }
.legal-content a { color: var(--c-gold); }
.legal-content a:hover { text-decoration: underline; }
.legal-content em { color: var(--c-gray-mid); font-size: 0.85rem; }


/* ─────────────────────────────────────────
   23. ANIMATIONS SCROLL
───────────────────────────────────────── */
.anim-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-fade.is-visible { opacity: 1; transform: translateY(0); }

/* Délais en cascade */
.anim-fade:nth-child(2) { transition-delay: 0.1s; }
.anim-fade:nth-child(3) { transition-delay: 0.2s; }
.anim-fade:nth-child(4) { transition-delay: 0.3s; }
.anim-fade:nth-child(5) { transition-delay: 0.4s; }
.anim-fade:nth-child(6) { transition-delay: 0.5s; }


/* ─────────────────────────────────────────
   24. RESPONSIVE — MOBILE FIRST
   Breakpoints : 480 / 768 / 1024 / 1280
───────────────────────────────────────── */

/* ── ≤ 1280px ── */
@media (max-width: 1280px) {
  .footer__container { grid-template-columns: 2fr 1fr 1fr; }
  .footer__container > .footer__col:last-child { grid-column: 1 / -1; }
}

/* ── ≤ 1024px : menu hamburger ── */
@media (max-width: 1024px) {

  /* Menu latéral mobile */
  .header__nav {
    position: fixed;
    top: var(--header-h); right: 0; bottom: 0;
    width: min(300px, 85vw);
    z-index: 9998;
    background: var(--c-blue-night);
    flex-direction: column;
    justify-content: flex-start;
    padding: 1.5rem 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 1px solid rgba(212,168,87,0.15);
    box-shadow: -4px 0 24px rgba(0,0,0,0.4);
  }
  .header__nav.is-open { transform: translateX(0); }

  /* Liste verticale */
  .nav__list { flex-direction: column; align-items: stretch; width: 100%; gap: 0; }
  .nav__link {
    padding: 0.9rem 1.5rem; border-radius: 0; font-size: 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.06); white-space: normal;
  }

  /* Dropdown mobile : accordéon */
  .nav__dropdown {
    position: static; transform: none;
    opacity: 1; visibility: visible; pointer-events: all;
    background: rgba(0,0,0,0.25); border-radius: 0;
    border: none; box-shadow: none; min-width: auto;
    max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: auto;
  }
  .nav__item.is-open .nav__dropdown { max-height: 400px; }
  .nav__dropdown li a { padding: 0.6rem 2rem 0.6rem 2.5rem; font-size: 0.82rem; }

  /* Bridge inutile en mobile */
  .nav__item--has-dropdown::after { display: none; }

  /* Afficher le burger, cacher le CTA */
  .header__burger { display: flex; }
  .header__cta    { display: none; }

  /* Hero */
  .hero-home__inner  { grid-template-columns: 1fr; }
  .hero-home__visual { display: none; }

  /* Footer */
  .footer__container { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── ≤ 768px (tablettes portrait) ── */
@media (max-width: 768px) {
  /* Layout */
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  /* Hero stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; }

  /* Gouvernance */
  .gov-pillars { flex-direction: column; align-items: stretch; }
  .gov-pillar  { max-width: 100%; }
  .gov-arrow   { display: none; }

  /* Org chart */
  .org-branches { flex-direction: column; align-items: center; }
  .org-box--child { width: min(280px, 100%); text-align: center; }

  /* Filiale détail */
  .filiale-detail__header { flex-direction: column; }

  /* Doc items */
  .doc-item { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Footer */
  .footer__container { grid-template-columns: 1fr; }
}

/* ── ≤ 480px (mobiles) ── */
@media (max-width: 480px) {
  :root { --header-h: 64px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }

  .btn { width: 100%; justify-content: center; }
  .hero-home__actions { flex-direction: column; }

  .stats-bar { grid-template-columns: 1fr 1fr; }
  .stat-item__number { font-size: 1.75rem; }

  .page-hero { padding: 3.5rem 0 2.5rem; }

  .card   { padding: 1.4rem; }
  .pillar { padding: 1.4rem 1rem; }

  .contact-layout { gap: 2rem; }

  .footer__container { gap: 2rem; }

  .section { padding: 2.75rem 0; }
}

/* ── Très petits écrans ≤ 360px ── */
@media (max-width: 360px) {
  .container { padding: 0 1rem; }
  h1 { font-size: 1.75rem; }
  .stats-bar { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────
   25. PRINT
───────────────────────────────────────── */
@media print {
  .site-header,
  .hero-home__visual,
  .header__burger,
  .nav-overlay       { display: none !important; }
  .site-content-wrap { padding-top: 0; }
  body               { font-size: 12pt; color: #000; }
  a::after           { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
}


/* ─────────────────────────────────────────
   26. SIDEBAR
───────────────────────────────────────── */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(10,42,74,0.07);
}

.sidebar-widget--investors {
  background: var(--c-blue-pale);
  border-color: rgba(26,42,74,0.12);
}

.sidebar-widget__title {
  font-family: var(--f-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(212,168,87,0.2);
}

/* Layout avec sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }
  .sidebar { order: -1; } /* Sidebar au-dessus sur mobile */
}


/* ─────────────────────────────────────────
   27. SEARCH
───────────────────────────────────────── */
.search-form-bar {
  display: flex;
  gap: 0.75rem;
  max-width: 680px;
  margin: 0 auto;
}

.search-form-bar__input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid #cdd5e0;
  border-radius: var(--radius);
  font-family: var(--f-body);
  font-size: 0.95rem;
  color: var(--c-text);
  background: var(--c-white);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.search-form-bar__input:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(212,168,87,0.18);
}

.search-form-bar__btn { flex-shrink: 0; }

/* Résultats */
.search-results {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-result-item {
  padding: 1.75rem;
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1.5px solid #dde5f0;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.search-result-item:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
}

.search-result-item__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.search-result-item__cat {
  font-family: var(--f-heading);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gold);
  background: rgba(212,168,87,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.search-result-item__date {
  font-size: 0.78rem;
  color: var(--c-gray-mid);
}

.search-result-item__title {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
}
.search-result-item__title a {
  color: var(--c-blue-royal);
  transition: color var(--ease);
}
.search-result-item__title a:hover { color: var(--c-gold); }

.search-result-item__excerpt {
  font-size: 0.9rem;
  color: var(--c-gray-mid);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.search-result-item__link {
  font-family: var(--f-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--c-gold);
  transition: gap var(--ease);
}
.search-result-item__link:hover { text-decoration: underline; }

/* Pagination */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
.pagination .page-numbers {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
}
.pagination .page-numbers li a,
.pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  font-family: var(--f-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--c-blue-royal);
  border: 1.5px solid #dde5f0;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.pagination .page-numbers li a:hover {
  background: var(--c-gold);
  color: var(--c-blue-night);
  border-color: var(--c-gold);
}
.pagination .page-numbers li .current {
  background: var(--c-blue-royal);
  color: var(--c-white);
  border-color: var(--c-blue-royal);
}

/* État vide */
.search-empty {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}
.search-empty__icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  opacity: 0.4;
}
.search-empty h2 { margin-bottom: 0.75rem; }
.search-empty p  { color: var(--c-gray-mid); }
.search-empty__tips {
  list-style: disc;
  padding-left: 1.5rem;
  text-align: left;
  margin: 1rem auto;
  max-width: 320px;
  color: var(--c-gray-mid);
  font-size: 0.9rem;
}
.search-empty__tips li { margin-bottom: 0.35rem; }


/* ─────────────────────────────────────────
   28. CARD POST (thumbnail)
───────────────────────────────────────── */
.card__thumb {
  display: block;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  margin: -1.5rem -1.5rem 1.25rem;
  aspect-ratio: 16 / 9;
}
.card__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--ease);
}
.card:hover .card__thumb-img { transform: scale(1.04); }

.card__body { flex: 1; }

.card__meta {
  font-size: 0.78rem;
  color: var(--c-gray-mid);
  margin-top: 0.5rem;
}


/* ─────────────────────────────────────────
   29. SECTION — VARIANTES PADDING
───────────────────────────────────────── */
.section--sm { padding: clamp(2rem,   4vw, 3rem)   0; }
.section--lg { padding: clamp(5rem,  10vw, 8rem)   0; }

/* section-list : layout colonne (doc-items, role-items...) */
.section-list { display: flex; flex-direction: column; gap: 1rem; }

/* section-content : contenu libre centré */
.section-content { max-width: 860px; margin: 0 auto; }
