:root {
  --green: #099900;
  --green-bright: #76b82a;
  --green-deep: #005125;
  --yellow: #f7da00;
  --ink: #0f1012;
  --ink-soft: #1c1d20;
  --paper: #f4f6f5;
  --paper-2: #e9eded;
  --muted: #6b7464;
  --line: rgba(13,14,16, 0.1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.display { font-family: "Montserrat", system-ui, sans-serif; font-weight: 700; letter-spacing: -.01em; }

::selection { background: var(--green); color: #fff; }

img { max-width: 100%; }

.ic { width: 1em; height: 1em; stroke: currentColor; fill: none; display: inline-block; vertical-align: -0.12em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 64px);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(10,11,13,.05);
}
.nav__logo { height: 40px; width: auto; display: block; }
.nav__links { display: flex; gap: 28px; align-items: center; }
.nav__links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  opacity: .7;
  transition: opacity .25s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta {
  background: var(--green);
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 999px;
  opacity: 1 !important;
}
.nav__cta:hover { background: var(--green-deep); }
/* Sur fond sombre (hero plein écran), la nav non-scrollée est claire.
   Le logo est un bloc vert (texte blanc) : lisible tel quel sur fond sombre, pas d'inversion. */
body:not(.page-light) .nav:not(.scrolled) .nav__logo { border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
body:not(.page-light) .nav:not(.scrolled) .nav__links a { color: #fff; }
body:not(.page-light) .nav:not(.scrolled) .nav__cta { background: var(--green); color: #fff !important; }
/* Pages à hero photo en page-light (article blog, fiche lieu) : menu blanc tant que la barre est transparente. */
body.page-hero .nav:not(.scrolled) .nav__links a { color: #fff; }
body.page-hero .nav:not(.scrolled) .nav__logo { border-radius: 4px; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
@media (max-width: 820px) { .nav__links > a:not(.nav__cta) { display: none; } }

/* Sélecteur de langue dans le header */
.nav .langswitch { background: var(--paper-2); border: 1px solid var(--line); backdrop-filter: none; }
body.page-hero .nav:not(.scrolled) .langswitch { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.35); }

/* ---------- Identité par ville (accent) ----------
   Chaque page agence définit --accent / --accent-deep en inline (body.page-agency).
   L'accent sert de repère visuel pour que chaque ville ait sa signature. */
.page-agency { --accent: var(--green); --accent-deep: var(--green-deep); }

/* Badge ville plein, coloré à l'accent de la ville : repère fort en haut de page. */
.hero__eyebrow--city {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.hero__eyebrow--city .dot { background: #fff; box-shadow: none; }
.hero__tagline {
  font-family: "Montserrat", sans-serif;
  font-style: italic;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  margin: 0 0 18px;
  color: #fff;
  opacity: .95;
}
.page-agency .hero h1 em { color: var(--green); }
.page-agency .intro h2 em { color: var(--accent); }
.page-agency .cat-head .idx { color: var(--accent); }
.page-agency .cat-head h2::before {
  content: ""; display: inline-block; width: 26px; height: 4px; border-radius: 2px;
  background: var(--accent); margin: 0 12px 6px 0; vertical-align: middle;
}
.page-agency .stat .num { color: var(--accent); }
.page-agency .loc__type { color: var(--accent-deep); }
.page-agency .locations { border-top: 4px solid var(--accent); }
.page-agency .sub-link { color: var(--accent-deep); }
.page-agency .scroll-hint { color: #fff; }
.page-agency .qr__box span { color: var(--accent-deep); }
.page-agency .card__icon { background: rgba(255,255,255,.18); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 6vw, 90px);
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: -8% 0 0 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,11,13,.35) 0%, rgba(10,11,13,.2) 40%, rgba(10,11,13,.85) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 1100px; }
.hero__crumb {
  display: inline-flex; align-items: center; gap: 8px;
  color: #fff; text-decoration: none; opacity: .82;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 18px; transition: opacity .25s;
}
.hero__crumb:hover { opacity: 1; }
.ic--back { transform: rotate(180deg); }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero__eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.hero h1 {
  font-size: clamp(2.7rem, 8vw, 6.6rem);
  line-height: .95;
  font-weight: 600;
  margin: 0 0 22px;
  letter-spacing: -.02em;
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero__sub {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 640px;
  opacity: .9;
  line-height: 1.5;
  margin: 0 0 34px;
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  font-size: 14px;
  opacity: .92;
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.scroll-hint {
  position: absolute;
  bottom: 26px;
  right: clamp(24px, 6vw, 90px);
  z-index: 2;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  opacity: .7;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px;
  padding: 15px 26px; border-radius: 999px;
  transition: transform .25s, background .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--green-bright); color: var(--ink); }
.btn--ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--ghost-dark { background: transparent; color: var(--ink); border: 1px solid rgba(13,14,16,.3); }
.btn--ghost-dark:hover { background: rgba(13,14,16,.06); }
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-deep); color: #fff; }
.office__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(60px, 10vw, 140px) clamp(20px, 5vw, 64px); }
/* Les sections ancrées (#agences, #vehicules…) atterrissent sous la nav fixe. */
section[id], [id].section { scroll-margin-top: 90px; }
.wrap { max-width: 1240px; margin: 0 auto; }

.intro { background: var(--ink); color: var(--paper); }
.intro .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: end; }
.intro h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.02em; }
.intro h2 em { color: var(--green-bright); font-style: italic; }
.intro p { color: #b8bcc2; font-size: 1.05rem; line-height: 1.65; margin: 0; }
.intro .stats { grid-column: 1 / -1; }
@media (max-width: 820px) { .intro .wrap { grid-template-columns: 1fr; gap: 28px; } }

.stats { display: flex; flex-wrap: wrap; gap: 40px 64px; margin-top: 70px; }
.stat .num { font-family: "Montserrat", sans-serif; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; color: var(--green-bright); line-height: 1; }
.stat .label { font-size: 13px; letter-spacing: .04em; color: #9a9ea6; margin-top: 8px; text-transform: uppercase; }

/* category header */
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.cat-head .idx { font-family: "Montserrat", sans-serif; font-size: 14px; color: var(--green-deep); font-weight: 600; letter-spacing: .1em; }
.cat-head h2 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; margin: 6px 0 0; letter-spacing: -.02em; line-height: 1; }
.cat-head .sub { color: var(--muted); font-size: 1.05rem; max-width: 360px; }
.sub-link { color: var(--green-deep); text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.sub-link:hover { gap: 10px; }

/* card grid */
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card {
  grid-column: span 4;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper-2);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
  border: 1px solid var(--line);
}
.card.tall { min-height: 460px; }
.card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.card:hover .card__img { transform: scale(1.07); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,0) 35%, rgba(10,11,13,.88) 100%); }
.card--noimg .card__img { background: linear-gradient(150deg, var(--green-deep), var(--ink) 80%); }
.card--noimg .card__img::after { background: linear-gradient(180deg, rgba(10,11,13,.1) 30%, rgba(10,11,13,.7) 100%); }
.card--noimg.nv0 .card__img { background: linear-gradient(145deg, #4f9a1a, #15301a 85%); }
.card--noimg.nv1 .card__img { background: linear-gradient(145deg, #2f6f3a, #0c1a14 85%); }
.card--noimg.nv2 .card__img { background: linear-gradient(145deg, #6a8f1f, #1a1f0c 85%); }
.card--noimg.nv3 .card__img { background: linear-gradient(145deg, #005125, #101a0a 85%); }
.card--noimg .card__icon { width: 54px; height: 54px; background: rgba(255,255,255,.14); }
.card--noimg .card__icon svg { width: 26px; height: 26px; }
.card__icon {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.16); backdrop-filter: blur(6px);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.25);
}
.card__icon svg { width: 20px; height: 20px; stroke: #fff; fill: none; }
/* Lien principal de la carte : surcouche cliquable au-dessus de l'image,
   sous le corps. Les puces (.card__meta) repassent au-dessus pour rester cliquables. */
.card__overlay { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card__body { position: relative; z-index: 2; padding: 24px; }
.card__meta { position: relative; z-index: 4; }
.card__name { font-family: "Montserrat", sans-serif; font-size: 1.5rem; font-weight: 600; margin: 0 0 8px; line-height: 1.1; }
.card__desc { font-size: .92rem; line-height: 1.5; opacity: .92; margin: 0 0 14px; }
.card__addr { opacity: .72; display: flex; align-items: center; gap: 6px; }
.card__addr .ic { flex: 0 0 auto; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-size: 11px; font-weight: 600; letter-spacing: .02em;
  padding: 6px 11px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22);
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; text-decoration: none;
}
.chip:hover { background: var(--green); border-color: var(--green); }
.chip .ic { width: 13px; height: 13px; }

@media (max-width: 1024px) { .card { grid-column: span 6; } }
@media (max-width: 640px) {
  .grid { gap: 16px; }
  .card { grid-column: span 12; min-height: 440px; }
  .card.tall { min-height: 440px; }
}

/* ---------- Accueil : agences ---------- */
.agences { background: var(--paper); }
.agcard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.agcard {
  position: relative; border-radius: 22px; overflow: hidden;
  background: var(--ink); color: #fff; text-decoration: none;
  min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  border: 1px solid var(--line); isolation: isolate;
}
.agcard__img { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.agcard:hover .agcard__img { transform: scale(1.06); }
.agcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.1) 30%, rgba(10,11,13,.9) 100%); }
.agcard--soon .agcard__img { background: linear-gradient(150deg, #2f6f3a, #0c1a14 85%); }
.agcard--soon { opacity: .9; }
.agcard__body { position: relative; z-index: 2; padding: 28px; }
.agcard { --accent: var(--green); --accent-deep: var(--green-deep); }
.agcard::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; z-index: 3;
  background: var(--accent);
}
.agcard__region { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.agcard__region::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.agcard__body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 600; margin: 8px 0 6px; line-height: 1; }
.agcard__tagline { font-family: "Montserrat", sans-serif; font-style: italic; font-size: 1rem; opacity: .9; margin: 0 0 14px; }
.agcard__meta { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: #e9ebee; margin: 0 0 16px; font-weight: 500; }
.agcard__meta .ic { width: 15px; height: 15px; flex: 0 0 auto; stroke: var(--green-bright); }
.agcard__link { color: #fff; display: inline-flex; }
.agcard__bonus { display: flex; align-items: center; gap: 7px; margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: .02em; color: var(--yellow); }
.agcard__bonus .ic { width: 14px; height: 14px; flex: 0 0 auto; }
.agcard:hover .agcard__region::before { box-shadow: 0 0 18px var(--accent); }
.agcard__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #fff; }
.agcard:hover .agcard__link { gap: 12px; }
.agcard__soon { display: inline-block; font-size: 13px; font-weight: 600; color: #b8bcc2; border: 1px solid rgba(255,255,255,.3); padding: 6px 14px; border-radius: 999px; }
@media (max-width: 920px) { .agcard-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .agcard-grid { grid-template-columns: 1fr; } .agcard { min-height: 320px; } }

/* ---------- Accueil : fiches agences (groupées par ville) ---------- */
.agences { background: #fff; }
.city-group { --accent: var(--green); --accent-deep: var(--green-deep); margin-top: 52px; }
.city-group:first-of-type { margin-top: 8px; }
.city-group__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.city-group__head > div { position: relative; padding-left: 16px; }
.city-group__head > div::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 3px; background: var(--accent); }
.city-group__region { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-deep); }
.city-group__name { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2px 0 0; line-height: 1; }
.city-group__line { flex: 1; height: 1px; background: var(--line); }
.city-group__count { font-size: 12px; font-weight: 700; color: var(--green-deep); background: rgba(9,153,0,.1); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.fiche-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.fiche { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; box-shadow: 0 4px 16px rgba(10,11,13,.05); transition: transform .3s, box-shadow .3s, border-color .3s; }
.fiche:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(10,11,13,.12); border-color: var(--green); }
.fiche__type { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-deep); background: rgba(9,153,0,.1); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.fiche__type .ic { width: 14px; height: 14px; }
.fiche__name { font-size: 1.2rem; font-weight: 700; margin: 0 0 18px; line-height: 1.15; }
.fiche__rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; flex: 1; }
.fiche__row { display: flex; align-items: flex-start; gap: 11px; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); text-decoration: none; margin: 0; }
a.fiche__row:hover { color: var(--green-deep); }
.fiche__row .ic { width: 17px; height: 17px; flex: 0 0 auto; margin-top: .12em; stroke: var(--green); }
.fiche__row span { min-width: 0; overflow-wrap: anywhere; }
.fiche__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.fiche__btn { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 11px 18px; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.fiche__btn .ic { width: 15px; height: 15px; }
.fiche__btn:hover { border-color: var(--green); color: var(--green-deep); }
.fiche__btn--primary { background: var(--green); color: #fff; border-color: var(--green); }
.fiche__btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.fiche__btn--reserve { background: var(--green); color: #fff; border-color: var(--green); }
.fiche__btn--reserve:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }

/* Bloc guides (découverte de la région) */
.guides { background: var(--paper); }

/* ---------- Points de retrait (locations) ---------- */
.locations { background: var(--paper-2); }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.loc {
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px; display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.loc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,11,13,.1); }
.loc__type {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-deep); margin-bottom: 14px;
}
.loc__type .ic { width: 15px; height: 15px; }
.loc__name { font-size: 1.35rem; font-weight: 600; margin: 0 0 10px; line-height: 1.1; }
.loc__addr { color: var(--ink-soft); font-size: .98rem; line-height: 1.5; margin: 0 0 8px; }
.loc__hours { color: var(--muted); font-size: .88rem; line-height: 1.45; margin: 0 0 18px; display: flex; align-items: flex-start; gap: 8px; }
.loc__hours .ic { flex: 0 0 auto; margin-top: .15em; }
.loc__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chip--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--dark:hover { background: var(--green-deep); border-color: var(--green-deep); }

/* ---------- Blog : cartes ---------- */
.blogteaser { background: var(--ink); color: var(--paper); }
.blogteaser .cat-head h2 { color: var(--paper); }
.blogteaser .cat-head .idx { color: var(--green-bright); }
.postcard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.postcard-grid--index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.postcard-grid--teaser { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .postcard-grid--teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.postcard {
  border-radius: 20px; overflow: hidden; text-decoration: none;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  height: 100%; /* remplit la cellule de la grille → cartes d'une même ligne à la même hauteur */
  transition: transform .3s, box-shadow .3s;
}
.postcard:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,11,13,.18); }
.postcard__img { aspect-ratio: 16/9; flex-shrink: 0; background-size: cover; background-position: center; background-color: var(--paper-2); }
.postcard__img:not([style]) { background: linear-gradient(145deg, var(--green-deep), var(--ink) 85%); }
.postcard__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.postcard { --accent: var(--green-deep); }
.postcard__cat { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.postcard__cat::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.postcard__img { border-top: 4px solid var(--accent); }
.postcard__body h3 { font-family: "Montserrat", sans-serif; font-size: 1.4rem; font-weight: 600; line-height: 1.15; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.postcard__body p { font-size: .95rem; line-height: 1.55; color: var(--muted); margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.postcard__body time { font-size: 12px; color: var(--muted); font-weight: 600; margin-top: auto; padding-top: 8px; }
.blogteaser .postcard { background: rgba(255,255,255,.04); color: var(--paper); border-color: rgba(255,255,255,.1); }
.blogteaser .postcard__body p { color: #b8bcc2; }
.postcard--lg .postcard__body h3 { font-size: 1.7rem; }
@media (max-width: 720px) { .postcard-grid, .postcard-grid--index { grid-template-columns: 1fr; } }

/* ---------- Sous-en-tête (blog index, pages claires) ---------- */
.page-light { background: var(--paper); }
.subhero { padding: 150px clamp(20px, 5vw, 64px) 40px; background: var(--paper); }
.subhero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; line-height: 1; margin: 14px 0 18px; letter-spacing: -.02em; }
.subhero p { font-size: 1.1rem; color: var(--muted); max-width: 600px; line-height: 1.6; margin: 0; }
.eyebrow--dark { color: var(--green-deep); border-color: var(--line); backdrop-filter: none; }
.eyebrow--dark .dot { background: var(--green); box-shadow: 0 0 12px var(--green); }

/* ---------- Article ---------- */
.article__hero {
  position: relative; min-height: 64vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff;
  padding: clamp(40px, 6vw, 90px) clamp(20px, 5vw, 64px);
}
.article__hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.4) 0%, rgba(10,11,13,.2) 35%, rgba(10,11,13,.88) 100%); }
.article__hero-in { position: relative; z-index: 2; }
.article__hero h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 600; line-height: 1.02; margin: 10px 0 16px; letter-spacing: -.02em; }
.article__hero .postcard__cat { color: #fff; }
.article__hero .postcard__cat::before { background: var(--accent, var(--green-bright)); box-shadow: 0 0 12px var(--accent, var(--green-bright)); }
.article__body a { color: var(--accent-deep, var(--green-deep)); }
.article__body blockquote { border-left-color: var(--accent, var(--green)); }
.article__cta { background: var(--accent, var(--green)); color: #fff; }
.article__cta .btn { background: var(--ink); color: #fff; }
.article__meta { font-size: 14px; opacity: .9; }
.article__body { max-width: 760px; padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 0px); }
.article__body h2 { font-family: "Montserrat", sans-serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 600; margin: 1.8em 0 .5em; letter-spacing: -.01em; }
.article__body h3 { font-family: "Montserrat", sans-serif; font-size: 1.4rem; font-weight: 600; margin: 1.4em 0 .4em; }
.article__body p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); margin: 0 0 1.2em; }
.article__body a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.article__body ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.article__body li { font-size: 1.08rem; line-height: 1.7; margin-bottom: .4em; }
.article__body blockquote {
  margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--green);
  background: var(--paper-2); border-radius: 0 14px 14px 0;
  font-family: "Montserrat", sans-serif; font-size: 1.15rem; font-style: italic;
}
.article__cta {
  margin-top: 3em; padding: 32px; border-radius: 22px;
  background: var(--accent, var(--green)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.article__cta h3, .article__cta p { color: #fff; }
.article__cta h3 { font-size: 1.5rem; font-weight: 600; margin: 0 0 6px; }
.article__cta p { margin: 0; font-size: 1rem; }

/* ---------- Office / CTA ---------- */
.office { background: var(--green); color: var(--ink); }
.office .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: center; }
.office h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600; margin: 0 0 14px; letter-spacing: -.02em; }
.office p { font-size: 1.1rem; line-height: 1.6; margin: 0 0 26px; max-width: 520px; }
.office__desc { font-weight: 400; }
.office__card { background: var(--paper); border-radius: 24px; padding: 32px; }
.office__card h3 { margin: 0 0 6px; font-size: 1.2rem; }
.office__card .row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; text-decoration: none; color: var(--ink); }
.office__card .row:first-of-type { border-top: none; }
.office__card a.row:hover { color: var(--green-deep); }
@media (max-width: 820px) { .office .wrap { grid-template-columns: 1fr; } }

/* ---------- QR ---------- */
.qr { background: var(--ink); color: var(--paper); text-align: center; }
.qr h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 600; margin: 0 0 10px; }
.qr p { color: #9a9ea6; max-width: 520px; margin: 0 auto 36px; line-height: 1.6; }
.qr__box { display: inline-flex; flex-direction: column; align-items: center; gap: 16px; background: #fff; padding: 26px; border-radius: 24px; }
.qr__box #qrcode img, .qr__box #qrcode canvas { display: block; border-radius: 8px; }
.qr__box span { color: var(--ink); font-size: 12px; letter-spacing: .04em; font-weight: 600; }

/* ---------- 404 ---------- */
.notfound { text-align: center; padding-top: 180px; }
.notfound h1 { font-size: clamp(4rem, 14vw, 9rem); font-weight: 600; line-height: 1; margin: 0 0 10px; color: var(--green-deep); }
.notfound p { color: var(--muted); font-size: 1.1rem; margin: 0 0 28px; }

/* ---------- Flotte / véhicules ---------- */
.fleet { background: #fff; }
.veh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.veh {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s;
}
.veh:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,11,13,.1); border-color: var(--green); }
.veh__photo { aspect-ratio: 16 / 10; background: linear-gradient(135deg, #ffffff, #e9ebe2); display: grid; place-items: center; overflow: hidden; }
.veh__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.veh:hover .veh__photo img { transform: scale(1.05); }
.veh__ph-icon { width: 64px; height: 64px; display: grid; place-items: center; }
.veh__ph-icon svg { width: 40px; height: 40px; stroke: var(--green); fill: none; stroke-width: 1.4; }
.veh__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.veh__cat { font-size: 1.15rem; font-weight: 700; margin: 0 0 6px; line-height: 1.1; }
.veh__ex { font-size: .82rem; color: var(--green-deep); font-weight: 600; margin: 0 0 10px; }
.veh__desc { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0 0 18px; flex: 1; }
.veh__specs { list-style: none; display: flex; gap: 14px; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.veh__specs li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--ink); }
.veh__specs .ic { width: 16px; height: 16px; stroke: var(--green-deep); }
.fleet__note { text-align: center; color: var(--muted); font-size: .9rem; margin: 36px 0 0; }
.fleet__note a { color: var(--green-deep); font-weight: 600; }
@media (max-width: 1024px) { .veh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .veh-grid { grid-template-columns: 1fr; } }

/* ---------- Services & avantages ---------- */
.services { background: var(--paper); }
.srv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.srv { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.srv__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.srv__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.6; }
.srv__title { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.srv__desc { font-size: .9rem; line-height: 1.5; color: var(--muted); margin: 0; }
@media (max-width: 1024px) { .srv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .srv-grid { grid-template-columns: 1fr; } }

/* ---------- Types de location ---------- */
.rtypes { background: var(--ink); color: var(--paper); }
.rtypes .cat-head h2 { color: var(--paper); }
.rtypes .cat-head .idx { color: var(--green-bright); }
.rtype-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.rtype { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 28px; transition: background .3s, transform .3s; }
.rtype:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.rtype__icon { width: 50px; height: 50px; border-radius: 14px; background: var(--green); display: grid; place-items: center; margin-bottom: 18px; }
.rtype__icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; }
.rtype__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; }
.rtype__desc { font-size: .92rem; line-height: 1.55; color: #b8bcc2; margin: 0; }
@media (max-width: 1024px) { .rtype-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .rtype-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.faq__intro .idx { font-size: 14px; color: var(--green-deep); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.faq__intro h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 8px 0 14px; }
.faq__intro p { color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.02rem; }
.faq__q::-webkit-details-marker { display: none; }
.faq__plus { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: rgba(9,153,0,.12); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq__plus svg { width: 16px; height: 16px; stroke: var(--green-deep); fill: none; stroke-width: 2; }
.faq__item[open] .faq__plus { transform: rotate(45deg); background: var(--green); }
.faq__item[open] .faq__plus svg { stroke: #fff; }
.faq__a { padding: 0 0 20px; }
.faq__a p { margin: 0; color: var(--muted); line-height: 1.6; font-size: .96rem; }
@media (max-width: 820px) { .faq__wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Cartes cliquables (accueil) ---------- */
.veh, .srv, .rtype { text-decoration: none; color: inherit; }
.veh__more, .srv__more { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; color: var(--green-deep); }
.veh:hover .veh__more, .srv:hover .srv__more { gap: 10px; }
.veh__more .ic, .srv__more .ic, .rtype__more .ic { width: 15px; height: 15px; }
.srv { transition: transform .3s, box-shadow .3s, border-color .3s; }
.srv:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10,11,13,.08); border-color: var(--green); }
.rtype__more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--green-bright); }
.rtype:hover .rtype__more { gap: 10px; }

/* ---------- Sous-en-tête marque ---------- */
.subhero--brand { border-top: 4px solid var(--green); }
.hero__crumb--dark { color: var(--muted); }
.hero__crumb--dark:hover { color: var(--green-deep); }
.vnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.vnav__chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.vnav__chip:hover { background: var(--green); color: #fff; border-color: var(--green); }

/* ---------- Page véhicules : détails ---------- */
.vdetails .wrap { display: flex; flex-direction: column; gap: 28px; }
.vdetail { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(24px,4vw,40px); scroll-margin-top: 100px; }
.vdetail__head { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.vdetail__icon { width: 64px; height: 64px; border-radius: 16px; background: var(--green); display: grid; place-items: center; flex: 0 0 auto; }
.vdetail__icon svg { width: 32px; height: 32px; stroke: #fff; fill: none; stroke-width: 1.6; }
.vdetail__head .idx { font-size: 13px; color: var(--green-deep); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.vdetail__head h2 { font-size: clamp(1.5rem,3vw,2.2rem); margin: 4px 0 0; }
.vdetail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.vdetail__media { display: flex; flex-direction: column; gap: 16px; }
.vdetail__photo { aspect-ratio: 16 / 10; border-radius: 14px; background: linear-gradient(135deg, #ffffff, #e9ebe2); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); }
.vdetail__photo img { width: 100%; height: 100%; object-fit: cover; }
.vdetail__text p { line-height: 1.7; color: var(--ink-soft); margin: 0 0 14px; }
.vdetail__ideal { background: rgba(9,153,0,.08); border-left: 3px solid var(--green); padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: .95rem; }
.vdetail__ex { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); font-weight: 600; margin-bottom: 22px !important; }
.vdetail__ex .ic { stroke: var(--green-deep); }
.vdetail__specs { list-style: none; margin: 0; padding: 8px 22px; background: var(--paper-2); border-radius: 16px; }
.vdetail__specs li { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.vdetail__specs li:last-child { border-bottom: none; }
.vdetail__specs span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 600; }
.vdetail__specs .ic { stroke: var(--green-deep); width: 17px; height: 17px; }
.vdetail__specs b { font-weight: 700; }
@media (max-width: 760px) { .vdetail__grid { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- Page services : détails ---------- */
.sdetail-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.sdetail { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; scroll-margin-top: 100px; }
.sdetail__icon { width: 52px; height: 52px; border-radius: 13px; background: var(--green); display: grid; place-items: center; flex: 0 0 auto; }
.sdetail__icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.6; }
.sdetail__body h2 { font-size: 1.2rem; margin: 0 0 8px; }
.sdetail__body p { margin: 0; line-height: 1.6; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) { .sdetail-list { grid-template-columns: 1fr; } }

.rdetail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.rdetail { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 30px; scroll-margin-top: 100px; }
.rdetail__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.rdetail__icon { width: 48px; height: 48px; border-radius: 12px; background: var(--green); display: grid; place-items: center; flex: 0 0 auto; }
.rdetail__icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.6; }
.rdetail__head h3 { font-size: 1.3rem; margin: 0; }
.rdetail p { color: #b8bcc2; line-height: 1.6; margin: 0 0 16px; }
.checklist { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; color: var(--paper); }
.checklist .ic { flex: 0 0 auto; width: 18px; height: 18px; stroke: var(--green-bright); stroke-width: 2.4; margin-top: .1em; }
.rdetail .btn { background: var(--green); color: #fff; }
.rdetail .btn:hover { background: var(--green-deep); color: #fff; }
@media (max-width: 760px) { .rdetail-grid { grid-template-columns: 1fr; } }

/* ---------- Bandeau réservation (vert foncé charte) ---------- */
.reserve-band { background: var(--green-deep); color: #fff; }
.reserve-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.reserve-band__in h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); margin: 0 0 8px; }
.reserve-band__in p { margin: 0; max-width: 520px; line-height: 1.6; color: rgba(255,255,255,.85); }
.reserve-band__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #ffe53a; color: var(--ink); }
/* Bandeau réservation : texte du bouton « Choisir mon agence » en blanc (demande client). */
.reserve-band__cta .btn--yellow,
.reserve-band__cta .btn--yellow:hover { color: #fff; }

/* ---------- Page lieu (découverte) ---------- */
.article__body .place__lead { font-size: 1.2rem; line-height: 1.6; color: var(--ink); font-weight: 500; }
.article__body .faq__item { margin-bottom: 10px; }
.article__body .faq__item .faq__q { font-size: 1rem; }
.place__actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 28px; }
/* Les boutons d'action sont des <a> dans .article__body : ne pas hériter du lien vert souligné. */
.article__body .fiche__btn { text-decoration: none; color: var(--ink); }
.article__body .fiche__btn:hover { color: var(--green-deep); }
.article__body .fiche__btn--primary,
.article__body .fiche__btn--primary:hover { color: #fff; text-decoration: none; }
.placelinks { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 8px; }
.placelink { display: inline-flex; align-items: center; gap: 9px; color: var(--accent-deep, var(--green-deep)); font-weight: 600; text-decoration: none; transition: gap .2s; }
.placelink:hover { gap: 13px; }
.placelink .ic { width: 16px; height: 16px; flex: 0 0 auto; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #8b8f96; padding: clamp(50px,8vw,80px) clamp(20px,5vw,64px) 30px; border-top: 1px solid rgba(255,255,255,.08); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__grid h4 { color: var(--paper); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
.footer__grid p { font-size: 14px; line-height: 1.6; margin: 14px 0 0; max-width: 280px; }
.footer__grid a, .footer__grid .foot-soon { display: block; color: #8b8f96; text-decoration: none; font-size: 14px; padding: 5px 0; transition: color .25s; }
.footer__grid a:hover { color: var(--green-bright); }
.foot-soon { opacity: .6; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; font-size: 13px; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Assistance véhicule (QR) ---------- */
.btn--ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn--ghost-light:hover { background: rgba(255,255,255,.14); color: #fff; }

.assist-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; font-weight: 600; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; letter-spacing: .01em;
}
.assist-eyebrow .ic { width: 16px; height: 16px; }

/* Page d'arrivée (formulaire) */
.page-assist { background: var(--paper-2); }
.assist-landing { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 20px 60px; }
.assist-card {
  background: #fff; width: 100%; max-width: 560px;
  border-radius: 28px; padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 30px 70px rgba(10,11,13,.12); border: 1px solid var(--line);
}
.assist-card h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.1; margin: 20px 0 14px; }
.assist-lead { color: var(--muted); line-height: 1.6; margin: 0 0 26px; }
.assist-form { display: grid; gap: 18px; }
.assist-field { display: grid; gap: 8px; font-weight: 600; font-size: 14px; color: var(--ink); }
.assist-hint { display: block; font-weight: 500; font-size: 12.5px; color: var(--muted); margin-top: -3px; }
.fiche-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.assist-fiche__label { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.assist-field select, .assist-field input {
  font-family: inherit; font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--paper); transition: border-color .2s, box-shadow .2s; width: 100%;
}
.assist-field select:focus, .assist-field input:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(9,153,0,.14); background: #fff;
}
.assist-field input { text-transform: uppercase; letter-spacing: .06em; }
.assist-submit { width: 100%; justify-content: center; margin-top: 4px; }
.assist-note { display: flex; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 13px; color: var(--muted); }
.assist-note .ic, .assist-err .ic { width: 15px; height: 15px; flex: 0 0 auto; }
.assist-err { display: flex; align-items: center; gap: 8px; background: #fff4e5; color: #8a5300; border: 1px solid #f0d9b0; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; margin: 0 0 18px; }

/* Page d'aide */
.assist-help { max-width: 880px; margin: 0 auto; padding: clamp(30px, 5vw, 52px) clamp(18px, 5vw, 40px) 80px; }
.assist-top { text-align: center; margin-bottom: 30px; }
.assist-top h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 16px 0 14px; }
.assist-ctx { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hero chaleureux (image) */
.ahero { position: relative; min-height: 56vh; display: flex; align-items: flex-end; padding: 130px clamp(20px,5vw,64px) 52px; overflow: hidden; color: #fff; }
.ahero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.ahero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,30,12,.20) 0%, rgba(0,40,18,.5) 52%, rgba(0,33,14,.84) 100%); }
.ahero__in { position: relative; max-width: 880px; margin: 0 auto; width: 100%; }
.ahero h1 { font-size: clamp(2rem,6vw,3.2rem); margin: 16px 0 10px; }
.ahero__sub { max-width: 560px; font-size: clamp(1rem,2.2vw,1.18rem); line-height: 1.55; color: rgba(255,255,255,.92); margin: 0 0 22px; }

/* Barre rassurante (remplace le gros bandeau d'urgence) */
.callbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; margin-bottom: 40px; }
.callbar__txt { margin: 0; font-size: 15px; line-height: 1.5; max-width: 470px; }
.callbar__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.callbar__cta .btn { font-size: 14px; padding: 12px 18px; }

/* Prise en main : conseils universels */
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tip { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.tip__head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tip__ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--paper); color: var(--green); border-radius: 11px; flex: 0 0 auto; }
.tip__ic .ic { width: 20px; height: 20px; }
.tip h3 { margin: 0; font-size: 1.02rem; }
.tip p { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.tip__body { color: var(--ink); font-size: 14.5px; line-height: 1.6; }
.tip__body p { margin: 0 0 8px; } .tip__body p:last-child { margin-bottom: 0; }
.tip__body ul { margin: 6px 0 0; padding-left: 18px; } .tip__body li { margin-bottom: 4px; }

/* Prise en main : carte véhicule (quand la BD est branchée) */
.vehcard { display: grid; grid-template-columns: 280px 1fr; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.vehcard__media { background: var(--paper); min-height: 200px; }
.vehcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehcard__body { padding: 26px 28px; }
.vehcard__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.vehcard h3 { margin: 4px 0 16px; font-size: 1.3rem; }
.vehspecs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vehspecs li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--muted); }
.vehspecs li strong { color: var(--ink); margin-left: auto; font-weight: 700; }
.vehspecs .ic { width: 17px; height: 17px; color: var(--green); flex: 0 0 auto; }
.vehtips { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 7px; }
.vehtips li { display: flex; gap: 9px; font-size: 14px; line-height: 1.5; }
.vehtips .ic { width: 16px; height: 16px; color: var(--green); flex: 0 0 auto; margin-top: 3px; }

/* Restitution : procédure mise en avant */
.assist-sec--return { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px clamp(18px,3vw,30px); }
.assist-sec--return .assist-h, .assist-sec--return .assist-sub { padding-left: 4px; }
.timeline { list-style: none; margin: 12px 0 0; padding: 0; }
.tstep { display: grid; grid-template-columns: 36px 1fr; gap: 16px; position: relative; padding-bottom: 14px; }
.tstep:not(:last-child) .tstep__rail::after { content: ""; position: absolute; top: 36px; bottom: -2px; left: 50%; transform: translateX(-50%); width: 2px; background: var(--line); }
.tstep__rail { position: relative; display: flex; justify-content: center; }
.tstep__n { width: 36px; height: 36px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; z-index: 1; }
.tstep__card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; box-shadow: 0 1px 2px rgba(10,11,13,.05); }
.tstep__ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--paper-2); color: var(--green); border-radius: 12px; flex: 0 0 auto; }
.tstep__ic .ic { width: 20px; height: 20px; }
.tstep__txt h3 { margin: 0 0 3px; font-size: 15px; font-weight: 700; }
.tstep__txt p { margin: 0; font-size: 13.8px; line-height: 1.55; color: var(--muted); }
.tstep__txt p strong { color: var(--ink); }
.rnote { display: flex; align-items: flex-start; gap: 11px; margin: 18px 0 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.55; }
.rnote__ic { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; background: var(--green); color: #fff; border-radius: 50%; flex: 0 0 auto; }
.rnote__ic .ic { width: 15px; height: 15px; }
.rnote p { margin: 0; color: var(--ink-soft); }
.rnote strong { color: var(--ink); }

@media (max-width: 680px) {
  .tips { grid-template-columns: 1fr; }
  .vehcard { grid-template-columns: 1fr; }
  .vehcard__media { min-height: 180px; }
  .vehspecs { grid-template-columns: 1fr; }
  .callbar { align-items: flex-start; }
  .callbar__cta { width: 100%; }
  .callbar__cta .btn { flex: 1; justify-content: center; }
  .ahero { min-height: 50vh; }
}
.assist-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px;
}
.assist-pill .ic { width: 15px; height: 15px; color: var(--green); }
.assist-pill--plate {
  background: var(--ink); color: #fff; letter-spacing: .12em; font-weight: 700;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* Bandeau urgence */
.emergency {
  background: var(--green-deep); color: #fff; border-radius: 24px;
  padding: clamp(24px, 4vw, 36px); margin-bottom: 38px;
  display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap;
}
.emergency__txt h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 0 0 8px; }
.emergency__txt p { margin: 0; max-width: 420px; line-height: 1.55; color: rgba(255,255,255,.85); font-size: 15px; }
.emergency__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.emergency__cta .btn { font-size: 14px; padding: 13px 20px; }

/* Sections */
.assist-sec { margin-bottom: 40px; }
.assist-h { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 700; margin: 0 0 16px; }
.assist-h .ic { width: 20px; height: 20px; color: var(--green); }
.assist-sub { color: var(--muted); line-height: 1.6; margin: -8px 0 18px; }

/* Tuiles d'aide dépliables */
.help-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
details.help {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: box-shadow .25s, border-color .25s;
}
details.help[open] { box-shadow: 0 14px 36px rgba(10,11,13,.08); border-color: rgba(9,153,0,.3); }
details.help summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; font-weight: 600; font-size: 15px; color: var(--ink);
}
details.help summary::-webkit-details-marker { display: none; }
.help__ic { display: inline-flex; width: 38px; height: 38px; flex: 0 0 auto; align-items: center; justify-content: center; background: var(--paper); border-radius: 10px; color: var(--green); }
.help__ic .ic { width: 19px; height: 19px; }
.help__t { flex: 1; }
.help__chev { color: var(--muted); transition: transform .25s; }
.help__chev .ic { width: 17px; height: 17px; transform: rotate(90deg); }
details.help[open] .help__chev { transform: rotate(180deg); color: var(--green); }
.help__body { padding: 0 18px 18px; color: var(--ink); font-size: 14.5px; line-height: 1.65; }
.help__body p { margin: 0 0 10px; }
.help__body p:last-child { margin-bottom: 0; }
.help__body ol { margin: 0; padding-left: 20px; display: grid; gap: 7px; }
.help__body a { color: var(--green-deep); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(0,81,37,.25); }
.help__body a:hover { border-bottom-color: var(--green-deep); }
.help__tip { background: var(--paper); border-radius: 12px; padding: 11px 14px; font-size: 13.5px; }

/* Fiche agence */
.assist-fiche { padding: 26px 28px; }
.assist-fiche .office__desc { display: flex; align-items: center; gap: 9px; }
.assist-fiche .office__desc .ic { width: 16px; height: 16px; color: var(--green); flex: 0 0 auto; }
.assist-fiche .row .ic { width: 17px; height: 17px; color: var(--green); flex: 0 0 auto; }

/* Mini-cartes tourisme */
.amini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.amini {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 0;
  text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.amini:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(10,11,13,.12); }
.amini__media { display: block; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.amini__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.amini:hover .amini__media img { transform: scale(1.06); }
.amini__media--ph { display: flex; align-items: center; justify-content: center; color: var(--green); }
.amini__media--ph .ic { width: 30px; height: 30px; }
.amini__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; flex: 1; }
.amini__t { font-weight: 700; font-size: 15px; }
.amini__d { font-size: 13px; color: var(--muted); line-height: 1.5; }
.amini__go { margin-top: auto; padding-top: 6px; color: var(--green); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; }
.amini__go .ic { width: 16px; height: 16px; transition: transform .2s; }
.amini:hover .amini__go .ic { transform: translateX(3px); }
.assist-guidebtn { margin-top: 4px; }

@media (max-width: 680px) {
  .help-grid { grid-template-columns: 1fr; }
  .amini-grid { grid-template-columns: 1fr; }
  .emergency { flex-direction: column; align-items: flex-start; }
  .emergency__cta { width: 100%; }
  .emergency__cta .btn { flex: 1; justify-content: center; }
}

/* ---------- Assistance : raffinements UX ---------- */
.page-assist-help { background: var(--paper-2); }
.assist-help .assist-sec { margin-bottom: clamp(40px, 6vw, 60px); scroll-margin-top: 84px; }

/* En-têtes de section : pastille d'icône + titre net */
.assist-h { gap: 12px; font-size: clamp(1.2rem, 2.6vw, 1.45rem); margin: 0 0 18px; letter-spacing: -.01em; }
.assist-h > .ic { width: 30px; height: 30px; padding: 6px; box-sizing: content-box; background: var(--paper-2); color: var(--green); border-radius: 11px; }
.assist-sub { font-size: 14.5px; }

/* Sélecteur de langue FR / EN / ES */
.ahero__top, .assist-card__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.assist-card__top { margin-bottom: 4px; }
.langswitch { display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(4px); }
.langswitch__l { display: inline-flex; align-items: center; justify-content: center; padding: 4px; border-radius: 7px; text-decoration: none; opacity: .45; transition: opacity .2s, transform .2s; }
.langswitch__l:hover { opacity: .9; transform: translateY(-1px); }
.langswitch__l.is-active { opacity: 1; }
.langswitch .flag { display: block; width: 24px; height: 16px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.langswitch__l.is-active .flag { box-shadow: 0 0 0 2px var(--green); }

/* Accès rapide (chips d'ancres) */
.qnav { display: flex; gap: 9px; flex-wrap: wrap; margin: 0 0 clamp(34px, 5vw, 46px); }
.qnav a { display: inline-flex; align-items: center; gap: 7px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(10,11,13,.04); transition: background .2s, border-color .2s, color .2s, transform .2s; }
.qnav a:hover { background: var(--green); color: #fff; border-color: var(--green); transform: translateY(-2px); }
.qnav a .ic { width: 16px; height: 16px; color: var(--green); }
.qnav a:hover .ic { color: #fff; }

/* Ombres douces & cohérentes sur toutes les cartes de la page */
/* Ombres nettes et discrètes (pas d'effet flou diffus) */
.tip, details.help, .amini, .vehcard, .callbar { box-shadow: 0 1px 2px rgba(10,11,13,.05); }
.tip { border-radius: 20px; padding: 24px; }
.tip__ic, .help__ic { background: var(--paper-2); color: var(--green); }
details.help { border-radius: 18px; }
details.help[open] { box-shadow: 0 1px 2px rgba(10,11,13,.05), 0 8px 20px rgba(10,11,13,.06); }
.amini { border-radius: 18px; }

/* Carte agence en blanc (au lieu du fond beige) pour s'harmoniser */
.assist-fiche { background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(10,11,13,.05); }

/* Panneau restitution : ombre discrète */
.assist-sec--return { box-shadow: 0 1px 2px rgba(10,11,13,.05); }

/* ---------- Animations base (GSAP cible ces éléments) ---------- */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-img { clip-path: inset(0 0 100% 0); }

/* ============================================================
   ESPACE FORMATION (interne — /formation)
============================================================ */
.acad-body { background: #f5f6f7; color: var(--ink); min-height: 100vh; }

/* --- barre du haut --- */
.acad-top {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: #fff; border-bottom: 1px solid #e6e8ea;
}
.acad-top__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.acad-top__brand img { height: 34px; border-radius: 4px; }
.acad-top__brand span { font-size: 15px; letter-spacing: .01em; }
.acad-top__actions { display: flex; align-items: center; gap: 8px; }
.acad-top__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600;
  color: var(--ink); text-decoration: none; background: #f1f2f3;
}
.acad-top__link:hover { background: #e7e9ea; }
.acad-top__link--out { color: #7a2e2e; }
.acad-top__link .ic, .acad-card__meta .ic, .acad-course__crumb .ic, .acad-step__kicker .ic { width: 15px; height: 15px; }

/* --- connexion --- */
.acad-login { display: grid; place-items: center; min-height: 100vh; padding: 24px; }
.acad-login__card {
  width: 100%; max-width: 420px; background: #fff; border: 1px solid #e6e8ea;
  border-radius: 16px; padding: 36px 32px; text-align: center;
  box-shadow: 0 12px 40px rgba(15,16,18,.06);
}
.acad-login__logo { height: 44px; border-radius: 6px; margin-bottom: 18px; }
.acad-login__badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #56585c; background: #f1f2f3; padding: 6px 12px; border-radius: 99px;
}
.acad-login__badge .ic { width: 13px; height: 13px; }
.acad-login__card h1 { font-size: 26px; font-weight: 800; margin-bottom: 8px; }
.acad-login__card > p { font-size: 14px; color: #56585c; line-height: 1.55; margin-bottom: 20px; }
.acad-login__err { color: #a12626; background: #fbeeee; border-radius: 8px; padding: 10px 12px; font-size: 13.5px; margin-bottom: 14px; }
.acad-login__card label { display: block; text-align: left; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.acad-login__card input {
  width: 100%; padding: 12px 14px; border: 1.5px solid #d8dadd; border-radius: 10px;
  font: inherit; font-size: 15px; margin-bottom: 14px; text-align: center; letter-spacing: .12em;
}
.acad-login__card input:focus { outline: none; border-color: var(--green); }
.acad-login__btn { width: 100%; justify-content: center; background: var(--green); }
.acad-login__btn:hover { background: var(--green-deep); }
.acad-login__card small { display: block; margin-top: 14px; color: #909398; font-size: 12.5px; }

/* --- tableau de bord --- */
.acad-main { max-width: 1080px; margin: 0 auto; padding: 32px 24px 80px; }
.acad-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: var(--green); color: #fff; border-radius: 18px; padding: 32px 36px; margin-bottom: 36px;
}
.acad-hero h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.acad-hero p { font-size: 14.5px; color: #fff; max-width: 520px; line-height: 1.55; }
.acad-hero__ring { position: relative; width: 120px; height: 120px; flex-shrink: 0; }
.acad-hero__ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.acad-hero__ring .ring-bg { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 9; }
.acad-hero__ring .ring-fill { fill: none; stroke: #f7da00; stroke-width: 9; stroke-linecap: round; transition: stroke-dashoffset .8s ease; }
.acad-hero__ringtxt { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.acad-hero__ringtxt strong { font-size: 22px; font-weight: 800; }
.acad-hero__ringtxt span { font-size: 10.5px; color: #fff; }

.acad-rub { margin-bottom: 40px; }
.acad-rub__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.acad-rub__ic { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid #e6e8ea; display: grid; place-items: center; flex-shrink: 0; }
.acad-rub__ic svg { width: 21px; height: 21px; color: var(--ink); }
.acad-rub__head h2 { font-size: 19px; font-weight: 800; }
.acad-rub__head p { font-size: 13px; color: #6b6e73; }
.acad-rub__prog { margin-left: auto; font-size: 12.5px; color: #6b6e73; white-space: nowrap; }
.acad-rub__prog span { font-weight: 800; color: var(--ink); }
.acad-rub__prog.is-done span { color: var(--green); }

.acad-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.acad-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid #e6e8ea; border-radius: 14px; padding: 18px;
  text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease;
}
.acad-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15,16,18,.08); }
.acad-card.is-done { border-color: #bfe3bd; }
.acad-card__top { display: flex; align-items: center; justify-content: space-between; }
.acad-card__ic { width: 36px; height: 36px; border-radius: 9px; background: #f1f2f3; display: grid; place-items: center; }
.acad-card__ic svg { width: 18px; height: 18px; }
.acad-card__state { font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: #909398; background: #f1f2f3; padding: 4px 9px; border-radius: 99px; }
.acad-card__state.is-progress { color: #8a6d00; background: #faf3d6; }
.acad-card__state.is-done { color: #0d6b0d; background: #e4f4e2; }
.acad-card h3 { font-size: 15px; font-weight: 700; line-height: 1.3; }
.acad-card p { font-size: 12.5px; color: #6b6e73; line-height: 1.45; flex: 1; }
.acad-card__meta { display: flex; gap: 14px; font-size: 11.5px; color: #909398; }
.acad-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.acad-bar { height: 6px; border-radius: 99px; background: #eceef0; overflow: hidden; }
.acad-bar--lg { height: 8px; max-width: 460px; }
.acad-bar__fill { height: 100%; border-radius: 99px; background: var(--green); transition: width .5s ease; }
.acad-card__pct { font-size: 11.5px; font-weight: 700; color: #6b6e73; }

/* --- page cours --- */
.acad-course { max-width: 1080px; margin: 0 auto; padding: 32px 24px 80px; }
.acad-course__crumb { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #6b6e73; margin-bottom: 8px; }
.acad-course__head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; margin-bottom: 14px; }
.acad-course__pct { font-size: 12px; color: #6b6e73; margin-top: 6px; }
.acad-course__pct span { font-weight: 800; color: var(--ink); }
.acad-course__layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; margin-top: 24px; align-items: start; }

.acad-side { position: sticky; top: 76px; background: #fff; border: 1px solid #e6e8ea; border-radius: 14px; padding: 26px 22px; }
.acad-side ol { list-style: none; padding: 0; margin: 0; }
.acad-side li {
  display: flex; align-items: center; gap: 11px; padding: 12px 15px; border-radius: 9px; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: #56585c; cursor: pointer;
}
.acad-side li:hover { background: #f5f6f7; }
.acad-side li.is-current { background: var(--green); color: #fff; }
.acad-side__num {
  width: 22px; height: 22px; border-radius: 99px; background: #eceef0; color: #56585c;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; flex-shrink: 0;
}
.acad-side__num .ic { width: 12px; height: 12px; }
.acad-side li.is-current .acad-side__num { background: rgba(255,255,255,.2); color: #fff; }
.acad-side__check { margin-left: auto; visibility: hidden; }
.acad-side__check .ic { width: 14px; height: 14px; color: var(--green); }
.acad-side li.is-done .acad-side__check { visibility: visible; }
.acad-side li.is-current .acad-side__check .ic { color: #f7da00; }
.acad-side__quiz { border-top: 1px solid #eceef0; margin-top: 6px; padding-top: 12px !important; }
.acad-refs { margin-top: 16px; padding: 14px 4px 0; font-size: 11px; line-height: 1.5; color: #909398; border-top: 1px solid #eceef0; }

.acad-content { min-width: 0; }
.acad-step { background: #fff; border: 1px solid #e6e8ea; border-radius: 14px; padding: 28px 30px; }
.acad-step__kicker { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.acad-step h2 { font-size: 21px; font-weight: 800; margin-bottom: 16px; }
.acad-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; }
.acad-btn { background: var(--green); color: #fff; border: none; cursor: pointer; font: inherit; font-weight: 700; }
.acad-btn:hover { background: var(--green-deep); }
.acad-btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid #d8dadd; cursor: pointer; font: inherit; font-weight: 700; }
.acad-btn--ghost:hover { background: #f5f6f7; }

/* --- contenu de leçon --- */
.lsn { font-size: 14.5px; line-height: 1.65; color: #2c2e31; }
.lsn p { margin-bottom: 12px; }
.lsn ul, .lsn ol { margin: 0 0 14px; padding-left: 20px; }
.lsn li { margin-bottom: 7px; }
.lsn-steps { counter-reset: st; list-style: none; padding-left: 0 !important; }
.lsn-steps > li { counter-increment: st; position: relative; padding-left: 38px; margin-bottom: 10px; }
.lsn-steps > li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 99px; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}
.lsn-note, .lsn-warn { border-radius: 10px; padding: 13px 16px; font-size: 13.5px; margin: 14px 0; }
.lsn-note { background: #f1f2f3; }
.lsn-warn { background: #fdf6e8; }
.lsn-warn p { margin-bottom: 8px; } .lsn-warn p:last-child { margin-bottom: 0; }
.lsn-warn ul, .lsn-note ul { margin-bottom: 0; }
.lsn-table { width: 100%; border-collapse: collapse; font-size: 13px; margin: 14px 0; }
.lsn-table th, .lsn-table td { border: 1px solid #e6e8ea; padding: 8px 10px; text-align: left; vertical-align: top; }
.lsn-table th { background: #f5f6f7; font-weight: 700; }
.lsn-cols { columns: 2; column-gap: 28px; }
.lsn-tips { list-style: none; padding-left: 0 !important; }
.lsn-tips > li { background: #f8f9fa; border: 1px solid #eceef0; border-radius: 9px; padding: 10px 14px; margin-bottom: 8px; }

/* --- QCM --- */
.acad-quiz__intro { font-size: 14px; color: #56585c; margin-bottom: 18px; }
.acad-quiz__prog { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #909398; margin-bottom: 10px; }
.acad-quiz__q { font-size: 17px; font-weight: 700; margin-bottom: 16px; line-height: 1.4; }
.acad-quiz__choices { display: grid; gap: 10px; margin-bottom: 16px; }
.acad-choice {
  text-align: left; padding: 13px 16px; border: 1.5px solid #d8dadd; border-radius: 10px;
  background: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .12s ease, background .12s ease;
}
.acad-choice:hover:not(:disabled) { border-color: var(--green); }
.acad-choice.is-right { border-color: var(--green); background: #eef8ed; }
.acad-choice.is-wrong { border-color: #c94f4f; background: #fbeeee; }
.acad-choice:disabled { cursor: default; opacity: .92; }
.acad-quiz__fb { border-radius: 10px; padding: 13px 16px; font-size: 13.5px; line-height: 1.55; margin-bottom: 16px; }
.acad-quiz__fb.is-ok { background: #eef8ed; }
.acad-quiz__fb.is-ko { background: #fbeeee; }
.acad-result { text-align: center; padding: 24px 12px; }
.acad-result__score { font-size: 52px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
.acad-result.is-pass .acad-result__score { color: var(--green); }
.acad-result.is-fail .acad-result__score { color: #c94f4f; }
.acad-result h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.acad-result p { font-size: 14px; color: #56585c; margin-bottom: 18px; }

/* --- responsive --- */
@media (max-width: 900px) {
  .acad-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .acad-course__layout { grid-template-columns: 1fr; }
  .acad-side { position: static; order: -1; }
  .acad-side ol { display: flex; flex-wrap: wrap; gap: 4px; }
  .acad-side li { padding: 7px 10px; font-size: 12px; }
  .acad-side li > span:nth-child(2) { display: none; }
  .acad-side__check { display: none; }
  .acad-side__quiz { border-top: none; margin-top: 0; padding-top: 7px !important; }
  .acad-refs { display: none; }
  .acad-hero { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .acad-grid { grid-template-columns: 1fr; }
  .acad-step { padding: 20px 18px; }
  .lsn-cols { columns: 1; }
  .acad-top { padding: 10px 14px; }
  .acad-top__brand span { display: none; }
}

/* --- vidéos de formation --- */
.acad-videos { display: grid; gap: 16px; margin-top: 18px; }
.acad-video { background: #f8f9fa; border: 1px solid #eceef0; border-radius: 12px; padding: 12px; }
.acad-video figcaption { font-size: 13px; font-weight: 700; margin-bottom: 9px; color: var(--ink); }
.acad-video video { width: 100%; max-height: 440px; border-radius: 8px; background: #000; display: block; }

/* Carte pleine largeur « La trappe à carburant » (section Prise en main) */
.fuelcard { margin-top: 14px; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 1px 2px rgba(10,11,13,.05); }
.fuelcard__head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fuelcard__ic { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; background: var(--paper-2); color: var(--green); border-radius: 11px; flex: 0 0 auto; }
.fuelcard__ic .ic { width: 20px; height: 20px; }
.fuelcard__head h3 { margin: 0; font-size: 1.02rem; }
.fuelcard__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.fuelcard__col h4 { margin: 0 0 5px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.fuelcard__col p { margin: 0; color: var(--ink); font-size: 14.5px; line-height: 1.6; }
@media (max-width: 720px) { .fuelcard__cols { grid-template-columns: 1fr; gap: 16px; } }
