/* ==========================================================================
   NEXIOS SERVICES — feuille de styles
   ========================================================================== */

:root {
  --bg: #0a1120;
  --bg-2: #0e182c;
  --navy: #111c33;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .09);
  --text: #e8edf7;
  --muted: #9aa8c2;
  --orange: #e8702a;
  --orange-2: #ff9a5a;
  --orange-dark: #c25a1a;
  --blue: #2563eb;
  --teal: #0ea5a0;
  --violet: #7c3aed;
  --radius: 22px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }

/* Grain subtil */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

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

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--orange); color: #fff; padding: .6rem 1rem; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 1rem; }

.wrap { width: min(1120px, 100% - 3rem); margin-inline: auto; }
.narrow { width: min(820px, 100% - 3rem); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* --------------------------------------------------------------------------
   Barre de progression + halo curseur
   -------------------------------------------------------------------------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 90;
  transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--orange), var(--orange-2), var(--blue));
}
#cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 1; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  background: radial-gradient(circle, rgba(232, 112, 42, .11) 0%, transparent 62%);
  opacity: 0; transition: opacity .4s;
  will-change: transform;
}
#cursor-glow.on { opacity: 1; }
@media (hover: none) { #cursor-glow { display: none; } }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem);
  transition: padding .3s var(--ease), background .3s, box-shadow .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding-block: .7rem;
  background: rgba(10, 17, 32, .8);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
}
.brand { display: flex; align-items: center; gap: .6rem; position: relative; z-index: 2; }
.brand svg { transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(72deg) scale(1.1); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-weight: 600; letter-spacing: 3px; font-size: .9rem; color: #fff; }
.brand-text i { font-style: normal; color: var(--orange); font-size: .56rem; letter-spacing: 5px; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a:not(.btn) {
  position: relative; font-size: .88rem; letter-spacing: .03em; color: rgba(255, 255, 255, .7);
  transition: color .2s; padding: .25rem 0;
}
.nav-links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current] { color: #fff; }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="true"]::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }

.burger {
  display: none; position: relative; z-index: 2; width: 44px; height: 44px;
  background: none; border: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 70;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6rem;
  background: rgba(10, 17, 32, .96); backdrop-filter: blur(18px);
  animation: fadeIn .3s var(--ease);
}
.nav-mobile a:not(.btn) { font-size: 1.6rem; letter-spacing: .12em; color: #fff; }
.nav-mobile a:not(.btn):hover { color: var(--orange); }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .burger { display: flex; }
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 500; letter-spacing: .02em; border: 1px solid transparent; border-radius: 14px;
  padding: .8rem 1.5rem; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
  will-change: transform;
}
.btn-sm { padding: .55rem 1.2rem; font-size: .85rem; border-radius: 11px; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--orange) 0%, #f0883f 100%);
  box-shadow: 0 8px 26px rgba(232, 112, 42, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { box-shadow: 0 14px 38px rgba(232, 112, 42, .55), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { color: #fff; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .3); }
.btn span[aria-hidden] { transition: transform .25s var(--ease); }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 7.5rem 0 5rem; overflow: hidden;
  background: linear-gradient(165deg, #0c1424 0%, #14223e 45%, #0a1120 100%);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none; }
.g1 { width: 520px; height: 520px; top: -140px; right: -100px; background: var(--orange); opacity: .17; animation: drift 14s ease-in-out infinite alternate; }
.g2 { width: 560px; height: 560px; bottom: -200px; left: -100px; background: var(--blue); opacity: .16; animation: drift 18s ease-in-out infinite alternate-reverse; }
.g3 { width: 320px; height: 320px; bottom: 10%; right: 18%; background: var(--violet); opacity: .09; }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }

.pill {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1.1rem; border-radius: 999px;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .75);
  border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); backdrop-filter: blur(8px);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); position: relative; flex: none; }
.dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s ease-out infinite; }

h1 { margin-top: 1.6rem; line-height: .9; }
.h1-main {
  display: block; font-size: clamp(3.2rem, 9vw, 6.6rem); font-weight: 800; letter-spacing: .1em;
  background: linear-gradient(100deg, #fff 20%, #ffd9bf 45%, #fff 60%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
.h1-sub { display: block; margin-top: .9rem; font-size: clamp(.85rem, 2vw, 1.15rem); font-weight: 500; letter-spacing: .6em; color: var(--orange); }

.hero-lead { margin-top: 1.8rem; font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 300; color: rgba(255, 255, 255, .78); max-width: 34rem; }
.rotator { color: #fff; font-weight: 500; border-bottom: 2px solid rgba(232, 112, 42, .55); }
.caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 3px; vertical-align: -.18em; background: var(--orange); animation: blink 1s steps(2) infinite; }

.brands { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.brand-chip {
  padding: .5rem 1rem; border-radius: 999px; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em;
  border: 1px solid currentColor; background: rgba(255, 255, 255, .03); transition: transform .25s var(--ease), background .25s;
}
.brand-chip small { font-family: var(--font); opacity: .75; margin-left: .35rem; letter-spacing: .02em; font-size: .78rem; }
.brand-chip:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .08); }
.c-ctrl { color: #5b9bff; } .c-domo { color: #3cc8c2; } .c-replay { color: #a87ef5; }

.cta-row { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-visual { position: relative; }
.term {
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .13); overflow: hidden;
  background: rgba(8, 14, 28, .72); backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .5), 0 0 0 1px rgba(232, 112, 42, .08), 0 0 80px rgba(232, 112, 42, .1);
}
.term-bar { display: flex; align-items: center; gap: 7px; padding: .75rem 1rem; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.term-bar i:nth-child(2) { background: #febc2e; } .term-bar i:nth-child(3) { background: #28c840; }
.term-bar span { margin-left: .7rem; font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.term-body { margin: 0; padding: 1.3rem 1.3rem 1.6rem; min-height: 19.5rem; font-family: var(--mono); font-size: .8rem; line-height: 1.85; color: #c8d3ea; white-space: pre-wrap; }
.term-body .p { color: var(--orange); } .term-body .ok { color: #4ade80; } .term-body .dim { color: #6b7a99; } .term-body .hl { color: #fff; }
.term-body .cur { display: inline-block; width: 8px; height: 1em; vertical-align: -.15em; background: var(--orange); animation: blink 1s steps(2) infinite; }

.float {
  position: absolute; padding: .75rem 1.1rem; border-radius: 16px; display: flex; flex-direction: column; line-height: 1.2;
  background: rgba(20, 34, 62, .85); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.float b { color: var(--orange); font-size: 1.3rem; } .float span { font-size: .72rem; color: var(--muted); }
.f1 { top: -1.4rem; right: -1rem; animation: float 6s ease-in-out infinite; }
.f2 { bottom: -1.4rem; left: -1.2rem; animation: float 7s ease-in-out infinite reverse; }

.scroll-hint {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 2;
  font-size: .68rem; letter-spacing: .4em; color: rgba(255, 255, 255, .35); animation: bounce 2.2s ease-in-out infinite;
}

@media (max-width: 940px) {
  .hero { padding-top: 6.5rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 3.2rem; }
  .scroll-hint { display: none; }
  .f1 { right: .3rem; } .f2 { left: .3rem; }
}
@media (max-width: 520px) {
  .h1-main { letter-spacing: .06em; }
  .h1-sub { letter-spacing: .4em; }
  .cta-row .btn { width: 100%; }
  .term-body { font-size: .7rem; min-height: 17rem; }
}

/* --------------------------------------------------------------------------
   Marquee
   -------------------------------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #0c1526; padding: 1.1rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span {
  display: inline-flex; align-items: center; font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .55); white-space: nowrap;
}
.marquee span::after { content: '✦'; margin: 0 2rem; color: var(--orange); }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* --------------------------------------------------------------------------
   Sections génériques
   -------------------------------------------------------------------------- */
.section { position: relative; padding: clamp(4.5rem, 10vw, 8rem) 0; z-index: 2; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), #0c1526); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .32em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 1rem;
}
.eyebrow::before, .eyebrow::after { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.about-grid .eyebrow::after, .zone-grid .eyebrow::after { display: none; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.12; letter-spacing: -.01em; color: #fff; }
h2 em { font-style: normal; background: linear-gradient(100deg, var(--orange), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.small-h { font-size: clamp(1.4rem, 3vw, 2.1rem); }
.lead { margin-top: 1.1rem; font-size: 1.05rem; font-weight: 300; color: var(--muted); line-height: 1.75; }
.section-head .lead { max-width: 38rem; margin-inline: auto; }

/* Révélations */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Cartes (spotlight + tilt)
   -------------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  --accent: 232, 112, 42;
  position: relative; padding: 2rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  transition: border-color .3s, box-shadow .3s;
}
.card::after { /* liseré coloré */
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: rgb(var(--accent)); opacity: .85;
}
.spot::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--accent), .2), transparent 60%);
}
.spot:hover::before { opacity: 1; }
.card:hover { border-color: rgba(var(--accent), .45); box-shadow: 0 30px 80px rgba(0, 0, 0, .35), 0 0 60px rgba(var(--accent), .12); }
.tilt { transform-style: preserve-3d; transition: transform .35s var(--ease), border-color .3s, box-shadow .3s; }
.tilt.moving { transition: transform .08s linear, border-color .3s, box-shadow .3s; }

.card-icon {
  width: 3.2rem; height: 3.2rem; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.4rem;
  background: rgba(var(--accent), .14); border: 1px solid rgba(var(--accent), .3);
}
.tag { font-family: var(--mono); font-size: .7rem; letter-spacing: .3em; color: rgb(var(--accent)); margin-bottom: .5rem; }
.card h3 { font-size: 1.4rem; font-weight: 600; color: #fff; margin-bottom: .6rem; }
.card > .muted { font-size: .94rem; line-height: 1.7; }
.ticks { margin-top: 1.3rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-left: 1.4rem; font-size: .92rem; color: #d3dcee; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--accent)); box-shadow: 0 0 10px rgb(var(--accent)); }
.card-link { display: inline-flex; gap: .4rem; margin-top: 1.6rem; font-size: .9rem; font-weight: 500; color: rgb(var(--accent)); }
.card-link span { transition: transform .25s var(--ease); }
.card-link:hover span { transform: translateX(5px); }
.soon { --accent: 154, 168, 194; }
.soon-badge {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.4rem; padding: .4rem .9rem; border-radius: 999px; font-size: .78rem; font-weight: 500;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); color: #e3e9f6;
}
.soon-badge .dot { width: 7px; height: 7px; }
.cards .soon:nth-child(2) { --accent: 14, 165, 160; }
.cards .soon:nth-child(3) { --accent: 124, 58, 237; }
.cards .soon .card-icon { filter: saturate(.7); }

@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Diagnostic interactif
   -------------------------------------------------------------------------- */
.diag { max-width: 860px; margin: 0 auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.chip {
  padding: .75rem 1.25rem; border-radius: 999px; font-size: .95rem; color: #dbe3f3;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .13);
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.chip:hover { transform: translateY(-3px); border-color: rgba(232, 112, 42, .6); }
.chip[aria-pressed="true"] {
  color: #fff; background: linear-gradient(135deg, var(--orange), #f0883f); border-color: transparent;
  box-shadow: 0 10px 30px rgba(232, 112, 42, .4);
}
.diag-out {
  margin-top: 2rem; min-height: 11rem; padding: 2rem; border-radius: var(--radius);
  border: 1px dashed rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03);
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: border-color .3s, background .3s;
}
.diag-out.filled { border-style: solid; border-color: rgba(232, 112, 42, .4); background: linear-gradient(160deg, rgba(232, 112, 42, .09), rgba(255, 255, 255, .03)); display: block; text-align: left; animation: rise .5s var(--ease); }
.diag-idle { color: var(--muted); }
.diag-out h3 { font-size: 1.25rem; color: #fff; margin-bottom: .6rem; }
.diag-out p { color: #cdd7ec; }
.diag-out .btn { margin-top: 1.4rem; }
.diag-steps { margin-top: 1rem; display: grid; gap: .4rem; }
.diag-steps li { position: relative; padding-left: 1.5rem; font-size: .92rem; color: #b8c4dd; }
.diag-steps li::before { content: '→'; position: absolute; left: 0; color: var(--orange); }

/* --------------------------------------------------------------------------
   À propos
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-grid h2, .zone-grid h2 { text-align: left; }
.about-grid .lead, .zone-grid .lead { max-width: 34rem; }
.stats { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat { padding: 1.3rem 1.4rem; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: transform .3s var(--ease), border-color .3s; }
.stat:hover { transform: translateY(-4px); border-color: rgba(232, 112, 42, .4); }
.stat b { display: block; font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--orange); }
.stat b small { font-size: 1rem; font-weight: 500; margin-left: .2rem; color: var(--orange-2); }
.stat > span { display: block; margin-top: .5rem; font-size: .82rem; color: var(--muted); }

.why {
  position: relative; overflow: hidden; padding: 2.4rem; border-radius: 26px;
  background: linear-gradient(160deg, #1b2a4a, #111c33); border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4);
}
.why-glow { position: absolute; top: -70px; right: -70px; width: 240px; height: 240px; border-radius: 50%; background: var(--orange); opacity: .22; filter: blur(70px); }
.why > * { position: relative; }
.why h3 { font-size: 1.4rem; color: #fff; margin-bottom: .9rem; }
.why p { color: rgba(255, 255, 255, .68); line-height: 1.75; }
.checks { margin-top: 1.5rem; display: grid; gap: .7rem; }
.checks li { position: relative; padding-left: 2rem; color: #e6ecf8; }
.checks li::before {
  content: '✓'; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  display: grid; place-items: center; font-size: .75rem; color: #fff; background: var(--orange);
}
.chips-mini { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips-mini span { padding: .35rem .8rem; border-radius: 9px; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; background: rgba(255, 255, 255, .07); }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Méthode (timeline)
   -------------------------------------------------------------------------- */
.steps { --p: 0; position: relative; max-width: 780px; margin: 0 auto; padding-left: 5.2rem; display: grid; gap: 1.6rem; }
.steps::before, .steps::after { content: ''; position: absolute; left: 1.55rem; top: 1.6rem; bottom: 1.6rem; width: 2px; border-radius: 2px; }
.steps::before { background: rgba(255, 255, 255, .1); }
.steps::after { background: linear-gradient(180deg, var(--orange), var(--orange-2)); transform-origin: top; transform: scaleY(var(--p)); box-shadow: 0 0 14px rgba(232, 112, 42, .7); }
.step { position: relative; }
.step-n {
  position: absolute; left: -5.2rem; top: 1rem; width: 3.1rem; height: 3.1rem; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 500; color: var(--orange); background: var(--bg); border: 2px solid rgba(232, 112, 42, .55);
  box-shadow: 0 0 0 6px var(--bg-2), 0 0 24px rgba(232, 112, 42, .25); z-index: 1;
}
.step .card { padding: 1.6rem 1.8rem; }
.step .card:hover { transform: translateX(6px); }
.step .card { transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; }

@media (max-width: 520px) {
  .steps { padding-left: 3.8rem; }
  .steps::before, .steps::after { left: 1.05rem; }
  .step-n { left: -3.8rem; width: 2.2rem; height: 2.2rem; font-size: .7rem; }
}

/* --------------------------------------------------------------------------
   Zone / radar
   -------------------------------------------------------------------------- */
.zone-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.towns { margin: 1.8rem 0 1.2rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.towns li {
  padding: .5rem 1rem; border-radius: 999px; font-size: .86rem; color: #c8d3ea; border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .04);
  transition: transform .25s var(--ease), border-color .25s, color .25s, background .25s; cursor: default;
}
.towns li:hover { transform: translateY(-3px); color: #fff; border-color: var(--orange); background: rgba(232, 112, 42, .1); }
.towns li.home { color: #fff; font-weight: 500; background: var(--orange); border-color: var(--orange); box-shadow: 0 8px 24px rgba(232, 112, 42, .4); }

.radar-wrap { display: grid; justify-items: center; gap: 1rem; }
.radar {
  position: relative; width: min(100%, 420px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle, rgba(232, 112, 42, .1), rgba(14, 24, 44, .9) 70%);
  border: 1px solid rgba(232, 112, 42, .35); box-shadow: 0 0 80px rgba(232, 112, 42, .12), inset 0 0 60px rgba(0, 0, 0, .4);
}
.radar::before, .radar::after { content: ''; position: absolute; background: rgba(255, 255, 255, .07); }
.radar::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar::after { top: 50%; left: 0; right: 0; height: 1px; }
.ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .18); transform: translate(-50%, -50%); }
.r1 { width: 33.3%; height: 33.3%; } .r2 { width: 66.6%; height: 66.6%; } .r3 { width: 96%; height: 96%; border-style: solid; border-color: rgba(232, 112, 42, .35); }
.sweep {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(232, 112, 42, 0) 0deg, rgba(232, 112, 42, .38) 60deg, rgba(232, 112, 42, 0) 62deg);
  animation: spin 5s linear infinite;
}
.center { position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px var(--orange); z-index: 2; }
.center i { position: absolute; inset: 0; border-radius: 50%; background: var(--orange); animation: ping 2s ease-out infinite; }
.rl { position: absolute; left: 50%; font-style: normal; font-family: var(--mono); font-size: .62rem; color: rgba(255, 255, 255, .45); transform: translateX(-50%); }
.l1 { top: 33%; } .l2 { top: 17%; } .l3 { top: 3.2%; }
.blip { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .8; animation: blip 5s ease-in-out infinite; }
.b1 { top: 28%; left: 62%; animation-delay: .3s; } .b2 { top: 66%; left: 30%; animation-delay: 1.6s; } .b3 { top: 40%; left: 20%; animation-delay: 2.4s; }
.b4 { top: 74%; left: 66%; animation-delay: 3.5s; } .b5 { top: 20%; left: 40%; animation-delay: 4.2s; }
.radar-cap { font-size: .72rem; color: var(--muted); letter-spacing: .1em; }

@media (max-width: 900px) { .zone-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { display: grid; gap: .8rem; }
.faq { border-radius: 18px; border: 1px solid var(--line); background: var(--panel); transition: border-color .3s, background .3s, box-shadow .3s; }
.faq[open] { border-color: rgba(232, 112, 42, .45); background: rgba(232, 112, 42, .05); box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 1.5rem; cursor: pointer; list-style: none;
  font-weight: 500; color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 1px solid rgba(232, 112, 42, .55); transition: transform .35s var(--ease), background .3s; }
.plus::before, .plus::after { content: ''; position: absolute; top: 50%; left: 50%; width: 10px; height: 2px; margin: -1px 0 0 -5px; background: var(--orange); border-radius: 2px; transition: background .3s; }
.plus::after { transform: rotate(90deg); }
.faq[open] .plus { transform: rotate(45deg); background: var(--orange); }
.faq[open] .plus::before, .faq[open] .plus::after { background: #fff; }
.faq p { padding: 0 1.5rem 1.4rem; color: var(--muted); line-height: 1.75; animation: rise .4s var(--ease); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { overflow: hidden; background: linear-gradient(180deg, #0c1526, #0a1120); }
.contact .g1 { top: -200px; right: -160px; opacity: .13; }
.contact .g2 { bottom: -240px; left: -160px; opacity: .13; }
.contact .wrap { position: relative; z-index: 2; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.6rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.avail {
  display: inline-flex; align-items: center; gap: .7rem; justify-self: start; padding: .55rem 1.1rem; border-radius: 999px; font-size: .85rem;
  background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); color: #b6f2cb;
}
.avail .dot { background: #4ade80; }
.avail.off { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .15); color: #cdd7ec; }
.avail.off .dot { background: #9aa8c2; } .avail.off .dot::after { display: none; }

.info-card {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1.1rem 1.3rem; border-radius: 18px;
  border: 1px solid var(--line); background: var(--panel); transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.info-card:hover { transform: translateY(-4px); border-color: rgba(232, 112, 42, .45); box-shadow: 0 18px 44px rgba(232, 112, 42, .12); }
.info-main { display: flex; align-items: center; gap: 1rem; min-width: 0; flex: 1; }
.info-ico { flex: none; width: 3rem; height: 3rem; display: grid; place-items: center; font-size: 1.35rem; border-radius: 14px; background: rgba(232, 112, 42, .13); border: 1px solid rgba(232, 112, 42, .3); }
.info-main > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.info-main small { font-family: var(--mono); font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--orange); }
.info-main b { font-weight: 500; color: #fff; overflow-wrap: anywhere; }
.info-main em { font-style: normal; font-size: .8rem; color: var(--muted); }
.copy {
  flex: none; padding: .4rem .8rem; border-radius: 9px; font-size: .74rem; color: #dbe3f3;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s;
}
.copy:hover { background: rgba(232, 112, 42, .18); border-color: var(--orange); }

.form {
  display: grid; gap: 1.1rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  backdrop-filter: blur(12px); box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}
.form h3 { font-size: 1.35rem; color: #fff; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .45rem; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  width: 100%; padding: .9rem 1rem; border-radius: 12px; font: inherit; font-size: .95rem; letter-spacing: 0; text-transform: none; color: #fff;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); transition: border-color .2s, box-shadow .2s, background .2s;
}
.form select { background-color: #16233f; color-scheme: dark; }
.form select option { background-color: #16233f; color: #fff; }
.form textarea { resize: vertical; min-height: 7rem; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255, 255, 255, .3); }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(232, 112, 42, .18); background: rgba(255, 255, 255, .09); }
.form .invalid { border-color: #ff6b6b; }
.form-error { color: #ff9b9b; font-size: .88rem; }
.form .btn { justify-self: start; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } .form .btn { width: 100%; justify-self: stretch; } }

/* --------------------------------------------------------------------------
   Mentions légales
   -------------------------------------------------------------------------- */
.legal { background: #080e1b; border-top: 1px solid var(--line); }
.legal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.legal .card { padding: 1.6rem; }
.legal .card::after { display: none; }
.legal .card h3 { font-size: 1.05rem; }
.legal .card .muted { font-size: .88rem; }
.legal .wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .legal-grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Footer, FAB, toast
   -------------------------------------------------------------------------- */
.footer { position: relative; z-index: 2; text-align: center; padding: 2.4rem 1.5rem 5.5rem; background: #060b16; border-top: 1px solid var(--line); }
.foot-brands { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: .9rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .28em; }
.footer p { font-size: .78rem; color: rgba(255, 255, 255, .38); }
.foot-links { margin-top: .9rem; display: flex; justify-content: center; gap: 1.4rem; flex-wrap: wrap; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.foot-links a:hover { color: #fff; }

.call-fab {
  display: none; position: fixed; right: 1rem; bottom: 1rem; z-index: 60; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 500; color: #fff;
  background: linear-gradient(135deg, var(--orange), #f0883f); box-shadow: 0 10px 30px rgba(232, 112, 42, .55);
}
@media (max-width: 860px) { .call-fab { display: inline-flex; } }

.toast {
  position: fixed; left: 50%; bottom: 1.6rem; z-index: 120; transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
  padding: .8rem 1.3rem; border-radius: 12px; font-size: .9rem; color: #fff; background: #16233f; border: 1px solid rgba(232, 112, 42, .5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .5); transition: opacity .3s, transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeIn { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes shine { to { background-position: -220% 0; } }
@keyframes drift { to { transform: translate(40px, 30px) scale(1.08); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes bounce { 50% { transform: translate(-50%, 8px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 14px #fff; } 40% { opacity: .15; transform: scale(1); box-shadow: none; } }

/* --------------------------------------------------------------------------
   Accessibilité : réduction des animations
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .steps::after { transform: scaleY(1); }
  .marquee-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Pages secondaires (service, mentions légales)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden; padding: 9rem 0 4.5rem;
  background: linear-gradient(165deg, #0c1424 0%, #14223e 55%, #0a1120 100%); border-bottom: 1px solid var(--line);
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .g1 { width: 420px; height: 420px; top: -160px; right: -80px; }
.page-hero .g2 { width: 380px; height: 380px; bottom: -200px; left: -80px; }
.page-hero h1 { margin-top: 1.2rem; font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; color: #fff; }
.page-hero h1 em { font-style: normal; background: linear-gradient(100deg, var(--orange), var(--orange-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { max-width: 40rem; }
.page-hero .cta-row { margin-top: 2rem; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #dbe3f3; }
.breadcrumb li + li::before { content: '/'; margin-right: .55rem; opacity: .5; }
.breadcrumb { padding: 0; }
.breadcrumb li { display: inline-flex; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.feature-grid .card { --accent: 37, 99, 235; }
.feature-grid .card h3 { font-size: 1.25rem; }
.feature-grid .card .card-icon { font-family: var(--mono); font-size: 1rem; color: rgb(var(--accent)); font-weight: 500; }
@media (max-width: 760px) { .feature-grid { grid-template-columns: 1fr; } }

.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.audience .card { padding: 1.6rem; --accent: 37, 99, 235; }
.audience .card h3 { font-size: 1.1rem; }
@media (max-width: 760px) { .audience { grid-template-columns: 1fr; } }

.cta-band {
  position: relative; overflow: hidden; text-align: center; padding: clamp(2rem, 6vw, 4rem) 1.5rem; border-radius: 28px;
  border: 1px solid rgba(232, 112, 42, .35); background: linear-gradient(160deg, rgba(232, 112, 42, .16), rgba(17, 28, 51, .9));
  box-shadow: 0 40px 90px rgba(0, 0, 0, .35);
}
.cta-band h2 { font-size: clamp(1.6rem, 3.6vw, 2.5rem); }
.cta-band p { margin: 1rem auto 0; max-width: 34rem; color: rgba(255, 255, 255, .7); }
.cta-band .cta-row { justify-content: center; }

.legal-doc { display: grid; gap: 1.2rem; }
.legal-doc .card { padding: 1.8rem; }
.legal-doc .card::after { display: none; }
.legal-doc h2 { font-size: 1.2rem; margin-bottom: .8rem; }
.legal-doc p, .legal-doc li { color: var(--muted); font-size: .95rem; line-height: 1.75; }
.legal-doc dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; font-size: .95rem; }
.legal-doc dt { color: #dbe3f3; }
.legal-doc dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.legal-doc a { color: var(--orange-2); text-decoration: underline; text-underline-offset: 3px; }
.todo { display: inline-block; padding: .05rem .55rem; border-radius: 7px; font-size: .82rem; color: #ffd0b0; background: rgba(232, 112, 42, .16); border: 1px dashed rgba(232, 112, 42, .6); }
.legal-updated { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); text-align: center; }

.portfolio-id { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.avatar {
  flex: none; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 50%;
  font-family: var(--mono); font-weight: 500; font-size: 1rem; color: #fff; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--orange), var(--blue)); box-shadow: 0 10px 26px rgba(232, 112, 42, .35);
}
.avatar.has-photo {
  width: 4.6rem; height: 4.6rem; overflow: hidden; background: none;
  border: 2px solid rgba(232, 112, 42, .55); box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
}
.avatar.has-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.avatar.avatar-lg { width: 8.5rem; height: 8.5rem; border-width: 3px; box-shadow: 0 18px 46px rgba(0, 0, 0, .45); }

.portfolio-id-lg { gap: 1.4rem; margin-bottom: 1.6rem; }
.portfolio-id-lg b { font-size: 1.3rem; letter-spacing: .02em; }
.portfolio-birth { color: var(--muted); font-size: .88rem; }
.portfolio-id-lg div { gap: .3rem; }

@media (max-width: 560px) {
  .avatar.avatar-lg { width: 6rem; height: 6rem; }
  .portfolio-id-lg b { font-size: 1.1rem; }
}
.portfolio-id div { display: flex; flex-direction: column; line-height: 1.35; }
.portfolio-id b { color: #fff; font-weight: 600; }
.portfolio-id span:last-child { font-size: .82rem; color: var(--muted); }

/* Onglets (portfolio, etc.) */
.tab-list { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0 auto 2.4rem; justify-content: center; }
.tab-btn {
  display: inline-flex; align-items: center; gap: .5rem; padding: .75rem 1.4rem; border-radius: 999px;
  font: inherit; font-size: .95rem; color: #dbe3f3; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.tab-btn:hover { border-color: rgba(232, 112, 42, .55); transform: translateY(-2px); }
.tab-btn[aria-selected="true"] {
  color: #fff; background: linear-gradient(135deg, var(--orange), #f0883f); border-color: transparent;
  box-shadow: 0 8px 22px rgba(232, 112, 42, .35);
}
.tab-panel { animation: rise .45s var(--ease); }
.tab-panel > .muted.small { display: block; text-align: center; margin: -1rem auto 1.8rem; max-width: 40rem; }

/* Frise des stages (ligne centrale, cartes alternées) */
.timeline { --p: 0; position: relative; max-width: 880px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2.6rem; row-gap: 1.8rem; }
.timeline::before, .timeline::after { content: ''; position: absolute; left: 50%; top: .3rem; bottom: .3rem; width: 2px; transform: translateX(-50%); border-radius: 2px; }
.timeline::before { background: rgba(255, 255, 255, .1); }
.timeline::after { background: linear-gradient(180deg, var(--orange), var(--orange-2)); transform-origin: top; transform: translateX(-50%) scaleY(var(--p)); box-shadow: 0 0 14px rgba(232, 112, 42, .6); }
.timeline-item { position: relative; grid-column: 2; }
.timeline-item.side-left { grid-column: 1; }
.timeline-dot {
  position: absolute; top: 1.6rem; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); z-index: 1;
  box-shadow: 0 0 0 5px var(--bg-2), 0 0 16px rgba(232, 112, 42, .65);
}
.timeline-item.side-left .timeline-dot { right: calc(-1.3rem - 7px); }
.timeline-item.side-right .timeline-dot { left: calc(-1.3rem - 7px); }
.timeline-card {
  display: flex; align-items: center; gap: 1.2rem; padding: 1.2rem 1.5rem; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.timeline-card:hover { transform: translateY(-4px); border-color: rgba(232, 112, 42, .4); box-shadow: 0 20px 50px rgba(0, 0, 0, .3); }
.timeline-logo {
  flex: none; display: flex; align-items: center; justify-content: center; width: 4.8rem; height: 4.8rem;
  border-radius: 14px; border: 1px dashed rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04);
  font-family: var(--mono); font-size: .62rem; letter-spacing: .04em; color: var(--muted); text-align: center;
}
.timeline-logo.has-logo { border-style: solid; border-color: rgba(255, 255, 255, .14); background: #fff; padding: .5rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.timeline-logo img { width: 100%; height: 100%; object-fit: contain; }
.timeline-card .tc-body { min-width: 0; }
.timeline-card .tag { margin-bottom: .35rem; }
.timeline-card h3 { font-size: 1.12rem; line-height: 1.3; }

@media (max-width: 520px) {
  .timeline-card { flex-direction: column; align-items: flex-start; text-align: left; }
  .timeline-logo { width: 4.2rem; height: 4.2rem; }
}

@media (max-width: 760px) {
  .timeline { grid-template-columns: 1fr; padding-left: 2.3rem; column-gap: 0; }
  .timeline::before, .timeline::after { left: .7rem; }
  .timeline-item, .timeline-item.side-left { grid-column: 1; }
  .timeline-item .timeline-dot, .timeline-item.side-left .timeline-dot { left: -1.65rem; right: auto; }
}
@media (max-width: 560px) { .legal-doc dl { grid-template-columns: 1fr; gap: .1rem; } .legal-doc dd { margin-bottom: .7rem; } }

/* Choix du besoin (remplace la liste déroulante native) */
.choices { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.choices legend { padding: 0; margin-bottom: .55rem; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.choice { display: block !important; position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 12px;
  font-size: .92rem; letter-spacing: 0; text-transform: none; color: #dbe3f3;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease);
}
.choice small { font-family: var(--mono); font-size: .68rem; opacity: .7; }
.choice:hover span { border-color: rgba(232, 112, 42, .6); transform: translateY(-2px); }
.choice input:checked + span { color: #fff; background: linear-gradient(135deg, var(--orange), #f0883f); border-color: transparent; box-shadow: 0 8px 22px rgba(232, 112, 42, .35); }
.choice input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
