/* ==========================================================================
   LuxTech — luxtech.be
   Direction « Cosmos » : Sora (titres) / Manrope (texte), accent bleu profond,
   fonds blanc cassé chaud, boutons pilule, ombres douces.
   ========================================================================== */

:root {
  /* Accent (bleu profond) + dérivés */
  --accent: #1E3A8A;
  --accent-ink: #182E6E;           /* accent mélangé 20 % noir  */
  --accent-bright: #8695C0;        /* accent mélangé 46 % blanc */
  --accent-soft: rgba(30, 58, 138, .07);
  --accent-line: rgba(30, 58, 138, .18);
  --accent-glow: rgba(120, 137, 185, .26);

  /* Typographie */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* Surfaces & encres */
  --bg: #FAF8F5;
  --bg2: #F1EEE8;
  --surface: #FFFFFF;
  --ink: #15161B;
  --muted: #5B5B64;
  --line: #E7E2DA;
  --dark: #0E1016;                 /* hero sombre  */
  --footer-bg: #15161B;            /* pied de page */

  /* Composants */
  --card-radius: 20px;
  --btn-radius: 999px;
  --card-lift: -9px;
  --card-shadow: 0 2px 8px rgba(20, 21, 26, .05), 0 16px 40px rgba(20, 21, 26, .07);
  --card-shadow-hover: 0 8px 20px rgba(30, 58, 138, .12), 0 30px 64px rgba(20, 21, 26, .16);

  /* Animations de révélation au scroll */
  --reveal-y: 30px;
  --reveal-dur: .8s;
  --reveal-ease: cubic-bezier(.16, .84, .30, 1);
}

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

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: clip;
}

img { max-width: 100%; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Révélation au scroll : seul le contenu sous la ligne de flottaison est
   masqué (par JS), puis révélé à l'entrée dans le viewport. */
[data-reveal] {
  transition: opacity var(--reveal-dur) var(--reveal-ease),
              transform var(--reveal-dur) var(--reveal-ease);
}
[data-reveal].hid {
  opacity: 0;
  transform: translateY(var(--reveal-y));
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-spin] { animation: none !important; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  border-radius: var(--btn-radius);
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s, color .2s;
}
.btn .arrow { font-size: 18px; line-height: 1; }

.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover {
  background: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--accent-soft);
}

.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
}

.btn-soft { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.btn-soft:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 11px 14px; font-size: 14px; gap: 6px; flex: 1 1 auto; }

/* Variantes du hero sombre */
.hero .btn-primary:hover {
  background: var(--accent-bright);
  color: var(--dark);
  box-shadow: 0 14px 34px var(--accent-glow);
}
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .26); }
.btn-ghost-dark:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
  transform: translateY(-2px);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  background: rgba(250, 248, 245, .82);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--line);
}

.site-header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
  height: 70px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--ink);
  margin-right: 6px;
}
.brand img { height: 27px; width: auto; display: block; }
.brand span {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 16px;
}

.desktop-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.desktop-nav > a:not(.btn) {
  padding: 9px 12px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: background .2s, color .2s;
}
.desktop-nav > a:not(.btn):hover { background: var(--accent-soft); color: var(--accent); }
.desktop-nav .btn { margin-left: 10px; padding: 10px 17px; font-size: 14px; gap: 7px; }

.burger {
  display: none;
  margin-left: auto;
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 10px clamp(18px, 5vw, 40px) 20px;
}
.mobile-menu.open { display: block; }
.mobile-menu .links { display: flex; flex-direction: column; }
.mobile-menu .links > a:not(.btn) {
  padding: 14px 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .links > a:not(.btn):last-of-type { border-bottom: 0; }
.mobile-menu .btn { margin-top: 14px; width: 100%; padding: 15px; }

@media (max-width: 880px) {
  .desktop-nav { display: none !important; }
  .burger { display: inline-flex !important; }
}
@media (min-width: 881px) {
  .mobile-menu { display: none !important; }
}

/* ---------- Sections génériques ---------- */

section[id] { scroll-margin-top: 84px; }

.section { padding: clamp(66px, 9vw, 116px) clamp(18px, 5vw, 40px); }
.section-alt {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.container { max-width: 1180px; margin: 0 auto; }

.section-head { text-align: center; max-width: 700px; margin: 0 auto clamp(40px, 5vw, 60px); }
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.section-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0 0 16px;
}
.section-head p {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.check-item { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; }
.check-item svg { flex: none; margin-top: 1px; }

/* ---------- Hero (Cosmos, sombre) ---------- */

.hero {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero .container {
  max-width: 1200px;
  padding: clamp(60px, 10vh, 118px) clamp(18px, 5vw, 40px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(35px, 5.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -.025em;
  margin: 0 0 22px;
  max-width: 15ch;
}
.hero h1 .price { color: var(--accent-bright); }

.hero .lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
  color: rgba(255, 255, 255, .66);
  margin: 0 0 34px;
  max-width: 54ch;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; }

.hero-note {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .62);
  font-size: 14.5px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}
.hero-visual .glow {
  position: absolute;
  inset: -10% -6%;
  background: radial-gradient(circle at 50% 46%, var(--accent-glow), transparent 64%);
  pointer-events: none;
}
.hero-visual svg { width: min(560px, 86vw); height: auto; position: relative; }

/* ---------- Offres (2 façons d'acheter) ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: transform .28s var(--reveal-ease), box-shadow .28s;
}
.card:hover { transform: translateY(var(--card-lift)); box-shadow: var(--card-shadow-hover); }

.buys-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 278px), 1fr));
  gap: clamp(18px, 2.2vw, 26px);
  align-items: stretch;
}

.buy-card {
  position: relative;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
}
.buy-card .reco-ring {
  position: absolute;
  inset: -1.5px;
  border: 2px solid var(--accent);
  border-radius: var(--card-radius);
  pointer-events: none;
}
.buy-card .reco-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  padding: 6px 13px;
  border-radius: 999px;
  font-family: var(--font-head);
  text-transform: uppercase;
}
.buy-card h3 {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 600;
  margin: 8px 0 16px;
  letter-spacing: -.01em;
}
.buy-card .lead-price {
  font-family: var(--font-head);
  font-size: clamp(23px, 2.6vw, 29px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
  margin-bottom: 5px;
}
.buy-card .lead-sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.buy-card .tagline { margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.buy-card .points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.buy-card .btn { margin-top: auto; padding: 13px 18px; font-size: 15px; gap: 7px; }

.include-banner {
  margin: clamp(26px, 3.5vw, 40px) auto 0;
  max-width: 940px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 18px 26px;
}
.include-banner svg { flex: none; }
.include-banner p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); text-align: center; }

/* ---------- Tarifs (cartes à bandeau — Cosmos) ---------- */

.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 338px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.type-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.type-card .band {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--accent-line);
  padding: 26px 28px;
}
.type-card .band h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px;
  letter-spacing: -.01em;
}
.type-card .price-row { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.type-card .price-row .from { font-size: 13.5px; color: var(--muted); }
.type-card .price-row .amount {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.type-card .price-row .per { font-size: 15px; color: var(--muted); font-weight: 500; }
.type-card .band .included { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.type-card .body { padding: 24px 28px; display: flex; flex-direction: column; flex: 1; }
.type-card .body .tagline { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.type-card .bullets { display: flex; flex-direction: column; gap: 11px; margin-bottom: 24px; }
.type-card .bullets .check-item { gap: 10px; font-size: 14.5px; }
.type-card .bullets .check-item svg { margin-top: 2px; }
.type-card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }

.tarifs-outro {
  margin: clamp(36px, 4.5vw, 54px) auto 0;
  max-width: 760px;
  text-align: center;
}
.tarifs-outro p { font-size: 16px; line-height: 1.6; color: var(--muted); margin: 0 0 22px; }
.tarifs-outro strong { color: var(--ink); font-weight: 700; }

/* ---------- Délais ---------- */

.delais-section { padding: clamp(60px, 8vw, 100px) clamp(18px, 5vw, 40px); }
.delais-section .container { max-width: 920px; }
.delais-section .section-head { max-width: 680px; margin-bottom: clamp(34px, 4.5vw, 50px); }
.delais-section .section-head h2 { font-size: clamp(27px, 3.8vw, 42px); line-height: 1.1; }
.delais-section .section-head p { font-size: clamp(16px, 1.9vw, 18.5px); }

.delais-list { display: flex; flex-direction: column; gap: 11px; }
.delai-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
.delai-row .type {
  font-family: var(--font-head);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.delai-row .delai {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
}
.delais-note {
  margin: clamp(22px, 3vw, 30px) auto 0;
  max-width: 680px;
  text-align: center;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- Maintenance ---------- */

.maintenance .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.maintenance h2 {
  font-family: var(--font-head);
  font-size: clamp(27px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.maintenance .text p { font-size: clamp(16px, 1.9vw, 18.5px); line-height: 1.62; color: var(--muted); margin: 0; }
.tickets-note {
  margin-top: 26px;
  padding: 18px 22px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--card-radius);
}
.tickets-note p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--ink); }

.includes-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--card-shadow);
}
.includes-card .label {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px;
}
.includes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 158px), 1fr));
  gap: 15px 20px;
}
.include-item { display: flex; align-items: center; gap: 11px; font-size: 15px; line-height: 1.35; }
.include-item .chip {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Options ---------- */

.options-section { padding: clamp(50px, 7vw, 90px) clamp(18px, 5vw, 40px) clamp(66px, 9vw, 116px); }
.options-section .section-head { max-width: 680px; margin-bottom: clamp(38px, 5vw, 56px); }
.options-section .section-head h2 { font-size: clamp(27px, 3.8vw, 42px); line-height: 1.1; }
.options-section .section-head p { font-size: clamp(16px, 1.9vw, 18.5px); }

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 238px), 1fr));
  gap: clamp(16px, 2vw, 22px);
}
.option-card { padding: 28px 24px; }
.option-card .num {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.option-card h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 600;
  margin: 0 0 10px;
  letter-spacing: -.01em;
}
.option-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.options-outro {
  text-align: center;
  margin: clamp(30px, 4vw, 44px) auto 0;
  max-width: 640px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
}
.options-outro strong { color: var(--ink); font-weight: 700; }

/* ---------- Portfolio ---------- */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 298px), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.pf-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  padding: 16px 16px 20px;
  transition: transform .28s var(--reveal-ease), box-shadow .28s, border-color .28s;
}
.pf-card:hover { border-color: var(--accent-line); }

.pf-browser { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.pf-chrome {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--bg2);
  border-bottom: 1px solid var(--line);
}
.pf-chrome .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.pf-chrome .url {
  flex: 1;
  margin-left: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--muted);
  font-family: ui-monospace, Menlo, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pf-canvas {
  aspect-ratio: 16 / 10;
  background: var(--bg);
  padding: 13px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.pf-topbar { display: flex; align-items: center; gap: 6px; }
.pf-topbar .logo-bar { width: 22px; height: 6px; border-radius: 3px; background: var(--accent); opacity: .85; }
.pf-topbar .menu { margin-left: auto; display: flex; gap: 5px; }
.pf-topbar .menu span { width: 20px; height: 5px; border-radius: 3px; background: var(--line); display: block; }
.pf-hero {
  flex: 1;
  border-radius: 7px;
  background: var(--accent-soft);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0 15px;
}
.pf-hero .l1 { width: 64%; height: 8px; border-radius: 4px; background: var(--accent); opacity: .5; }
.pf-hero .l2 { width: 46%; height: 6px; border-radius: 3px; background: var(--accent); opacity: .28; }
.pf-hero .cta { width: 34px; height: 10px; border-radius: 4px; background: var(--accent); margin-top: 5px; }
.pf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.pf-cards span { height: 26px; border-radius: 5px; background: var(--surface); border: 1px solid var(--line); display: block; }

.pf-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 4px 0;
}
.pf-foot .name { font-family: var(--font-head); font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.pf-foot .link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}

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

.contact .container {
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(34px, 5vw, 68px);
  align-items: start;
}
.contact .intro { padding-top: 6px; }
.contact .intro h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.08;
  margin: 0 0 18px;
}
.contact .intro > p {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 46ch;
}
.contact-points { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.contact-points .check-item { align-items: center; font-size: 16px; gap: 12px; }
.contact-points .chip {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s;
}
.contact-links a:hover { color: var(--accent); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
  outline: none;
  font-weight: 400;
  transition: border-color .18s, box-shadow .18s;
}
.contact-form select { cursor: pointer; }
.contact-form textarea { resize: vertical; line-height: 1.5; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  outline: none;
}
.contact-form .btn { border: 1px solid var(--accent); }
.contact-form .fineprint {
  margin: 2px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 17px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 14px;
}
.form-alert svg { flex: none; margin-top: 1px; }
.form-alert p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.form-alert.error { background: #FDF0EE; border-color: #EBC6BF; }
.form-alert[hidden] { display: none; }

/* Champ anti-spam (pot de miel) : invisible pour les humains */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.site-footer {
  background: var(--footer-bg);
  color: rgba(255, 255, 255, .62);
  margin-top: clamp(64px, 8vw, 120px);
}
.site-footer .cols {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 84px) clamp(18px, 4vw, 40px) 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px 60px;
}
.site-footer .brand-col { flex: 1 1 300px; min-width: 240px; }
.site-footer .brand-col .lockup { display: flex; align-items: center; gap: 11px; margin-bottom: 18px; }
.site-footer .brand-col img { height: 30px; width: auto; display: block; }
.site-footer .brand-col .lockup span {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: 17px;
  color: #fff;
}
.site-footer .brand-col p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; max-width: 340px; }

.socials { display: flex; gap: 9px; }
.socials a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-head);
  transition: background .2s, color .2s, border-color .2s;
}
.socials a:hover { background: #fff; color: var(--footer-bg); border-color: #fff; }

.site-footer .col { flex: 0 1 auto; min-width: 140px; }
.site-footer .col-title {
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
  margin: 0 0 16px;
}
.site-footer .col .links { display: flex; flex-direction: column; gap: 11px; }
.site-footer .col a {
  color: rgba(255, 255, 255, .64);
  text-decoration: none;
  font-size: 15px;
  transition: color .2s;
}
.site-footer .col a:hover { color: #fff; }
.site-footer .col .dim { color: rgba(255, 255, 255, .48); font-size: 15px; }

.site-footer .bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.site-footer .bottom .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

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

.legal-main { flex: 1; }
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(44px, 7vh, 80px) clamp(18px, 4vw, 40px) clamp(64px, 9vw, 104px);
}
.legal-page .eyebrow { margin-bottom: 18px; letter-spacing: .14em; font-size: 12.5px; color: var(--muted); }
.legal-page h1 {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -.02em;
}
.legal-page .intro { margin: 0 0 26px; font-size: 17.5px; color: var(--muted); }
.legal-page h2 {
  margin: 0 0 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(19px, 2.4vw, 23px);
  letter-spacing: -.01em;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.legal-page section { scroll-margin-top: 84px; margin-bottom: 30px; }
.legal-page section > p { margin: 0 0 12px; color: var(--muted); }
.legal-page section > p strong { color: var(--ink); }
.legal-page a { color: var(--accent); font-weight: 700; }
.legal-callout {
  margin: 0 0 12px;
  padding: 12px 16px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  color: var(--ink);
}
.legal-toc {
  margin: 0 0 40px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
}
.legal-toc .label {
  margin: 0 0 14px;
  font-family: var(--font-head);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
}
.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 8px 24px;
}
.legal-toc li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; }
.legal-toc li .n {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--accent);
  flex: none;
}
.legal-toc li a { color: var(--ink); text-decoration: none; font-weight: 500; }
.legal-toc li a:hover { color: var(--accent); }
.legal-seealso {
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

.legal-body { min-height: 100vh; display: flex; flex-direction: column; }
.legal-body .site-footer { margin-top: 0; }
