/* ==========================================================================
   Garage Moderne GT — feuille de style unique
   Palette issue du site actuel : jaune #f9b52d, bleu #0b539f, noirs.
   Mobile d'abord. Aucune dépendance externe (sauf polices Google).
   ========================================================================== */

/* --- 1. Réglages de base ------------------------------------------------- */

:root {
  /* Marque (couleurs réelles) */
  --amber: #f9b52d;
  --amber-light: #fde4a8;
  --amber-pale: #fff7e6;
  --amber-deep: #b87f10;
  --blue: #0b539f;
  --blue-dark: #083d76;
  --blue-pale: #eef4fb;

  /* Neutres dérivés */
  --ink: #14161a;
  --ink-soft: #22262c;
  --text: #2b3139;
  --muted: #5a6470;
  --line: #dde1e6;
  --line-soft: #ebeef1;
  --surface: #ffffff;
  --surface-2: #f5f6f8;

  /* Mesures */
  --wrap: 1140px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 4px;
  --radius-lg: 8px;
  --shadow: 0 1px 2px rgba(20, 22, 26, .06), 0 8px 24px rgba(20, 22, 26, .07);

  /* Typographie */
  --font-display: "Barlow Condensed", "Arial Narrow", Arial, system-ui, sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img,
svg,
iframe {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: .005em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 4.2vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.55rem); }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--blue-dark); }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .3em; }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

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

.dark :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--amber);
}

::selection { background: var(--amber); color: var(--ink); }

/* --- 2. Utilitaires ------------------------------------------------------ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 760px; }

/* Garde-fou : aucune colonne de grille ne déborde horizontalement. */
.hero-inner > *,
.svc > *,
.cols > *,
.contact-grid > *,
.footer-grid > * { min-width: 0; }

/* Très petits écrans (320 px) : on laisse de la place au bouton Menu. */
@media (max-width: 24em) {
  .brand-name,
  .brand-gt { font-size: 1.05rem; }
  .nav-toggle { padding: .5rem .65rem; }
}

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

.skip-link {
  position: absolute;
  left: .5rem;
  top: -4rem;
  z-index: 200;
  background: var(--amber);
  color: var(--ink);
  font-weight: 600;
  padding: .7rem 1.1rem;
  border-radius: var(--radius);
  transition: top .15s ease;
}
.skip-link:focus { top: .5rem; }

.section { padding-block: clamp(2.75rem, 7vw, 4.75rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3rem); }
.section--alt { background: var(--surface-2); }

.section-head { max-width: 62ch; margin-bottom: clamp(1.5rem, 4vw, 2.25rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .45rem;
}
.dark .eyebrow { color: var(--amber); }

.lede {
  font-size: clamp(1.1rem, 2.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

.dark {
  background: var(--ink);
  color: #e9ebee;
}
.dark h1, .dark h2, .dark h3 { color: #fff; }
.dark a { color: var(--amber); }

/* --- 3. Boutons ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  padding: .82rem 1.3rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.btn svg { flex: none; }

.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.btn--primary:hover { background: #e8a51d; border-color: #e8a51d; color: var(--ink); }

.btn--blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn--blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--muted); }

.dark .btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .38); }
.dark .btn--ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--amber);
  padding-bottom: 1px;
}
.link-arrow:hover { border-bottom-color: var(--blue); }

/* --- 4. En-tête et navigation -------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--amber);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  text-decoration: none;
  margin-right: auto;
  padding-block: .6rem;
}

.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.6vw, 1.7rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
  line-height: 1;
}

.brand-gt {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4.6vw, 1.7rem);
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

/* Appel à l'action de l'en-tête : visible seulement là où la navigation est déployée. */
.header-cta {
  display: none;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  padding: .55rem .8rem;
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--amber); color: var(--amber); }
.nav-toggle svg { fill: currentColor; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

.site-nav {
  display: none;
  order: 3;            /* passe sous la ligne du logo quand le menu s'ouvre */
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding-block: .5rem 1rem;
}
.site-nav.is-open { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: .72rem .25rem;
  color: #e9ebee;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.site-nav a:hover { color: var(--amber); }
.site-nav a[aria-current="page"] { color: var(--amber); }

.site-nav .nav-phone {
  margin-top: .9rem;
  border-bottom: 0;
}
.site-nav .nav-phone .btn { width: 100%; }

@media (min-width: 62em) {
  .nav-toggle { display: none; }
  .header-cta { display: inline-flex; }

  .site-nav {
    display: block;
    order: 0;
    width: auto;
    border-top: 0;
    padding: 0;
    margin-right: 1.25rem;
  }
  .site-nav ul { display: flex; align-items: center; gap: .15rem; }
  .site-nav a {
    border-bottom: 3px solid transparent;
    padding: 1.45rem .8rem 1.2rem;
    font-size: 1.12rem;
    text-transform: uppercase;
    letter-spacing: .05em;
  }
  .site-nav a:hover { border-bottom-color: rgba(249, 181, 45, .5); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--amber); }
  .site-nav .nav-phone { display: none; }
}

/* --- 5. Bandeau héros ---------------------------------------------------- */

.hero {
  background: var(--ink);
  color: #e9ebee;
  border-bottom: 1px solid #000;
}

.hero-inner {
  display: grid;
  gap: clamp(1.75rem, 5vw, 3rem);
  padding-block: clamp(2.25rem, 6vw, 4rem);
  align-items: center;
}

.hero h1 { color: #fff; margin-bottom: .35em; }

.hero .since {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--amber);
  padding: .3rem .7rem;
  border-radius: var(--radius);
  margin-bottom: 1.1rem;
}

.hero p { color: #c9ced5; }
.hero .lede { color: #dfe3e8; }

.hero-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
}
.hero-media img { width: 100%; height: auto; }

.hero-media figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(10, 11, 13, .92), rgba(10, 11, 13, 0));
  color: #fff;
  font-size: .92rem;
  padding: 2.25rem .9rem .7rem;
}

@media (min-width: 56em) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; }
}

/* Bandeau d'infos pratiques sous le héros */
.quickbar { background: var(--amber); color: var(--ink); }

.quickbar-inner {
  display: grid;
  gap: 1px;
  background: rgba(20, 22, 26, .18);
  border-radius: 0;
}

.quickbar-item {
  background: var(--amber);
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: 1rem var(--gutter);
}
.quickbar-item svg { fill: var(--ink); flex: none; margin-top: .15rem; }
.quickbar-item .label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.quickbar-item .value { font-size: .98rem; line-height: 1.45; }
.quickbar-item a { color: var(--ink); font-weight: 600; }

@media (min-width: 48em) {
  .quickbar-inner {
    grid-template-columns: repeat(3, 1fr);
    max-width: var(--wrap);
    margin-inline: auto;
  }
  .quickbar-item { padding-inline: clamp(1rem, 2.5vw, 1.75rem); }
  /* Les bords du bandeau s'alignent sur la gouttière du reste de la page. */
  .quickbar-item:first-child { padding-left: var(--gutter); }
  .quickbar-item:last-child { padding-right: var(--gutter); }
}

/* --- 6. Blocs éditoriaux de service -------------------------------------- */

.svc {
  display: grid;
  gap: clamp(1.25rem, 3.5vw, 2.5rem);
  padding-block: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
  align-items: start;
  scroll-margin-top: 5.5rem;
}
.svc:first-of-type { border-top: 0; padding-top: 0; }

.svc-media {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.svc-media img { width: 100%; height: auto; }

.svc-body h2,
.svc-body h3 { margin-bottom: .45em; }

@media (min-width: 52em) {
  .svc { grid-template-columns: 420px 1fr; }
  .svc--reverse .svc-media { order: 2; }
}

/* --- 7. Listes et grilles ------------------------------------------------ */

.cols {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (min-width: 44em) { .cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60em) { .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 44em) and (max-width: 59.99em) { .cols--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: .4rem .9rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
}

.checklist li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0;
  line-height: 1.45;
  padding-block: .22rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .55rem;
  height: .55rem;
  background: var(--amber);
  border-radius: 1px;
  transform: rotate(45deg);
}

.checklist--compact li { font-size: .98rem; }

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.85rem);
}
.panel h3 { margin-bottom: .4em; }
.panel--blue { border-top-color: var(--blue); }
.panel--flat { border-top-width: 1px; border-top-color: var(--line); }

.callout {
  background: var(--blue-pale);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem;
  margin-block: 1.5rem;
}
.callout p:last-child { margin-bottom: 0; }
.callout--amber { background: var(--amber-pale); border-left-color: var(--amber-deep); }

/* --- 8. Partenaires ------------------------------------------------------ */

.partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 4vw, 3rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.partners li { margin: 0; display: flex; align-items: center; }
.partners img {
  width: auto;
  height: auto;
  max-height: 3.5rem;
  max-width: 11rem;
}

.partner-autopro {
  background: var(--ink);
  padding: .7rem 1rem;
  border-radius: var(--radius);
}

.brands-strip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 1.75rem);
  margin: 0;
}
.brands-strip img { width: 100%; height: auto; }
.brands-strip figcaption {
  color: var(--muted);
  font-size: .95rem;
  margin-top: .9rem;
  text-align: center;
}

/* --- 9. Horaires --------------------------------------------------------- */

.hours {
  margin: 0;
  display: grid;
  gap: .1rem;
}
.hours div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid var(--line-soft);
}
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; color: var(--ink); }
.hours dd { margin: 0; color: var(--text); }

/* --- 10. Contact et formulaire ------------------------------------------- */

.contact-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
@media (min-width: 58em) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}

.contact-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-list li { display: flex; gap: .8rem; margin: 0; }
.contact-list svg { fill: var(--blue); flex: none; margin-top: .25rem; }
.contact-list .label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink);
}
.contact-list a { font-weight: 600; }
.contact-list address { font-style: normal; line-height: 1.6; margin-bottom: .2rem; }
.contact-list p { margin: .2rem 0 0; }
.contact-list .hours { margin-top: .2rem; }

.contact-photo {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-2);
}
.contact-photo img { width: 100%; height: auto; display: block; }
.contact-photo figcaption {
  color: var(--muted);
  font-size: .95rem;
  padding: .7rem .9rem .8rem;
}

.form-card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3.5vw, 2rem);
}

.field { margin-bottom: 1.1rem; }

.field label {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .3rem;
}

.field .hint {
  display: block;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 400;
  margin-top: .1rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid #b9c0c8;
  border-radius: var(--radius);
  padding: .7rem .8rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field textarea { min-height: 9rem; resize: vertical; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath fill='%235a6470' d='M1.4 0 7 5.6 12.6 0 14 1.4 7 8.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  padding-right: 2.4rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 83, 159, .18);
  outline: none;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 0; }

.req { color: #a4301a; font-weight: 700; }

.form-note {
  font-size: .92rem;
  color: var(--muted);
  margin-top: 1rem;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  background: #e8f3ea;
  border: 1px solid #a9ceb3;
  color: #1d4427;
}
.form-status[hidden] { display: none; }
.form-status strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.form-status--error { background: #fdeceb; border-color: #e0b2ad; color: #7d241a; }

/* --- 11. Pied de page ---------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: #b9c0c8;
  padding-block: clamp(2.25rem, 5vw, 3.25rem) 1.5rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (min-width: 46em) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.site-footer h2 {
  font-size: 1.15rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .8rem;
}

.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--amber); }

.site-footer address { font-style: normal; line-height: 1.7; }

.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.25rem;
  font-size: .92rem;
  color: #8f97a1;
}

/* --- 12. Barre d'action mobile ------------------------------------------- */

.action-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .25);
  border-top: 1px solid var(--ink);
  box-shadow: 0 -4px 16px rgba(20, 22, 26, .18);
}

.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem .5rem;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
}
.action-bar a svg { fill: var(--amber); flex: none; }
.action-bar a.is-primary { background: var(--amber); color: var(--ink); }
.action-bar a.is-primary svg { fill: var(--ink); }

body { padding-bottom: 3.6rem; }

@media (min-width: 62em) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* --- 13. Fil d'Ariane ---------------------------------------------------- */

.breadcrumb {
  font-size: .95rem;
  color: var(--muted);
  padding-block: 1rem .25rem;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .5rem;
  margin: 0;
  padding: 0;
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: .5rem; color: var(--line); }

/* --- 14. En-tête de page intérieure -------------------------------------- */

.page-head {
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.5rem, 4vw, 2.75rem);
}
.page-head .lede { color: var(--text); max-width: 65ch; }
.page-head h1 { margin-bottom: .3em; }

/* Sommaire ancré */
.toc {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.toc li { margin: 0; }
.toc a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .38rem .85rem;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.toc a:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }

/* --- 15. Appel à l'action de bas de page --------------------------------- */

.cta-band { background: var(--ink); color: #e9ebee; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9ced5; max-width: 58ch; }

.cta-inner {
  display: grid;
  gap: 1.5rem;
  padding-block: clamp(2.25rem, 5vw, 3.25rem);
  align-items: center;
}
@media (min-width: 52em) {
  .cta-inner { grid-template-columns: 1.4fr auto; }
  .cta-inner .btn-row { margin-top: 0; }
}

/* --- 16. Préférences d'animation réduites -------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- 17. Impression ------------------------------------------------------ */

@media print {
  .site-header, .action-bar, .cta-band, .form-card, .toc { display: none !important; }
  body { padding-bottom: 0; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
