/* ==========================================================================
   MENNA B11 — Systèmes de transmission automobile
   Design system partagé (toutes les pages)
   Direction artistique : « Précision Cinétique »
   Carbone profond · acier · cyan signal · titane
   ========================================================================== */

/* ---------------------------------------------------------------- Tokens */
:root {
  /* Fonds sombres */
  --void: #05080A;
  --carbon: #0A0F14;
  --steel: #121A23;
  --steel-2: #19232E;
  --slate: #26333F;

  /* Accent */
  --cyan: #17E0C2;
  --cyan-600: #0CC4A9;
  --cyan-700: #09A88F;
  --cyan-soft: #8FF6E8;

  /* Métaux & neutres */
  --titanium: #C6D0DB;
  --steel-gray: #8B98A6;
  --muted: #5C6A78;

  /* Clairs */
  --bone: #EEF2F6;
  --paper: #F5F8FB;
  --white: #ffffff;

  --line: rgba(255, 255, 255, .12);
  --line-2: rgba(255, 255, 255, .07);
  --line-ink: rgba(5, 8, 10, .12);
  --line-ink-2: rgba(5, 8, 10, .07);

  --radius: 16px;
  --radius-lg: 26px;
  --radius-sm: 10px;
  --pill: 999px;

  --shadow-xs: 0 1px 2px rgba(5, 8, 10, .10);
  --shadow-sm: 0 14px 30px -20px rgba(5, 8, 10, .40);
  --shadow: 0 34px 60px -30px rgba(5, 8, 10, .50);
  --shadow-lg: 0 70px 110px -50px rgba(5, 8, 10, .62);
  --glow: 0 0 0 1px rgba(23, 224, 194, .35), 0 18px 50px -22px rgba(23, 224, 194, .45);

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --maxw: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ------------------------------------------------------------------ Base */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
main { overflow-x: clip; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--carbon);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 0 0 .5em;
  color: var(--carbon);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); letter-spacing: -.02em; }
h4 { font-size: 1.05rem; letter-spacing: -.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--cyan); color: var(--void); }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Page entrance */
.page-enter { animation: pageIn .5s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }

/* -------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.container--wide { max-width: 1400px; }
.container--narrow { max-width: 900px; }

.section { padding: clamp(64px, 8vw, 118px) 0; position: relative; }
.section--tight { padding: clamp(46px, 6vw, 82px) 0; }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--bone { background: var(--bone); }
.section--carbon { background: var(--carbon); color: var(--bone); }
.section--steel { background: linear-gradient(165deg, var(--steel-2), var(--carbon)); color: var(--bone); }
.section--void { background: var(--void); color: var(--bone); }

.section--carbon h1, .section--carbon h2, .section--carbon h3, .section--carbon h4,
.section--steel h1, .section--steel h2, .section--steel h3, .section--steel h4,
.section--void h1, .section--void h2, .section--void h3, .section--void h4 { color: #fff; }
.section--carbon p, .section--steel p, .section--void p { color: rgba(238, 242, 246, .78); }

/* Blueprint / technical grid */
.bp {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 62px 62px;
}
.section--steel.bp {
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(165deg, var(--steel-2), var(--carbon));
  background-size: 62px 62px, 62px 62px, 100% 100%;
}
.bp--light {
  background-image:
    linear-gradient(var(--line-ink-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-ink-2) 1px, transparent 1px);
  background-size: 62px 62px;
}

/* Technical hairline */
.hairline { height: 1px; background: var(--line-ink); border: 0; margin: 0; }

/* --------------------------------------------------------- Éyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--cyan-700);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--cyan); }
.eyebrow--plain::before { display: none; }

.section-head { max-width: 720px; margin-bottom: clamp(34px, 4vw, 58px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section--carbon .section-head p, .section--steel .section-head p, .section--void .section-head p { color: rgba(238, 242, 246, .7); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.7; }

/* --------------------------------------------------------- Boutons / CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -.01em;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .35s var(--ease); }
.btn--primary { background: var(--cyan); color: var(--void); box-shadow: 0 16px 34px -18px rgba(23, 224, 194, .8); }
.btn--primary:hover { background: var(--cyan-soft); transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(23, 224, 194, .9); }
.btn--primary:hover svg { transform: translateX(3px); }
.btn--dark { background: var(--carbon); color: #fff; }
.btn--dark:hover { background: var(--steel); transform: translateY(-2px); }
.btn--dark:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--carbon); border-color: var(--line-ink); }
.btn--ghost:hover { border-color: var(--carbon); transform: translateY(-2px); }
.btn--ghost-light { background: rgba(255, 255, 255, .05); color: #fff; border-color: var(--line); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--carbon); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--lg { padding: 18px 32px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  color: var(--cyan-700);
  font-size: .95rem;
}
.link-cta svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.link-cta:hover svg { transform: translateX(4px); }
.section--carbon .link-cta, .section--steel .link-cta, .section--void .link-cta { color: var(--cyan); }

/* --------------------------------------------------------- Badges / pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  border-radius: var(--pill);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--line);
  color: var(--bone);
  background: rgba(255, 255, 255, .05);
  backdrop-filter: blur(6px);
}
.badge--cyan { border-color: rgba(23, 224, 194, .5); color: var(--cyan); background: rgba(23, 224, 194, .08); }
.badge--ink { border-color: var(--line-ink); color: var(--carbon); background: rgba(5,8,10,.03); }
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(23,224,194,.2); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 500;
  color: var(--muted);
  background: rgba(5,8,10,.04);
  border: 1px solid var(--line-ink-2);
}
.section--carbon .tag, .section--steel .tag, .section--void .tag { color: rgba(238,242,246,.8); background: rgba(255,255,255,.05); border-color: var(--line); }

/* ================================================================= HEADER */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--cyan); color: var(--void); padding: 12px 20px; border-radius: 8px;
  font-weight: 600; transition: top .25s var(--ease);
}
.skip-link:focus { top: 16px; }

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-soft));
  z-index: 120; transition: width .1s linear;
}

.topbar {
  background: var(--void);
  color: rgba(238, 242, 246, .82);
  font-size: .82rem;
  border-bottom: 1px solid var(--line-2);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 42px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar a:hover { color: var(--cyan); }
.topbar svg { width: 15px; height: 15px; color: var(--cyan); }
.topbar__note { color: rgba(238, 242, 246, .6); font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245, 248, 251, .82);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line-ink-2);
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled { background: rgba(245, 248, 251, .96); box-shadow: 0 12px 40px -26px rgba(5, 8, 10, .5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand__mark {
  width: 46px; height: 46px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--steel-2), var(--void));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 12px 26px -16px rgba(5, 8, 10, .8);
}
.brand__mark::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 80% 15%, rgba(23, 224, 194, .55), transparent 60%);
}
.brand__mark span {
  position: relative; z-index: 1; font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -.04em; color: #fff;
}
.brand__mark svg { position: relative; z-index: 1; width: 24px; height: 24px; color: var(--cyan); }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.03em; color: var(--carbon); }
.brand__tag { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  position: relative; padding: 10px 14px; border-radius: 9px;
  font-size: .93rem; font-weight: 500; color: var(--carbon); transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--cyan-700); }
.nav-link[aria-current="page"] { color: var(--cyan-700); }
.nav-link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--cyan); border-radius: 2px;
}

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; color: var(--carbon); }
.header__phone svg { width: 17px; height: 17px; color: var(--cyan-700); }
.header__phone:hover { color: var(--cyan-700); }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-ink);
  border-radius: 12px; background: rgba(255,255,255,.6); position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  position: absolute; left: 50%; width: 20px; height: 2px; background: var(--carbon);
  border-radius: 2px; transform: translateX(-50%); transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { content: ""; left: 0; transform: none; top: -6px; }
.nav-toggle span::after { content: ""; left: 0; transform: none; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); top: 0; }

/* Header sur hero immersif (transparent au chargement) */
.site-header.over-hero { background: transparent; border-color: rgba(255,255,255,.12); }
.site-header.over-hero .brand__name { color: #fff; }
.site-header.over-hero .brand__tag { color: rgba(255,255,255,.6); }
.site-header.over-hero .nav-link { color: rgba(255,255,255,.85); }
.site-header.over-hero .nav-link:hover, .site-header.over-hero .nav-link[aria-current="page"] { color: #fff; }
.site-header.over-hero .header__phone { color: #fff; }
.site-header.over-hero .nav-toggle { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.08); }
.site-header.over-hero .nav-toggle span, .site-header.over-hero .nav-toggle span::before, .site-header.over-hero .nav-toggle span::after { background: #fff; }
.site-header.over-hero .btn--primary { background: var(--cyan); }
.site-header.over-hero.is-scrolled { background: rgba(245, 248, 251, .96); border-color: var(--line-ink-2); }
.site-header.over-hero.is-scrolled .brand__name { color: var(--carbon); }
.site-header.over-hero.is-scrolled .brand__tag { color: var(--muted); }
.site-header.over-hero.is-scrolled .nav-link { color: var(--carbon); }
.site-header.over-hero.is-scrolled .header__phone { color: var(--carbon); }
.site-header.over-hero.is-scrolled .nav-toggle { border-color: var(--line-ink); background: rgba(255,255,255,.6); }
.site-header.over-hero.is-scrolled .nav-toggle span, .site-header.over-hero.is-scrolled .nav-toggle span::before, .site-header.over-hero.is-scrolled .nav-toggle span::after { background: var(--carbon); }

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--void); color: var(--bone);
  padding: 130px 26px 40px; display: flex; flex-direction: column; gap: 22px;
  transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease-out), opacity .35s;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: none; opacity: 1; visibility: visible; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px; font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: -.02em; border-bottom: 1px solid var(--line); color: var(--bone);
}
.mobile-menu__nav a span { color: var(--cyan); font-size: 1.1rem; }
.mobile-menu__nav a[aria-current="page"] { color: var(--cyan); }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.mobile-menu__foot a { display: inline-flex; align-items: center; gap: 11px; color: rgba(238,242,246,.82); font-size: .95rem; }
.mobile-menu__foot svg { width: 18px; height: 18px; color: var(--cyan); }

/* ================================================================== HERO */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: var(--void);
  padding: clamp(70px, 9vw, 118px) 0 clamp(60px, 7vw, 90px);
  min-height: min(90vh, 880px);
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(23, 224, 194, .18), transparent 55%),
    linear-gradient(105deg, rgba(5,8,10,.96) 6%, rgba(5,8,10,.72) 46%, rgba(5,8,10,.32) 100%),
    linear-gradient(0deg, rgba(5,8,10,.9), transparent 45%);
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, transparent, #000 55%);
}
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 68px); align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 5.4vw, 4.65rem); max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero__sub { color: rgba(238, 242, 246, .82); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 52ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__proof .statline { display: flex; flex-direction: column; }
.hero__proof .statline b { font-family: var(--font-display); font-size: 1.5rem; color: #fff; letter-spacing: -.03em; }
.hero__proof .statline span { font-size: .78rem; color: rgba(238,242,246,.6); }

/* Visuel hero droit + cartes flottantes */
.hero__visual { position: relative; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/4.4;
  border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,8,10,.6)); }
.hero__badges { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; gap: 8px; }

.float-card {
  position: absolute; z-index: 3; background: rgba(10, 15, 20, .72);
  border: 1px solid var(--line); border-radius: 15px; padding: 14px 16px;
  backdrop-filter: blur(14px); box-shadow: var(--shadow); min-width: 168px;
}
.float-card--a { left: -26px; bottom: 84px; }
.float-card--b { right: -22px; top: 58px; }
.float-card__k { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 6px; }
.float-card__v { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #fff; }
.float-card__d { font-size: .78rem; color: rgba(238,242,246,.62); }
.float-card__bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); margin-top: 10px; overflow: hidden; }
.float-card__bar i { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, var(--cyan), var(--cyan-soft)); border-radius: 4px; }

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.float-card--a { animation: floaty 6s var(--ease) infinite; }
.float-card--b { animation: floaty 7.5s var(--ease) infinite reverse; }

/* ================================================ HERO DE PAGE INTERNE */
.page-hero {
  position: relative; overflow: hidden; color: #fff; background: var(--void);
  padding: clamp(52px, 7vw, 88px) 0 clamp(46px, 6vw, 78px);
}
.page-hero__bg { position: absolute; inset: 0; z-index: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,8,10,.94) 8%, rgba(5,8,10,.66) 55%, rgba(5,8,10,.44)),
              linear-gradient(0deg, rgba(5,8,10,.85), transparent 60%);
}
.page-hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.6rem); max-width: 18ch; }
.page-hero p { color: rgba(238,242,246,.82); max-width: 56ch; font-size: clamp(1rem, 1.3vw, 1.14rem); }
.page-hero__aside { border-left: 1px solid var(--line); padding-left: 22px; }
.page-hero__aside dl { margin: 0; display: grid; gap: 14px; }
.page-hero__aside dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 3px; }
.page-hero__aside dd { margin: 0; color: rgba(238,242,246,.82); font-size: .92rem; }

/* --------------------------------------------------------- Breadcrumbs */
.breadcrumbs { position: relative; z-index: 2; margin-bottom: 22px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; color: rgba(238,242,246,.55); }
.breadcrumbs a { color: rgba(238,242,246,.72); transition: color .25s; }
.breadcrumbs a:hover { color: var(--cyan); }
.breadcrumbs li[aria-current] { color: var(--cyan); }
.breadcrumbs svg { width: 12px; height: 12px; opacity: .6; }

/* ==================================================== REASSURANCE BAND */
.reassure { background: var(--carbon); color: var(--bone); position: relative; z-index: 3; }
.reassure__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.reassure__item { padding: 30px 26px; border-left: 1px solid var(--line); display: flex; gap: 15px; align-items: flex-start; }
.reassure__item:first-child { border-left: 0; }
.reassure__item svg { width: 26px; height: 26px; color: var(--cyan); flex: 0 0 auto; margin-top: 2px; }
.reassure__item h4 { color: #fff; margin: 0 0 4px; font-size: .98rem; }
.reassure__item p { font-size: .85rem; color: rgba(238,242,246,.62); margin: 0; }

/* bandeau clair */
.reassure--light { background: var(--white); color: var(--carbon); border-bottom: 1px solid var(--line-ink-2); }
.reassure--light .reassure__item { border-color: var(--line-ink-2); }
.reassure--light .reassure__item h4 { color: var(--carbon); }
.reassure--light .reassure__item p { color: var(--muted); }

/* ========================================================== ÉDITORIAL */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split--wide-media { grid-template-columns: .82fr 1.18fr; }
.split--wide-text { grid-template-columns: 1.18fr .82fr; }
.split--gap-lg { gap: clamp(34px, 6vw, 96px); }

.media {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 1px solid var(--line-ink-2);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4/5; }
.media--wide { aspect-ratio: 16/10; }
.media--square { aspect-ratio: 1/1; }
.media__tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  background: rgba(5,8,10,.72); color: #fff; border: 1px solid var(--line);
  padding: 8px 13px; border-radius: 9px; font-family: var(--font-mono);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; backdrop-filter: blur(8px);
}
.media__index {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  font-family: var(--font-mono); font-size: .72rem; color: #fff; letter-spacing: .12em;
  background: rgba(5,8,10,.6); border: 1px solid var(--line); padding: 6px 10px; border-radius: 8px;
}

.check-list { display: grid; gap: 14px; margin-top: 8px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: .98rem; }
.check-list svg { width: 21px; height: 21px; color: var(--cyan-700); flex: 0 0 auto; margin-top: 2px; }
.section--carbon .check-list svg, .section--steel .check-list svg, .section--void .check-list svg { color: var(--cyan); }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.stat-row--4 { grid-template-columns: repeat(4, 1fr); }
.stat {
  padding: 22px 20px; border-radius: var(--radius); border: 1px solid var(--line-ink-2);
  background: var(--white);
}
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.04em; color: var(--carbon); line-height: 1; }
.stat__num span { color: var(--cyan-700); }
.stat__label { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.section--carbon .stat, .section--steel .stat, .section--void .stat { background: rgba(255,255,255,.04); border-color: var(--line); }
.section--carbon .stat__num, .section--steel .stat__num, .section--void .stat__num { color: #fff; }
.section--carbon .stat__num span, .section--steel .stat__num span, .section--void .stat__num span { color: var(--cyan); }
.section--carbon .stat__label, .section--steel .stat__label, .section--void .stat__label { color: rgba(238,242,246,.62); }

/* ----------------------------------------------------- Manifeste / quote */
.manifesto { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 56px); align-items: start; }
.manifesto__mark { font-family: var(--font-display); font-size: clamp(3rem, 7vw, 6rem); line-height: .8; color: var(--cyan); opacity: .85; font-weight: 700; }
.manifesto blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 2.6vw, 2.1rem); line-height: 1.35; letter-spacing: -.02em; }
.manifesto cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ================================================= CAHIER DES FAMILLES */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat-grid--4 { grid-template-columns: repeat(4, 1fr); }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stat-row--stack { grid-template-columns: 1fr; gap: 16px; margin-top: 0; }
.cat-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--carbon); color: #fff; min-height: 372px; display: flex; flex-direction: column;
  border: 1px solid var(--line-2); isolation: isolate;
}
.cat-card--wide { grid-column: span 2; }
.cat-card__img { position: absolute; inset: 0; z-index: 0; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: transform .8s var(--ease), opacity .5s; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,8,10,.28) 0%, rgba(5,8,10,.82) 88%); }
.cat-card:hover .cat-card__img img { transform: scale(1.06); opacity: .62; }
.cat-card__body { position: relative; z-index: 2; margin-top: auto; padding: 26px; }
.cat-card__idx { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--cyan); margin-bottom: 12px; }
.cat-card h3 { color: #fff; margin-bottom: 8px; }
.cat-card p { color: rgba(238,242,246,.72); font-size: .92rem; margin-bottom: 16px; }
.cat-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }

/* ================================================== SERVICE ROWS (détail) */
.svc { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(36px, 5vw, 62px) 0; border-top: 1px solid var(--line-ink-2); }
.svc:first-of-type { border-top: 0; }
.svc--rev { direction: rtl; }
.svc--rev > * { direction: ltr; }
.svc__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.4px var(--steel-gray); line-height: 1; margin-bottom: 18px; }
.section--carbon .svc, .section--steel .svc, .section--void .svc { border-color: var(--line); }
.svc__meta { display: grid; gap: 12px; margin-top: 22px; }
.svc__meta li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; }
.svc__meta svg { width: 19px; height: 19px; color: var(--cyan-700); flex: 0 0 auto; margin-top: 3px; }
.section--carbon .svc__meta svg, .section--steel .svc__meta svg, .section--void .svc__meta svg { color: var(--cyan); }

/* Panneaux services (page services) */
.svc-panel { background: var(--white); border: 1px solid var(--line-ink-2); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-sm); }
.svc-panel__icon { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(150deg, var(--steel-2), var(--void)); margin-bottom: 20px; }
.svc-panel__icon svg { width: 27px; height: 27px; color: var(--cyan); }

/* =========================================================== PROCESSUS */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line-ink-2); }
.section--carbon .step, .section--steel .step, .section--void .step { background: rgba(255,255,255,.04); border-color: var(--line); }
.step__num { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .16em; color: var(--cyan-700); margin-bottom: 16px; display: block; }
.section--carbon .step__num, .section--steel .step__num, .section--void .step__num { color: var(--cyan); }
.step h4 { margin-bottom: 8px; }
.step p { font-size: .88rem; color: var(--muted); margin: 0; }
.section--carbon .step p, .section--steel .step p, .section--void .step p { color: rgba(238,242,246,.64); }
.step__line { position: absolute; top: 46px; right: -10px; width: 20px; height: 1px; background: var(--line-ink); }
.step:last-child .step__line { display: none; }

/* =============================================================== GALERIE */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filter {
  padding: 9px 17px; border-radius: var(--pill); border: 1px solid var(--line-ink);
  background: transparent; font-size: .86rem; font-weight: 500; color: var(--carbon);
  transition: all .3s var(--ease);
}
.filter:hover { border-color: var(--carbon); }
.filter.is-active { background: var(--carbon); color: #fff; border-color: var(--carbon); }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 172px; gap: 15px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; border: 1px solid var(--line-ink-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,8,10,.78)); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.gallery__cap b { display: block; font-family: var(--font-display); font-size: 1rem; }
.gallery__cap span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .1em; color: var(--cyan); text-transform: uppercase; }
.gallery__item:hover .gallery__cap { opacity: 1; transform: none; }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-big { grid-column: span 2; grid-row: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(5,8,10,.94);
  display: flex; align-items: center; justify-content: center; padding: 30px;
  opacity: 0; visibility: hidden; transition: opacity .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: rgba(238,242,246,.82); font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; }
.lightbox__btn { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: #fff; display: grid; place-items: center; }
.lightbox__btn:hover { background: rgba(255,255,255,.14); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 22px; top: 50%; transform: translateY(-50%); }

/* =========================================================== TÉMOIGNAGES */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote-card { background: var(--white); border: 1px solid var(--line-ink-2); border-radius: var(--radius-lg); padding: 30px 26px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.section--carbon .quote-card, .section--steel .quote-card, .section--void .quote-card { background: rgba(255,255,255,.045); border-color: var(--line); }
.quote-card__stars { display: flex; gap: 3px; color: var(--cyan); }
.quote-card__stars svg { width: 16px; height: 16px; }
.quote-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.6; }
.quote-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(150deg, var(--cyan), var(--steel-2)); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--void); }
.quote-card__who b { font-family: var(--font-display); font-size: .95rem; display: block; }
.quote-card__who span { font-size: .8rem; color: var(--muted); }
.section--carbon .quote-card__who span, .section--steel .quote-card__who span, .section--void .quote-card__who span { color: rgba(238,242,246,.6); }

/* ================================================================ FAQ */
.faq { display: grid; gap: 12px; }
.acc__item { border: 1px solid var(--line-ink-2); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.acc__item.is-open { border-color: rgba(23,224,194,.5); box-shadow: var(--shadow-sm); }
.section--carbon .acc__item, .section--steel .acc__item, .section--void .acc__item { background: rgba(255,255,255,.04); border-color: var(--line); }
.acc__head { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--carbon); }
.section--carbon .acc__head, .section--steel .acc__head, .section--void .acc__head { color: #fff; }
.acc__icon { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-ink); display: grid; place-items: center; flex: 0 0 auto; transition: transform .35s var(--ease), background .3s; }
.section--carbon .acc__icon, .section--steel .acc__icon, .section--void .acc__icon { border-color: var(--line); }
.acc__icon svg { width: 16px; height: 16px; }
.acc__item.is-open .acc__icon { background: var(--cyan); transform: rotate(180deg); }
.acc__item.is-open .acc__icon svg { color: var(--void); }
.acc__panel { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__body { padding: 0 24px 24px; color: var(--muted); font-size: .96rem; }
.section--carbon .acc__body, .section--steel .acc__body, .section--void .acc__body { color: rgba(238,242,246,.72); }

/* ============================================================ CTA FINAL */
.cta-final { position: relative; overflow: hidden; background: var(--void); color: #fff; }
.cta-final__bg { position: absolute; inset: 0; z-index: 0; }
.cta-final__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta-final__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(5,8,10,.95) 20%, rgba(5,8,10,.62) 70%, rgba(5,8,10,.4)); }
.cta-final__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(30px, 5vw, 64px); align-items: center; padding: clamp(64px, 8vw, 116px) 0; }
.cta-final h2 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.cta-final p { color: rgba(238,242,246,.78); }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-final__phone { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: #fff; margin-top: 8px; }
.cta-final__phone svg { width: 24px; height: 24px; color: var(--cyan); }
.cta-final__panel { background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(10px); }
.cta-final__panel ul { display: grid; gap: 14px; }
.cta-final__panel li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: rgba(238,242,246,.82); }
.cta-final__panel svg { width: 20px; height: 20px; color: var(--cyan); flex: 0 0 auto; margin-top: 2px; }

/* ============================================================== CONTACT */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-card { background: var(--carbon); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); border: 1px solid var(--line); }
.contact-card__label { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.contact-big { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.3rem); color: #fff; letter-spacing: -.03em; }
.contact-big svg { width: 30px; height: 30px; color: var(--cyan); flex: 0 0 auto; }
.contact-big:hover { color: var(--cyan); }
.contact-rows { display: grid; gap: 2px; margin-top: 30px; }
.contact-row { display: flex; gap: 15px; align-items: flex-start; padding: 17px 0; border-top: 1px solid var(--line); }
.contact-row svg { width: 21px; height: 21px; color: var(--cyan); flex: 0 0 auto; margin-top: 3px; }
.contact-row dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(238,242,246,.55); margin-bottom: 3px; }
.contact-row dd { margin: 0; font-size: .98rem; }
.contact-row a:hover { color: var(--cyan); }

.info-card { background: var(--white); border: 1px solid var(--line-ink-2); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-sm); }
.zone-map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 260px;
  background: linear-gradient(160deg, var(--steel), var(--carbon)); border: 1px solid var(--line);
  display: grid; place-items: center; color: #fff;
}
.zone-map__grid { position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 40px 40px; }
.zone-map__label { position: relative; z-index: 2; text-align: center; }
.zone-map__label b { font-family: var(--font-display); font-size: 1.3rem; display: block; }
.zone-map__label span { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.zone-pin { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 6px rgba(23,224,194,.22); }
.zone-pin::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--void); }

/* ============================================================ MARQUES */
.marquee { overflow: hidden; border-top: 1px solid var(--line-ink-2); border-bottom: 1px solid var(--line-ink-2); padding: 26px 0; background: var(--white); }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 34s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: -.02em; color: var(--steel-gray); white-space: nowrap; opacity: .8; }
.section--carbon .marquee, .cta-final .marquee { background: transparent; border-color: var(--line); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee--pause:hover .marquee__track { animation-play-state: paused; }

/* ============================================================ FOOTER */
.site-footer { background: var(--void); color: rgba(238,242,246,.72); padding-top: clamp(60px, 7vw, 92px); position: relative; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__tag { color: rgba(238,242,246,.5); }
.footer__brand p { margin-top: 20px; font-size: .93rem; max-width: 32ch; color: rgba(238,242,246,.6); }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--bone); transition: all .3s; }
.footer__social a:hover { background: var(--cyan); color: var(--void); border-color: var(--cyan); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-mono); font-weight: 500; margin-bottom: 20px; }
.footer__links { display: grid; gap: 11px; }
.footer__links a { font-size: .93rem; color: rgba(238,242,246,.68); transition: color .25s, padding-left .25s; }
.footer__links a:hover { color: var(--cyan); padding-left: 4px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact a, .footer__contact span { display: flex; align-items: flex-start; gap: 11px; font-size: .92rem; color: rgba(238,242,246,.72); }
.footer__contact svg { width: 18px; height: 18px; color: var(--cyan); flex: 0 0 auto; margin-top: 2px; }
.footer__contact a:hover { color: var(--cyan); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0; font-size: .84rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer__legal a { color: rgba(238,242,246,.6); }
.footer__legal a:hover { color: var(--cyan); }
.footer__credit { color: rgba(238,242,246,.55); }
.footer__credit a { color: var(--cyan); font-weight: 600; }
.footer__credit a:hover { text-decoration: underline; }

/* Barre mobile fixe (appel) */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none; }
.mobile-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 15px; font-weight: 600; font-size: .93rem; }
.mobile-bar svg { width: 19px; height: 19px; }
.mobile-bar__call { background: var(--cyan); color: var(--void); }
.mobile-bar__mail { background: var(--carbon); color: #fff; }

/* ======================================================== RÉVÉLATIONS */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .08s; }
.reveal--d2 { transition-delay: .16s; }
.reveal--d3 { transition-delay: .24s; }
.reveal--d4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .float-card--a, .float-card--b { animation: none; }
}

/* =========================================================== NOT FOUND */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf__code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 18vw, 12rem); line-height: .8; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 2px var(--steel-gray); }
.nf h1 { margin-top: 12px; }
.nf__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }

/* =========================================================== LÉGAL PAGE */
.legal { max-width: 820px; margin-inline: auto; }
.legal h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); margin-top: 46px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: #34424f; font-size: .98rem; }
.legal ul { list-style: none; padding-left: 0; display: grid; gap: 10px; margin: 0 0 1.1em; }
.legal ul li { position: relative; padding-left: 22px; }
.legal ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); }
.legal .note { background: rgba(23,224,194,.08); border: 1px solid rgba(23,224,194,.3); border-radius: var(--radius); padding: 18px 20px; margin: 22px 0; font-size: .92rem; color: #1d4b45; }
.legal [data-fill] { background: rgba(255,214,0,.22); padding: 1px 6px; border-radius: 5px; font-family: var(--font-mono); font-size: .86em; }

/* ======================================================== RESPONSIVE */
@media (max-width: 1120px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header__phone { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__visual { max-width: 460px; margin-top: 10px; }
  .float-card--a { left: 8px; bottom: 20px; }
  .float-card--b { right: 8px; top: 16px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .reassure__grid { grid-template-columns: repeat(2, 1fr); }
  .reassure__item:nth-child(3) { border-left: 0; }
  .reassure__item { border-top: 1px solid var(--line); }
  .reassure__item:nth-child(1), .reassure__item:nth-child(2) { border-top: 0; }
  .split, .split--wide-media, .split--wide-text { grid-template-columns: 1fr; }
  .split--media-first .media { order: -1; }
  .cat-grid, .cat-grid--4, .cat-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cat-card--wide { grid-column: span 2; }
  .svc { grid-template-columns: 1fr; }
  .svc--rev { direction: ltr; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step__line { display: none; }
  .quote-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-final__inner { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-big { grid-column: span 2; grid-row: span 2; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .topbar__inner { min-height: 38px; }
  .topbar__note { display: none; }
  .brand__tag { display: none; }
  .stat-row, .stat-row--4 { grid-template-columns: 1fr 1fr; }
  .cat-grid, .cat-grid--4, .cat-grid--3 { grid-template-columns: 1fr; }
  .cat-card--wide { grid-column: span 1; }
  .reassure__grid { grid-template-columns: 1fr; }
  .reassure__item { border-left: 0; border-top: 1px solid var(--line); }
  .reassure__item:first-child { border-top: 0; }
  .process { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .hero__cta .btn { width: 100%; }
  .cta-final__actions .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; }
  .mobile-bar { display: flex; }
  .site-footer { padding-bottom: 62px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto__mark { display: none; }
}

@media (max-width: 600px) {
  .header__inner { gap: 12px; }
  .header__actions { gap: 8px; }
  .header__actions .btn { display: none; }
}

@media (max-width: 460px) {
  .stat-row, .stat-row--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .g-wide, .g-big { grid-column: span 1; }
}
