/* ============================================================
   BT BUSINESS GROUP — TRANSPORTS
   global.css — système de design unique pour toutes les pages
   Palette : fond ivoire, encre noire, un seul accent (bleu marque)
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  /* Palette */
  --paper-ivory:   #F4F1EA;  /* fond principal (ivoire) */
  --paper-warm:    #EAE5DA;  /* fond alterné / footer */
  --ink-deep:      #141312;  /* texte fort, fonds sombres (noir chaud) */
  --ink-soft:      #2A2825;  /* paragraphes */
  --ink-mute:      #6B6458;  /* labels, overlines */
  --line-subtle:   #D7D0C2;  /* filets, bordures */
  --accent-blue:   #2B2B8C;  /* unique accent — repris du logo BT */
  --accent-blue-2: #3A3AA8;  /* hover de l'accent */

  /* Inversions sur fond sombre */
  --on-dark-strong: #F4F1EA; /* texte ivoire sur noir */
  --on-dark-mute:   #B8B0A2;

  /* Typo */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Espacements de section */
  --space-sm: 80px;
  --space-md: 120px;
  --space-lg: 180px;

  /* Divers */
  --container-max: 1280px;
  --shadow-soft: 0 20px 60px rgba(20, 19, 18, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--paper-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* ---------- GRAIN PAPIER ---------- */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- TYPOGRAPHIE ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink-deep);
}

h1 { font-size: clamp(52px, 8vw, 108px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(26px, 3vw, 38px); }

p { max-width: 62ch; }

.overline {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
}

.serif-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
}

em, .italic { font-style: italic; }

/* ---------- UTILITAIRES ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 768px) { .container { padding-inline: 48px; } }

.section-pad { padding-block: var(--space-sm); }
@media (min-width: 768px)  { .section-pad { padding-block: var(--space-md); } }
@media (min-width: 1024px) { .section-pad { padding-block: var(--space-lg); } }

.bg-warm { background: var(--paper-warm); }
.bg-dark { background: var(--ink-deep); color: var(--on-dark-strong); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--on-dark-strong); }
.bg-dark .overline { color: var(--on-dark-mute); }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- ACCESSIBILITÉ ---------- */
.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;
  top: -100px; left: 16px;
  z-index: 10001;
  background: var(--ink-deep);
  color: var(--on-dark-strong);
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* logo header */
.brand-logo { display: flex; align-items: center; gap: 14px; }
.brand-logo img { height: 40px; width: auto; mix-blend-mode: multiply; }
.brand-logo .brand-text {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--ink-deep);
}
.brand-logo .brand-text span { display: block; color: var(--ink-mute); font-weight: 400; }

/* logo crème quand au-dessus du hero */
.site-header.on-hero .brand-logo img { filter: invert(1); mix-blend-mode: screen; }
.site-header.on-hero .brand-logo .brand-text { color: var(--on-dark-strong); }
.site-header.on-hero .brand-logo .brand-text span { color: var(--on-dark-mute); }
.site-header.on-hero .nav-link,
.site-header.on-hero .menu-toggle { color: var(--on-dark-strong); }
.site-header.on-hero .menu-toggle .bar { background: var(--on-dark-strong); }

/* état scrollé */
.site-header.scrolled {
  background: rgba(244, 241, 234, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line-subtle);
}
.site-header.scrolled .brand-logo img { filter: none; mix-blend-mode: multiply; }
.site-header.scrolled .brand-logo .brand-text { color: var(--ink-deep); }
.site-header.scrolled .nav-link,
.site-header.scrolled .menu-toggle { color: var(--ink-deep); }
.site-header.scrolled .menu-toggle .bar { background: var(--ink-deep); }

/* nav desktop */
.nav-desktop { display: none; }
@media (min-width: 1024px) { .nav-desktop { display: flex; align-items: center; gap: 38px; } }

.nav-link {
  position: relative;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-deep);
  padding-block: 6px;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.4s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; }

/* bouton menu mobile */
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-deep);
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.menu-toggle .bars { display: inline-flex; flex-direction: column; gap: 4px; width: 22px; }
.menu-toggle .bar {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink-deep);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
body.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* overlay menu mobile */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--paper-ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
body.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1.15;
  color: var(--ink-deep);
  letter-spacing: -0.02em;
}
.mobile-menu a[aria-current="page"] { color: var(--accent-blue); }
.mobile-menu .menu-meta {
  margin-top: 48px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
}
.mobile-menu .menu-meta a { font-family: var(--sans); font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 600px;
  background: var(--ink-deep);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero-media video { display: none; }
@media (min-width: 768px) {
  .hero-media video { display: block; }
  .hero-media img.hero-poster { display: none; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(20,19,18,0.85) 0%,
    rgba(20,19,18,0.35) 45%,
    rgba(20,19,18,0.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: clamp(56px, 9vh, 110px);
}
.hero .overline { color: var(--on-dark-mute); margin-bottom: 28px; }
.hero-logo { width: clamp(160px, 26vw, 320px); }
.hero-logo img { filter: invert(1); mix-blend-mode: screen; width: 100%; }
.hero-tagline {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  color: var(--on-dark-strong);
  font-size: clamp(22px, 3vw, 34px);
  margin-top: 24px;
  max-width: 22ch;
}

/* indicateur de scroll */
.scroll-cue {
  position: absolute;
  right: 24px; bottom: clamp(56px, 9vh, 110px);
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
@media (min-width: 768px) { .scroll-cue { display: flex; right: 48px; } }
.scroll-cue span {
  writing-mode: vertical-rl;
  font-family: var(--sans);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--on-dark-mute);
}
.scroll-cue .line {
  position: relative;
  width: 1px; height: 64px;
  background: rgba(244,241,234,0.25);
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 40%;
  background: var(--on-dark-strong);
  animation: scrollDown 2.4s var(--ease) infinite;
}
@keyframes scrollDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ============================================================
   MANIFESTE
   ============================================================ */
.manifeste { text-align: center; }
.manifeste .inner { max-width: 760px; margin-inline: auto; }
.manifeste p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.4;
  color: var(--ink-deep);
  max-width: none;
}
.manifeste-sep {
  width: 60px; height: 1px;
  background: var(--line-subtle);
  margin: 36px auto;
}
.manifeste .signature {
  margin-top: 48px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--ink-mute);
}

/* ============================================================
   ANCRAGE (2 colonnes texte + triptyque)
   ============================================================ */
.ancrage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}
@media (min-width: 1024px) {
  .ancrage-grid { grid-template-columns: 1.1fr 0.9fr; gap: 96px; align-items: start; }
}
.ancrage-text .overline { display: block; margin-bottom: 28px; }
.ancrage-text h2 { margin-bottom: 32px; }
.ancrage-text p + p { margin-top: 24px; }

.triptyque { display: flex; flex-direction: column; }
.triptyque .item {
  padding-block: 28px;
  border-top: 1px solid var(--line-subtle);
}
.triptyque .item:last-child { border-bottom: 1px solid var(--line-subtle); }
.triptyque .item .num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent-blue);
  margin-bottom: 10px;
}
.triptyque .item h3 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 8px; }
.triptyque .item p { font-size: 15px; line-height: 1.7; color: var(--ink-mute); }

.ancrage-close {
  margin-top: 72px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 30px);
  color: var(--ink-deep);
  max-width: 22ch;
  margin-inline: auto;
}

/* ============================================================
   RUBRIQUES (articles plein écran, fond sombre)
   ============================================================ */
.rubriques { display: flex; flex-direction: column; }
.rubrique {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink-deep);
}
.rubrique-img { position: absolute; inset: 0; }
.rubrique-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 1.4s var(--ease), opacity 0.6s var(--ease);
}
.rubrique:hover .rubrique-img img { transform: scale(1.05); opacity: 0.6; }
.rubrique-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 48px 24px;
  max-width: 640px;
}
.rubrique-content .overline { color: var(--on-dark-mute); margin-bottom: 22px; display: block; }
.rubrique-content h2 { color: var(--on-dark-strong); margin-bottom: 22px; }
.rubrique-content .excerpt {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--on-dark-strong);
  margin-inline: auto;
  margin-bottom: 32px;
  max-width: 46ch;
}

/* ============================================================
   CTA LINK
   ============================================================ */
.cta-link, .cta-link-cream {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  position: relative;
  padding-bottom: 6px;
  color: var(--ink-deep);
}
.cta-link-cream { color: var(--on-dark-strong); }
.cta-link .arrow, .cta-link-cream .arrow {
  transition: transform 0.4s var(--ease);
}
.cta-link:hover .arrow, .cta-link-cream:hover .arrow { transform: translateX(4px); }
.cta-link::after, .cta-link-cream::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.cta-link:hover::after, .cta-link-cream:hover::after { transform: scaleX(1); }

/* ============================================================
   BANDEAU CONTACT / INVITATION
   ============================================================ */
.invite { text-align: center; }
.invite .overline { display: block; margin-bottom: 28px; }
.invite h2 { margin-bottom: 28px; }
.invite p { margin-inline: auto; margin-bottom: 40px; color: var(--ink-soft); }

/* ============================================================
   GALERIE (page entreprise)
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.gallery figure { position: relative; overflow: hidden; background: var(--paper-warm); }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.gallery figure.tall img { aspect-ratio: 4 / 7; }

.parallax-wrap { overflow: hidden; }
.parallax-img { will-change: transform; }

/* page intro (en-tête de page intérieure) */
.page-intro { padding-top: calc(84px + var(--space-sm)); }
@media (min-width: 768px) { .page-intro { padding-top: calc(84px + var(--space-md)); } }
.page-intro .overline { display: block; margin-bottom: 26px; }
.page-intro h1 { margin-bottom: 28px; }
.page-intro .lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink-soft);
  max-width: 30ch;
}

/* blocs texte intérieurs */
.prose h2 { margin-bottom: 28px; }
.prose h3 { margin-bottom: 16px; margin-top: 48px; }
.prose p + p { margin-top: 22px; }
.prose .overline { display: block; margin-bottom: 24px; }

.split {
  display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center;
}
@media (min-width: 1024px) {
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split.reverse > *:first-child { order: 2; }
}
.split img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }

.feature-list { margin-top: 36px; }
.feature-list li {
  position: relative;
  padding: 22px 0 22px 28px;
  border-top: 1px solid var(--line-subtle);
}
.feature-list li:last-child { border-bottom: 1px solid var(--line-subtle); }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 30px;
  width: 7px; height: 7px;
  background: var(--accent-blue);
  border-radius: 50%;
}
.feature-list li strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink-deep);
  margin-bottom: 4px;
}
.feature-list li span { font-size: 15px; color: var(--ink-mute); }

/* statistiques / chiffres */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats .stat .num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 72px);
  color: var(--ink-deep);
  line-height: 1;
}
.bg-dark .stats .stat .num { color: var(--on-dark-strong); }
.stats .stat .label {
  font-family: var(--sans);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  margin-top: 14px;
}

/* ============================================================
   FORMULAIRE CONTACT
   ============================================================ */
.contact-grid {
  display: grid; grid-template-columns: 1fr; gap: 56px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }

.contact-aside .overline { display: block; margin-bottom: 24px; }
.contact-aside h2 { margin-bottom: 28px; }
.contact-aside .coord { margin-top: 40px; }
.contact-aside .coord dt {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-top: 24px;
}
.contact-aside .coord dd {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-deep);
  margin-top: 4px;
}

.form-row { margin-bottom: 36px; }
.form-row.two { display: grid; grid-template-columns: 1fr; gap: 36px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field { position: relative; }
.field label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-deep);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-subtle);
  padding: 10px 0;
  transition: border-color 0.35s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-bottom-color: var(--ink-deep);
}

/* honeypot caché */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* case RGPD custom */
.consent {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 36px;
}
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .box {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border: 1px solid var(--line-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.consent .box svg { width: 12px; height: 12px; opacity: 0; transition: opacity 0.2s var(--ease); stroke: var(--on-dark-strong); }
.consent input:checked + .box { background: var(--accent-blue); border-color: var(--accent-blue); }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { outline: 2px solid var(--accent-blue); outline-offset: 3px; }
.consent label { font-size: 13px; line-height: 1.6; color: var(--ink-mute); cursor: pointer; }
.consent label a { color: var(--ink-deep); text-decoration: underline; text-underline-offset: 3px; }

.challenge {
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid var(--line-subtle);
}
.challenge label { font-size: 11px; }
.challenge .q { font-family: var(--serif); font-size: 20px; color: var(--ink-deep); margin: 8px 0 12px; }
.challenge input { max-width: 120px; }

/* bouton */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-deep);
  border: 1px solid var(--ink-deep);
  padding: 18px 38px;
  background: transparent;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn:hover { background: var(--ink-deep); color: var(--on-dark-strong); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.bg-dark .btn { color: var(--on-dark-strong); border-color: var(--on-dark-strong); }
.bg-dark .btn:hover { background: var(--on-dark-strong); color: var(--ink-deep); }

.form-status {
  margin-top: 24px;
  font-family: var(--sans);
  font-size: 14px;
  min-height: 22px;
}
.form-status.ok { color: var(--accent-blue); }
.form-status.err { color: #9b2c2c; }

/* ============================================================
   PAGES LÉGALES
   ============================================================ */
.legal { max-width: 56ch; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin-bottom: 40px; }
.legal h2 { font-size: clamp(24px, 3vw, 32px); margin: 48px 0 16px; }
.legal h3 { font-size: 20px; margin: 32px 0 10px; }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }
.legal p + p { margin-top: 16px; }
.legal ul { margin: 16px 0 16px 0; }
.legal ul li { position: relative; padding-left: 20px; margin-bottom: 8px; }
.legal ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent-blue); }
.legal a { color: var(--accent-blue); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-size: 13px; color: var(--ink-mute); margin-top: 48px; font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--paper-warm);
  border-top: 1px solid var(--line-subtle);
  padding-block: var(--space-sm);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; } }

.footer-brand img { height: 44px; mix-blend-mode: multiply; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; color: var(--ink-mute); max-width: 36ch; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 15px; color: var(--ink-soft); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--accent-blue); }

.footer-bottom {
  margin-top: var(--space-sm);
  padding-top: 32px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.footer-bottom a { color: var(--ink-mute); }
.footer-bottom a:hover { color: var(--accent-blue); }

/* ============================================================
   ÉTATS INITIAUX D'ANIMATION
   (posés en CSS, révélés par GSAP)
   ============================================================ */
.fade-up { opacity: 0; transform: translateY(24px); }
.fade-in { opacity: 0; }
.scale-in { opacity: 0.3; transform: scale(1.06); }
.fade-up-item { opacity: 0; transform: translateY(24px); }

/* ============================================================
   REDUCED MOTION — tout révélé, animations coupées
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-in, .scale-in, .fade-up-item {
    opacity: 1 !important;
    transform: none !important;
  }
  .scroll-cue .line::after { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}
