/* ═══════════════════════════════════════════════
   enbi · screen.css v2.0
   Unités : rem (base 16px sur html:100%)
   ═══════════════════════════════════════════════ */

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

html {
  font-size: 100%;
  background: #F0EFEA;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: #222A30;
  background: #F0EFEA;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

/* ── Tokens ── */
:root {
  --c-bg:        #F0EFEA;
  --c-dark:      #222A30;
  --c-primary:   #3D5A6B;
  --c-accent:    #E54731;
  --c-neutral:   #2C3E44;
  --c-mid:       #7A8E96;
  --c-pale:      #C8D4D8;
  --c-border:    rgba(44,62,68,.13);
  --c-border-md: rgba(44,62,68,.22);
  --font: 'Inter', system-ui, sans-serif;
  --r: 3px;
  --r-lg: 6px;
  --nav-h: 4rem;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  padding-inline: 2.5rem;
}

#site-main { padding-top: var(--nav-h); min-height: 80vh; }

/* ── Navigation ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--c-bg);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 200ms;
}

.site-header.scrolled { border-bottom-color: var(--c-border-md); }

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: -.01em;
  line-height: 1;
}

.logo-text--light { color: var(--c-bg); }
.logo-dot { color: var(--c-accent); }

.site-nav ul { display: flex; gap: 2rem; }

.site-nav a {
  font-size: .875rem;
  color: var(--c-dark);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 150ms, border-color 150ms;
}

.site-nav a:hover, .site-nav a.active {
  color: var(--c-primary);
  border-bottom-color: var(--c-primary);
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 24px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--c-dark); border-radius: 1px; transition: transform 150ms, opacity 150ms; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--c-dark);
  padding: 3.5rem 2.5rem;
  z-index: 99;
}
.nav-mobile.open { display: block; }
.nav-mobile ul { display: flex; flex-direction: column; gap: 2rem; }
.nav-mobile a { font-size: 1.75rem; font-weight: 400; color: var(--c-bg); letter-spacing: -.02em; transition: color 150ms; }
.nav-mobile a:hover { color: var(--c-pale); }

/* ── Typographie ── */
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.15; margin-bottom: 1.5rem; }
h3 { font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; line-height: 1.35; margin-bottom: .75rem; }
h4 { font-size: 1.125rem; font-weight: 500; line-height: 1.35; margin-bottom: .5rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.micro {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-mid);
}

.caption { font-size: .75rem; color: var(--c-mid); line-height: 1.6; }

/* ── Section & filet ── */
.section { padding: 5rem 0; }
.section--alt { background: #fff; }

.section-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent) 40px, var(--c-border) 40px);
  margin-bottom: 3rem;
}

/* ── Hero ── */
.hero {
  background: var(--c-dark);
  padding: 6.5rem 0 6rem;
}

.hero h1 {
  color: var(--c-bg);
  max-width: 44rem;
  margin-bottom: 2rem;
}

.hero .hero-sub {
  font-size: 1.125rem;
  color: var(--c-bg);
  line-height: 1.65;
  max-width: 38rem;
  margin-bottom: .5rem;
}

.hero .hero-close {
  font-size: 1.125rem;
  color: var(--c-bg);
  line-height: 1.65;
  max-width: 38rem;
  margin-bottom: 2.5rem;
}

.hero .hero-boussole {
  font-size: .9375rem;
  color: var(--c-mid);
  line-height: 1.65;
  max-width: 34rem;
  margin-bottom: .25rem;
}

/* ── Cibles ── */
.section-label {
  display: block;
  margin-bottom: 2.5rem;
}

.cibles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cible {
  padding-right: 2.5rem;
  margin-right: 2.5rem;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.cible:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.cible .micro { color: var(--c-primary); }

.cible p { font-size: .9375rem; color: var(--c-neutral); line-height: 1.6; flex: 1; margin: 0; }

/* ── Méthode ── */
.methode-inner { max-width: 40rem; padding: 3rem 0; }
.methode-text h2 { margin-bottom: 1.75rem; }
.methode-text p { color: var(--c-neutral); margin-bottom: 1rem; }

.methode-conclusion {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  border-left: 2px solid var(--c-accent);
  padding-left: 1rem;
  margin-top: 1.75rem;
  line-height: 1.55;
}

/* ── Boutons & liens ── */
.btn-primary {
  display: inline-block;
  background: var(--c-accent);
  color: var(--c-bg);
  border: none;
  border-radius: var(--r);
  padding: .6875rem 1.5rem;
  font-family: var(--font);
  font-size: .8125rem;
  font-weight: 500;
  transition: opacity 150ms;
}
.btn-primary:hover { opacity: .88; }
.btn-primary:disabled { opacity: .5; cursor: not-allowed; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--c-primary);
  transition: gap 150ms;
}
.link-arrow::before { content: '→'; color: var(--c-accent); }
.link-arrow:hover { gap: .625rem; }

/* ── Cartes ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: .875rem;
  margin-bottom: 2rem;
}

.article-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: border-color 150ms;
}
.article-card:hover { border-color: var(--c-primary); }

.article-card--placeholder { background: var(--c-bg); border-style: dashed; }
.article-card--placeholder .article-card-title,
.article-card--placeholder .article-card-excerpt { color: var(--c-mid); }

.article-card-meta { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.article-card-title { font-size: 1.0625rem; font-weight: 500; line-height: 1.35; color: var(--c-dark); letter-spacing: -.01em; }
.article-card-title a { color: inherit; }
.article-card-excerpt { font-size: .875rem; color: var(--c-neutral); line-height: 1.65; flex: 1; }

/* ── Tags ── */
.tag {
  display: inline-block;
  font-size: .625rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  line-height: 1.4;
}
.tag--client    { background: rgba(44,62,68,.08);  color: var(--c-neutral); }
.tag--numerique { background: rgba(61,90,107,.12); color: var(--c-primary); }
.tag--cas       { background: rgba(229,71,49,.10); color: var(--c-accent);  }
.tag--actu      { background: var(--c-dark);       color: var(--c-bg);      }

/* ── Actualités ── */
.actu-list { display: flex; flex-direction: column; margin-bottom: 2rem; }
.actu-item { display: flex; align-items: baseline; gap: 1.5rem; padding: .75rem 0; border-bottom: 1px solid var(--c-border); }
.actu-item:first-child { border-top: 1px solid var(--c-border); }
.actu-date { min-width: 4.5rem; color: var(--c-mid); font-size: .75rem; }
.actu-title { font-size: .875rem; color: var(--c-dark); flex: 1; transition: color 150ms; }
.actu-title:hover { color: var(--c-primary); }

/* ── Footer ── */
.site-footer { background: var(--c-dark); color: var(--c-bg); padding: 3.5rem 0 2.5rem; }

.footer-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--c-accent) 40px, rgba(240,239,234,.15) 40px);
  margin-bottom: 2.5rem;
}

.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 3rem; margin-bottom: 2.5rem; }

.footer-baseline { font-size: .8125rem; color: var(--c-mid); line-height: 1.65; max-width: 20rem; margin-top: .75rem; }
.footer-adresse  { font-size: .75rem;   color: var(--c-mid); margin-top: .375rem; }

.footer-nav ul { display: flex; flex-direction: column; gap: .5rem; text-align: right; }
.footer-nav a   { font-size: .8125rem; color: var(--c-mid); transition: color 150ms; }
.footer-nav a:hover { color: var(--c-bg); }

.footer-legal { font-size: .6875rem; color: rgba(240,239,234,.3); padding-top: 1.5rem; border-top: 1px solid rgba(240,239,234,.08); }

/* ── Page header ── */
.page-header { padding: 3.5rem 0 3rem; }
.page-header h1 { margin-bottom: .75rem; }
.page-header-sub { font-size: 1rem; color: var(--c-mid); }

/* ── Page content ── */
.page-content { max-width: 42.5rem; }
.page-content h2 { margin-top: 3.5rem; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin-top: 2.5rem; }
.page-content li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; font-size: .9375rem; color: var(--c-neutral); line-height: 1.65; }
.page-content li::before { content: '–'; position: absolute; left: 0; color: var(--c-accent); font-weight: 600; }

/* ── Garanties ── */
.garanties-list { max-width: 42.5rem; margin-top: 2rem; }
.garantie-item { padding: 1.75rem 0; border-bottom: 1px solid var(--c-border); }
.garantie-item:first-child { border-top: 1px solid var(--c-border); }
.garantie-item h3 { font-size: 1.125rem; margin-bottom: .75rem; }
.garantie-item p  { font-size: .9375rem; color: var(--c-neutral); line-height: 1.7; margin: 0; }

/* ── Offre 500€ ── */
.offre-wrap { max-width: 35rem; padding: 3rem 0; }
.offre-tarif { font-size: .9375rem; font-weight: 500; color: var(--c-dark); margin-top: 1.5rem; margin-bottom: .75rem; line-height: 1.6; }
.offre-micro { color: var(--c-mid); font-size: .75rem; }

/* ── Interventions ── */
.section-intro { font-size: .9375rem; color: var(--c-neutral); max-width: 38.75rem; margin-bottom: 3rem; line-height: 1.65; }

.formations-list { margin-top: 2rem; }
.formation-item { display: grid; grid-template-columns: 7.5rem 1fr; gap: 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--c-border); align-items: baseline; }
.formation-item:first-child { border-top: 1px solid var(--c-border); }
.formation-institution { font-size: .875rem; font-weight: 500; color: var(--c-dark); margin-bottom: 2px; }
.formation-titre { font-size: .875rem; color: var(--c-neutral); line-height: 1.55; margin-bottom: 4px; }

/* ── Article ── */
.post-title { font-size: clamp(1.75rem, 3.5vw, 2.75rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.1; max-width: 45rem; margin-top: 1.25rem; }
.post-body { padding: 3.5rem 0; }
.post-content { max-width: 42.5rem; }
.post-content h2 { margin-top: 3.5rem; font-size: 1.5rem; font-weight: 500; }
.post-content h3 { margin-top: 2.5rem; }
.post-content p  { font-size: 1rem; color: var(--c-neutral); line-height: 1.75; }
.post-content li { padding-left: 1.5rem; position: relative; margin-bottom: .5rem; font-size: .9375rem; color: var(--c-neutral); line-height: 1.65; }
.post-content li::before { content: '–'; position: absolute; left: 0; color: var(--c-accent); font-weight: 600; }
.post-subnav { display: flex; gap: 2rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--c-border); }
.post-subnav a { font-size: .8125rem; color: var(--c-mid); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color 150ms, border-color 150ms; }
.post-subnav a.active, .post-subnav a:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }
.post-footer { padding-bottom: 5rem; }
.post-footer-links { display: flex; gap: 3rem; flex-wrap: wrap; }

/* ── Formulaire ── */
.contact-form-wrap { max-width: 35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mid); margin-bottom: 6px; }
.form-field input, .form-field select { width: 100%; font-family: var(--font); font-size: .875rem; color: var(--c-dark); background: #fff; border: 1px solid var(--c-border-md); border-radius: var(--r); padding: .5625rem .75rem; outline: none; transition: border-color 120ms; appearance: none; }
.form-field input:focus, .form-field select:focus { border-color: var(--c-primary); }
.form-field input.err, .form-field select.err { border-color: var(--c-accent); }
.form-field select { background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%237A8E96' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 2rem; cursor: pointer; }
.msg-wrap { background: #fff; border: 1px solid var(--c-border-md); border-radius: var(--r); padding: .875rem; transition: border-color 120ms; }
.msg-wrap:focus-within { border-color: var(--c-primary); }
.msg-wrap.err { border-color: var(--c-accent); }
.msg-wrap textarea { width: 100%; font-family: var(--font); font-size: .875rem; color: var(--c-dark); background: transparent; border: none; padding: 0; outline: none; resize: vertical; min-height: 6.875rem; line-height: 1.65; }
.msg-wrap textarea::placeholder { color: var(--c-mid); }
.form-divider { height: 1px; background: var(--c-border); margin: 1.25rem 0; }
.form-opt { margin-bottom: .75rem; }
.form-opt label { display: flex; align-items: flex-start; gap: .625rem; font-size: .8125rem; color: var(--c-neutral); cursor: pointer; line-height: 1.55; }
.form-opt input[type="checkbox"] { width: 15px; height: 15px; min-width: 15px; margin-top: 2px; accent-color: var(--c-primary); cursor: pointer; }
.form-rgpd { font-size: .75rem; color: var(--c-mid); line-height: 1.6; margin: 1.25rem 0 1.5rem; border-left: 2px solid var(--c-border); padding-left: .75rem; }
.form-confirm-title { font-size: .9375rem; font-weight: 500; color: var(--c-dark); margin-bottom: .5rem; }
.form-confirm-body  { font-size: .875rem; color: var(--c-neutral); line-height: 1.7; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ── 404 ── */
.error-page { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; padding: 7.5rem 0; }
.error-code { font-size: 4rem; font-weight: 600; color: var(--c-border-md); text-transform: none; line-height: 1; margin-bottom: 1.25rem; }


/* ── GEO ── */
.ai-context, .geo-signal { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ── Responsive ── */
@media (max-width: 48rem) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .cibles-grid { grid-template-columns: 1fr; }
  .cible { padding-right: 0; margin-right: 0; border-right: none; padding-top: 1.5rem; border-top: 1px solid var(--c-border); }
  .cible:first-child { padding-top: 0; border-top: none; }
  .footer-inner { flex-direction: column; gap: 1.5rem; }
  .footer-nav ul { text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  .formation-item { grid-template-columns: 1fr; gap: .375rem; }
  .post-footer-links { flex-direction: column; gap: .75rem; }
}

/* ── Navigation v2 (remplacement) ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #F0EFEA;
  border-bottom: 1px solid rgba(44,62,68,.13);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.site-logo { display: inline-flex; align-items: center; }

.logo-text {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #3D5A6B;
  letter-spacing: -.01em;
  line-height: 1;
}

.logo-text--light { color: #F0EFEA; }
.logo-dot { color: #E54731; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: .875rem;
  font-weight: 400;
  color: #222A30;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 150ms, border-color 150ms;
}

.site-nav a:hover { color: #3D5A6B; border-bottom-color: #3D5A6B; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: #222A30;
  border-radius: 1px;
  transition: transform 150ms;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  background: #222A30;
  padding: 2.5rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 1.5rem;
  font-weight: 400;
  color: #F0EFEA;
  text-decoration: none;
}

/* ── Cibles v2 ── */
.section--cibles h2 { margin-bottom: 2.5rem; }

.cibles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.cible {
  padding-right: 2.5rem;
  padding-left: 2.5rem;
  border-right: 1px solid rgba(44,62,68,.13);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.cible:first-child { padding-left: 0; }
.cible:last-child  { border-right: none; padding-right: 0; }

.cible .micro { color: #3D5A6B; margin-bottom: .25rem; }
.cible p { font-size: .9375rem; color: #2C3E44; line-height: 1.6; flex: 1; margin: 0; }

/* ── Méthode v2 ── */
.methode-inner { max-width: 40rem; padding: 2rem 0; }
.methode-inner h2 { margin-bottom: 1.5rem; }
.methode-inner p  { color: #2C3E44; margin-bottom: 1rem; font-size: .9375rem; }

.methode-conclusion {
  font-size: 1rem !important;
  font-weight: 500 !important;
  color: #222A30 !important;
  border-left: 2px solid #E54731;
  padding-left: 1rem;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.55 !important;
}

/* Placeholder article IA */
.article-ia-placeholder {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .875rem 1rem;
  background: rgba(44,62,68,.04);
  border-radius: 3px;
  margin-top: 1.5rem;
}

.article-ia-titre {
  font-size: .8125rem;
  color: #7A8E96;
  font-style: italic;
}

/* ── Layout deux colonnes interventions ── */
.editorial-cols {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  margin-top: 2.5rem;
}

.editorial-cas {
  display: flex;
  flex-direction: column;
  gap: .875rem;
}

.editorial-actu-label { margin-bottom: 1rem; display: block; }

.actu-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .875rem 0;
  border-bottom: 1px solid rgba(44,62,68,.13);
}

.actu-item:first-of-type { border-top: 1px solid rgba(44,62,68,.13); }

.actu-date { color: #7A8E96; font-size: .6875rem; }

.actu-title {
  font-size: .875rem;
  color: #222A30;
  line-height: 1.5;
  transition: color 150ms;
}

.actu-title:hover { color: #3D5A6B; }

.actu-empty { color: #7A8E96; padding: 1rem 0; }

.editorial-footer { margin-top: 2.5rem; }

/* ── Responsive homepage ── */
@media (max-width: 48rem) {
  .nav-toggle { display: flex; }
  .site-nav { display: none; }

  .cibles-grid { grid-template-columns: 1fr; }
  .cible { padding: 1.25rem 0; padding-left: 0 !important; padding-right: 0 !important; border-right: none; border-top: 1px solid rgba(44,62,68,.13); }
  .cible:first-child { border-top: none; padding-top: 0; }

  .editorial-cols { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ── Footer cookies mention ── */
.footer-cookies {
  font-size: .6875rem;
  color: rgba(240,239,234,.25);
  margin-top: 1.5rem;
  line-height: 1.5;
}

/* ── Sous-menu navigation ── */
.nav-item {
  position: relative;
}

.nav-item--has-sub > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-item--has-sub > a::after {
  content: '›';
  font-size: 12px;
  color: var(--c-mid);
  transition: transform 150ms;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 12px;
  z-index: 200;
}

.nav-sub-inner {
  background: #fff;
  border: 1px solid var(--c-border-md);
  border-radius: var(--r-lg);
  padding: .5rem 0;
  min-width: 220px;
}

.nav-item--has-sub:hover .nav-sub {
  display: block;
}

.nav-item--has-sub:hover > a::after {
  transform: rotate(90deg);
}

.nav-sub a {
  display: block;
  padding: .5rem 1rem;
  font-size: .8125rem;
  color: var(--c-dark) !important;
  border-bottom: none !important;
  white-space: nowrap;
  transition: background 150ms, color 150ms;
}

.nav-sub a:hover {
  background: var(--c-bg);
  color: var(--c-primary) !important;
}

/* ── Tarifs ── */
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s3);
  margin: var(--s4) 0 var(--s3);
}

@media (max-width: 720px) {
  .tarifs-grid { grid-template-columns: 1fr; }
}

.tarif-item {
  padding: var(--s4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  background: white;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
}

.tarif-label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-mid);
  margin: 0;
}

.tarif-desc {
  font-size: .875rem;
  color: var(--c-neutral);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.tarif-prix {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-dark);
  margin: 0;
  padding-top: var(--s2);
  border-top: 1px solid var(--c-border);
}

.tarif-note {
  color: var(--c-accent);
  font-size: .75rem;
  vertical-align: super;
}

.tarif-notes {
  margin: var(--s3) 0 var(--s2);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.tarif-notes .caption {
  color: var(--c-mid);
  line-height: 1.6;
}

/* ── Profil(s) ── */
.profiles-section {
  display: flex;
  flex-direction: column;
  gap: var(--s6);
  margin-top: var(--s4);
}

.profile-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--s5);
  align-items: start;
}

@media (max-width: 600px) {
  .profile-card {
    grid-template-columns: 1fr;
  }
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.profile-photo--placeholder {
  background: var(--c-pale);
}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s3);
  margin-bottom: var(--s2);
}

.profile-name {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-dark);
  margin: 0 0 4px;
}

.profile-titre {
  color: var(--c-mid);
  margin: 0;
}

.profile-linkedin {
  font-size: .8125rem;
  font-weight: 500;
  color: var(--c-primary);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.profile-linkedin:hover {
  color: var(--c-accent);
}

.profile-bio {
  font-size: .9375rem;
  color: var(--c-neutral);
  line-height: 1.75;
  margin: 0;
}

/* ── Feature image article ── */
.post-feature-image {
  margin: var(--s5) 0;
}

.post-feature-image img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r-lg);
  display: block;
}

/* ── Bio auteur ── */
.post-author {
  background: var(--c-bg);
  padding: var(--s6) 0;
  margin-top: var(--s6);
}

.post-author-inner {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--s4);
  align-items: start;
}

@media (max-width: 600px) {
  .post-author-inner { grid-template-columns: 1fr; }
}

.post-author-photo {
  width: 72px;
  height: 72px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
}

.post-author-name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  margin: var(--s1) 0 var(--s1);
}

.post-author-bio {
  font-size: .875rem;
  color: var(--c-neutral);
  line-height: 1.7;
  margin-bottom: var(--s2);
}

/* ── Bloc #une — article en exergue ── */
.section--une {
  background: var(--c-bg);
}

.une-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  align-items: center;
  margin-top: var(--s4);
}

@media (max-width: 720px) {
  .une-inner { grid-template-columns: 1fr; }
}

.une-image-wrap {
  display: block;
  border-radius: var(--r-lg);
  overflow: hidden;
}

.une-image {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 300ms;
}

.une-image-wrap:hover .une-image {
  transform: scale(1.02);
}

.une-title {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: var(--s2) 0 var(--s2);
}

.une-title a {
  color: var(--c-dark);
  text-decoration: none;
}

.une-title a:hover {
  color: var(--c-primary);
}

.une-excerpt {
  font-size: .9375rem;
  color: var(--c-neutral);
  line-height: 1.7;
  margin-bottom: var(--s3);
}

/* ══════════════════════════════════════════
   Layout images — Ghost Koenig editor
   Couvre : corps d'article, pages statiques,
   feature image, vignettes
══════════════════════════════════════════ */

/* ── Images dans le contenu éditeur ── */
.post-content img,
.page-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
  margin: var(--s4) 0;
}

/* ── Blocs Koenig (Ghost editor) ── */
.kg-image-card {
  margin: var(--s5) 0;
}

.kg-image-card img,
.kg-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-lg);
}

/* Légende sous image */
.kg-image-card figcaption,
.kg-card figcaption {
  font-size: .8125rem;
  color: var(--c-mid);
  text-align: center;
  margin-top: .5rem;
  line-height: 1.5;
}

/* ── Galerie Ghost ── */
.kg-gallery-card {
  margin: var(--s5) 0;
}

.kg-gallery-container {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.kg-gallery-row {
  display: flex;
  gap: .5rem;
}

.kg-gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r);
}

/* ── Largeurs étendues ── */
.kg-width-wide {
  margin-left: calc(50% - 50vw + 2.5rem);
  margin-right: calc(50% - 50vw + 2.5rem);
  max-width: calc(100vw - 5rem);
}

.kg-width-full {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  border-radius: 0;
}

/* ── Blocs vidéo et embed ── */
.kg-video-card,
.kg-embed-card {
  margin: var(--s5) 0;
}

.kg-video-card video {
  width: 100%;
  border-radius: var(--r-lg);
}

.kg-embed-card iframe {
  width: 100%;
  border: none;
  border-radius: var(--r-lg);
}

/* Ratio 16:9 pour les embeds YouTube etc. */
.kg-embed-card .fluid-width-video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.kg-embed-card .fluid-width-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ── Vignette article homepage ── */
.article-card-image-wrap {
  display: block;
  margin-bottom: var(--s3);
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--c-pale);
}

.article-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms;
}

.article-card-image-wrap:hover .article-card-image {
  transform: scale(1.02);
}

/* ══════════════════════════════════════════
   Ressources
══════════════════════════════════════════ */

/* ── Tag ressource ── */
.tag--ressource {
  background: rgba(61,90,107,.12);
  color: var(--c-primary);
}

/* ── Liste ressources ── */
.ressources-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ressource-item {
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--c-border);
}

.ressource-item:first-child {
  border-top: 1px solid var(--c-border);
}

.ressource-item--members {
  opacity: .7;
}

.ressource-meta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s1);
  flex-wrap: wrap;
}

.ressource-institution {
  font-weight: 500;
  color: var(--c-neutral);
}

.ressource-date {
  color: var(--c-mid);
}

.ressource-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  margin: 0 0 var(--s1);
  line-height: 1.4;
}

.ressource-title a {
  color: inherit;
  text-decoration: none;
}

.ressource-title a:hover {
  color: var(--c-primary);
}

.ressource-excerpt {
  font-size: .875rem;
  color: var(--c-neutral);
  line-height: 1.65;
  margin-bottom: var(--s2);
}

/* ── Gate membres ── */
.members-gate {
  padding: var(--s6) 0;
  background: var(--c-bg);
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin: var(--s5) 0;
}

.members-gate-inner {
  max-width: 480px;
}

.members-gate-title {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-dark);
  margin-bottom: var(--s2);
}

.members-gate-body {
  font-size: .9375rem;
  color: var(--c-neutral);
  line-height: 1.7;
  margin-bottom: var(--s4);
}

/* ── Section avec filet top (remplace section-rule inline) ── */
.section--ruled {
  border-top: 1px solid var(--c-border-md);
  padding-top: var(--s6);
}

.section--ruled::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  margin-bottom: var(--s4);
}

/* ── Bio longue À propos ── */
.bio-long {
  margin-top: var(--s4);
}

.bio-long p {
  font-size: .9375rem;
  color: var(--c-neutral);
  line-height: 1.8;
  margin-bottom: var(--s3);
}

.bio-long p:last-child {
  margin-bottom: 0;
  font-style: italic;
  color: var(--c-primary);
}

/* ── Ressource item avec image ── */
.ressource-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: var(--s4);
  align-items: start;
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--c-border);
}

.ressource-item:first-child {
  border-top: 1px solid var(--c-border);
}

@media (max-width: 600px) {
  .ressource-item {
    grid-template-columns: 1fr;
  }
}

.ressource-image-wrap {
  display: block;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--c-pale);
}

.ressource-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms;
}

.ressource-image-wrap:hover .ressource-image {
  transform: scale(1.02);
}

.ressource-body {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}

.ressource-meta {
  display: flex;
  align-items: center;
  gap: var(--s2);
  flex-wrap: wrap;
}

.ressource-sep {
  color: var(--c-mid);
}

/* Quand pas d'image : pleine largeur */
.ressource-item:not(:has(.ressource-image-wrap)) {
  grid-template-columns: 1fr;
}

/* ── Logos PNG ── */
.logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.logo-img--fonce { display: none; }

/* Sur fond sombre (hero, footer) — pas applicable en nav */
.site-footer .logo-img {
  height: 24px;
}
