/* ==========================================================================
   [NOM] — feuille de style
   Mobile d'abord. Blanc, gris très clair, texte quasi noir, liens bleus.
   Une seule police : Inter.
   ========================================================================== */

/* ---------- Police (Inter variable, sous-ensemble latin, hébergée localement) ---------- */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --white: #FFFFFF;
  --grey: #F5F5F7;
  --text: #1D1D1F;
  --text-2: #6E6E73;
  --blue: #0066CC;
  --separator: #D2D2D7;     /* séparateurs (FAQ, footer) */
  --field-border: #86868B;  /* contour des champs : 3:1 minimum sur blanc comme sur #F5F5F7 */

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --container: 1068px;
  --container-wide: 1360px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);
  --header-h: 3rem;

  --radius-lg: 24px;
  --radius-md: 20px;
  --radius-sm: 12px;

  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a[href^="tel:"] { white-space: nowrap; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }

::selection { background: rgba(0, 102, 204, 0.18); }

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

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.container--medium { max-width: calc(50rem + 2 * var(--gutter)); }
.container--narrow { max-width: calc(45rem + 2 * var(--gutter)); }

.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: 1rem; top: -3.5rem;
  z-index: 100;
  padding: 0.625rem 1rem;
  border-radius: 980px;
  background: var(--text);
  color: var(--white);
  font-size: 0.875rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.5rem; }

/* ---------- Typographie ---------- */

.eyebrow {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-2);
}

.section-head {
  max-width: 48rem;
  margin-inline: auto;
  text-align: center;
}
.section-title {
  margin-top: 0.5rem;
  font-size: clamp(2.125rem, 1.35rem + 3.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.section-lead {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--text-2);
  text-wrap: pretty;
}
.section-head + * { margin-top: clamp(3rem, 6vw, 5rem); }

/* ---------- Boutons & liens ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.75rem 1.375rem;
  border: 0;
  border-radius: 980px;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn--primary { background: var(--text); color: var(--white); }
.btn--primary:hover { background: #333336; }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 2rem; padding: 0.375rem 0.875rem; font-size: 0.875rem; }
.btn--lg { min-height: 3.125rem; padding: 0.875rem 1.625rem; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

.link { color: var(--blue); }
.link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.link__chevron {
  display: inline-block;
  margin-left: 0.1em;
  transition: transform 0.2s var(--ease);
}
.link:hover .link__chevron { transform: translateX(2px); }
.link--lg { font-size: 1.0625rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
}
/* Fond translucide + flou sur un pseudo-élément : un backdrop-filter posé
   sur le header lui-même piégerait le menu mobile (position: fixed). */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 transparent;
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled::before { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }
.site-header.is-open::before { background: var(--white); box-shadow: none; }
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before { background: rgba(255, 255, 255, 0.97); }
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
}

.logo {
  position: relative;
  z-index: 2;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-header__actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-header.is-open .site-header__cta { visibility: hidden; }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  padding: 0 12px;
  background: none;
  border: 0;
  color: var(--text);
  cursor: pointer;
}
.burger__line {
  display: block;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out);
}
.burger[aria-expanded="true"] .burger__line:first-child { transform: translateY(3.75px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Menu mobile plein écran */
.nav {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 1.25rem) var(--gutter) 2.5rem;
  background: var(--white);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}
.nav.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s var(--ease);
}
.nav__link {
  display: block;
  padding: 0.5rem 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.nav__extra {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.nav.is-open .nav__list > li,
.nav.is-open .nav__extra { animation: menu-in 0.5s var(--ease-out) both; }
.nav.is-open .nav__list > li:nth-child(2) { animation-delay: 40ms; }
.nav.is-open .nav__list > li:nth-child(3) { animation-delay: 80ms; }
.nav.is-open .nav__list > li:nth-child(4) { animation-delay: 120ms; }
.nav.is-open .nav__extra { animation-delay: 170ms; }
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 834px) {
  .site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
  .logo { justify-self: start; }
  .site-header__actions { justify-self: end; }
  .burger { display: none; }

  .nav {
    position: static;
    display: block;
    padding: 0;
    background: none;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav__list { display: flex; gap: 2.25rem; }
  .nav__link {
    padding: 0.25rem 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -0.01em;
    opacity: 0.8;
    transition: opacity 0.2s var(--ease);
  }
  .nav__link:hover { opacity: 1; }
  .nav__extra { display: none; }
}

/* ---------- Photos (placeholder tant que le fichier manque) ---------- */

.ph {
  position: relative;
  overflow: hidden;
  background: var(--grey);
}
.ph::after {
  content: "Photo à venir";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.875rem;
  color: var(--text-2);
}
.ph img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent; /* masque le texte alt si l'image manque */
  transition: opacity 0.6s var(--ease);
}
.js .ph img { opacity: 0; }
.js .ph img.is-loaded { opacity: 1; }
.ph:has(img.is-loaded)::after { content: none; }

/* ---------- Hero ---------- */

.hero {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
  text-align: center;
}
.hero__title {
  margin-top: 0.75rem;
  font-size: clamp(2.75rem, 7.4vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.hero__title span { display: block; }
.hero__lead {
  max-width: 38rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1.1875rem, 1rem + 0.9vw, 1.625rem);
  line-height: 1.38;
  letter-spacing: -0.018em;
  color: var(--text-2);
  text-wrap: balance;
}
@media (min-width: 734px) {
  /* Une phrase par ligne */
  .hero__lead { max-width: none; }
  .hero__lead span { display: block; }
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}
.hero__media { margin-top: clamp(3rem, 6vw, 4.5rem); }
.ph--hero {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}
@media (min-width: 734px) {
  .ph--hero { aspect-ratio: 16 / 9; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }
.section--alt { background: var(--grey); }
/* Deux sections blanches consécutives partagent le même espacement */
.section:not(.section--alt) + .section:not(.section--alt) { padding-top: 0; }

/* ---------- Icônes (trait fin) ---------- */

.icon {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon__fill { fill: currentColor; stroke: none; }

/* ---------- Prestations ---------- */

.cards { display: grid; gap: 1rem; }
.card {
  padding: 2rem 1.75rem 2.125rem;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: translate 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.card .icon {
  width: 2.5rem;
  height: 2.5rem;
  stroke-width: 1.2;
}
.card__title {
  margin-top: 1.25rem;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.022em;
}
.card__text {
  margin-top: 0.5rem;
  color: var(--text-2);
}
@media (hover: hover) {
  .card:hover {
    translate: 0 -4px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  }
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}
@media (min-width: 1068px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Méthode ---------- */

.steps {
  display: grid;
  gap: 3.5rem;
  text-align: center;
}
.step__num {
  display: block;
  font-size: clamp(4.5rem, 3rem + 5vw, 6.5rem);
  font-weight: 200;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.step__title {
  max-width: 18rem;
  margin: 1.25rem auto 0;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
.step__text {
  max-width: 20rem;
  margin: 0.625rem auto 0;
  color: var(--text-2);
}
@media (min-width: 734px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* ---------- Engagements (fiche technique) ---------- */

.specs {
  display: grid;
  gap: 3rem 2rem;
  text-align: center;
}
.spec .icon {
  width: 3rem;
  height: 3rem;
  margin-inline: auto;
  stroke-width: 1.1;
}
.spec__title {
  margin-top: 1.25rem;
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.spec__text {
  max-width: 17rem;
  margin: 0.5rem auto 0;
  font-size: 0.9375rem;
  color: var(--text-2);
}
@media (min-width: 640px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1068px) {
  .specs { grid-template-columns: repeat(4, 1fr); gap: 2rem; }
}

/* ---------- Inspirations ---------- */

.gallery { display: grid; gap: 2rem 1.25rem; }
.gallery .ph {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
}
.caption {
  margin-top: 0.875rem;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-2);
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1068px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.5rem; }
}

/* Bannière pleine largeur */
.banner {
  position: relative;
  margin-top: clamp(4rem, 8vw, 6rem);
}
.ph--banner {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
}
.ph--banner::after { place-items: end; padding: 1.25rem 1.5rem; }
.banner__text {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2.25rem 1.75rem;
}
.banner__title {
  font-size: clamp(2rem, 1.2rem + 3.4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.banner__sub {
  font-size: clamp(1.0625rem, 1rem + 0.45vw, 1.3125rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}
@media (min-width: 734px) {
  .ph--banner { aspect-ratio: 21 / 9; }
  .banner__text {
    inset: 0 auto 0 0;
    justify-content: center;
    max-width: 34rem;
    padding: 0 0 0 clamp(2.5rem, 6vw, 5.5rem);
  }
}

/* ---------- Zones ---------- */

.zones {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
  text-align: center;
}
.zones__title {
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.022em;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  max-width: 46rem;
  margin: 1.25rem auto 0;
}
/* inline-block (pas flex) : un <sup> dans un conteneur flex perd son exposant */
.tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 980px;
  background: var(--grey);
  color: var(--text);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.25;
}
.tag sup { font-size: 0.65em; line-height: 0; }
.tag--lg {
  padding: 0.625rem 1.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.depts { display: grid; gap: 2.5rem; }
.dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
}
.dept__towns {
  max-width: 19rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}
@media (min-width: 734px) {
  .depts { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* ---------- FAQ ---------- */

.faq__item { border-bottom: 1px solid var(--separator); }
.faq__item:first-child { border-top: 1px solid var(--separator); }

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.5rem;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.faq__icon {
  position: relative;
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.35s var(--ease-out);
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 1px;
  background: var(--text);
  transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }

.faq__a {
  padding: 0 2.75rem 1.75rem 0;
  color: var(--text-2);
}
.faq__item[open] .faq__a { animation: faq-in 0.4s var(--ease-out); }
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Ouverture en douceur là où le navigateur sait animer la hauteur */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}

/* ---------- Contact ---------- */

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 3rem;
  text-align: center;
}
.section-head + .contact-details { margin-top: 2rem; }
.contact-details dt {
  font-size: 0.875rem;
  color: var(--text-2);
}
.contact-details dd {
  margin-top: 0.25rem;
  font-size: 1.3125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.form-wrap { margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- Formulaire ---------- */

.form__grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.field__label {
  font-size: 0.875rem;
  font-weight: 600;
}
.field__hint { font-weight: 400; color: var(--text-2); }

.field__input {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 1rem;
  font-size: 1.0625rem;
  line-height: 1.4;
  background: var(--grey);
  border: 1px solid var(--field-border);
  border-radius: var(--radius-sm);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field__input::placeholder { color: var(--text-2); opacity: 1; }
.field__input:hover { border-color: var(--text-2); }
.field__input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue);
}
textarea.field__input { min-height: 8rem; resize: vertical; }
input[type="number"].field__input { -moz-appearance: textfield; }
input[type="number"].field__input::-webkit-inner-spin-button,
input[type="number"].field__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

.field__select { position: relative; }
.field__select::after {
  content: "";
  position: absolute;
  right: 1.125rem;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--text);
  border-bottom: 1.5px solid var(--text);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__select select { padding-right: 2.75rem; cursor: pointer; }
.field__select select:invalid { color: var(--text-2); }
.field__select option { color: var(--text); }

/* Erreurs : pas de rouge (palette neutre) — contour renforcé + message + pictogramme */
.field.is-invalid .field__input {
  border-color: var(--text);
  box-shadow: 0 0 0 1px var(--text);
}
.field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
}
.field__error::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--text);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1;
}
.field__error[hidden] { display: none; }

.field--check {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.5rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text-2);
}
.field--check input {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.05rem 0 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.field--check label { flex: 1; min-width: 0; }
.field--check .field__error { flex-basis: 100%; color: var(--text); }

.form__error {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--grey);
  font-size: 0.9375rem;
}

.form__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  text-align: center;
}
.form__footer .btn { width: 100%; }
.form__note { font-size: 0.8125rem; color: var(--text-2); }
@media (min-width: 640px) {
  .form__footer .btn { width: auto; min-width: 16rem; }
}

/* Confirmation après envoi */
.form-success {
  padding-block: 2rem;
  text-align: center;
  outline: none;
  animation: success-in 0.6s var(--ease-out);
}
.form-success__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-inline: auto;
  stroke-width: 1.2;
}
.form-success__eyebrow {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}
.form-success__title {
  margin-top: 0.375rem;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.form-success__text {
  max-width: 30rem;
  margin: 1rem auto 0;
  color: var(--text-2);
}
@keyframes success-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 1.5rem 0 2rem;
  background: var(--grey);
  color: var(--text-2);
  font-size: 0.8125rem;
  line-height: 1.5;
}
.site-footer a { transition: color 0.2s var(--ease); }
.site-footer a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.site-footer__disclaimer {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--separator);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
  padding-block: 1.75rem;
}
.site-footer__brand { grid-column: 1 / -1; }
.site-footer__brand .logo { font-size: 1.0625rem; color: var(--text); }
.site-footer__brand p { margin-top: 0.5rem; }
.site-footer__heading {
  margin-bottom: 0.625rem;
  font-weight: 600;
  color: var(--text);
}
.site-footer__links { display: grid; gap: 0.5rem; }
.site-footer__links a { word-break: break-word; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--separator);
}
.site-footer__legal { display: flex; flex-wrap: wrap; }
.site-footer__legal li + li {
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--separator);
}
@media (min-width: 734px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer__brand { grid-column: auto; }
}

/* ---------- Pages légales ---------- */

.legal {
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: var(--section-y);
}
.legal__head { text-align: center; }
.legal__title {
  margin-top: 0.5rem;
  font-size: clamp(2.5rem, 1.5rem + 4vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.legal__updated {
  margin-top: 1rem;
  font-size: 0.9375rem;
  color: var(--text-2);
}
.legal__intro {
  margin-top: 1.75rem;
  font-size: 1.1875rem;
  line-height: 1.5;
  color: var(--text-2);
  text-wrap: pretty;
}
.legal__notice {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius-md);
  background: var(--grey);
}
.legal__notice strong,
.legal__section strong { font-weight: 600; }

.legal__body { margin-top: clamp(3rem, 6vw, 4rem); }
.legal__section + .legal__section { margin-top: 3rem; }
.legal__section > * + * { margin-top: 1rem; }
.legal__section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.legal__section h3 {
  margin-top: 1.75rem;
  font-size: 1.0625rem;
  font-weight: 600;
}
.legal__section ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.legal__section li::marker { color: var(--text-2); }
.legal__section address { font-style: normal; }
.legal__section a,
.legal__notice a { color: var(--blue); word-break: break-word; }
.legal__section a:hover { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- Apparition au scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.8s var(--ease-out) var(--delay, 0s),
    transform 0.8s var(--ease-out) var(--delay, 0s),
    translate 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { translate: none; }
}
