/*
Theme Name: from scratch_
Description: Hello Elementor Child by from scratch_
Author: from scratch_
Author URI: https://www.from-scratch.fr
Template: hello-elementor
Version: 1.0.1
*/

/* ═══════════════════════════════ Polices — LittOceanes (Piste 4a) ═════════ */
@font-face {
  font-family: 'Novecento sans wide';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/novecento-sans-wide-light.woff') format('woff');
}
@font-face {
  font-family: 'Novecento sans wide';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/novecento-sans-wide-normal.woff') format('woff');
}
@font-face {
  font-family: 'Novecento sans wide';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/novecento-sans-wide-demibold.woff') format('woff');
}
@font-face {
  font-family: 'Novecento sans wide';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/novecento-sans-wide-demibold.woff') format('woff');
}

/* ═══════════════════════════════ Tokens de la charte ═════════════════════ */
:root {
  --lo-navy:   #1a177a;
  --lo-blue:   #4881f3;
  --lo-deep:   #274b74;
  --lo-steel:  #5e81a8;
  --lo-bg:     #ffffff;
  --lo-surface:#eef3fb;
  --lo-text:   #101c2c;
  --lo-divider:rgba(16,28,44,.13);
}

/* Titres Novecento en capitales, corps Montserrat (chargé via Elementor). */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Novecento sans wide', 'Jost', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
}

/* ═══════════════════ Utilitaires de mise en page (colonnes flex) ═════════ */
.lo-eq     { flex: 1 1 0 !important; min-width: 0 !important; }
.lo-inline { flex: 0 0 auto !important; width: fit-content !important; max-width: 100% !important; }
.lo-w62    { flex: 0 1 62% !important; min-width: 0; }
.lo-w60    { flex: 0 1 60% !important; min-width: 0; }
.lo-w42    { flex: 0 1 42% !important; min-width: 0; }
.lo-w34    { flex: 0 0 300px !important; }
.lo-tile   { flex: 0 0 calc(25% - 9px) !important; }
@media (max-width: 880px) {
  .lo-eq, .lo-w62, .lo-w60, .lo-w42, .lo-w34 { flex-basis: 100% !important; }
  .lo-tile { flex-basis: calc(50% - 6px) !important; }
}

/* ═══════════════════ Header (transparent en overlay sur l'accueil) ═══════ */
.lo-header { background: transparent; }
/* Overlay au-dessus du hero sur la page d'accueil (et pages à hero sombre) */
.home .elementor-location-header,
.lo-has-hero .elementor-location-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
}
.admin-bar.home .elementor-location-header,
.admin-bar.lo-has-hero .elementor-location-header { top: 32px; }
@media (max-width: 782px) {
  .admin-bar.home .elementor-location-header,
  .admin-bar.lo-has-hero .elementor-location-header { top: 46px; }
}
/* Fallback fond navy sur les autres pages (pas de hero derrière) */
body:not(.home) .lo-header { background: var(--lo-navy); }
/* ...sauf les pages à hero : header transparent (navy seulement au scroll) */
body.lo-has-hero .lo-header { background: transparent; }
/* Logo : la boîte blanche s'ajuste à l'image */
.lo-header .lo-inline { align-self: center; }
/* Sélecteur de langue GTranslate — pastille « FR | EN » comme la maquette */
.lo-gt, .lo-gt .elementor-widget-container, .lo-gt .elementor-shortcode { display: flex; align-items: center; }
.lo-gt .gtranslate_wrapper {
  display: inline-flex;
  flex-direction: row-reverse; /* affiche FR puis EN */
  align-items: stretch;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  overflow: hidden;
  line-height: 1;
  font-size: 11px;
}
.lo-gt .gtranslate_wrapper a.glink {
  padding: 6px 10px;
  color: rgba(255, 255, 255, .8);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: background .15s ease;
}
.lo-gt .gtranslate_wrapper a.glink:hover { color: #fff; }
.lo-gt .gtranslate_wrapper a.glink.gt-current-lang {
  background: #fff;
  color: var(--lo-navy);
  font-weight: 600;
}
/* La barre utilitaire passe en colonne sur mobile */
@media (max-width: 767px) {
  .lo-util { flex-wrap: wrap !important; row-gap: 8px; }
}

/* Hero : overlay dégradé fidèle à la maquette (au lieu d'un voile plat) */
.elementor-element-d68fc79::before,
.elementor-element-d68fc79 > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.62) 0%,
    rgba(16,28,44,.18) 34%,
    rgba(11,16,30,.72) 78%,
    rgba(11,16,30,.92) 100%) !important;
  opacity: 1 !important;
}

/* Barre principale (logo + menu) sticky au scroll — desktop */
@media (min-width: 1025px) {
  body.lo-stuck .lo-header > .e-con:not(.lo-util) {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    background: var(--lo-navy);
    box-shadow: 0 6px 24px rgba(11,16,30,.28);
    padding-top: 10px !important; padding-bottom: 10px !important;
    animation: lo-slidedown .32s ease;
  }
}
@keyframes lo-slidedown { from { transform: translateY(-100%); } to { transform: translateY(0); } }

/* Entrée de menu « Adhérer » : masquée par défaut, visible seulement en menu mobile */
.menu-item.lo-only-mobile { display: none !important; }

/* Chronologie : retirer la ligne verticale à droite du « 42 » (anomalie, desktop + mobile) */
.elementor-element-cf75aa0 { border-right: 0 !important; }

/* ─── Header mobile / tablette ─── */
@media (max-width: 1024px) {
  .lo-util { display: none !important; }                 /* cacher la top bar */

  /* Header FIXE : transparent au-dessus du hero, bleu foncé au scroll (comme desktop) */
  .elementor-location-header { position: fixed !important; top: 0 !important; left: 0; right: 0; z-index: 300 !important; }
  .lo-header { background: transparent !important; transition: background .3s ease; }
  body.lo-stuck .lo-header { background: var(--lo-navy) !important; box-shadow: 0 6px 20px rgba(11,16,30,.28); }
  body:not(.home) .lo-header { background: var(--lo-navy) !important; } /* pages sans hero */
  body.lo-has-hero:not(.lo-stuck) .lo-header { background: transparent !important; } /* pages à hero */

  /* main bar compacte : logo à gauche, burger à droite, une ligne */
  .lo-header > .e-con:not(.lo-util) { padding: 8px 18px !important; }
  .lo-header > .e-con:not(.lo-util) > .e-con-inner {
    flex-direction: row !important; flex-wrap: nowrap !important;
    align-items: center !important; justify-content: space-between !important; gap: 12px !important;
  }
  .lo-header .lo-inline { padding: 6px 10px !important; }
  .lo-header .lo-inline img { width: 96px !important; }
  .lo-header .elementor-widget-button { display: none !important; } /* ADHÉRER masqué */
  .lo-header .elementor-menu-toggle { display: flex !important; margin-left: auto; color: #fff !important; }
  .lo-header .elementor-menu-toggle i,
  .lo-header .elementor-menu-toggle svg { color: #fff !important; fill: #fff !important; }

  /* Menu déroulant pleine largeur : on force TOUS les ancêtres en static
     pour que le contexte de positionnement soit le header fixe lui-même */
  .lo-header, .lo-header .e-con, .lo-header .e-con-inner,
  .lo-header .elementor-widget-nav-menu,
  .lo-header .elementor-widget-nav-menu > .elementor-widget-container,
  .lo-header .elementor-nav-menu__container { position: static !important; }
  .lo-header .elementor-nav-menu--dropdown {
    position: absolute !important; top: 100% !important;
    left: 0 !important; right: 0 !important; width: 100% !important;
    border-radius: 0 !important; box-shadow: 0 14px 26px rgba(11,16,30,.22);
  }
  .lo-header .elementor-nav-menu--dropdown a.elementor-item {
    padding: 15px 24px !important; font-size: 15px !important;
  }
  .lo-header .elementor-nav-menu--dropdown .menu-item.lo-only-mobile { display: block !important; }
  .lo-header .elementor-nav-menu--dropdown .lo-menu-cta a.elementor-item {
    color: var(--lo-blue) !important; font-weight: 700 !important;
  }

  /* Hero : dégager le haut pour ne pas passer sous le header fixe */
  .elementor-element-d68fc79 { min-height: 560px !important; padding-top: 78px !important; }
  /* ligne basse de la frise masquée seulement en version empilée */
  .elementor-element-ca4f2b3 { border-bottom: 0 !important; }
}

/* Logos partenaires dans les tuiles (Loop Grid) : contenus, hauteur limitée */
.lo-logo-img img { max-height: 56px; width: auto; object-fit: contain; }

/* ═══════════════════ Section « Le fil » (shortcode sur-mesure) ═══════════ */
.lo-lefil {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 44px;
}
.lo-badge {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  background: #eef3f8; color: var(--lo-deep);
}
.lo-badge-blue { background: var(--lo-blue); color: #fff; }
.lo-date { font-size: 12px; color: #6d7b8a; font-variant-numeric: tabular-nums; }
.lo-lefil-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.lo-more { font-size: 13px; font-weight: 600; color: var(--lo-deep); }

/* Carte mise en avant */
.lo-lefil-feat { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.lo-lefil-feat-img {
  display: block; width: 100%; aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  border-radius: 28px; margin-bottom: 22px;
}
.lo-lefil-feat-title {
  font-size: 32px; line-height: 1.02; margin: 0 0 14px;
  color: var(--lo-text);
}
.lo-lefil-feat-excerpt {
  font-size: 15px; line-height: 1.62; margin: 0 0 12px;
  color: #38434f; max-width: 62ch;
}

/* Liste des suivantes */
.lo-lefil-list { display: flex; flex-direction: column; }
.lo-lefil-item {
  display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--lo-divider);
  text-decoration: none; color: inherit;
}
.lo-lefil-list .lo-lefil-item:first-child { padding-top: 0; }
.lo-lefil-item-img {
  width: 96px; height: 96px; border-radius: 16px;
  background-size: cover; background-position: center;
}
.lo-lefil-item-img--empty {
  background: repeating-linear-gradient(135deg, #dde5ee 0 8px, #eef3f8 8px 16px);
}
.lo-lefil-item-body { display: flex; flex-direction: column; }
.lo-lefil-item-title {
  font-family: 'Novecento sans wide', 'Jost', sans-serif;
  font-weight: 600; text-transform: uppercase;
  font-size: 17px; line-height: 1.1; margin: 6px 0 6px; color: var(--lo-text);
}
.lo-lefil-item-excerpt { font-size: 13px; line-height: 1.55; color: #52606d; }

@media (max-width: 900px) {
  .lo-lefil { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .lo-lefil-item { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; }
  .lo-lefil-item-img { width: 72px; height: 72px; }
}

/* Le fil — effets au survol (zoom image, titre, flèche) */
.lo-lefil-feat-img, .lo-lefil-item-img { overflow: hidden; position: relative; }
.lo-lefil-feat-img::before, .lo-lefil-item-img::before {
  content: ''; position: absolute; inset: 0;
  background-image: inherit; background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.lo-lefil-feat:hover .lo-lefil-feat-img::before,
.lo-lefil-item:hover .lo-lefil-item-img::before { transform: scale(1.07); }
.lo-lefil-feat-title, .lo-lefil-item-title { transition: color .2s ease; }
.lo-lefil-feat:hover .lo-lefil-feat-title,
.lo-lefil-item:hover .lo-lefil-item-title { color: var(--lo-deep); }
.lo-lefil-feat .lo-more { display: inline-block; transition: transform .2s ease; }
.lo-lefil-feat:hover .lo-more { transform: translateX(4px); }

/* Chronologie — apparition en fondu séquentiel + compteur */
.lo-tl-cell.lo-pending { opacity: 0; transform: translateY(14px); }
.lo-tl-cell.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }

/* Quatre familles — léger glissement lent et subtil de l'image au survol
   + apparition en cascade (fondu séquentiel au scroll) */
.lo-fam {
  background-position: 56% 50% !important;
  transition: background-position 5s ease-out, opacity .7s ease, transform .7s ease;
}
.lo-fam:hover { background-position: 44% 50% !important; }
.lo-fam.lo-pending { opacity: 0; transform: translateY(22px); }

/* ═══════════════════ Section Ressources (shortcode + filtres) ════════════ */
.lo-res-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.lo-res-filters .lo-chip {
  font-size: 12px; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--lo-divider); background: #fff; color: var(--lo-text);
  cursor: pointer; font-family: 'Montserrat', system-ui, sans-serif; font-weight: 500;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.lo-res-filters .lo-chip:hover,
.lo-res-filters .lo-chip:focus {
  background: #fff; border-color: var(--lo-blue); color: var(--lo-blue); outline: none;
}
.lo-res-filters .lo-chip.is-active,
.lo-res-filters .lo-chip.is-active:hover,
.lo-res-filters .lo-chip.is-active:focus {
  background: var(--lo-blue); border-color: var(--lo-blue); color: #fff;
}
.lo-res-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lo-res-card { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: inherit; }
.lo-res-img {
  display: block; position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 3 / 2; border-radius: 16px;
  background-size: cover; background-position: center;
}
.lo-res-img::before {
  content: ''; position: absolute; inset: 0;
  background-image: inherit; background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.lo-res-card:hover .lo-res-img::before { transform: scale(1.07); }
.lo-res-type {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: #fff; color: var(--lo-navy);
  font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
}
.lo-res-title {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 19px; line-height: 1.08; color: var(--lo-text); transition: color .2s ease;
}
.lo-res-card:hover .lo-res-title { color: var(--lo-deep); }
.lo-res-desc { font-size: 13px; line-height: 1.55; color: #52606d; }
@media (max-width: 900px) { .lo-res-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lo-res-grid { grid-template-columns: 1fr; } }

/* ═══════════════════ Footer — newsletter & bas de page ═══════════════════ */
.lo-nl .elementor-field-type-acceptance label {
  color: rgba(255, 255, 255, .68) !important;
  font-size: 10.5px !important; line-height: 1.4 !important;
}
.lo-nl .elementor-button {
  background: var(--lo-blue); color: #fff; width: 100%;
  border-radius: 999px; padding: 12px 22px;
  font-family: 'Novecento sans wide', 'Jost', sans-serif;
  font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: 13px;
  transition: background .15s ease;
}
.lo-nl .elementor-button:hover,
.lo-nl .elementor-button:focus { background: var(--lo-deep); color: #fff; outline: none; }

/* ═══════════════════════════════ Responsive ══════════════════════════════ */
/* Titres qui s'adaptent (le hero et les grands H2) */
@media (max-width: 1024px) {
  .lo-fs-hero .elementor-heading-title { font-size: 58px !important; }
  .lo-fs-xl .elementor-heading-title   { font-size: 40px !important; }
}
@media (max-width: 768px) {
  .lo-fs-hero .elementor-heading-title { font-size: 42px !important; line-height: 1 !important; }
  .lo-fs-xl .elementor-heading-title   { font-size: 32px !important; }
  /* Familles : 2 colonnes sur tablette */
  .lo-fam { flex-basis: calc(50% - 7px) !important; min-height: 320px !important; }
}
@media (max-width: 560px) {
  .lo-fs-hero .elementor-heading-title { font-size: 33px !important; }
  .lo-fs-xl .elementor-heading-title   { font-size: 27px !important; }
  .lo-fam { flex-basis: 100% !important; }
}

/* Champ d'acceptation RGPD : case alignée en haut + espacement (évite le chevauchement) */
.elementor-field-type-acceptance .elementor-field-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.elementor-field-type-acceptance .elementor-field-option input[type="checkbox"] {
  flex: 0 0 auto;
  margin-top: 3px;
}

/* ═══════════════════ Page « Nous connaître » ═════════════════════════════ */
/* Hero : dégradé fidèle à la maquette (navy en haut, éclairci au milieu, sombre en bas) */
.lo-nc-hero { padding-top: 90px; }
.lo-nc-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.70) 0%,
    rgba(16,28,44,.35) 40%,
    rgba(11,16,30,.85) 100%) !important;
  opacity: 1 !important;
}

/* Fil d'ariane Rank Math */
.lo-nc-breadcrumb .elementor-widget-container { margin: 0; }
.lo-nc-breadcrumb .rank-math-breadcrumb p {
  margin: 0; font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 11.5px; color: rgba(255,255,255,.72);
}
.lo-nc-breadcrumb .rank-math-breadcrumb a { color: rgba(255,255,255,.72); text-decoration: none; }
.lo-nc-breadcrumb .rank-math-breadcrumb a:hover { color: #fff; }
.lo-nc-breadcrumb .rank-math-breadcrumb .separator { color: rgba(255,255,255,.45); margin: 0 6px; }
.lo-nc-breadcrumb .rank-math-breadcrumb .last { color: rgba(255,255,255,.9); }

/* Grille sommaire + contenu */
.lo-nc-grid { align-items: flex-start !important; }
.lo-nc-toc  { flex: 0 0 216px !important; position: sticky; top: 118px; align-self: flex-start; }
.lo-nc-body { flex: 1 1 0 !important; min-width: 0 !important; }

/* Bouton d'adhésion HelloAsso */
.lo-adhesion { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.lo-adhesion-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lo-blue); color: #fff; text-decoration: none;
  font-family: 'Novecento sans wide', 'Jost', sans-serif;
  font-weight: 600; text-transform: uppercase; font-size: 13.5px; letter-spacing: .03em;
  padding: 14px 24px; border-radius: 999px;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
/* Sélecteurs renforcés : la couleur des liens du kit Elementor écrasait le blanc au survol. */
.lo-adhesion a.lo-adhesion-btn { color: #fff; }
.lo-adhesion a.lo-adhesion-btn:hover,
.lo-adhesion a.lo-adhesion-btn:focus-visible {
  background: #fff; color: var(--lo-navy);
  box-shadow: 0 8px 22px -8px rgba(0,0,0,.45); transform: translateY(-1px);
}
.lo-adhesion-arrow { transition: transform .15s ease; }
.lo-adhesion-btn:hover .lo-adhesion-arrow { transform: translateX(3px); }
.lo-adhesion-ha { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .02em; }
.lo-adhesion-ha strong { color: rgba(255,255,255,.85); font-weight: 700; }

/* Sommaire */
.lo-nc-nav .elementor-widget-container { padding: 0 !important; }
.lo-nc-navinner {
  display: flex; flex-direction: column; gap: 11px;
  border-left: 2px solid var(--lo-divider); padding-left: 16px;
}
.lo-nc-navinner a {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 13.5px; color: #52606d; text-decoration: none;
  transition: color .15s ease, transform .15s ease;
}
.lo-nc-navinner a:hover { color: var(--lo-deep); }
.lo-nc-navinner a.is-active { color: var(--lo-deep); font-weight: 700; transform: translateX(2px); }
.lo-nc-pdf .elementor-button { border: 1px solid var(--lo-divider); }
.lo-nc-pdf .elementor-button:hover { border-color: var(--lo-deep); color: var(--lo-deep) !important; background: transparent !important; }

/* Sections ancrées : dégager le header sticky */
.lo-nc-sec { scroll-margin-top: 110px; }
.lo-nc-sec > .e-con-inner > *, .lo-nc-sec > * { margin-bottom: 0; }

/* Titres de section (filet navy au-dessus) */
.lo-nc-h2 { border-top: 2px solid var(--lo-navy); padding-top: 18px; margin-top: 10px; margin-bottom: 18px; }
.lo-nc-body > .e-con:first-child .lo-nc-h2:first-child { margin-top: 0; }
.lo-nc-lead .elementor-widget-container { max-width: 64ch; }
.lo-nc-lead + * { margin-top: 20px; }
.lo-nc-h2 + * { margin-top: 0; }
.lo-nc-sub { margin-top: 30px; margin-bottom: 14px; letter-spacing: .02em; }

/* Espacement interne d'une section (les widgets s'enchaînent) */
.lo-nc-sec .elementor-widget-text-editor { margin-bottom: 22px; }
.lo-nc-sec .elementor-widget-text-editor:last-child { margin-bottom: 0; }

/* Photo de calage */
.lo-nc-photo { overflow: hidden; margin: 4px 0 0; }
.lo-nc-photo-cap .elementor-widget-container {
  padding: 16px 20px;
  background: linear-gradient(to top, rgba(11,16,30,.85), rgba(11,16,30,0));
}

/* Cartes histoire (LittOcean / APEEM) : 50px au-dessus/en dessous, sans contour */
.lo-nc-cards { margin: 50px 0 !important; }
.lo-nc-card { border: 0 !important; }

/* Citation (bloc image navy) */
.lo-nc-quote { margin: 6px 0 26px; }
.lo-nc-quote-txt .elementor-heading-title { max-width: 80%; }

/* Vision — 2 colonnes de principes */
.lo-nc-vision-h { margin: 4px 0 14px; }
.lo-nc-vision-h .elementor-heading-title { max-width: 60%; }
.lo-nc-grid2 { margin-top: 22px; }
.lo-nc-grid2 > .e-con-inner {
  display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px 36px;
  width: 100%;
}
.lo-nc-grid2 .lo-nc-princ { margin-bottom: 0 !important; }
.lo-nc-princ .elementor-widget-container { padding: 12px 0; border-top: 1px solid var(--lo-divider); }

/* Gouvernance — trombinoscope (portrait + nom + rôle) */
.lo-nc-people { margin: 22px 0 20px; }
.lo-nc-people > .e-con-inner {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 190px)); gap: 26px 20px;
  width: 100%;
}
.lo-nc-person { gap: 0 !important; }
.lo-nc-portrait {
  width: 100%; aspect-ratio: 3 / 4; border-radius: 12px; margin-bottom: 9px;
  overflow: hidden;
}
/* Cadre vide : placeholder rayé ; avec photo : la photo couvre le cadre */
.lo-nc-portrait:not(.lo-nc-portrait--photo) {
  background: repeating-linear-gradient(135deg, #dde5ee 0 8px, #eef3f8 8px 16px);
}
.lo-nc-portrait--photo {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}
.lo-nc-person-name { margin-bottom: 2px !important; }
.lo-nc-person .elementor-widget-text-editor { margin-bottom: 0 !important; }
.lo-nc-person-role .elementor-widget-container { margin: 0; }
.lo-nc-note .elementor-widget-container { padding-top: 6px; }

/* Bandeau « Nous rejoindre » */
.lo-nc-rejoindre { scroll-margin-top: 110px; }

/* Responsive */
@media (max-width: 1024px) {
  .lo-nc-people > .e-con-inner { grid-template-columns: repeat(2, minmax(0, 170px)); }
}
@media (max-width: 900px) {
  .lo-nc-grid { flex-direction: column !important; }
  .lo-nc-toc  { position: static !important; width: 100% !important; flex-basis: 100% !important; }
  .lo-nc-navinner { flex-flow: row wrap; border-left: 0; border-top: 2px solid var(--lo-divider); padding: 14px 0 0; gap: 8px 18px; }
  .lo-nc-grid2 > .e-con-inner { grid-template-columns: 1fr; }
  .lo-nc-cards .lo-nc-card { flex-basis: 100% !important; }
  .lo-nc-vision-h .elementor-heading-title { max-width: 100%; }
}
@media (max-width: 560px) {
  .lo-nc-people > .e-con-inner { grid-template-columns: repeat(2, 1fr); }
  .lo-nc-hero  { padding-top: 78px; }
}

/* ═══════════════════ Page « Nos membres » ════════════════════════════════ */
/* Hero : image N&B + voile navy dégradé (comme la maquette) */
.lo-mb-hero { padding-top: 116px !important; min-height: 380px !important; }
.lo-mb-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom, rgba(11,16,30,.6), rgba(26,23,122,.88)) !important;
  mix-blend-mode: multiply; opacity: 1 !important;
}
.lo-mb-hero .lo-fs-hero .elementor-heading-title { margin: 0; }

/* Barre supérieure : compteur + bascule Liste/Grille */
.lo-mb-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap; margin-bottom: 26px;
}
.lo-mb-count { font-size: 13px; color: var(--lo-text); }
.lo-mb-count strong { font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; }
.lo-mb-view { display: inline-flex; border: 1px solid var(--lo-divider); border-radius: 999px; overflow: hidden; }
.lo-mb-viewbtn {
  padding: 8px 18px; font-size: 12.5px; background: #fff; color: var(--lo-deep);
  border: 0; cursor: pointer; font-family: 'Montserrat', system-ui, sans-serif; font-weight: 600;
  transition: background .15s ease, color .15s ease;
}
.lo-mb-viewbtn.is-active { background: var(--lo-navy); color: #fff; }

/* Grille : sidebar + liste */
.lo-mb-grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 44px; align-items: start; }
.lo-mb-side { position: sticky; top: 110px; }

/* Recherche */
.lo-mb-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--lo-surface); border-radius: 999px; padding: 0 14px; min-height: 42px; margin-bottom: 22px;
  color: var(--lo-deep);
}
.lo-mb-searchinput {
  border: 0 !important; background: transparent !important; outline: none !important;
  box-shadow: none !important; -webkit-appearance: none; appearance: none;
  width: 100%; padding: 0 !important; margin: 0; min-height: 0;
  font-family: 'Montserrat', system-ui, sans-serif; font-size: 12.5px; color: var(--lo-text);
}
.lo-mb-searchinput:focus, .lo-mb-searchinput:focus-visible {
  border: 0 !important; outline: none !important; box-shadow: none !important;
}
.lo-mb-searchinput::placeholder { color: #6d7b8a; }
.lo-mb-searchinput::-webkit-search-decoration,
.lo-mb-searchinput::-webkit-search-cancel-button { -webkit-appearance: none; }
/* focus visible sur la pastille entière */
.lo-mb-search:focus-within { box-shadow: 0 0 0 2px rgba(72,129,243,.35); }

/* Filtres */
.lo-mb-side-h {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 13px; color: #6d7b8a; margin-bottom: 12px;
}
.lo-mb-filters { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.lo-mb-radio {
  display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--lo-text);
  cursor: pointer; font-family: 'Montserrat', system-ui, sans-serif;
}
.lo-mb-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.lo-mb-dot {
  flex: 0 0 auto; width: 15px; height: 15px; border-radius: 50%;
  border: 1.5px solid #b9c6d6; transition: border-color .15s ease, box-shadow .15s ease;
}
.lo-mb-radio input:checked + .lo-mb-dot { border-color: var(--lo-blue); box-shadow: inset 0 0 0 3.5px var(--lo-blue); }
.lo-mb-radio input:focus-visible + .lo-mb-dot { outline: 2px solid var(--lo-blue); outline-offset: 2px; }
.lo-mb-radio em { color: #6d7b8a; font-style: normal; }

/* Index alphabétique */
.lo-mb-alpha { display: flex; gap: 3px; flex-wrap: wrap; }
.lo-mb-letterlink {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; font-size: 13px;
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  color: var(--lo-deep); text-decoration: none; transition: background .15s ease, color .15s ease;
}
a.lo-mb-letterlink:hover { background: var(--lo-surface); }
.lo-mb-letterlink.is-off { color: #b9c6d6; pointer-events: none; }

/* Liste */
.lo-mb-group { scroll-margin-top: 100px; }
.lo-mb-letter {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; font-size: 28px; line-height: 1;
  color: var(--lo-navy); padding-bottom: 10px; margin: 34px 0 4px; border-bottom: 2px solid var(--lo-blue);
}
.lo-mb-group:first-child .lo-mb-letter { margin-top: 0; }
.lo-mb-row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--lo-divider); text-decoration: none; color: inherit;
}
.lo-mb-media {
  width: 64px; height: 64px; flex: 0 0 auto;
  background-size: cover; background-position: center;
}
.lo-mb-media--logo { border-radius: 14px; background-color: var(--lo-surface); display: grid; place-items: center; }
.lo-mb-media--person { border-radius: 50%; }
.lo-mb-media--person.is-empty { background: repeating-linear-gradient(135deg, #dde5ee 0 7px, #eef3f8 7px 14px); }
.lo-mb-media-ph { font: 8.5px ui-monospace, Menlo, monospace; color: #6d7b8a; }
.lo-mb-body { display: flex; flex-direction: column; gap: 6px; }
.lo-mb-name {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 17px; line-height: 1.1; color: var(--lo-text); transition: color .2s ease;
}
.lo-mb-row:hover .lo-mb-name { color: var(--lo-deep); }
.lo-mb-badge {
  align-self: flex-start; font-size: 10.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px;
}
.lo-mb-badge--fondateur { background: #e7eefb; color: var(--lo-navy); }
.lo-mb-badge--actif { background: var(--lo-surface); color: var(--lo-deep); }
.lo-mb-desc { font-size: 13px; line-height: 1.55; color: #38434f; }
.lo-mb-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; white-space: nowrap; }
.lo-mb-since { font-size: 12px; color: #6d7b8a; }
.lo-mb-link { font-size: 12.5px; font-weight: 600; color: var(--lo-deep); transition: transform .15s ease; }
.lo-mb-row:hover .lo-mb-link { transform: translateX(3px); }
.lo-mb-empty { color: #6d7b8a; padding: 30px 0; }

/* Vue Grille */
.lo-mb-list.is-grid .lo-mb-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.lo-mb-list.is-grid .lo-mb-letter { grid-column: 1 / -1; }
.lo-mb-list.is-grid .lo-mb-row {
  grid-template-columns: 1fr; grid-auto-rows: min-content; gap: 12px; align-items: start;
  padding: 20px; border: 1px solid var(--lo-divider); border-radius: 16px;
}
.lo-mb-list.is-grid .lo-mb-media { width: 72px; height: 72px; }
.lo-mb-list.is-grid .lo-mb-meta { align-items: flex-start; text-align: left; }

/* Responsive */
@media (max-width: 900px) {
  .lo-mb-grid { grid-template-columns: 1fr; gap: 26px; }
  .lo-mb-side { position: static; }
  .lo-mb-row { grid-template-columns: 56px minmax(0, 1fr); }
  .lo-mb-media { width: 56px; height: 56px; }
  .lo-mb-meta { grid-column: 2; align-items: flex-start; text-align: left; flex-direction: row; gap: 14px; margin-top: 2px; }
  .lo-mb-hero { padding-top: 78px; }
}
@media (max-width: 480px) {
  .lo-mb-list.is-grid .lo-mb-group { grid-template-columns: 1fr; }
}

/* ═══════════════════ Page « Activités » ══════════════════════════════════ */
.lo-ac-hero { padding-top: 130px !important; min-height: 460px !important; }
.lo-ac-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.72) 0%, rgba(16,28,44,.30) 42%, rgba(11,16,30,.9) 100%) !important;
  opacity: 1 !important;
}
.lo-ac-intro .elementor-widget-container { max-width: 74ch; }

/* Méthodologie : liste à puces sur 2 colonnes */
.lo-ac-method { list-style: none; margin: 0; padding: 0; column-count: 2; column-gap: 44px; }
.lo-ac-method li {
  break-inside: avoid; position: relative; padding-left: 24px; margin-bottom: 14px;
  font-size: 14.5px; line-height: 1.6; color: var(--lo-text);
}
.lo-ac-method li::before {
  content: ''; position: absolute; left: 0; top: 8px; width: 9px; height: 9px;
  border-radius: 50%; background: var(--lo-blue);
}
@media (max-width: 780px) {
  .lo-ac-method { column-count: 1; }
  .lo-ac-hero { padding-top: 92px !important; }
}

/* ═══════════════════ Page « Partenaires » ════════════════════════════════ */
.lo-pt-hero { padding-top: 130px !important; min-height: 380px !important; }
.lo-pt-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.74) 0%, rgba(16,28,44,.32) 42%, rgba(11,16,30,.9) 100%) !important;
  opacity: 1 !important;
}

.lo-pt { margin-top: 26px; }
.lo-pt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lo-pt-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: #fff; border: 1px solid var(--lo-divider); border-radius: 18px;
  padding: 24px; text-decoration: none; color: inherit;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.lo-pt-card:hover {
  border-color: rgba(72,129,243,.5); transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(11,16,30,.10);
}
.lo-pt-logo {
  width: 100%; height: 96px; display: grid; place-items: center;
  background: var(--lo-surface); border-radius: 12px; overflow: hidden; padding: 14px;
}
.lo-pt-logo img { max-width: 100%; max-height: 68px; width: auto; object-fit: contain; }
.lo-pt-logo-txt {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 15px; color: var(--lo-navy); text-align: center;
}
.lo-pt-name {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 18px; line-height: 1.1; color: var(--lo-text); transition: color .2s ease;
}
.lo-pt-card:hover .lo-pt-name { color: var(--lo-deep); }
.lo-pt-desc { font-size: 13px; line-height: 1.55; color: #52606d; }
.lo-pt-more { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--lo-deep); transition: transform .15s ease; }
.lo-pt-card:hover .lo-pt-more { transform: translateX(3px); }

/* Partenaires média */
.lo-pt-mediahead {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 20px; color: var(--lo-text); margin: 46px 0 18px;
  padding-top: 22px; border-top: 1px solid var(--lo-divider);
}
.lo-pt-media-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lo-pt-media-item {
  display: grid; place-items: center; min-height: 84px; padding: 16px;
  background: #fff; border: 1px solid var(--lo-divider); border-radius: 14px;
  text-decoration: none; transition: border-color .18s ease, transform .18s ease;
}
.lo-pt-media-item:hover { border-color: rgba(72,129,243,.5); transform: translateY(-2px); }
.lo-pt-media-item img { max-width: 100%; max-height: 50px; width: auto; object-fit: contain; }
.lo-pt-media-txt {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 14px; color: var(--lo-deep); text-align: center;
}

@media (max-width: 900px) {
  .lo-pt-grid { grid-template-columns: 1fr 1fr; }
  .lo-pt-media-grid { grid-template-columns: 1fr 1fr; }
  .lo-pt-hero { padding-top: 92px !important; }
}
@media (max-width: 560px) {
  .lo-pt-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════ Fiche partenaire (single) ═══════════════════════════ */
.lo-ps-hero {
  position: relative; background: var(--lo-navy);
  padding: 130px 32px 40px; min-height: 340px;
  display: flex; align-items: flex-end;
  background-image: linear-gradient(to bottom, rgba(26,23,122,.85), rgba(11,16,30,.95));
}
.lo-ps-hero-inner { max-width: 1280px; margin: 0 auto; width: 100%; }
.lo-ps-bc { margin-bottom: 12px; }
.lo-ps-eyebrow {
  display: block; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  color: #8dabf8; font-size: 11.5px; margin-bottom: 12px; font-family: 'Montserrat', system-ui, sans-serif;
}
.lo-ps-title {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 52px; line-height: .98; color: #fff; margin: 0;
}
.lo-ps-body {
  max-width: 1280px; margin: 0 auto; padding: 50px 32px 64px;
  display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 52px; align-items: start;
}
.lo-ps-side { position: sticky; top: 110px; display: flex; flex-direction: column; gap: 16px; }
.lo-ps-logo {
  background: #fff; border: 1px solid var(--lo-divider); border-radius: 18px; padding: 24px;
  display: grid; place-items: center;
}
.lo-ps-logo img { max-width: 100%; max-height: 120px; width: auto; object-fit: contain; }
.lo-ps-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--lo-blue); color: #fff !important; text-decoration: none;
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 13px; letter-spacing: .03em; padding: 13px 22px; border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}
.lo-ps-btn:hover, .lo-ps-btn:focus {
  background: var(--lo-deep); color: #fff !important; transform: translateY(-1px); outline: none;
}
.lo-ps-back { font-size: 13px; font-weight: 600; color: var(--lo-deep); text-decoration: none; }
.lo-ps-back:hover { color: var(--lo-navy); }
.lo-ps-lead { font-size: 18px; line-height: 1.6; color: var(--lo-text); margin: 0 0 26px; max-width: 64ch; }
.lo-ps-h2 {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 26px; line-height: 1; color: var(--lo-navy);
  padding-top: 20px; margin: 30px 0 16px; border-top: 2px solid var(--lo-navy);
}
.lo-ps-rich { font-size: 15.5px; line-height: 1.68; color: #38434f; max-width: 66ch; }
.lo-ps-rich p { margin: 0 0 16px; }
.lo-ps-docs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lo-ps-docs a {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--lo-surface); border: 1px solid var(--lo-divider); border-radius: 12px;
  padding: 13px 18px; text-decoration: none; color: var(--lo-deep); font-weight: 600; font-size: 14px;
  transition: border-color .15s ease, background .15s ease;
}
.lo-ps-docs a:hover { border-color: var(--lo-blue); background: #fff; }
.lo-ps-empty { font-size: 15.5px; color: #52606d; }

@media (max-width: 900px) {
  .lo-ps-body { grid-template-columns: 1fr; gap: 28px; }
  .lo-ps-side { position: static; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .lo-ps-logo { flex: 0 0 auto; }
  .lo-ps-title { font-size: 38px; }
  .lo-ps-hero { padding-top: 96px; min-height: 280px; }
}

/* ═══════════════════ Page « Ressources » ═════════════════════════════════ */
.lo-rs-hero { padding-top: 130px !important; min-height: 460px !important; }
.lo-rs-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.74) 0%, rgba(16,28,44,.32) 42%, rgba(11,16,30,.9) 100%) !important;
  opacity: 1 !important;
}

/* Barre d'outils : filtres à gauche, recherche à droite */
.lo-res-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px 24px; flex-wrap: wrap; margin-bottom: 28px;
}
.lo-res-toolbar .lo-res-filters { margin-bottom: 0; }
.lo-res-search {
  display: flex; align-items: center; gap: 10px; flex: 0 0 auto; min-width: 280px;
  background: var(--lo-surface); border-radius: 999px; padding: 0 16px; min-height: 44px; color: var(--lo-deep);
}
.lo-res-searchinput {
  border: 0 !important; background: transparent !important; outline: none !important; box-shadow: none !important;
  -webkit-appearance: none; appearance: none; width: 100%; padding: 0 !important; margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif; font-size: 13px; color: var(--lo-text);
}
.lo-res-searchinput::placeholder { color: #6d7b8a; }
.lo-res-search:focus-within { box-shadow: 0 0 0 2px rgba(72,129,243,.35); }

/* Mots-clés sous chaque carte */
.lo-res-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.lo-res-tag {
  font-size: 10.5px; font-weight: 600; letter-spacing: .02em;
  padding: 3px 9px; border-radius: 999px; background: var(--lo-surface); color: var(--lo-deep);
}
.lo-res-empty { color: #6d7b8a; padding: 20px 0; }

@media (max-width: 620px) {
  .lo-res-search { min-width: 0; width: 100%; }
}

/* ═══════════════════ Fiche ressource (single) — variantes ════════════════ */
.lo-ps-visual { margin: 0; }
.lo-ps-visual img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: 16px; border: 1px solid var(--lo-divider);
}
.lo-ps-copyright { font-size: 11px; color: #6d7b8a; margin-top: 8px; }
.lo-ps-btn--ghost {
  background: #fff !important; color: var(--lo-deep) !important;
  border: 1px solid var(--lo-divider);
}
.lo-ps-btn--ghost:hover, .lo-ps-btn--ghost:focus {
  background: var(--lo-surface) !important; color: var(--lo-navy) !important; border-color: var(--lo-blue);
}
.lo-ps-kind {
  display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--lo-blue); margin-bottom: 12px;
}
.lo-rs-single-tags { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--lo-divider); }
.lo-ps-tagslabel {
  display: block; font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 12.5px; color: #6d7b8a; margin-bottom: 10px;
}

/* ═══════════════════ Fiche membre (single) — variantes ═══════════════════ */
.lo-ps-photo {
  width: 100%; aspect-ratio: 1 / 1; max-width: 220px; border-radius: 50%; overflow: hidden;
  background: var(--lo-surface); border: 1px solid var(--lo-divider);
}
.lo-ps-photo img { width: 100%; height: 100%; object-fit: cover; }
.lo-ps-photo--empty { background: repeating-linear-gradient(135deg, #dde5ee 0 8px, #eef3f8 8px 16px); }
.lo-ps-since { font-size: 13px; color: #52606d; margin: 0; }
.lo-ps-info {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px;
}
.lo-ps-info div { border-top: 1px solid var(--lo-divider); padding-top: 12px; }
.lo-ps-info dt {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 11px; letter-spacing: .04em; color: #6d7b8a; margin-bottom: 4px;
}
.lo-ps-info dd { margin: 0; font-size: 16px; color: var(--lo-text); }
@media (max-width: 560px) { .lo-ps-info { grid-template-columns: 1fr; } }

/* ═══════════════════ Page « France-Québec » ══════════════════════════════ */
.lo-fq-hero { padding-top: 130px !important; min-height: 460px !important; }
.lo-fq-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.74) 0%, rgba(16,28,44,.32) 42%, rgba(11,16,30,.9) 100%) !important;
  opacity: 1 !important;
}
.lo-fq-card { transition: transform .18s ease, box-shadow .18s ease; }
.lo-fq-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11,16,30,.10); }
@media (max-width: 780px) { .lo-fq-hero { padding-top: 92px !important; } }

/* ═══════════════════ Page « Contact » ════════════════════════════════════ */
.lo-ct-hero { padding-top: 130px !important; min-height: 400px !important; }
.lo-ct-hero > .elementor-background-overlay {
  background: linear-gradient(to bottom,
    rgba(26,23,122,.74) 0%, rgba(16,28,44,.32) 42%, rgba(11,16,30,.9) 100%) !important;
  opacity: 1 !important;
}
.lo-ct-join .lo-adhesion { margin-top: 4px; }

/* Formulaire de contact (Elementor Form) */
.lo-ct-form .elementor-field-group { margin-bottom: 16px; }
.lo-ct-form .elementor-field-label {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 11.5px; letter-spacing: .03em; color: #6d7b8a; margin-bottom: 6px;
}
.lo-ct-form input[type="text"],
.lo-ct-form input[type="email"],
.lo-ct-form textarea {
  width: 100%; border: 1px solid var(--lo-divider); border-radius: 12px; padding: 12px 15px;
  background: #fff; font-family: 'Montserrat', system-ui, sans-serif; font-size: 14px; color: var(--lo-text);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lo-ct-form input:focus,
.lo-ct-form textarea:focus {
  border-color: var(--lo-blue); outline: none; box-shadow: 0 0 0 2px rgba(72,129,243,.2);
}
.lo-ct-form .elementor-button {
  background: var(--lo-blue); color: #fff; border-radius: 999px; padding: 14px 28px;
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; font-size: 13.5px; transition: background .15s ease, transform .15s ease;
}
.lo-ct-form .elementor-button:hover { background: var(--lo-deep); transform: translateY(-1px); }
.lo-ct-form .elementor-field-type-acceptance label {
  color: #6d7b8a !important; font-size: 11.5px !important; line-height: 1.5 !important;
}

@media (max-width: 880px) { .lo-ct-hero { padding-top: 92px !important; } }

/* ─── Header sur écrans intermédiaires (1025–1339px) ───
   Le menu complet ne tient sur une ligne qu'au-delà de ~1340px : en dessous,
   on compacte la barre (paddings, gaps, typo) pour éviter le retour à la ligne
   qui faisait chevaucher le hero. En dessous de 1025px : menu burger (voir plus haut). */
@media (min-width: 1025px) and (max-width: 1339px) {
  .lo-header > .e-con:not(.lo-util) { padding-left: 26px !important; padding-right: 26px !important; }
  .lo-header > .e-con:not(.lo-util) > .e-con-inner { flex-wrap: nowrap !important; gap: 16px !important; }
  .lo-header .lo-inline { gap: 12px !important; }
  .lo-header .lo-inline img { width: 104px !important; }
  .lo-header .elementor-nav-menu--main .elementor-item {
    padding-left: 9px !important; padding-right: 9px !important;
    font-size: 12px !important; letter-spacing: .2px !important;
  }
  .lo-header .elementor-widget-button .elementor-button {
    padding: 9px 15px !important; font-size: 12px !important;
  }
}

/* ═══════════════════ Page « Actualités » (blog) ══════════════════════════ */
.lo-blog-hero {
  position: relative; background: var(--lo-navy) center/cover no-repeat;
  padding: 130px 32px 46px; min-height: 440px; display: flex; align-items: flex-end;
}
.lo-blog-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,23,122,.74) 0%, rgba(16,28,44,.34) 42%, rgba(11,16,30,.9) 100%);
}
.lo-blog-hero-inner { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; width: 100%; }
.lo-blog-sub { color: rgba(255,255,255,.84); font-size: 15px; line-height: 1.55; margin: 12px 0 0; max-width: 640px; }

.lo-blog-wrap { max-width: 1280px; margin: 0 auto; padding: 56px 32px 64px; }
.lo-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }
.lo-blog-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.lo-blog-img {
  display: block; position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16 / 10; border-radius: 18px; margin-bottom: 16px;
  background: var(--lo-surface) center/cover no-repeat;
}
.lo-blog-img::before {
  content: ''; position: absolute; inset: 0;
  background-image: inherit; background-size: cover; background-position: center;
  transition: transform .6s ease;
}
.lo-blog-card:hover .lo-blog-img::before { transform: scale(1.07); }
.lo-blog-img[data-empty] { background: repeating-linear-gradient(135deg, #dde5ee 0 10px, #eef3f8 10px 20px); }
.lo-blog-cat {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: #fff; color: var(--lo-navy);
  font-size: 10.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.lo-blog-date { font-size: 12px; color: #6d7b8a; margin-bottom: 8px; }
.lo-blog-title {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 21px; line-height: 1.08; color: var(--lo-text); margin: 0 0 10px; transition: color .2s ease;
}
.lo-blog-card:hover .lo-blog-title { color: var(--lo-deep); }
.lo-blog-exc { font-size: 14px; line-height: 1.6; color: #52606d; margin-bottom: 12px; }
.lo-blog-more { margin-top: auto; font-size: 13px; font-weight: 600; color: var(--lo-deep); transition: transform .15s ease; }
.lo-blog-card:hover .lo-blog-more { transform: translateX(4px); }

/* Pagination */
.lo-blog .pagination, .lo-blog-wrap .navigation { margin-top: 44px; }
.lo-blog-wrap .page-numbers {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px;
  padding: 0 12px; margin: 0 3px; border-radius: 999px; border: 1px solid var(--lo-divider);
  text-decoration: none; color: var(--lo-deep); font-weight: 600; font-size: 13.5px;
  font-family: 'Montserrat', system-ui, sans-serif; transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.lo-blog-wrap .page-numbers.current { background: var(--lo-navy); color: #fff; border-color: var(--lo-navy); }
.lo-blog-wrap a.page-numbers:hover { border-color: var(--lo-blue); color: var(--lo-blue); }
.lo-blog-empty { color: #6d7b8a; }

@media (max-width: 900px) { .lo-blog-grid { grid-template-columns: 1fr 1fr; } .lo-blog-hero { padding-top: 92px; min-height: 340px; } }
@media (max-width: 560px) { .lo-blog-grid { grid-template-columns: 1fr; } }

/* ═══════════════════ Article single (actualité) ══════════════════════════ */
.lo-article-hero { min-height: 460px; }
.lo-article-meta { color: rgba(255,255,255,.8); font-size: 13px; margin: 12px 0 0; }
.lo-article-wrap { max-width: 760px; margin: 0 auto; padding: 50px 32px 64px; }
.lo-article-body { font-size: 17px; line-height: 1.75; color: #2b3644; }
.lo-article-body > *:first-child { margin-top: 0; }
.lo-article-body p { margin: 0 0 22px; }
.lo-article-body h2 {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 26px; line-height: 1.1; color: var(--lo-navy); margin: 40px 0 16px;
}
.lo-article-body h3 {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 20px; line-height: 1.15; color: var(--lo-deep); margin: 32px 0 12px;
}
.lo-article-body a { color: var(--lo-blue); text-decoration: underline; text-underline-offset: 2px; }
.lo-article-body a:hover { color: var(--lo-deep); }
.lo-article-body ul, .lo-article-body ol { margin: 0 0 22px; padding-left: 22px; }
.lo-article-body li { margin-bottom: 8px; }
.lo-article-body img { max-width: 100%; height: auto; border-radius: 16px; margin: 8px 0 22px; }
.lo-article-body blockquote {
  margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--lo-blue);
  font-size: 19px; line-height: 1.5; color: var(--lo-navy);
}
.lo-article-body figure { margin: 0 0 22px; }
.lo-article-body figcaption { font-size: 12.5px; color: #6d7b8a; margin-top: 6px; }
.lo-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.lo-article-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--lo-divider); }

/* ═══════════════════ Pages légales (template-parts/page-legal.php) ═══════ */
.lo-legal-hero { min-height: 340px; }
.lo-legal .lo-article-body { font-size: 16px; }
.lo-legal .lo-article-body h2 { font-size: 22px; }
.lo-legal .lo-article-body h3 { font-size: 17px; }
.lo-legal .lo-article-body mark { background: #fff3b0; color: inherit; padding: 0 4px; border-radius: 3px; }

/* Lien « politique de confidentialité » dans les cases RGPD des formulaires */
.elementor-field-type-acceptance label a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.elementor-field-type-acceptance label a:hover { opacity: .8; }
@media (max-width: 900px) { .lo-article-hero { min-height: 340px; } }

/* ═══════════════════ Retouches accueil (remarques cliente BB) ═════════════ */
/* Frise chiffres clés : flèches entre les cases (au lieu des traits) */
.lo-tl-cell { border-left: 0 !important; position: relative; }
.lo-tl-cell:not(:first-child)::before {
  content: '→'; position: absolute; left: 0; top: 14px; transform: translateX(-50%);
  width: auto !important; height: auto !important;
  border: 0 !important; background: none !important; box-shadow: none !important;
  font-size: 22px; line-height: 24px; color: var(--lo-deep); font-weight: 400;
}
.lo-tl-cell:last-child::before { content: '='; font-weight: 600; }
@media (max-width: 880px) { .lo-tl-cell::before { display: none !important; } }
/* (Retouches d'espacement de la frise retirées à la demande — on garde
   uniquement le remplacement des traits par des flèches, sans toucher aux
   marges/interlignes d'origine des chiffres.) */

/* Hero : bouton « Explorer la cartographie » transparent (comme « Nous connaître ») */
.elementor-element-121648a .elementor-button {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  color: #fff !important;
}
.elementor-element-121648a .elementor-button:hover {
  background: rgba(255,255,255,.12) !important; border-color: #fff !important;
}

/* Boutons contour de la section « Nos membres » (Nous connaître) */
.lo-nc-obtn .elementor-button { border: 1px solid var(--lo-divider); }
.lo-nc-obtn .elementor-button:hover {
  background: var(--lo-surface) !important; color: var(--lo-navy) !important; border-color: var(--lo-deep);
}

/* ═══════════════════ Actions phares des membres (shortcode) ══════════════ */
.lo-act-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.lo-act-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.lo-act-img {
  display: block; position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; margin-bottom: 14px;
  background: var(--lo-surface) center/cover no-repeat;
}
.lo-act-img::before {
  content: ''; position: absolute; inset: 0; background-image: inherit;
  background-size: cover; background-position: center; transition: transform .6s ease;
}
.lo-act-card:hover .lo-act-img::before { transform: scale(1.07); }
.lo-act-img[data-empty] { background: repeating-linear-gradient(135deg, #dde5ee 0 10px, #eef3f8 10px 20px); }
.lo-act-by { font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--lo-blue); margin-bottom: 6px; }
.lo-act-title {
  font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase;
  font-size: 19px; line-height: 1.1; color: var(--lo-text); margin-bottom: 8px; transition: color .2s ease;
}
.lo-act-card:hover .lo-act-title { color: var(--lo-deep); }
.lo-act-desc { font-size: 13.5px; line-height: 1.6; color: #52606d; margin-bottom: 10px; }
.lo-act-more { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--lo-deep); transition: transform .15s ease; }
.lo-act-card:hover .lo-act-more { transform: translateX(3px); }
@media (max-width: 900px) { .lo-act-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .lo-act-grid { grid-template-columns: 1fr; } }

/* Quatre familles : aligner les numéros (01-04) et les titres, malgré des
   textes de longueurs différentes (les cartes sont ancrées en bas) →
   on réserve une hauteur uniforme au titre (2 lignes) et au descriptif. */
.lo-fam .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title { min-height: 2.2em; }
.lo-fam .elementor-widget-text-editor { min-height: 84px; }
@media (max-width: 768px) {
  .lo-fam .elementor-widget-heading + .elementor-widget-heading .elementor-heading-title { min-height: 0; }
  .lo-fam .elementor-widget-text-editor { min-height: 0; }
}

/* ═══════════════════ Encart « Prochain rendez-vous » (géré en BO) ═════════ */
.lo-rdv {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--lo-navy); border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px; padding: 24px 26px 22px; color: #fff;
}
.lo-rdv-sur { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.66); font-weight: 600; }
.lo-rdv-date { font-family: 'Novecento sans wide', 'Jost', sans-serif; font-weight: 600; text-transform: uppercase; font-size: 34px; line-height: 1; color: #fff; }
.lo-rdv-desc { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,.85); }
.lo-rdv-btn { font-size: 12.5px; font-weight: 600; color: #8dabf8; text-decoration: none; transition: color .15s ease; }
.lo-rdv-btn::after { content: ' →'; }
.lo-rdv-btn:hover { color: #fff; }
/* Encart masqué (date de masquage atteinte) : on replie sa colonne dans le hero */
.lo-w34:has(.lo-rdv-off) { display: none !important; }

/* ═══════════ Mobile : marges latérales réduites (toutes les pages) ══════════ */
/* Réduit le gutter des sections de premier niveau pour élargir le contenu sur
   petit écran, sans toucher au padding interne des cartes (conteneurs imbriqués).
   Scope [data-elementor-type="wp-page"] = contenu de page UNIQUEMENT (exclut le
   header et le footer Theme Builder). Vaut pour toutes les pages Elementor. */
@media (max-width: 767px) {
  /* chaque section (pleine largeur) a un wrapper boxed enfant direct = le gutter */
  [data-elementor-type="wp-page"] .e-con-full.e-parent > .e-con-boxed,
  /* au cas où une section serait boxed de premier niveau */
  [data-elementor-type="wp-page"] > .e-con-boxed.e-parent {
    --padding-left: 16px !important;
    --padding-right: 16px !important;
  }
}
/* Mêmes marges réduites pour les gabarits PHP (fiches single, blog, article) */
@media (max-width: 767px) {
  .lo-ps-hero, .lo-ps-body,
  .lo-blog-hero, .lo-blog-wrap,
  .lo-article-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}
/* Nous connaître : les conteneurs structurels imbriqués (grille sommaire+contenu,
   colonnes de section, rangée de cartes) héritaient chacun du padding par défaut
   d'Elementor (10px) qui s'empilait → ~46px de marge. On l'annule sur mobile,
   seul le gutter de section (16px) reste. */
@media (max-width: 767px) {
  .lo-nc-grid, .lo-nc-body, .lo-nc-toc, .lo-nc-sec, .lo-nc-cards {
    --padding-left: 0px !important;
    --padding-right: 0px !important;
  }
}
