/* =========================
    FloriRail - Style.css
========================= */

/* =========================
    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 */
  --c-brand-900: #081b22;
  --c-brand-800: #053a5c;
  --c-brand-700: #0b63a0;
  --c-brand-600: #0f76b8;

  /* Surfaces / bg */
  --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;
  --c-border-2: rgba(11,99,160,0.35);
  --c-border-3: rgba(11,99,160,0.45);
  --shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  --focus: 0 0 0 4px rgba(11, 99, 160, 0.22);

  /* Layout */
  --container: 1280px;
  --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;
}

/* =========================
    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;
  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;
}

/* =========================
    LAYOUT / CONTAINER
========================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-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: auto;
  height: 40px;
}

.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);
}

/* =========================
    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);
}

.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);
}

/* =========================
    HERO
========================= */
.hero {
  height: auto;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: var(--s-7) 0;
  background: var(--c-bg);
}

.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;
}

.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;
}

/* =========================
    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;
}

.hero-tags li a {
  text-decoration: underline;
}

@media (max-width: 560px) {
  .hero-bandeau {
    display: none;
  }
}

/* =========================
    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);
}

.horaires-switch .section-actions {
  margin-top: 0;
}

/* =========================
    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));
}

/* =========================
    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;
}

.post-actions-info {
  margin-top: 16px;
  padding: 0;
  display: flex;
  gap: 14px;
}

/* =========================
    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);
}

.hero-bandeau a:hover {
  color: var(--c-brand-600);
}


/* =========================
    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;
}

/* =========================
    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;
}

/* =========================
    PAGE PROJET
========================= */

.content-narrow {
  max-width: 1140px;
}

.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;
}

.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;
}

.arg-split-content p:last-child {
  margin-bottom: 0;
}

.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-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-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);
}

.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;
}

/* =========================
    RESPONSIVE GLOBAL
========================= */

@media (max-width: 1100px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    justify-content: flex-start;
  }

  /* 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;
  }

  /* 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-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-3 {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 0;
  }
}


/* POST GRID */

.posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}

.posts-grid .post {
  height: 100%;
}

@media (max-width: 1100px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {

  .nowrap {
    white-space: normal;
  }

  .hero-inner,
  .hero-content,
  .hero-media {
    min-width: 0;
  }

  h1,
  h2,
  h3,
  p,
  a {
    overflow-wrap: anywhere;
  }
}

/* =========================
    TIMELINE PROJET
========================= */

.project-timeline {
  --timeline-pad-y: var(--s-5);
  --timeline-pad-x: var(--s-4);
  --timeline-dot-col: 34px;
  --timeline-track: 3px;
  --timeline-dot: 12px;
  --timeline-gap: var(--s-4);

  position: relative;
  margin-top: var(--s-4);
  padding: var(--timeline-pad-y) var(--timeline-pad-x);
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: var(--c-surface);
  overflow: hidden;
}

.project-timeline-items {
  position: relative;
  z-index: 2;
  display: grid;
  gap: var(--timeline-gap);
}

.project-timeline-item {
  display: grid;
  grid-template-columns: var(--timeline-dot-col) 1fr;
  gap: 14px;
  align-items: start;
  position: relative;
  min-width: 0;
}

.project-timeline-dot {
  position: relative;
  z-index: 3;
  width: var(--timeline-dot);
  height: var(--timeline-dot);
  margin-top: 0.5rem;
  margin-left: calc((var(--timeline-dot-col) - var(--timeline-dot)) / 2);
  border-radius: 999px;
  background: var(--c-brand-700);
  box-shadow: 0 0 0 4px rgba(11, 99, 160, 0.08);
}

.project-timeline-track {
  position: absolute;
  z-index: 1;
  top: calc(var(--timeline-pad-y) + 0.5rem + (var(--timeline-dot) / 2));
  bottom: calc(var(--timeline-pad-y) + 0.5rem + (var(--timeline-dot) / 2));
  left: calc(var(--timeline-pad-x) + (var(--timeline-dot-col) / 2) - (var(--timeline-track) / 2));
  width: var(--timeline-track);
  border-radius: 999px;
  background: var(--c-border);
}

.project-timeline-content {
  min-width: 0;
  padding-bottom: var(--s-1);
}

.project-timeline-date {
  margin: 0 0 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-brand-700);
}

.project-timeline-content h3 {
  margin: 0 0 0.45rem 0;
  font-size: 1.15rem;
}

.project-timeline-content p:last-child {
  margin-bottom: 0;
}

.project-timeline-card {
  overflow: hidden;
}

/* Responsive */

@media (min-width: 901px) {
  .project-timeline {
    --timeline-pad-y: var(--s-6);
    --timeline-pad-x: var(--s-5);
    --timeline-dot-col: 42px;
    --timeline-gap: var(--s-5);
  }

  .project-timeline-content {
    max-width: 900px;
  }
}

@media (max-width: 900px) {
  .project-timeline {
    --timeline-pad-y: var(--s-4);
    --timeline-pad-x: var(--s-3);
    --timeline-dot-col: 28px;
    --timeline-dot: 10px;
    --timeline-gap: var(--s-4);
  }

  .project-timeline-track {
    left: calc(var(--timeline-pad-x) + (var(--timeline-dot-col) / 2) - (var(--timeline-track) / 2));
  }

  .project-timeline-item {
    gap: 12px;
  }

  .project-timeline-dot {
    margin-top: 0.45rem;
  }

  .project-timeline-date {
    font-size: 0.82rem;
  }

  .project-timeline-content h3 {
    font-size: 1.02rem;
  }
}

/* =========================
    LIGNE
========================= */

.details-expand {
  margin-top: var(--s-5);
}

.details-body {
  margin-top: var(--s-5);
}

.details-body p {
  margin: 0 0 var(--s-2);
  color: var(--c-muted);
}

.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);
}

.details-body h3 {
  padding-top: var(--s-1);
  padding-bottom: var(--s-1);
}

.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 */

.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 {
  --stops: 7;
  --padY: var(--s-5);
  --padX: var(--s-4);
  --labelH: 64px;
  --gap: 14px;
  --railH: 52px;
  --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;
}

.line-map-stops {
  display: grid;
  grid-template-columns: repeat(var(--stops), minmax(0, 1fr));
  gap: var(--s-3);
  position: relative;
  z-index: 2;
}

.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);
}

.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;
}

.line-map-track {
  position: absolute;

  top: calc(var(--padY) + var(--labelH) + var(--gap) + (var(--railH) / 2) - (var(--track) / 2));
  height: var(--track);

  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;
}

.line-map-note {
  margin-top: var(--s-4);
}

/* =========================
    RESPONSIVE VERTICAL
========================= */

@media (max-width: 900px) {
  .line-map {
    --padY: var(--s-4);
    --labelH: auto;
    --gap: 0;
    --railH: 56px;
    padding: var(--padY) var(--padX);
  }

  .line-map-stops {
    grid-template-columns: 1fr;
    gap: var(--s-4);
  }

  .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;
  }

  .line-map-track {
    width: var(--track);
    height: auto;
    left: calc(var(--padX) + 14px - (var(--track) / 2));
    right: auto;
    top: calc(var(--padY) + (var(--railH) / 2));
    bottom: calc(var(--padY) + (var(--railH) / 2));
    background: var(--c-border);
  }
}

/* VOIE VERTE */

.audience-split--light .audience-sep {
  background: var(--c-border);
}

.audience-split--light .audience-block p {
  color: var(--c-muted);
}

/* FAQ */

.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);
}

.advantages-table--light {
  min-width: 860px;
  text-align: center;
}

.advantages-table--light thead th {
  text-align: center;
  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;
  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 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: var(--s-4);
}

.horaires-tabs .btn {
  padding: 10px 14px;
}

.horaires-tabs .btn.is-active {
  background: var(--c-brand-700);
  color: #fff;
  border-color: var(--c-brand-700);
}

.horaires-panel h3 {
  margin-bottom: var(--s-3);
  letter-spacing: .6px;
}

.horaires-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-4);
}

.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;
  -webkit-overflow-scrolling: touch;
}

.tabs-glider input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.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;
}

.tabs-glider input[type="radio"]:checked+.tab {
  color: var(--c-brand-700);
}

.tabs-glider .glider {
  position: absolute;
  top: var(--pad);
  bottom: var(--pad);
  left: 0;

  width: 0;
  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);
}

@media (max-width: 700px) {

  .horaires-switch {
    width: 100%;
    justify-content: stretch;
  }

  .tabs-glider {
    display: flex;
    flex-direction: column;
    gap: 10px;

    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;

    overflow: visible;
  }

  .tabs-glider .glider {
    display: none;
  }

  .tabs-glider .tab {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 14px 16px;

    border: 1px solid var(--c-border);
    background: var(--c-surface);
    box-shadow: var(--shadow);
  }

  .tabs-glider input[type="radio"]:checked+.tab {
    background: rgba(11, 99, 160, 0.10);
    border-color: rgba(11, 99, 160, 0.35);
    color: var(--c-brand-700);
  }

}

/* =========================
    ACTIVITÉS
========================= */

.activities-page {
  background: var(--c-bg-alt);
}

.activities-layout {
  margin-top: var(--s-4);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-3);
  align-items: start;
}

.activities-side {
  position: sticky;
  top: 86px;
  align-self: start;
  z-index: 2;
}

.activities-side-inner {
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  min-height: 80vh;
  max-height: calc(100vh - 86px - var(--s-3));

  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}

.activities-side-head {
  padding: var(--s-4);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}

.activities-side-title {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 900;
  color: var(--c-text);
}

.activities-side-desc {
  margin: 0;
  color: rgba(15, 23, 42, .65);
}

.activities-side-scroll {
  padding: var(--s-4);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  gap: var(--s-4);
}

.activities-side-foot {
  padding: var(--s-4);
  border-top: 1px solid rgba(15, 23, 42, .08);
  display: flex;
  justify-content: flex-start;
}

.activities-block-title {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1rem;
  color: var(--c-text);
}

.activities-radios {
  display: grid;
  gap: 10px;
}

.activities-filters {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 10px;
}

.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;
}

/* pill */
.radio-pill span,
.check-chip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  border: 1px solid rgba(15, 23, 42, .14);
  background: rgba(255, 255, 255, .75);
  color: rgba(15, 23, 42, .82);

  transition: transform .08s ease, background .18s ease, border-color .18s ease, color .18s ease;
}

.radio-pill:hover span,
.check-chip:hover span {
  transform: translateY(-1px);
  border-color: rgba(11, 99, 160, 0.35);
}

/* TRI */
.radio-pill span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(15, 23, 42, .45);
  display: inline-block;
  flex: 0 0 auto;
  background: transparent;
}

.radio-pill input:checked+span {
  background: rgba(11, 99, 160, 0.10);
  border-color: rgba(11, 99, 160, 0.35);
  color: rgba(11, 99, 160, 0.95);
}

.radio-pill input:checked+span::before {
  border-color: rgba(11, 99, 160, 0.75);
  background:
    radial-gradient(circle, rgba(11, 99, 160, .95) 0 45%, transparent 46% 100%);
}

.check-chip span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 2px solid rgba(15, 23, 42, .45);
  display: inline-block;
  flex: 0 0 auto;

  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-color: transparent;
}

.check-chip input:checked+span {
  background: rgba(11, 99, 160, 0.10);
  border-color: rgba(11, 99, 160, 0.35);
  color: rgba(11, 99, 160, 0.95);
}

.check-chip input:checked+span::before {
  border-color: rgba(11, 99, 160, 0.55);
  background-color: rgba(11, 99, 160, 0.10);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8L7 11L12 5' stroke='%230a1d29' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.activities-results {
  min-width: 0;
}

.activities-results-head {
  margin: 0 0 var(--s-3);
}

.activities-results-head h2 {
  margin: 0 0 6px;
}

.activities-results-head .muted {
  margin: 0;
}

.activities-search {
  margin-top: 0;
  margin-bottom: var(--s-3);

  display: flex;
  gap: var(--s-2);
  align-items: center;

  padding: var(--s-4);
  border-radius: var(--radius);

  border: 1px solid var(--c-border);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
}

.activities-search-input {
  flex: 1;
  min-width: 260px;
  padding: 12px 14px;
  border-radius: 999px;

  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;
}

.activities-search-input::placeholder {
  color: rgba(15, 23, 42, .55);
}

.activities-search-input:focus {
  border-color: rgba(11, 99, 160, 0.45);
  box-shadow: var(--focus);
}

.activities-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* === Responsive === */

@media (max-width: 1100px) {
  .activities-layout {
    grid-template-columns: 1fr;
  }

  .activities-side {
    position: static;
  }

  .activities-side-inner {
    min-height: auto;
    max-height: none;
  }

  .activities-side-scroll {
    overflow: visible;
  }

  .activities-grid {
    grid-template-columns: 1fr 1fr;
  }

  .activities-search {
    flex-wrap: wrap;
  }
}

@media (max-width: 700px) {
  .activities-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
    PAGINATION
========================= */

.pagination-wrap{
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pagination{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 100%;
}

/* boutons */
.pagination-btn{
  min-width: 44px;
  height: 44px;
  padding: 0 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 1px solid var(--c-border);

  background: var(--c-surface);
  color: var(--c-brand-700);

  font-weight: 600;
  text-decoration: none;
  line-height: 1;

  transition:
    transform .08s ease,
    background .18s ease,
    border-color .18s ease,
    color .18s ease;
}

.pagination-btn:hover{
  transform: translateY(-1px);
  border-color: var(--c-brand-700);
  background: var(--c-bg-alt);
}

.pagination-btn.is-active{
  background: var(--c-brand-700);
  color: #fff;
  border-color: var(--c-brand-700);
}

/* points ... */
.pagination-dots{
  min-width: 24px;
  height: 44px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: var(--c-muted);
  font-weight: 700;
  line-height: 1;
}

/* flèches */
.pagination-arrow{
  width: 44px;
  padding: 0;
}

.pagination-arrow svg{
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(90deg);
}

.pagination-arrow-next svg{
  transform: rotate(-90deg);
}

/* =========================
    Mobile
========================= */
@media (max-width: 700px){

  .pagination-wrap{
    margin-top: 30px;
  }

  .pagination{
    gap: 6px;
  }

  .pagination-btn{
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.92rem;
  }

  .pagination-arrow{
    width: 36px;
  }

  .pagination-arrow svg{
    width: 14px;
    height: 14px;
  }

  .pagination-dots{
    min-width: 18px;
    height: 36px;
    font-size: 0.92rem;
  }
}

@media (max-width: 480px){

  .pagination-btn{
    font-size: 0.85rem;
  }

  .pagination-dots{
    min-width: 16px;
    height: 32px;
    font-size: 0.85rem;
  }
}

/* =========================
    ASSOCIATION.CSS
========================= */

.hero-asso .hero-inner {
  align-items: center;
}

.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: 1000px) {
  .hero-asso .hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--s-4);
    align-items: start;
  }

  .hero-asso {
    overflow: visible;
  }

  .hero-asso .hero-content {
    order: 1;
  }

  .hero-asso .hero-media {
    order: 2;
  }

  .hero-asso .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-asso {
    padding-bottom: var(--s-6);
  }
}

@media (max-width: 560px) {
  .hero-asso .hero-media img {
    max-height: min(40vh, 320px);
  }
}

.assoc-text {
  font-size: 1.05rem;
  line-height: 1.7;
}

.team-grid {
  margin-top: var(--s-4);
}

.team-member {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  height: 100%;
}

.team-avatar {
  width: 96px;
  height: 96px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--c-border);
}

.team-role {
  margin: 0;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
}

.team-member .btn {
  margin-top: auto;
}

.team-member .btn {
  width: 100%;
  max-width: 220px;
  justify-content: center;
}

@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-center {
  margin-top: var(--s-5);
}

.details-center .details-expand {
  width: 100%;
  max-width: none;
}

.details-center .details-trigger {
  display: inline-flex;
  margin-inline: auto;
}

/* === Card Carousel === */

.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 {
  position: relative;
  height: 65vh;

  border-radius: var(--radius);
  overflow: hidden;

  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
}

.carousel-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.carousel-image,
.carousel-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.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: #fff;

  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.22);
  transform: translateY(-50%) scale(1.05);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
  left: 15px;
}

.carousel-next {
  right: 15px;
}

/* Icônes */
.carousel-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.carousel-prev svg {
  transform: rotate(90deg);
}

.carousel-next svg {
  transform: rotate(-90deg);
}

/* Dots */
.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);
}

.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);
}

@media (max-width: 900px) {
  .carousel {
    height: 300px;
  }
}

@media (max-width: 560px) {
  .carousel {
    height: 220px;
  }
}

/* FAQ */

.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);
  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 === */

.partner-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  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 {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: cover;
  display: block;
  border: none;
}

.partner-name {
  text-align: center;
  font-weight: 600;
}

.details-body .team-grid .team-name {
  margin: 4px 0 0;
  padding: 0;
  color: var(--c-text);
}

.details-body .team-grid .team-role {
  margin: 0;
}

/* =========================
    ARTICLE DETAIL
========================= */

.article-detail-section {
  background: var(--c-surface);
}

.article-detail-cover {
  margin: 0 0 var(--s-4);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  box-shadow: var(--shadow);
}

.article-detail-cover img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.article-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--c-border);
  margin-bottom: var(--s-4);
}

.article-detail-title {
  margin: 0;
}

.article-detail-date {
  margin: 0;
  white-space: nowrap;
  font-weight: 600;
}

.article-detail-content {
  margin-top: 0;
}

.article-detail-actions {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--c-border);

  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  gap: 14px;
}

.article-gallery {
  margin-top: var(--s-5);
}

.article-gallery-item {
  margin: 0;
}

.article-gallery-trigger {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;
}

.article-gallery-trigger img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .18s ease;
}

.article-gallery-trigger:hover img {
  transform: scale(1.1);
}

/* =========================
    ARTICLE LIGHTBOX
========================= */

.article-lightbox {
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  overflow: hidden;
}

.article-lightbox::backdrop {
  background: rgba(8, 27, 34, 0.88);
  backdrop-filter: blur(6px);
}

.article-lightbox-shell {
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
}

.article-lightbox-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 40px 88px 88px;
  overflow: hidden;
}

.article-lightbox-viewport {
  max-width: min(1100px, 100%);
  max-height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.article-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  background: rgba(255,255,255,0.04);
}

.article-lightbox-nav,
.article-lightbox-close {
  position: fixed;
  z-index: 1002;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0, 0, 0, 0.24);
  color: #fff;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
  backdrop-filter: blur(6px);
}

.article-lightbox-nav:hover,
.article-lightbox-close:hover {
  transform: scale(1.05);
  background: rgba(0, 0, 0, 0.42);
  border-color: rgba(255,255,255,0.28);
}

.article-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
}

.article-lightbox-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.article-lightbox-prev {
  left: 22px;
}

.article-lightbox-next {
  right: 22px;
}

.article-lightbox-prev svg {
  width: 20px;
  height: 20px;
  transform: rotate(90deg);
}

.article-lightbox-next svg {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}

.article-lightbox-close {
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

.article-lightbox-toolbar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 1002;
  display: flex;
  justify-content: center;
  width: auto;
  max-width: calc(100vw - 32px);
}

.article-lightbox-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255,255,255,0.92);
  font-weight: 600;
  font-size: 0.95rem;
  backdrop-filter: blur(6px);
  transition: transform .12s ease, background .18s ease, border-color .18s ease;
}

.article-lightbox-download:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.40);
  border-color: rgba(255,255,255,0.28);
}

/* mobile */
@media (max-width: 700px) {
  .article-lightbox-stage {
    padding: 24px 18px 86px;
  }

  .article-lightbox-image {
    max-height: calc(100vh - 120px);
  }

  .article-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .article-lightbox-prev {
    left: 10px;
  }

  .article-lightbox-next {
    right: 10px;
  }

  .article-lightbox-close {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .article-lightbox-download {
    font-size: 0.88rem;
    padding: 9px 12px;
  }
}

/* =========================
    CONTACT.CSS
========================= */

.hero-contact .hero-media img {
  object-position: center;
}

.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;
}

.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;
}

.contact-side {
  position: sticky;
  top: 86px;
}

@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;
}

.form-alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--c-border);
}

.form-alert--success {
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.28);
  color: #166534;
}

.form-alert--error {
  background: rgba(239, 68, 68, 0.10);
  border-color: rgba(239, 68, 68, 0.28);
  color: #991b1b;
}

/* Social cards */
.social-grid {
  display: grid;
  gap: var(--s-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 700px) {
  .social-grid {
    grid-template-columns: 1fr;
  }
}

.social-card {
  display: flex;
  align-items: center;
  gap: 35px;

  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;
}

.social-card figure {
  margin: 0;
}

.social-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.card .video-card {
  height: 100%;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-4);
  align-items: start;
}

@media (max-width: 1100px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  aspect-ratio: 16 / 9;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* =========================
    ADHERER
========================= */

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* HERO adhésion */
.hero-adhesion {
  position: relative;
  height: auto;
  padding: var(--s-7) 0;
  overflow: hidden;
}

/* dégradé bleu alt - transparent */
.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;
}

.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;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.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 */
@media (max-width: 980px) {

  .adherer-reasons,
  .adherer-uses {
    grid-template-columns: 1fr;
  }
}

/* SPECIAL */

.section-alt-2 {
  background-color: rgba(11, 99, 160, 0.18);
  padding-top: 0;
}

/* =========================
    NAVIGATION
========================= */

:root {
  --header-gutter: clamp(16px, 3vw, 28px);
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;

  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.header .container {
  padding-inline: var(--header-gutter);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 12px 0;
  min-width: 0;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-width: fit-content;
}

.brand-name {
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--c-text);
  font-size: 1.05rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-desktop {
  flex: 1;
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.nav-link {
  position: relative;
  font-size: 1.02rem;
  font-weight: 600;
  color: rgba(15, 23, 42, .72);
  padding: 10px 2px;
  transition: color .18s ease;
  white-space: nowrap;
}

.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 .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);
}

.header-cta-desktop {
  display: flex;
  align-items: center;
  min-width: fit-content;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: transparent;
  cursor: pointer;

  align-items: center;
  justify-content: center;
}

.nav-toggle:hover {
  border-color: var(--c-brand-700);
}

.nav-toggle-icon {
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, .72);
  position: relative;
  display: block;
  border-radius: 999px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: rgba(15, 23, 42, .72);
  border-radius: 999px;
  transition: transform .18s ease, top .18s ease, opacity .18s ease;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.nav-mobile {
  border-top: 1px solid var(--c-border);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

.nav-mobile .container {
  padding-inline: var(--header-gutter);
  padding-top: var(--s-4);
  padding-bottom: var(--s-4);
}

.nav-mobile-links {
  display: grid;
  gap: 10px;
}

.nav-mobile-links .nav-link {
  padding: 12px 6px;
  font-size: 1.10rem;
}

.header-cta-mobile {
  margin-top: var(--s-4);
}

.header-cta-mobile .btn {
  width: 100%;
  justify-content: center;
  padding: 14px 18px;
}

/* === BREAKPOINT MOBILE === */

@media (max-width: 1000px) {

  .nav-desktop,
  .header-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex; /* hamburger visible */
  }

  .header-inner {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1000px) {
  .nav-mobile-links .nav-link {
    font-size: 1rem;
    padding: 10px 6px;
    line-height: 1.25;
  }
}

@media (max-width: 1000px) {
  .nav-mobile-links .nav-link {
    display: inline-block;
    width: fit-content;
  }
}

/* MENU */

.header.is-open .nav-mobile {
  display: block;
}

.header.is-open .nav-toggle-icon {
  background: transparent;
}

.header.is-open .nav-toggle-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.header.is-open .nav-toggle-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

/* =========================
    FOOTER
========================= */

.site-footer {
  border-top: 1px solid var(--c-border);
  background: var(--c-surface);
}

.footer-top {
  padding: var(--s-6) 0;
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

/* brand */
.footer-brand {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
}

.footer-brand-name {
  font-family: var(--font-title);
  font-weight: 900;
  letter-spacing: .2px;
  color: var(--c-text);
  font-size: 1.1rem;
}

.footer-desc {
  margin: 0;
  color: var(--c-muted);
  max-width: 46ch;
}

.footer-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-col {
  min-width: 0;
}

.footer-title {
  margin: 0 0 10px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.05rem;
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-link {
  color: rgba(15, 23, 42, .78);
  font-weight: 600;
  transition: color .18s ease, transform .12s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.footer-link:hover {
  color: var(--c-brand-700);
  transform: translateY(-1px);
}

.footer-k {
  display: block;
  font-size: .85rem;
  color: rgba(15, 23, 42, .55);
  font-weight: 700;
  letter-spacing: .2px;
  margin-bottom: 2px;
}

.footer-v {
  color: rgba(15, 23, 42, .78);
  font-weight: 600;
}

/* social buttons */
.footer-social {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;

  border: 1px solid var(--c-border);
  background: var(--c-surface-2);
  color: rgba(15, 23, 42, .78);
  font-weight: 700;

  transition: transform .12s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.social-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 99, 160, 0.45);
  background: rgba(11, 99, 160, 0.08);
  color: var(--c-brand-700);
}

.footer-bottom {
  border-top: 1px solid var(--c-border);
  padding: var(--s-4) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}

.footer-copy {
  margin: 0;
  color: rgba(15, 23, 42, .65);
  font-weight: 600;
}

.footer-toplink {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--c-border);
  background: transparent;

  color: rgba(15, 23, 42, .78);
  font-weight: 700;

  transition: transform .12s ease, border-color .18s ease, color .18s ease;
}

.footer-toplink:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 99, 160, 0.45);
  color: var(--c-brand-700);
}

/* Responsive */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    padding: var(--s-5) 0;
  }

  .footer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-toplink {
    width: 100%;
    justify-content: center;
  }
}