/* ==========================================================
   ZephyrFlow · feuille de style unique
   Sommaire :
   1. Polices        5. Accueil        9. Contact
   2. Variables      6. Projets       10. Pages légales
   3. Base           7. Article
   4. Communs        8. Services
   ========================================================== */

/* ---------- 1. Polices (hébergées sur le site) ---------- */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('../fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/ibm-plex-mono-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/ibm-plex-mono-latin-400-normal.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;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('../fonts/ibm-plex-mono-latin-500-normal.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;
}

/* ---------- 2. Variables ---------- */
:root {
  --bg: #F1F1EC;
  --ink: #121212;
  --body: #3A3A35;
  --muted: #55554F;
  --rule: #C9C9C0;
  --accent: #2537C4;      /* couleur d'accent : changer ici, tout le site suit */
  --warn: #A3360A;
  --warn-dot: #C2410C;

  --font: 'Archivo', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;

  --max: 1320px;
  --gutter: 32px;
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
  z-index: 10;
}
.skip-link:focus { left: 8px; top: 8px; }

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

/* ---------- 4. Communs ---------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.mono {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0;
}
.rule-strong { border-top: 1.5px solid var(--ink); }
.rule { border-top: 1px solid var(--rule); }

.display {
  margin: 0;
  font-weight: 800;
  font-stretch: 118%;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.display--page { font-size: clamp(48px, 8vw, 116px); line-height: 0.92; letter-spacing: -0.04em; }
.display--xl {
  font-stretch: 125%;
  font-size: clamp(56px, 10vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.05em;
}
.h2 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.lede {
  margin: 0;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  max-width: 640px;
}
.section-index {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--muted);
  vertical-align: middle;
  margin-right: 14px;
}

/* En-tête */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid var(--ink);
}
.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  text-decoration: none;
  padding: 8px 0;
}
.brand__name { font-weight: 800; font-stretch: 125%; font-size: 22px; letter-spacing: -0.02em; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; padding: 10px 0; }
.nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav .mono { font-size: 12px; margin-right: 6px; }

/* Pied de page */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  padding-bottom: 32px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); padding: 6px 0; }

/* Grand appel à l'action */
.cta-big { border-top: 1.5px solid var(--ink); }
.cta-big .wrap { display: flex; flex-direction: column; gap: 14px; padding-top: 64px; padding-bottom: 72px; }
.cta-big .mono { font-size: 14px; }
.cta-big__link {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(44px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  text-decoration: none;
}
.cta-big__link:hover { color: var(--ink); }

/* Statut d'un projet */
.status { font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.status::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  background: currentColor;
}
.status--live { color: var(--accent); }
.status--wip { color: var(--warn); }
.status--wip::before { background: var(--warn-dot); }
.status--done { color: var(--ink); }

/* Couverture de projet : aplat de couleur, ou image si présente */
.cover {
  display: flex;
  align-items: flex-end;
  aspect-ratio: 4 / 3;
  padding: 12px;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 12px;
  overflow: hidden;
  position: relative;
  background: var(--tint, #D6D6CE);
  color: var(--tint-ink, #45453F);
}
.cover--wide { aspect-ratio: 16 / 9; }
.cover--thumb { aspect-ratio: 16 / 10; }
.cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Titre de section avec lien à droite */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1.5px solid var(--ink);
}
.section-head a { font-weight: 700; font-size: 16px; padding: 10px 0; }

/* Lignes de vent (accueil, 404) */
.wind { max-width: var(--max); margin: 0 auto; padding-top: 28px; }
.wind svg { display: block; width: 100%; height: clamp(90px, 14vw, 180px); }
.wind path {
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: wind-draw 2.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.wind .w2 { animation-delay: 0.15s; }
.wind .w3 { animation-delay: 0.3s; }
.wind .w4 { animation-delay: 0.45s; }
@keyframes wind-draw { to { stroke-dashoffset: 0; } }

/* En-tête de page (Projets, Services, Contact) */
.page-head { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 24px; }
.page-head .lede { color: var(--body); }

/* ---------- 5. Accueil ---------- */
.hero { padding-top: 56px; }
.hero__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-bottom: 40px; }
.hero__meta .status { color: var(--muted); }
.hero__meta .status::before { background: var(--accent); }
.hero .display { max-width: 1180px; }

.intro { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-top: 24px; padding-bottom: 96px; }
.intro__text { flex: 999 1 520px; min-width: 0; margin: 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 640px; }
.intro__links { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; }
.intro__links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-size: 19px;
  font-weight: 700;
}

.block { padding-bottom: 96px; }

.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
}
.row:hover { color: var(--ink); }
.row__n { width: 28px; }
.row__thumb { width: 180px; flex: none; }
.row__text { flex: 999 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.row__title { font-weight: 800; font-stretch: 112%; font-size: 30px; line-height: 1.05; letter-spacing: -0.02em; }
.row:hover .row__title { color: var(--accent); }
.row__summary { color: var(--body); }
.row__cat { flex: 1 1 160px; }
.row__status { flex: 1 1 140px; }
.row__arrow { font-size: 26px; transition: transform 0.2s; }
.row:hover .row__arrow { transform: translateX(6px); }
@media (max-width: 640px) {
  .row__thumb { width: 100%; }
  .row__n, .row__arrow { display: none; }
}

.offers { display: flex; flex-wrap: wrap; }
.offers > div { flex: 1 1 300px; min-width: 0; padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; }
.offers h3 { margin: 0; font-size: 24px; font-weight: 700; font-stretch: 106%; line-height: 1.15; }
.offers p { margin: 0; color: var(--body); }

.about { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 32px; }
.about__photo {
  flex: 0 1 300px;
  min-width: 0;
  aspect-ratio: 4 / 5;
  background: #D6D6CE;
  display: flex;
  align-items: flex-end;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.about__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; font-size: 19px; line-height: 1.6; }
.about__text p { margin: 0; }
.about__skills { font-size: 14px; line-height: 1.7; }
.log { padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.log__title { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.log dl { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.log dl div { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 17px; }
.log dt { width: 72px; padding-top: 3px; }
.log dd { margin: 0; flex: 1 1 260px; }

/* ---------- 6. Projets ---------- */
.projects-head { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px; padding-bottom: 40px; }
.projects-head__text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }

.filters { flex: 1 1 280px; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.filters button {
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: none;
  border: none;
  padding: 10px 0;
  cursor: pointer;
}
.filters button[aria-pressed='true'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.filters button:hover { color: var(--accent); }
.filters .mono { font-size: 12px; }

.project-list { padding-bottom: 96px; }
.grid {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr));
  gap: 56px 32px;
}
.card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.card[hidden] { display: none; }
.card__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.card__title { margin: 0; font-weight: 800; font-stretch: 112%; font-size: 32px; letter-spacing: -0.02em; line-height: 1; }
.card__title a { text-decoration: none; }
.card__desc { margin: 0; color: var(--body); }
.card p.mono { margin: 0; }
.card__links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; font-weight: 700; margin-top: auto; }
.card__links a { padding: 8px 0; text-underline-offset: 4px; }
.card__links .ext { color: var(--accent); }
.card__links .ext:hover { color: var(--ink); }

/* ---------- 7. Article ---------- */
.article-top { padding-top: 48px; display: flex; flex-direction: column; gap: 28px; }
.crumbs { display: flex; gap: 10px; align-items: center; }
.crumbs a { color: var(--muted); padding: 10px 0; }
.article-title { overflow-wrap: anywhere; }
.big-lede { font-size: clamp(19px, 2vw, 24px); line-height: 1.45; max-width: 760px; }

.facts { margin: 40px 0 0; display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.facts > div { flex: 1 1 200px; padding: 16px 20px 16px 0; display: flex; flex-direction: column; gap: 6px; }
.facts .facts__wide { flex-basis: 260px; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { margin: 0; font-size: 17px; font-weight: 600; }
.facts__links { justify-content: center; gap: 0 !important; }
.facts__links a { display: inline-block; padding: 6px 0; font-weight: 700; }
.facts__links a.primary { color: var(--accent); }

.article-media { padding-top: 32px; }

/* Galerie : les images gardent leur format d'origine.
   --r = largeur / hauteur de l'image (calculé par js/main.js).
   Une image large prend plus de place qu'une capture mobile,
   et les images d'une même ligne finissent à la même hauteur. */
.gallery { display: flex; flex-wrap: wrap; gap: 20px; }
.shot {
  margin: 0;
  flex: var(--r, 1) 1 calc(var(--r, 1) * 280px);
  max-width: calc(var(--r, 1) * 78vh); /* une image seule ne dépasse pas ~78 % de la hauteur d'écran */
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.shot img { width: 100%; height: auto; background: #E2E2DA; }
.shot__link { display: block; cursor: zoom-in; }
.shot figcaption { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.shot--placeholder {
  aspect-ratio: var(--r, 1);
  background: var(--tint, #D6D6CE);
  color: var(--tint-ink, #45453F);
  justify-content: flex-end;
  padding: 12px;
  font-family: var(--mono);
  font-size: 12px;
}
@media (max-width: 640px) {
  .gallery { gap: 12px; }
  .shot { flex-basis: calc(var(--r, 1) * 160px); }
}

/* Image agrandie */
.lightbox {
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 24px;
  border: none;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: rgba(18, 18, 18, 0.88); }
.lightbox img { max-width: 100%; max-height: calc(100vh - 48px); width: auto; height: auto; }
.lightbox__close {
  position: fixed;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lightbox__close:hover { background: var(--accent); color: #fff; }

/* Corps de l'article : titre à gauche, texte à droite sur grand écran */
.prose {
  padding-top: 72px;
  padding-bottom: 48px;
  counter-reset: section;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  font-size: 19px;
  line-height: 1.7;
  color: #26261F;
}
.prose > * { margin: 0 0 18px; max-width: 700px; }
.prose > h2 {
  margin: 0;
  padding: 32px 0 16px;
  border-top: 1px solid var(--rule);
  font-size: 26px;
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
.prose > h2:first-child { border-top: 1.5px solid var(--ink); }
.prose > h2::before {
  counter-increment: section;
  content: counter(section, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--muted);
}
.prose ul { padding-left: 22px; }
.prose li + li { margin-top: 6px; }
.prose a { color: var(--accent); }
.prose .flow {
  border-top: 1px dashed #A9A9A0;
  border-bottom: 1px dashed #A9A9A0;
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.prose .todo { color: var(--muted); }
@media (min-width: 900px) {
  .prose { grid-template-columns: minmax(220px, 1fr) minmax(0, 700px); column-gap: 48px; justify-content: start; }
  .prose > * { grid-column: 2; }
  .prose > h2 { grid-column: 1; padding-right: 24px; }
  .prose > h2 + * { padding-top: 32px; border-top: 1px solid var(--rule); }
  .prose > h2:first-child + * { border-top: 1.5px solid var(--ink); }
  .prose > h2 + .flow { border-top-style: solid; }
}

.next__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 64px;
}
.next__back { font-size: 18px; font-weight: 700; padding: 10px 0; }
.next__link { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-decoration: none; text-align: right; }
.next__title {
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.next__link:hover .next__title { color: var(--ink); }

/* ---------- 8. Services ---------- */
.services { padding-bottom: 88px; }
.service { display: flex; flex-wrap: wrap; gap: 24px 56px; padding: 40px 0; border-top: 1.5px solid var(--ink); }
.service:last-child { border-bottom: 1.5px solid var(--ink); }
.service__head { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.service__head h2 {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1;
  letter-spacing: -0.03em;
}
.service__head a { font-weight: 700; padding: 8px 0; color: var(--accent); }
.service__head a:hover { color: var(--ink); }
.service__body { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.service__body p { margin: 0; font-size: 19px; line-height: 1.6; }
.service__body ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.service__body li { padding: 12px 0; border-bottom: 1px solid var(--rule); }

.steps-block { padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.steps { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; padding-top: 20px; }
.steps__n { font-weight: 800; font-stretch: 125%; font-size: 96px; line-height: 0.85; letter-spacing: -0.05em; color: var(--accent); }
.steps h3 { margin: 0; font-size: 26px; font-weight: 700; font-stretch: 108%; }
.steps p { margin: 0; color: var(--body); }

/* ---------- 9. Contact ---------- */
.contact-body { display: flex; flex-wrap: wrap; gap: 56px; padding-bottom: 96px; }
.contact-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 28px; padding-top: 32px; }
.infos { margin: 0; border-top: 1px solid var(--rule); }
.infos div { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.infos dt { width: 110px; padding-top: 3px; }
.infos dd { margin: 0; flex: 1 1 200px; font-weight: 600; line-height: 1.45; }
.infos a { color: var(--accent); }

.form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 30px; padding-top: 32px; }
.form__row { display: flex; flex-wrap: wrap; gap: 30px 32px; }
.field { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.form input[type='text'],
.form input[type='email'],
.form textarea {
  min-height: 48px;
  padding: 0;
  border: none;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: 22px;
  color: var(--ink);
}
.form textarea { padding: 10px 0; font-size: 20px; line-height: 1.5; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: none; border-bottom-color: var(--accent); box-shadow: 0 1.5px 0 var(--accent); }

.types { margin: 0; padding: 0; border: none; }
.types legend { padding: 0 0 12px; }
.types__list { display: flex; flex-wrap: wrap; gap: 10px; }
.types label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid var(--ink);
  font-weight: 600;
  cursor: pointer;
}
.types input { margin: 0; accent-color: var(--ink); }
.types label:has(:checked) { background: var(--ink); color: var(--bg); }
.types label:has(:checked) input { accent-color: var(--bg); }
.types label:has(:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--body); }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 28px;
  border: none;
  border-radius: 0;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  font-stretch: 112%;
  font-size: 20px;
  cursor: pointer;
}
.btn:hover { background: var(--ink); }

/* ---------- 10. Pages légales et 404 ---------- */
.legal-head { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 16px; }
.legal-head .display { font-size: clamp(40px, 6vw, 80px); }
.legal { padding-top: 32px; padding-bottom: 96px; }
.legal > * { max-width: 720px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--body); }
.legal a { color: var(--accent); }

.not-found { padding-top: 80px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.not-found a { font-weight: 700; font-size: 18px; padding: 10px 0; }

@media (prefers-reduced-motion: reduce) {
  .wind path { animation: none; stroke-dashoffset: 0; }
  .row__arrow { transition: none; }
}
