/* ═══════════════════════════════════════════════════════
   JUNGLE À PAT' — v2 "Carnet d'explorateur immersif"
   Design système premium, émotionnel, distinctif
   ═══════════════════════════════════════════════════════ */

/* ───────────────────────────────────
   1 · VARIABLES GLOBALES
   ─────────────────────────────────── */
:root {
  /* Palette — jungle & carnet */
  --c-jungle: #1a3a2e;
  --c-jungle-deep: #0f2a1f;
  --c-leaf: #2d5f3f;
  --c-leaf-light: #6a9479;
  --c-cream: #f4ede0;
  --c-cream-deep: #ebe0cc;
  --c-paper: #faf5ec;
  --c-sand: #c9ab7c;
  --c-sand-deep: #a08865;
  --c-terracotta: #b55a3a;
  --c-terracotta-deep: #8e3e22;
  --c-ink: #2a1810;
  --c-ink-soft: #4a3628;
  --c-sun: #d9a441;

  /* Typographie */
  --f-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --f-body: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --f-hand: 'Caveat', cursive;

  /* Radius */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  /* Ombres organiques */
  --sh-sm: 0 2px 8px rgba(42, 24, 16, 0.05);
  --sh-md: 0 14px 44px -16px rgba(42, 24, 16, 0.18);
  --sh-lg: 0 30px 80px -24px rgba(42, 24, 16, 0.28);
  --sh-glow: 0 0 60px -10px rgba(181, 90, 58, 0.35);

  /* Easings */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container: 1260px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-h: 78px;
}

/* ───────────────────────────────────
   2 · RESET
   ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.0625rem);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* Ambiance : dégradés très subtils + texture */
  background-image:
    radial-gradient(ellipse 80% 50% at 15% 0%, rgba(181, 90, 58, 0.04), transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(26, 58, 46, 0.05), transparent 60%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(201, 171, 124, 0.08), transparent 60%);
}

img { max-width: 100%; display: block; height: auto; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
address { font-style: normal; }
ul { list-style: none; }
em { font-style: italic; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--c-jungle);
  font-optical-sizing: auto;
}
h1 em, h2 em, h3 em {
  font-style: italic;
  color: var(--c-terracotta);
  font-weight: 300;
}

:focus-visible {
  outline: 2px solid var(--c-terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
}

/* ───────────────────────────────────
   3 · UTILITAIRES
   ─────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
}

/* Numéro de section en filigrane */
.section[data-section-num]::before {
  content: attr(data-section-num);
  position: absolute;
  top: 2.5rem;
  right: var(--gutter);
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: rgba(26, 58, 46, 0.25);
  z-index: 1;
}
.section-ecoles[data-section-num]::before { color: rgba(244, 237, 224, 0.35); }

.text-center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  margin-bottom: 1.5rem;
}
.eyebrow-light { color: var(--c-sand); }

.section-heading {
  max-width: 780px;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section-heading.text-center { margin-left: auto; margin-right: auto; }
.section-heading h2 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  margin-bottom: 1.25rem;
}
.section-heading .section-intro {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--c-ink-soft);
  max-width: 58ch;
  margin-inline: auto;
}

.lead {
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  color: var(--c-ink-soft);
  line-height: 1.65;
}
.lead-light { color: rgba(244, 237, 224, 0.82); }

.handwritten {
  font-family: var(--f-hand);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--c-jungle);
  line-height: 1.2;
}

/* ───────────────────────────────────
   4 · BOUTONS
   ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.875rem 1.5rem;
  font-family: var(--f-body);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 999px;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
  will-change: transform;
}

.btn svg { transition: transform 0.4s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }

.btn-lg { padding: 1.125rem 2rem; font-size: 1rem; }

.btn-primary {
  background: var(--c-jungle);
  color: var(--c-cream);
  box-shadow: 0 6px 18px -6px rgba(26, 58, 46, 0.4);
}
.btn-primary:hover {
  background: var(--c-leaf);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(26, 58, 46, 0.55);
}

.btn-ghost {
  background: transparent;
  color: var(--c-jungle);
  border: 1.5px solid rgba(26, 58, 46, 0.75);
}
.btn-ghost:hover {
  background: var(--c-jungle);
  color: var(--c-cream);
  transform: translateY(-3px);
  border-color: var(--c-jungle);
}

.btn-outline {
  background: transparent;
  color: var(--c-jungle);
  border: 1.5px solid rgba(26, 58, 46, 0.3);
}
.btn-outline:hover {
  border-color: var(--c-jungle);
  background: rgba(26, 58, 46, 0.04);
  transform: translateY(-3px);
}

.btn-light {
  background: var(--c-cream);
  color: var(--c-jungle);
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.3);
}
.btn-light:hover {
  background: var(--c-paper);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
}

.btn-ghost-light {
  background: transparent;
  color: var(--c-cream);
  border: 1.5px solid rgba(244, 237, 224, 0.4);
}
.btn-ghost-light:hover {
  background: rgba(244, 237, 224, 0.08);
  border-color: var(--c-cream);
  transform: translateY(-3px);
}

/* ═══════════════════════════════════════════════════════
   5 · SENTIER ANIMÉ (fil conducteur)
   ═══════════════════════════════════════════════════════ */
.trail-path {
  position: absolute;
  top: 100vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3000px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}
.trail-path.visible { opacity: 0.6; }
.trail-path svg { width: 100%; height: 100%; overflow: visible; }

#trailPath {
  stroke-dasharray: 4 8;
  stroke-dashoffset: 0;
  animation: dashFlow 20s linear infinite;
}
@keyframes dashFlow {
  to { stroke-dashoffset: -240; }
}

/* ═══════════════════════════════════════════════════════
   6 · HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.45s var(--ease), backdrop-filter 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.35s var(--ease);
}

.site-header.scrolled {
  background: rgba(250, 245, 236, 0.88);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(26, 58, 46, 0.08), 0 10px 30px -20px rgba(26, 58, 46, 0.15);
  height: 66px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  display: inline-flex;
  width: 38px;
  height: 38px;
  color: var(--c-jungle);
  transition: transform 0.7s var(--ease-bounce);
}
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.12); }

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--c-jungle);
  font-style: italic;
}
.logo-sub {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 4px;
  font-weight: 500;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-desktop a {
  position: relative;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  transition: color 0.3s var(--ease);
  padding-block: 4px;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--c-terracotta);
  transition: width 0.4s var(--ease-out), left 0.4s var(--ease-out);
}
.nav-desktop a:hover { color: var(--c-jungle); }
.nav-desktop a:hover::after { left: 0; width: 100%; }

.btn-header { padding: 0.625rem 1.25rem; font-size: 0.875rem; }

/* Burger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-jungle);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile plein écran */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--c-cream);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  transform: translateY(-102%);
  transition: transform 0.55s var(--ease-out);
  overflow-y: auto;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.nav-mobile.open { transform: translateY(0); }

.nav-mobile-deco {
  position: absolute;
  top: 10%;
  right: -120px;
  width: 400px;
  color: var(--c-jungle);
  pointer-events: none;
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  position: relative;
}

.nav-mobile-link {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.125rem 0;
  font-family: var(--f-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 400;
  color: var(--c-jungle);
  border-bottom: 1px solid rgba(26, 58, 46, 0.12);
  transition: color 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.nav-mobile-link:hover { color: var(--c-terracotta); transform: translateX(8px); }
.nav-mobile-link span {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-terracotta);
  letter-spacing: 0.15em;
}

.nav-mobile-foot {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 2rem;
}
.nav-mobile-cta {
  align-self: flex-start;
}
.nav-mobile-addr {
  font-size: 0.8125rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   7 · HERO — Immersif, vivant, lumière tropicale
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 90% 70% at 30% 30%, rgba(45, 95, 63, 0.12), transparent 55%),
    radial-gradient(ellipse 70% 60% at 85% 80%, rgba(181, 90, 58, 0.08), transparent 60%),
    linear-gradient(180deg, #faf5ec 0%, #f4ede0 55%, #ebe0cc 100%);
}

/* Atmosphère : rayons de lumière tropicale */
.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-sunrays {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80%;
  height: 120%;
  transform: rotate(18deg);
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-sunrays span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 220, 140, 0), rgba(255, 220, 140, 0.6), rgba(255, 220, 140, 0));
  transform-origin: top;
  animation: rayPulse 6s ease-in-out infinite;
}
.hero-sunrays span:nth-child(1) { transform: rotate(-8deg); width: 60px; filter: blur(30px); animation-delay: 0s; }
.hero-sunrays span:nth-child(2) { transform: rotate(3deg); width: 40px; filter: blur(20px); animation-delay: 1.2s; }
.hero-sunrays span:nth-child(3) { transform: rotate(12deg); width: 80px; filter: blur(40px); animation-delay: 2.4s; }
.hero-sunrays span:nth-child(4) { transform: rotate(-15deg); width: 30px; filter: blur(18px); animation-delay: 3.6s; }

@keyframes rayPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Bruit papier en overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1;
}

/* Feuilles parallax */
.hero-leaves { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-leaves .leaf {
  position: absolute;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.12));
  will-change: transform;
}
.leaf-1 { top: -80px; left: -100px; width: 380px; transform: rotate(-25deg); animation: leafSway 8s ease-in-out infinite; }
.leaf-2 { top: 5%; right: -120px; width: 320px; transform: rotate(40deg); opacity: 0.9; animation: leafSway 10s ease-in-out infinite reverse; }
.leaf-3 { bottom: -120px; left: 8%; width: 240px; transform: rotate(-55deg); opacity: 0.65; animation: leafSway 12s ease-in-out infinite; animation-delay: -3s; }
.leaf-4 { bottom: -100px; right: 12%; width: 280px; transform: rotate(175deg); opacity: 0.75; animation: leafSway 9s ease-in-out infinite; animation-delay: -1.5s; }
.leaf-5 { top: 45%; left: 45%; width: 140px; transform: rotate(80deg); opacity: 0.4; animation: leafSway 11s ease-in-out infinite; animation-delay: -4s; }

@keyframes leafSway {
  0%, 100% { filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.12)); }
  50% { filter: drop-shadow(0 18px 35px rgba(0, 0, 0, 0.15)); }
}

/* Contenu hero */
.hero-inner {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-block: clamp(3rem, 8vw, 6rem);
}

.hero-badges {
  animation: fadeUp 0.8s var(--ease-out) both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1.125rem;
  background: rgba(250, 245, 236, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(26, 58, 46, 0.18);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-ink-soft);
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px -4px rgba(26, 58, 46, 0.1);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--c-terracotta);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(181, 90, 58, 0.5); }
  50% { box-shadow: 0 0 0 10px rgba(181, 90, 58, 0); }
}

.hero-title {
  font-size: clamp(2.75rem, 9.5vw, 7rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 2rem;
}
.hero-title-line {
  display: block;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpLg 1.1s var(--ease-out) forwards;
}
.hero-title-line-1 { animation-delay: 0.15s; }
.hero-title-line-2 { animation-delay: 0.3s; font-family: var(--f-display); font-weight: 300; }
.hero-title-line-2 em { color: var(--c-terracotta); font-style: italic; font-weight: 400; }
.hero-title-line-3 { animation-delay: 0.45s; }

.hero-sub {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  max-width: 52ch;
  color: var(--c-ink-soft);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s 0.6s var(--ease-out) forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 0.75s var(--ease-out) forwards;
}

/* Preuve sociale / mini infos */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-top: 3.5rem;
  padding: 1.25rem 1.75rem;
  background: rgba(250, 245, 236, 0.55);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(26, 58, 46, 0.1);
  border-radius: var(--r-lg);
  width: fit-content;
  max-width: 100%;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s 0.95s var(--ease-out) forwards;
  box-shadow: 0 10px 30px -15px rgba(26, 58, 46, 0.15);
}
.hero-proof-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  line-height: 1.1;
}
.hero-proof-num {
  font-family: var(--f-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-jungle);
  letter-spacing: -0.01em;
}
.hero-proof-num em {
  font-style: italic;
  color: var(--c-terracotta);
  font-weight: 400;
}
.hero-proof-lbl {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
}
.hero-proof-sep {
  width: 1px;
  height: 32px;
  background: rgba(26, 58, 46, 0.2);
}

/* Carnet-note flottant */
.hero-marker {
  position: absolute;
  bottom: 9%;
  right: var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  background: var(--c-paper);
  border: 1px dashed rgba(26, 58, 46, 0.3);
  border-radius: var(--r-sm);
  transform: rotate(3deg);
  box-shadow: var(--sh-md);
  opacity: 0;
  animation: fadeUp 1s 1.2s var(--ease-out) forwards, markerFloat 6s 2.2s ease-in-out infinite;
  max-width: 220px;
  z-index: 6;
}
@keyframes markerFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-5px); }
}
.hero-marker-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-terracotta);
  text-align: right;
}
.hero-marker-hand {
  font-family: var(--f-hand);
  font-size: 1.5rem;
  color: var(--c-jungle);
  line-height: 1;
  font-weight: 600;
}

/* Indicateur scroll */
.hero-scroll {
  position: absolute;
  left: var(--gutter);
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  opacity: 0;
  animation: fadeIn 1.2s 1.8s var(--ease-out) forwards;
  z-index: 6;
}
.hero-scroll span { writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-scroll-line {
  width: 1px;
  height: 70px;
  background: linear-gradient(to top, transparent, var(--c-ink-soft));
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -35px;
  left: 0;
  width: 100%;
  height: 35px;
  background: linear-gradient(to bottom, transparent, var(--c-jungle));
  animation: scrollPulse 2.2s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0% { top: -35px; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUpLg {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   8 · SECTION DÉCOUVRIR
   ═══════════════════════════════════════════════════════ */
.section-decouvrir { background: var(--c-cream); }

.decouvrir-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.decouvrir-text h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  margin: 0.5rem 0 1.75rem;
}
.decouvrir-text .lead + p {
  margin-top: 1rem;
  color: var(--c-ink-soft);
}

.decouvrir-points {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
.decouvrir-points li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px dashed rgba(26, 58, 46, 0.15);
  transition: transform 0.4s var(--ease-out);
}
.decouvrir-points li:hover { transform: translateX(4px); }
.decouvrir-points li:last-child { border-bottom: 0; }

.dp-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-top: 0.55em;
  border: 1.5px solid var(--c-terracotta);
  border-radius: 50%;
  position: relative;
}
.dp-bullet::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--c-terracotta);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s var(--ease-bounce);
}
.decouvrir-points li:hover .dp-bullet::after { transform: scale(1); }

.decouvrir-points strong { display: block; color: var(--c-jungle); font-weight: 600; margin-bottom: 0.15rem; }
.decouvrir-points span { font-size: 0.9375rem; color: var(--c-ink-soft); }

.decouvrir-visual { position: relative; }
.decouvrir-image-wrap { position: relative; }

.decouvrir-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--c-leaf);
}
.decouvrir-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.decouvrir-visual:hover .decouvrir-image img { transform: scale(1.06); }

.decouvrir-image-mini {
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 150px;
  height: 180px;
  border-radius: var(--r-sm);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  border: 5px solid var(--c-paper);
  transform: rotate(-6deg);
  transition: transform 0.6s var(--ease-out);
  z-index: 3;
}
.decouvrir-image-mini:hover { transform: rotate(-3deg) scale(1.03); }
.decouvrir-image-mini img { width: 100%; height: 100%; object-fit: cover; }

.stamp {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  color: var(--c-terracotta);
  transform: rotate(-12deg);
  filter: drop-shadow(0 6px 16px rgba(181, 90, 58, 0.25));
  animation: stampFloat 7s ease-in-out infinite;
  z-index: 2;
}
@keyframes stampFloat {
  0%, 100% { transform: rotate(-12deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-8px); }
}

.decouvrir-caption {
  margin-top: 3.5rem;
  text-align: center;
}
.decouvrir-caption .handwritten {
  font-size: 1.6rem;
  color: var(--c-jungle);
}

/* ═══════════════════════════════════════════════════════
   9 · SECTION EXPÉRIENCE
   ═══════════════════════════════════════════════════════ */
.section-experience {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-deep) 100%);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.25rem;
}

.exp-card {
  position: relative;
  padding: 2.25rem 1.75rem 2rem;
  background: var(--c-paper);
  border-radius: var(--r-md);
  border: 1px solid rgba(26, 58, 46, 0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-terracotta), var(--c-sun));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out);
}
.exp-card:hover::before { transform: scaleX(1); }

.exp-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--sh-lg);
  border-color: rgba(26, 58, 46, 0.15);
}

.exp-card-featured {
  background: linear-gradient(150deg, var(--c-jungle) 0%, var(--c-jungle-deep) 100%);
  color: var(--c-cream);
}
.exp-card-featured h3 { color: var(--c-cream); }
.exp-card-featured p { color: rgba(244, 237, 224, 0.78); }
.exp-card-featured .exp-card-icon { color: var(--c-sand); }
.exp-card-featured .exp-card-num { color: rgba(201, 171, 124, 0.5); }
.exp-card-featured::before { background: linear-gradient(90deg, var(--c-sand), var(--c-sun)); }

.exp-card-tag {
  position: absolute;
  top: 1.5rem;
  left: 1.75rem;
  display: inline-block;
  padding: 4px 10px;
  background: var(--c-sand);
  color: var(--c-jungle-deep);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
}

.exp-card-num {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font-family: var(--f-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(26, 58, 46, 0.35);
}

.exp-card-icon {
  width: 48px;
  height: 48px;
  color: var(--c-jungle);
  transition: transform 0.6s var(--ease-bounce);
  margin-top: 1.5rem;
}
.exp-card:hover .exp-card-icon { transform: rotate(-6deg) scale(1.12); }
.exp-card-icon svg { width: 100%; height: 100%; }

.exp-card h3 {
  font-size: 1.375rem;
  font-weight: 500;
  margin-top: auto;
  line-height: 1.15;
}
.exp-card p {
  font-size: 0.9375rem;
  color: var(--c-ink-soft);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════════════
   10 · SECTION CARNET PÉDAGOGIQUE
   ═══════════════════════════════════════════════════════ */
.section-carnet {
  background: var(--c-cream);
  position: relative;
  overflow: hidden;
}
.section-carnet::after {
  content: '';
  position: absolute;
  top: 10%;
  right: -150px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(181, 90, 58, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.carnet-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.carnet-visual { position: relative; }
.carnet-image-wrap { position: relative; max-width: 500px; }

.carnet-image {
  aspect-ratio: 5/4;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  transform: rotate(-2.5deg);
  transition: transform 0.7s var(--ease-out);
  position: relative;
}
.carnet-image:hover { transform: rotate(0); }
.carnet-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.carnet-image:hover img { transform: scale(1.05); }

/* Bande de scotch décorative */
.carnet-tape {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 110px;
  height: 32px;
  background: linear-gradient(180deg, rgba(217, 164, 65, 0.75), rgba(217, 164, 65, 0.55));
  transform: translateX(-50%) rotate(-2deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 3;
}
.carnet-tape::before,
.carnet-tape::after {
  content: '';
  position: absolute;
  top: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(217, 164, 65, 0.3) 50%, transparent 100%);
}
.carnet-tape::before { left: -4px; }
.carnet-tape::after { right: -4px; }

.carnet-sticker {
  position: absolute;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-family: var(--f-hand);
  line-height: 1.1;
  box-shadow: var(--sh-md);
  z-index: 2;
}
.carnet-sticker-1 {
  top: -25px;
  left: -35px;
  background: var(--c-sun);
  color: var(--c-ink);
  transform: rotate(-10deg);
  font-size: 1.4rem;
  font-weight: 600;
  animation: stickerFloat 5s ease-in-out infinite;
}
.carnet-sticker-1 span { display: block; text-align: center; }
@keyframes stickerFloat {
  0%, 100% { transform: rotate(-10deg) translateY(0); }
  50% { transform: rotate(-7deg) translateY(-4px); }
}

.carnet-sticker-2 {
  bottom: -20px;
  right: -20px;
  background: var(--c-terracotta);
  color: var(--c-cream);
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 2rem;
  transform: rotate(12deg);
  animation: stickerFloat 6s 1s ease-in-out infinite reverse;
}

.carnet-text h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0.5rem 0 1.75rem;
}

.carnet-list {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
}
.carnet-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--c-paper);
  border-radius: var(--r-sm);
  border-left: 3px solid var(--c-terracotta);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s var(--ease);
}
.carnet-list li:hover {
  transform: translateX(6px);
  box-shadow: var(--sh-md);
}

.carnet-list-ico {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  color: var(--c-terracotta);
  margin-top: 0.1rem;
}
.carnet-list-ico svg { width: 100%; height: 100%; }

.carnet-list strong {
  color: var(--c-jungle);
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.0625rem;
}
.carnet-list span {
  font-size: 0.9375rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════
   11 · SECTION ÉCOLES
   ═══════════════════════════════════════════════════════ */
.section-ecoles {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(45, 95, 63, 0.5), transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 80%, rgba(181, 90, 58, 0.15), transparent 60%),
    linear-gradient(165deg, var(--c-jungle) 0%, var(--c-jungle-deep) 100%);
  color: var(--c-cream);
  position: relative;
  overflow: hidden;
}

.section-ecoles::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.ecoles-deco {
  position: absolute;
  inset: 0;
  color: var(--c-cream);
  pointer-events: none;
}
.ecoles-leaf {
  position: absolute;
  will-change: transform;
}
.ecoles-leaf-1 { top: -60px; right: -60px; width: 300px; transform: rotate(130deg); }
.ecoles-leaf-2 { bottom: -100px; left: -60px; width: 280px; transform: rotate(-40deg); }

.ecoles-inner { max-width: 960px; position: relative; }
.ecoles-inner h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--c-cream);
  margin-bottom: 1.5rem;
}
.ecoles-inner h2 em { color: var(--c-sand); }

.ecoles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 3rem 0 3rem;
}

.ecoles-item {
  padding: 1.75rem 1.5rem;
  background: rgba(244, 237, 224, 0.05);
  border: 1px solid rgba(244, 237, 224, 0.12);
  border-radius: var(--r-md);
  transition: background 0.45s var(--ease), transform 0.45s var(--ease-out), border-color 0.45s var(--ease);
  position: relative;
  overflow: hidden;
}
.ecoles-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--c-sand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.ecoles-item:hover::before { transform: scaleX(1); }
.ecoles-item:hover {
  background: rgba(244, 237, 224, 0.08);
  border-color: rgba(244, 237, 224, 0.22);
  transform: translateY(-6px);
}

.ecoles-item-num {
  display: block;
  font-family: var(--f-display);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--c-sand);
  margin-bottom: 1rem;
  font-weight: 600;
}
.ecoles-item h4 {
  font-size: 1.1875rem;
  color: var(--c-cream);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.ecoles-item p {
  font-size: 0.9375rem;
  color: rgba(244, 237, 224, 0.75);
  line-height: 1.55;
}

.ecoles-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.ecoles-cta-note {
  font-size: 0.9375rem;
  color: rgba(244, 237, 224, 0.7);
}
.ecoles-cta-note strong { color: var(--c-cream); font-weight: 600; }

/* ═══════════════════════════════════════════════════════
   12 · SECTION GALERIE — Masonry premium
   ═══════════════════════════════════════════════════════ */
.section-galerie { background: var(--c-cream); }

.galerie-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1rem;
}

.galerie-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--c-leaf);
  box-shadow: var(--sh-sm);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease);
  cursor: pointer;
}
.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.galerie-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 42, 31, 0.85));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 1;
}

.galerie-item figcaption {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  color: var(--c-cream);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease-out);
}
.galerie-cap-eyebrow {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-sand);
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.galerie-cap-title {
  display: block;
  font-family: var(--f-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.galerie-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
}
.galerie-item:hover img { transform: scale(1.08); }
.galerie-item:hover::before { opacity: 1; }
.galerie-item:hover figcaption { opacity: 1; transform: translateY(0); }

.galerie-tall { grid-row: span 2; }
.galerie-wide { grid-column: span 2; }

/* ═══════════════════════════════════════════════════════
   13 · SECTION PLAN
   ═══════════════════════════════════════════════════════ */
.section-plan {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-paper) 100%);
}

.plan-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.plan-text h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  margin: 0.5rem 0 1.75rem;
}
.plan-text > p {
  color: var(--c-ink-soft);
  margin-bottom: 2rem;
  max-width: 45ch;
}

.plan-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--c-paper);
  border: 1px dashed rgba(26, 58, 46, 0.2);
  border-radius: var(--r-sm);
}
.plan-legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--c-ink-soft);
}
.plan-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.plan-dot-1 { background: var(--c-terracotta); }
.plan-dot-2 { background: var(--c-leaf); }
.plan-dot-3 { background: var(--c-sun); }
.plan-dot-4 { background: var(--c-jungle); }

.plan-visual { position: relative; }
.plan-image {
  aspect-ratio: 4/3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  background: var(--c-paper);
  border: 1px solid rgba(26, 58, 46, 0.1);
}
.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.plan-image:hover img { transform: scale(1.04); }

.plan-compass {
  position: absolute;
  top: -25px;
  left: -25px;
  width: 80px;
  height: 80px;
  color: var(--c-terracotta);
  filter: drop-shadow(0 4px 10px rgba(181, 90, 58, 0.3));
  animation: compassSpin 30s linear infinite;
}
@keyframes compassSpin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════
   14 · SECTION INFOS PRATIQUES
   ═══════════════════════════════════════════════════════ */
.section-infos { background: var(--c-cream); }

.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card {
  padding: 2rem;
  background: var(--c-paper);
  border-radius: var(--r-md);
  border: 1px solid rgba(26, 58, 46, 0.08);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.info-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
}

.info-card-accent {
  background: linear-gradient(150deg, rgba(181, 90, 58, 0.08), rgba(217, 164, 65, 0.06));
  border-color: rgba(181, 90, 58, 0.2);
}

.info-card-wide { grid-column: span 3; }

.info-card-icon {
  width: 40px;
  height: 40px;
  color: var(--c-terracotta);
  margin-bottom: 0.25rem;
  transition: transform 0.5s var(--ease-bounce);
}
.info-card:hover .info-card-icon { transform: rotate(-8deg) scale(1.1); }
.info-card-icon svg { width: 100%; height: 100%; }

.info-card h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.info-card address {
  color: var(--c-ink-soft);
  line-height: 1.7;
  font-size: 0.9375rem;
}

.info-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--c-terracotta);
  font-weight: 500;
  transition: gap 0.3s var(--ease-out);
}
.info-link:hover { gap: 0.6rem; }

.info-big {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  margin-bottom: 0.25rem;
  line-height: 1;
}
.info-big a { color: var(--c-jungle); transition: color 0.3s var(--ease); }
.info-big a:hover { color: var(--c-terracotta); }
.info-small {
  font-size: 0.875rem;
  color: var(--c-ink-soft);
  line-height: 1.5;
}

.info-prices { display: grid; gap: 0.75rem; margin-top: 0.25rem; }
.info-prices li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(26, 58, 46, 0.12);
}
.info-prices li:last-child { border-bottom: 0; padding-bottom: 0; }
.info-prices span { color: var(--c-ink-soft); font-size: 0.9375rem; }
.info-prices strong {
  font-family: var(--f-display);
  font-size: 1.3rem;
  color: var(--c-jungle);
  font-weight: 600;
}

.info-card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.info-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  background: rgba(45, 95, 63, 0.12);
  color: var(--c-leaf);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 999px;
}
.info-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-leaf);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.info-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 2rem;
  margin-top: 0.5rem;
}
.info-hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(26, 58, 46, 0.1);
}
.info-hours span { color: var(--c-ink); font-weight: 500; font-size: 0.9375rem; }
.info-hours em {
  font-style: normal;
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--c-jungle);
}
.info-hours .closed em {
  color: var(--c-terracotta);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--f-body);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   15 · FAQ
   ═══════════════════════════════════════════════════════ */
.section-faq {
  background: linear-gradient(180deg, var(--c-cream) 0%, var(--c-cream-deep) 100%);
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--c-paper);
  border-radius: var(--r-md);
  border: 1px solid rgba(26, 58, 46, 0.08);
  overflow: hidden;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.faq-item[open] {
  border-color: rgba(26, 58, 46, 0.2);
  box-shadow: var(--sh-sm);
}

.faq-item summary {
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--c-jungle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--c-terracotta);
  border-radius: 50%;
  background-image:
    linear-gradient(var(--c-terracotta), var(--c-terracotta)),
    linear-gradient(var(--c-terracotta), var(--c-terracotta));
  background-size: 11px 1.5px, 1.5px 11px;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.4s var(--ease-bounce), background-size 0.4s var(--ease);
}
.faq-item[open] summary::after {
  transform: rotate(180deg);
  background-size: 11px 1.5px, 0 11px;
}

.faq-item summary:hover { color: var(--c-terracotta); }

.faq-answer {
  padding: 0 1.75rem 1.5rem;
  animation: fadeUp 0.5s var(--ease-out);
}
.faq-answer p {
  color: var(--c-ink-soft);
  line-height: 1.7;
  max-width: 65ch;
}

/* ═══════════════════════════════════════════════════════
   16 · CTA FINAL
   ═══════════════════════════════════════════════════════ */
.section-cta {
  padding: clamp(5rem, 10vw, 9rem) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--c-cream);
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(45, 95, 63, 0.5), transparent 60%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(181, 90, 58, 0.18), transparent 60%),
    linear-gradient(160deg, var(--c-jungle) 0%, var(--c-jungle-deep) 100%);
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cta-leaves {
  position: absolute;
  inset: 0;
  color: var(--c-cream);
  pointer-events: none;
}
.cta-leaf { position: absolute; will-change: transform; }
.cta-leaf-1 { top: -80px; left: -80px; width: 320px; transform: rotate(-30deg); animation: leafSway 12s ease-in-out infinite; }
.cta-leaf-2 { bottom: -120px; right: -80px; width: 360px; transform: rotate(150deg); animation: leafSway 14s 2s ease-in-out infinite reverse; }
.cta-leaf-3 { top: 20%; right: 5%; width: 120px; transform: rotate(45deg); animation: leafSway 10s 1s ease-in-out infinite; }

.cta-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 2; }
.cta-inner h2 {
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  color: var(--c-cream);
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.cta-inner h2 em { color: var(--c-sand); font-weight: 400; }
.cta-inner > p {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  color: rgba(244, 237, 224, 0.8);
  max-width: 56ch;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-hand {
  margin-top: 3rem;
  font-family: var(--f-hand);
  font-size: 1.75rem;
  color: var(--c-sand);
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   17 · FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--c-jungle-deep);
  color: rgba(244, 237, 224, 0.7);
  padding: 4rem 0 1.5rem;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(244, 237, 224, 0.1);
}

.logo-footer .logo-mark { color: var(--c-sand); }
.logo-footer .logo-main { color: var(--c-cream); }
.logo-footer .logo-sub { color: rgba(244, 237, 224, 0.5); }

.footer-brand p {
  margin-top: 1.25rem;
  max-width: 32ch;
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: grid; gap: 0.625rem; }
.footer-col a {
  color: rgba(244, 237, 224, 0.7);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease-out);
  display: inline-block;
}
.footer-col a:hover { color: var(--c-cream); padding-left: 4px; }

.footer-phone {
  font-family: var(--f-display);
  font-size: 1.35rem;
  color: var(--c-cream);
  font-weight: 500;
  margin-top: 0.75rem;
  display: inline-block;
  transition: color 0.3s var(--ease);
}
.footer-phone:hover { color: var(--c-sand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(244, 237, 224, 0.5);
}
.footer-credit { font-style: italic; }

/* ═══════════════════════════════════════════════════════
   18 · REVEAL — Apparitions au scroll
   ═══════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.reveal-left { transform: translateY(20px) translateX(-30px); }
.reveal-right { transform: translateY(20px) translateX(30px); }

.reveal.in-view {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ═══════════════════════════════════════════════════════
   19 · RESPONSIVE — TABLETTE (≤ 960px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-desktop,
  .btn-header { display: none; }
  .nav-toggle { display: flex; }

  .decouvrir-grid,
  .carnet-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .decouvrir-visual,
  .carnet-visual { max-width: 560px; margin: 0 auto; }

  .infos-grid { grid-template-columns: 1fr 1fr; }
  .info-card-wide { grid-column: span 2; }

  .galerie-masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .galerie-tall { grid-row: span 2; }
  .galerie-wide { grid-column: span 2; }

  .hero-marker,
  .hero-scroll { display: none; }

  .hero-proof {
    flex-wrap: wrap;
    padding: 1rem 1.25rem;
    gap: 1rem;
  }
  .hero-proof-sep { display: none; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section[data-section-num]::before { display: none; }
}

/* ═══════════════════════════════════════════════════════
   20 · RESPONSIVE — MOBILE (≤ 640px)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --header-h: 66px; }

  .logo-sub { display: none; }
  .logo-main { font-size: 1.25rem; }
  .logo-mark { width: 34px; height: 34px; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 2rem);
    padding-bottom: 4rem;
  }
  .hero-title { margin-bottom: 1.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }

  .leaf-1 { width: 200px; top: -30px; left: -60px; }
  .leaf-2 { width: 180px; right: -80px; top: 5%; }
  .leaf-3, .leaf-4, .leaf-5 { display: none; }

  .infos-grid { grid-template-columns: 1fr; }
  .info-card-wide { grid-column: span 1; }

  .galerie-masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .galerie-tall, .galerie-wide { grid-row: auto; grid-column: auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .stamp { width: 100px; height: 100px; top: -20px; right: -20px; }
  .decouvrir-image-mini { width: 110px; height: 130px; bottom: -25px; left: -15px; }

  .btn-lg { padding: 1rem 1.5rem; font-size: 0.9375rem; }

  .exp-card { padding: 2rem 1.5rem 1.75rem; }

  .carnet-list li { padding: 1rem; gap: 1rem; }

  .plan-compass { width: 60px; height: 60px; top: -15px; left: -15px; }

  .ecoles-cta-row { flex-direction: column; align-items: stretch; }
  .ecoles-cta-row .btn { width: 100%; }

  .trail-path { display: none; }
}

/* ═══════════════════════════════════════════════════════
   21 · ACCESSIBILITÉ — prefers-reduced-motion
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-title-line { opacity: 1; transform: none; }
  .hero-leaves .leaf { animation: none; }
  .trail-path { opacity: 0; }
}
