/* ==============================================
   PROPOSITION 1 — "Verdoyant & Chaleureux"
   ============================================== */



/* ── VARIABLES ── */
:root {
  /* Palette */
  --olive:        #7A8C50;
  --olive-dark:   #556035;
  --olive-light:  #9FAE6E;
  --olive-pale:   #EEF2E4;
  --orange:       #E07A35;
  --orange-pale:  #FDF0E6;
  --pink:         #D05090;
  --pink-pale:    #FCE8F3;
  --blue:         #4A7BC4;
  --blue-pale:    #E8EEF8;
  --navy:         #1E3A6E;
  --navy-pale:    #E4EAF4;
  --cream:        #F7F4EE;
  --white:        #FFFFFF;
  --dark:         #242424;

  /* Texte */
  --text:         #2C2C2C;
  --text-muted:   #6B6B6B;
  --text-light:   #999999;

  /* Bordures */
  --border:       #E2DDD4;

  /* Ombres */
  --shadow-xs:    0 2px 8px rgba(0,0,0,.05);
  --shadow-sm:    0 4px 16px rgba(0,0,0,.08);
  --shadow:       0 8px 32px rgba(0,0,0,.12);

  /* Coins */
  --r-sm:         10px;
  --r:            20px;
  --r-lg:         32px;

  /* Typo */
  --font-brand:   'Dosis', sans-serif;
  --font-head:    'Borel', cursive;
  --font-body:    'Nunito', sans-serif;

  /* Layout */
  --nav-h:        80px;
  --max-w:        1200px;
  --section-py:   88px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-family: 'Dosis', sans-serif;
  font-weight: 700;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); border: none; cursor: pointer; }
/* Supprime le flash bleu au tap sur iOS/Android */
a, button, [role="button"] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

/* ── CONTAINER ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }

/* =============================================
   ANIMATION FADE-IN
   Actif SEULEMENT si JS a chargé (class js-loaded sur body)
   → sans JS, tout le contenu reste visible
   ============================================= */
.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
.js-loaded .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-xs);
}
.nav-container {
  max-width: var(--max-w); margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-img  { height: 52px; width: auto; }

.logo-text  { display: flex; flex-direction: column; }
.logo-name  {
  font-family: var(--font-brand);
  font-size: 1.15rem; font-weight: 700;
  color: white; line-height: 1.1;
  transition: color .3s;
}
.logo-slogan {
  font-family: var(--font-head);
  font-size: .68rem; color: rgba(255,255,255,.82);
  transition: color .3s;
}
.navbar.scrolled .logo-name   { color: var(--olive-dark); }
.navbar.scrolled .logo-slogan { color: var(--olive); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: .88rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  padding: 8px 13px; border-radius: var(--r-sm);
  transition: all .2s;
}
.navbar.scrolled .nav-link { color: var(--text); }

/* Navbar transparente (en haut) : hover et actif en blanc */
.nav-link:hover  { color: white; background: rgba(255,255,255,.18); }
.nav-link.active { color: white; background: rgba(255,255,255,.22); }

/* Navbar scrollée : hover et actif en vert olive */
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--olive); background: rgba(122,140,80,.1); }
.nav-link.nav-cta {
  background: white; color: var(--olive-dark) !important;
  padding: 8px 20px; margin-left: 6px;
}
.navbar.scrolled .nav-link.nav-cta { background: var(--olive); color: white !important; }
.nav-link.nav-cta:hover { background: var(--olive-dark); color: white !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; padding: 8px;
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  background: white; border-radius: 2px; transition: all .3s;
}
.navbar.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(155deg,
    rgba(85,96,53,.90) 0%,
    rgba(122,140,80,.80) 55%,
    rgba(30,58,110,.72) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: calc(var(--nav-h) + 48px) 28px 80px;
  max-width: 780px; color: white;
  animation: heroIn .9s ease both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  height: 340px; width: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 6px 32px rgba(0,0,0,.40));
}
.hero-title {
  font-family: var(--font-brand);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 700; color: white; line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0,0,0,.25); margin-bottom: 10px;
}
.hero-slogan {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  font-weight: 700; color: rgba(255,255,255,.92); margin-bottom: 20px;
}
.hero-tagline {
  font-size: clamp(.95rem, 2vw, 1.12rem);
  color: rgba(255,255,255,.82); line-height: 1.65;
  max-width: 560px; margin: 0 auto 42px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Indicateur de scroll */
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 1; color: rgba(255,255,255,.6);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: .75rem; letter-spacing: .5px; cursor: pointer;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,.6);
  border-bottom: 2px solid rgba(255,255,255,.6);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}

/* =============================================
   BOUTONS
   ============================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 30px; border-radius: 50px;
  font-family: var(--font-body); font-size: .95rem; font-weight: 700;
  border: 2px solid transparent; transition: all .25s; white-space: nowrap;
}
.btn-white  { background: white; color: var(--olive-dark); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,.65); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: white; }

.btn-olive  { background: var(--olive); color: white; border-color: var(--olive); }
.btn-olive:hover { background: var(--olive-dark); border-color: var(--olive-dark); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* =============================================
   ACCÈS RAPIDES
   ============================================= */
.quick-access { background: white; padding: 36px 0; }
.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.quick-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 8px; padding: 22px 14px;
  background: var(--cream); border-radius: var(--r);
  border: 2px solid transparent;
  transition: all .25s;
}
.quick-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-sm);
  border-color: var(--olive-light); background: white;
}
.quick-card.accent-orange { background: var(--orange-pale); border-color: rgba(224,122,53,.25); }
.quick-icon { font-size: 1.9rem; }
.quick-card h3 {
  font-family: var(--font-head); font-size: .95rem;
  color: var(--olive-dark); margin: 0;
}
.quick-card p { font-size: .78rem; color: var(--text-muted); line-height: 1.45; margin: 0; }

/* =============================================
   STRUCTURE DES SECTIONS
   ============================================= */
.section { padding: var(--section-py) 0; }
.section-white  { background: white; }
.section-cream  { background: var(--cream); }
.section-olive  { background: linear-gradient(135deg, var(--olive-dark), var(--olive)); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  color: var(--olive-dark); margin-bottom: 14px; line-height: 1.2;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 620px; margin: 0 auto; line-height: 1.7;
}

/* =============================================
   SECTION : DÉCOUVRIR LE PROJET
   ============================================= */

/* Intro narrative */
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-bottom: 64px;
}
.story-text p { font-size: 1.04rem; color: var(--text); line-height: 1.8; margin-bottom: 16px; }
.story-text p:last-child { margin-bottom: 0; }
.story-intro { font-style: italic; color: var(--olive); font-size: 1.12rem !important; }
.story-image img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow);
}

/* Pourquoi ce projet */
.why-section {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 56px; align-items: center;
  background: white; border-radius: var(--r-lg);
  padding: 48px; box-shadow: var(--shadow-xs);
  margin-bottom: 64px;
}
.why-left img {
  width: 100%; height: 360px; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.why-right h3 {
  font-family: var(--font-head); font-size: 1.75rem;
  color: var(--olive-dark); margin-bottom: 18px;
}
.why-right p { font-size: .98rem; color: var(--text); line-height: 1.8; margin-bottom: 14px; }
.conviction-box {
  background: var(--olive-pale); border-left: 4px solid var(--olive);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 20px 26px; margin: 20px 0;
}
.conviction-box p {
  font-style: italic; color: var(--olive-dark);
  margin: 0; font-size: 1.04rem; line-height: 1.75;
}

/* Qui suis-je */
.about-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 48px; align-items: start; margin-bottom: 64px;
}
.about-image img {
  width: 100%; height: 340px; object-fit: cover; object-position: bottom;
  border-radius: var(--r); box-shadow: var(--shadow);
}
.about-tag {
  display: inline-block; background: var(--olive-pale); color: var(--olive-dark);
  font-size: .72rem; font-weight: 700; padding: 4px 14px;
  border-radius: 50px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 12px;
}
.about-text h3 {
  font-family: var(--font-head); font-size: 1.75rem;
  color: var(--olive-dark); margin-bottom: 18px;
}
.about-text p { font-size: .98rem; color: var(--text); line-height: 1.8; margin-bottom: 14px; }

/* Vision + Pour qui */
.vision-section {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; margin-bottom: 64px;
}
.vision-box, .forwhom-box {
  background: white; border-radius: var(--r); padding: 36px; box-shadow: var(--shadow-xs);
}
.vision-box h3, .forwhom-box h3 {
  font-family: var(--font-head); font-size: 1.4rem;
  color: var(--olive-dark); margin-bottom: 14px;
}
.vision-box p { font-size: .95rem; color: var(--text); line-height: 1.8; margin-bottom: 10px; }
.audience-tags {
  display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 14px;
}
.audience-tags span {
  background: var(--cream); border: 2px solid var(--olive-light);
  color: var(--olive-dark); padding: 5px 15px; border-radius: 50px;
  font-size: .84rem; font-weight: 700; transition: all .2s;
}
.audience-tags span:hover { background: var(--olive); color: white; border-color: var(--olive); cursor: default; }
.audience-conclusion { font-size: .95rem; font-weight: 700; color: var(--olive-dark); }

/* Valeurs */
.values-title {
  font-family: var(--font-head); font-size: 1.75rem;
  color: var(--olive-dark); text-align: center; margin-bottom: 32px;
}
.values-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 22px;
}
.value-card {
  background: white; border-radius: var(--r); padding: 30px 22px;
  text-align: center; box-shadow: var(--shadow-xs);
  border: 2px solid transparent; transition: all .25s;
}
.value-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-sm);
  border-color: var(--olive-light);
}
.val-icon { font-size: 2.2rem; display: block; margin-bottom: 10px; }
.value-card h4 {
  font-family: var(--font-head); font-size: 1rem;
  color: var(--olive-dark); margin-bottom: 6px;
}
.value-card p { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }

/* =============================================
   SECTION : NOS ATELIERS
   ============================================= */

/* Intro ateliers */
.ateliers-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center; margin-bottom: 48px;
}
.ateliers-intro-img {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--r); box-shadow: var(--shadow-sm);
}
.ateliers-formats h3 {
  font-family: var(--font-head); font-size: 1.35rem;
  color: var(--olive-dark); margin-bottom: 18px;
}
.ateliers-formats li {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: .95rem; color: var(--text);
}
.ateliers-formats li:last-child { border: none; }
.fmt-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Onglets */
.ateliers-tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 40px;
}
.tab-btn {
  background: var(--cream); border: 2px solid var(--border);
  color: var(--text); padding: 10px 22px; border-radius: 50px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 700;
  transition: all .22s;
}
.tab-btn.active,
.tab-btn:hover { background: var(--olive); color: white; border-color: var(--olive); }

.tab-content         { display: none; }
.tab-content.active  { display: block; }

/* Grille de cartes */
.ateliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Carte atelier */
.atelier-card {
  background: white; border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-xs); display: flex; flex-direction: column;
  border-left: 5px solid transparent; transition: all .25s;
  cursor: pointer;
}
.atelier-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.atelier-img { width: 100%; height: 180px; object-fit: cover; display: block; }

.atelier-header { padding: 18px 20px 10px; }
.atelier-badge {
  display: inline-flex; align-items: center; height: 24px;
  font-size: .7rem; font-weight: 800;
  padding: 0 11px; border-radius: 50px;
  text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px;
}
.atelier-header h3 {
  font-family: var(--font-head); font-size: 1.1rem; line-height: 1.3;
}
.atelier-body { padding: 0 20px 14px; flex: 1; }
.atelier-desc { font-size: .9rem; color: var(--text); line-height: 1.65; margin-bottom: 14px; }

/* Durée + public */
.atelier-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.atelier-duration {
  display: inline-flex; align-items: center; gap: 5px; height: 26px;
  font-size: .76rem; font-weight: 700; color: var(--text-muted);
  background: var(--cream); padding: 0 10px; border-radius: 50px;
  border: 1px solid var(--border);
}
.atelier-duration svg { flex-shrink: 0; stroke: var(--text-muted); }
.atelier-public-tag {
  display: inline-flex; align-items: center; height: 26px;
  font-size: .72rem; font-weight: 700; color: var(--text-muted);
  background: var(--cream); padding: 0 10px; border-radius: 50px;
  border: 1px solid var(--border);
}

/* Lien "voir la fiche" en bas de carte */
.atelier-open-cta {
  display: block; padding: 11px 20px;
  border-top: 1px solid var(--border);
  font-size: .8rem; font-weight: 700; color: var(--text-muted);
  text-align: center; transition: all .22s;
  background: transparent;
}
.atelier-card:hover .atelier-open-cta {
  color: inherit; background: var(--cream);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,.55); backdrop-filter: blur(5px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: white; border-radius: var(--r-lg);
  max-width: 680px; width: 100%; max-height: 90vh;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
  transform: translateY(20px) scale(.97);
  transition: transform .3s ease;
  box-shadow: 0 28px 80px rgba(0,0,0,.28);
}
.modal-overlay.open .modal-box { transform: translateY(0) scale(1); }

/* Accent couleur en haut du modal selon le type */
.modal-box.color-vert    { border-top: 4px solid var(--olive); }
.modal-box.color-orange  { border-top: 4px solid var(--orange); }
.modal-box.color-rose    { border-top: 4px solid var(--pink); }
.modal-box.color-bleu    { border-top: 4px solid var(--blue); }
.modal-box.color-bleu-marine { border-top: 4px solid var(--navy); }

.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); z-index: 10; border: none;
  transition: all .2s;
}
.modal-close:hover { background: white; color: var(--text); transform: scale(1.1); box-shadow: var(--shadow-xs); }

.modal-img {
  width: 100%; height: 220px; object-fit: cover; display: block;
  flex-shrink: 0;
}

.modal-header-content {
  padding: 18px 28px 16px; flex-shrink: 0;
  border-bottom: 1px solid var(--border);
}
.modal-meta-row { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.modal-duration-tag {
  display: inline-flex; align-items: center; gap: 6px; height: 28px;
  background: var(--cream); padding: 0 13px; border-radius: 50px;
  font-size: .78rem; font-weight: 700; color: var(--text-muted);
  border: 1px solid var(--border);
}
/* Le badge dans le modal-meta-row hérite du même height */
.modal-meta-row .atelier-badge { height: 28px; margin-bottom: 0; }
.modal-duration-tag svg { flex-shrink: 0; stroke: var(--text-muted); }
.modal-title {
  font-family: var(--font-head); font-size: 1.5rem;
  color: var(--text); line-height: 1.25; margin: 0;
}

.modal-body-content {
  padding: 20px 28px 0;
  overflow-y: auto; flex: 1;
}
/* Scrollbar discrète */
.modal-body-content::-webkit-scrollbar { width: 4px; }
.modal-body-content::-webkit-scrollbar-track { background: transparent; }
.modal-body-content::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.modal-body-content p {
  font-size: .93rem; color: var(--text); line-height: 1.75; margin-bottom: 10px;
}
.modal-body-content ul { margin: 6px 0 14px; }
.modal-body-content li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .9rem; color: var(--text-muted); padding: 4px 0;
}
.modal-body-content li::before { content: '→'; flex-shrink: 0; color: var(--text-light); }
.detail-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 10px 0; }

/* Anciens styles (rétrocompat) */
.atelier-format  { font-style: italic; font-size: .82rem !important; color: var(--text-muted) !important; }
.atelier-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 8px; }

/* Couleurs par type */
.color-vert  { border-left-color: var(--olive); }
.color-vert  .atelier-badge { background: var(--olive-pale);   color: var(--olive-dark); }
.color-vert  .atelier-header h3 { color: var(--olive-dark); }

.color-orange { border-left-color: var(--orange); }
.color-orange .atelier-badge { background: var(--orange-pale); color: #7A3010; }
.color-orange .atelier-header h3 { color: #7A3010; }

.color-rose  { border-left-color: var(--pink); }
.color-rose  .atelier-badge { background: var(--pink-pale);    color: #7A1842; }
.color-rose  .atelier-header h3 { color: #7A1842; }

.color-bleu  { border-left-color: var(--blue); }
.color-bleu  .atelier-badge { background: var(--blue-pale);    color: #1A3A7A; }
.color-bleu  .atelier-header h3 { color: #1A3A7A; }

.color-bleu-marine { border-left-color: var(--navy); }
.color-bleu-marine .atelier-badge { background: var(--navy-pale); color: var(--navy); }
.color-bleu-marine .atelier-header h3 { color: var(--navy); }

/* Section Les + */
.plus-section { text-align: center; }
.plus-intro   { font-size: 1.04rem; color: var(--text-muted); margin-bottom: 40px; }
.plus-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; margin-bottom: 24px; }
.plus-card {
  background: var(--cream); border-radius: var(--r); padding: 30px 18px;
  text-align: center; transition: all .25s;
}
.plus-card:hover { background: white; box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.plus-icon  { font-size: 2.3rem; display: block; margin-bottom: 10px; }
.plus-card h4 { font-family: var(--font-head); color: var(--olive-dark); margin-bottom: 6px; }
.plus-card p  { font-size: .86rem; color: var(--text-muted); line-height: 1.6; }
.plus-note    { font-style: italic; color: var(--text-muted); font-size: .86rem; }

/* =============================================
   SECTION : FINANCEMENT PARTICIPATIF
   ============================================= */
.fp-layout {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 52px; align-items: start;
}
.fp-heading {
  font-family: var(--font-head); font-size: 1.5rem;
  color: var(--olive-dark); margin-bottom: 12px;
}
.fp-intro { font-size: .95rem; color: var(--text); margin-bottom: 18px; }
.fp-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.fp-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .93rem; color: var(--text); line-height: 1.5;
}
.fp-list li::before {
  content: '✔'; color: var(--olive); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.fp-conviction {
  background: var(--olive-pale);
  border-left: 4px solid var(--olive);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 16px 20px;
}
.fp-conviction p {
  font-size: .9rem; color: var(--olive-dark);
  line-height: 1.7; margin: 0; font-style: italic;
}
.fp-cta-card {
  background: white; border-radius: var(--r-lg);
  padding: 32px 28px; box-shadow: var(--shadow);
  border-top: 4px solid var(--olive);
  display: flex; flex-direction: column; gap: 14px;
  position: sticky; top: 100px;
}
.fp-cta-headline {
  font-family: var(--font-head); font-size: 1.4rem;
  color: var(--olive-dark); margin: 0; text-align: center;
}
.fp-cta-text { font-size: .92rem; color: var(--text); text-align: center; margin: 0; }
.fp-main-btn { width: 100%; text-align: center; padding: 14px 20px; font-size: 1rem; justify-content: center; }
.fp-contreparties {
  font-size: .82rem; color: var(--text-muted);
  text-align: center; margin: 0; font-style: italic;
}
.fp-divider { height: 1px; background: var(--border); margin: 2px 0; }
.fp-share { font-size: .88rem; color: var(--text); line-height: 1.6; margin: 0; }
.fp-merci {
  font-family: var(--font-head); font-size: 1.3rem;
  color: var(--olive); text-align: center; margin: 0;
}
.fp-social-hint { font-size: .82rem; color: var(--text-muted); text-align: center; margin: 0; }
.fp-partner-block {
  border-top: 1px solid var(--border); padding-top: 14px;
  text-align: center; display: flex; flex-direction: column; gap: 10px;
}
.fp-partner-block p { font-size: .86rem; color: var(--text); margin: 0; line-height: 1.5; }
.fp-partner-block .btn { align-self: center; }

/* ── Bouton inscription modal ── */
.modal-inscription {
  margin-top: 20px; padding: 20px 28px 32px;
  border-top: 1px dashed var(--border); text-align: center;
  /* Dernier élément dans la zone de scroll — padding bas suffisant */
}
.btn-inscription {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--olive); color: white;
  font-family: var(--font-body); font-weight: 700;
  font-size: .9rem; padding: 13px 26px;
  border-radius: var(--r-sm); text-decoration: none; transition: all .22s;
}
.btn-inscription:hover {
  background: var(--olive-dark); transform: translateY(-2px);
  box-shadow: var(--shadow-sm); color: white;
}
.modal-inscription-hint {
  margin-top: 8px; font-size: .76rem; color: var(--text-muted);
}

/* =============================================
   SECTION : ACTUALITÉS
   ============================================= */

/* Bannière lancement */
.launch-banner {
  display: flex; align-items: flex-start; gap: 22px;
  background: var(--olive-dark); color: white;
  border-radius: var(--r-lg); padding: 28px 32px;
  margin-bottom: 52px;
}
.launch-rocket { font-size: 2.4rem; flex-shrink: 0; line-height: 1; }
.launch-date {
  font-family: var(--font-head); font-size: 1.45rem;
  margin: 0 0 8px;
}
.launch-desc { font-size: .9rem; line-height: 1.7; opacity: .88; margin: 0; }

/* Bloc agenda */
.agenda-block { margin-bottom: 56px; }
.agenda-title {
  font-family: var(--font-head); font-size: 1.4rem;
  color: var(--text); margin-bottom: 18px;
}
.agenda-table-wrap {
  overflow-x: auto; border-radius: var(--r);
  box-shadow: var(--shadow-xs); border: 1px solid var(--border);
}
.agenda-table {
  width: 100%; border-collapse: collapse;
  background: white; min-width: 700px;
}
.agenda-table thead th {
  background: #2c2c2c; color: white;
  font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  padding: 13px 10px; text-align: center; letter-spacing: .3px;
}
.agenda-table thead th.ag-time-col { background: #1a1a1a; width: 88px; }
.agenda-table td {
  vertical-align: top; padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  height: 132px; /* agit comme min-height sur les cellules de tableau */
}
.agenda-table tr:last-child td { border-bottom: none; }
.agenda-table td:last-child { border-right: none; }
.ag-row-label {
  background: var(--cream) !important; font-weight: 700; font-size: .8rem;
  color: var(--text-muted); text-align: center; white-space: nowrap;
  vertical-align: middle;
}
.ag-tag {
  display: block; font-size: .77rem; font-weight: 600;
  padding: 6px 10px; border-radius: 6px;
  margin-bottom: 6px; line-height: 1.4;
}
.ag-tag:last-child { margin-bottom: 0; }
.ag-enfants  { background: var(--olive-pale);  color: var(--olive-dark); }
.ag-adultes  { background: var(--orange-pale); color: #7a3800; }
.ag-familles { background: var(--pink-pale);   color: #7a0048; }
.ag-indiv    { background: var(--blue-pale);   color: var(--navy); }
.ag-prep     { background: #f0f0f0; color: var(--text-muted); }
.ag-empty    { color: var(--text-light); text-align: center; font-size: .85rem; }

/* Légende agenda */
.agenda-legend {
  display: flex; flex-wrap: wrap; gap: 14px 22px;
  margin-top: 16px;
}
.ag-legend-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .78rem; color: var(--text-muted);
}
.ag-dot {
  width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
}
.ag-dot.ag-enfants  { background: var(--olive); }
.ag-dot.ag-adultes  { background: var(--orange); }
.ag-dot.ag-familles { background: var(--pink); }
.ag-dot.ag-indiv    { background: var(--blue); }
.ag-dot.ag-prep     { background: #bbb; }
.agenda-note {
  font-size: .78rem; color: var(--text-muted);
  margin-top: 8px; font-style: italic;
}

/* Ce qui fait notre différence */
.difference-block {
  background: var(--olive-pale); border-radius: var(--r-lg);
  padding: 40px 44px;
}
.difference-title {
  font-family: var(--font-head); font-size: 1.6rem;
  color: var(--olive-dark); margin-bottom: 8px;
}
.difference-intro {
  font-size: .95rem; color: var(--text-muted); margin-bottom: 28px;
}
.difference-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 14px;
}
.diff-item {
  display: flex; align-items: flex-start; gap: 11px;
  background: white; border-radius: var(--r-sm);
  padding: 15px 16px; border: 1px solid rgba(122,140,80,.15);
}
.diff-check {
  color: var(--olive); font-weight: 900; font-size: 1rem;
  flex-shrink: 0; margin-top: 2px;
}
.diff-item p { font-size: .85rem; color: var(--text); line-height: 1.55; margin: 0; }

/* =============================================
   SECTION : CONTACT (mailto + map)
   ============================================= */
.contact-layout {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 52px; align-items: start;
}

/* Colonne gauche */
.contact-left { display: flex; flex-direction: column; gap: 20px; }

/* CTA email principal */
.contact-email-cta {
  display: flex; align-items: center; gap: 18px;
  background: var(--olive); color: white;
  padding: 22px 26px; border-radius: var(--r);
  transition: all .25s; border: 2px solid transparent;
}
.contact-email-cta:hover {
  background: var(--olive-dark);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.cta-icon-svg {
  width: 32px; height: 32px; flex-shrink: 0;
  stroke: rgba(255,255,255,.9);
}
.cta-text { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.cta-label {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .6px;
  color: rgba(255,255,255,.75);
}
.cta-email {
  font-family: var(--font-head); font-size: 1.08rem;
  color: white; font-weight: 400;
}
.cta-arrow { width: 20px; height: 20px; flex-shrink: 0; stroke: rgba(255,255,255,.7); }

/* Infos secondaires */
.contact-info-list {
  background: var(--cream); border-radius: var(--r);
  overflow: hidden;
}
.contact-info-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.contact-info-row:last-child { border-bottom: none; }
.ci-icon-svg {
  width: 20px; height: 20px; flex-shrink: 0;
  margin-top: 2px; stroke: var(--olive); stroke-width: 1.8;
}
.ci-label {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-muted); margin-bottom: 3px;
}
.ci-value { font-size: .93rem; color: var(--text); line-height: 1.55; }
a.ci-value { transition: color .2s; }
a.ci-value:hover { color: var(--olive); }

/* Réseaux sociaux */
.social-block-label {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px;
  color: var(--text-muted); margin-bottom: 10px;
}
.social-links { display: flex; flex-direction: column; gap: 8px; }
.social-fb, .social-ig {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: var(--r-sm);
  font-weight: 700; font-size: .86rem; color: white;
  max-width: 200px; transition: all .22s;
}
.social-fb { background: #1877F2; }
.social-ig { background: linear-gradient(135deg,#E1306C,#833AB4); }
.social-fb:hover, .social-ig:hover { transform: translateX(4px); opacity: .9; }

/* Carte Google Maps */
.contact-map {
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm); height: 440px;
  border: 2px solid var(--border);
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #1a1a1a;
  color: #777;
  padding: 0 0 0;
}

/* Liseré olive en haut */
.footer-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--olive-dark), var(--olive-light), var(--olive-dark));
}

.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 56px; padding: 60px 0 52px;
}

/* Colonne marque */
.footer-brand { display: flex; flex-direction: column; gap: 0; }

.footer-logo-img {
  height: 80px; width: auto;
  object-fit: contain; align-self: flex-start;
  margin-bottom: 14px;
  /* Filtre pour rendre visible sur fond sombre si logo est transparent */
  filter: brightness(0) invert(1) opacity(.9);
}

.footer-logo-name {
  font-family: var(--font-brand);
  font-size: 1.2rem; font-weight: 700;
  color: #e8e8e8; letter-spacing: .02em;
  margin-bottom: 3px;
}
.footer-slogan {
  font-family: var(--font-head);
  font-size: .74rem; color: var(--olive-light);
  letter-spacing: .03em; margin-bottom: 16px;
}
.footer-desc {
  font-size: .84rem; line-height: 1.75;
  color: #666; max-width: 280px; margin-bottom: 22px;
}

/* Boutons sociaux */
.footer-social { display: flex; flex-direction: column; gap: 8px; }
.footer-social-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px; border-radius: var(--r-sm);
  font-size: .82rem; font-weight: 700;
  color: #ccc; background: #2a2a2a;
  border: 1px solid #333; max-width: 160px;
  transition: all .22s;
}
.footer-social-btn svg { flex-shrink: 0; }
.footer-social-btn:hover {
  background: #333; color: white; border-color: #444;
  transform: translateX(3px);
}

/* Colonnes nav & contact */
.footer-heading {
  font-family: var(--font-head); font-size: .8rem;
  color: var(--olive-light); font-weight: 400;
  text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 20px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a  { font-size: .84rem; color: #666; transition: color .2s; }
.footer-nav a:hover { color: #ccc; }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .84rem; color: #666;
}
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; stroke: #555; }
.footer-contact-list a { color: #666; transition: color .2s; }
.footer-contact-list a:hover { color: #ccc; }

/* Bas de footer */
.footer-bottom {
  border-top: 1px solid #2a2a2a; padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: .76rem; color: #444; }
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal a { font-size: .76rem; color: #444; transition: color .2s; }
.footer-legal a:hover { color: #888; }
.footer-sep { color: #333; font-size: .7rem; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
  .quick-grid       { grid-template-columns: repeat(3,1fr); }
  .story-grid       { grid-template-columns: 1fr; gap: 40px; }
  .story-image img  { height: 300px; }
  .why-section      { grid-template-columns: 1fr; gap: 32px; padding: 36px; }
  .why-left img     { height: 220px; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-image img  { height: 240px; max-width: 260px; }
  .vision-section   { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: repeat(2,1fr); }
  .ateliers-intro   { grid-template-columns: 1fr; }
  .ateliers-intro-img { height: 220px; }
  .plus-grid        { grid-template-columns: repeat(2,1fr); }
  .fp-layout { grid-template-columns: 1fr; gap: 32px; }
  .fp-cta-card { position: static; }
  .difference-grid  { grid-template-columns: repeat(2,1fr); }
  .difference-block { padding: 28px 24px; }
  .contact-layout   { grid-template-columns: 1fr; gap: 36px; }
  .contact-map      { height: 320px; }
  .footer-grid      { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 0 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; --section-py: 60px; }

  /* Nav mobile */
  .hamburger  { display: flex; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,.98); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 14px; gap: 4px; box-shadow: var(--shadow);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: all .3s;
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-link { color: var(--text) !important; width: 100%; text-align: center; padding: 14px; min-height: 48px; }
  .nav-link.nav-cta { background: var(--olive) !important; color: white !important; margin-left: 0; }
  .logo-text { display: none; }
  .hamburger { width: 48px; height: 48px; }

  /* Hero */
  .hero-logo    { height: 200px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn          { min-height: 48px; padding: 13px 26px; }

  /* Sections */
  .quick-grid       { grid-template-columns: repeat(2,1fr); }
  .ateliers-grid    { grid-template-columns: 1fr; }
  .atelier-two-col  { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .plus-grid        { grid-template-columns: repeat(2,1fr); }
  .difference-grid  { grid-template-columns: 1fr; }
  .difference-block { padding: 28px 20px; }
  .launch-banner    { flex-direction: column; gap: 12px; padding: 22px 20px; }
  .fp-layout        { grid-template-columns: 1fr; gap: 28px; }
  .fp-cta-card      { position: static; }

  /* Agenda — indice de scroll horizontal */
  .agenda-table-wrap::before {
    content: '← Faites défiler pour voir tout l\'agenda →';
    display: block; text-align: center; font-size: .72rem;
    color: var(--text-muted); padding: 8px; background: var(--cream);
    border-bottom: 1px solid var(--border);
  }
  /* Réduire la hauteur des lignes sur tablette */
  .agenda-table td { height: 90px; }

  /* Modal — bottom sheet sur mobile */
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-box {
    max-width: 100%; max-height: 90vh; max-height: 90dvh;
    border-radius: 20px 20px 0 0;
    transform: translateY(60px);
  }
  .modal-overlay.open .modal-box { transform: translateY(0); }
  .modal-img            { height: 170px; }
  .modal-header-content { padding: 14px 18px 12px; }
  .modal-title          { font-size: 1.2rem; }
  .modal-body-content   { padding: 14px 18px 0; }
  .detail-two-col       { grid-template-columns: 1fr; gap: 0; }
  .modal-inscription    { padding: 16px 18px 28px; }

  /* Contact */
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-map    { height: 280px; }

  /* Footer */
  .footer-grid      { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 32px; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .footer-legal     { justify-content: center; }
  .footer-logo-img  { height: 64px; }
}

@media (max-width: 480px) {
  :root { --section-py: 48px; }

  .quick-grid    { grid-template-columns: 1fr; }
  .plus-grid     { grid-template-columns: 1fr; }
  .hero-logo     { height: 180px; }
  .hero-slogan   { font-size: 1rem; }
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }

  /* Tabs ateliers — scrollables sur petits écrans */
  .ateliers-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start;
                   padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
  .tab-btn       { flex-shrink: 0; font-size: .82rem; padding: 9px 16px; }

  /* Modal compact */
  .modal-img            { height: 140px; }
  .modal-title          { font-size: 1.05rem; }
  .modal-overlay        { padding: 0; }
  .btn-inscription      { font-size: .82rem; padding: 11px 18px; }

  /* Agenda */
  .agenda-table td { height: 70px; padding: 8px 6px; }
  .ag-tag          { font-size: .68rem; padding: 4px 7px; }

  /* Financement */
  .fp-cta-card { padding: 22px 18px; }
  .fp-merci    { font-size: 1.1rem; }

  /* Différence */
  .difference-block { padding: 22px 16px; }
  .diff-item        { padding: 12px 14px; }

  /* Footer */
  .footer-social { flex-direction: column; }
  .footer-social-btn { max-width: 100%; }
}
