/* Km Zero · page d'accueil
   Couleurs et polices : charte graphique v1.0 (octobre 2026) */

:root {
  --vert: #1E4D3B;
  --vert-fonce: #163B2D;
  --sauge: #8FA98F;
  --sable: #E3D3B4;
  --sable-clair: #F4EDE0;
  --encre: #13261E;
  --blanc: #FFFFFF;
  --ligne: rgba(19, 38, 30, .12);
  --texte-doux: rgba(19, 38, 30, .72);

  --f-titre: "Jost", "Futura", system-ui, sans-serif;
  --f-slogan: "Josefin Sans", "Jost", system-ui, sans-serif;
  --f-texte: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --ombre: 0 12px 32px -12px rgba(19, 38, 30, .25);
  --gouttiere: 16px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font: 400 16px/1.6 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--vert); }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gouttiere); }
@media (min-width: 768px) { :root { --gouttiere: 32px; } }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

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

/* ---------- Marqueurs TODO (maquette) ---------- */
.draft-bar {
  background: var(--encre); color: var(--sable-clair);
  font-size: .8rem; text-align: center; padding: 6px var(--gouttiere);
}
.todo {
  display: inline-block; padding: 0 6px; border-radius: 4px;
  background: #FFE9A8; color: #5A4300; border: 1px dashed #B48A00;
  font: 600 .72rem/1.6 var(--f-texte); letter-spacing: .04em; vertical-align: .1em;
}
.todo-block { font-size: .9rem; color: var(--texte-doux); }

/* ---------- Typo de marque ---------- */
.eyebrow {
  font: 300 .82rem/1.4 var(--f-slogan);
  text-transform: uppercase; letter-spacing: .28em;
  color: var(--vert); margin-bottom: 14px;
}
.eyebrow-light { color: var(--sable); }
.accent { color: var(--sable); }
.accent-dark { color: var(--sauge); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font: 600 .95rem/1 var(--f-texte); text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .88rem; }
.btn-primary { background: var(--vert); color: var(--sable-clair); }
.btn-primary:hover { background: var(--vert-fonce); }
.btn-sand { background: var(--sable); color: var(--vert); }
.btn-sand:hover { background: var(--sable-clair); }
.btn-outline { border-color: var(--vert); color: var(--vert); background: transparent; }
.btn-outline:hover { background: var(--vert); color: var(--sable-clair); }
.btn-ghost-light { border-color: rgba(244, 237, 224, .6); color: var(--sable-clair); }
.btn-ghost-light:hover { background: rgba(244, 237, 224, .12); }

.link-arrow {
  display: inline-flex; gap: 6px; font-weight: 600; color: var(--vert);
  text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}

.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Photos en fond de carte ----------
   L'image (.media-img) est sous le voile (::before), le contenu passe au-dessus */
.media { position: relative; isolation: isolate; background: var(--vert); }
.media-img {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
}
.media::before { z-index: 0; pointer-events: none; }
.media > :not(.media-img) { z-index: 1; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--ligne);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: 150px; height: auto; }
@media (min-width: 1024px) { .brand img { width: 170px; } }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--encre); }
.main-nav a:hover { color: var(--vert); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.lang-switch { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.lang-switch a {
  display: block; padding: 6px 8px; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: .8rem; color: var(--texte-doux);
}
.lang-switch a[aria-current="true"] { color: var(--vert); background: var(--sable); }

.nav-toggle { display: none; }

@media (max-width: 1200px) {
  .header-actions .btn { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 0; border-radius: 12px;
    background: var(--sable); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--vert); border-radius: 2px; transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--blanc); border-bottom: 1px solid var(--ligne);
    padding: 8px var(--gouttiere) 20px;
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 1rem; }
}

/* ---------- Hero ---------- */
.hero { padding: 16px 0 0; }
.hero-card {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 560px;
  padding: 56px 24px 140px;
  color: var(--sable-clair);
  display: grid; align-items: center;
}
/* voile pour garder le texte lisible sur la future photo */
.hero-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(19, 38, 30, .78) 0%, rgba(19, 38, 30, .45) 45%, rgba(19, 38, 30, .05) 100%);
}
.hero-card .media-img { object-position: 70% 40%; }
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--sable); opacity: .55; }
.hero-content { position: relative; max-width: 640px; }
.hero h1 {
  color: var(--sable-clair);
  font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.6rem);
  font-weight: 500; letter-spacing: -.015em; margin-bottom: 20px;
}
.hero-lead { font-size: 1.05rem; max-width: 46ch; color: rgba(244, 237, 224, .9); margin-bottom: 28px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-float {
  position: absolute; right: 32px; top: 40px; z-index: 2;
  width: 270px; padding: 10px; border-radius: var(--r-md);
  background: var(--blanc); color: var(--encre); box-shadow: var(--ombre);
  display: none;
}
.hero-float-img { width: 100%; height: 130px; object-fit: cover; border-radius: 14px; }
.hero-float-body { padding: 12px 6px 4px; }
.hero-float-place { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--texte-doux); margin-bottom: 4px; }
.hero-float-title { font: 500 1.05rem/1.2 var(--f-titre); color: var(--vert); margin-bottom: 4px; }
.hero-float-meta { font-size: .78rem; color: var(--texte-doux); margin: 0; }

.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; fill: var(--blanc); }

@media (min-width: 768px) {
  .hero-card { padding: 72px 56px 160px; min-height: 600px; }
}
@media (min-width: 1024px) {
  .hero-float { display: block; }
}

/* Formulaire rapide */
.quick-book {
  position: relative; z-index: 3;
  margin: -96px 12px 0;
  background: var(--blanc); border-radius: var(--r-md); box-shadow: var(--ombre);
  padding: 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .75rem; font-weight: 600; color: var(--texte-doux); text-transform: uppercase; letter-spacing: .06em; }
.field input, .field select {
  width: 100%; min-height: 46px; padding: 0 12px;
  border: 1.5px solid var(--ligne); border-radius: 10px; background: var(--sable-clair);
  font: 400 1rem var(--f-texte); color: var(--encre);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--vert); background: var(--blanc); }
.field.is-invalid input { border-color: #B3261E; }
.quick-book .btn { grid-column: 1 / -1; }
.quick-book-note { grid-column: 1 / -1; margin: 0; font-size: .82rem; color: var(--texte-doux); }
.quick-book-note.is-alert { color: #8A1C14; font-weight: 600; }

@media (min-width: 1024px) {
  .quick-book {
    margin: -110px 56px 0;
    grid-template-columns: 1.2fr 1fr 1fr .6fr auto;
    align-items: end; padding: 22px 24px;
  }
  .quick-book .btn { grid-column: auto; }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
@media (min-width: 768px) { .section { padding: 104px 0; } }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section-head-row h2 { margin-bottom: 0; }
.section-aside { margin: 0; font-size: .9rem; color: var(--texte-doux); }

/* Mission */
.mission-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .mission-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* Collage : formes organiques (clipPath #shape-a/b/c dans le HTML), ombre douce, tache sauge et palmier */
.mission-photos {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 1fr;
  grid-template-rows: clamp(170px, 30vw, 240px) clamp(150px, 26vw, 210px);
  gap: 14px;
  padding: 0 0 12px 12px;
}
.blob { margin: 0; position: relative; z-index: 1; filter: drop-shadow(0 14px 22px rgba(19, 38, 30, .22)); }
.blob img { width: 100%; height: 100%; object-fit: cover; }
.blob-1 { grid-row: 1; grid-column: 1; }
.blob-1 img { clip-path: url(#shape-a); object-position: 30% 30%; }
.blob-2 { grid-row: 1; grid-column: 2; margin: 22px 0 -10px; }
.blob-2 img { clip-path: url(#shape-b); }
.blob-3 { grid-row: 2; grid-column: 1 / -1; margin-left: 9%; }
.blob-3 img { clip-path: url(#shape-c); object-position: 50% 35%; }

.mission-splash {
  position: absolute; left: -6px; bottom: -6px; z-index: 0;
  width: 34%; aspect-ratio: 1.1;
  background: var(--sauge); opacity: .35;
  border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%;
}
.mission-palm {
  position: absolute; left: -10px; top: 48%; z-index: 2;
  width: 52px; height: 52px;
  fill: none; stroke: var(--sauge); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.values { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 560px) { .values { grid-template-columns: repeat(4, 1fr); } }
.values li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-size: .85rem; font-weight: 600; line-height: 1.3; }
.value-ico {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blanc); border: 1px solid var(--ligne); color: var(--vert);
}
.value-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Étapes */
.steps-section { background: var(--sable-clair); }
.packs-section { background: var(--blanc); }
/* Itinéraire : trois escales reliées par une trajectoire en pointillés */
.journey { --badge: 76px; position: relative; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; gap: 44px; position: relative; }

.journey-track {
  position: absolute; pointer-events: none;
  /* mobile : ligne verticale qui passe par le centre des badges */
  left: calc(var(--badge) / 2 - 1px); top: calc(var(--badge) / 2); bottom: 40px; width: 2px;
  background: repeating-linear-gradient(180deg, var(--sauge) 0 3px, transparent 3px 11px);
}
.journey-plane { display: none; }

.stop { position: relative; padding-left: calc(var(--badge) + 24px); }
.stop-badge {
  position: absolute; left: 0; top: 0;
  width: var(--badge); height: var(--badge); border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blanc); color: var(--vert);
  box-shadow: 0 10px 24px -12px rgba(19, 38, 30, .35);
}
/* anneau en orbite autour du badge, comme le zéro du logo */
.stop-badge::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  border: 2px dashed rgba(143, 169, 143, .75);
}
.stop-badge svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stop-final .stop-badge { background: var(--vert); color: var(--sable); }

.stop-num {
  position: absolute; right: 0; top: -14px; z-index: 0;
  font: 600 4.5rem/1 var(--f-titre); letter-spacing: -.02em;
  color: transparent; -webkit-text-stroke: 1.5px var(--sable);
  pointer-events: none;
}
.stop > :not(.stop-num):not(.stop-badge) { position: relative; z-index: 1; }
.stop-moment {
  margin: 4px 0 6px;
  font: 300 .78rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .24em; color: var(--sauge);
}
.stop h3 { font-size: 1.35rem; margin-bottom: 8px; }
.stop p:not(.stop-moment) { margin: 0 0 16px; color: var(--texte-doux); max-width: 34ch; }
.stop-tag {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--sable); color: var(--vert); font-size: .8rem; font-weight: 600;
}
.stop-final .stop-tag { background: var(--vert); color: var(--sable-clair); }

@media (min-width: 860px) {
  .stops { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .stop { padding-left: 0; padding-top: calc(var(--badge) + 36px); }
  .stop-num { top: 0; font-size: 5.5rem; }
  /* desktop : ligne horizontale d'un badge à l'autre */
  .journey-track {
    left: calc(var(--badge) / 2); right: calc((100% - 80px) / 3 - var(--badge) / 2);
    top: calc(var(--badge) / 2 - 1px); bottom: auto; width: auto; height: 2px;
    background: repeating-linear-gradient(90deg, var(--sauge) 0 3px, transparent 3px 11px);
  }
  .journey-plane {
    display: block; position: absolute; top: -12px; left: 0;
    width: 28px; height: 24px; fill: var(--vert);
  }
}

/* Packs */
.currency { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--sable-clair); border: 1px solid var(--ligne); }
.currency-btn {
  min-height: 36px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--texte-doux); font: 600 .82rem var(--f-texte); letter-spacing: .04em;
  transition: background-color .25s, color .25s;
}
.currency-btn.is-active { background: var(--vert); color: var(--sable-clair); }
.packs-note { margin: -20px 0 36px; font-size: .85rem; color: var(--texte-doux); }

.packs { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 640px) { .packs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .packs { grid-template-columns: repeat(4, 1fr); padding-top: 16px; } }

.pack {
  display: flex; flex-direction: column;
  padding: 26px 24px 24px; border-radius: var(--r-md);
  background: var(--blanc); border: 1px solid var(--ligne);
}
.pack-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; margin-bottom: 18px; }
.pack-ico {
  flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center; background: var(--sable-clair); color: var(--vert);
}
.pack-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pack h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 6px; min-height: 2.4em; display: flex; align-items: flex-end; }
/* Nom du pack sous le titre (le titre porte le mot-clé de la page du service) */
.pack-name { margin: 0 0 8px; font: 300 .78rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .2em; color: var(--sauge); }
.pack-featured .pack-name { color: var(--sable); }
.pack-for { min-height: 2.9em; margin-bottom: 14px; font-size: .86rem; color: var(--texte-doux); }
.pack-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 4px; white-space: nowrap; }
.pack-price .price { font: 600 2.4rem/1 var(--f-titre); color: var(--vert); letter-spacing: -.01em; transition: opacity .2s; }
.pack-price .cur { font-weight: 600; font-size: .95rem; color: var(--texte-doux); }
.pack-deposit {
  margin: 0 0 20px; padding-bottom: 20px; border-bottom: 1px dashed var(--ligne);
  font-size: .8rem; color: var(--texte-doux);
}
.pack .checks { flex: 1; }
.pack .btn { width: 100%; margin-top: auto; }

.pack-featured { background: var(--vert); border-color: var(--vert); color: var(--sable-clair); box-shadow: 0 24px 48px -24px rgba(19, 38, 30, .55); }
.pack-featured h3, .pack-featured .pack-price .price { color: var(--sable-clair); }
.pack-featured .pack-for, .pack-featured .pack-price .cur, .pack-featured .pack-deposit { color: rgba(244, 237, 224, .75); }
.pack-featured .pack-deposit { border-color: rgba(244, 237, 224, .2); }
.pack-featured .pack-ico { background: rgba(244, 237, 224, .12); color: var(--sable); }
.pack-featured .checks li::before { border-color: var(--sable); }
@media (min-width: 1100px) { .pack-featured { margin-top: -16px; padding-top: 42px; } }
.pack-badge {
  padding: 5px 12px; border-radius: 999px;
  background: var(--sable); color: var(--vert); font-size: .72rem; font-weight: 600; white-space: nowrap;
}

.checks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; align-content: start; font-size: .92rem; }
.checks li { position: relative; padding-left: 26px; line-height: 1.45; }
.checks li::before {
  content: ""; position: absolute; left: 2px; top: .35em;
  width: 12px; height: 7px; border: 2px solid var(--vert); border-top: 0; border-right: 0;
  transform: rotate(-45deg);
}

.packs-extra {
  margin-top: 18px; padding: 22px 24px; border-radius: var(--r-md);
  background: var(--blanc); border: 1px solid var(--ligne);
  display: grid; grid-template-columns: auto 1fr; gap: 16px 20px; align-items: center;
}
.packs-extra-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--vert); color: var(--sable); }
.packs-extra-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.packs-extra h3 { margin: 0 0 2px; font-size: 1.25rem; }
.packs-extra p { margin: 0; color: var(--texte-doux); }
.packs-extra .btn { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .packs-extra { grid-template-columns: auto 1fr auto; }
  .packs-extra .btn { grid-column: auto; }
}

.packs-options { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.packs-options > p { margin: 0 6px 0 0; font: 300 .8rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .24em; color: var(--vert); }
.packs-options ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.packs-options li { padding: 6px 14px; border-radius: 999px; border: 1px dashed var(--sauge); font-size: .85rem; }
.packs-options-note { font-size: .85rem; color: var(--texte-doux); }

/* Trajets */
/* Section en vert forêt, ouverte par une vague */
.routes-section { position: relative; background: var(--vert); color: var(--sable-clair); padding-top: 120px; }
@media (min-width: 768px) { .routes-section { padding-top: 150px; } }
.section-wave { position: absolute; top: -1px; left: 0; width: 100%; height: 60px; fill: var(--blanc); }
.routes-section h2 { color: var(--sable-clair); }
.routes-section .eyebrow { color: var(--sable); }
.routes-section .link-arrow { color: var(--sable); }
.routes-section .chip { background: transparent; border-color: rgba(244, 237, 224, .35); color: var(--sable-clair); }
.routes-section .chip.is-active { background: var(--sable); border-color: var(--sable); color: var(--vert); }
.routes-section .todo { vertical-align: 0; }
.routes-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .routes-grid { grid-template-columns: .8fr 1.2fr; align-items: center; } }
.routes-intro p { color: rgba(244, 237, 224, .82); max-width: 42ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 32px; }
.chip {
  min-height: 38px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ligne); background: var(--blanc); color: var(--encre);
  font: 600 .85rem var(--f-texte);
}
.chip.is-active { background: var(--vert); border-color: var(--vert); color: var(--sable-clair); }

.routes { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .routes { grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; }
  .route-big { grid-row: 1 / span 2; }
}
.route {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
  min-height: 200px; padding: 20px; border-radius: var(--r-md); overflow: hidden;
  text-decoration: none; color: var(--sable-clair);
  transition: transform .25s;
}
.route:hover { transform: translateY(-3px); }
.route[hidden] { display: none; }
.route-big { min-height: 340px; }
.route::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(19, 38, 30, .75), transparent 65%); }
.route-body { position: relative; z-index: 1; display: grid; gap: 4px; }
.route .media-img { transition: scale .6s ease; }
.route:hover .media-img { scale: 1.06; }
.route-place { font: 300 .78rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .2em; color: var(--sable); }
.route-title { font: 500 1.25rem/1.2 var(--f-titre); }
.route-meta { font-size: .85rem; color: rgba(244, 237, 224, .85); }
.route-go {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sable-clair); color: var(--vert); font-weight: 600;
}

/* Pour qui */
.audience-section, .reviews-section { background: var(--sable-clair); }
.audience { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience { grid-template-columns: repeat(4, 1fr); } }
.aud {
  min-height: 380px; padding: 12px; border-radius: var(--r-md); overflow: hidden;
  display: flex; align-items: flex-end; text-decoration: none; color: var(--sable-clair);
}
@media (min-width: 1024px) { .aud { min-height: 440px; } }
/* voile plus dense en bas pour la lisibilité, quelle que soit la photo */
.aud::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(19, 38, 30, .9) 0%, rgba(19, 38, 30, .45) 40%, rgba(19, 38, 30, 0) 70%);
}
.aud-num {
  position: absolute; top: 18px; left: 20px;
  font: 300 .85rem/1 var(--f-slogan); letter-spacing: .24em; color: var(--sable-clair);
  padding: 8px 12px; border-radius: 999px; background: rgba(19, 38, 30, .35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.aud-panel {
  position: relative; width: 100%;
  display: grid; gap: 6px; padding: 18px;
  border-radius: 16px; border: 1px solid rgba(244, 237, 224, .18);
  background: rgba(19, 38, 30, .45);
  backdrop-filter: blur(10px) saturate(130%); -webkit-backdrop-filter: blur(10px) saturate(130%);
}
.aud-tag {
  justify-self: start; padding: 4px 10px; border-radius: 999px;
  background: var(--sable); color: var(--vert); font-size: .72rem; font-weight: 600;
}
.aud-title { font: 500 1.35rem/1.2 var(--f-titre); color: var(--sable-clair); }
.aud-text { font-size: .9rem; line-height: 1.45; color: rgba(244, 237, 224, .88); }
.aud-more { display: inline-flex; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--sable); }
.aud-more span { transition: transform .25s; }
.aud:hover .aud-more span { transform: translateX(4px); }
@media (hover: hover) {
  .aud-more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .35s, opacity .35s, margin .35s; }
  .aud:hover .aud-more, .aud:focus-visible .aud-more { max-height: 24px; opacity: 1; margin-top: 4px; }
}

/* Avis */
.reviews-section { padding-top: 0; }
.reviews-card {
  position: relative; overflow: hidden;
  display: grid; gap: 20px; align-items: center;
  padding: 36px 28px; border-radius: var(--r-lg);
  background: var(--blanc); border: 1px solid var(--ligne);
}
@media (min-width: 860px) { .reviews-card { grid-template-columns: auto 1fr auto; gap: 40px; padding: 48px 56px; } }
.reviews-quote { font: 600 7rem/.7 var(--f-titre); color: var(--sauge); opacity: .6; height: .55em; }
.reviews-body h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.reviews-body > p:not(.eyebrow) { color: var(--texte-doux); max-width: 56ch; }
.reviews-body .todo-block { margin: 0; }
.reviews-stars { display: flex; gap: 6px; }
.reviews-stars svg { width: 28px; height: 28px; fill: none; stroke: var(--sauge); stroke-width: 1.6; stroke-linejoin: round; }

/* Engagements (bande sous le bandeau d'accueil) */
.promises { padding: 40px 0 8px; }
.promises-list {
  list-style: none; margin: 0; padding: 24px;
  display: grid; gap: 20px;
  background: var(--sable-clair); border-radius: var(--r-lg);
}
@media (min-width: 640px) { .promises-list { grid-template-columns: repeat(2, 1fr); padding: 28px 32px; } }
@media (min-width: 1100px) { .promises-list { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.promises-list li { display: flex; align-items: flex-start; gap: 14px; }
.promises-list .value-ico { flex: none; width: 48px; height: 48px; }
.promise-text { display: grid; gap: 4px; }
.promise-text strong { font: 500 1.05rem/1.25 var(--f-titre); color: var(--vert); }
.promise-text small { font-size: .85rem; line-height: 1.45; color: var(--texte-doux); }
.promise-text a { color: var(--vert); font-weight: 600; }

/* Encadré parents (section Pour qui) */
.parents-note {
  margin-block-start: 32px; padding: 28px;
  display: grid; gap: 20px; align-items: center;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-lg);
}
@media (min-width: 860px) { .parents-note { grid-template-columns: auto 1fr auto; gap: 32px; padding: 36px 44px; } }
.parents-note .value-ico { width: 64px; height: 64px; background: var(--sable-clair); }
.parents-note .value-ico svg { width: 28px; height: 28px; }
.parents-text h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); font-weight: 600; }
.parents-text p:not(.eyebrow) { color: var(--texte-doux); max-width: 60ch; }
.parents-text .eyebrow { margin-bottom: 8px; }
.parents-text p:last-child { margin-bottom: 0; }

/* Qui est derrière Km Zero */
.founder-card {
  display: grid; gap: 32px; align-items: center;
  padding: 28px; border-radius: var(--r-lg);
  border: 1px solid var(--ligne); background: var(--blanc);
}
@media (min-width: 860px) { .founder-card { grid-template-columns: 300px 1fr; gap: 56px; padding: 48px 56px; } }
.founder-photo {
  margin: 0; aspect-ratio: 1; max-width: 300px; width: 100%;
  border-radius: var(--r-lg); background: var(--sable);
  display: grid; place-items: center; align-content: center; gap: 12px;
}
.founder-photo img { width: 96px; height: auto; opacity: .5; }
.founder-text > p:not(.eyebrow) { color: var(--texte-doux); max-width: 60ch; }
.founder-langs { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.founder-langs li {
  padding: 6px 14px; border-radius: 999px;
  background: var(--sable-clair); color: var(--vert);
  font-size: .85rem; font-weight: 600;
}

/* Vous venez de… (futures pages pays d'origine) */
.countries-section { background: var(--sable-clair); }
.countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .countries { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .countries { grid-template-columns: repeat(5, 1fr); gap: 16px; } }
.country {
  display: grid; gap: 4px; padding: 18px 20px;
  background: var(--blanc); border-radius: var(--r-md); border: 1px solid var(--ligne);
}
.country-code {
  width: 40px; height: 40px; margin-block-end: 8px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--vert); color: var(--sable);
  font: 300 .8rem/1 var(--f-slogan); letter-spacing: .12em;
}
.country-name { font: 500 1.05rem/1.25 var(--f-titre); color: var(--vert); }
.country-soon { font-size: .8rem; color: var(--texte-doux); }

/* FAQ */
.faq-section { background: var(--blanc); }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }
.faq-grid > div > p { color: var(--texte-doux); }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font: 500 1.1rem/1.3 var(--f-titre); color: var(--vert);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sable-clair); font: 400 1.2rem/1 var(--f-texte);
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--texte-doux); }

/* Appel final : carte photo à cheval sur le pied de page */
/* Moitié haute = couleur de la section précédente (blanche par défaut), moitié basse = pied de page */
.cta-band { position: relative; z-index: 1; background: linear-gradient(180deg, var(--blanc) 50%, var(--encre) 50%); }
.faq-section + .cta-band, .page-alt + .cta-band { background: linear-gradient(180deg, var(--sable-clair) 50%, var(--encre) 50%); }
.cta-card {
  overflow: hidden; border-radius: var(--r-lg);
  padding: 48px 24px; color: var(--sable-clair);
}
@media (min-width: 768px) { .cta-card { padding: 64px 56px; } }
.cta-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30, 77, 59, .96) 0%, rgba(30, 77, 59, .86) 50%, rgba(30, 77, 59, .55) 100%);
}
.cta-card .media-img { object-position: center 40%; }
.cta-inner { position: relative; display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: auto 1fr auto; gap: 40px; } }
.cta-card h2 { color: var(--sable-clair); margin: 0 0 10px; }
.cta-text p:last-child { margin: 0; color: rgba(244, 237, 224, .85); }
.cta-symbol { width: 88px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .ico { width: 18px; height: 18px; }
.cta-speed {
  position: absolute; right: 32px; top: 28px; width: 180px;
  fill: none; stroke: var(--sable); stroke-width: 3; stroke-linecap: round; opacity: .45;
  stroke-dasharray: 70 30;
}

/* Pied de page */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--encre); color: rgba(244, 237, 224, .8);
  margin-top: -1px; padding: 72px 0 96px; font-size: .9rem;
}
.footer-watermark { position: absolute; right: -90px; bottom: -80px; width: 420px; opacity: .05; pointer-events: none; }
.footer-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; } .footer-brand { grid-column: auto; } }
.footer-brand img { width: 240px; margin-bottom: 20px; }
.footer-brand > p { max-width: 40ch; }
.site-footer h3 { font: 300 .8rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .24em; color: var(--sable); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer nav a { position: relative; }
.site-footer nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--sable); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.site-footer nav a:hover { color: var(--sable-clair); }
.site-footer nav a:hover::after { transform: scaleX(1); }

.footer-contact { margin: 20px 0 !important; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact .ico { color: var(--sable); flex: none; }
.footer-contact a:hover { color: var(--sable-clair); }
.footer-social { display: flex !important; gap: 10px !important; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid rgba(244, 237, 224, .2);
  transition: background-color .25s, color .25s, transform .25s, border-color .25s;
}
.footer-social a:hover { background: var(--sable); border-color: var(--sable); color: var(--vert); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  position: relative;
  margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(244, 237, 224, .15);
  display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; }
.site-footer .lang-switch { display: flex; gap: 4px; }
.lang-switch-light a { color: rgba(244, 237, 224, .7); }
.lang-switch-light a[aria-current="true"] { background: rgba(244, 237, 224, .12); color: var(--sable-clair); }
.to-top {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(244, 237, 224, .2); font-weight: 600; font-size: .82rem;
}
.to-top span { transition: transform .25s; }
.to-top:hover { color: var(--sable-clair); border-color: var(--sable); }
.to-top:hover span { transform: translateY(-3px); }

/* WhatsApp flottant */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--vert); color: var(--sable-clair); box-shadow: var(--ombre);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

/* ---------- Barres fixées en bas de l'écran (mobile) ---------- */
/* --bar-h : hauteur de la barre « Mon espace » quand elle est affichée, pour empiler les autres éléments au-dessus */
:root { --bar-h: 0px; }
.mobile-cta { display: none; }
.account-bar[hidden] { display: none; }

@media (max-width: 959px) {
  body.has-account-bar { --bar-h: 64px; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }

  .account-bar {
    position: fixed; z-index: 70; inset-inline: 0; bottom: 0;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--blanc); border-top: 1px solid var(--ligne);
    box-shadow: 0 -8px 24px -16px rgba(19, 38, 30, .4);
  }
  .account-bar ul { list-style: none; margin: 0; padding: 0; height: var(--bar-h, 64px); display: grid; grid-template-columns: repeat(6, 1fr); }
  .account-bar a {
    height: 100%; display: grid; place-content: center; justify-items: center; gap: 3px;
    text-decoration: none; color: var(--texte-doux); font-size: .66rem; font-weight: 600; line-height: 1.1;
  }
  .account-bar a[aria-current="page"], .account-bar a.is-active { color: var(--vert); }
  .account-bar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

  .wa-float { bottom: calc(16px + var(--bar-h)); transition: transform .2s, bottom .3s; }
}
@media (min-width: 960px) { .account-bar { display: none; } }

@media (max-width: 760px) {
  .mobile-cta {
    display: block; position: fixed; z-index: 65;
    inset-inline: 16px 88px; bottom: calc(16px + var(--bar-h) + env(safe-area-inset-bottom));
    transform: translateY(calc(100% + 40px)); opacity: 0; pointer-events: none;
    transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .25s;
  }
  .mobile-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
  .mobile-cta .btn { width: 100%; min-height: 56px; box-shadow: var(--ombre); }
}

/* Skeleton des photos pendant leur chargement (classe posée par base.html.twig) */
@keyframes sk-shimmer { to { background-position: -200% 0; } }
img.is-loading {
  background: linear-gradient(90deg, var(--sable-clair) 0%, #FBF7F0 50%, var(--sable-clair) 100%) 0 0 / 200% 100%;
  animation: sk-shimmer 1.4s linear infinite;
}
@media (prefers-reduced-motion: reduce) { img.is-loading { animation: none; } }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   Animations
   ========================================================= */

/* En-tête : ombre une fois la page défilée */
.site-header { transition: box-shadow .3s, background-color .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(19, 38, 30, .25); }

/* Hero : entrée en cascade, photo qui avance lentement, carte qui flotte */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes dash { to { stroke-dashoffset: -120; } }

.hero-card .media-img { animation: kenburns 14s ease-out both; }
.hero-content > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-content > :nth-child(1) { animation-delay: .1s; }
.hero-content > :nth-child(2) { animation-delay: .25s; }
.hero-content > :nth-child(3) { animation-delay: .4s; }
.hero-content > :nth-child(4) { animation-delay: .55s; }
.hero-float { animation: rise .9s .7s cubic-bezier(.2, .7, .2, 1) both, floaty 6s 1.6s ease-in-out infinite; }
.quick-book { animation: rise .9s .5s cubic-bezier(.2, .7, .2, 1) both; }
.orbit-line { animation: dash 6s linear infinite; }
.orbit-plane { color: var(--sable); }

/* Boutons : flèche qui glisse au survol */
.btn span[aria-hidden], .link-arrow span[aria-hidden] { display: inline-block; transition: transform .25s; }
.btn:hover span[aria-hidden], .link-arrow:hover span[aria-hidden] { transform: translateX(4px); }

/* Apparition au défilement : variantes et décalage (--d posé en JS) */
.reveal { transition-delay: var(--d, 0s); }
.reveal-zoom { transform: scale(.92) rotate(-2deg); }
.reveal-left { transform: translateX(-28px); }
.reveal.is-visible.reveal-zoom, .reveal.is-visible.reveal-left { transform: none; }

/* Collage : tache sauge qui respire, palmier qui se balance, photos qui réagissent */
@keyframes morph {
  0%, 100% { border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; transform: scale(1); }
  50% { border-radius: 42% 58% 45% 55% / 60% 44% 56% 40%; transform: scale(1.06); }
}
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(5deg); } }
.mission-splash { animation: morph 9s ease-in-out infinite; }
.mission-palm { transform-origin: 50% 95%; animation: sway 5s ease-in-out infinite; }
.blob { transition: transform .5s cubic-bezier(.2, .7, .2, 1), opacity .6s ease; }
.blob:hover { transform: translateY(-6px) rotate(-1deg); }

/* Icônes de valeurs */
.value-ico { transition: transform .3s, background-color .3s, color .3s; }
.values li:hover .value-ico { transform: translateY(-4px); background: var(--vert); color: var(--sable-clair); }

/* Itinéraire : la trajectoire se dessine, l'avion la parcourt, les anneaux tournent */
@keyframes fly {
  0% { left: 0; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { left: calc(100% - 28px); opacity: 0; }
}
@keyframes spin { to { transform: rotate(360deg); } }
/* marges négatives du masque : l'avion dépasse de la ligne */
.reveal-none { opacity: 1; transform: none; }
.journey-track { clip-path: inset(-20px 100% -20px -20px); transition: clip-path 1.4s cubic-bezier(.6, 0, .2, 1) .3s; }
@media (max-width: 859px) { .journey-track { clip-path: inset(-20px -20px 100% -20px); } }
.journey.is-visible .journey-track { clip-path: inset(-20px); }
.journey.is-visible .journey-plane { animation: fly 7s 1.6s ease-in-out infinite; }
.stop-badge::before { animation: spin 18s linear infinite; }
.stop-badge { transition: transform .35s cubic-bezier(.2, .7, .2, 1), background-color .3s, color .3s; }
.stop:hover .stop-badge { transform: scale(1.08); background: var(--vert); color: var(--sable); }
.stop-num { transition: -webkit-text-stroke-color .3s, transform .4s; }
.stop:hover .stop-num { -webkit-text-stroke-color: var(--sauge); transform: translateY(-4px); }

/* Cartes : élévation au survol */
.pack { transition: transform .3s, box-shadow .3s, opacity .6s ease; }
.pack:hover { transform: translateY(-6px); box-shadow: var(--ombre); }
.aud .media-img { transition: scale .6s ease; }
.aud:hover .media-img { scale: 1.08; }

/* FAQ : réponse qui glisse */
.faq summary::after { transition: transform .3s, background-color .3s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(180deg); background: var(--sable); }
.faq details[open] p { animation: rise .4s ease both; }

/* Symbole du bandeau final en orbite douce */
@keyframes orbit { 0%, 100% { transform: rotate(-6deg) translateY(0); } 50% { transform: rotate(6deg) translateY(-6px); } }
.cta-symbol { animation: orbit 7s ease-in-out infinite; }

/* WhatsApp : onde qui attire l'œil */
@keyframes ping {
  0% { box-shadow: var(--ombre), 0 0 0 0 rgba(143, 169, 143, .65); }
  80%, 100% { box-shadow: var(--ombre), 0 0 0 18px rgba(143, 169, 143, 0); }
}
.wa-float { animation: ping 2.4s ease-out infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-zoom, .reveal-left { opacity: 1; transform: none; }
  .journey-track, .reveal-wipe { clip-path: none !important; }
  .scroll-progress { display: none; }
}

/* =========================================================
   Animations supplémentaires : images et détails
   ========================================================= */

/* Barre de progression de lecture */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 100;
  width: 100%; height: 3px; background: var(--sauge);
  transform-origin: left; transform: scaleX(0);
}

/* Images qui se dévoilent en rideau */
.reveal-wipe { opacity: 1; transform: none; clip-path: inset(100% 0 0 0 round var(--r-md)); transition: clip-path 1s cubic-bezier(.7, 0, .2, 1) var(--d, 0s); }
.reveal-wipe.is-visible { clip-path: inset(0 0 0 0 round var(--r-md)); }
.reveal-wipe .media-img { scale: 1.25; transition: scale 1.4s cubic-bezier(.2, .7, .2, 1) var(--d, 0s); }
.reveal-wipe.is-visible .media-img { scale: 1; }
.reveal-wipe.is-visible:hover .media-img { scale: 1.07; transition-delay: 0s; }

/* Grande carte Casablanca : zoom lent en continu */
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.1) translate(-2%, -2%); } }
.route-big .media-img { animation: drift 18s ease-in-out infinite alternate; }

/* Inclinaison 3D au survol (valeurs posées en JS) */
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0px)); transition: transform .4s cubic-bezier(.2, .7, .2, 1), clip-path 1s cubic-bezier(.7, 0, .2, 1) var(--d, 0s), opacity .6s; }
.tilt.is-tilting { transition: transform .1s linear, clip-path 1s, opacity .6s; }
/* reflet qui suit la souris */
.tilt-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .28), transparent 55%); }
.tilt.is-tilting .tilt-shine { opacity: 1; }

/* Titre du hero : soulignement sable qui se dessine */
.hero h1 .accent {
  background: linear-gradient(var(--sable), var(--sable)) no-repeat 0 92% / 0 3px;
  animation: underline 1s 1.1s cubic-bezier(.6, 0, .2, 1) forwards;
}
@keyframes underline { to { background-size: 100% 3px; } }

/* Boutons pleins : reflet qui balaie au survol */
.btn-primary, .btn-sand { position: relative; overflow: hidden; }
.btn-primary::after, .btn-sand::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn-primary:hover::after, .btn-sand:hover::after { left: 120%; }

/* Pack mis en avant : badge qui pulse doucement */
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(227, 211, 180, .6); } 50% { box-shadow: 0 0 0 8px rgba(227, 211, 180, 0); } }
.pack-badge { animation: glow 2.6s ease-in-out infinite; }

/* Filtre des trajets : les cartes réapparaissent avec un petit rebond */
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }
.route.is-popping { animation: pop .45s cubic-bezier(.2, .7, .2, 1.2) both; }

/* Icônes de valeurs : petit saut à l'apparition */
@keyframes hop { 0% { transform: scale(.6); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.values li.is-visible .value-ico { animation: hop .6s cubic-bezier(.2, .7, .2, 1.3) both; animation-delay: calc(var(--d, 0s) + .15s); }

/* Collage : légère dérive en continu (en plus de la parallaxe) */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.blob-2 img { animation: bob 7s ease-in-out infinite; }

/* Logo : léger effet au survol */
.brand img { transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.brand:hover img { transform: scale(1.04); }

@media (prefers-reduced-motion: reduce) {
  .tilt { transform: none !important; }
  .reveal-wipe .media-img { scale: 1; }
}

/* Ajustements pour la parallaxe et le reflet */
.pack { position: relative; }
.tilt-shine { border-radius: inherit; }
.hero-card .media-img { top: -70px; height: calc(100% + 140px); }

/* Packs, Pour qui, appel final, pied de page : animations */
@keyframes speed { to { stroke-dashoffset: 200; } }
.cta-speed { animation: speed 2.4s linear infinite; }
.cta-card .media-img { transition: scale 1.2s ease; }
.cta-card:hover .media-img { scale: 1.05; }
@keyframes slowspin { to { transform: rotate(360deg); } }
.footer-watermark { animation: slowspin 80s linear infinite; }
.pack-ico { transition: transform .35s cubic-bezier(.2, .7, .2, 1.3); }
.pack:hover .pack-ico { transform: rotate(-8deg) scale(1.1); }
.pack-badge { animation-duration: 3.2s; }
.aud-panel { transition: transform .4s cubic-bezier(.2, .7, .2, 1), background-color .3s; }
.aud:hover .aud-panel { transform: translateY(-4px); background: rgba(30, 77, 59, .6); }
.reviews-stars svg { transition: fill .3s, transform .3s; }
.reviews-card:hover .reviews-stars svg { fill: var(--sable); transform: scale(1.08); }
.reviews-card:hover .reviews-stars svg:nth-child(2) { transition-delay: .05s; }
.reviews-card:hover .reviews-stars svg:nth-child(3) { transition-delay: .1s; }
.reviews-card:hover .reviews-stars svg:nth-child(4) { transition-delay: .15s; }
.reviews-card:hover .reviews-stars svg:nth-child(5) { transition-delay: .2s; }

/* Lien « En savoir plus » sous le bouton de chaque pack */
.pack-more {
  align-self: center; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; padding: 4px 2px;
  font-weight: 600; font-size: .88rem; color: var(--vert); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px;
  transition: background-size .3s;
}
.pack-more:hover { background-size: 100% 1.5px; }
.pack-more span[aria-hidden] { transition: transform .25s; }
.pack-more:hover span[aria-hidden] { transform: translateX(4px); }
.pack-featured .pack-more { color: var(--sable); }

/* =========================================================
   Menu Services (sous-menu), lien Mon espace, section Services
   ========================================================= */

/* Bouton « Services » du menu */
.sub-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 .92rem var(--f-texte); color: var(--encre);
}
.sub-toggle:hover { color: var(--vert); }
.chevron { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
.sub-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.submenu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.submenu-list a { display: flex !important; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.submenu-list a:hover, .submenu-list a:focus-visible { background: var(--sable-clair); }
.submenu-list strong { display: block; font: 600 .9rem/1.3 var(--f-texte); color: var(--vert); }
.submenu-list small { display: block; font-size: .78rem; font-weight: 400; color: var(--texte-doux); }
.submenu-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sable-clair); color: var(--vert); transition: background-color .2s, color .2s; }
.submenu-list a:hover .submenu-ico { background: var(--vert); color: var(--sable); }
.submenu-ico svg, .service-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.submenu-all { display: inline-flex !important; gap: 6px; margin: 8px 10px 4px; font-weight: 600; font-size: .85rem; color: var(--vert) !important; text-decoration: none; }

@media (min-width: 1201px) {
  .has-sub { position: relative; }
  .submenu {
    position: absolute; top: calc(100% + 22px); left: 50%; z-index: 70;
    width: 580px; padding: 14px;
    background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-md);
    box-shadow: 0 24px 48px -20px rgba(19, 38, 30, .35);
    opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  /* pont invisible pour ne pas perdre le survol entre le bouton et le panneau */
  .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu {
    opacity: 1; visibility: visible; transform: translate(-50%, 0);
  }
  .submenu-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) {
  .sub-toggle { width: 100%; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--ligne); font-size: 1rem; }
  .submenu { display: none; padding: 6px 0 10px; border-bottom: 1px solid var(--ligne); }
  .has-sub.is-open .submenu { display: block; animation: rise .3s ease both; }
  .main-nav .submenu-list a { border-bottom: 0; padding: 8px 4px; }
  .main-nav { max-height: calc(100vh - 80px); overflow-y: auto; }
}

/* Lien Mon espace */
.account-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 14px; border-radius: 999px;
  border: 1.5px solid var(--ligne); color: var(--vert); text-decoration: none;
  font-weight: 600; font-size: .88rem; white-space: nowrap;
  transition: border-color .2s, background-color .2s;
}
.account-link:hover { border-color: var(--vert); background: var(--sable-clair); }
.account-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (max-width: 1300px) {
  .account-link { width: 40px; padding: 0; justify-content: center; }
  .account-link span { display: none; }
}

/* Options à la carte */
.options-section { background: var(--sable-clair); }
.opt-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.options { display: grid; gap: 12px; }
@media (min-width: 700px) { .options { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .options { grid-template-columns: repeat(3, 1fr); } }
.opt {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start;
  padding: 18px; border-radius: var(--r-md);
  background: var(--blanc); border: 1px solid var(--ligne);
  transition: transform .3s, box-shadow .3s, border-color .3s, opacity .6s;
}
.opt[hidden] { display: none; }
.opt:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: transparent; }
.opt h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.opt p { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--texte-doux); }
.opt-ico {
  grid-row: span 2; width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center; background: var(--sable-clair); color: var(--vert);
  transition: background-color .3s, color .3s, transform .4s cubic-bezier(.2, .7, .2, 1.3);
}
.opt-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.opt:hover .opt-ico { background: var(--vert); color: var(--sable); transform: rotate(-8deg) scale(1.06); }
.opt-badge {
  grid-column: 2; justify-self: start; margin-top: 8px;
  padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 600;
}
.opt-free { background: rgba(143, 169, 143, .25); color: var(--vert); }
.opt-paid { background: var(--sable); color: var(--vert); }
.opt-special { background: var(--vert); color: var(--sable-clair); }
.opt.is-popping { animation: pop .4s cubic-bezier(.2, .7, .2, 1.2) both; }

/* Sous-menu : deux liens en pied de panneau */
.submenu-foot { display: flex; flex-wrap: wrap; gap: 4px 18px; border-top: 1px solid var(--ligne); margin-top: 8px; padding-top: 4px; }

/* Arrivée depuis le sous-menu : le service visé s'illumine */
.pack { scroll-margin-top: 110px; }
@keyframes target-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(143, 169, 143, 0); } 30% { box-shadow: 0 0 0 6px rgba(143, 169, 143, .55); } }
.pack:target { animation: target-glow 1.6s ease 2; }

/* Premium : prix sur devis */
.pack-price-quote .quote { font: 600 2rem/1.2 var(--f-titre); color: var(--vert); }
.pack-badge-pro { background: var(--vert); color: var(--sable-clair); }

/* Formulaire rapide : libellés sur une ligne */
.quick-book .field label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* =========================================================
   Fenêtre « En savoir plus » des services
   ========================================================= */
html.modal-open { overflow: hidden; }
.pack-modal {
  padding: 0; border: 0; color: var(--encre); background: var(--blanc);
  width: min(780px, calc(100% - 24px)); max-height: min(90vh, 920px);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(19, 38, 30, .55);
  opacity: 0; transform: translateY(28px) scale(.97);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1);
}
.pack-modal[open] { display: flex; flex-direction: column; }
.pack-modal.is-open { opacity: 1; transform: none; }
.pack-modal::backdrop { background: rgba(19, 38, 30, .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); opacity: 0; transition: opacity .25s; }
.pack-modal.is-open::backdrop { opacity: 1; }

.pm-head {
  position: relative; overflow: hidden; flex: none;
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: center;
  padding: 28px 72px 24px 28px;
  background: radial-gradient(120% 120% at 100% 0%, #2F6A52 0%, var(--vert) 60%);
  color: var(--sable-clair);
}
.pm-head::after {
  content: ""; position: absolute; right: -70px; bottom: -110px; width: 240px; height: 240px; border-radius: 50%;
  border: 2px dashed rgba(227, 211, 180, .28); animation: spin 30s linear infinite; pointer-events: none;
}
.pm-close {
  position: absolute; top: 16px; right: 16px; z-index: 1;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; background: rgba(244, 237, 224, .14); color: var(--sable-clair);
  transition: background-color .2s, transform .3s;
}
.pm-close:hover { background: rgba(244, 237, 224, .26); transform: rotate(90deg); }
.pm-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pm-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: rgba(244, 237, 224, .12); color: var(--sable); }
.pm-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pm-titles .eyebrow { margin-bottom: 6px; }
.pm-titles h2 { margin: 0 0 4px; color: var(--sable-clair); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.pm-tagline { margin: 0; color: rgba(244, 237, 224, .85); }
.pm-head .pm-price { grid-column: 1 / -1; margin-top: 12px; }
.pm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.pm-price strong { font: 600 1.7rem/1.1 var(--f-titre); }
.pm-price span { font-size: .82rem; }
.pm-head .pm-price strong { color: var(--sable); }
.pm-head .pm-price span { color: rgba(244, 237, 224, .75); }

.pm-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 28px; display: grid; gap: 26px; align-content: start; }
.pm-section { animation: rise .45s ease both; }
.pm-section:nth-child(2) { animation-delay: .05s; }
.pm-section:nth-child(3) { animation-delay: .1s; }
.pm-section:nth-child(4) { animation-delay: .15s; }
.pm-section:nth-child(5) { animation-delay: .2s; }
.pm-section h3 { margin: 0 0 12px; font: 300 .8rem/1.4 var(--f-slogan); text-transform: uppercase; letter-spacing: .24em; color: var(--vert); }
.pm-section > p { margin: 0; color: var(--texte-doux); }
.pm-section .checks { margin: 0; }

.pm-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .pm-steps { grid-template-columns: repeat(3, 1fr); } }
.pm-steps li { position: relative; padding: 16px; border-radius: 16px; background: var(--sable-clair); }
.pm-step-num { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 10px; border-radius: 50%; background: var(--vert); color: var(--sable-clair); font: 600 .9rem var(--f-titre); }
.pm-steps strong { display: block; margin-bottom: 4px; font: 500 1.05rem var(--f-titre); color: var(--vert); }
.pm-steps p { margin: 0; font-size: .86rem; line-height: 1.45; color: var(--texte-doux); }

.pm-options { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pm-options li { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 14px; border: 1px solid var(--ligne); border-radius: 999px; font-size: .86rem; }
.pm-options .opt-badge { margin: 0; }
.pm-not { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; color: var(--texte-doux); }
.pm-not li { position: relative; padding-left: 22px; }
.pm-not li::before { content: "×"; position: absolute; left: 4px; top: -1px; font-weight: 600; color: var(--sauge); }
.pm-todo { margin: 0; font-size: .88rem; color: var(--texte-doux); }
.pm-good { list-style: none; margin: 0; padding: 16px 18px; display: grid; gap: 8px; border-radius: 16px; border: 1.5px dashed var(--sauge); font-size: .88rem; color: var(--texte-doux); }
.pm-good li { position: relative; padding-left: 20px; }
.pm-good li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--sauge); }

.pm-foot {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px;
  padding: 16px 28px; border-top: 1px solid var(--ligne); background: var(--blanc);
}
.pm-foot .pm-price strong { color: var(--vert); font-size: 1.35rem; }
.pm-foot .pm-price span { color: var(--texte-doux); }

/* Mobile : la fenêtre monte depuis le bas */
@media (max-width: 600px) {
  .pack-modal { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: var(--r-lg) var(--r-lg) 0 0; transform: translateY(100%); }
  .pm-head { padding: 24px 64px 20px 20px; }
  .pm-body { padding: 22px 20px; }
  .pm-foot { padding: 14px 20px; }
  .pm-foot .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .pack-modal, .pack-modal::backdrop { transition: none; }
}

/* =========================================================
   Blog
   ========================================================= */
.blog-section { background: var(--blanc); }
.faq-section { background: var(--sable-clair); }
.faq summary::after { background: var(--blanc); }

.blog { display: grid; gap: 20px; }
@media (min-width: 720px) { .blog { grid-template-columns: repeat(3, 1fr); } }
.post { min-width: 0; }
.post-link {
  height: 100%; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--r-md); background: var(--blanc); border: 1px solid var(--ligne);
  text-decoration: none; color: inherit;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s, border-color .35s;
}
.post-link:hover { transform: translateY(-6px); box-shadow: var(--ombre); border-color: transparent; }
.post-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sable-clair); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s cubic-bezier(.2, .7, .2, 1); }
.post-link:hover .post-media img { scale: 1.07; }
.post-tag {
  position: absolute; left: 14px; top: 14px; padding: 5px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--vert); font-size: .75rem; font-weight: 600;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.post-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.post-title { font: 500 1.25rem/1.25 var(--f-titre); color: var(--vert); }
.post-excerpt { font-size: .9rem; line-height: 1.55; color: var(--texte-doux); }
.post-more {
  margin-top: auto; padding-top: 6px; align-self: flex-start; display: inline-flex; gap: 6px;
  font-weight: 600; font-size: .88rem; color: var(--vert);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1.5px; transition: background-size .3s;
}
.post-more span { transition: transform .25s; }
.post-link:hover .post-more { background-size: 100% 1.5px; }
.post-link:hover .post-more span { transform: translateX(4px); }

/* Sous-menu Services : panneau plus large sur ordinateur, 2 colonnes
   (.main-nav .submenu-list l'emporte sur « .main-nav ul », qui alignait les liens en ligne) */
.main-nav .submenu-list { display: grid; gap: 6px; flex-direction: initial; }
@media (min-width: 1201px) {
  .submenu {
    width: 680px; padding: 18px;
    left: -24px; transform: translateY(8px);
  }
  .has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { transform: translateY(0); }
  .main-nav .submenu-list { grid-template-columns: 1fr 1fr; gap: 8px; }
  .submenu-list a { padding: 14px; gap: 14px; }
  .submenu-list strong { font-size: .98rem; margin-bottom: 2px; }
  .submenu-list small { font-size: .82rem; line-height: 1.4; }
  .submenu-ico { width: 46px; height: 46px; }
  .submenu-foot { margin-top: 12px; padding: 10px 4px 0; }
}

/* Fenêtre détaillée : lien vers la page du service */
.pm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* Un bouton avec l'attribut hidden reste caché (display de .btn sinon prioritaire) */
.btn[hidden] { display: none !important; }

/* Pied de page à 5 colonnes, lien « Toutes les questions » */
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1.1fr 1fr 1.1fr; } }
@media (min-width: 640px) and (max-width: 999px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
.faq-all { margin-top: 18px; }
.faq-grid > div:first-child { display: flex; flex-direction: column; align-items: flex-start; }

/* Menu déroulant des langues (en-tête) */
.lang-menu { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--ligne); background: var(--blanc); color: var(--vert); cursor: pointer;
  font: 600 .85rem var(--f-texte); transition: border-color .2s, background-color .2s;
}
.lang-toggle:hover, .lang-menu.is-open .lang-toggle { border-color: var(--vert); background: var(--sable-clair); }
.lang-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.lang-toggle .chevron { width: 14px; height: 14px; transition: transform .25s; }
.lang-menu.is-open .chevron { transform: rotate(180deg); }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 80; min-width: 180px;
  list-style: none; margin: 0; padding: 8px; border-radius: 16px;
  background: var(--blanc); border: 1px solid var(--ligne); box-shadow: 0 20px 40px -18px rgba(19, 38, 30, .35);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.lang-menu.is-open .lang-list { opacity: 1; visibility: visible; transform: none; }
.lang-list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px;
  text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--encre); transition: background-color .2s;
}
.lang-list a:hover, .lang-list a:focus-visible { background: var(--sable-clair); }
.lang-list a span { width: 30px; padding: 2px 0; border-radius: 6px; text-align: center; font-size: .72rem; background: var(--sable-clair); color: var(--vert); }
.lang-list a[aria-current="true"] { color: var(--vert); }
.lang-list a[aria-current="true"] span { background: var(--vert); color: var(--sable-clair); }
.lang-list a[aria-current="true"]::after { content: "✓"; margin-left: auto; color: var(--vert); }
@media (max-width: 560px) { .lang-toggle > svg:first-child { display: none; } }

/* Liens vers des sources officielles (partials/useful-links.html.twig) */
.useful-links { padding-block: 8px 40px; font-size: .85rem; color: var(--texte-doux); }
.useful-links p { margin: 0; }
.useful-links a { color: var(--vert); font-weight: 600; }

/* Section de contenu complémentaire (partials/more.html.twig) */
.more-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .more-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; } .more-head { position: sticky; top: 110px; } }
.more-head p { color: var(--texte-doux); }
.more-img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-md); margin-top: 12px; }
.more-items h3 { font-size: 1.15rem; margin: 22px 0 6px; }
.more-items h3:first-child { margin-top: 0; }
.more-items p { margin: 0; color: var(--texte-doux); }
