/* =========================================================
   PILOTE TRAVAUX - Feuille de style principale
   Design : navy / blueprint technique, accents cyan + orange
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --navy-900: #06111F;
  --navy-800: #0A1A2F;
  --navy-700: #0E2440;
  --navy-600: #143152;
  --navy-500: #1C4066;
  --line: rgba(120, 170, 220, 0.16);
  --line-strong: rgba(120, 170, 220, 0.30);

  --white: #FFFFFF;
  --ink-100: #EAF1F8;
  --ink-200: #C4D4E6;
  --ink-300: #96ACC4;
  --ink-400: #6E86A2;

  --cyan: #38D9E4;
  --cyan-soft: rgba(56, 217, 228, 0.14);
  --orange: #F97316;
  --orange-600: #E4620A;
  --orange-soft: rgba(249, 115, 22, 0.14);

  --radius: 14px;
  --radius-sm: 10px;
  --maxw: 1140px;
  --gutter: clamp(16px, 5vw, 48px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font);
  color: var(--ink-100);
  background-color: var(--navy-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Trame blueprint subtile sur toute la page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 500px at 15% -5%, rgba(56, 217, 228, 0.10), transparent 60%),
    radial-gradient(800px 600px at 100% 0%, rgba(249, 115, 22, 0.08), transparent 55%);
  pointer-events: none;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

/* ---------- Layout utils ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 112px); position: relative; }
.section--line { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cyan); font-weight: 700; margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--cyan); display: inline-block;
}
h1, h2, h3 { line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; color: var(--white); }
.section-title { font-size: clamp(1.8rem, 4.5vw, 2.75rem); }
.section-intro { color: var(--ink-200); max-width: 60ch; margin-top: 16px; font-size: 1.05rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius-sm); border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--orange); color: #1b0d02; box-shadow: 0 10px 30px -12px rgba(249, 115, 22, 0.8); }
.btn--primary:hover { background: var(--orange-600); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--cyan); background: var(--cyan-soft); transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6, 17, 31, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(6, 17, 31, 0.9); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--white); font-size: 1.05rem; }
.brand img { width: 40px; height: 40px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a { color: var(--ink-200); font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
.nav__links a:hover { color: var(--white); }
.nav__cta { display: inline-flex; align-items: center; gap: 16px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white);
  border: 1px solid var(--line-strong); padding: 10px 16px; border-radius: 999px; font-size: 0.92rem;
  transition: border-color 0.2s, background 0.2s;
}
.nav__phone:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.nav__phone svg { width: 16px; height: 16px; color: var(--cyan); }
.nav__burger { display: none; background: none; border: 0; color: var(--white); padding: 8px; }
.nav__burger svg { width: 26px; height: 26px; }

.mobile-menu { display: none; }
@media (max-width: 1040px) {
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: inline-flex; }
  .mobile-menu {
    display: block; position: fixed; inset: 72px 0 auto 0; z-index: 49;
    background: var(--navy-800); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); transition: transform 0.3s var(--ease);
    padding: 12px var(--gutter) 24px;
  }
  .mobile-menu.is-open { transform: translateY(0); }
  .mobile-menu a { display: block; padding: 14px 4px; color: var(--ink-100); font-weight: 600; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 16px; }
}

/* ---------- Corners techniques (cadre ouvert) ---------- */
.framed { position: relative; }
.framed::before, .framed::after {
  content: ""; position: absolute; width: 20px; height: 20px; pointer-events: none;
  border-color: var(--orange); border-style: solid; border-width: 0;
}
.framed::before { top: -1px; left: -1px; border-top-width: 2px; border-left-width: 2px; }
.framed::after { bottom: -1px; right: -1px; border-bottom-width: 2px; border-right-width: 2px; }

/* ---------- Hero ---------- */
.hero { padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(56px, 9vw, 104px); }
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__zone {
  display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; font-weight: 600;
  color: var(--ink-200); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; margin-bottom: 26px;
}
.hero__zone svg { width: 16px; height: 16px; color: var(--cyan); }
.hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.9rem); }
.hero h1 .accent { color: var(--cyan); }
.hero__sub { margin-top: 22px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--ink-100); font-weight: 600; }
.hero__lede { margin-top: 16px; color: var(--ink-200); max-width: 54ch; font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Panneau "fiche technique" */
.spec-card {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 26px; position: relative; overflow: hidden;
}
.spec-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.spec-card__tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-300); font-weight: 700; }
.spec-card__dots { display: inline-flex; gap: 6px; }
.spec-card__dots span { width: 8px; height: 8px; border-radius: 50%; }
.spec-card__dots span:nth-child(1) { background: var(--orange); }
.spec-card__dots span:nth-child(2) { background: var(--cyan); }
.spec-card__dots span:nth-child(3) { background: var(--ink-400); }
.spec-row { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 12px; padding: 14px 0; border-top: 1px dashed var(--line); }
.spec-row:first-of-type { border-top: 0; }
.spec-row dt { color: var(--cyan); font-size: 0.85rem; font-weight: 600; }
.spec-row dd { color: var(--ink-100); font-weight: 600; font-size: 0.95rem; }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .spec-card { order: 2; }
}

/* ---------- Domaines (3 cartes) ---------- */
.domains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.domain {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform 0.25s var(--ease), border-color 0.25s, background 0.25s;
}
.domain:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--navy-700); }
.domain__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); display: grid; place-items: center; margin-bottom: 18px; }
.domain__icon svg { width: 24px; height: 24px; }
.domain h3 { font-size: 1.25rem; margin-bottom: 10px; }
.domain p { color: var(--ink-200); font-size: 0.97rem; }
@media (max-width: 820px) { .domains { grid-template-columns: 1fr; } }

/* ---------- Timeline "Comment ça marche" ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; }
.step {
  position: relative; background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 22px; transition: transform 0.25s var(--ease), border-color 0.25s;
}
.step:hover { transform: translateY(-4px); border-color: var(--cyan); }
.step__num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px;
  background: var(--navy-600); color: var(--cyan); font-weight: 800; font-size: 1.1rem; margin-bottom: 18px;
  border: 1px solid var(--line-strong);
}
.step__icon { position: absolute; top: 26px; right: 22px; color: var(--ink-400); }
.step__icon svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--ink-200); font-size: 0.93rem; }
@media (max-width: 920px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; margin-top: 44px; align-items: start; }
.service-list { display: grid; gap: 14px; }
.service-item {
  display: flex; gap: 16px; padding: 20px 22px; background: var(--navy-800);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.service-item__icon { color: var(--cyan); flex: none; margin-top: 2px; }
.service-item__icon svg { width: 22px; height: 22px; }
.service-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.service-item p { color: var(--ink-200); font-size: 0.93rem; }
.callout {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 28px;
}
.callout h3 { font-size: 1.2rem; margin-bottom: 12px; }
.callout p { color: var(--ink-200); font-size: 0.97rem; margin-bottom: 14px; }
.callout .tag-line { display: inline-flex; align-items: center; gap: 10px; color: var(--cyan); font-weight: 700; font-size: 0.9rem; }
.callout .tag-line svg { width: 18px; height: 18px; }
@media (max-width: 820px) { .services-grid { grid-template-columns: 1fr; } }

/* ---------- Tarifs ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
.price-card {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; position: relative;
}
.price-card h3 { font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cyan); margin-bottom: 20px; font-weight: 700; font-size: 0.85rem; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.price-row:first-of-type { border-top: 0; }
.price-row__label { color: var(--ink-100); font-weight: 600; font-size: 0.96rem; }
.price-row__note { display: block; color: var(--ink-300); font-weight: 400; font-size: 0.82rem; margin-top: 3px; }
.price-row__value { color: var(--white); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.price-notes { margin-top: 28px; display: grid; gap: 12px; }
.price-note { display: flex; gap: 12px; color: var(--ink-200); font-size: 0.92rem; align-items: flex-start; }
.price-note svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }
.pay-methods { display: inline-flex; gap: 10px; margin-top: 8px; }
.pay-methods span { font-size: 0.8rem; font-weight: 700; color: var(--ink-100); border: 1px solid var(--line-strong); border-radius: 8px; padding: 6px 12px; }
@media (max-width: 820px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- Pourquoi PILOTE ---------- */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 44px; }
.trust-item { display: flex; gap: 16px; padding: 24px; background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.25s, transform 0.25s var(--ease); }
.trust-item:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.trust-item__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--cyan-soft); color: var(--cyan); display: grid; place-items: center; flex: none; }
.trust-item__icon svg { width: 22px; height: 22px; }
.trust-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.trust-item p { color: var(--ink-200); font-size: 0.93rem; }
@media (max-width: 720px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Wizard formulaire ---------- */
.form-shell { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 32px; margin-top: 44px; align-items: start; }
.form-aside h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.form-aside p { color: var(--ink-200); margin-top: 16px; }
.form-aside .reassure { margin-top: 24px; display: grid; gap: 12px; }
.form-aside .reassure li { display: flex; gap: 10px; color: var(--ink-100); font-size: 0.95rem; align-items: flex-start; list-style: none; }
.form-aside .reassure svg { width: 18px; height: 18px; color: var(--cyan); flex: none; margin-top: 3px; }

.wizard {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); position: relative;
}
.wizard__progress { margin-bottom: 26px; }
.wizard__progress-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.wizard__step-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
.wizard__count { font-size: 0.85rem; color: var(--ink-300); font-weight: 600; }
.wizard__bar { height: 6px; border-radius: 999px; background: var(--navy-600); overflow: hidden; }
.wizard__bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--cyan), var(--orange)); border-radius: 999px; transition: width 0.4s var(--ease); }

.step-panel { display: none; animation: fadeIn 0.35s var(--ease); }
.step-panel.is-active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.step-panel legend, .field-label { display: block; font-size: 1.15rem; font-weight: 700; color: var(--white); margin-bottom: 6px; border: 0; padding: 0; }
.field-help { color: var(--ink-300); font-size: 0.9rem; margin-bottom: 18px; }
fieldset { border: 0; padding: 0; margin: 0; }

/* Options radio / checkbox en cartes */
.option-grid { display: grid; gap: 12px; }
.option-grid.cols-2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 540px) { .option-grid.cols-2 { grid-template-columns: 1fr; } }
.option {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 16px 18px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--navy-800);
  color: var(--ink-100); font-weight: 600; font-size: 0.96rem; cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s var(--ease);
}
.option:hover { border-color: var(--cyan); transform: translateY(-2px); }
.option input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.option__mark {
  width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--line-strong);
  flex: none; display: grid; place-items: center; transition: border-color 0.2s, background 0.2s;
}
.option input[type="radio"] + .option__mark { border-radius: 50%; }
.option__mark svg { width: 14px; height: 14px; color: #06111f; opacity: 0; transition: opacity 0.15s; }
.option:has(input:checked) { border-color: var(--cyan); background: var(--cyan-soft); }
.option:has(input:checked) .option__mark { background: var(--cyan); border-color: var(--cyan); }
.option:has(input:checked) .option__mark svg { opacity: 1; }

/* Champs texte */
.input, .textarea, .select {
  width: 100%; background: var(--navy-800); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); color: var(--white); padding: 14px 16px; font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder, .textarea::placeholder { color: var(--ink-400); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-soft); }
.textarea { resize: vertical; min-height: 110px; }
.field { margin-bottom: 18px; }
.field > label:not(.option) { display: block; font-weight: 600; color: var(--ink-100); margin-bottom: 8px; font-size: 0.95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.wizard__actions { display: flex; gap: 12px; margin-top: 26px; }
.wizard__actions .btn { flex: 1; }
.btn--back { background: transparent; border-color: var(--line-strong); color: var(--ink-100); }
.btn--back:hover { border-color: var(--ink-200); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; margin-bottom: 4px; font-size: 0.88rem; color: var(--ink-200); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cyan); flex: none; }
.consent a { color: var(--cyan); text-decoration: underline; }
.field-error { color: #ff9a7a; font-size: 0.85rem; margin-top: 8px; display: none; }
.field-error.is-visible { display: block; }

/* Succès */
.wizard-success { display: none; text-align: center; padding: 20px 0; }
.wizard-success.is-visible { display: block; animation: fadeIn 0.4s var(--ease); }
.wizard-success__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan); display: grid; place-items: center; margin: 0 auto 22px; }
.wizard-success__icon svg { width: 38px; height: 38px; }
.wizard-success h3 { font-size: 1.5rem; margin-bottom: 12px; }
.wizard-success p { color: var(--ink-200); max-width: 42ch; margin: 0 auto; }

@media (max-width: 860px) { .form-shell { grid-template-columns: 1fr; } }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; margin-top: 44px; }
.about__photo {
  position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong);
  aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--navy-600), var(--navy-800));
  display: grid; place-items: center; color: var(--ink-400); text-align: center; padding: 24px;
}
.about__photo svg { width: 64px; height: 64px; margin-bottom: 12px; }
.about__photo span { font-size: 0.85rem; }
.about h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.about__role { color: var(--cyan); font-weight: 700; margin-top: 8px; letter-spacing: 0.04em; }
.about p { color: var(--ink-200); margin-top: 18px; }
.about__bce { margin-top: 20px; font-size: 0.88rem; color: var(--ink-300); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 18px; display: inline-block; }
.about__bce strong { color: var(--ink-100); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 320px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.contact-card {
  background: var(--navy-800); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px; transition: border-color 0.25s, transform 0.25s var(--ease);
}
.contact-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.contact-card__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--cyan-soft); color: var(--cyan); display: grid; place-items: center; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card__label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-300); font-weight: 700; }
.contact-card__value { font-size: 1.1rem; font-weight: 700; color: var(--white); word-break: break-word; }
.contact-card__sub { color: var(--ink-300); font-size: 0.88rem; }
.social-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.social-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 10px 18px; font-weight: 600; font-size: 0.92rem; color: var(--ink-100); transition: border-color 0.2s, background 0.2s; }
.social-link:hover { border-color: var(--cyan); background: var(--cyan-soft); }
.social-link svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 32px; margin-top: 24px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--white); }
.footer__brand img { width: 40px; height: 40px; }
.footer__about { color: var(--ink-300); font-size: 0.9rem; margin-top: 16px; max-width: 36ch; }
.footer h4 { color: var(--white); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-200); font-size: 0.92rem; transition: color 0.2s; }
.footer a:hover { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-400); font-size: 0.85rem; }
.footer__socials { display: inline-flex; gap: 12px; }
.footer__socials a { width: 38px; height: 38px; border: 1px solid var(--line-strong); border-radius: 10px; display: grid; place-items: center; color: var(--ink-200); }
.footer__socials a:hover { border-color: var(--cyan); color: var(--cyan); }
.footer__socials svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Bannière cookies ---------- */
.cookie-banner {
  position: fixed; left: 50%; transform: translateX(-50%) translateY(140%);
  bottom: 18px; z-index: 80; width: min(760px, calc(100% - 32px));
  background: var(--navy-700); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  transition: transform 0.4s var(--ease); opacity: 0;
}
.cookie-banner.is-visible { transform: translateX(-50%) translateY(0); opacity: 1; }
.cookie-banner h3 { font-size: 1.1rem; margin-bottom: 8px; }
.cookie-banner p { color: var(--ink-200); font-size: 0.9rem; }
.cookie-banner p a { color: var(--cyan); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.cookie-actions .btn { flex: 1; min-width: 140px; padding: 13px 20px; font-size: 0.95rem; }
.cookie-actions .btn--link { flex-basis: 100%; background: none; border: 0; color: var(--ink-300); text-decoration: underline; font-size: 0.85rem; padding: 4px; }
.cookie-prefs { display: none; margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; gap: 14px; }
.cookie-prefs.is-open { display: grid; }
.cookie-pref { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.cookie-pref h4 { font-size: 0.95rem; color: var(--white); margin-bottom: 4px; }
.cookie-pref p { font-size: 0.84rem; }
.cookie-pref .locked { font-size: 0.8rem; color: var(--cyan); font-weight: 700; white-space: nowrap; }
.switch { position: relative; width: 46px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch__slider { position: absolute; inset: 0; background: var(--navy-500); border-radius: 999px; transition: background 0.2s; }
.switch__slider::before { content: ""; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: var(--white); border-radius: 50%; transition: transform 0.2s; }
.switch input:checked + .switch__slider { background: var(--cyan); }
.switch input:checked + .switch__slider::before { transform: translateX(20px); }
@media (max-width: 520px) { .cookie-actions .btn { flex-basis: 100%; } }

/* ---------- Pages légales ---------- */
.legal-hero { padding-block: clamp(56px, 10vw, 96px) 24px; }
.legal-hero a.back { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-weight: 600; font-size: 0.9rem; margin-bottom: 24px; }
.legal-hero a.back svg { width: 16px; height: 16px; }
.legal-hero h1 { font-size: clamp(1.9rem, 5vw, 3rem); }
.legal-hero p { color: var(--ink-300); margin-top: 12px; }
.legal-body { padding-bottom: clamp(56px, 9vw, 96px); }
.legal-content { max-width: 760px; }
.legal-content h2 { font-size: 1.4rem; margin-top: 44px; margin-bottom: 14px; color: var(--white); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.1rem; margin-top: 26px; margin-bottom: 8px; color: var(--ink-100); }
.legal-content p, .legal-content li { color: var(--ink-200); font-size: 1rem; line-height: 1.75; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul, .legal-content ol { margin: 0 0 18px 0; padding-left: 22px; display: grid; gap: 8px; }
.legal-content a { color: var(--cyan); text-decoration: underline; }
.legal-content strong { color: var(--ink-100); }
.legal-content .note { background: var(--navy-800); border: 1px solid var(--line); border-left: 3px solid var(--orange); border-radius: var(--radius-sm); padding: 16px 20px; margin: 18px 0; font-size: 0.95rem; }
.legal-table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 0.92rem; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); color: var(--ink-200); vertical-align: top; }
.legal-table th { background: var(--navy-800); color: var(--ink-100); font-weight: 700; }
.legal-fill { color: var(--orange); font-weight: 600; }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #1b0d02; padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
