/* ==========================================================================
   Mincatec Energy — refonte 2026
   Base claire et lisible, sections bleu nuit pour les temps forts,
   couleurs issues du logo (bleus #19b9ea → #0953a0, vert hydrogène #00793a → #c1d006)
   ========================================================================== */

:root {
  --navy-950: #050b16;
  --navy-900: #081426;
  --navy-800: #0d1f3a;
  --navy-700: #15305a;
  --blue-700: #0953a0;
  --blue-600: #0b63b8;
  --blue-500: #1679d6;
  --cyan-400: #19b9ea;
  --green-600: #138a46;
  --lime-400: #a9c932;

  --ink: #0b1526;
  --text: #3a4556;
  --muted: #697586;
  --line: #e4e8ef;
  --soft: #f4f6f9;
  --white: #fff;

  --grad-brand: linear-gradient(120deg, #19b9ea 0%, #0b63b8 55%, #0953a0 100%);
  --grad-h2: linear-gradient(120deg, #19b9ea, #a9c932);

  --font-head: Manrope, "Segoe UI", system-ui, sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, -apple-system, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --radius: 14px;
  --radius-sm: 8px;
  --section-y: clamp(80px, 9vw, 136px);
  --shadow-sm: 0 1px 2px rgba(11, 21, 38, .06), 0 2px 8px rgba(11, 21, 38, .04);
  --shadow-md: 0 12px 32px -12px rgba(11, 21, 38, .22);
  --shadow-lg: 0 30px 60px -24px rgba(5, 11, 22, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden;
}
@media (max-width: 767px) { body { font-size: 16px; } }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
a { color: var(--blue-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .6em; font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
p, ul, ol { margin: 0 0 1.2em; }
::selection { background: rgba(25, 185, 234, .25); }
:focus-visible { outline: 2px solid var(--cyan-400); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.container.is-narrow { max-width: calc(820px + 2 * var(--gutter)); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 1001; padding: 10px 16px; background: var(--white); color: var(--ink); border-radius: var(--radius-sm); }
.skip-link:focus { left: 8px; }
.screen-reader-text, .elementor-screen-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ---------- boutons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 26px;
  border: 1px solid transparent; border-radius: var(--radius-sm); font: 600 15px/1 var(--font-body); letter-spacing: .01em;
  cursor: pointer; transition: background .25s var(--ease), color .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s;
  white-space: nowrap;
}
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px -8px rgba(11, 99, 184, .6); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(11, 21, 38, .18); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: var(--white); color: var(--navy-900); }
.btn-light:hover { background: #e9f6fd; color: var(--navy-900); }
.btn-link { --h: auto; padding: 0; color: var(--blue-600); }
.btn-link:hover { color: var(--blue-700); }
.theme-dark .btn-ghost, .hero-inner .btn-ghost, .cta-inner .btn-ghost { border-color: rgba(255, 255, 255, .35); color: var(--white); }
.theme-dark .btn-ghost:hover, .hero-inner .btn-ghost:hover, .cta-inner .btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .06); }
.theme-dark .btn-link { color: var(--cyan-400); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-row.is-center { justify-content: center; }

/* ---------- en-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(11, 21, 38, .06); transition: background .35s var(--ease), border-color .35s, box-shadow .35s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(5, 11, 22, .35); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 28px; }
.brand { position: relative; display: block; width: 172px; flex-shrink: 0; }
.brand img { display: block; width: 100%; height: auto; transition: opacity .3s; }
.brand-light { position: absolute; inset: 0; opacity: 0; }
.primary-nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 10px 14px; color: var(--ink); font-size: 15px; font-weight: 500; letter-spacing: .005em; border-radius: 6px; }
.nav-link:hover, .nav-item.is-current > .nav-link { color: var(--blue-600); }
.nav-item.has-children > .nav-link { padding-right: 4px; }
.submenu-toggle { display: inline-flex; padding: 6px 6px 6px 2px; border: 0; background: none; color: currentColor; cursor: pointer; }
.submenu-toggle svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-panel {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 260px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.nav-panel::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.sub-menu { margin: 0; padding: 0; list-style: none; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink); font-size: 15px; }
.sub-menu a:hover, .sub-menu a[aria-current] { background: var(--soft); color: var(--blue-600); }
@media (min-width: 1101px) {
  .nav-item:hover > .nav-panel, .nav-item:focus-within > .nav-panel, .nav-item.open > .nav-panel { opacity: 1; visibility: visible; transform: none; }
  .nav-item:hover .submenu-toggle svg, .nav-item.open .submenu-toggle svg { transform: rotate(180deg); }
}
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { position: relative; }
.lang-current { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 10px; border: 0; background: none; color: var(--ink); font: 600 13px/1 var(--font-body); letter-spacing: .06em; cursor: pointer; border-radius: 6px; }
.lang-current:hover { background: rgba(11, 21, 38, .05); }
.lang-icon { width: 18px; height: 18px; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; margin: 0; padding: 8px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.lang-switch.open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--soft); }
.lang-code { width: 26px; font-weight: 700; font-size: 12px; letter-spacing: .08em; color: var(--muted); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.nav-toggle-bars { display: grid; gap: 7px; width: 24px; margin: auto; }
.nav-toggle-bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease); }
.nav-open .nav-toggle-bars span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.nav-mobile-extra { display: none; }

/* en-tête transparent au-dessus d'un bandeau sombre, tant qu'on n'a pas défilé */
.has-hero .site-header:not(.is-scrolled):not(.nav-open) { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .brand-light { opacity: 1; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .brand-dark { opacity: 0; }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) :is(.nav-link, .lang-current, .nav-toggle, .submenu-toggle) { color: var(--white); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .nav-link:hover { color: var(--cyan-400); }
.has-hero .site-header:not(.is-scrolled):not(.nav-open) .lang-current:hover { background: rgba(255, 255, 255, .1); }
body:not(.has-hero) .site-main { padding-top: var(--header-h); }

@media (max-width: 1100px) {
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0; padding: 12px var(--gutter) 32px; overflow-y: auto;
    background: var(--white); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav-open .primary-nav { opacity: 1; visibility: visible; transform: none; }
  .nav-menu { display: block; }
  .nav-item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .nav-link { flex: 1; padding: 18px 0; font-size: 18px; font-family: var(--font-head); font-weight: 600; }
  .submenu-toggle { padding: 14px; }
  .submenu-toggle svg { width: 20px; height: 20px; }
  .nav-item.open .submenu-toggle svg { transform: rotate(180deg); }
  .nav-panel { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 14px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-panel::before { display: none; }
  .nav-item.open > .nav-panel { display: block; }
  .sub-menu a { padding: 10px 14px; color: var(--text); }
  .nav-mobile-extra { display: block; padding-top: 28px; }
  .nav-mobile-extra .btn { width: 100%; }
}
/* le flou de l’en-tête créerait un bloc conteneur pour le panneau en position fixe : on le retire menu ouvert */
.site-header.nav-open { background: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
body.nav-open { overflow: hidden; }

/* ---------- sections ---------- */
.blk { position: relative; padding: var(--section-y) 0; }
.theme-soft { background: var(--soft); }
.theme-dark { background: var(--navy-900); color: rgba(255, 255, 255, .74); isolation: isolate; }
.theme-dark::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 85% 0%, rgba(25, 185, 234, .14), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(11, 99, 184, .18), transparent 70%);
}
.theme-dark :is(h1, h2, h3, h4) { color: var(--white); }
.theme-light + .theme-light { padding-top: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font: 600 12.5px/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.theme-dark .eyebrow, .hero-inner .eyebrow, .cta-inner .eyebrow { color: var(--cyan-400); }
.blk-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.blk-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.blk-head.is-center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.blk-title { font-size: clamp(30px, 3.6vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -.028em; margin-bottom: 20px; }
.blk-title em, .hero-title em, .cta-title em { font-style: normal; background: var(--grad-h2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blk-intro { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); margin: 0; }
.theme-dark .blk-intro { color: rgba(255, 255, 255, .66); }
.blk-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px, 5vw, 56px); }
.blk-head-row .blk-head { margin-bottom: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); font-weight: 600; }
.theme-dark .prose strong { color: var(--white); }
.prose h3 { font-size: 22px; margin-top: 1.6em; }

/* motif de grille technique (bandeaux sombres) */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}

/* ---------- bandeau principal ---------- */
.blk-hero { display: flex; flex-direction: column; justify-content: flex-end; min-height: min(78vh, 760px); padding: calc(var(--header-h) + 72px) 0 72px; background: var(--navy-900); color: rgba(255, 255, 255, .78); overflow: hidden; }
.blk-hero::before { display: none; }
.blk-hero:has(.is-home) { min-height: max(100svh, 720px); padding-bottom: 0; justify-content: center; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: hero-zoom 18s var(--ease) forwards; }
@keyframes hero-zoom { to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5, 11, 22, .94) 0%, rgba(8, 20, 38, .82) 38%, rgba(8, 20, 38, .35) 75%, rgba(8, 20, 38, .2) 100%),
              linear-gradient(0deg, rgba(5, 11, 22, .85) 0%, transparent 40%);
}
.hero-inner { position: relative; z-index: 1; max-width: calc(var(--container) + 2 * var(--gutter)); }
.hero-inner > * { max-width: 760px; }
.hero-inner.is-home { padding-top: 40px; padding-bottom: 40px; }
.hero-title { margin-bottom: 24px; font-size: clamp(40px, 5.6vw, 76px); font-weight: 700; line-height: 1.02; letter-spacing: -.035em; color: var(--white); }
.blk-hero:not(:has(.is-home)) .hero-title { font-size: clamp(36px, 4.6vw, 60px); }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 620px; }
.hero-actions { margin-top: 40px; }
.breadcrumb { display: flex; gap: 10px; margin-bottom: 26px; font-size: 13px; letter-spacing: .02em; color: rgba(255, 255, 255, .6); }
.breadcrumb a { color: rgba(255, 255, 255, .6); }
.breadcrumb a:hover { color: var(--white); }
.hero-stats { position: relative; z-index: 1; padding-bottom: 48px; }
.stats-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius);
  background: rgba(8, 20, 38, .45); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.stats-strip .stat { display: flex; flex-direction: column-reverse; gap: 6px; padding: 26px 30px; border-left: 1px solid rgba(255, 255, 255, .1); }
.stats-strip .stat:first-child { border-left: 0; }
.stats-strip dd { margin: 0; color: var(--white); }
.stats-strip dt { font-size: 13.5px; line-height: 1.4; color: rgba(255, 255, 255, .62); }
.stat-value { font: 700 clamp(28px, 2.6vw, 38px)/1 var(--font-head); letter-spacing: -.03em; }
.stat-unit { margin-left: 6px; font: 600 15px/1 var(--font-body); color: var(--cyan-400); }
@media (max-width: 900px) {
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip .stat:nth-child(3) { border-left: 0; }
  .stats-strip .stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 480px) { .stats-strip .stat { padding: 20px; } }

/* bandeau de titre des pages pas encore refondues, des articles et des listes */
.blk-page-head { padding: calc(var(--header-h) + 64px) 0 64px; overflow: hidden; }
body:not(.has-hero) .blk-page-head { margin-top: calc(-1 * var(--header-h)); }
.page-head-title { max-width: 900px; margin: 0; font-size: clamp(32px, 4vw, 54px); letter-spacing: -.03em; }
.page-head-meta { margin: 18px 0 0; color: rgba(255, 255, 255, .62); font-size: 15px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.page-head-meta a { color: var(--cyan-400); }
.page-head-intro { max-width: 680px; margin: 18px 0 0; font-size: 19px; color: rgba(255, 255, 255, .7); }

/* ---------- chiffres clés ---------- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 0; }
.stat-card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.stat-card dt { order: 2; font-weight: 600; color: var(--ink); }
.stat-card dd { order: 1; margin: 0; color: var(--ink); }
.stat-card .stat-text { order: 3; font-size: 15px; color: var(--muted); }
.stat-card .stat-icon { order: 0; width: 28px; height: 28px; color: var(--blue-600); margin-bottom: 8px; }
.theme-dark .stat-card { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.theme-dark .stat-card :is(dt, dd) { color: var(--white); }
.theme-dark .stat-card .stat-text { color: rgba(255, 255, 255, .6); }

/* ---------- texte + image ---------- */
.mt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.mt-grid.image-left .mt-media { order: -1; }
.mt-figure { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.mt-figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mt-figure.is-contain { padding: clamp(28px, 4vw, 56px); background: radial-gradient(80% 80% at 50% 40%, #fff 0%, #eef3f8 100%); box-shadow: none; border: 1px solid var(--line); }
.mt-figure.is-contain img { aspect-ratio: auto; object-fit: contain; }
.theme-dark .mt-figure.is-contain { background: radial-gradient(80% 80% at 50% 40%, rgba(25, 185, 234, .16) 0%, rgba(255, 255, 255, .02) 70%); border-color: rgba(255, 255, 255, .1); }
.mt-figure figcaption { padding: 12px 16px; font-size: 13px; color: var(--muted); background: var(--white); }
.check-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.li-icon { width: 20px; height: 20px; margin-top: 3px; color: var(--blue-600); flex-shrink: 0; }
.theme-dark .li-icon { color: var(--cyan-400); }
.check-list strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .mt-grid { grid-template-columns: 1fr; } .mt-grid.image-left .mt-media { order: 0; } }

/* ---------- atouts ---------- */
.feature-grid { display: grid; gap: 20px; }
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .feature-grid.cols-3, .feature-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid[class*="cols-"] { grid-template-columns: 1fr; } }
.feature {
  position: relative; padding: 34px 30px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 26px; border-radius: 12px; color: var(--blue-600);
  background: linear-gradient(var(--white), var(--white)) padding-box, var(--grad-brand) border-box; border: 1px solid transparent;
}
.feature h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -.015em; }
.feature p { margin: 0; font-size: 15.5px; color: var(--muted); }
.theme-dark .feature { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); }
.theme-dark .feature:hover { background: rgba(255, 255, 255, .06); border-color: rgba(25, 185, 234, .35); box-shadow: none; }
.theme-dark .feature-icon { color: var(--cyan-400); background: linear-gradient(var(--navy-800), var(--navy-800)) padding-box, var(--grad-brand) border-box; }
.theme-dark .feature p { color: rgba(255, 255, 255, .6); }

/* ---------- cartes (applications, liens) ---------- */
.card-grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.card-grid.count-2, .card-grid.layout-wide { grid-template-columns: repeat(2, 1fr); }
.card-grid.count-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .card-grid, .card-grid.count-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid[class] { grid-template-columns: 1fr; } }
.card {
  position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--white); color: var(--text); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 28px; }
.card-icon { color: var(--blue-600); }
.card-label { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); }
.card-title { margin: 0; font-size: 22px; line-height: 1.25; }
.card-text { margin: 0; color: var(--muted); font-size: 15.5px; }
.card-more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-size: 14.5px; font-weight: 600; color: var(--blue-600); }
a:hover .card-more .btn-icon { transform: translateX(4px); }
/* variante « immersive » : image plein cadre et texte en surimpression */
.layout-immersive .card { min-height: clamp(380px, 38vw, 520px); border: 0; justify-content: flex-end; background: var(--navy-900); }
.layout-immersive .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.layout-immersive .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 11, 22, .05) 0%, rgba(5, 11, 22, .25) 35%, rgba(5, 11, 22, .92) 100%); transition: opacity .4s; }
.layout-immersive .card-body { position: relative; flex: 0 0 auto; padding: clamp(28px, 3vw, 44px); color: rgba(255, 255, 255, .78); }
.layout-immersive .card-more { margin-top: 8px; }
.layout-immersive .card-title { color: var(--white); font-size: clamp(24px, 2.4vw, 34px); }
.layout-immersive .card-text { color: rgba(255, 255, 255, .72); max-width: 460px; }
.layout-immersive .card-label, .layout-immersive .card-more { color: var(--cyan-400); }
.theme-dark .card:not(.layout-immersive .card) { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .09); color: rgba(255, 255, 255, .7); }
.theme-dark .card-text { color: rgba(255, 255, 255, .62); }

/* ---------- étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.step { position: relative; padding: 0 32px 0 0; }
.step::before { content: ""; position: absolute; top: 22px; left: 56px; right: 16px; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.step:last-child::before { display: none; }
.step-num {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px; border-radius: 50%;
  font: 700 14px/1 var(--font-head); color: var(--blue-600); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.step-icon { display: block; margin-bottom: 14px; color: var(--blue-600); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }
.theme-dark .step-num { background: var(--navy-800); border-color: rgba(255, 255, 255, .12); color: var(--cyan-400); box-shadow: none; }
.theme-dark .step::before { background: linear-gradient(90deg, rgba(255, 255, 255, .16), transparent); }
.theme-dark .step p { color: rgba(255, 255, 255, .62); }
.steps-figure { margin: clamp(48px, 6vw, 80px) 0 0; padding: clamp(20px, 3vw, 40px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: center; }
.steps-figure img { width: 100%; max-width: 1000px; }
.steps-figure figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .step { padding: 0 0 36px; } .step::before { display: none; } }

/* ---------- caractéristiques ---------- */
.specs-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.specs-intro { position: sticky; top: calc(var(--header-h) + 32px); }
.specs-table { margin: 0; border-top: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.spec-row dt { color: var(--muted); font-size: 15.5px; }
.spec-row dd { margin: 0; color: var(--ink); font-weight: 600; font-family: var(--font-head); font-size: 17px; font-variant-numeric: tabular-nums; }
.theme-dark .specs-table, .theme-dark .spec-row { border-color: rgba(255, 255, 255, .1); }
.theme-dark .spec-row dt { color: rgba(255, 255, 255, .58); }
.theme-dark .spec-row dd { color: var(--white); }
@media (max-width: 900px) { .specs-wrap { grid-template-columns: 1fr; } .specs-intro { position: static; } }

/* ---------- logos partenaires ---------- */
.blk-logos { padding-top: calc(var(--section-y) * .7); padding-bottom: calc(var(--section-y) * .7); }
.logo-marquee {
  display: flex; overflow: hidden; gap: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 88px); margin: 0; padding: 0 clamp(24px, 3vw, 44px); list-style: none; flex-shrink: 0; animation: marquee 48s linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-item img { display: block; width: auto; max-width: 150px; max-height: 58px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s, opacity .3s; }
.logo-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- actualités ---------- */
.post-grid, .posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 1000px) { .post-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid, .posts-grid { grid-template-columns: 1fr; } }
.post-card { height: 100%; }
.post-card-link { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--text); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); color: var(--text); }
.post-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue-700)); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card-link:hover .post-card-media img { transform: scale(1.05); }
.post-card-body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 26px 26px 28px; }
.post-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0; font-size: 13px; color: var(--muted); }
.tag { display: inline-block; padding: 5px 10px; border-radius: 99px; background: rgba(11, 99, 184, .08); color: var(--blue-600); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.post-card-title { margin: 0; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-excerpt { margin: 0; font-size: 15px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- appel à l'action ---------- */
.blk-cta { overflow: hidden; text-align: center; padding: clamp(96px, 11vw, 160px) 0; }
.blk-cta.theme-dark::before { z-index: 1; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.cta-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-900) 0%, rgba(8, 20, 38, .7) 50%, var(--navy-900) 100%); }
.cta-inner { position: relative; z-index: 2; max-width: 860px; }
.cta-title { margin-bottom: 20px; font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.035em; line-height: 1.05; }
.cta-text { margin: 0 auto; max-width: 620px; font-size: 19px; }
.theme-light.blk-cta, .theme-soft.blk-cta { color: var(--text); }

/* ---------- galerie / vidéo ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.gallery-item { display: block; overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; box-shadow: var(--shadow-lg); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-file { width: 100%; border-radius: var(--radius); }

/* ---------- FAQ / accordéon ---------- */
.faq-wrap { max-width: calc(900px + 2 * var(--gutter)); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font: 600 19px/1.4 var(--font-head); color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { width: 22px; height: 22px; color: var(--blue-600); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-body { padding: 0 0 26px; color: var(--text); }
.theme-dark .faq, .theme-dark .faq-item { border-color: rgba(255, 255, 255, .12); }
.theme-dark .faq-item summary { color: var(--white); }
.theme-dark .faq-body { color: rgba(255, 255, 255, .7); }

/* ---------- frise ---------- */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 119px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 40px; padding-bottom: 48px; }
.tl-item::before { content: ""; position: absolute; left: 114px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--white); border: 2px solid var(--blue-600); }
.tl-year { font: 700 22px/1.2 var(--font-head); color: var(--blue-600); }
.tl-body h3 { font-size: 21px; margin-bottom: 8px; }
.tl-body p { margin: 0; color: var(--muted); }
.tl-media { margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; max-width: 420px; }
.theme-dark .timeline::before { background: rgba(255, 255, 255, .14); }
.theme-dark .tl-item::before { background: var(--navy-900); border-color: var(--cyan-400); }
.theme-dark .tl-year { color: var(--cyan-400); }
@media (max-width: 640px) {
  .timeline::before { left: 5px; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; padding-left: 32px; }
  .tl-item::before { left: 0; }
}

/* ---------- équipe ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; }
.member { position: relative; }
.member-photo { aspect-ratio: 4 / 5; margin-bottom: 18px; overflow: hidden; border-radius: var(--radius); background: var(--soft); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.2); transition: filter .4s, transform .6s var(--ease); }
.member:hover .member-photo img { filter: none; transform: scale(1.03); }
.member h3 { margin: 0 0 4px; font-size: 19px; }
.member-role { margin: 0; color: var(--muted); font-size: 15px; }
.member-link { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--white); color: var(--blue-600); box-shadow: var(--shadow-sm); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-list { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--blue-600); }
.contact-map { margin-top: 36px; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); aspect-ratio: 16 / 10; }
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.contact-form-card { padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-md); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* formulaire */
.contact-form { display: grid; gap: 18px; }
.cf-field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cf-required { color: var(--blue-600); }
.cf-field input[type="text"], .cf-field input[type="email"], .cf-field input[type="tel"], .cf-field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid #cfd6e0; border-radius: var(--radius-sm); background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.cf-field textarea { min-height: 150px; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(11, 99, 184, .12); }
.cf-field.has-error input, .cf-field.has-error textarea { border-color: #c4321f; }
.cf-consent label { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.cf-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue-600); }
.cf-error { margin: 6px 0 0; color: #c4321f; font-size: 13.5px; }
.cf-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit { width: 100%; min-height: 54px; border: 0; border-radius: var(--radius-sm); background: var(--blue-600); color: var(--white); font: 600 16px/1 var(--font-body); cursor: pointer; transition: background .2s; }
.cf-submit:hover { background: var(--blue-700); }
.cf-submit[disabled] { opacity: .6; cursor: wait; }
.cf-message { padding: 16px 18px; border-radius: var(--radius-sm); font-size: 15px; }
.cf-message.success { background: #e8f6ee; color: #14623a; }
.cf-message.error { background: #fdeceb; color: #9c2a1c; }

/* ---------- articles et listes ---------- */
.archive-body { padding: clamp(56px, 7vw, 96px) 0 var(--section-y); }
.category-filter { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 40px; padding: 0; list-style: none; }
.category-filter a { display: inline-block; padding: 9px 16px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink); font-size: 14px; font-weight: 500; }
.category-filter a:hover { border-color: var(--ink); }
.category-filter a[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 64px; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--radius-sm); border: 1px solid var(--line); color: var(--ink); font-size: 15px; }
.pagination a:hover { border-color: var(--ink); }
.pagination .current { background: var(--ink); border-color: var(--ink); color: var(--white); }
.pagination .dots { border: 0; }
.single-body { padding: clamp(48px, 6vw, 80px) 0 var(--section-y); }
.single-cover { max-width: calc(1000px + 2 * var(--gutter)); margin: 0 auto clamp(40px, 5vw, 64px); }
.single-cover img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.single-footer { max-width: calc(820px + 2 * var(--gutter)); margin: 56px auto 0; padding-top: 32px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
.page-404 { padding: calc(var(--section-y) * 1.4) 0; text-align: center; }
.page-404 h1 { font-size: clamp(36px, 5vw, 64px); }

/* contenu au format Elementor (pages pas encore refondues, articles) */
.legacy-content { padding: 24px 0 var(--section-y); font-family: var(--font-body); }
.legacy-content :is(h1, h2, h3, h4, h5, h6) { font-family: var(--font-head); letter-spacing: -.02em; }
.legacy-content .elementor-heading-title { font-family: var(--font-head) !important; letter-spacing: -.02em; }
.legacy-content .elementor-widget-text-editor { font-family: var(--font-body) !important; color: var(--text); line-height: 1.75; font-size: 17px; }
.legacy-content .elementor-section.elementor-section-stretched { width: 100vw; margin-left: calc(50% - 50vw); }
.single-body .legacy-content { padding: 0; }
.single-body .legacy-content .elementor-section-boxed > .elementor-container { max-width: 820px; }
.legacy-content .elementor-invisible { visibility: visible; }

/* ---------- pied de page ---------- */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255, 255, 255, .62); font-size: 15px; isolation: isolate; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 100% 0%, rgba(11, 99, 184, .18), transparent 70%); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(40px, 6vw, 96px); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(48px, 6vw, 72px); }
.footer-brand img { width: 168px; height: auto; margin-bottom: 22px; }
.footer-tagline { max-width: 340px; color: rgba(255, 255, 255, .72); }
.footer-address { display: flex; gap: 12px; margin-top: 24px; }
.footer-address .li-icon { color: var(--cyan-400); }
.social { display: flex; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: var(--white); transition: background .25s, border-color .25s; }
.social a:hover { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.social svg { width: 19px; height: 19px; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px; }
.footer-col-title { margin: 0 0 18px; font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; }
.footer-col-title, .footer-col-title a { color: var(--white); }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.footer-col a { color: rgba(255, 255, 255, .62); }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 26px; padding-bottom: 26px; font-size: 13.5px; }
.copyright { margin: 0; }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; }
.legal-links a { color: rgba(255, 255, 255, .55); }
.legal-links a:hover { color: var(--white); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr; } }

.scroll-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: var(--navy-900); color: var(--white); box-shadow: var(--shadow-md); cursor: pointer;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s;
}
.scroll-to-top svg { width: 20px; transform: rotate(180deg); }
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.scroll-to-top:hover { background: var(--blue-600); }

/* ---------- visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 48px; background: rgba(5, 11, 22, .94); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); font-size: 30px; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .16); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero-img, .logo-track { animation: none; }
}

/* ---------- citations ---------- */
.quote-grid { display: grid; gap: 24px; }
.quote-grid.count-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .quote-grid.count-2 { grid-template-columns: 1fr; } }
.quote { position: relative; margin: 0; padding: clamp(32px, 4vw, 48px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.quote-mark { width: 40px; height: 30px; margin-bottom: 22px; color: var(--cyan-400); }
.quote blockquote { margin: 0 0 28px; font: 500 clamp(18px, 1.6vw, 21px)/1.6 var(--font-head); letter-spacing: -.01em; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 16px; font-size: 15px; color: var(--muted); }
.quote figcaption > span { display: grid; gap: 2px; }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quote-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.theme-dark .quote { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.theme-dark .quote blockquote, .theme-dark .quote figcaption strong { color: var(--white); }

/* ---------- documents ---------- */
.docs-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.docs-intro .blk-head { margin-bottom: 0; }
.docs { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.doc { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--text); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.doc:hover { border-color: var(--blue-600); box-shadow: var(--shadow-md); transform: translateY(-2px); color: var(--text); }
.doc-icon { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; border-radius: 10px; background: rgba(11, 99, 184, .08); color: var(--blue-600); }
.doc-body { display: grid; gap: 4px; flex: 1; font-size: 14.5px; color: var(--muted); }
.doc-body strong { font-size: 16px; color: var(--ink); font-weight: 600; }
.doc-type { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.theme-dark .doc { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .1); }
.theme-dark .doc-body strong { color: var(--white); }
@media (max-width: 900px) { .docs-wrap { grid-template-columns: 1fr; } }

/* ---------- cartes : logos et visuels détourés ---------- */
.card-media.is-contain { display: grid; place-items: center; padding: 28px 36px; background: var(--white); border-bottom: 1px solid var(--line); }
.card-media.is-contain img { width: auto; max-width: 100%; height: auto; max-height: 120px; object-fit: contain; }
a.card:hover .card-media.is-contain img { transform: scale(1.04); }

/* ---------- équipe : parcours ---------- */
.member-more { margin-top: 12px; }
.member-more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: var(--blue-600); }
.member-more summary::-webkit-details-marker { display: none; }
.member-more .faq-icon { width: 16px; height: 16px; }
.member-more[open] .faq-icon { transform: rotate(45deg); }
.member-bio { margin-top: 14px; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.member-bio p { margin-bottom: .8em; }
.member-contacts { display: grid; gap: 6px; margin: 12px 0 0; }
.member-contacts a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); word-break: break-all; }
.member-contacts .li-icon { width: 16px; height: 16px; margin: 0; }

/* ---------- contenu éditorial (articles, pages légales) ---------- */
.prose { color: var(--text); }
.prose h2 { margin: 1.8em 0 .6em; font-size: clamp(24px, 2.4vw, 32px); }
.prose h3 { margin: 1.6em 0 .5em; font-size: clamp(19px, 1.8vw, 23px); }
.prose > :first-child { margin-top: 0; }
.prose a { text-decoration: underline; text-decoration-color: rgba(11, 99, 184, .35); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: currentColor; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: 10px; }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.prose-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 2em 0; }
.prose-gallery figure { margin: 0; }
.prose-gallery img { aspect-ratio: 4 / 3; object-fit: cover; }
.prose .video-frame { margin: 2em 0; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--cyan-400); font: 500 20px/1.6 var(--font-head); color: var(--ink); }
.prose blockquote cite { display: block; margin-top: 12px; font: 400 15px/1.4 var(--font-body); font-style: normal; color: var(--muted); }
.prose details { margin: 0 0 12px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; }
.prose details summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.prose details[open] summary { margin-bottom: 12px; }
.prose-cta a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm); background: var(--blue-600); color: var(--white); font-weight: 600; font-size: 15px; text-decoration: none; }
.prose-cta a:hover { background: var(--blue-700); color: var(--white); }
.prose table { width: 100%; margin: 1.6em 0; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--soft); color: var(--ink); }
.theme-dark .prose, .theme-dark .check-list li { color: rgba(255, 255, 255, .76); }
.theme-dark .check-list strong, .theme-dark .check-list em { color: var(--white); }
.check-list em, .feature em, .card-text em { font-style: normal; font-weight: 600; color: var(--ink); }
.theme-dark .feature em, .layout-immersive .card-text em { color: var(--white); }
/* bandeau sans image : plus compact */
.blk-hero:not(:has(.hero-img)) { min-height: 0; padding: calc(var(--header-h) + 72px) 0 72px; }
.blk-hero:not(:has(.hero-img)) .hero-shade { background: none; }
