/* ==========================================================================
   CAPAS Auxerre — feuille de styles unique
   Organisation : tokens, base, layout, composants, utilitaires, responsive
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Couleurs */
  --bg: #f8f6f1;
  --surface: #ffffff;
  --mint: #eef5f1;
  --ink: #1f2a24;
  --ink-soft: #4a5550;
  --green: #3d6f58;
  --green-dark: #2f5744;
  --green-light: #4f9172;
  --border: #d5ddd8;
  --border-strong: #5d6b64;
  --danger-bg: #fdecec;
  --danger: #b91c1c;
  --danger-ink: #8a1616;
  --todo-bg: #fbf0d8;
  --todo-ink: #4a3a12;
  --todo-border: #8c7327;

  /* Typographie */
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-h1: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.6vw, 2.5rem);
  --fs-h3: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.3125rem);
  --fs-body: 1.125rem;
  --fs-small: 1.0625rem;

  /* Rythme */
  --gutter: 1.5rem;
  --maxw: 75rem;
  --maxw-prose: 51rem;
  --section-y: clamp(3rem, 2rem + 4vw, 4.5rem);
  --radius: 0.75rem;
  --radius-pill: 999px;
  --tap: 2.75rem;
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

h1, h2 { font-family: var(--font-title); font-weight: 600; line-height: 1.2; margin: 0; }
h3, h4 { font-family: var(--font-body); font-weight: 600; line-height: 1.3; margin: 0; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { text-wrap: pretty; margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green); }
a:hover { color: var(--green-dark); }

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

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

/* Lien d'évitement */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 0.5rem;
  display: inline-block;
  padding: 0.75rem 1.125rem;
  background: var(--green-dark);
  color: #fff;
  border-radius: 0.5rem;
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   3. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--prose { max-width: var(--maxw-prose); }
.wrap--mid { max-width: 62.5rem; }

.section { padding-block: var(--section-y); }
.section--surface { background: var(--surface); }
.section--mint { background: var(--mint); }
.section--line { border-bottom: 1px solid var(--border); }

.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr)); gap: 2.5rem; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr)); }
.grid--wide { grid-template-columns: repeat(auto-fit, minmax(18.125rem, 1fr)); }

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
}

.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.5rem; margin-bottom: 0.875rem; font-size: 1.625rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.5rem; padding-left: 1.375rem; display: grid; gap: 0.5rem; }
.prose li { font-size: var(--fs-body); }
.prose p { font-size: var(--fs-body); }

/* --------------------------------------------------------------------------
   4. En-tête et navigation
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  min-height: var(--tap);
  flex: none;
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--green-light);
  color: #fff;
  font-weight: 600;
  font-size: 1.25rem;
  flex: none;
}
.brand__name { display: flex; flex-direction: column; line-height: 1.25; }
.brand__name b { font-weight: 600; font-size: 1.375rem; }
.brand__name span { font-size: 0.9375rem; color: var(--ink-soft); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: var(--tap);
  padding: 0.5rem 0.875rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars {
  display: grid;
  gap: 0.25rem;
  width: 1.25rem;
}
.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1.375rem;
}
.site-nav a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: 0.25rem;
  font-size: 1.0625rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { color: var(--green-dark); text-decoration: underline; }
.site-nav a[aria-current="page"] {
  font-weight: 600;
  color: var(--green-dark);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.header-actions { display: flex; align-items: center; gap: 0.75rem 1.5rem; flex-wrap: wrap; }

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding: 0.625rem 1.375rem;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 1.0625rem;
  font-weight: 600;
  white-space: nowrap;
}
.btn-phone:hover { background: var(--green-dark); color: #fff; }

/* --------------------------------------------------------------------------
   5. Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 1rem 1.875rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1.1875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
}
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--green); border-color: var(--green); }
.btn--ghost:hover { background: var(--mint); color: var(--green-dark); }
.btn--light { background: #fff; color: var(--green-dark); }
.btn--light:hover { background: var(--mint); color: var(--green-dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.link-strong {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  font-size: 1.1875rem;
  font-weight: 700;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* --------------------------------------------------------------------------
   6. Héros
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    linear-gradient(100deg, rgba(47, 87, 68, 0.94) 0%, rgba(47, 87, 68, 0.88) 52%, rgba(79, 145, 114, 0.64) 100%),
    repeating-linear-gradient(135deg, #e4ebe6 0 14px, #f1f5f2 14px 28px);
  border-bottom: 1px solid var(--border);
  color: #fff;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.hero__eyebrow { margin: 0; font-size: 1.125rem; font-weight: 500; color: #e8f0ea; }
.hero h1 { color: #fff; max-width: 24ch; }
.hero__lead { margin: 0; max-width: 56ch; font-size: 1.25rem; font-weight: 500; color: #fff; }

.page-head { padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-bottom: 1px solid var(--border); }
.page-head__eyebrow { margin: 0 0 1rem; font-size: 1.0625rem; color: var(--ink-soft); }
.page-head h1 { margin-bottom: 1.5rem; max-width: 30ch; }
.page-head__lead { margin: 0; max-width: 66ch; font-size: var(--fs-lead); }

.page-head--dark { background: var(--green-dark); color: #f4f8f5; border-bottom: 0; }
.page-head--dark h1 { color: #fff; }
.page-head--dark .page-head__eyebrow { color: #cfe0d6; }
.page-head--dark .page-head__lead { color: #e8f0ea; }

/* --------------------------------------------------------------------------
   7. Cartes
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.card--alt { background: var(--bg); }
.card--mint { background: var(--mint); }
.card h3 { margin-bottom: 0.75rem; font-size: 1.375rem; }
.card p { font-size: var(--fs-body); }

.card-link {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  height: 100%;
  padding: 1.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}
.card-link:hover { background: #e4efe8; border-color: #b6c9be; color: var(--ink); }
.card-link b { font-weight: 600; font-size: 1.4375rem; line-height: 1.3; }
.card-link span { font-size: 1.0625rem; color: var(--ink-soft); }

.list-reset { list-style: none; margin: 0; padding: 0; }

/* Étapes numérotées */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps--cards { grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr)); }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.step__num {
  margin: 0 0 0.625rem;
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--green);
}
.step--row {
  background: var(--bg);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem;
}
.step--row .step__num { font-size: 2.25rem; }
.step h3 { margin-bottom: 0.625rem; font-size: 1.5625rem; }
.step p, .step li { font-size: var(--fs-body); }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.625rem 1.125rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-size: 1.0625rem;
  color: var(--ink);
}
.pill:hover { background: var(--mint); color: var(--green-dark); }

.benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.875rem, 1fr));
  gap: 1.125rem;
}
.benefit-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  font-size: var(--fs-body);
}

/* --------------------------------------------------------------------------
   8. Tableaux
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll--boxed {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table { border-collapse: collapse; width: 100%; font-size: var(--fs-body); }
table caption { text-align: left; font-size: 1.0625rem; color: var(--ink-soft); padding-bottom: 0.75rem; }
th, td { padding: 0.875rem 1rem; text-align: left; vertical-align: top; }
.table--bordered { min-width: 40rem; }
.table--bordered th, .table--bordered td { border: 1px solid var(--border); }
.table--bordered thead th { background: var(--mint); }
.table--bordered tbody tr:nth-child(even) { background: var(--bg); }
.table--bordered th[scope="row"] { font-weight: 700; }

.table--plain { min-width: 32.5rem; }
.table--plain caption { padding: 1.25rem 1.25rem 0.75rem; }
.table--plain th, .table--plain td { padding: 0.875rem 1.25rem; }
.table--plain thead th { background: var(--mint); border-bottom: 1px solid var(--border); }
.table--plain tbody tr:not(:last-child) th,
.table--plain tbody tr:not(:last-child) td { border-bottom: 1px solid var(--border); }

.table--specs { min-width: 32.5rem; }
.table--specs th, .table--specs td { border: 1px solid var(--border); }
.table--specs th[scope="row"] { background: var(--mint); width: 36%; }

/* --------------------------------------------------------------------------
   9. Tarifs
   -------------------------------------------------------------------------- */
.price-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}
.price {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.price--surface { background: var(--surface); }
.price--mint { background: var(--mint); }
.price h3 { margin-bottom: 0.625rem; font-size: 1.375rem; }
.price__amount {
  margin: 0 0 0.375rem;
  font-family: var(--font-title);
  font-size: 2.25rem;
  color: var(--green-dark);
}
.price__note { margin: 0; font-size: 1.0625rem; color: var(--ink-soft); }

.highlight-box {
  background: var(--surface);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  padding: 2rem;
}
.highlight-box h2 { margin-bottom: 0.75rem; color: var(--green-dark); }

/* --------------------------------------------------------------------------
   10. Portraits et médias
   -------------------------------------------------------------------------- */
.media-placeholder {
  display: flex;
  align-items: flex-end;
  min-height: 18.75rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background-image: repeating-linear-gradient(135deg, #e4ebe6 0 12px, #f1f5f2 12px 24px);
}
.media-placeholder--tall { min-height: 21.25rem; }
.media-placeholder--map { min-height: 16.25rem; border-radius: var(--radius); }

/* Marqueur de contenu à compléter */
.todo {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--todo-bg);
  color: var(--todo-ink);
  border: 1px dashed var(--todo-border);
  border-radius: 4px;
  padding: 0.125rem 0.375rem;
  display: inline-block;
}
.todo--block { padding: 0.375rem 0.625rem; }

/* --------------------------------------------------------------------------
   11. Définitions et FAQ
   -------------------------------------------------------------------------- */
.dl-inline { margin: 0; display: grid; gap: 0.875rem; }
.dl-inline > div { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.dl-inline dt { font-weight: 600; min-width: 7.5rem; }
.dl-inline dd { margin: 0; }

.dl-stack { margin: 0; display: grid; gap: 1rem; }
.dl-stack dt { font-weight: 700; font-size: var(--fs-body); }
.dl-stack dd { margin: 0.25rem 0 0; font-size: var(--fs-body); }

.dl-cards {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
  gap: 1.5rem;
}
.dl-cards > div {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.625rem;
}
.dl-cards dt { font-weight: 700; font-size: var(--fs-body); margin-bottom: 0.5rem; }
.dl-cards dd { margin: 0; font-size: var(--fs-body); }

.faq { display: grid; gap: 0.875rem; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}
.faq summary {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  font-weight: 600;
  font-size: 1.4375rem;
  line-height: 1.3;
  cursor: pointer;
}
.faq summary::marker { color: var(--green); }
.faq details p { margin-top: 0.875rem; font-size: var(--fs-body); }

/* --------------------------------------------------------------------------
   12. Formulaire
   -------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 1.5rem;
  max-width: 35rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}
.field { display: grid; gap: 0.5rem; }
.field label { font-size: var(--fs-body); font-weight: 700; }
.field__hint { margin: 0; font-size: 1.0625rem; color: var(--ink-soft); }

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-strong);
  border-radius: 0.625rem;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 1.1875rem;
}
textarea { min-height: 8rem; line-height: 1.5; resize: vertical; }

input:focus-visible, textarea:focus-visible { border-color: var(--green); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--danger); }

.field--check { display: flex; gap: 0.875rem; align-items: flex-start; }
.field--check input {
  width: 1.625rem;
  height: 1.625rem;
  margin-top: 0.375rem;
  flex: none;
  accent-color: var(--green);
}
.field--check label { font-size: var(--fs-body); font-weight: 400; }

.form-errors {
  padding: 1.125rem 1.25rem;
  background: var(--danger-bg);
  border: 2px solid var(--danger);
  border-radius: 0.625rem;
}
.form-errors p { margin: 0 0 0.5rem; font-weight: 700; font-size: var(--fs-body); color: var(--danger-ink); }
.form-errors ul { margin: 0; padding-left: 1.375rem; font-size: var(--fs-body); color: var(--danger-ink); }

.form-success {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--mint);
  border: 2px solid var(--green);
  border-radius: var(--radius);
  font-size: 1.1875rem;
}

.hidden { display: none !important; }

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

.form-note { margin: 1.25rem 0 0; font-size: 1.0625rem; max-width: 56ch; color: var(--ink-soft); }

.phone-block {
  display: inline-flex;
  align-items: center;
  min-height: 4.5rem;
  padding: 1.125rem 2rem;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  font-size: 1.625rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0 0 1.5rem;
}
.phone-block:hover { background: var(--green-dark); color: #fff; }

/* --------------------------------------------------------------------------
   13. Bandeau prescripteurs et pied de page
   -------------------------------------------------------------------------- */
.presc-band { background: var(--green-dark); color: #f4f8f5; }
.presc-band .wrap { padding-block: 2.5rem; }
.presc-band h2 { font-family: var(--font-body); font-size: 1.625rem; margin-bottom: 0.5rem; color: #fff; }
.presc-band p { margin: 0; font-size: var(--fs-body); color: #e7e3da; }

.site-footer { background: var(--green-dark); color: #eaf3ed; }
.site-footer a { color: #eaf3ed; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 2.25rem 2.5rem;
  padding-block: 3.5rem 2rem;
}
.footer-grid h2 { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; margin: 0 0 0.75rem; color: #fff; }
.footer-brand { font-family: var(--font-body); font-weight: 600; font-size: 1.375rem; margin: 0 0 0.75rem; color: #fff; }
.footer-grid p { margin: 0 0 0.375rem; font-size: 1.0625rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.footer-nav a { display: flex; align-items: center; min-height: 2.5rem; font-size: 1.0625rem; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  align-items: center;
  padding-block: 1.25rem 2.75rem;
  border-top: 1px solid var(--green);
}
.footer-legal p { margin: 0; font-size: 1rem; color: #cfe0d6; }
.footer-legal a { display: flex; align-items: center; min-height: var(--tap); font-size: 1rem; }

/* --------------------------------------------------------------------------
   14. Utilitaires
   -------------------------------------------------------------------------- */
.lead { font-size: var(--fs-lead); }
.small { font-size: var(--fs-small); }
.muted { color: var(--ink-soft); }
.measure { max-width: 64ch; }
.measure-sm { max-width: 58ch; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2.5rem; }
.self-start { align-self: start; }
.text-green { color: var(--green-dark); }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }

.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;
}

/* --------------------------------------------------------------------------
   15. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 60rem) {
  .site-header__inner { flex-wrap: wrap; }

  .nav-toggle { display: inline-flex; }

  .header-actions {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding-block: 0.5rem 1rem;
    border-top: 1px solid var(--border);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    min-height: 3.25rem;
    padding-inline: 0.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.1875rem;
  }

  .header-actions .btn-phone { display: none; }
  .site-nav.is-open + .btn-phone,
  .header-actions .btn-phone.is-visible { display: inline-flex; justify-content: center; margin-top: 1rem; }
}

@media (max-width: 48rem) {
  body { font-size: 1.125rem; }
  :root { --gutter: 1rem; }

  .grid--2 { gap: 2rem; }
  .split { gap: 1.25rem; }

  .step--row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.5rem; }

  .btn, .btn--primary, .btn--ghost { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row .btn { width: 100%; }

  .phone-block { width: 100%; justify-content: center; font-size: 1.375rem; padding-inline: 1rem; }

  .faq summary { font-size: 1.25rem; }

  .card, .card-link, .step, .price, .highlight-box { padding: 1.25rem; }
}

@media (max-width: 30rem) {
  .brand__name b { font-size: 1.1875rem; }
  .brand__name span { font-size: 0.875rem; }
  .brand__mark { width: 2.5rem; height: 2.5rem; font-size: 1.0625rem; }
}

/* --------------------------------------------------------------------------
   16. Préférences système
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .site-header, .site-footer, .presc-band, .skip-link, .btn, .nav-toggle { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
