/* ==========================================================
   DRIVE IT – styles
   1. Tokens  2. Base  3. Composants  4. Sections  5. Responsive
   ========================================================== */

/* 1. TOKENS ------------------------------------------------ */
:root {
  --bg: #fbfaf8;
  --bg-alt: #f1eee8;
  --card: #ffffff;
  --text: #1b1a20;
  --muted: #5d5c66;
  --line: #e2ded6;
  --accent-text: #c4261a;

  --ink: #17161b;
  --ink-2: #24222a;
  --chalk: #f3efe8;
  --chalk-muted: #b9b6bf;
  --red: #d9291c;
  --red-press: #b41f14;
  --blue: #2a44a0;

  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --header-h: 72px;
  --container: 1180px;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141318;
    --bg-alt: #1b1a21;
    --card: #211f27;
    --text: #f3efe8;
    --muted: #a9a7b2;
    --line: #322f39;
    --accent-text: #ff6a5c;
  }
}
:root[data-theme="dark"] {
  --bg: #141318;
  --bg-alt: #1b1a21;
  --card: #211f27;
  --text: #f3efe8;
  --muted: #a9a7b2;
  --line: #322f39;
  --accent-text: #ff6a5c;
}

/* 2. BASE -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 800; text-transform: uppercase; line-height: .98; letter-spacing: .005em; }
h2 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h3 { font-size: 1.55rem; line-height: 1.05; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 46rem; display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__lead { color: var(--muted); font-size: 1.15rem; max-width: 58ch; }

.ico { width: 24px; height: 24px; flex: none; }

/* 3. COMPOSANTS -------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-press); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--ghost-dark:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 1.05rem; }
.btn--light { background: var(--chalk); color: var(--ink); }
.btn--light:hover { background: #fff; }

.wordmark { display: inline-block; line-height: 0; }
.wordmark img { height: 38px; width: auto; }
.wordmark--lg img { height: 52px; }

.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px;
  border-radius: 999px; font-size: .88rem; font-weight: 600;
  border: 1.5px solid var(--line); color: var(--muted);
}

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* HEADER */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--chalk);
}
.site-header__bar { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav { display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__link {
  display: block; padding: 8px 10px; border-radius: 8px; font-size: 1.02rem; font-weight: 600;
  text-decoration: none; color: var(--chalk-muted); transition: color .2s, background-color .2s;
}
.nav__link:hover, .nav__link[aria-current="true"] { color: #fff; background: rgba(255,255,255,.08); }
.site-header__cta { display: none; }
.burger {
  width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 0;
  color: inherit; cursor: pointer; border-radius: 10px;
}
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s;
}
.burger__bars { position: relative; }
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { padding: 8px 0 24px; border-top: 1px solid rgba(255,255,255,.08); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07); }
.mobile-menu .btn { margin-top: 20px; width: 100%; }

/* HERO */
.hero { background: var(--ink); color: var(--chalk); position: relative; overflow: hidden; padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
.hero__media { position: relative; }
.hero__bg { width: 100%; aspect-ratio: 3 / 2; max-height: calc(92vh - var(--header-h)); object-fit: cover; object-position: 50% 35%; }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(to top, var(--ink), transparent); }
.hero__content { position: relative; z-index: 2; margin-top: calc(-1 * clamp(20px, 5vw, 80px)); padding-bottom: clamp(72px, 9vw, 120px); display: grid; gap: 28px; align-items: end; }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 4.8rem); line-height: .92; }
.hero__title span { display: block; color: var(--red); margin-top: .08em; }
.hero__side { display: grid; gap: 22px; justify-items: start; }
.hero__text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--chalk-muted); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hero__badges .chip { border-color: rgba(255,255,255,.24); color: var(--chalk); }
.hero__edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(22px, 3.6vw, 52px); display: block; }
.hero__edge .r { fill: var(--red); }
.hero__edge .b { fill: var(--bg); }

/* ABOUT */
.about__grid { display: grid; gap: 40px; }
.about__points { display: grid; gap: 28px; }
.about__point { align-content: start; padding-left: 20px; border-left: 3px solid var(--red); display: grid; gap: 6px; }
.about__point p { color: var(--muted); }
.stats { display: grid; grid-template-columns: 1fr 1fr; margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); }
.stats__item { padding: 28px 20px 0 0; display: grid; gap: 6px; align-content: start; }
.stats__value { font-family: var(--font-display); font-style: italic; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: .01em; line-height: 1; }
.stats__label { color: var(--muted); font-size: .95rem; line-height: 1.4; }

/* SERVICES */
.services { display: grid; gap: 20px; }
.service {
  display: grid; gap: 14px; align-content: start; padding: 32px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
}
.service__icon {
  width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px;
  background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--accent-text);
}
.service__icon .ico { width: 28px; height: 28px; }
.service p { color: var(--muted); }
.service__link {
  margin-top: 6px; font-weight: 700; text-decoration: none; color: var(--accent-text);
  border-bottom: 2px solid currentColor; justify-self: start; padding-bottom: 2px;
}
.service__link:hover { color: var(--red); }
.service--feature { display: flex; flex-direction: column; gap: 14px; background: var(--ink); color: var(--chalk); border-color: var(--ink); padding: clamp(32px, 4vw, 44px); }
.service--feature p { color: var(--chalk-muted); }
.service--feature .service__icon { background: var(--red); color: #fff; }
.service--feature .service__link { color: #fff; margin-top: auto; align-self: flex-start; }
.service--feature .gearbox { margin-bottom: 18px; }
.formulas { display: grid; gap: 0; margin-block: 8px 6px; }
.formulas li { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.13); }
.formulas strong { font-weight: 700; }
.formulas span { color: var(--chalk-muted); font-size: .97rem; }
.gearbox { display: flex; flex-wrap: wrap; gap: 8px; }
.service--feature .chip { border-color: rgba(255,255,255,.28); color: var(--chalk); }

/* RÉALISATIONS */
.gallery { display: grid; gap: 28px; }
.work { display: grid; gap: 16px; align-content: start; }
.work__img { border-radius: var(--radius); width: 100%; object-fit: cover; background: #fff; }
.work--tall .work__img { aspect-ratio: 4 / 4.4; object-position: 50% 80%; }
.work--wide .work__img { aspect-ratio: 16 / 9; }
.work__body { display: grid; gap: 8px; }
.work__body p { color: var(--muted); }
.work__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

/* AVIS */
.reviews { display: grid; gap: 20px; }
.review { margin: 0; padding: 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); display: grid; gap: 18px; align-content: space-between; }
.stars { display: flex; gap: 3px; color: #e9a419; }
.stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0; font-size: 1.08rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--chalk); font-weight: 700; font-size: .95rem; }
.review__name { font-weight: 700; display: block; line-height: 1.2; }
.review__meta { color: var(--muted); font-size: .9rem; }

/* FAQ */
.faq { display: grid; max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 700; font-size: 1.12rem;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: ""; width: 12px; height: 12px; flex: none; margin-right: 6px;
  border-right: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red);
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s;
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq__a { padding: 0 0 24px; color: var(--muted); max-width: 62ch; }

/* LABELLISATION */
.labels { display: grid; gap: 40px; }
.badges { display: grid; gap: 16px; }
.badge { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.badge__mark { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
.badge__mark img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; background: #fff; }
.badge strong { display: block; font-size: 1.1rem; line-height: 1.25; }
.badge div span { color: var(--muted); font-size: .95rem; }
.docs { display: grid; }
.doc { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.doc:first-child { border-top: 1px solid var(--line); }
.doc__title { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.doc__title .ico { color: var(--accent-text); }
.doc__status { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.doc__link { font-weight: 700; color: var(--accent-text); white-space: nowrap; }

/* CTA */
.cta { background: var(--red); color: #fff; padding-block: clamp(64px, 9vw, 104px); }
.cta__inner { display: grid; gap: 28px; justify-items: start; }
.cta h2 { font-size: clamp(2.8rem, 7vw, 5rem); max-width: 16ch; }
.cta p { max-width: 50ch; font-size: 1.15rem; opacity: .95; }

/* CONTACT */
.contact { display: grid; gap: 44px; }
.info { display: grid; gap: 28px; align-content: start; }
.info__item { display: flex; gap: 16px; }
.info__item .ico { color: var(--accent-text); margin-top: 3px; }
.info__item h3 { font-size: 1.3rem; margin-bottom: 4px; }
.info__item p, .info__item a, .info__item dd { color: var(--muted); }
.info__item a:hover { color: var(--accent-text); }
.hours { display: grid; gap: 2px; margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 20px; }
.hours dt { font-weight: 600; color: var(--text); }
.hours dd { margin: 0; text-align: right; }
.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.form__row { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 14px; min-height: 50px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--red) 22%, transparent); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--red); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .93rem; color: var(--muted); }
.consent input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--red); flex: none; }
.consent a, .consent button { color: var(--accent-text); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.form__status { min-height: 1.5em; font-weight: 600; }
.form__status[data-state="ok"] { color: #1f8a4c; }
.form__status[data-state="error"] { color: var(--accent-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* FOOTER */
.site-footer { background: var(--ink); color: var(--chalk); padding: 72px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
.footer__grid { display: grid; gap: 40px; }
.footer__brand { align-content: start; display: grid; gap: 16px; justify-items: start; max-width: 32ch; color: var(--chalk-muted); }
.footer__col h3 { font-size: 1.3rem; margin-bottom: 14px; color: #fff; }
.footer__col ul { display: grid; gap: 8px; color: var(--chalk-muted); }
.footer__bottom .link-btn { color: var(--chalk-muted); }
.footer__bottom .link-btn:hover { color: #fff; }
.footer__col a, .footer__col .link-btn { color: var(--chalk-muted); text-decoration: none; }
.footer__col a:hover, .footer__col .link-btn:hover { color: #fff; text-decoration: underline; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; color: var(--chalk-muted); font-size: .92rem; }

/* MODALES LÉGALES */
.legal { width: min(92vw, 680px); max-height: 86vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--card); color: var(--text); }
.legal::backdrop { background: rgba(10,9,13,.6); }
.legal__inner { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.legal__inner p { color: var(--muted); font-size: .98rem; }
.legal__inner h3 { margin-top: 10px; font-size: 1.25rem; }
.legal .btn { justify-self: start; margin-top: 10px; }

/* 5. RESPONSIVE -------------------------------------------- */
@media (min-width: 640px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats__item { padding-right: 24px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .badges { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .hero__content { grid-template-columns: 1.1fr .9fr; gap: 64px; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .services { grid-template-columns: repeat(12, 1fr); }
  .service { grid-column: span 6; }
  .service--feature { grid-column: span 7; grid-row: span 3; }
  .service--side { grid-column: span 5; }
  .gallery { grid-template-columns: 1.05fr 1fr; grid-template-rows: auto auto; gap: 40px 32px; }
  .work--tall { grid-row: span 2; }
  .labels { grid-template-columns: 1fr 1fr; gap: 72px; }
  .contact { grid-template-columns: .8fr 1.2fr; gap: 64px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
  .cta__inner { grid-template-columns: 1fr auto; align-items: end; }
  .cta__copy { display: grid; gap: 20px; }
}
@media (min-width: 1180px) {
  .nav { display: block; }
  .site-header__cta { display: inline-flex; }
  .burger, .mobile-menu { display: none !important; }
}

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

/* ---------- Identité pinceau (inspirée de la maquette) ---------- */
.section__head h2::after, .formations__text h2::after, .cta h2::after { content: ""; display: block; width: 150px; height: 13px; margin-top: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 14' preserveAspectRatio='none'%3E%3Cpath fill='%23d9291c' d='M0 8L12 3 30 7 52 2 76 6 100 1 128 5 150 2 160 6 148 11 122 8 96 13 70 9 44 13 20 10 6 13z'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.section--ink { background: var(--ink); color: var(--chalk); --card: #24222a; --text: var(--chalk); --muted: var(--chalk-muted); --line: rgba(255,255,255,.16); --accent-text: #ff6a5c; }

.formations { display: grid; gap: 48px; align-items: center; margin-bottom: clamp(48px, 7vw, 88px); }
.formations__text { display: grid; gap: 18px; align-content: start; }
.checklist { display: grid; gap: 10px; margin-top: 4px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checklist .ico { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 3; margin-top: 2px; }
.ribbon { justify-self: start; margin-top: 10px; padding: 14px 26px 14px 22px; background: var(--red); color: #fff; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; transform: rotate(-2deg); clip-path: polygon(0 12%, 3% 0, 100% 6%, 97% 100%, 2% 92%); }
.bubbles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
.bubble { display: grid; justify-items: center; gap: 12px; text-decoration: none; }
.bubble__disc { position: relative; width: 132px; height: 132px; display: grid; place-items: center; transition: transform .25s; }
.bubble:hover .bubble__disc, .bubble:focus-visible .bubble__disc { transform: scale(1.06) rotate(-3deg); }
.bubble__splat { position: absolute; inset: 0; border-radius: 58% 42% 47% 53% / 46% 56% 44% 54%; transform: rotate(-10deg); }
.bubble--red .bubble__splat { background: var(--red); }
.bubble--gray .bubble__splat { background: #b9b7bd; }
.bubble__icon { position: relative; width: 90px; height: 90px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.bubble__icon .bubble__svg { width: 46px; height: 46px; }
.bubble__label { background: var(--ink); color: #fff; padding: 6px 14px; font-family: var(--font-head); font-style: italic; font-weight: 700; text-transform: uppercase; font-size: 1.05rem; line-height: 1.1; text-align: center; transform: rotate(-3deg); clip-path: polygon(0 8%, 100% 0, 98% 100%, 2% 92%); }
.services__title { margin-bottom: 24px; }

/* Bandeau tarifs */
.cta { background: var(--ink); color: var(--chalk); position: relative; overflow: hidden; }
.cta__inner { position: relative; z-index: 1; }
.cta__copy { display: grid; gap: 16px; justify-items: start; }
.cta__icon { width: 56px; height: 56px; display: grid; place-items: center; border: 2px solid var(--chalk); border-radius: 50%; }
.cta__actions { display: grid; gap: 12px; width: 100%; max-width: 280px; }
.cta__actions .btn--ghost { color: #fff; border-color: #fff; }
.cta__actions .btn--ghost:hover { background: rgba(255,255,255,.14); }
@media (min-width: 900px) {
  .cta::after { content: ""; position: absolute; right: -6%; top: -30%; width: 36%; height: 160%; background: var(--red); transform: skewX(-14deg); }
  .cta__actions { justify-self: end; margin-right: 4%; }
  .formations { grid-template-columns: 1fr 1fr; gap: 56px; }
  .bubbles { gap: 32px 8px; }
}
@media (min-width: 640px) { .bubbles { grid-template-columns: repeat(3, 1fr); } }

/* Formulaire sombre */
.form { background: var(--ink); border-color: var(--ink); color: var(--chalk); box-shadow: 0 24px 50px -28px rgba(0,0,0,.5); }
.form .field input, .form .field select, .form .field textarea { background: #fff; color: #17161b; border-color: transparent; }
.form .field input:hover, .form .field select:hover, .form .field textarea:hover { border-color: var(--red); }
.form .consent { color: var(--chalk-muted); }
.form .consent a, .form .consent button { color: #ff8a7f; }
.form__status[data-state="ok"] { color: #6fdc9b; }
.form__status[data-state="error"] { color: #ff8a7f; }

/* PISTE MOTO */
.track { display: grid; gap: 32px; margin-bottom: clamp(28px, 4vw, 40px); }
.track__map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.track__map img { width: 100%; height: 100%; object-fit: cover; }
.track__info { display: grid; gap: 22px; align-content: start; }
.section--ink .info__item p { color: var(--chalk-muted); }
.section--ink .hours dt { color: var(--chalk); }
.section--ink .hours dd { color: var(--chalk-muted); }
.track__note { max-width: 62rem; padding: 18px 22px; border-left: 3px solid var(--red); color: var(--chalk-muted); background: rgba(255,255,255,.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-bottom: clamp(36px, 5vw, 56px); }
.track__lists { display: grid; gap: 36px; }
.track__lists-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 1.4rem; }
.track__lists-title .ico { width: 26px; height: 26px; color: var(--accent-text); }
.section--ink .checklist .ico { background: var(--red); color: #fff; }
.section--ink .checklist li { color: var(--chalk); }
@media (min-width: 900px) {
  .track { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .track__lists { grid-template-columns: 1fr 1fr; }
}

/* RÉCLAMATIONS */
.chip--kicker { border-color: var(--red); color: var(--accent-text); font-weight: 700; margin-bottom: 4px; }
.doc--link { text-decoration: none; color: inherit; gap: 16px; }
.doc--link:hover .doc__link { color: var(--red); }
.complaints__block { max-width: 62rem; padding: 22px 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); margin-bottom: clamp(36px, 5vw, 56px); }
.complaints__block h3 { margin-bottom: 10px; font-size: 1.3rem; }
.complaints__block p { color: var(--muted); }
.complaints__subtitle { margin-bottom: 20px; }
.info--grid { display: grid; gap: 20px; margin-bottom: clamp(36px, 5vw, 56px); }
.steps { display: grid; gap: 22px; margin: 0 0 clamp(36px, 5vw, 56px); padding: 0; counter-reset: none; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-style: italic; font-weight: 700; font-size: 1.1rem; }
.step h3 { font-size: 1.15rem; margin-bottom: 4px; }
.step p { color: var(--muted); max-width: 62ch; }
.stats--complaints { grid-template-columns: 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 28px; margin-bottom: clamp(36px, 5vw, 56px); margin-top: 0; gap: 22px; }
.complaints__mediation { max-width: 62rem; padding: 24px 28px; border-left: 3px solid var(--red); background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0; }
.complaints__mediation h3 { margin-bottom: 10px; font-size: 1.2rem; }
.complaints__mediation p { color: var(--muted); margin-bottom: 10px; }
.complaints__mediation p:last-child { margin-bottom: 0; }
@media (min-width: 640px) { .info--grid { grid-template-columns: 1fr 1fr; } .stats--complaints { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; } }

/* PLAN DE GESTION DES RÉCLAMATIONS */
.complaint { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.14); display: grid; gap: 28px; justify-items: start; }
.complaint__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.complaint__def { color: var(--chalk-muted); max-width: 62ch; padding: 14px 18px; border-left: 3px solid var(--red); background: rgba(255,255,255,.04); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: 6px; }
.complaint__steps { display: grid; gap: 22px; width: 100%; counter-reset: none; }
.complaint__step { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.complaint__num { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-head); font-style: italic; font-weight: 800; font-size: 1.15rem; }
.complaint__step h4 { font-family: var(--font-head); font-style: italic; text-transform: uppercase; font-weight: 700; font-size: 1.1rem; margin-bottom: 4px; }
.complaint__step p { color: var(--chalk-muted); max-width: 64ch; }
.complaint__escalation { max-width: 62ch; color: var(--chalk-muted); font-style: italic; }
@media (min-width: 900px) {
  .complaint__steps { grid-template-columns: 1fr 1fr; column-gap: 40px; }
}

/* COOKIE BANNER */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: 880px; margin-inline: auto; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: var(--ink); color: var(--chalk); border-radius: var(--radius-sm); padding: 18px 22px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.5);
}
.cookie-banner__inner p { flex: 1 1 320px; font-size: .95rem; color: var(--chalk-muted); margin: 0; }
.cookie-banner__inner a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner .btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }

/* PAGES LÉGALES */
.legal-page__container { max-width: 46rem; }
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 28px; }
.legal-page h2 { font-family: var(--font-body); text-transform: none; font-style: normal; font-weight: 700; font-size: 1.25rem; margin: 34px 0 10px; letter-spacing: 0; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-page ul { margin: 10px 0; padding-left: 22px; list-style: disc; }
.legal-page a { color: var(--accent-text); }
.legal-page__updated { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }

/* PAGE 404 */
.page-404 { min-height: 50vh; display: grid; place-items: center; text-align: center; gap: 18px; padding-block: 40px; }
.page-404__code { font-family: var(--font-head); font-style: italic; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--red); margin: 0; }
.page-404__title { margin: 0; }
.page-404__text { font-size: 1.2rem; color: var(--muted); margin: 0; }

.nav__link, .site-header__cta { white-space: nowrap; }
.complaint__mediator { margin-top: 14px; color: var(--muted); }
#avis .section__head .btn { justify-self: start; }
