/* Altoval Professionnels — feuille de style
 *
 * Deux couleurs portent la marque : le marine du mot-symbole et le cyan du signe. Le cyan sert aux actions et aux repères ; sur fond clair, un cyan assombri le remplace pour le texte, afin de tenir le contraste AA.
 *
 * Aucune règle n'est écrite dans les pages : la politique de sécurité du site refuse les styles en ligne.
 */

:root {
  --navy: #0d1b3e;
  --navy-deep: #081229;
  --navy-raised: #15285a;
  --navy-line: #243a6e;
  --cyan: #00bfff;
  --cyan-hover: #33ccff;
  --cyan-ink: #00739e;
  --cyan-pale: #e8f8ff;
  --paper: #f4f6fa;
  --white: #ffffff;
  --line: #d9e1f0;
  --line-strong: #b8c5de;
  --ink: #0d1b3e;
  --ink-soft: #2a3a60;
  --muted: #4c5b7a;
  --on-navy: #ffffff;
  --on-navy-muted: #c3cfe8;
  --ok: #17693e;
  --ok-pale: #e6f4ec;
  --warn: #8a5300;
  --warn-pale: #fdf1e1;
  --error: #b42318;
  --error-pale: #fdeceb;

  --shell: 1200px;
  --gutter: 16px;
  --radius: 10px;
  --radius-small: 6px;
  --header-height: 68px;
  --section: clamp(56px, 8vw, 104px);
  --shadow: 0 1px 2px rgb(13 27 62 / 6%), 0 8px 24px rgb(13 27 62 / 8%);
  --shadow-strong: 0 2px 4px rgb(13 27 62 / 10%), 0 18px 40px rgb(13 27 62 / 16%);

  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-text: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; --header-height: 76px; } }

/* ---------------------------------------------------------------- Socle */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.005em; line-height: 1.3; }

p { margin: 0; }
p + p { margin-top: 0.9em; }

a { color: var(--cyan-ink); text-underline-offset: 3px; }
a:hover { color: var(--navy); }

strong { font-weight: 600; }

ul, ol { margin: 0; padding: 0; }

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

main:focus { outline: none; }

::selection { background: var(--cyan); color: var(--navy); }

.sr-only {
  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: 16px; top: -100px; z-index: 100;
  padding: 12px 18px; border-radius: var(--radius-small);
  background: var(--navy); color: var(--white); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.center { text-align: center; }

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: .5; cursor: not-allowed; }

.button--primary { background: var(--cyan); color: var(--navy); }
.button--primary:hover { background: var(--cyan-hover); color: var(--navy); }

.button--secondary { background: var(--navy); color: var(--white); }
.button--secondary:hover { background: var(--navy-raised); color: var(--white); }

.button--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.button--outline:hover { background: var(--navy); color: var(--white); }

.button--ghost-light { border-color: rgb(255 255 255 / 70%); color: var(--white); background: rgb(13 27 62 / 20%); }
.button--ghost-light:hover { border-color: var(--white); background: var(--white); color: var(--navy); }

.button--small { min-height: 40px; padding: 8px 16px; font-size: .95rem; white-space: nowrap; }
.button--large { min-height: 56px; padding: 14px 30px; font-size: 1.05rem; }
.button--block { display: flex; width: 100%; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions--center { justify-content: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cyan-ink); font-weight: 600; text-decoration: none;
}
.textlink:hover { color: var(--navy); }
.textlink svg, .card__more svg, .door__action svg, .lot__more svg { transition: transform .15s ease; }
.textlink:hover svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- Marque et en-tête */

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); text-decoration: none; flex-shrink: 0;
}
.brand:hover { color: var(--navy); }
.brand__mark { width: 30px; height: 30px; flex-shrink: 0; }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: .03em; line-height: 1; }
.brand__tag {
  padding: 4px 8px; border-radius: 4px;
  background: var(--paper); color: var(--muted);
  font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1;
}
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__tag { background: var(--navy-raised); color: var(--on-navy-muted); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 96%);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(8px);
}

.header__bar {
  display: flex; align-items: center; gap: 24px;
  min-height: var(--header-height);
}

.header__nav { display: none; margin-left: auto; }
.header__nav ul { display: flex; gap: 4px; list-style: none; }
.header__nav a {
  display: block; padding: 10px 12px; border-radius: var(--radius-small);
  color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap;
}
.header__nav a:hover { background: var(--paper); color: var(--navy); }
.header__nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--cyan); border-radius: 0; }

.header__actions { display: none; align-items: center; gap: 16px; }
.header__link { color: var(--ink); font-weight: 500; text-decoration: none; white-space: nowrap; }
.header__link:hover { color: var(--cyan-ink); }

.menu { margin-left: auto; }
.menu__toggle {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--navy); font-weight: 600; cursor: pointer; list-style: none;
  user-select: none;
}
.menu__toggle::-webkit-details-marker { display: none; }
.menu__icon { display: grid; gap: 4px; width: 18px; }
.menu__icon span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu[open] .menu__icon span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu__icon span:nth-child(2) { opacity: 0; }
.menu[open] .menu__icon span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.menu__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  max-height: calc(100svh - var(--header-height));
  overflow-y: auto;
  padding: 8px var(--gutter) 28px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-strong);
}
.menu__list { list-style: none; }
.menu__list a {
  display: block; padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 1.1rem; font-weight: 600; text-decoration: none;
}
.menu__list a[aria-current="page"] { color: var(--cyan-ink); }
.menu__actions { display: grid; gap: 10px; margin-top: 20px; }

@media (min-width: 1240px) {
  .header__nav, .header__actions { display: flex; }
  .menu { display: none; }
}

@media (max-width: 400px) {
  .brand__tag { display: none; }
  .menu__label { display: none; }
}

/* ---------------------------------------------------------------- Langues */

.languages { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; }
.languages a { text-decoration: none; font-weight: 500; }
.languages a[aria-current="true"] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--cyan); }
.languages--menu { margin-top: 24px; }
.languages--menu a { color: var(--muted); }
.languages--footer a { color: var(--on-navy-muted); }
.languages--footer a:hover, .languages--footer a[aria-current="true"] { color: var(--white); }

/* ---------------------------------------------------------------- Messages */

.flash { background: var(--error-pale); color: var(--error); border-bottom: 1px solid #f3c1bd; }
.flash p { padding: 14px 0; font-weight: 600; }

.notice {
  margin-bottom: 24px; padding: 14px 18px;
  border-left: 4px solid var(--cyan); border-radius: var(--radius-small);
  background: var(--cyan-pale); color: var(--ink);
}
.notice--error { border-left-color: var(--error); background: var(--error-pale); color: var(--error); font-weight: 600; }
.notice--error ul { margin-top: 6px; list-style: none; font-weight: 400; }

/* ---------------------------------------------------------------- Titres de section */

.eyebrow {
  margin-bottom: 14px;
  color: var(--cyan-ink);
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.eyebrow--light { color: var(--cyan); }

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 64px) 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy .section-head__lead { color: var(--on-navy-muted); }
.section--form { background: var(--paper); padding: clamp(32px, 5vw, 56px) 0 var(--section); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head__lead { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }
.section-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

.subhead { margin: 56px 0 20px; font-size: 1.25rem; color: var(--white); }
.subhead--dark { margin: 32px 0 14px; color: var(--navy); font-size: 1.05rem; }

/* ---------------------------------------------------------------- Accueil */

.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: center;
  min-height: min(calc(100svh - var(--header-height)), 820px);
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--navy); color: var(--white);
}
.hero__photo, .page-hero__photo, .cta-band__photo {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.hero::after, .page-hero::after, .cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(95deg, rgb(8 18 41 / 94%) 0%, rgb(13 27 62 / 86%) 45%, rgb(13 27 62 / 45%) 100%);
}
.hero__inner { display: grid; gap: 36px; }
.hero__content { max-width: 760px; }
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 4rem); }
.hero__lead { margin-top: 20px; max-width: 640px; color: var(--on-navy-muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); }

.doors { display: grid; gap: 14px; max-width: 900px; }
@media (min-width: 720px) { .doors { grid-template-columns: 1fr 1fr; } }

.door {
  display: grid; gap: 6px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-strong);
  border-top: 4px solid var(--cyan);
  transition: transform .15s ease, box-shadow .15s ease;
}
.door:hover { color: var(--ink); transform: translateY(-2px); }
.door__label { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }
.door__body { color: var(--muted); }
.door__action { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; color: var(--cyan-ink); font-weight: 700; }
.door:hover .door__action svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- En-têtes de pages intérieures */

.page-hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-height: clamp(360px, 52vh, 520px);
  padding: clamp(48px, 7vw, 80px) 0;
  background: var(--navy); color: var(--white);
}
.page-hero__content { max-width: 820px; }
.page-hero__lead { margin-top: 18px; max-width: 680px; color: var(--on-navy-muted); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.page-hero--error { min-height: calc(100svh - var(--header-height) - 1px); align-items: center; }

.plain-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); background: var(--paper); border-bottom: 1px solid var(--line); }
.plain-hero h1 { max-width: 860px; font-size: clamp(1.9rem, 1.4rem + 2vw, 3rem); }
.plain-hero__lead { margin-top: 14px; max-width: 720px; color: var(--muted); font-size: 1.1rem; }
.plain-hero .note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.crumbs { margin-bottom: 20px; }
.crumbs a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.crumbs svg { transform: rotate(180deg); }

/* ---------------------------------------------------------------- Sous-navigation */

.subnav {
  position: sticky; top: var(--header-height); z-index: 20;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.subnav ul {
  display: flex; gap: 4px; list-style: none;
  overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter);
}
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a {
  display: block; padding: 14px 12px;
  color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
}
.subnav a:hover { color: var(--navy); box-shadow: inset 0 -3px 0 var(--cyan); }

/* ---------------------------------------------------------------- Cartes photo */

.cards { display: grid; gap: 20px; list-style: none; }
@media (min-width: 640px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex; flex-direction: column; height: 100%;
  overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.card:hover { color: var(--ink); border-color: transparent; box-shadow: var(--shadow-strong); transform: translateY(-3px); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.card__text { color: var(--muted); font-size: .98rem; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; color: var(--cyan-ink); font-weight: 600; }
.card:hover .card__more svg { transform: translateX(3px); }

/* ---------------------------------------------------------------- Deux colonnes texte et image */

.split { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split--reverse .split__media { order: 2; }
  .split--wide-text { grid-template-columns: 5fr 6fr; }
  .split--top { align-items: start; }
}
.split__content > .ticks, .split__content > .steps { margin-top: 28px; }
.split__content > p:last-child:not(.section-head__lead) { margin-top: 24px; }
.split__media img, .rounded { width: 100%; border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------------------------------------------------------------- Listes cochées */

.ticks { display: grid; gap: 12px; list-style: none; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.ticks .check { margin-top: 3px; color: var(--cyan-ink); }
.section--navy .ticks .check { color: var(--cyan); }
.ticks--spaced { margin-top: 32px; }

/* ---------------------------------------------------------------- Étapes */

.steps { display: grid; gap: 16px; list-style: none; counter-reset: none; }
.section .shell > .steps { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.steps__item {
  position: relative;
  padding: 22px 22px 22px 76px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.section--paper .steps__item { border-color: var(--white); }
.section .shell > .steps .steps__item { padding: 24px; }
.steps__number {
  position: absolute; left: 22px; top: 20px;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: var(--cyan);
  font-family: var(--font-display); font-weight: 800;
}
.section .shell > .steps .steps__number { position: static; margin-bottom: 16px; }
.steps__item h3 { margin-bottom: 6px; }
.steps__item p { color: var(--muted); }
.section--navy .steps__item { background: var(--navy-raised); border-color: var(--navy-line); }
.section--navy .steps__item p { color: var(--on-navy-muted); }
.section--navy .steps__number { background: var(--cyan); color: var(--navy); }

/* ---------------------------------------------------------------- Grades */

.grade-chip {
  display: inline-grid; place-items: center;
  min-width: 44px; height: 34px; padding: 0 8px;
  border-radius: 6px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  color: var(--white);
}
.grade-chip--a_plus { background: #0d6b3f; }
.grade-chip--a { background: #17804c; }
.grade-chip--b_plus { background: #1f6f8b; }
.grade-chip--b { background: #2a5aa0; }
.grade-chip--c_plus { background: #6a4bab; }
.grade-chip--c { background: #8a4e8c; }
.grade-chip--d { background: #a65a12; }
.grade-chip--f { background: #a3202b; }

.grades { display: grid; gap: 10px; list-style: none; }
.grades__item { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--radius-small); }
.grades__text { display: grid; gap: 2px; }
.grades__text span { font-size: .95rem; }
.grades--dark .grades__item { background: var(--navy-raised); }
.grades--dark .grades__text span { color: var(--on-navy-muted); }
.grades--light .grades__item { background: var(--paper); }
.grades--light .grades__text span { color: var(--muted); }

.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.tag--ok { background: var(--ok-pale); color: var(--ok); }
.tag--warn { background: var(--warn-pale); color: var(--warn); }

/* ---------------------------------------------------------------- Tableaux */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.table th, .table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.table thead th { background: var(--paper); color: var(--muted); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.table tbody tr:last-child > * { border-bottom: 0; }
.table tbody th { font-weight: 600; white-space: nowrap; }
@media (max-width: 720px) {
  .table--grades thead { display: none; }
  .table--grades tr { display: grid; grid-template-columns: 56px 1fr; gap: 4px 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
  .table--grades tbody tr:last-child { border-bottom: 0; }
  .table--grades td, .table--grades th { padding: 0; border: 0; }
  .table--grades td:first-child { grid-row: span 3; }
  .table--grades tbody th { white-space: normal; }
}

/* ---------------------------------------------------------------- Sorties */

.outcomes { display: grid; gap: 14px; list-style: none; }
@media (min-width: 640px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .outcomes { grid-template-columns: repeat(5, 1fr); } }
.outcomes li { display: grid; gap: 8px; align-content: start; padding: 20px; border-radius: var(--radius); border-top: 3px solid var(--cyan); background: var(--navy-raised); }
.outcomes span { color: var(--on-navy-muted); font-size: .95rem; }
.outcomes--light li { background: var(--paper); }
.outcomes--light span { color: var(--muted); }

/* ---------------------------------------------------------------- Panneaux et atouts */

.columns-2 { display: grid; gap: 20px; }
@media (min-width: 860px) { .columns-2 { grid-template-columns: 1fr 1fr; } }
.panel { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { margin-bottom: 18px; font-size: 1.3rem; }
.panel--accent { background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel--accent .check { color: var(--cyan); }

.features { display: grid; gap: 16px; list-style: none; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, 1fr); } .features--3 { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.feature .check { width: 28px; height: 28px; margin-bottom: 14px; color: var(--cyan-ink); }
.feature h3 { margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .98rem; }
.feature__number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--navy); color: var(--cyan); font-family: var(--font-display); font-weight: 800; }
.section--paper .features { margin-top: 24px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pills li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font-weight: 600; }

/* ---------------------------------------------------------------- Réseau */

.network { padding: 32px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.network__inner { display: grid; gap: 20px; }
@media (min-width: 960px) { .network__inner { grid-template-columns: 1fr 1fr; gap: 48px; } }
.network__group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 24px; }
.network h2 { font-family: var(--font-text); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.network ul { display: flex; flex-wrap: wrap; gap: 6px 22px; list-style: none; }
.network li { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--navy); }

/* ---------------------------------------------------------------- État des lots */

.status-line { display: flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--muted); font-weight: 600; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.status-dot--on { background: #1fbf6a; box-shadow: 0 0 0 4px rgb(31 191 106 / 20%); }

/* ---------------------------------------------------------------- Bandeau d'appel */

.cta-band { position: relative; isolation: isolate; padding: clamp(56px, 8vw, 96px) 0; background: var(--navy); color: var(--white); }
.cta-band::after { background: linear-gradient(90deg, rgb(8 18 41 / 95%) 0%, rgb(13 27 62 / 85%) 60%, rgb(13 27 62 / 70%) 100%); }
.cta-band__inner { display: grid; gap: 24px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; } .cta-band .actions { justify-content: flex-end; margin-top: 0; } }
.cta-band p { margin-top: 12px; max-width: 620px; color: var(--on-navy-muted); font-size: 1.1rem; }

.account-band { padding: clamp(40px, 6vw, 64px) 0; background: var(--navy); color: var(--white); }
.account-band__inner { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .account-band__inner { grid-template-columns: 1fr auto; gap: 40px; } }
.account-band h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); }
.account-band p { margin-top: 10px; color: var(--on-navy-muted); }

/* ---------------------------------------------------------------- Lots */

.lots { display: grid; gap: 20px; list-style: none; }
@media (min-width: 720px) { .lots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lots { grid-template-columns: repeat(3, 1fr); } }

.lot {
  display: flex; flex-direction: column; gap: 16px; height: 100%;
  padding: 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); color: var(--ink); text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}
.lot:hover { color: var(--ink); box-shadow: var(--shadow-strong); transform: translateY(-3px); }
.lot__top { display: flex; justify-content: space-between; gap: 12px; font-size: .85rem; }
.lot__family { color: var(--cyan-ink); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.lot__reference { color: var(--muted); font-variant-numeric: tabular-nums; }
.lot__title { font-size: 1.25rem; }
.lot__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lot__facts dt { color: var(--muted); font-size: .8rem; }
.lot__facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.lot__footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; font-size: .92rem; }
.lot__price { color: var(--muted); }
.lot__more { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan-ink); font-weight: 700; }
.lot:hover .lot__more svg { transform: translateX(3px); }

.mix { display: grid; gap: 10px; }
.mix__bar { width: 100%; height: 12px; border-radius: 6px; overflow: hidden; }
.mix__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); }
.mix__key { display: inline-flex; align-items: center; gap: 6px; }
.mix__swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.split__content .mix { margin-top: 24px; }
.mix__share--a_plus { fill: #0d6b3f; background: #0d6b3f; }
.mix__share--a { fill: #17804c; background: #17804c; }
.mix__share--b_plus { fill: #1f6f8b; background: #1f6f8b; }
.mix__share--b { fill: #2a5aa0; background: #2a5aa0; }
.mix__share--c_plus { fill: #6a4bab; background: #6a4bab; }
.mix__share--c { fill: #8a4e8c; background: #8a4e8c; }
.mix__share--d { fill: #a65a12; background: #a65a12; }
.mix__share--f { fill: #a3202b; background: #a3202b; }

.filter { display: grid; gap: 6px; }
.filter label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.filter__row { display: flex; gap: 8px; }
.filter select { min-width: 220px; }

.empty { padding: clamp(28px, 4vw, 44px); border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--white); text-align: center; }
.empty h3 { font-size: 1.35rem; }
.empty p { max-width: 560px; margin: 10px auto 0; color: var(--muted); }
.empty--photo { display: grid; padding: 0; overflow: hidden; border-style: solid; text-align: left; }
.empty__photo { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.empty__body { padding: clamp(24px, 4vw, 44px); align-self: center; }
.empty--photo p { margin: 12px 0 0; }
@media (min-width: 860px) { .empty--photo { grid-template-columns: 2fr 3fr; } }

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

.faq { display: grid; gap: 10px; margin-top: 28px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq__item summary {
  position: relative; padding: 18px 56px 18px 22px;
  font-weight: 600; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; position: absolute; right: 22px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--cyan-ink); border-bottom: 2px solid var(--cyan-ink);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__item p { padding: 0 22px 20px; color: var(--muted); }
.faq-group { margin-top: 48px; font-size: 1.5rem; }
.faq-group:first-child { margin-top: 0; }
.faq-group + .faq { margin-top: 18px; }
.faq-actions { margin-top: 48px; }

/* ---------------------------------------------------------------- Formulaires */

.form-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .form-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; } }

.form-card {
  padding: clamp(20px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form-card__title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: 1.35rem; }

.form-section { margin: 0 0 12px; padding: 0 0 28px; border: 0; border-bottom: 1px solid var(--line); min-width: 0; }
.form-section + .form-section { padding-top: 28px; }
.form-section legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; }
.form-section legend + .form-note { margin-top: -10px; margin-bottom: 18px; }
.form-section__number { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--cyan); font-size: .95rem; flex-shrink: 0; }

.form-note { color: var(--muted); font-size: .92rem; }
.form-card > form > .form-note:first-child, .form-card form > .form-note { margin-bottom: 18px; }
.form-actions { display: grid; gap: 12px; margin-top: 28px; justify-items: start; }

.field-grid { display: grid; gap: 0 20px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.field { display: grid; gap: 6px; margin-bottom: 20px; min-width: 0; }
.field__label { font-weight: 600; font-size: .98rem; }
.field__required { color: var(--error); }
.field__help { color: var(--muted); font-size: .9rem; }
.field__errors { list-style: none; color: var(--error); font-size: .92rem; font-weight: 600; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select {
  appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
input:hover, select:hover, textarea:hover { border-color: var(--navy); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan-ink); box-shadow: 0 0 0 4px rgb(0 191 255 / 25%); }
.field--invalid input, .field--invalid select, .field--invalid textarea { border-color: var(--error); }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; display: inline-flex; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__label {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 10px 16px;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  background: var(--white); color: var(--ink);
  font-weight: 500; cursor: pointer; user-select: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.choices--multiple .choice__label::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  border: 1.5px solid var(--line-strong); border-radius: 4px; background: var(--white);
}
.choices--single .choice__label::before {
  content: ""; width: 16px; height: 16px; flex-shrink: 0;
  border: 1.5px solid var(--line-strong); border-radius: 50%; background: var(--white);
}
.choice:hover .choice__label { border-color: var(--navy); }
.choice input:checked + .choice__label { border-color: var(--navy); background: var(--navy); color: var(--white); }
.choices--multiple .choice input:checked + .choice__label::before {
  border-color: var(--cyan); background: var(--cyan);
  background-image: linear-gradient(45deg, transparent 45%, var(--navy) 45%, var(--navy) 55%, transparent 55%);
}
.choices--single .choice input:checked + .choice__label::before { border: 5px solid var(--cyan); }
.choice input:focus-visible + .choice__label { outline: 3px solid var(--cyan); outline-offset: 2px; }
.field--invalid .choice__label { border-color: var(--error); }

.field--consent { margin-top: 8px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }

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

.form-aside { display: grid; gap: 16px; }
@media (min-width: 1024px) { .form-aside { position: sticky; top: calc(var(--header-height) + 24px); } }
.aside-card { display: block; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.aside-card h2 { margin-bottom: 10px; font-size: 1.15rem; }
.aside-card p { color: var(--muted); font-size: .96rem; }
.aside-card .button, .aside-card .textlink { margin-top: 16px; }
.aside-card--link:hover { color: var(--ink); box-shadow: var(--shadow-strong); }
.aside-card--photo { padding: 0; overflow: hidden; }
.aside-card__photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.aside-card__body { padding: 20px 24px 24px; }
.aside-note { padding: 0 8px; color: var(--muted); font-size: .9rem; }

.mini-steps { display: grid; gap: 14px; list-style: none; counter-reset: mini; }
.mini-steps li { position: relative; display: grid; gap: 2px; padding-left: 40px; counter-increment: mini; font-size: .95rem; }
.mini-steps li::before {
  content: counter(mini); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--cyan-pale); color: var(--cyan-ink); font-weight: 700; font-size: .85rem;
}
.mini-steps span { color: var(--muted); }

/* ---------------------------------------------------------------- Rendez-vous */

.booking { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .booking { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; } .booking__details { position: sticky; top: calc(var(--header-height) + 24px); } }
.booking .form-note { margin-bottom: 20px; }
.booking__selected { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius-small); background: var(--paper); color: var(--muted); }
.booking__selected strong { color: var(--navy); }

.slots__days { display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day-chip {
  flex-shrink: 0; min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-small);
  background: var(--white); color: var(--ink);
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; white-space: nowrap;
}
.day-chip:hover { border-color: var(--navy); }
.day-chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--white); }

.slots__day { margin: 0 0 24px; padding: 0; border: 0; min-width: 0; }
.slots__day legend { margin-bottom: 12px; font-weight: 700; }
.slots__day legend::first-letter { text-transform: uppercase; }
.slots[data-enhanced] .slots__day { display: none; }
.slots[data-enhanced] .slots__day.is-active { display: block; }
.slots__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot span {
  display: grid; place-items: center; min-height: 46px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-small);
  font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer;
}
.slot:hover span { border-color: var(--navy); }
.slot input:checked + span { border-color: var(--navy); background: var(--navy); color: var(--cyan); }
.slot input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* ---------------------------------------------------------------- Confirmation */

.confirmation { max-width: 680px; margin: 0 auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); text-align: center; }
.confirmation__icon { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px; border-radius: 50%; background: var(--ok-pale); color: var(--ok); }
.confirmation__icon .check { width: 36px; height: 36px; }
.confirmation h1 { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem); }
.confirmation__body { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }
.confirmation__reference { margin-top: 24px; padding: 14px; border-radius: var(--radius-small); background: var(--paper); }
.confirmation__reference strong { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .03em; }
.confirmation > p:not([class]) { margin-top: 20px; color: var(--muted); }

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

.section--prose { padding-top: clamp(32px, 5vw, 56px); }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font-size: 1.35rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose dd { color: var(--ink-soft); }
.prose dl { display: grid; gap: 6px 24px; margin: 0; }
@media (min-width: 640px) { .prose dl { grid-template-columns: 220px 1fr; } }
.prose dt { font-weight: 600; }
.prose dd { margin: 0 0 8px; }

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

.footer { padding: clamp(48px, 7vw, 80px) 0 32px; background: var(--navy-deep); color: var(--on-navy-muted); }
.footer__top { display: grid; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--navy-line); }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.1fr 1.4fr; gap: 64px; } }
.footer__brand p { margin-top: 18px; max-width: 420px; }
.footer__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.footer__columns { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.footer h2 { margin-bottom: 14px; font-family: var(--font-text); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); }
.footer ul { list-style: none; }
.footer__columns li + li { margin-top: 10px; }
.footer a { color: var(--on-navy-muted); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom { display: grid; gap: 16px; padding-top: 24px; font-size: .9rem; }
@media (min-width: 960px) { .footer__bottom { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.booking > *, .form-layout > * { min-width: 0; }
.footer a.button { text-decoration: none; }
.footer a.button--primary, .footer a.button--primary:hover { color: var(--navy); }
.footer a.button--ghost-light { color: var(--white); }
.footer a.button--ghost-light:hover { color: var(--navy); }
