/* ==========================================================================
   KESSAS DRIVER — design system partagé (Accueil, Véhicules, Contact)
   Noir mat + or champagne + ivoire. Mobile d'abord ; les adaptations
   écran large sont dans responsive.css.
   ========================================================================== */

/* ---------- Polices (auto-hébergées, aucun appel externe) ---------- */
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/bodoni-moda-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Bodoni Moda";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2");
}

/* ---------- Jetons ---------- */
:root {
  /* Palette */
  --ink: #0f0f10;
  --charcoal: #171719;
  --graphite: #222225;
  --ivory: #f3eee4;
  --ivory-deep: #e8e1d1;
  --gold: #c8a96b;
  --gold-hi: #dcc48d;
  --gold-deep: #7a5c25;
  --grey: #a8a49b;
  --grey-deep: #5b574e;
  --wa: #25d366;
  --wa-hover: #128c7e;
  --danger-dark: #ff9f8f;
  --danger-light: #9a2b1b;

  /* Thème courant (surchargé par .theme-ivory / .theme-charcoal) */
  --bg: var(--ink);
  --fg: var(--ivory);
  --muted: var(--grey);
  --rule: rgba(243, 238, 228, 0.16);
  --accent: var(--gold);
  --danger: var(--danger-dark);

  /* Typographie */
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Mise en page */
  --gutter: clamp(20px, 5vw, 56px);
  --maxw: 1240px;
  --header-h: 68px;
  --radius: 2px;
}

.theme-charcoal {
  --bg: var(--charcoal);
}
.theme-ivory {
  --bg: var(--ivory);
  --fg: var(--ink);
  --muted: var(--grey-deep);
  --rule: rgba(15, 15, 16, 0.18);
  --accent: var(--gold-deep);
  --danger: var(--danger-light);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}
ul {
  padding: 0;
  list-style: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.theme-ivory :focus-visible {
  outline-color: var(--gold-deep);
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--maxw), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* ---------- Typographie ---------- */
.display,
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
}
h1 {
  font-size: clamp(2.5rem, 9vw, 4.75rem);
  line-height: 1.04;
}
h2 {
  font-size: clamp(1.9rem, 5.2vw, 3.1rem);
  line-height: 1.1;
}
h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.2;
}
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  color: var(--muted);
  max-width: 34em;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}
.muted {
  color: var(--muted);
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.97rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
.btn--gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}
.btn--gold:hover {
  background: var(--gold-hi);
  border-color: var(--gold-hi);
}
.theme-ivory .btn--gold {
  background: #bd9d5d;
  border-color: #a98a4d;
}
.theme-ivory .btn--gold:hover {
  background: #cdb077;
}
.btn--ghost {
  border-color: rgba(243, 238, 228, 0.4);
  color: var(--ivory);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-hi);
}
.theme-ivory .btn--ghost {
  border-color: rgba(15, 15, 16, 0.4);
  color: var(--ink);
}
.theme-ivory .btn--ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: rgba(15, 15, 16, 0.05);
}
.btn--wa {
  background: var(--wa);
  border-color: var(--wa);
  color: #06210f;
}
.btn--wa:hover {
  background: var(--wa-hover);
  border-color: var(--wa-hover);
  color: #fff;
}
.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.text-link {
  display: inline-block;
  padding-block: 4px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color 0.2s ease;
}
.text-link:hover {
  color: var(--fg);
}

/* ---------- Icônes ---------- */
.icon {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill {
  fill: currentColor;
  stroke: none;
}

/* ---------- Marque (logotype) ---------- */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: var(--gold);
  text-decoration: none;
  line-height: 1;
}
.wordmark__name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.16em;
  margin-right: -0.16em;
}
.wordmark__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.52em;
  margin-right: -0.52em;
}
.wordmark__sub::before,
.wordmark__sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

/* ---------- En-tête ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(15, 15, 16, 0.96);
  border-bottom: 1px solid rgba(243, 238, 228, 0.1);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.site-header--overlay:not(.is-scrolled):not(.is-open) {
  background: linear-gradient(180deg, rgba(15, 15, 16, 0.78), rgba(15, 15, 16, 0));
  border-bottom-color: transparent;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--header-h);
}
.header-inner > .wordmark,
.header-actions {
  position: relative;
  z-index: 2;
}
.header-inner > .wordmark {
  justify-self: start;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--ivory);
}
.nav-toggle__bars {
  position: relative;
  display: block;
  width: 24px;
  height: 14px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}
.nav-toggle__bars::before {
  top: 2px;
}
.nav-toggle__bars::after {
  top: 11px;
}
.is-open .nav-toggle__bars::before {
  top: 6.5px;
  transform: rotate(45deg);
}
.is-open .nav-toggle__bars::after {
  top: 6.5px;
  transform: rotate(-45deg);
}

/* Panneau de navigation mobile */
.site-nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 16px) var(--gutter) 40px;
  background: var(--ink);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.is-open .site-nav {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.25s ease;
}
.site-nav ul {
  display: grid;
  gap: 4px;
}
.site-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(243, 238, 228, 0.12);
  font-family: var(--font-display);
  font-size: 2rem;
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--gold);
}
.site-nav__note {
  margin-top: 28px;
  color: var(--grey);
  font-size: 0.95rem;
}

/* ---------- Sections ---------- */
.section {
  background: var(--bg);
  color: var(--fg);
  padding-block: clamp(64px, 9vw, 120px);
}
.section__head {
  max-width: 40rem;
}
.section__head h2 + p {
  margin-top: 20px;
}
.section__head .lead + .lead {
  margin-top: 14px;
}

/* ---------- Héros (accueil) ---------- */
.hero {
  position: relative;
  background: var(--ink);
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: relative;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--ink) 0, rgba(15, 15, 16, 0) 14%),
    linear-gradient(0deg, var(--ink) 0, rgba(15, 15, 16, 0) 34%);
}
.hero__content {
  position: relative;
  z-index: 2;
  margin-top: -34px;
  padding-bottom: clamp(48px, 8vw, 80px);
}
.hero h1 {
  max-width: 11ch;
}
.hero__lead {
  margin-top: 22px;
  max-width: 30em;
  color: rgba(243, 238, 228, 0.84);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.hero__note {
  margin-top: 22px;
  max-width: 30em;
  color: var(--grey);
  font-size: 0.9rem;
}

/* ---------- Prestations ---------- */
.services__list {
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
.service {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 18px;
  row-gap: 6px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.service .icon {
  grid-row: 1 / span 3;
  margin-top: 4px;
  color: var(--accent);
}
.service p {
  color: var(--muted);
  max-width: 34em;
}
.service .text-link {
  justify-self: start;
  margin-top: 6px;
}

/* ---------- Véhicule ---------- */
.vehicle__figure {
  position: relative;
}
.vehicle__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 72%;
  background: var(--graphite);
}
.vehicle__figure figcaption,
.figure-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
}
.vehicle__body {
  margin-top: 36px;
}
.vehicle__body h2 {
  margin-bottom: 20px;
}
.spec-list {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}
.spec-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.spec-list dt {
  color: var(--muted);
}
.spec-list dd {
  font-weight: 500;
  text-align: right;
}
.vehicle__note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.93rem;
}
.vehicle__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 30px;
}

/* ---------- Valeurs ---------- */
.values__grid {
  margin-top: 44px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule);
}
.value {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.value .icon {
  grid-row: 1 / span 2;
  margin-top: 2px;
  color: var(--accent);
}
.value h3 {
  font-size: 1.4rem;
}
.value p {
  margin-top: 6px;
  color: var(--muted);
}

/* ---------- Bandeau final ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink);
  padding-block: clamp(72px, 10vw, 128px);
}
.cta-band__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 40%;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(15, 15, 16, 0.94), rgba(15, 15, 16, 0.78));
}
.cta-band h2 {
  max-width: 14ch;
}
.cta-band p {
  margin-top: 18px;
  max-width: 30em;
  color: rgba(243, 238, 228, 0.82);
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  margin-top: 32px;
}

/* ---------- Couverture de page (Véhicules, Contact) ---------- */
.page-cover {
  background: var(--ink);
  padding-top: calc(var(--header-h) + clamp(44px, 8vw, 96px));
  padding-bottom: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid rgba(243, 238, 228, 0.1);
}
.page-cover h1 {
  font-size: clamp(2.2rem, 7vw, 4rem);
  max-width: 16ch;
}
.page-cover .lead {
  margin-top: 22px;
}
.page-cover__meta {
  margin-top: 28px;
  color: var(--grey);
  font-size: 0.92rem;
}

/* ---------- Page Véhicules ---------- */
.showcase__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 72%;
  background: var(--graphite);
}
.showcase__body {
  margin-top: 32px;
}
.showcase__body h2 {
  margin-bottom: 18px;
}
.editorial-wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--graphite);
}
.editorial-wide__text {
  margin-top: 28px;
}
.editorial-wide__text h2 {
  margin-bottom: 16px;
}
.prepare-list {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
}
.prepare-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
}
.prepare-list strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}
.prepare-list span {
  color: var(--muted);
}

/* ---------- Page Contact ---------- */
.booking-layout {
  display: grid;
  gap: 48px;
}
.booking-panel h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.booking-panel > .lead {
  margin-top: 12px;
}
.booking-aside {
  display: grid;
  gap: 36px;
  align-content: start;
}
.aside-block h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}
.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  border-top: 1px solid var(--rule);
}
.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.2;
}
.steps strong {
  color: var(--fg);
  font-weight: 600;
}
.aside-vehicle img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: 50% 66%;
  background: var(--graphite);
}
.aside-vehicle p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Formulaire */
.form-errors {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--danger);
  border-left-width: 4px;
  color: var(--fg);
  background: rgba(154, 43, 27, 0.07);
}
.form-errors h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--danger);
}
.form-errors ul {
  margin-top: 8px;
  display: grid;
  gap: 4px;
}
.form-errors a {
  color: var(--fg);
  text-underline-offset: 3px;
}
fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.fieldset {
  margin-top: 36px;
}
.fieldset legend {
  float: left;
  width: 100%;
  margin-bottom: 18px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display);
  font-size: 1.35rem;
}
.fieldset legend + * {
  clear: both;
}
.field-grid {
  display: grid;
  gap: 20px;
}
.field {
  min-width: 0;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.93rem;
  font-weight: 600;
}
.field .optional {
  color: var(--muted);
  font-weight: 400;
}
.field .req {
  color: var(--accent);
}
.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  background: #fbf8f1;
  border: 1px solid rgba(15, 15, 16, 0.38);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, #5b574e 50%),
    linear-gradient(135deg, #5b574e 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--ink);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 1px;
  border-color: var(--ink);
}
.field [aria-invalid="true"] {
  border-color: var(--danger-light);
  box-shadow: inset 3px 0 0 var(--danger-light);
}
.field__hint {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}
.field__error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 500;
}
.field__error:empty {
  display: none;
}
.form-actions {
  margin-top: 36px;
}
.form-actions p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 36em;
}

/* Étape de vérification */
.review h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
}
.review__list {
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}
.review__list > div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.review__list dt {
  color: var(--muted);
  font-size: 0.9rem;
}
.review__list dd {
  font-weight: 500;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.review__preview {
  margin-top: 28px;
}
.review__preview summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}
.review__preview pre {
  margin: 14px 0 0;
  padding: 18px;
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  background: rgba(15, 15, 16, 0.06);
  border: 1px solid var(--rule);
  font-family: var(--font-body);
  font-size: 0.93rem;
  line-height: 1.6;
}
.review__notice {
  margin-top: 28px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold-deep);
  background: rgba(15, 15, 16, 0.05);
  color: var(--fg);
}
.review__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.opened-status {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--rule);
}
.opened-status h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
}
.opened-status p {
  margin-top: 8px;
  color: var(--muted);
}
.opened-status__tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 14px;
}
.link-button {
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}
.privacy {
  max-width: 44rem;
}
.privacy p + p {
  margin-top: 14px;
}
.privacy h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}
.noscript-note {
  padding: 18px 20px;
  border: 1px solid var(--rule);
  margin-top: 24px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  background: var(--ink);
  border-top: 1px solid rgba(243, 238, 228, 0.12);
  padding-block: 56px 32px;
  color: var(--ivory);
}
.footer-grid {
  display: grid;
  gap: 36px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 24em;
  color: var(--grey);
  font-size: 0.93rem;
}
.footer-brand .wordmark {
  align-items: flex-start;
}
.footer-col h2 {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.footer-col ul {
  display: grid;
  gap: 4px;
}
.footer-col a {
  display: inline-block;
  padding: 6px 0;
  color: var(--ivory);
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--gold-hi);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-col .footer-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-col .footer-wa svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(243, 238, 228, 0.12);
  color: var(--grey);
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--grey);
  text-underline-offset: 4px;
}
.footer-bottom a:hover {
  color: var(--ivory);
}

/* ---------- Mouvement : une seule séquence d'arrivée (héros) ---------- */
[data-rise="1"] { --i: 1; }
[data-rise="2"] { --i: 2; }
[data-rise="3"] { --i: 3; }
[data-rise="4"] { --i: 4; }
@media (prefers-reduced-motion: no-preference) {
  [data-rise] {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    animation-delay: calc(var(--i, 0) * 110ms + 80ms);
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
