/* ==========================================================================
   MÉCADOL 972 — Feuille de style principale
   Palette : gris pastel / blanc crème (dominante) + bleu roi / rouge / noir
   ========================================================================== */

:root {
  /* Dominantes */
  --cream:      #FBF8F3;
  --cream-2:    #F4EEE5;
  --gray:       #E8EBEE;
  --gray-2:     #D8DDE2;
  --gray-text:  #5C656E;

  /* Accents */
  --ink:        #14181D;   /* noir doux */
  --blue:       #16367D;   /* bleu roi */
  --blue-2:     #1E47A8;
  --blue-soft:  #E5EAF5;
  --red:        #D62828;
  --red-2:      #B91D1D;
  --white:      #FFFFFF;

  /* Système */
  --radius:     18px;
  --radius-sm:  12px;
  --shadow-sm:  0 2px 10px rgba(20, 24, 29, .06);
  --shadow:     0 12px 30px rgba(20, 24, 29, .10);
  --shadow-lg:  0 24px 60px rgba(20, 24, 29, .16);
  --maxw:       1180px;
  --ease:       cubic-bezier(.22, 1, .36, 1);

  --font-title: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body:  "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.4rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section-title {
  font-size: clamp(1.8rem, 4.2vw, 2.9rem);
  color: var(--ink);
  margin-bottom: .9rem;
}
.section-lead {
  color: var(--gray-text);
  font-size: 1.06rem;
  max-width: 60ch;
}
.text-center { text-align: center; }
.text-center .section-lead { margin-inline: auto; }
.text-center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  --bg: var(--blue);
  --fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .01em;
  background: var(--bg);
  color: var(--fg);
  border: 2px solid var(--bg);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(22, 54, 125, .28); }
.btn:active { transform: translateY(-1px); }

.btn--red   { --bg: var(--red); }
.btn--red:hover { box-shadow: 0 14px 26px rgba(214, 40, 40, .30); }

.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border-color: var(--gray-2);
}
.btn--ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }

.btn--light {
  --bg: var(--white); --fg: var(--blue);
  border-color: var(--white);
}

/* --------------------------------------------------------------------------
   En-tête / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 243, .72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--gray-2);
  background: rgba(251, 248, 243, .92);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -.01em;
  color: var(--ink);
}
.brand img { width: 42px; height: 42px; }
.brand small {
  display: block;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--blue);
  text-transform: uppercase;
}
.brand .brand-name { line-height: 1; }
.brand .brand-name b { color: var(--red); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .4rem;
  list-style: none;
}
.nav-links a {
  position: relative;
  padding: .55rem .9rem;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
  border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: .25rem;
  width: 0; height: 2px;
  background: var(--red);
  transform: translateX(-50%);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--blue); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 22px; }
.nav-links a.active { color: var(--blue); }

.nav-cta { margin-left: .4rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  cursor: pointer;
}
.burger span {
  width: 22px; height: 2px;
  background: var(--ink);
  margin-inline: auto;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--cream);
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(30, 71, 168, .55), transparent 60%),
    radial-gradient(800px 420px at -5% 110%, rgba(214, 40, 40, .28), transparent 55%),
    linear-gradient(160deg, #1b3d8f 0%, #14181d 70%);
  overflow: hidden;
}
.hero::after {
  /* trame technique discrète */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 30%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem 1rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  background: rgba(255,255,255,.06);
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ad07a;
  box-shadow: 0 0 0 0 rgba(58, 208, 122, .6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(58, 208, 122, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(58, 208, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 208, 122, 0); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  margin-bottom: 1.1rem;
}
.hero h1 .accent { color: #ffd0d0; }
.hero .slogan {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: #cdd8f2;
  margin-bottom: 1.3rem;
}
.hero p.lead {
  color: rgba(251, 248, 243, .82);
  font-size: 1.08rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-meta div { display: flex; align-items: center; gap: .6rem; font-size: .92rem; color: rgba(251,248,243,.85); }
.hero-meta .ic { color: #ffd0d0; flex: none; }

/* Carte flottante côté hero */
.hero-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 22px;
  padding: 1.6rem;
  backdrop-filter: blur(6px);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.hero-card h3 { font-size: 1.05rem; margin-bottom: 1rem; color: var(--cream); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.hero-stat {
  background: rgba(255,255,255,.07);
  border-radius: 14px;
  padding: 1rem;
}
.hero-stat b { font-family: var(--font-title); font-size: 1.7rem; color: var(--white); display: block; }
.hero-stat span { font-size: .8rem; color: rgba(251,248,243,.75); }

/* Bandeau défilant */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,.08);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  width: max-content;
  padding-block: .85rem;
  animation: scroll-x 28s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  color: rgba(251,248,243,.78);
}
.marquee span::before { content: "◆"; color: var(--red); }
@keyframes scroll-x {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   Services — barre de recherche + filtres + cartes
   -------------------------------------------------------------------------- */
.services { background: linear-gradient(180deg, var(--cream) 0%, var(--gray) 100%); }

.search-tools {
  margin: 2.2rem auto 1.4rem;
  max-width: 720px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: .7rem;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 999px;
  padding: .35rem .35rem .35rem 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.search-box svg { color: var(--gray-text); flex: none; }
.search-box input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding-block: .7rem;
}
.search-clear {
  border: none;
  background: var(--gray);
  color: var(--gray-text);
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.search-clear:hover { background: var(--red); color: var(--white); transform: rotate(90deg); }

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-bottom: 2.4rem;
}
.chip {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .86rem;
  padding: .5rem 1.05rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--gray-2);
  color: var(--gray-text);
  cursor: pointer;
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }

.results-count {
  text-align: center;
  font-size: .9rem;
  color: var(--gray-text);
  margin-bottom: 1.6rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.4rem;
}

.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--red));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }

.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.card-ic {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
  flex: none;
  transition: transform .35s var(--ease);
}
.card:hover .card-ic { transform: rotate(-8deg) scale(1.06); }
.card-cat {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-text);
  background: var(--gray);
  padding: .3rem .65rem;
  border-radius: 999px;
}
.card h3 { font-size: 1.16rem; margin-bottom: .5rem; }
.card p { font-size: .92rem; color: var(--gray-text); margin-bottom: 1.2rem; flex: 1; }
.card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--gray-2);
}
.price small {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-text);
}
.price b {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--blue);
}
.price b sup { font-size: .85rem; top: -.6em; }
.price-variants {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  color: var(--gray-text);
  margin-top: .15rem;
}
.card .btn-mini {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .82rem;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: gap .2s var(--ease);
}
.card:hover .btn-mini { gap: .6rem; }

.no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray-text);
}
.no-results.show { display: block; }
.no-results svg { margin: 0 auto 1rem; color: var(--gray-2); }

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  margin-top: 2.8rem;
}
.pagination:empty { display: none; }
.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 .7rem;
  border-radius: 12px;
  border: 1px solid var(--gray-2);
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s var(--ease),
              border-color .2s var(--ease), color .2s var(--ease);
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}
.page-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.page-btn:disabled { opacity: .4; cursor: not-allowed; }
.page-arrow { font-size: 1.3rem; line-height: 1; }
.page-ellipsis {
  padding: 0 .25rem;
  color: var(--gray-text);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Atouts (features)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.feature {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.feature .f-ic {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.feature:nth-child(2) .f-ic { background: var(--blue); }
.feature:nth-child(3) .f-ic { background: var(--red); }
.feature:nth-child(4) .f-ic { background: var(--blue-2); }
.feature h3 { font-size: 1.12rem; margin-bottom: .5rem; }
.feature p { font-size: .92rem; color: var(--gray-text); }

/* --------------------------------------------------------------------------
   Section "Jeunesse locale" (split)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split-visual {
  position: relative;
  border-radius: 24px;
  min-height: 380px;
  background:
    radial-gradient(600px 300px at 30% 20%, rgba(30,71,168,.5), transparent 60%),
    linear-gradient(150deg, #1b3d8f, #14181d);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--cream);
  box-shadow: var(--shadow);
}
.split-visual .big-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 1;
  background: linear-gradient(180deg, #fff, #9fb3e0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.split-visual .cap {
  position: absolute;
  bottom: 1.6rem; left: 1.6rem; right: 1.6rem;
  font-size: .95rem;
  color: rgba(251,248,243,.85);
}
.split-visual .gear-deco {
  position: absolute;
  width: 160px; height: 160px;
  top: -40px; right: -40px;
  opacity: .18;
  animation: spin 24s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.checklist { list-style: none; margin-top: 1.5rem; display: grid; gap: .9rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist .tick {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: grid; place-items: center;
  font-size: .8rem;
  margin-top: .15rem;
}

/* --------------------------------------------------------------------------
   Bandeau CTA
   -------------------------------------------------------------------------- */
.cta-band {
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(214,40,40,.30), transparent 55%),
    linear-gradient(150deg, var(--blue) 0%, var(--ink) 85%);
  color: var(--cream);
  border-radius: 28px;
  padding: clamp(2.4rem, 6vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { font-size: clamp(1.7rem, 4.5vw, 2.7rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(251,248,243,.85); max-width: 54ch; margin: 0 auto 1.8rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* --------------------------------------------------------------------------
   Page intérieure : hero compact
   -------------------------------------------------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 360px at 85% -20%, rgba(30,71,168,.5), transparent 60%),
    linear-gradient(160deg, #1b3d8f 0%, #14181d 80%);
  color: var(--cream);
  padding-block: clamp(3.2rem, 8vw, 5rem);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: .8rem; }
.page-hero p { color: rgba(251,248,243,.82); max-width: 60ch; margin: 0 auto; }
.breadcrumb { font-size: .85rem; color: rgba(251,248,243,.65); margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--cream); }

/* --------------------------------------------------------------------------
   "Qui sommes-nous"
   -------------------------------------------------------------------------- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.stat-box {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.6rem;
  text-align: center;
}
.stat-box b { font-family: var(--font-title); font-size: 2.2rem; color: var(--blue); display: block; }
.stat-box span { font-size: .9rem; color: var(--gray-text); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.value {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.8rem;
  border-top: 4px solid var(--blue);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.value:nth-child(2) { border-top-color: var(--red); }
.value:nth-child(3) { border-top-color: var(--ink); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.value h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.value p { font-size: .93rem; color: var(--gray-text); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.member {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.member:hover { transform: translateY(-6px); box-shadow: var(--shadow-sm); }
.member .avatar {
  height: 150px;
  display: grid; place-items: center;
  background: linear-gradient(150deg, var(--blue-soft), var(--gray));
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--blue);
}
.member .info { padding: 1.2rem; }
.member h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.member span { font-size: .85rem; color: var(--red); font-weight: 600; }

.timeline { margin-top: 2.6rem; display: grid; gap: 1.2rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.4rem;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
}
.timeline-item .year {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--red);
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.timeline-item p { font-size: .92rem; color: var(--gray-text); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: start;
}
.info-list { display: grid; gap: 1rem; }
.info-card {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.info-card .i-ic {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--blue);
}
.info-card:nth-child(2) .i-ic { background: #fce4e4; color: var(--red); }
.info-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.info-card p, .info-card a { font-size: .94rem; color: var(--gray-text); }
.info-card a:hover { color: var(--blue); }
.badge-soon {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--red);
  background: #fce4e4;
  padding: .15rem .55rem;
  border-radius: 999px;
  margin-left: .4rem;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: .85rem 1rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-note { font-size: .82rem; color: var(--gray-text); margin-top: .6rem; }
.form-success {
  display: none;
  align-items: center;
  gap: .7rem;
  background: #e7f6ee;
  color: #1b7a44;
  border: 1px solid #b7e3c9;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-weight: 600;
  font-size: .92rem;
}
.form-success.show { display: flex; }

.map-wrap {
  margin-top: 2.6rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-2);
  background:
    repeating-linear-gradient(45deg, var(--gray) 0 14px, var(--cream-2) 14px 28px);
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
}
.map-wrap .pin {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: 16px;
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow);
  max-width: 90%;
}
.map-wrap .pin .pin-ic {
  width: 50px; height: 50px;
  margin: 0 auto .7rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: grid; place-items: center;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(251, 248, 243, .8);
  padding-top: clamp(3rem, 7vw, 4.5rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.6rem;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; color: var(--cream); font-family: var(--font-title); font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }
.footer-brand img { width: 40px; height: 40px; }
.site-footer p { font-size: .92rem; max-width: 34ch; }
.footer-col h4 {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a, .footer-col li { font-size: .92rem; transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--cream); }
.footer-col .row { display: flex; gap: .55rem; align-items: flex-start; }
.footer-col .row svg { flex: none; margin-top: .15rem; color: var(--red); }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: var(--blue); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.4rem;
  justify-content: space-between;
  font-size: .85rem;
}

/* --------------------------------------------------------------------------
   Retour en haut
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 1.3rem; bottom: 1.3rem;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all .3s var(--ease);
  z-index: 90;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--red); transform: translateY(-4px); }

/* --------------------------------------------------------------------------
   Animations d'apparition
   -------------------------------------------------------------------------- */
/* Le masquage initial n'est appliqué que si JavaScript est actif (classe .js sur
   <html>). Sans JS, tout le contenu reste visible — pas de page blanche. */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .split-visual { min-height: 280px; order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: var(--cream);
    padding: 1rem clamp(1.1rem, 4vw, 2.4rem) 1.6rem;
    border-bottom: 1px solid var(--gray-2);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    z-index: 99;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: .9rem 1rem; border-radius: 12px; }
  .nav-links a:hover { background: var(--white); }
  .nav-links a::after { display: none; }
  .nav-cta { margin: .4rem 0 0; }
  .nav-cta .btn { width: 100%; }
  .burger { display: flex; }
}

@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr; }
  .two-cols { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; gap: .4rem; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
}
