/* ==========================================================================
   API Potager — feuille de style
   Palette inspirée du logo : vert sauge, coquelicot, miel, vert forêt.
   ========================================================================== */

:root {
  --forest: #1f4d3a;
  --forest-deep: #143528;
  --sage: #7fa27a;
  --sage-soft: #dfe9d8;
  --poppy: #e4492c;
  --poppy-dark: #c13a20;
  --honey: #f2b33d;
  --honey-soft: #fdf0d2;
  --cream: #faf6ec;
  --paper: #ffffff;
  --ink: #23302a;
  --ink-soft: #55625b;
  --line: #e6e0cf;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(31, 77, 58, 0.25);
  --shadow-lg: 0 24px 60px -20px rgba(31, 77, 58, 0.35);
  --container: 1180px;
  --header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--forest); }
a:hover { color: var(--poppy-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; border-radius: 6px; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.85em 1.5em;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--poppy); color: #fff; box-shadow: 0 8px 20px -8px rgba(228, 73, 44, .6); }
.btn-primary:hover { background: var(--poppy-dark); color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--forest); background: transparent; }
.btn-ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn-light { background: #fff; color: var(--forest); }
.btn-light:hover { background: var(--honey); color: var(--forest-deep); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(0,0,0,.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow); }
.brand-logo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.brand-text { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1; }
.brand-text small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .72rem; color: var(--ink-soft); letter-spacing: .04em; margin-top: 4px; }

.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: .98rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--sage-soft); color: var(--forest); }
.main-nav .btn { margin-left: 8px; padding: .6em 1.2em; }
.main-nav .btn:hover { background: var(--poppy-dark); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--forest);
}
.nav-toggle span { display: block; width: 26px; height: 2.5px; background: currentColor; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: 12px 16px 24px;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .main-nav ul { flex-direction: column; align-items: stretch; }
  .main-nav a { padding: 12px 16px; font-size: 1.05rem; }
  .main-nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Sections génériques ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-alt { background: var(--paper); }
.section-green { background: var(--forest); color: #e8efe6; }
.section-green h2, .section-green h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--poppy); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section-green .eyebrow { color: var(--honey); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.section-green .lead { color: #c9d9c5; }

/* ---------- Hero ---------- */
.hero { padding: clamp(32px, 5vw, 64px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--poppy); font-weight: 500; }
.hero .lead { max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 0; list-style: none; }
.hero-tags li {
  background: var(--paper); border: 1px solid var(--line);
  padding: 6px 14px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--forest);
}

.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-visual .ph {
  position: absolute; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.hero-visual .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .ph-1 { inset: 0 18% 26% 0; }
.hero-visual .ph-2 { width: 50%; aspect-ratio: 4/5; right: 0; bottom: 0; border-radius: 200px 200px var(--radius-lg) var(--radius-lg); }
.hero-visual .ph-3 { width: 34%; aspect-ratio: 1; left: 6%; bottom: 0; border-radius: 50%; }
.hero-badge {
  position: absolute; top: 6%; right: 2%; z-index: 2;
  width: 118px; height: 118px; border-radius: 50%;
  background: var(--honey); color: var(--forest-deep);
  display: grid; place-content: center; text-align: center;
  font-family: var(--font-display); font-weight: 700; line-height: 1.05;
  box-shadow: var(--shadow); transform: rotate(-10deg);
}
.hero-badge strong { font-size: 1.9rem; display: block; }
.hero-badge span { font-size: .85rem; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
}

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--paper); border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid var(--line);
}
.stat strong { display: block; font-family: var(--font-display); font-size: 2.3rem; color: var(--forest); line-height: 1; margin-bottom: 8px; }
.stat span { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bloc deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.media-stack { position: relative; }
.media-stack .main { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.media-stack .main img { width: 100%; height: 100%; object-fit: cover; }
.media-stack .float {
  position: absolute; width: 42%; aspect-ratio: 1; bottom: -28px; right: -20px;
  border-radius: var(--radius); overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.section-alt .media-stack .float { border-color: var(--paper); }
.media-stack .float img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .media-stack .float { right: 12px; bottom: -20px; } }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex-shrink: 0; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--sage-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f4d3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section-green .checklist li::before { background-color: rgba(255,255,255,.12); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b33d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.pill-list li { background: var(--honey-soft); color: #7a5300; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .9rem; }

/* ---------- Plan du jardin ---------- */
.garden-plan {
  margin-top: 64px; border-radius: var(--radius-lg); overflow: hidden; position: relative; box-shadow: var(--shadow-lg);
}
.garden-plan img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.garden-plan figcaption {
  position: absolute; left: 20px; bottom: 20px; right: 20px; max-width: 460px;
  background: rgba(20, 53, 40, .85); color: #fff; padding: 14px 18px; border-radius: 14px; font-size: .95rem;
  backdrop-filter: blur(6px);
}
@media (max-width: 600px) {
  .garden-plan img { aspect-ratio: 16/9; }
  .garden-plan figcaption { position: static; max-width: none; border-radius: 0; background: var(--forest-deep); }
}

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.feature { background: var(--cream); border-radius: var(--radius); padding: 24px; }
.feature .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sage-soft); color: var(--forest); margin-bottom: 14px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 6px; }
.feature p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* ---------- Cartes d'animations ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { aspect-ratio: 4/3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--ink-soft); font-size: .98rem; }
.card-meta { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; font-weight: 800; letter-spacing: .03em; padding: 4px 10px; border-radius: 999px; background: var(--sage-soft); color: var(--forest); }
.tag.honey { background: var(--honey-soft); color: #7a5300; }
.tag.poppy { background: #fde3dd; color: var(--poppy-dark); }

/* ---------- Saisons ---------- */
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.season {
  border-radius: var(--radius); padding: 24px 22px; position: relative; overflow: hidden;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.season .s-name { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.season .s-name span { font-size: 1.5rem; }
.season p { margin: 0; color: #c9d9c5; font-size: .98rem; }
@media (max-width: 960px) { .seasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .seasons { grid-template-columns: 1fr; } }

.cta-band {
  margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--honey); color: var(--forest-deep); padding: 28px 32px; border-radius: var(--radius-lg);
}
.cta-band h3 { color: var(--forest-deep); margin: 0 0 4px; }
.cta-band p { margin: 0; }
.cta-band .btn-primary { background: var(--forest); box-shadow: none; }
.cta-band .btn-primary:hover { background: var(--forest-deep); }

/* ---------- Adhésion ---------- */
.membership {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 0;
  background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.membership-body { padding: clamp(28px, 5vw, 56px); }
.membership-visual { position: relative; min-height: 360px; }
.membership-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.price-tag {
  position: absolute; left: 24px; bottom: 24px; background: var(--poppy); color: #fff;
  padding: 16px 22px; border-radius: 20px; box-shadow: var(--shadow-lg);
  font-family: var(--font-display); line-height: 1;
}
.price-tag strong { font-size: 3rem; }
.price-tag span { font-size: 1.1rem; margin-left: 4px; }
.price-tag small { display: block; font-family: var(--font-body); font-size: .85rem; margin-top: 6px; opacity: .9; }
@media (max-width: 860px) { .membership { grid-template-columns: 1fr; } .membership-visual { order: -1; min-height: 260px; } }

/* ---------- Projets ---------- */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.project { background: var(--cream); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.project img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.project-body { padding: 22px 24px 26px; }
.project-body .place { font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sage); }
.project-body h3 { margin: 6px 0 10px; font-size: 1.25rem; }
.project-body p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (max-width: 960px) { .projects { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

/* ---------- Galerie ---------- */
.gallery { columns: 4 240px; column-gap: 14px; }
.gallery button {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 14px; overflow: hidden; background: var(--sage-soft); break-inside: avoid;
}
.gallery img { width: 100%; height: auto; transition: transform .4s ease, opacity .3s; }
.gallery button:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(12, 28, 21, .94);
  display: none; align-items: center; justify-content: center; padding: 56px 16px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 100%; border-radius: 12px; object-fit: contain; }
.lightbox-caption { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #dfe9d8; font-size: .95rem; padding: 0 60px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; cursor: pointer;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
}
.lb-btn:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Équipe & partenaires ---------- */
.team { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.member { text-align: center; background: var(--paper); border-radius: var(--radius); padding: 26px 14px; border: 1px solid var(--line); }
.avatar {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: #fff;
  background: var(--sage);
}
.member:nth-child(2) .avatar { background: var(--poppy); }
.member:nth-child(3) .avatar { background: var(--honey); color: var(--forest-deep); }
.member:nth-child(4) .avatar { background: var(--forest); }
.member:nth-child(5) .avatar { background: #b87a4b; }
.member strong { display: block; font-family: var(--font-display); color: var(--forest); font-size: 1.08rem; }
.member span { color: var(--ink-soft); font-size: .9rem; }
.member.highlight { border-color: var(--sage); background: var(--sage-soft); }
@media (max-width: 960px) { .team { grid-template-columns: repeat(2, 1fr); } .member.highlight { grid-column: 1 / -1; } }

.partners { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.partners li { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.partners li.key { border-color: var(--forest); color: var(--forest); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 18px 20px;
}
.contact-card .ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; background: var(--honey); color: var(--forest-deep); display: grid; place-items: center; }
.contact-card .ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #a9c2a4; margin: 0 0 2px; }
.contact-card p, .contact-card a { margin: 0; color: #fff; font-size: 1.05rem; text-decoration: none; font-weight: 600; }
.contact-card a:hover { color: var(--honey); }

.map { margin-top: 14px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; background: rgba(255,255,255,.08); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.form { background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-lg); }
.section-green .form h3, .form h3 { color: var(--forest); margin-bottom: 4px; }
.form .hint { color: var(--ink-soft); font-size: .95rem; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 700; font-size: .92rem; color: var(--forest); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream); color: var(--ink);
  transition: border-color .2s, background-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--forest-deep); color: #a9c2a4; padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--font-body); color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #dfe9d8; text-decoration: none; }
.site-footer a:hover { color: var(--honey); }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand small { color: #a9c2a4; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .88rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page animations (scolaires) ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); background: var(--forest); color: #e8efe6; position: relative; overflow: hidden; }
.page-hero h1 { color: #fff; max-width: 760px; }
.page-hero .lead { color: #c9d9c5; max-width: 640px; }
.page-hero .eyebrow { color: var(--honey); }
.breadcrumb { font-size: .9rem; margin-bottom: 18px; }
.breadcrumb a { color: #c9d9c5; }

.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.format { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); padding: 18px 20px; border-radius: var(--radius); color: #fff; font-weight: 600; }
@media (max-width: 860px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .formats { grid-template-columns: 1fr; } }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; position: sticky; top: calc(var(--header-h) + 8px); z-index: 10; }
.tabs a {
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  text-decoration: none; font-weight: 700; color: var(--forest); box-shadow: 0 6px 16px -10px rgba(0,0,0,.25);
}
.tabs a:hover { background: var(--forest); color: #fff; }

.module { margin-bottom: 80px; }
.module-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 32px; margin-bottom: 32px; align-items: start; }
.module-facts { background: var(--paper); border-radius: var(--radius-lg); padding: 26px 28px; border: 1px solid var(--line); }
.module-facts dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.module-facts dt { font-weight: 800; color: var(--forest); font-size: .9rem; }
.module-facts dd { margin: 0; color: var(--ink-soft); font-size: .95rem; }
.objectives h3 { font-size: 1.1rem; }
@media (max-width: 860px) { .module-head { grid-template-columns: 1fr; } }

.activities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.activity { background: var(--paper); border-radius: var(--radius); padding: 24px 26px; border: 1px solid var(--line); display: flex; gap: 18px; }
.activity .num {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--sage-soft); color: var(--forest);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.activity h3 { font-size: 1.15rem; margin-bottom: 6px; }
.activity p { margin: 0; color: var(--ink-soft); font-size: .97rem; }
.activity.with-img { grid-column: 1 / -1; display: grid; grid-template-columns: 44px 1fr 280px; align-items: start; }
.activity.with-img img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 860px) {
  .activities { grid-template-columns: 1fr; }
  .activity.with-img { grid-template-columns: 44px 1fr; }
  .activity.with-img img { grid-column: 1 / -1; }
}

.info-strip { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.info-strip span { background: var(--honey-soft); color: #7a5300; padding: 8px 14px; border-radius: 12px; font-weight: 700; font-size: .92rem; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

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