/* =========================================================
   ATELIER BALZARINI — styles.css
   Direction : « Bleu de travail » — color-block bleu massif,
   slab charpentée (Bitter), signature coupe d'onglet 45°.
   Cf. DESIGN.md.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Bleus structurels */
  --bleu-nuit:   #0C2B4E;
  --bleu:        #17518F;
  --bleu-vif:    #2E7BC4;
  --bleu-pale:   #DCE9F6;

  /* Neutres teintés bleu */
  --blanc:       #F7FAFD;
  --surface:     #FDFEFF;
  --ink:         #0F2036;
  --ink-soft:    #3D5470;
  --sur-bleu:    #F2F7FC;
  --sur-bleu-soft: #A9C4DE;
  --line:        #C9D9EA;

  /* Typo */
  --font-display: "Bitter", Georgia, serif;
  --font-body:    "Public Sans", system-ui, -apple-system, sans-serif;

  --fs-display: clamp(38px, 5.6vw, 84px);
  --fs-h1:      clamp(32px, 4.2vw, 54px);
  --fs-h2:      clamp(26px, 3vw, 40px);
  --fs-h3:      clamp(19px, 1.5vw, 23px);
  --fs-lead:    clamp(17px, 1.35vw, 20px);
  --fs-body:    17px;
  --fs-small:   14px;

  /* Espace / formes */
  --section-y: clamp(76px, 11vh, 148px);
  --gutter:    clamp(20px, 5vw, 60px);
  --maxw:      1180px;
  --maxw-text: 740px;
  --r-sm: 6px;
  --r:    12px;

  --shadow:    0 20px 50px -24px rgba(12, 43, 78, .35);
  --shadow-sm: 0 1px 2px rgba(12,43,78,.06), 0 3px 10px rgba(12,43,78,.06);

  /* Signature : chanfrein d'onglet */
  --onglet:      28px;
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bleu-vif); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--bleu-vif); outline-offset: 2px; }
::selection { background: var(--bleu-pale); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { max-width: 68ch; }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); }

.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.container-text { max-width: var(--maxw-text); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: var(--section-y); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- Signature : coupe d'onglet 45° ---------- */
.clip-onglet {
  clip-path: polygon(0 0, calc(100% - var(--onglet)) 0, 100% var(--onglet), 100% 100%, 0 100%);
}
/* Tick losange devant les eyebrows */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bleu-vif);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--bleu);
  transform: rotate(45deg);
  flex: none;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--sur-bleu-soft); }
.on-dark .eyebrow::before, .eyebrow.on-dark::before { background: var(--bleu-vif); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 28px;
  cursor: pointer;
  border: none;
  transition: transform .18s var(--ease), background-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.99); }
.btn-primary {
  background: var(--bleu);
  color: var(--sur-bleu);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 0 100%);
}
.btn-primary:hover { background: var(--bleu-nuit); color: var(--sur-bleu); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--bleu-vif); color: var(--bleu); }
.on-dark .btn-ghost, .btn-ghost.on-dark,
.cta-final .btn-ghost, .contact-card .btn-ghost {
  color: var(--sur-bleu);
  box-shadow: inset 0 0 0 2px rgba(169,196,222,.4);
}
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover,
.cta-final .btn-ghost:hover, .contact-card .btn-ghost:hover {
  box-shadow: inset 0 0 0 2px var(--sur-bleu);
  color: var(--sur-bleu);
}
.btn-tel { font-variant-numeric: tabular-nums; }

/* ---------- Topbar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.topbar.scrolled, .topbar.menu-open {
  background: rgba(12, 43, 78, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(169,196,222,.15);
}
.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--sur-bleu);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .02em;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo .logo-mark {
  width: 45px; height: 40px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='20%208%2074%2066'%3E%3Cpath%20fill='%23EAF1FA'%20fill-rule='evenodd'%20d='M22%2010H46V46H68V70H22Z%20M46%2046L22%2070L25%2070L46%2049Z'/%3E%3Cpath%20fill='%232E7BC4'%20d='M82%2052L92%2062L82%2072L72%2062Z'/%3E%3C/svg%3E");
  flex: none;
}
.logo .logo-sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sur-bleu-soft);
}
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop > a {
  color: var(--sur-bleu);
  font-weight: 500;
  font-size: 15.5px;
}
.nav-desktop > a:hover { color: #fff; text-decoration: none; }
.nav-desktop > a.active { color: #fff; box-shadow: 0 2px 0 var(--bleu-vif); }

/* Dropdown services (desktop) */
.nav-drop { position: relative; }
.nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--sur-bleu); font-family: var(--font-body);
  font-weight: 500; font-size: 15.5px; padding: 8px 0;
}
.nav-drop > button::after {
  content: ""; width: 7px; height: 7px; margin-top: -4px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  transform: translate(-50%, 6px);
  min-width: 250px;
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 8px 0;
  opacity: 0; visibility: hidden;
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s .18s;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%);
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu {
  opacity: 1; visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.nav-drop-menu a {
  display: block;
  padding: 10px 20px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.nav-drop-menu a:hover { background: var(--bleu-pale); color: var(--bleu-nuit); text-decoration: none; }
.topbar .btn-tel { padding: 11px 20px; font-size: 15px; }

/* Burger */
.nav-toggle {
  display: none;
  position: relative;
  width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  z-index: 60;
}
.nav-toggle span {
  position: absolute; left: 10px;
  width: 24px; height: 2px;
  background: var(--sur-bleu);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile plein écran */
.mobile-menu {
  position: fixed; inset: 0;
  z-index: 35; /* sous la topbar (40) pour que le bouton X reste cliquable */
  background: var(--bleu-nuit);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px var(--gutter) 40px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
.mobile-menu.open {
  opacity: 1; visibility: visible;
  transition: opacity .3s var(--ease);
}
.mobile-menu a {
  color: var(--sur-bleu);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 6vw, 34px);
  padding: 10px 0;
  transform: translateY(14px); opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.mobile-menu a.mm-small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 17px;
  color: var(--sur-bleu-soft);
  padding: 7px 0 7px 22px;
}
.mobile-menu.open a { transform: translateY(0); opacity: 1; }
.mobile-menu.open a:nth-child(1) { transition-delay: .05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .10s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .18s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .22s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(7) { transition-delay: .30s; }
.mobile-menu.open a:nth-child(8) { transition-delay: .34s; }
.mobile-menu.open a:nth-child(9) { transition-delay: .38s; }
.mobile-menu.open a:nth-child(10) { transition-delay: .42s; }
.mobile-menu .mm-tel {
  margin-top: 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero (index) ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: flex-end;
  padding: 0;
}
.hero-bg {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(75deg, rgba(6,20,38,.78) 0%, rgba(6,20,38,.45) 42%, rgba(6,20,38,.12) 70%, rgba(6,20,38,.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 140px var(--gutter) 0;
}
.hero-panel {
  max-width: 640px;
  background: rgba(12, 43, 78, .88);
  padding: clamp(30px, 4vw, 52px);
  clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 40px, 100% 100%, 0 100%);
  margin-bottom: clamp(40px, 7vh, 88px);
}
.hero-panel h1 {
  font-size: var(--fs-display);
  color: var(--sur-bleu);
  text-shadow: 0 2px 30px rgba(6,20,38,.55);
  margin-bottom: 20px;
}
.hero-panel .lead {
  color: rgba(242,247,252,.95);
  text-shadow: 0 2px 24px rgba(6,20,38,.55);
  margin-bottom: 30px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  color: var(--sur-bleu-soft);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: ""; width: 6px; height: 6px;
  background: var(--bleu-vif); transform: rotate(45deg); flex: none;
}

/* ---------- Page-hero (pages internes) ---------- */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 60px;
}
.page-hero .hero-bg::after {
  background: linear-gradient(10deg, rgba(6,20,38,.82) 0%, rgba(6,20,38,.55) 45%, rgba(6,20,38,.25) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--sur-bleu);
  text-shadow: 0 2px 30px rgba(6,20,38,.6);
  max-width: 15ch;
  margin-bottom: 16px;
}
.page-hero .lead {
  color: rgba(242,247,252,.95);
  text-shadow: 0 2px 24px rgba(6,20,38,.6);
  max-width: 56ch;
}

/* ---------- Bandeau certifs ---------- */
.certifs { padding-block: 0; background: var(--blanc); }
.certifs-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-inline: 1px solid var(--line);
}
.certif {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}
.certif:last-child { border-right: none; }
.certif strong {
  display: block;
  font-family: var(--font-display);
  font-size: 19px;
  margin-bottom: 6px;
}
.certif span { color: var(--ink-soft); font-size: 15px; line-height: 1.5; display: block; max-width: 30ch; }

/* ---------- Cartes services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.service-card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card.wide { grid-column: span 3; }
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.service-card .sc-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--onglet)) 0, 100% var(--onglet), 100% 100%, 0 100%);
}
.service-card .sc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.service-card:hover .sc-img img { transform: scale(1.04); }
.service-card .sc-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { color: var(--ink); margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.service-card .sc-link {
  margin-top: 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--bleu);
  display: inline-flex; align-items: center; gap: 8px;
}
.service-card .sc-link::after { content: "→"; transition: transform .2s var(--ease); }
.service-card:hover .sc-link::after { transform: translateX(4px); }

/* ---------- Section signature « Une seule paire de mains » ---------- */
.signature {
  background: var(--bleu-nuit);
  color: var(--sur-bleu);
  clip-path: polygon(0 0, calc(100% - 120px) 0, 100% 120px, 100% 100%, 0 100%);
  padding-block: calc(var(--section-y) + 20px);
}
.signature h2 { color: var(--sur-bleu); max-width: 17ch; }
.signature .lead { color: var(--sur-bleu-soft); }
.signature-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.signature-points { list-style: none; margin-top: 34px; display: grid; gap: 22px; }
.signature-points li { display: flex; gap: 16px; align-items: flex-start; max-width: 52ch; }
.signature-points li::before {
  content: "";
  width: 10px; height: 10px;
  margin-top: 8px;
  background: var(--bleu-vif);
  transform: rotate(45deg);
  flex: none;
}
.signature-points strong { display: block; font-family: var(--font-display); font-size: 18px; margin-bottom: 3px; color: var(--sur-bleu); }
.signature-points span { color: var(--sur-bleu-soft); font-size: 15.5px; line-height: 1.55; }
.signature-img img { box-shadow: var(--shadow); }

/* ---------- Processus 4 étapes ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  position: relative;
}
.process-step { position: relative; padding-top: 26px; }
.process-step::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 12px; height: 12px;
  background: var(--bleu);
  transform: rotate(45deg);
}
.process-step::after {
  content: "";
  position: absolute; top: 5px; left: 26px; right: -18px;
  height: 2px;
  background: var(--line);
}
.process-step:last-child::after { display: none; }
.process-step h3 { margin-bottom: 8px; }
.process-step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Zone d'intervention ---------- */
.zone { background: var(--bleu-pale); }
.zone-cities {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 30px;
  list-style: none;
}
.zone-cities li {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-weight: 500;
  font-size: 15px;
}
.zone-cities li.principal {
  background: var(--bleu);
  color: var(--sur-bleu);
  border-color: var(--bleu);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

/* ---------- Contenu éditorial pages service ---------- */
.edito { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.edito.reverse { direction: rtl; }
.edito.reverse > * { direction: ltr; }
.edito h2 { margin-bottom: 18px; }
.edito p + p { margin-top: 16px; }
.edito-img img { box-shadow: var(--shadow); }
.feature-list { list-style: none; margin-top: 24px; display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 9px;
  background: var(--bleu);
  transform: rotate(45deg);
  flex: none;
}
.feature-list strong { font-weight: 600; }

/* Bloc aides / RGE */
.aides {
  background: var(--bleu);
  color: var(--sur-bleu);
  padding: clamp(32px, 4vw, 52px);
  clip-path: polygon(0 0, calc(100% - 36px) 0, 100% 36px, 100% 100%, 0 100%);
}
.aides h2, .aides h3 { color: #fff; margin-bottom: 12px; }
.aides p { color: rgba(242,247,252,.92); }
.aides .btn-ghost { margin-top: 22px; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.5); }
.aides .btn-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }

/* Cross-sell */
.cross-sell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }

/* ---------- CTA final ---------- */
.cta-final { background: var(--blanc); }
.cta-final .cta-box {
  background: var(--bleu-nuit);
  color: var(--sur-bleu);
  padding: clamp(40px, 6vw, 76px);
  clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 56px, 100% 100%, 0 100%);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: center;
}
.cta-final h2 { color: var(--sur-bleu); margin-bottom: 14px; }
.cta-final p { color: var(--sur-bleu-soft); }
.cta-final .cta-actions { display: grid; gap: 14px; justify-items: start; }
.cta-final .cta-tel {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 34px);
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* ---------- Formulaire ---------- */
.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { font-weight: 600; font-size: 15px; display: block; margin-bottom: 7px; }
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 13px 16px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--bleu-vif);
  box-shadow: 0 0 0 3px rgba(46,123,196,.18);
}
textarea { min-height: 130px; resize: vertical; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact-card {
  background: var(--bleu-nuit);
  color: var(--sur-bleu);
  padding: clamp(30px, 4vw, 48px);
  clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}
.contact-card h2 { color: var(--sur-bleu); }
.contact-card .contact-tel {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 32px);
  color: #fff;
  margin: 18px 0 26px;
  font-variant-numeric: tabular-nums;
}
.contact-card dl { display: grid; gap: 16px; }
.contact-card dt {
  font-weight: 700; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--sur-bleu-soft);
  margin-bottom: 3px;
}
.contact-card dd { color: var(--sur-bleu); }
.contact-card a { color: #fff; }

/* ---------- Stats / à propos ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.about-grid .edito-img { position: sticky; top: 110px; }

/* ---------- Footer ---------- */
footer {
  background: var(--bleu-nuit);
  color: var(--sur-bleu-soft);
  padding: 70px 0 36px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(169,196,222,.18);
}
footer .logo { font-size: 21px; margin-bottom: 16px; }
footer p { font-size: 15px; max-width: 40ch; }
footer h4 {
  color: var(--sur-bleu);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer ul { list-style: none; display: grid; gap: 9px; }
footer ul a { color: var(--sur-bleu-soft); font-size: 15px; }
footer ul a:hover { color: #fff; }
footer address { font-style: normal; font-size: 15px; line-height: 1.7; }
footer address a { color: var(--sur-bleu); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 26px;
  font-size: 13.5px;
}
.footer-bottom a { color: var(--sur-bleu-soft); }

/* ---------- Reveal ---------- */
.reveal, .reveal-stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.reveal.visible, .reveal-stagger.visible > * { opacity: 1; transform: none; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: .06s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: .12s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: .18s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: .24s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: .30s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card.wide { grid-column: span 1; }
  .certifs-inner { grid-template-columns: repeat(2, 1fr); }
  .certif:nth-child(2) { border-right: none; }
  .certif { border-bottom: 1px solid var(--line); }
  .certif:nth-child(3), .certif:nth-child(4) { border-bottom: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .topbar { background: rgba(12, 43, 78, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

  .hero { min-height: 86dvh; }
  .hero-inner { padding-top: 110px; }
  .hero-panel { max-width: 100%; }

  .signature-grid, .edito, .edito.reverse,
  .contact-grid, .about-grid,
  .cta-final .cta-box { grid-template-columns: 1fr; }
  .about-grid .edito-img { position: static; }
  .signature { clip-path: polygon(0 0, calc(100% - 64px) 0, 100% 64px, 100% 100%, 0 100%); }
  .cross-sell-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .certifs-inner { grid-template-columns: 1fr; }
  .certif { border-right: none; border-bottom: 1px solid var(--line); }
  .certif:nth-child(3) { border-bottom: 1px solid var(--line); }
  .certif:last-child { border-bottom: none; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
}
