/* ==========================================================================
   Séquence Paie — feuille de styles
   Typo : Archivo (variable, auto-hébergée) — largeur étendue pour les titres
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #13394a;
  --petrole: #1f5c74;
  --lagon: #3a8fa8;
  --ciel: #a9d3e0;
  --brume: #eef4f6;
  --ardoise: #536a75;
  --line: #d3e2e8;
  --field: #b5cbd4;
  --white: #ffffff;
  --error: #b3261e;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 73.75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 2.5rem + 5vw, 7rem);
  --radius: 12px;
}

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

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  font-stretch: 100%;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  font-stretch: 125%;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem); }
h3 {
  font-size: 1.1875rem;
  font-stretch: 112%;
  line-height: 1.28;
  letter-spacing: -0.004em;
}

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

a {
  color: var(--petrole);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { color: var(--ink); }

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

abbr[title] { text-decoration: none; cursor: help; border-bottom: 1px dotted currentColor; }

.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: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section-alt { background: var(--brume); }

.lead {
  font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3125rem);
  line-height: 1.55;
  color: var(--ardoise);
  max-width: 34em;
}

.prose { max-width: 38em; }

.muted { color: var(--ardoise); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  font-stretch: 108%;
  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-primary { background: var(--petrole); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }

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

.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--ciel); color: var(--ink); }

.btn-sm { min-height: 2.5rem; padding: 0.5rem 1.15rem; font-size: 0.9375rem; }

.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--petrole);
  text-decoration: none;
}
.brand:hover { color: var(--petrole); }

.brand-mark { width: 3.1rem; height: auto; flex: none; }

.brand-name {
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 125%;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-size: 0.975rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-link:hover { color: var(--petrole); border-bottom-color: var(--ciel); }
.nav-link[aria-current="page"] { color: var(--petrole); border-bottom-color: var(--lagon); }

.nav-toggle { display: none; }

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 2.75rem;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
  }
  .nav-toggle-icon { width: 1.1rem; height: 0.8rem; }
  .nav-toggle-icon line { stroke: currentColor; stroke-width: 1.8; transition: transform 0.2s ease, opacity 0.2s ease; transform-origin: center; }
  .nav-toggle[aria-expanded="true"] .l1 { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .l2 { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .l3 { transform: translateY(-5px) rotate(-45deg); }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 0.5rem var(--gutter) 1.75rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgba(19, 57, 74, 0.45);
  }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; }

  .site-nav ul { flex-direction: column; gap: 0; }
  .nav-link {
    display: block;
    padding-block: 0.9rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }
  .nav-link:hover,
  .nav-link[aria-current="page"] { border-bottom-color: var(--line); }
  .nav-link[aria-current="page"] { font-weight: 650; }
  .site-nav .btn { align-self: flex-start; }
}

@media (max-width: 420px) {
  .brand-name { font-size: 0.875rem; letter-spacing: 0.04em; }
  .brand-mark { width: 2.6rem; }
}

/* ---------- Accueil : hero ---------- */

.hero {
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(1rem, 1vw, 2rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero h1 { max-width: 12.5em; }
.hero .lead { margin-top: 1.5rem; }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .cycle { max-width: 34rem; }
}

/* Le cycle mensuel : symbole infini + 4 étapes */

.cycle { margin: 0; }

.cycle-stage {
  position: relative;
  padding-block: 3.4rem;
}

.cycle-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.loop-track { fill: none; stroke: #e4eef2; stroke-width: 3.2; }

.loop-line {
  fill: none;
  stroke: url(#g-hero);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anchor {
  fill: #fff;
  stroke: var(--lagon);
  stroke-width: 1.1;
  transition: fill 0.35s ease, stroke 0.35s ease;
}
.anchor.is-active { fill: var(--petrole); stroke: var(--petrole); }

.dot {
  fill: var(--ink);
  stroke: #fff;
  stroke-width: 1.3;
  opacity: 0;
}

.cycle-steps {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.cycle-steps li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.35s ease;
}
.cycle-steps li:nth-child(1) { grid-area: 1 / 1; }
.cycle-steps li:nth-child(2) { grid-area: 3 / 1; }
.cycle-steps li:nth-child(3) { grid-area: 1 / 2; }
.cycle-steps li:nth-child(4) { grid-area: 3 / 2; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border: 1.5px solid var(--ciel);
  border-radius: 50%;
  color: var(--petrole);
  font-size: 0.8125rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}

.cycle figcaption {
  margin-top: 0.75rem;
  color: var(--ardoise);
  font-size: 0.9375rem;
  text-align: center;
  text-wrap: balance;
}

/* États animés (ajoutés par JS si le mouvement est autorisé) */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }

.is-animated .loop-line {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  animation: draw 1.9s cubic-bezier(0.55, 0.05, 0.25, 1) 0.25s forwards;
}
.is-animated .anchor { opacity: 0; animation: appear 0.5s ease 1.7s forwards; }
.is-animated .dot { animation: appear 0.4s ease 2s forwards; }
.is-animated .cycle-steps li { color: var(--ardoise); }
.is-animated .cycle-steps li.is-active { color: var(--ink); }
.cycle-steps li.is-active .step-num { background: var(--petrole); border-color: var(--petrole); color: #fff; }

@media (max-width: 480px) {
  .cycle-stage { padding-block: 2.9rem; }
  .cycle-steps li { font-size: 0.8125rem; gap: 0.4rem; }
  .step-num { width: 1.35rem; height: 1.35rem; font-size: 0.75rem; }
}

/* ---------- Mises en page communes ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.section-head { max-width: 40rem; }
.section-head p { margin-top: 1rem; }

@media (max-width: 880px) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

/* Publics accompagnés (accueil + services) */

.audiences {
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.audience {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 5fr) auto;
  gap: 0.6rem 3rem;
  align-items: baseline;
  padding-block: 1.75rem;
  border-bottom: 1px solid var(--line);
}
.audience p { margin: 0; color: var(--ardoise); }
.audience-link { font-weight: 600; white-space: nowrap; }

@media (max-width: 880px) {
  .audience { grid-template-columns: minmax(0, 1fr); }
}

/* Piliers (engagements, valeurs) */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem clamp(1.5rem, 4vw, 3.5rem);
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
}

.pillar {
  padding-top: 1.25rem;
  border-top: 2px solid var(--petrole);
  border-image: linear-gradient(90deg, var(--ink), var(--lagon) 55%, var(--ciel)) 1;
}
.pillar p { margin-top: 0.6rem; color: var(--ardoise); }

.pillar-lg h3 { font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem); font-stretch: 125%; }

@media (max-width: 880px) {
  .pillars { grid-template-columns: minmax(0, 1fr); }
}

/* Bandeau d'appel à l'action */

.band {
  padding-block: clamp(3.5rem, 2rem + 5vw, 6rem);
  background: var(--ink);
  color: #fff;
}

.band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 4rem;
  align-items: end;
}

.band h2 { max-width: 17em; color: #fff; }
.band h3 { color: #fff; margin-top: 1.5rem; }
.band p { max-width: 36em; margin-top: 1rem; color: #c8dde5; }
.band a:not(.btn) { color: #fff; }
.band a:not(.btn):hover { color: var(--ciel); }

.band-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.band-note { margin: 0; color: #c8dde5; font-size: 0.9375rem; }

@media (max-width: 880px) {
  .band-inner { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

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

.page-head {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.75rem, 2rem + 3vw, 4.25rem);
  background: var(--brume);
}
.page-head h1 { max-width: 15em; }
.page-head .lead { margin-top: 1.25rem; }
.page-head .container { position: relative; z-index: 1; }

.head-loop {
  position: absolute;
  right: -9rem;
  top: 50%;
  width: 40rem;
  transform: translateY(-50%) rotate(-8deg);
  fill: none;
  stroke: var(--ciel);
  stroke-width: 6;
  opacity: 0.7;
  pointer-events: none;
}

@media (max-width: 980px) { .head-loop { display: none; } }

/* ---------- Services ---------- */

.rows {
  margin: clamp(2.25rem, 4vw, 3rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.75rem 3rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--line);
}
.row-sub { margin-top: 0.45rem; color: var(--ardoise); font-size: 0.9375rem; }
.row p { margin: 0; }

@media (max-width: 880px) {
  .row { grid-template-columns: minmax(0, 1fr); }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: var(--brume);
  color: var(--petrole);
  font-size: 0.8125rem;
  font-weight: 600;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 6vw, 6rem);
}
@media (max-width: 880px) {
  .two-col { grid-template-columns: minmax(0, 1fr); }
}

.checklist {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}
.checklist li {
  position: relative;
  margin-bottom: 0.95rem;
  padding-left: 1.75rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0.95rem;
  height: 2px;
  background: var(--lagon);
}

/* Méthodologie : vraie séquence en 4 temps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin: clamp(2.25rem, 4vw, 3.25rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 4rem;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border: 1.5px solid var(--petrole);
  border-radius: 50%;
  background: #fff;
  color: var(--petrole);
  font-weight: 650;
  font-stretch: 125%;
}
.step::after {
  content: "";
  position: absolute;
  top: 1.425rem;
  left: 2.85rem;
  right: -2rem;
  height: 1.5px;
  background: var(--ciel);
}
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 0.5rem; }
.step p { color: var(--ardoise); font-size: 1rem; }

@media (max-width: 880px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { padding: 0.45rem 0 2.25rem 4.25rem; }
  .step:last-child { padding-bottom: 0; }
  .step::after { top: 2.85rem; bottom: 0; left: 1.425rem; right: auto; width: 1.5px; height: auto; }
}

/* ---------- À propos ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2.5rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about-grid .prose p { font-size: 1.125rem; }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
}

.person {
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.person-mark { width: 4.25rem; margin-bottom: 1.5rem; }
.person-name { margin: 0; font-size: 1.5rem; font-weight: 600; font-stretch: 125%; line-height: 1.2; }
.person-role { margin: 0.35rem 0 0; color: var(--ardoise); }

.details { margin: 1.5rem 0 0; }
.details dt { margin-top: 1.1rem; color: var(--ardoise); font-size: 0.875rem; }
.details dt:first-child { margin-top: 0; }
.details dd { margin: 0.15rem 0 0; font-weight: 500; }
.person .details { padding-top: 1.5rem; border-top: 1px solid var(--line); }

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 2.5rem clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 6.5rem;
  padding: 2rem;
  border-radius: var(--radius);
  background: var(--brume);
}
.contact-aside h2 { font-size: 1.375rem; }

@media (max-width: 880px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-aside { position: static; }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 1.25rem;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }

.field > label,
.field > legend {
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 600;
}
.optional { font-weight: 400; color: var(--ardoise); }
.hint { margin: 0; color: var(--ardoise); font-size: 0.8125rem; }

.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--field);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:hover { border-color: var(--lagon); }
.input:focus {
  outline: none;
  border-color: var(--petrole);
  box-shadow: 0 0 0 3px rgba(58, 143, 168, 0.3);
}
textarea.input { min-height: 9rem; resize: vertical; }
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.75rem;
  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 d='M1 1l6 6 6-6' fill='none' stroke='%231f5c74' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.field.has-error .input { border-color: var(--error); }
.field.has-error .input:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.2); }
.error-msg { margin: 0; color: var(--error); font-size: 0.875rem; font-weight: 500; }

fieldset.field { margin: 0; padding: 0; border: 0; }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.75rem;
  margin-top: 0.35rem;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--field);
  border-radius: 999px;
  font-weight: 400;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.check:hover { border-color: var(--lagon); }
.check input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--petrole); }
.check:has(input:checked) { border-color: var(--petrole); background: var(--brume); }
.check:has(input:focus-visible) { outline: 3px solid var(--lagon); outline-offset: 2px; }

.form-note { margin: 1.75rem 0 0; color: var(--ardoise); font-size: 0.875rem; max-width: 40em; }
.form-actions { margin-top: 1.5rem; }

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

/* ---------- Pages simples (merci, 404, mentions) ---------- */

.simple { padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.simple .lead { margin-top: 1.25rem; }

.legal { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); margin-bottom: 2.5rem; }
.legal h2 { margin: 2.75rem 0 1rem; font-size: 1.375rem; }
.legal h2:first-child { margin-top: 0; }
.legal .details { margin-top: 0; }

.todo {
  padding: 0.05em 0.4em;
  border-radius: 4px;
  background: #fff1c2;
  color: #5c4500;
  font-weight: 500;
}

/* ---------- Pied de page ---------- */

.site-footer {
  padding-block: 3.5rem 2rem;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 2.5rem;
}

.footer-brand p { max-width: 22em; margin-top: 1rem; color: var(--ardoise); }

.footer-title {
  margin: 0 0 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-stretch: 112%;
}

.footer-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-list a { color: var(--ink); text-decoration: none; }
.footer-list a:hover { color: var(--petrole); text-decoration: underline; }
.footer-list .muted { font-size: 0.875rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--ardoise);
  font-size: 0.875rem;
}
.footer-bottom a { color: var(--ardoise); }

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
}

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Questions fréquentes ---------- */

.faq {
  max-width: 52rem;
  margin-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.35rem;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.65rem;
  height: 0.65rem;
  margin-right: 0.35rem;
  border-right: 2px solid var(--petrole);
  border-bottom: 2px solid var(--petrole);
  transform: translateY(-25%) rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(20%) rotate(-135deg); }
.faq summary:hover .faq-q { color: var(--petrole); }
.faq-q {
  font-size: 1.0625rem;
  font-stretch: 106%;
  line-height: 1.4;
  letter-spacing: 0;
  text-wrap: pretty;
}
.faq-a { max-width: 44em; padding-bottom: 1.5rem; color: var(--ardoise); }

/* ---------- Témoignages (affichés uniquement s'il y en a) ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: 2rem clamp(1.5rem, 4vw, 3rem);
  margin-top: clamp(2rem, 4vw, 2.75rem);
}
.quote {
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--petrole);
  border-image: linear-gradient(180deg, var(--ink), var(--ciel)) 1;
}
.quote blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; }
.quote figcaption { display: flex; flex-direction: column; margin-top: 1rem; font-size: 0.9375rem; }
.quote-name { font-weight: 600; }
.quote-role { color: var(--ardoise); }
