/* =========================================================
   FloriRail — style.css (PROPRE / COMPLET / RESPONSIVE)
   - Tokens (palette + spacing)
   - Reset & base
   - Layout container (gutter constant)
   - Header sticky + nav
   - Buttons
   - Hero (desktop + mobile)
   - Bandeau hero
   - Sections / grids / cards / posts / CTA / footer
   - Page Projet (enjeux, alternative, utile dark, impact, train léger, tableau)
   ========================================================= */

/* =========================
   1) TOKENS
   ========================= */
:root {
  /* Typography */
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  --font-title: "Manrope", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;

  /* Brand (blue rail) */
  --c-brand-900: #081b22;
  --c-brand-800: #053a5c;
  --c-brand-700: #0b63a0;
  --c-brand-600: #0f76b8;

  /* Surfaces */
  --c-bg: #f4f7fb;
  --c-bg-alt: #e9f0f8;
  --c-surface: #ffffff;
  --c-surface-2: #f2f6fb;

  /* Text */
  --c-text: #0f172a;
  --c-muted: #4b5565;

  /* Borders / effects */
  --c-border: #d6e2f0;
  --shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  --focus: 0 0 0 4px rgba(11, 99, 160, 0.22);

  /* Layout */
  --container: 1140px;
  --radius: 16px;

  /* Spacing scale */
  --s-1: 8px;
  --s-2: 12px;
  --s-3: 16px;
  --s-4: 22px;
  --s-5: 30px;
  --s-6: 44px;
  --s-7: 64px;
}

/* =========================
   2) RESET / BASE
   ========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;

  /* ✅ évite les “liserés” horizontaux sans casser sticky */
  overflow-x: clip;
}

/* media */
img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  font-family: var(--font-title);
  line-height: 1.15;
  margin: 0 0 var(--s-2);
}

p {
  margin: 0 0 var(--s-3);
}

strong {
  font-weight: 600;
}

.muted {
  color: var(--c-muted);
}

.nowrap {
  white-space: nowrap;
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 999px;
}

/* =========================
   3) LAYOUT / CONTAINER
   - gutter constant partout
   ========================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-4);
}

/* =========================
   4) HEADER / NAV
   ========================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  padding: 6px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.2px;
  color: var(--c-text);
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  position: relative;
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.72);
  padding: 10px 2px;
  transition: color 0.18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  height: 2px;
  width: 100%;
  background: var(--c-brand-700);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.nav-link:hover {
  color: var(--c-brand-700);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.is-active {
  color: var(--c-brand-700);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

/* =========================
   5) BUTTONS
   ========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: transparent;
  font-weight: 400;
  letter-spacing: 0.1px;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--c-brand-700);
  color: #fff;
  border-color: var(--c-brand-700);
}

.btn-primary:hover {
  background: transparent;
  color: var(--c-brand-700);
  border-color: var(--c-brand-700);
}

.btn-secondary {
  background: transparent;
  color: var(--c-brand-700);
  border-color: var(--c-brand-700);
}

.btn-secondary:hover {
  background: var(--c-brand-700);
  color: #fff;
  border-color: var(--c-brand-700);
}

/* ghost utilisé dans projet */
.btn-ghost {
  background: transparent;
  color: var(--c-brand-700);
  border: 1px solid var(--c-border);
}

.btn-ghost:hover {
  border-color: var(--c-brand-700);
  color: var(--c-brand-700);
}

/* =========================
   6) HERO
   - desktop : texte gauche / image droite
   - image : 75% hauteur bloc + cover + right
   - wrapper : radius + overflow hidden ✅
   ========================= */
.hero {
  height: 75vh;
  display: flex;
  align-items: center;
  padding: var(--s-7) 0;
  background: var(--c-bg);
}

.hero.hero-small {
  height: 75vh;
  padding: var(--s-6) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) 1fr;
  gap: var(--s-7);
  align-items: center;
}

/* texte */
.hero-content {
  max-width: 560px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 2.4rem, 2.6rem);
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--c-brand-600);
}

.hero-text {
  color: var(--c-muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--s-4);
}

.eyebrow {
  margin: 0 0 var(--s-2);
  color: var(--c-brand-700);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* media wrapper ✅ (radius + border + shadow) */
.hero-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;

  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  box-shadow: var(--shadow);
}

/* image */
.hero-media img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  object-position: right;
}

/* =========================
   7) HERO BANDEAU
   ========================= */
.hero-bandeau {
  background: var(--c-brand-800);
  padding: 18px 0;
}

.hero-tags {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: var(--s-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-tags li {
  color: rgba(255, 255, 255, 0.92);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-bandeau {
    display: none;
  }
}

/* =========================
   8) SECTIONS
   ========================= */
.section {
  padding: var(--s-6) 0;
  background: var(--c-surface);
}

.section-alt {
  background: var(--c-bg-alt);
}

.section-dark {
  background: var(--c-brand-800);
  color: #fff;
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.86);
}

.section-dark .muted {
  color: rgba(255, 255, 255, 0.68);
}

.section-head {
  display: grid;
  gap: 6px;
  margin-bottom: var(--s-4);
}

.section-head-special {
  display: grid;
  gap: 6px;
  margin-bottom: var(--s-4);
}

.section-desc {
  margin: 6px 0 0;
}

.section-actions {
  margin-top: var(--s-4);
}

/* =========================
   9) GRIDS
   ========================= */
.grid {
  display: grid;
  gap: var(--s-3);
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =========================
   10) CARDS / POSTS
   ========================= */
.card {
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  padding: var(--s-4);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--c-muted);
  margin-bottom: 0;
}

.card-media {
  margin: 0 0 var(--s-3);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
}

.card-media img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.meta {
  color: var(--c-muted);
  font-size: 0.92rem;
  margin: 8px 0 var(--s-3);
}

/* posts */
.post {
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow);
  overflow: hidden;

  display: flex;
  flex-direction: column;
}

.post-media {
  margin: 0;
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}

.post-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.post-meta {
  padding: var(--s-4) var(--s-4) 0;
  color: var(--c-muted);
  font-size: 0.9rem;
}

.post-title {
  padding: 0 var(--s-4);
  margin-top: 8px;
}

.post-desc {
  padding: 0 var(--s-4);
  color: var(--c-muted);
}

.post-actions {
  margin-top: auto;
  padding: 0 var(--s-4) var(--s-4);
  display: flex;
  gap: 14px;
  align-items: center;
}

/* =========================
   11) LINKS
   ========================= */
.link {
  color: var(--c-brand-700);
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: var(--c-brand-700);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.link:hover {
  color: var(--c-brand-600);
}

.link:hover::after {
  transform: scaleX(1);
}

/* =========================
   12) CTA
   ========================= */
.cta {
  border-radius: var(--radius);
  border: 1px solid rgba(11, 99, 160, 0.22);
  background: var(--c-bg-alt);
  box-shadow: var(--shadow);
  padding: var(--s-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
}

.cta-actions {
  display: grid;
  gap: 10px;
  justify-items: stretch;
}

/* =========================
   13) FOOTER
   ========================= */
.footer {
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4) 0;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================
   14) PAGE PROJET — BLOCS SPECIFIQUES
   ========================================================= */

/* contenu narrow */
.content-narrow {
  max-width: 920px;
}

/* ENJEUX */
.stats-cards {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stats-cards--enjeux {
  margin-top: var(--s-3);
  margin-bottom: var(--s-5);
}

.stat-card {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.stat-img {
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}

.stat-img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.stat-text {
  margin: 0;
  padding: var(--s-3);
  color: var(--c-text);
}

.enjeux-text p:last-child {
  margin-bottom: 0;
}

/* Alternative (image gauche) */
.arg-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: var(--s-6);
}

.arg-split-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  box-shadow: var(--shadow);
}

.arg-split-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: left center;
  /* ✅ cadrage à gauche */
}

.arg-split-content p:last-child {
  margin-bottom: 0;
}

/* Utile (dark + séparateurs) */
.section-dark .section-head h2 {
  color: rgba(255, 255, 255, 0.96);
}

.audience-split {
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr;
  gap: var(--s-5);
  align-items: start;
}

.audience-block {
  min-width: 0;
}

.section-dark .audience-block h3 {
  color: rgba(255, 255, 255, 0.96);
}

.section-dark .audience-block p {
  color: rgba(255, 255, 255, 0.84);
}

.audience-sep {
  width: 1px;
  height: 100%;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.22);
}

/* Impact swap */
.impact-swap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-3);
  align-items: stretch;
}

.impact-swap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto 1fr;
}

.impact-swap-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.impact-swap-body {
  padding: var(--s-4);
}

.impact-swap-body h3 {
  margin-top: 0;
}

.impact-swap-body p:last-child {
  margin-bottom: 0;
}

.impact-swap-reverse {
  grid-template-rows: 1fr auto;
}

.impact-swap-reverse .impact-swap-body {
  order: 1;
}

.impact-swap-reverse .impact-swap-media {
  order: 2;
}

/* Train léger */
.train-intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-6);
  align-items: center;
}

.train-intro-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  box-shadow: var(--shadow);
}

.train-intro-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: right;
}

.train-intro-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: var(--s-4);
}

/* Tableau dark */
.section-dark .section-desc {
  color: rgba(255, 255, 255, 0.72);
}

.table-wrapper {
  max-width: 100%;
  margin-top: var(--s-4);
  overflow-x: auto;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

.advantages-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
}

.advantages-table thead th {
  text-align: left;
  padding: 14px 16px;
  font-family: var(--font-title);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.12);
}

.advantages-table tbody td {
  padding: 14px 16px;
  vertical-align: top;
  color: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.advantages-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.06);
}

.advantages-table strong {
  color: rgba(255, 255, 255, 0.95);
}

.callout {
  margin-top: var(--s-4);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* =========================
   15) RESPONSIVE GLOBAL
   ========================= */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    justify-content: flex-start;
  }

  /* grids */
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* hero */
  .hero {
    height: auto;
    padding: var(--s-6) 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-media {
    justify-content: center;
  }

  .hero-media img {
    height: auto;
    /* on laisse l'image respirer */
  }

  /* projet */
  .arg-split {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .arg-split-media img {
    height: 260px;
  }

  .stats-cards {
    grid-template-columns: 1fr;
  }

  .impact-swap-grid {
    grid-template-columns: 1fr;
  }

  .train-intro {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }

  .train-intro-media img {
    height: 300px;
  }

  /* audience : vertical + séparateur horizontal */
  .audience-split {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .audience-sep {
    width: 100%;
    height: 1px;
  }

  /* CTA + footer */
  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 0;
  }
}

/* =========================================================
   LIGNE — AJOUTS CSS
   (à coller en bas du style.css)
   ========================================================= */

/* ---------- DETAILS (historique) ---------- */

.details-expand {
  margin-top: var(--s-5);
}

.details-body {
  margin-top: var(--s-5);
}

/* paragraphes : plus d’air */
.details-body p {
  margin: 0 0 var(--s-2);
  color: var(--c-muted);
}

/* titres dans le contenu long */
.details-body h3 {
  margin: var(--s-2) 0 var(--s-2);
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  color: var(--c-text);
}

/* sous-titres “vraiment” marqués visuellement */
.details-body h3 {
  padding-top: var(--s-1);
  padding-bottom: var(--s-1);
}


/* mettre un peu en valeur les "strong" */
.details-body strong {
  color: var(--c-brand-700);
  font-weight: 600;
}

.details-body ul {
  color: var(--c-muted);
}

.details-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  width: fit-content;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  color: var(--c-brand-700);
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}

.details-trigger::-webkit-details-marker {
  display: none;
}

.details-icon {
  display: inline-flex;
  transition: transform .18s ease;
}

.details-expand[open] .details-icon {
  transform: rotate(180deg);
}

/* ========= PLAN DE LA LIGNE (ligne unique + points au-dessus) ========= */

/* ✅ PLAN : texte visible dans la card claire même en section-dark */
.section-dark .line-map-card h3,
.section-dark .line-map-card p,
.section-dark .line-map-card .muted {
  color: var(--c-text);
}

.section-dark .line-map-card .muted {
  color: var(--c-muted);
}


.line-map {
  /* nb d'arrêts (sert à calculer début/fin de ligne) */
  --stops: 7;

  /* tailles fixes pour un alignement stable */
  --padY: var(--s-5);
  --padX: var(--s-4);
  --labelH: 64px;
  /* réserve hauteur label (1-2 lignes) */
  --gap: 14px;
  --railH: 52px;
  /* zone rail (ligne + point) */
  --dot: 10px;
  --track: 3px;

  position: relative;
  margin-top: var(--s-4);
  padding: var(--padY) var(--padX);

  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
}

/* grille des stops */
.line-map-stops {
  display: grid;
  grid-template-columns: repeat(var(--stops), minmax(0, 1fr));
  gap: var(--s-3);
  position: relative;
  z-index: 2;
  /* dots au-dessus de la ligne */
}

/* stop = label + zone rail */
.line-stop {
  display: grid;
  grid-template-rows: var(--labelH) var(--railH);
  gap: var(--gap);
  justify-items: center;
  min-width: 0;
}

.line-label {
  font-weight: 800;
  font-family: var(--font-title);
  text-align: center;
  font-size: 1.05rem;
  line-height: 1.15;
  color: var(--c-text);
}

/* point parfaitement centré SUR la ligne */
.line-dot {
  grid-row: 2;
  align-self: center;
  justify-self: center;

  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;

  background: var(--c-brand-700);
  box-shadow: 0 0 0 4px rgba(11, 99, 160, 0.08);


  z-index: 3;
}

/* ✅ LA ligne unique derrière */
.line-map-track {
  position: absolute;

  /* verticale : pile au centre de la zone rail (même Y que les points) */
  top: calc(var(--padY) + var(--labelH) + var(--gap) + (var(--railH) / 2) - (var(--track) / 2));
  height: var(--track);

  /* horizontale : débute au centre du 1er point et finit au centre du dernier */
  left: calc(var(--padX) + ((100% - (var(--padX) * 2)) / (var(--stops) * 2)));
  right: calc(var(--padX) + ((100% - (var(--padX) * 2)) / (var(--stops) * 2)));

  background: var(--c-border);
  border-radius: 999px;

  z-index: 1;
  /* derrière les points */
}

.line-map-note {
  margin-top: var(--s-4);
}

/* ========= RESPONSIVE VERTICAL ========= */
@media (max-width: 900px) {
  .line-map {
    --padY: var(--s-4);
    --labelH: auto;
    /* labels en ligne */
    --gap: 0;
    --railH: 56px;
    padding: var(--padY) var(--padX);
  }

  .line-map-stops {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  /* stop devient : point à gauche, texte à droite */
  .line-stop {
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto;
    align-items: center;
    justify-items: start;
    gap: 12px;
    min-height: var(--railH);
  }

  .line-label {
    grid-column: 2;
    text-align: left;
    font-size: 1.05rem;
  }

  .line-dot {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    justify-self: center;
  }

  /* ligne devient verticale à gauche, pile sous les points */
  .line-map-track {
    width: var(--track);
    height: auto;
    left: calc(var(--padX) + 14px - (var(--track) / 2));
    /* 14px = centre de la colonne point (28px/2) */
    right: auto;
    /* commence au 1er point, finit au dernier point */
    top: calc(var(--padY) + (var(--railH) / 2));
    bottom: calc(var(--padY) + (var(--railH) / 2));
    background: var(--c-border);
  }
}

/* ---------- VOIE VERTE : audience-split en clair ---------- */

.audience-split--light .audience-sep {
  background: var(--c-border);
}

.audience-split--light .audience-block p {
  color: var(--c-muted);
}

/* ---------- FAQ (accordéon propre) ---------- */

.faq-list {
  display: grid;
  gap: var(--s-3);
}

.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: var(--s-4);
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 800;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  display: inline-flex;
  transition: transform .18s ease;
  color: var(--c-brand-700);
  flex: 0 0 auto;
}

.faq-item[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-body {
  padding: 0 var(--s-4) var(--s-4);
}

/* ---------- HORRAIRES ---------- */

.table-wrapper--light {
  border: 1px solid var(--c-border);
  background: var(--c-surface);
}

/* ✅ centre tout le texte du tableau */
.advantages-table--light {
  min-width: 860px;
  text-align: center;
  /* centre les cellules par défaut */
}

.advantages-table--light thead th {
  text-align: center;
  /* ✅ centre les titres */
  vertical-align: middle;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
  background: var(--c-surface-2);
}

.advantages-table--light tbody td {
  text-align: center;
  /* ✅ centre les horaires */
  vertical-align: middle;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border);
}

.advantages-table--light tbody tr:hover {
  background: var(--c-bg-alt);
}

/* ===== Horaires tabs ===== */

.horaires-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--s-4);
}

.horaires-tabs .btn {
  /* petit boost pour un rendu “tab” */
  padding: 10px 14px;
}

.horaires-tabs .btn.is-active {
  background: var(--c-brand-700);
  color: #fff;
  border-color: var(--c-brand-700);
}

/* Panels */
.horaires-panel h3 {
  margin-bottom: var(--s-3);
  letter-spacing: .6px;
}

/* ===== Horaires : tabs glider (centré dans la card) ===== */

.horaires-switch {
  display: flex;
  justify-content: center;
  /* ✅ centré */
  margin-bottom: var(--s-4);
}

/* conteneur “pill” */
.tabs-glider {
  --pad: 8px;
  --h: 44px;

  position: relative;
  display: grid;
  grid-auto-flow: column;
  gap: 6px;

  padding: var(--pad);
  border-radius: 999px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .08);

  max-width: 100%;
  overflow-x: auto;
  /* ✅ si ultra petit écran */
  -webkit-overflow-scrolling: touch;
}

/* cache les radios */
.tabs-glider input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* labels = “tabs” */
.tabs-glider .tab {
  position: relative;
  z-index: 2;

  height: var(--h);
  padding: 0 16px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--font-title);
  font-weight: 800;
  font-size: .95rem;
  white-space: nowrap;

  color: rgba(15, 23, 42, .72);
  cursor: pointer;
  user-select: none;

  transition: color .18s ease;
}

/* état actif */
.tabs-glider input[type="radio"]:checked+.tab {
  color: var(--c-brand-700);
}

/* le glider (fond qui bouge) — ✅ largeur/position pilotées en JS */
.tabs-glider .glider {
  position: absolute;
  top: var(--pad);
  bottom: var(--pad);
  left: 0;

  width: 0;
  /* sera défini en JS */
  border-radius: 999px;

  background: rgba(11, 99, 160, 0.10);
  border: 1px solid rgba(11, 99, 160, 0.18);

  z-index: 1;
  transition: transform .22s ease, width .22s ease;
  transform: translateX(0);
}

/* Mobile : plus compact */
@media (max-width: 700px) {
  .tabs-glider {
    --h: 40px;
    --pad: 6px;
  }

  .tabs-glider .tab {
    font-size: .9rem;
    padding: 0 12px;
  }
}

/* =========================================================
   ACTIVITÉS — CSS COMPLET (full-page, section-dark)
   - Search full width
   - Tri (radios) + Filtres (checkbox) en chips stylées
   - 2 colonnes (1/3 + 2/3) même hauteur
   - Résultats directement en dessous (grid 4 responsive)
   - Fix contraste (posts blancs => texte sombre)
   ========================================================= */

/* --- Wrapper section (optionnel si tu veux aérer) --- */
.activities-wrap {
  padding-top: var(--s-6);
  padding-bottom: var(--s-6);
}

/* =========================
   Search (barre pleine largeur)
   ========================= */
.activities-search {
  margin-top: var(--s-4);
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  align-items: center;
}

.activities-search-input {
  flex: 1;
  min-width: 280px;
  padding: 12px 14px;
  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);

  color: rgba(255, 255, 255, 0.92);
  outline: none;
}

.activities-search-input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.activities-search-input:focus {
  box-shadow: var(--focus);
  border-color: rgba(255, 255, 255, 0.26);
}

/* =========================
   Controls layout (Tri / Filtres)
   ========================= */
.activities-controls {
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: 1fr 2fr;
  /* 1/3 + 2/3 */
  gap: var(--s-3);
  align-items: stretch;
  /* ✅ mêmes hauteurs */
}

/* Panel */
.activities-panel {
  height: 100%;
  display: flex;
  flex-direction: column;

  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  padding: var(--s-4);
}

.activities-panel-title {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-title);
  font-weight: 800;
}

.activities-panel-desc {
  margin: 0 0 var(--s-3);
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   Radios (Tri)
   ========================= */
.activities-radios {
  display: grid;
  gap: 10px;
}

/* =========================
   Checkboxes (Filtres)
   ========================= */
.activities-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  /* optionnel : équilibre visuel (chips vers le bas) */
}

/* =========================
   Chips styling (radio + checkbox)
   HTML attendu :
   <label class="radio-pill"><input ...><span>Texte</span></label>
   <label class="check-chip"><input ...><span>Texte</span></label>
   ========================= */
.radio-pill,
.check-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.radio-pill input,
.check-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* chip visible */
.radio-pill span,
.check-chip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.90);

  transition: transform 0.08s ease, background 0.18s ease, border-color 0.18s ease;
}

.radio-pill:hover span,
.check-chip:hover span {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.28);
}

/* indicateur radio */
.radio-pill span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: inline-block;
}

/* indicateur checkbox */
.check-chip span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: inline-block;
}

/* checked => accent */
.radio-pill input:checked+span,
.check-chip input:checked+span {
  background: rgba(11, 99, 160, 0.28);
  border-color: rgba(11, 99, 160, 0.55);
}

/* radio checked => rond rempli */
.radio-pill input:checked+span::before {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(11, 99, 160, 0.22);
}

/* checkbox checked => carré rempli */
.check-chip input:checked+span::before {
  border-color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 0 4px rgba(11, 99, 160, 0.22);
}

/* =========================
   Results head
   ========================= */
.activities-results-head {
  margin-top: var(--s-6);
  margin-bottom: var(--s-3);
}

.activities-results-head h2 {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, 0.96);
}

.activities-results-head .muted {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   Results grid (4 colonnes responsive)
   ========================= */
.activities-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* =========================
   Fix contraste : posts blancs dans section-dark
   ========================= */
.section-dark .activities-grid .post {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
}

.section-dark .activities-grid .post-meta,
.section-dark .activities-grid .post-title {
  color: var(--c-text);
}

.section-dark .activities-grid .post-desc {
  color: var(--c-muted);
}

.section-dark .activities-grid .post-actions .link {
  color: var(--c-brand-700);
}

.section-dark .activities-grid .post-actions .link:hover {
  color: var(--c-brand-600);
}

/* si tu utilises une image sans class post-media */
.section-dark .activities-grid .post figure {
  margin: 0;
  background: var(--c-surface-2);
  border-bottom: 1px solid var(--c-border);
}

.section-dark .activities-grid .post figure img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 1100px) {
  .activities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .activities-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   ASSOCIATION.CSS (à coller en bas de style.css)
   Corrige :
   - Team cards : avatar rond + centrage
   - Details bouton centré + full width container
   - Prochaine excursion : card dark bleu + texte lisible
   - FAQ en dessous (hors card) + summary lisible
   - Partners en mode "card"
   ========================================================= */

/* -----------------------------
   HERO (déjà patché avant mais on solidifie sans casser le global)
-------------------------------- */
.hero-assoc .hero-inner {
  align-items: center;
}

/* =========================
   Word rotator (Hero)
   ========================= */
.word-rotator{
  position: relative;
  display: inline-block;
  color: var(--c-brand-600);
}

.word-rotator__word{
  display: inline-block;
  will-change: transform, opacity;
}

@media (max-width: 963px) {
  .hero-assoc .hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    align-items: start;
  }

  .hero-assoc {
    overflow: visible;
  }

  .hero-assoc .hero-content {
    order: 1;
  }

  .hero-assoc .hero-media {
    order: 2;
  }

  .hero-assoc .hero-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: min(46vh, 420px);
    object-fit: cover;
    display: block;
    border-radius: var(--radius);
  }

  .hero-assoc {
    padding-bottom: var(--s-6);
  }
}

@media (max-width: 560px) {
  .hero-assoc .hero-media img {
    max-height: min(40vh, 320px);
  }
}

/* -----------------------------
   Texte "Qui sommes-nous"
-------------------------------- */
.assoc-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* -----------------------------
   TEAM : centrage + avatar rond
-------------------------------- */
.team-grid {
  margin-top: var(--s-4);
}

/* =========================
   TEAM : bouton aligné en bas
   ========================= */

.team-member{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  /* important : hauteur uniforme, bouton en bas */
  height: 100%;
}

.team-avatar{
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--c-border); /* FIX: était var(--border) */
}

/* réserve une hauteur pour éviter que le bouton "descende" selon le rôle */
.team-role{
  margin: 0;
  line-height: 1.35;
  min-height: calc(1.35em * 2); /* 2 lignes max “réservées” */
}

/* le bouton descend automatiquement en bas de la card */
.team-member .btn{
  margin-top: auto;   /* ✅ colle en bas */
}

/* optionnel: même largeur bouton, look plus clean */
.team-member .btn{
  width: 100%;
  max-width: 220px;
  justify-content: center;
}

/* responsive grid-4 si besoin (au cas où ton grid-4 global ne suffit pas) */
@media (max-width: 980px) {
  .grid.grid-4.team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .grid.grid-4.team-grid {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------
   DETAILS : bouton centré + contenu pleine largeur
-------------------------------- */
.details-center {
  margin-top: var(--s-5);
}

/* le <details> doit prendre toute la largeur du container */
.details-center .details-expand {
  width: 100%;
  max-width: none;
}

/* centre le summary */
.details-center .details-trigger {
  display: inline-flex;
  margin-inline: auto;
}

/* =========================================================
   PATCH Carousel (style demandé)
   -> Remplace/écrase les règles carousel précédentes
   ========================================================= */

/* Prochaine excursion (dark card + lisibilité) */
.card-dark {
  border-radius: var(--radius);
  background: var(--c-surface);
  padding: var(--s-4);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
}

.next-trip-title {
  margin-top: var(--s-5);
  margin-bottom: var(--s-4);
}

.next-trip-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-4);
  display: grid;
  gap: 10px;
}

.next-trip-desc {
  margin: 0;
  color: white;
}

/* Carousel */
.carousel {
  height: 65vh;

  position: relative;
  border-radius: var(--radius);
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* boutons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;

  width: 45px;
  height: 45px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, .25);

  color: white;
  cursor: pointer;

  display: grid;
  place-items: center;

  transition: transform .12s ease, background .18s ease, border-color .18s ease;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, .40);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* flèches SVG (même path, rotation) */
.carousel-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.carousel-prev svg {
  transform: rotate(90deg);
}

.carousel-next svg {
  transform: rotate(-90deg);
}

/* points */
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 3;

  display: flex;
  gap: 8px;
  padding: 8px 10px;

  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, .22);
  backdrop-filter: blur(8px);
}

/* si tu utilises des <button> autour des dots, on garde invisible */
.carousel-dot-btn {
  all: unset;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .35);
}

.carousel-dot.is-active {
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 4px rgba(11, 99, 160, .22);
}

/* responsive hauteur */
@media (max-width: 900px) {
  .carousel {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .carousel {
    height: 220px;
  }
}


/* -----------------------------
   FAQ (en dessous de la card) : lisible
-------------------------------- */
.faq-list--dark .faq-item {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-list--dark .faq-summary {
  color: rgba(255, 255, 255, 0.95);
  /* FIX blanc */
  padding: var(--s-4);
}

.faq-list--dark .faq-body {
  padding: 0 var(--s-4) var(--s-4);
}

.faq-list--dark .faq-body .muted {
  color: rgba(255, 255, 255, 0.78);
}

#prochaine-excursion .faq-summary .faq-icon {
  color: white;
}

/* -----------------------------
   PARTNERS : style "card" + bordure
-------------------------------- */
.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease
}

.partner-card:hover {
  transform: translateY(-2px);
  border-color: var(--c-brand-600);
}

.partner-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  border: none;
  /* tu voulais garder l'effet card, mais pas une bordure sur l'image */
}

.partner-name {
  color: inherit;
  font-weight: 600;
}

/* FIX: Dans le <details>, .details-body h3 touchait aussi les noms des membres */
.details-body .team-grid .team-name{
  margin: 4px 0 0;     /* comme tes cards normales */
  padding: 0;          /* annule les padding des statuts */
  color: var(--c-text);
}

.details-body .team-grid .team-role{
  margin: 0;
}

/* =========================================================
   CONTACT.CSS (à coller en bas de style.css)
   - Layout formulaire + aside
   - Inputs (DA FloriRail)
   - Social cards + embeds vidéo
   ========================================================= */

/* optionnel : petit ajustement hero image */
.hero-contact .hero-media img{
  object-position: center;
}

/* ---------- Layout contact (2 colonnes) ---------- */
.contact-layout{
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: var(--s-3);
  align-items: start;
}

@media (max-width: 980px){
  .contact-layout{
    grid-template-columns: 1fr;
  }
}

/* ---------- Form ---------- */
.contact-card h3{
  margin-bottom: 8px;
}

.contact-form{
  margin-top: var(--s-3);
}

.form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}

@media (max-width: 700px){
  .form-grid{
    grid-template-columns: 1fr;
  }
}

.form-field{
  display: grid;
  gap: 8px;
}

.form-field--full{
  grid-column: 1 / -1;
}

.form-field label{
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--c-text);
  font-size: .95rem;
}

/* input/textarea cohérents avec la DA */
.form-field input,
.form-field textarea{
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  color: var(--c-text);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .08s ease;
}

.form-field textarea{
  resize: vertical;
  min-height: 150px;
}

.form-field input:focus,
.form-field textarea:focus{
  border-color: rgba(11, 99, 160, 0.45);
  box-shadow: var(--focus);
}

.form-actions{
  margin-top: var(--s-4);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.form-note{
  margin-top: var(--s-3);
  margin-bottom: 0;
}

/* ---------- Aside ---------- */
.contact-side{
  position: sticky;
  top: 86px; /* sous le header sticky */
}

@media (max-width: 980px){
  .contact-side{
    position: static;
  }
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: var(--s-3) 0 0;
  display: grid;
  gap: 12px;
}

/* ---------- Social cards ---------- */
.social-grid{
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px){
  .social-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px){
  .social-grid{ grid-template-columns: 1fr; }
}

.social-card{
  display: flex;
  align-items: center;
  gap: 12px;

  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  box-shadow: var(--shadow);

  padding: 14px;
  transition: transform .12s ease, border-color .18s ease;
}

.social-card:hover{
  transform: translateY(-2px);
  border-color: rgba(11, 99, 160, 0.45);
}

.social-text{
  display: grid;
  gap: 2px;
  min-width: 0;
}

.social-text strong{
  font-family: var(--font-title);
  font-weight: 900;
}

/* ---------- Vidéos ---------- */
.video-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-4);
}

@media (max-width: 1100px){
  .video-grid{ grid-template-columns: 1fr; }
}

.video-embed{
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  aspect-ratio: 16 / 9;
}

.video-embed iframe{
  width: 100%;
  height: 100%;
  display: block;
}

/* ================
ADHERER
=================== */

/* =========================================================
   ADHERER.CSS (à coller en bas de style.css)
   - Hero sans image (texte centré + dégradé bas)
   - Compteur membres (placeholder)
   - Grids spécifiques
   ========================================================= */

/* petit helper grid-2 (utilisé ici) */
.grid-2{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 980px){
  .grid-2{ grid-template-columns: 1fr; }
}

/* ---------- HERO adhésion (sans image) ---------- */
.hero-adhesion{
  position: relative;
  height: auto;                 /* ✅ pas de 75vh ici */
  padding: var(--s-7) 0;         /* grand, propre */
  overflow: hidden;
}

/* dégradé bleu alt en bas vers transparent au milieu */
.hero-adhesion::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(
      0deg,
      rgba(11, 99, 160, 0.18) 0%,
      rgba(11, 99, 160, 0.10) 35%,
      rgba(11, 99, 160, 0.00) 65%
    );
}

.hero-adhesion-inner{
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  display: grid;
  gap: 10px;
  justify-items: center;
}

.hero-adhesion .eyebrow{
  margin-bottom: 0;
}

.hero-adhesion h1{
  margin-bottom: 4px;
}

.hero-adhesion-text{
  max-width: 760px;
}

/* ---------- Compteur membres ---------- */
.member-counter{
  margin-top: var(--s-4);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);

  padding: 14px 18px;
  min-width: min(360px, 100%);
  display: grid;
  gap: 2px;
  justify-items: center;
}

.member-counter-num{
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.0rem, 4vw, 2.6rem);
  line-height: 1;
  color: var(--c-brand-700);
}

.member-counter-label{
  font-weight: 600;
  color: rgba(15,23,42,.72);
}

.hero-adhesion-footnote{
  margin-top: 6px;
}

/* ---------- Cards adhérer (HelloAsso / Papier) ---------- */
.adherer-grid{
  align-items: stretch;
}

.adherer-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.adherer-steps{
  margin: 0;
  padding-left: 18px;
  color: var(--c-muted);
}

.adherer-steps li{
  margin: 8px 0;
}

.adherer-actions{
  margin-top: auto;          /* ✅ pousse actions en bas */
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

/* ---------- Pourquoi adhérer ---------- */
.adherer-intro{
  font-size: 1.05rem;
  line-height: 1.7;
}

.adherer-reasons .card p:last-child,
.adherer-uses .card p:last-child{
  margin-bottom: 0;
}

/* responsive grids (si besoin) */
@media (max-width: 980px){
  .adherer-reasons,
  .adherer-uses{
    grid-template-columns: 1fr;
  }
}

/* SPECIAL */

.section-alt-2 {
  background-color: rgba(11, 99, 160, 0.18)
}