/* =========================================================
   AR Heritage — feuille de style
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #f4f7f5;
  --ink: #0d1a13;
  --ink-2: #3c4a42;
  --muted: #68756e;
  --line: #e2e9e4;

  --deep: #0b5329;
  --deep-2: #0e5f30;
  --deep-3: #177a41;
  --green: #0b5329;
  --green-600: #083f1f;
  --green-soft: #e8f2ec;
  --green-light: #9fd6b3;

  --radius-xl: 32px;
  --radius: 26px;

  --shadow: 0 1px 2px rgba(8, 30, 18, .04), 0 18px 48px -20px rgba(8, 30, 18, .18);
  --shadow-lg: 0 2px 6px rgba(8, 30, 18, .04), 0 40px 80px -36px rgba(6, 40, 20, .35);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --nav-h: 64px;
  --gutter: clamp(20px, 5vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
button { font: inherit; }
address { font-style: normal; }

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

.container {
  width: 100%;
  max-width: calc(1160px + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
a, button, summary, label { -webkit-tap-highlight-color: transparent; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Typographie ---------- */

.display { font-size: clamp(2.6rem, 5.6vw, 4.75rem); font-weight: 600; line-height: 1.02; letter-spacing: -.038em; }
.page-title { font-size: clamp(2.4rem, 5vw, 4.25rem); font-weight: 600; line-height: 1.04; letter-spacing: -.036em; }
.h2 { font-size: clamp(2.15rem, 4.8vw, 3.75rem); font-weight: 600; line-height: 1.04; letter-spacing: -.034em; }
.h3 { font-size: clamp(1.3rem, 1.9vw, 1.6rem); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.lead { font-size: clamp(1.1rem, 1.55vw, 1.3rem); line-height: 1.5; color: var(--ink-2); letter-spacing: -.01em; }
.body { color: var(--ink-2); }
.grad {
  background: linear-gradient(95deg, var(--green) 0%, #1f8a4c 50%, var(--deep-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Icônes ---------- */

.ico { width: 32px; height: 32px; flex: none; color: var(--green); fill: rgba(11, 83, 41, .16); }
.ico-wa { fill: currentColor; }

.icon-tile {
  display: grid; place-items: center; flex: none;
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--green-soft);
  box-shadow: inset 0 0 0 1px rgba(11, 83, 41, .08);
}
.icon-tile .ico { width: 34px; height: 34px; }
.icon-tile .ico-wa { width: 28px; height: 28px; }
.icon-tile.sm { width: 46px; height: 46px; border-radius: 14px; }
.icon-tile.sm .ico { width: 27px; height: 27px; }
.icon-tile.sm .ico-wa { width: 22px; height: 22px; }
.icon-tile.lg { width: 80px; height: 80px; border-radius: 24px; }
.icon-tile.lg .ico { width: 46px; height: 46px; }
.icon-tile.is-navy { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.icon-tile.is-dark { background: var(--deep); box-shadow: none; }
.icon-tile.is-navy .ico, .icon-tile.is-dark .ico { color: #fff; fill: rgba(255, 255, 255, .18); }

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  font-size: 1rem; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .btn-ico { width: 22px; height: 22px; fill: rgba(255, 255, 255, .2); }
.btn:active { transform: scale(.975); }
.btn-sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 28px -10px rgba(11, 83, 41, .6); }
.btn-primary:hover { background: var(--green-600); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--green-soft); }
.btn-outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); }
.btn-ghost { background: var(--green-soft); color: var(--green-600); }
.btn-ghost:hover { background: #d6e9dd; }

.link-arrow, .c-cta {
  display: inline-flex; align-items: center; gap: .25em;
  color: var(--green); font-weight: 500; text-decoration: none;
}
.link-arrow::after, .c-cta::after {
  content: ""; width: .45em; height: .45em; margin-left: .15em;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .25s var(--ease);
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover::after { transform: translateX(3px) rotate(45deg); }
.link-arrow.on-dark { color: #fff; }

/* ---------- Barre de navigation ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
.nav.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 12px 32px -20px rgba(8, 30, 18, .3); }
.nav.is-open { background: #fff; }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 1.05rem; letter-spacing: -.015em;
}
.brand svg { width: 34px; height: 34px; }
.nav nav { margin-left: auto; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > li { position: relative; display: flex; align-items: center; }
.nav-top {
  position: relative; display: block; padding: 8px 9px; border-radius: 10px;
  color: var(--ink-2); text-decoration: none; font-size: .875rem; white-space: nowrap;
  transition: color .2s;
}
.has-dd .nav-top { padding-right: 1px; }
.nav-top:hover, .has-dd.is-open .nav-top { color: var(--ink); }
.nav-top[aria-current="page"] { color: var(--ink); font-weight: 500; }
.nav-top[aria-current="page"]::after {
  content: ""; position: absolute; left: 9px; right: 9px; bottom: 1px; height: 2px;
  border-radius: 2px; background: var(--green);
}
.has-dd .nav-top[aria-current="page"]::after { right: 1px; }
.dd-chev {
  display: grid; place-items: center; width: 20px; height: 30px; padding: 0;
  border: 0; background: none; color: #89958e; cursor: pointer; border-radius: 8px;
}
.dd-chev svg { width: 12px; height: 12px; transform: rotate(90deg); transition: transform .25s var(--ease); }
.has-dd.is-open .dd-chev { color: var(--ink); }
.has-dd.is-open .dd-chev svg { transform: rotate(-90deg); }
.nav-wa {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; margin-left: 6px; border-radius: 50%;
  background: var(--green); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(11, 83, 41, .6);
  transition: background-color .2s, transform .2s;
}
.nav-wa svg { width: 20px; height: 20px; }
.nav-wa:hover { background: var(--green-600); }

.dd {
  position: absolute; top: calc(100% + 12px); left: -8px; width: 330px;
  padding: 8px; border-radius: 22px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}
.has-dd.align-right .dd { left: auto; right: -8px; }
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dd.is-open .dd {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s;
}
.dd ul { display: grid; gap: 2px; }
.dd li a {
  display: grid; grid-template-columns: 40px 1fr; align-items: center; gap: 12px;
  padding: 8px; border-radius: 14px; text-decoration: none;
  transition: background-color .2s;
}
.dd li a:hover, .dd li a:focus-visible { background: var(--bg-soft); }
.dd .icon-tile.sm { width: 40px; height: 40px; border-radius: 12px; }
.dd .icon-tile.sm .ico { width: 24px; height: 24px; }
.dd .icon-tile.sm .ico-wa { width: 20px; height: 20px; }
.dd-text strong { display: block; font-size: .9375rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.dd-text span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.35; }
.dd-all {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px; padding: 12px 10px 6px; border-top: 1px solid var(--line);
  font-size: .8125rem; font-weight: 600; color: var(--green); text-decoration: none;
}
.dd-all svg { width: 14px; height: 14px; }

.burger {
  display: none; margin-left: 4px;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  position: relative; border-radius: 12px;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 1.6px; border-radius: 2px;
  background: var(--ink); transition: transform .35s var(--ease), top .35s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 55;
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px 0 calc(32px + env(safe-area-inset-bottom));
  opacity: 0; transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; }
.m-list { margin-bottom: 24px; }
.m-list > li { border-bottom: 1px solid var(--line); }
.m-list summary, .m-link {
  display: flex; align-items: center; gap: 14px; padding: 12px 0;
  font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em;
  color: var(--ink); text-decoration: none; cursor: pointer; list-style: none;
}
.m-list summary::-webkit-details-marker { display: none; }
.m-list .icon-tile.sm { width: 40px; height: 40px; border-radius: 12px; }
.m-list .icon-tile.sm .ico { width: 24px; height: 24px; }
.m-chev { width: 16px; height: 16px; margin-left: auto; color: #97a39c; transform: rotate(90deg); transition: transform .25s var(--ease); }
details[open] > summary .m-chev { transform: rotate(-90deg); }
.m-sub { display: grid; padding: 0 0 12px 54px; }
.m-sub a { display: block; padding: 9px 0; color: var(--ink-2); text-decoration: none; font-size: 1rem; }
.m-sub .m-all { color: var(--green); font-weight: 500; }

/* ---------- Accueil : hero ---------- */

.hero, .page-hero, .about-hero { position: relative; isolation: isolate; }
.hero::before, .page-hero::before, .about-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 85% 35%, rgba(11, 83, 41, .13), transparent 70%),
    radial-gradient(40% 45% at 5% 90%, rgba(6, 40, 20, .05), transparent 70%);
}
.hero { padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 96px)); padding-bottom: clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 4px 16px -8px rgba(8, 30, 18, .12);
  font-size: .8125rem; font-weight: 500; color: var(--ink-2);
  margin-bottom: 28px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(11, 83, 41, .16); }
.hero-copy .lead { margin-top: 26px; max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 38px; }

.hero-visual { display: grid; place-items: center; }
.orbit { position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; display: grid; place-items: center; isolation: isolate; }
.orbit::before {
  content: ""; position: absolute; inset: 12%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 83, 41, .22) 0%, rgba(11, 83, 41, .06) 45%, transparent 70%);
}
/* Les anneaux tournent dans un disque qui masque les coins de leur boîte (sinon la page déborde sur mobile) */
.orbit-rings { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none; }
.ring { position: absolute; border-radius: 50%; pointer-events: none; }
.ring-inner { inset: 16%; border: 1px solid rgba(11, 83, 41, .16); animation: spin 40s linear infinite; }
.ring-outer { inset: 3%; border: 1px dashed rgba(11, 83, 41, .2); animation: spin 70s linear infinite reverse; }
.ring::before {
  content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
  border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(11, 83, 41, .14);
}
.ring-outer::before { top: auto; bottom: -4px; width: 8px; height: 8px; margin-left: -4px; background: var(--deep-3); }
.emblem { font-family: var(--font); }
.emblem-ring { transform-origin: 150px 150px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-emblem { width: 46%; filter: drop-shadow(0 30px 44px rgba(6, 40, 20, .38)); }

.float-chip {
  position: absolute; z-index: 1;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px -14px rgba(6, 40, 20, .3);
  font-size: .9375rem; font-weight: 600; letter-spacing: -.012em; white-space: nowrap;
  color: var(--ink); text-decoration: none;
  animation: float 6s ease-in-out infinite;
  transition: box-shadow .3s var(--ease), border-color .3s;
}
.float-chip:hover { border-color: rgba(11, 83, 41, .35); box-shadow: 0 18px 40px -14px rgba(11, 83, 41, .45); }
.chip-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--green-soft); flex: none; }
.chip-ico .ico { width: 24px; height: 24px; }
.float-chip.is-navy { background: var(--deep); border-color: var(--deep); color: #fff; }
.float-chip.is-navy .chip-ico { background: rgba(255, 255, 255, .12); }
.float-chip.is-navy .ico { color: #fff; fill: rgba(255, 255, 255, .18); }
.c1 { left: 0; top: 12%; animation-delay: 0s; }
.c2 { right: 2%; top: 6%; animation-delay: -1.2s; }
.c3 { right: 0; top: 46%; animation-delay: -2.4s; }
.c4 { right: 6%; bottom: 7%; animation-delay: -3.6s; }
.c5 { left: 2%; bottom: 15%; animation-delay: -4.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Chiffres clés ---------- */

.facts { border-block: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 34px 28px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact strong { display: block; color: var(--deep); font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.fact span { display: block; margin-top: 4px; color: var(--muted); font-size: .9375rem; }

/* ---------- Sections ---------- */

.section { padding-block: clamp(80px, 10vw, 136px); }
.section-tight { padding-block: 0 clamp(64px, 8vw, 104px); }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head > p:last-child:not(.eyebrow) { margin-top: 20px; color: var(--ink-2); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.55; }
.section-head.center > p:last-child:not(.eyebrow) { max-width: 600px; margin-inline: auto; }

/* ---------- Titres principaux (le sur-titre fait partie du H1) ---------- */

.hero-h1, .page-h1 { display: flex; flex-direction: column; margin: 0; font-size: inherit; font-weight: inherit; line-height: inherit; }
.hero-h1 { align-items: flex-start; }
.page-h1 { align-items: center; }
.about-hero .page-h1 { align-items: flex-start; }

/* ---------- Fil d'Ariane ---------- */

.breadcrumb { margin-bottom: 24px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; font-size: .8125rem; color: var(--muted); }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before {
  content: ""; width: 6px; height: 6px; margin-right: 2px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .55;
}
.breadcrumb a { color: var(--ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }
.about-hero .breadcrumb ol { justify-content: flex-start; }

/* ---------- En-tête des pages ---------- */

.page-hero { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(56px, 7vw, 96px); text-align: center; }
.page-hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 880px; }
.page-hero .icon-tile { margin-bottom: 26px; }
.page-hero .eyebrow { margin-bottom: 14px; }
.page-hero .lead { margin-top: 22px; max-width: 48ch; }
.page-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.page-actions.left { justify-content: flex-start; }
.subnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 40px; }
.subnav a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 18px 7px 7px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 8px 22px -14px rgba(8, 30, 18, .3);
  color: var(--ink); font-size: .9375rem; font-weight: 600; text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease);
}
.subnav a:hover { border-color: rgba(11, 83, 41, .35); transform: translateY(-2px); }
.page-hero.nf { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; }

.about-hero { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: clamp(56px, 7vw, 96px); }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.about-hero .eyebrow { margin-bottom: 14px; }
.about-hero .lead { margin-top: 22px; }
.about-hero .body { margin-top: 14px; max-width: 56ch; }
.emblem-card {
  aspect-ratio: 1; border-radius: var(--radius-xl); display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 45%, rgba(11, 83, 41, .14), transparent 70%), var(--bg-soft);
}
.emblem-card .emblem { width: min(64%, 320px); filter: drop-shadow(0 30px 50px rgba(6, 40, 20, .35)); }

/* ---------- Blocs de contenu ---------- */

.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.feature-grid.is-reversed .feature-copy { order: 2; }
.kicker-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.feature-copy .lead { margin-top: 22px; }
.feature-actions { margin-top: 32px; }

.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  padding: 14px 14px 8px;
}
.panel-title { padding: 12px 12px 8px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.point-list li { display: flex; align-items: center; gap: 16px; padding: 14px 12px; }
.point-list li + li { border-top: 1px solid var(--line); }
.point-list small { display: block; font-size: .8125rem; color: var(--muted); }
.point-list strong { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; line-height: 1.3; }
.point-list span:not(.icon-tile) { display: block; margin-top: 2px; font-size: .875rem; color: var(--muted); }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 4px 10px; }
.check-grid li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--bg-soft); font-weight: 500; }
.check-grid svg { width: 24px; height: 24px; flex: none; padding: 4px; border-radius: 50%; background: var(--green); color: #fff; }
.address-body { display: flex; gap: 16px; padding: 8px 12px 16px; }
.address-body address { font-size: 1.125rem; font-weight: 600; line-height: 1.4; }
.address-body .info-note { margin: 6px 0 12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chips li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }

.tiles-grid { display: grid; gap: 20px; }
.tiles-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.tile-card { padding: clamp(26px, 3vw, 34px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.section:not(.section-soft) .tile-card { background: var(--bg-soft); box-shadow: none; }
.tile-card .icon-tile { margin-bottom: 30px; }
.tile-card h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.015em; }
.tile-card p { margin-top: 8px; color: var(--ink-2); }

.cta-section { padding-block: clamp(56px, 8vw, 96px); }
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px;
  padding: clamp(32px, 5vw, 56px); border-radius: var(--radius-xl); color: #fff;
  background: radial-gradient(90% 140% at 100% 0%, var(--deep-3), var(--deep) 60%);
}
.cta-band .h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.cta-band p { margin-top: 12px; color: rgba(255, 255, 255, .75); max-width: 48ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-note { margin-top: 18px; font-size: .9375rem; }
.cta-note a { color: var(--green-light); font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(159, 214, 179, .45); padding-bottom: 2px; }
.cta-note a:hover { color: #fff; border-color: #fff; }

/* ---------- Service sur mesure (accueil) ---------- */

.tailor { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 88px); align-items: center; }
.tailor-copy .lead { color: rgba(255, 255, 255, .75); margin: 22px 0 32px; max-width: 46ch; }
.tailor-list {
  display: grid; padding: clamp(20px, 3vw, 30px) clamp(22px, 3vw, 34px);
  border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.tailor-list li { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; }
.tailor-list li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
.tailor-list svg { width: 26px; height: 26px; flex: none; margin-top: 2px; padding: 4px; border-radius: 50%; background: #fff; color: var(--green); }
.tailor-list strong { display: block; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.012em; }
.tailor-list span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .7); font-size: .9375rem; line-height: 1.45; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.c-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 30px; border-radius: var(--radius); background: var(--bg-soft);
  color: var(--ink); text-decoration: none;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.section-soft .c-card { background: #fff; box-shadow: var(--shadow); }
.c-card .icon-tile { margin-bottom: 18px; }
.c-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.c-card strong { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.c-card .c-cta { margin-top: 14px; }
.c-card-navy { color: #fff; background: radial-gradient(120% 100% at 100% 0%, var(--deep-3), var(--deep) 65%) !important; }
.c-card-navy .c-label { color: rgba(255, 255, 255, .6); }
.c-card-navy .c-cta { color: #fff; }
@media (hover: hover) {
  .c-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -24px rgba(8, 30, 18, .28); }
}
.contact-more { margin-top: 28px; }

.empty {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  max-width: 640px; margin-inline: auto; padding: clamp(36px, 6vw, 64px);
  border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow);
}
.empty .icon-tile { margin-bottom: 24px; }
.empty p { margin: 10px 0 28px; color: var(--ink-2); }
.media-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 20px; }
.media-cats li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  aspect-ratio: 4 / 3; border-radius: 20px; border: 1px dashed #c6d6cc; background: rgba(255, 255, 255, .6);
  text-align: center;
}
.media-cats strong { font-size: .9375rem; font-weight: 600; }
.media-cats span:not(.icon-tile) { font-size: .75rem; color: var(--muted); }

/* ---------- Services (accueil) ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 44px;
  min-height: 340px; padding: clamp(26px, 3vw, 36px);
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.card-xl { grid-column: span 4; flex-direction: row; align-items: stretch; gap: 32px; }
.card-sm { grid-column: span 2; }
.card-wide { grid-column: span 6; min-height: 0; flex-direction: row; align-items: center; gap: 28px; }
.card-wide .card-body { flex: 1; }
.card .h3 { max-width: 22ch; }
.card-kicker { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; color: var(--green); }
.card-body > p:not(.card-kicker) { margin-top: 12px; font-size: 1rem; line-height: 1.5; color: var(--ink-2); max-width: 52ch; }
.card .link-arrow { margin-top: 20px; }
.card .icon-tile { transition: transform .5s var(--ease); }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(8, 30, 18, .04), 0 30px 60px -24px rgba(8, 30, 18, .24); }
  .card:hover .icon-tile { transform: scale(1.06) rotate(-3deg); }
}
.card-main { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; flex: 1 1 58%; }
.checklist { flex: 1 1 42%; display: grid; align-content: center; gap: 8px; padding: 14px; border-radius: 20px; background: var(--bg-soft); }
.checklist a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 14px; background: #fff;
  font-size: .9375rem; font-weight: 500; color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 2px rgba(8, 30, 18, .05);
  transition: box-shadow .25s var(--ease);
}
.checklist a:hover { box-shadow: 0 0 0 1px rgba(11, 83, 41, .3), 0 6px 16px -8px rgba(11, 83, 41, .35); }
.checklist .ico { width: 26px; height: 26px; }
.checklist .chev { width: 14px; height: 14px; margin-left: auto; color: #a6b1ab; }
.card-navy { overflow: hidden; color: #fff; background: radial-gradient(120% 90% at 100% 0%, var(--deep-3) 0%, var(--deep) 62%); }
.card-navy .card-kicker { color: var(--green-light); }
.card-navy .card-body > p:not(.card-kicker) { color: rgba(255, 255, 255, .75); }

/* ---------- Méthode ---------- */

.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr); max-width: 960px; margin-inline: auto; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 31px; right: 31px; height: 2px;
  background: linear-gradient(90deg, var(--green), rgba(11, 83, 41, .12));
  transform-origin: left; transform: scaleX(var(--line-progress, 1));
  transition: transform 1.6s var(--ease);
}
.js .steps:not(.in)::before { --line-progress: 0; }
.step-dot {
  position: relative; z-index: 1; display: grid; place-items: center;
  width: 62px; height: 62px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: 0 10px 24px -12px rgba(8, 30, 18, .25);
}
.step-dot .ico { width: 34px; height: 34px; }
.step-dot .ico-wa { width: 28px; height: 28px; }
.step-num { margin-top: 22px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.step h3 { margin: 4px 0 8px; font-size: 1.125rem; font-weight: 600; letter-spacing: -.015em; }
.step p:not(.step-num) { color: var(--muted); font-size: .9375rem; line-height: 1.5; }

/* ---------- Sections sombres (racing) ---------- */

.section-dark {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(70% 55% at 85% 0%, rgba(52, 168, 100, .34), transparent 62%),
    radial-gradient(55% 45% at 0% 100%, rgba(0, 0, 0, .18), transparent 62%),
    var(--deep);
}
.section-dark .eyebrow { color: var(--green-light); }
.dark-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.dark-head .lead { color: rgba(255, 255, 255, .75); margin: 22px 0 32px; max-width: 46ch; }
.dark-head .lead:last-child { margin-bottom: 0; }
.dark-head.with-track {
  max-width: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.dark-copy { max-width: 620px; }

/* Circuit animé : une voiture lumineuse fait des tours */
.big-track { width: 100%; max-width: 520px; justify-self: end; overflow: visible; }
.card-track { position: absolute; top: 12px; right: -24px; width: 88%; pointer-events: none; overflow: visible; }
.card-navy > :not(.card-track) { position: relative; z-index: 1; }
.track-base { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 12; stroke-linejoin: round; }
.big-track .track-base { stroke: rgba(255, 255, 255, .12); stroke-width: 14; }
.track-start { fill: none; stroke: #fff; stroke-width: 3; stroke-dasharray: 3 3; }
.track-run {
  fill: none; stroke: var(--green-light); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 70 930;
  filter: drop-shadow(0 0 6px rgba(159, 214, 179, .9));
  animation: lap 6s linear infinite;
}
.big-track .track-run { stroke-width: 5; stroke-dasharray: 90 910; animation-duration: 7s; }
.track-run.is-second {
  stroke: #fff; stroke-dasharray: 60 940;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8));
  animation-duration: 7.6s; animation-delay: -2.2s;
}
@keyframes lap { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }

.teaser-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.teaser {
  display: flex; flex-direction: column; gap: 8px; padding: 30px;
  border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  color: #fff; text-decoration: none;
  transition: background-color .3s, transform .4s var(--ease);
}
.teaser:hover { background: rgba(255, 255, 255, .09); transform: translateY(-4px); }
.teaser .icon-tile { margin-bottom: 18px; }
.teaser h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.018em; }
.teaser span:not(.icon-tile):not(.c-cta) { color: rgba(255, 255, 255, .7); }
.teaser .c-cta { margin-top: 10px; color: var(--green-light); }

.lineup { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.lineup-card {
  position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(52, 168, 100, .32), rgba(52, 168, 100, .05));
  border: 1px solid rgba(159, 214, 179, .3);
}
.lineup-card.is-soon { background: rgba(255, 255, 255, .03); border: 1px dashed rgba(255, 255, 255, .26); }
.lineup-card .icon-tile { margin-bottom: 36px; }
.lineup-card h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.lineup-card p { margin-top: 10px; color: rgba(255, 255, 255, .72); max-width: 42ch; }
.lineup-card .link-arrow { margin-top: 22px; }
.status {
  position: absolute; top: clamp(28px, 4vw, 44px); right: clamp(28px, 4vw, 44px);
  padding: 5px 12px; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: #fff; color: var(--deep);
}
.is-soon .status { background: rgba(159, 214, 179, .16); color: var(--green-light); }

.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.format { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.format-accent { background: linear-gradient(160deg, rgba(52, 168, 100, .32), rgba(52, 168, 100, .05)); border-color: rgba(159, 214, 179, .3); }
.format-ico { position: absolute; top: clamp(28px, 4vw, 44px); right: clamp(28px, 4vw, 44px); width: 40px; height: 40px; color: #fff; fill: rgba(255, 255, 255, .16); }
.format .big {
  font-size: clamp(4.5rem, 10vw, 8rem); font-weight: 600; letter-spacing: -.055em; line-height: .9;
  background: linear-gradient(180deg, #ffffff 30%, var(--green-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 26px;
}
.format p:last-child { margin-top: 10px; color: rgba(255, 255, 255, .72); max-width: 40ch; }

.soon {
  display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 20px;
  margin-top: 20px; padding: clamp(20px, 3vw, 28px) clamp(22px, 4vw, 36px);
  border-radius: var(--radius); border: 1px dashed rgba(255, 255, 255, .26); background: rgba(255, 255, 255, .03);
}
.soon-title { font-size: 1.25rem; font-weight: 600; letter-spacing: -.018em; }
.soon-text { margin-top: 2px; color: rgba(255, 255, 255, .7); }
.soon-badge { padding: 6px 14px; border-radius: 999px; background: rgba(159, 214, 179, .16); color: var(--green-light); font-size: .8125rem; font-weight: 600; white-space: nowrap; }

.included-panel { margin-top: 20px; padding: clamp(28px, 4vw, 44px); border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; margin-top: 26px; }
.included li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .88); }
.included svg { width: 26px; height: 26px; flex: none; padding: 4px; border-radius: 50%; background: #fff; color: var(--green); }
.circuits-wrap { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .1); }
.circuits-label { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 14px; }
.circuits { display: flex; flex-wrap: wrap; gap: 8px; }
.circuits li { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: .9375rem; }
.circuits li.is-hl { background: rgba(52, 168, 100, .32); border-color: rgba(159, 214, 179, .45); }

/* ---------- À propos ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: clamp(26px, 3vw, 36px); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.pillar .icon-tile { margin-bottom: 40px; }
.pillar h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.018em; }
.pillar p { margin-top: 8px; color: var(--ink-2); }
.pillar-navy { color: #fff; background: radial-gradient(120% 100% at 100% 0%, var(--deep-3), var(--deep) 65%); }
.pillar-navy p { color: rgba(255, 255, 255, .75); }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 500; letter-spacing: -.012em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon {
  display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); color: var(--green);
  transition: transform .35s var(--ease), background-color .25s;
}
.faq-icon svg { width: 18px; height: 18px; }
.faq details[open] .faq-icon { transform: rotate(45deg); background: var(--green-soft); }
.faq details p { padding: 0 56px 26px 0; color: var(--ink-2); max-width: 64ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .4s var(--ease), content-visibility .4s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 20px; align-items: start; }
.composer { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.composer fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.composer legend, .field label { display: block; margin-bottom: 12px; padding: 0; font-size: .875rem; font-weight: 600; color: var(--ink); }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; cursor: pointer; }
.topic input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.topic span {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--bg-soft);
  font-size: .9375rem; color: var(--ink-2);
  transition: background-color .2s, border-color .2s, color .2s;
}
.topic:hover span { border-color: #c9d9cf; }
.topic input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.topic input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.fields { display: grid; gap: 18px; margin-top: 28px; }
.field .opt { font-weight: 400; color: var(--muted); margin-left: 6px; }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s, background-color .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: #97a39c; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--green); box-shadow: 0 0 0 4px rgba(11, 83, 41, .14); }
.preview { margin: 26px 0 22px; padding: 18px; border-radius: 20px; background: var(--bg-soft); }
.preview-label { font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.bubble {
  width: fit-content; max-width: 92%; margin-left: auto; padding: 12px 16px; border-radius: 20px 20px 6px 20px;
  background: var(--green); color: #fff; font-size: .9375rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere;
}
.fineprint { margin-top: 14px; font-size: .8125rem; color: var(--muted); text-align: center; }
.contact-side { display: grid; gap: 20px; }
.info-card { padding: 30px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.info-card .icon-tile { margin-bottom: 20px; }
.info-label { font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.info-big { margin-top: 6px; font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.02em; overflow-wrap: anywhere; }
.info-big.small { font-size: 1.125rem; }
.info-big a { text-decoration: none; }
.info-card address { margin-top: 8px; font-size: 1.0625rem; font-weight: 500; line-height: 1.45; }
.info-note { margin: 6px 0 16px; color: var(--muted); font-size: .9375rem; }

/* ---------- Pied de page ---------- */

.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 64px 0 calc(32px + env(safe-area-inset-bottom)); font-size: .875rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.footer-brand p { margin-top: 14px; max-width: 30ch; }
.footer-contact { display: grid; gap: 8px; margin-top: 18px; }
.footer-title { color: var(--ink); font-size: .8125rem; font-weight: 600; margin-bottom: 14px; }
.footer-title a { color: var(--ink); }
.footer ul { display: grid; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--ink); }
.footer .brand { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Éléments mobiles (masqués sur ordinateur) ---------- */

.subbar, .m-bar, .scroll-cue { display: none; }
.m-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.m-actions .btn-ico, .m-bar-btn .btn-ico { fill: rgba(11, 83, 41, .16); }

/* ---------- Bouton WhatsApp flottant ---------- */

.wa-fab {
  position: fixed; z-index: 50;
  right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px; border-radius: 999px;
  background: var(--green); color: #fff; text-decoration: none; font-weight: 500;
  box-shadow: 0 16px 36px -10px rgba(11, 83, 41, .65), 0 2px 6px rgba(8, 30, 18, .12);
  opacity: 0; transform: translateY(24px) scale(.96); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .25s;
}
.wa-fab svg { width: 22px; height: 22px; }
.wa-fab:hover { background: var(--green-600); }
.wa-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Animations d'apparition ---------- */

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .card.reveal.in, .js .c-card.reveal.in, .js .teaser.reveal.in { transition: opacity 1s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s; }
.js .hero .reveal, .js .page-hero .reveal, .js .about-hero .reveal {
  opacity: 1; transform: none; transition: none;
  animation: rise .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms);
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */

@media (max-width: 1180px) {
  .nav nav { display: none; }
  .nav-wa { margin-left: auto; }
  .burger { display: block; }
}

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card-xl, .card-wide { grid-column: span 2; }
  .card-sm { grid-column: span 1; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 44px; }
  .steps::before { display: none; }
  .included { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr 1fr; }
  .tiles-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .media-cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-grid, .feature-grid, .about-grid, .lineup, .dark-head.with-track, .tailor { grid-template-columns: 1fr; }
  .big-track { justify-self: center; max-width: 440px; }
  .feature-grid.is-reversed .feature-copy { order: 0; }
  .orbit { max-width: 480px; }
  .hero-copy .lead { max-width: 40ch; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .fact { padding: 26px 20px; }
  .fact:nth-child(odd) { border-left: 0; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillars, .teaser-cards, .contact-cards { grid-template-columns: 1fr; gap: 14px; }
  .pillar .icon-tile { margin-bottom: 28px; }
  .emblem-card { aspect-ratio: 16 / 11; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-actions .btn, .page-actions .btn, .feature-actions .btn, .cta-actions .btn, .dark-head .btn { width: 100%; }
  .hero-actions { justify-content: center; }
  .page-actions.left { justify-content: center; }
  .hero-visual { margin-top: 8px; }
  .float-chip { gap: 8px; padding: 5px 12px 5px 5px; font-size: .8125rem; }
  .chip-ico { width: 30px; height: 30px; }
  .chip-ico .ico { width: 20px; height: 20px; }
  .c1 { left: 0; top: 9%; }
  .c2 { right: 0; top: 3%; }
  .c3 { right: 0; top: 50%; }
  .c4 { right: 4%; bottom: 5%; }
  .c5 { left: 0; bottom: 17%; }
  .subnav { gap: 8px; }
  .subnav a { font-size: .875rem; padding: 5px 14px 5px 5px; }
  .subnav .chip-ico { width: 30px; height: 30px; }
  .subnav .chip-ico .ico { width: 20px; height: 20px; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .card-xl, .card-sm, .card-wide { grid-column: span 1; }
  .card { min-height: 0; gap: 32px; }
  .card-xl, .card-wide { flex-direction: column; align-items: stretch; }
  .card-wide .btn { align-self: flex-start; }
  .steps, .steps.steps-3 { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before {
    display: block; top: 31px; bottom: 31px; left: 30px; right: auto; width: 2px; height: auto;
    background: linear-gradient(180deg, var(--green), rgba(11, 83, 41, .12));
    transform-origin: top; transform: scaleY(var(--line-progress, 1));
  }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 18px; padding-bottom: 30px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { margin-top: 6px; }
  .point-list li { gap: 14px; padding: 14px 8px; }
  .check-grid { grid-template-columns: 1fr; }
  .tiles-grid.cols-3, .tiles-grid.cols-2 { grid-template-columns: 1fr; gap: 14px; }
  .formats { grid-template-columns: 1fr; gap: 14px; }
  .soon { grid-template-columns: 52px 1fr; gap: 16px; margin-top: 14px; }
  .soon .icon-tile { width: 52px; height: 52px; }
  .soon-badge { grid-column: 2; justify-self: start; margin-top: -6px; }
  .included { grid-template-columns: 1fr; }
  .tailor-list { padding: 4px 20px; }
  .tailor-list li { padding: 16px 0; }
  .media-cats { grid-template-columns: repeat(2, 1fr); }
  .contact-side { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .wa-fab { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 58px; height: 58px; padding: 0; justify-content: center; }
  .wa-fab svg { width: 26px; height: 26px; }
  .wa-fab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}


/* =========================================================
   Mobile : ergonomie et finitions
   ========================================================= */

@media (max-width: 900px) {
  /* Barre de sections collante sous l'en-tête des pages */
  .page-hero .subnav { display: none; }
  .subbar {
    display: block; position: sticky; top: var(--nav-h); z-index: 45;
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 1px 0 var(--line);
  }
  .subbar-track {
    display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain;
    padding: 10px var(--gutter); scroll-padding-inline: var(--gutter);
    scroll-snap-type: x proximity; scrollbar-width: none;
  }
  .subbar-track::-webkit-scrollbar { display: none; }
  .subbar a {
    flex: none; display: inline-flex; align-items: center; gap: 8px;
    height: 42px; padding: 0 16px 0 5px; border-radius: 999px;
    background: var(--bg-soft); border: 1px solid var(--line);
    color: var(--ink); font-size: .875rem; font-weight: 600; text-decoration: none;
    scroll-snap-align: start;
    transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .15s;
  }
  .subbar .chip-ico { width: 32px; height: 32px; background: #fff; }
  .subbar .chip-ico .ico { width: 20px; height: 20px; }
  .subbar a.is-active { background: var(--green); border-color: var(--green); color: #fff; }
  .subbar a.is-active .chip-ico { background: rgba(255, 255, 255, .16); }
  .subbar a.is-active .ico { color: #fff; fill: rgba(255, 255, 255, .2); }
  html:has(.subbar) { scroll-padding-top: calc(var(--nav-h) + 74px); }

  .dark-head.with-track .big-track { max-width: 320px; margin-top: 4px; }
}

@media (max-width: 640px) {
  /* Rythme vertical plus serré */
  .section { padding-block: 64px; }
  .section-tight { padding-bottom: 56px; }
  .section-head { margin-bottom: 32px; }
  .section-head > p:last-child:not(.eyebrow) { margin-top: 14px; }
  .cta-section { padding-block: 48px; }
  .h2 { font-size: 2.05rem; }
  .dark-head { margin-bottom: 36px; }
  .dark-head .lead { margin: 16px 0 26px; }
  .feature-copy .lead { margin-top: 16px; }
  .feature-actions { margin-top: 24px; }

  /* Accueil : texte centré et visuel plus compact */
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 36px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; margin-top: 20px; }
  .pill { margin-bottom: 22px; }
  .hero-actions { margin-top: 30px; }
  .orbit { max-width: 340px; margin-inline: auto; }

  /* En-têtes de pages */
  .page-hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 44px; }
  .page-hero .icon-tile.lg { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 20px; }
  .page-hero .icon-tile.lg .ico { width: 36px; height: 36px; }
  .page-title { font-size: 2.3rem; }
  .page-hero .lead { margin-top: 16px; }
  .page-actions { margin-top: 26px; }
  .about-hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 44px; text-align: center; }
  .about-hero .page-h1 { align-items: center; }
  .about-hero .breadcrumb ol { justify-content: center; }
  .breadcrumb { margin-bottom: 18px; }

  /* Barre du haut épurée : le contact passe dans la barre du bas */
  .nav-wa { display: none; }
  .burger { margin-left: auto; }

  /* Barre d'actions en bas de l'écran */
  .m-bar {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: rgba(255, 255, 255, .92);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 -1px 0 var(--line), 0 -14px 30px -20px rgba(8, 30, 18, .3);
    transform: translateY(110%);
    transition: transform .45s var(--ease);
  }
  .m-bar.is-visible { transform: none; }
  .m-bar-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 48px; border-radius: 999px;
    background: var(--green-soft); color: var(--green-600);
    font-size: .9375rem; font-weight: 600; text-decoration: none;
    transition: transform .15s, background-color .2s;
  }
  .m-bar-btn svg { width: 20px; height: 20px; flex: none; }
  .m-bar-btn.is-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -10px rgba(11, 83, 41, .6); }
  .wa-fab { display: none; }

  /* Carrousels à faire glisser */
  .tiles-grid.rail, .pillars.rail, .teaser-cards.rail {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 84%; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 24px; margin-bottom: -20px;
    scroll-padding-inline: var(--gutter);
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { scroll-snap-align: start; }
  .pillar .icon-tile, .tile-card .icon-tile { margin-bottom: 24px; }

  /* Les boutons au texte long passent à la ligne au lieu d'élargir la page */
  .btn { white-space: normal; text-align: center; height: auto; min-height: 52px; padding-block: 12px; line-height: 1.25; }
  .btn-sm { min-height: 40px; padding-block: 8px; }
  .feature-grid > *, .card > *, .hero-grid > * { min-width: 0; }

  /* Cartes plus compactes */
  .card { padding: 24px; gap: 28px; }
  .card .link-arrow { margin-top: 16px; }
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; }
  .checklist a { padding: 12px; gap: 10px; }
  .checklist .chev { display: none; }
  .card-wide .btn { width: 100%; }

  .contact-cards { gap: 10px; }
  .c-card {
    display: grid; grid-template-columns: 46px 1fr; align-items: center; column-gap: 14px; row-gap: 0;
    padding: 16px 18px;
  }
  .c-card .icon-tile { grid-row: span 2; margin: 0; }
  .c-card strong { font-size: 1.0625rem; }
  .c-card .c-cta { display: none; }

  .panel { border-radius: 26px; padding: 10px 10px 4px; }
  .point-list strong { font-size: 1rem; }
  .lineup-card .icon-tile { margin-bottom: 26px; }
  .format { padding: 26px; }
  .format .big { margin-bottom: 18px; }
  .included-panel { padding: 26px; }

  /* Pied de page : liens plus faciles à toucher */
  .footer { padding-top: 48px; font-size: .9375rem; }
  .footer ul { gap: 12px; }
  .footer-grid { row-gap: 36px; }

  /* Menu mobile */
  .m-sub a { padding: 11px 0; }

  /* Apparitions plus vives sur mobile */
  .js .reveal { transform: translateY(16px); transition-duration: .7s; }
}

/* Retour visuel au toucher */
@media (hover: none) {
  .card:active, .c-card:active, .teaser:active, .tile-card:active, .checklist a:active,
  .subbar a:active, .m-bar-btn:active, .float-chip:active, .subnav a:active { transform: scale(.97); }
}

/* =========================================================
   Mobile : bannière d'accueil plein écran, sur fond blanc
   ========================================================= */

@media (max-width: 640px) {
  .hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    padding: calc(var(--nav-h) + 6px) 0 calc(18px + env(safe-area-inset-bottom));
    overflow: hidden; background: #fff;
  }
  .hero::before {
    background:
      radial-gradient(95% 42% at 50% 26%, rgba(11, 83, 41, .12), transparent 70%),
      radial-gradient(60% 30% at 100% 0%, rgba(11, 83, 41, .06), transparent 70%),
      linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  }
  .hero-grid { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; }
  .hero-visual { order: -1; flex: 1; min-height: 0; margin-top: 0; }
  .orbit { width: min(86vw, 40svh); max-width: none; }

  .hero-copy { text-align: center; }
  .hero-h1 { align-items: center; }
  .hero .pill { margin-bottom: 14px; padding: 6px 12px 6px 10px; font-size: .75rem; }
  .hero .display { font-size: clamp(2.15rem, 10.4vw, 2.7rem); }
  .hero-copy .lead { margin-top: 12px; font-size: 1rem; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .link-arrow { display: none; }

  /* Indicateur « Découvrir » animé */
  .scroll-cue {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    width: max-content; margin: 16px auto 0;
    color: var(--muted); text-decoration: none;
    font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  }
  .scroll-cue svg { width: 18px; height: 18px; color: var(--green); transform: rotate(90deg); animation: cue 1.8s var(--ease) infinite; }
  @keyframes cue { 0%, 100% { transform: rotate(90deg) translateX(0); } 50% { transform: rotate(90deg) translateX(5px); } }
}

/* Petits écrans en hauteur (iPhone SE…) : la bannière tient toujours sur un écran */
@media (max-width: 640px) and (max-height: 740px) {
  .hero { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  .orbit { width: min(78vw, 35svh); }
  .hero .pill { display: none; }
  .hero .display { font-size: clamp(2rem, 9.4vw, 2.3rem); }
  .hero-copy .lead { margin-top: 10px; font-size: .9375rem; line-height: 1.45; }
  .hero-actions { margin-top: 16px; }
  .scroll-cue { margin-top: 10px; }
  /* Pastilles réduites à leur icône pour ne pas se chevaucher */
  .hero .float-chip { gap: 0; padding: 5px; font-size: 0; }
  .hero .float-chip .chip-ico { width: 34px; height: 34px; }
  .hero .c1 { left: 6%; top: 10%; }
  .hero .c2 { right: 6%; top: 10%; }
  .hero .c3 { right: 0; top: 44%; }
  .hero .c4 { right: 12%; bottom: 6%; }
  .hero .c5 { left: 0; bottom: 30%; }
}
@media (max-width: 640px) and (max-height: 600px) {
  .hero-copy .lead { display: none; }
}

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