/* lenevio.com home page only. Self-contained (does not load base.css):
   system fonts, no external resource. Colours as tokens, light and dark.
   Brand « Orbite » : noir #0B0B0C, rouge #E10600, blanc. */
:root {
  color-scheme: light dark;
  --bg: #FAFAF9;
  --bg-alt: #F1F1EF;
  --surface: #FFFFFF;
  --text: #0B0B0C;
  --muted: #55575D;
  --rule: #E2E2DF;
  --red: #E10600;          /* fonds (boutons) : blanc dessus = 5:1 */
  --red-text: #C40500;     /* texte rouge sur fond clair */
  --dot: #E10600;          /* point du logo */
  --band: #0B0B0C;         /* bandeaux sombres (accroche, contact) */
  --band-text: #F5F5F4;
  --band-muted: #A6A6AB;
  --band-rule: rgba(255, 255, 255, 0.14);
  --shadow: 0 1px 2px rgba(11, 11, 12, 0.04), 0 10px 30px rgba(11, 11, 12, 0.06);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B0B0C;
    --bg-alt: #111113;
    --surface: #161618;
    --text: #F4F4F5;
    --muted: #A1A1AA;
    --rule: #26262A;
    --red-text: #FF5A4A;
    --band: #151517;
    --band-rule: rgba(255, 255, 255, 0.1);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.15; }
section[id] { scroll-margin-top: 5rem; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--surface); padding: 0.5rem 1rem; border-radius: 8px; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* Logo (symbole SVG, couleurs héritées) */
.logo { display: inline-flex; color: var(--text); }
.logo svg { height: 30px; width: auto; display: block; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 1.4rem; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: background-color 150ms ease, border-color 150ms ease;
}
.btn-sm { min-height: 44px; padding: 0 1.1rem; font-size: 0.93rem; }
.btn-red { background: var(--red); color: #FFFFFF; }
.btn-red:hover { background: #C40500; }
.btn-ghost { border: 1px solid var(--band-rule); color: var(--band-text); }
.btn-ghost:hover { border-color: var(--band-text); }

/* En-tête */
.top {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.top-in { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.menu { display: flex; gap: 0.25rem; margin-left: auto; }
.menu a { color: var(--muted); text-decoration: none; font-size: 0.95rem; padding: 0.6rem 0.75rem; border-radius: 8px; }
.menu a:hover { color: var(--text); background: var(--bg-alt); }

/* Bandeaux sombres */
.band { background: var(--band); color: var(--band-text); }
.eyebrow { color: var(--red-text); font-weight: 650; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin: 0 0 1rem; }
.band .eyebrow { color: #FF5A4A; }

/* Accroche */
.hero-in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 3rem; align-items: center; padding: 5.5rem 1.25rem 3.5rem; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: 1.03; letter-spacing: -0.04em; font-weight: 750; margin: 0 0 1.5rem; }
.hero .lead { font-size: 1.15rem; color: var(--band-muted); max-width: 36rem; margin: 0 0 2rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.orbit { width: 100%; max-width: 26rem; justify-self: end; color: var(--band-text); }
.o-line { fill: none; stroke: var(--band-rule); stroke-width: 1.5; }
.o-cut { fill: var(--band); }
.o-tag rect { fill: var(--band); stroke: var(--band-rule); }
.o-tag text { fill: var(--band-muted); font: 600 13px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; text-anchor: middle; }
.facts { list-style: none; margin: 0; padding: 1.75rem 0 2.75rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; border-top: 1px solid var(--band-rule); }
.facts strong { display: block; font-size: 1.05rem; }
.facts span { color: var(--band-muted); font-size: 0.93rem; }

/* Sections */
.section { padding: 6rem 0; }
.section.alt { background: var(--bg-alt); }
.head { margin-bottom: 2.75rem; max-width: 40rem; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin: 0; font-weight: 750; }
.head .sub { color: var(--muted); margin: 0.75rem 0 0; font-size: 1.05rem; }

/* Services */
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: 20px; padding: 1.75rem; }
.ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--bg-alt); fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1.25rem; }
.card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Réalisations */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.app { background: var(--surface); border: 1px solid var(--rule); border-radius: 22px; padding: 1.75rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.app-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; }
.icon { width: 64px; height: 64px; border-radius: 15px; flex: none; display: block; box-shadow: 0 0 0 1px var(--rule); }
.app h3 { margin: 0; font-size: 1.35rem; display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tags { margin: 0.2rem 0 0; color: var(--muted); font-size: 0.85rem; }
.status { font-size: 0.75rem; font-weight: 650; letter-spacing: 0; color: var(--red-text); border: 1px solid currentColor; padding: 0.05rem 0.55rem; border-radius: 999px; }
.app > p { margin: 0 0 1.5rem; color: var(--muted); }
.links { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; font-size: 0.93rem; }
.links a { color: var(--muted); text-underline-offset: 0.2em; }
.links a:hover { color: var(--text); }
.links a.more { font-weight: 650; color: var(--text); text-decoration: none; }
.links a.more::after { content: " \2192"; color: var(--red-text); }

/* Méthode */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; counter-reset: none; }
.steps li { border-top: 2px solid var(--text); padding-top: 1.25rem; }
.num { display: block; font-weight: 750; font-size: 0.9rem; color: var(--red-text); margin-bottom: 0.75rem; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* À propos */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 3rem; }
.about .head, .about h2 { margin: 0; }
.about h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 750; }
.intro { font-size: 1.3rem; line-height: 1.45; letter-spacing: -0.01em; margin: 0 0 2rem; }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.values li { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--rule); }
.values span { color: var(--muted); }

/* Contact */
.contact-in { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 4.5rem 1.25rem; flex-wrap: wrap; }
.contact h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 0.75rem; font-weight: 750; }
.contact p { color: var(--band-muted); margin: 0; max-width: 36rem; }
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; }
.mail { color: var(--band-text); font-weight: 600; text-underline-offset: 0.2em; text-decoration-color: var(--band-rule); }
.mail:hover { text-decoration-color: currentColor; }

/* Pied de page */
.foot { border-top: 1px solid var(--rule); padding: 3.5rem 0 2rem; font-size: 0.93rem; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2rem; }
.foot-brand p { color: var(--muted); margin: 0.9rem 0 0; }
.foot .logo svg { height: 26px; }
.foot nav { display: flex; flex-direction: column; gap: 0.15rem; }
.foot nav h2 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin: 0 0 0.5rem; font-weight: 650; }
.foot nav a { color: var(--text); text-decoration: none; padding: 0.3rem 0; }
.foot nav a:hover { color: var(--red-text); }
.copy { color: var(--muted); margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }

/* Tablette */
@media (max-width: 60rem) {
  .top-in { flex-wrap: wrap; row-gap: 0; padding-top: 0.6rem; }
  .top-cta { margin-left: auto; }
  .menu { order: 3; width: 100%; margin: 0 -0.75rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.25rem; }
  .menu a { white-space: nowrap; }
  .hero-in { grid-template-columns: 1fr; padding-top: 3.5rem; }
  .orbit { justify-self: start; max-width: 15rem; order: -1; }
  .o-tag { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .about { grid-template-columns: 1fr; gap: 1.5rem; }
  .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
/* Téléphone */
@media (max-width: 40rem) {
  .top-in { gap: 1rem; }
  .logo svg { height: 26px; }
  .section { padding: 4rem 0; }
  .hero-in { padding: 2.5rem 1.25rem 2.5rem; gap: 2rem; }
  .orbit { max-width: 10rem; }
  .facts { grid-template-columns: 1fr; gap: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .values li { grid-template-columns: 1fr; gap: 0.25rem; }
  .actions .btn { flex: 1 1 100%; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
