/* ==========================================================================
   TILAMP — site vitrine
   Styles repris de la maquette Claude Design « Vitrine Cabinet v2 ».
   ========================================================================== */

:root {
  --blue: #1F5EFF;
  --blue-hover: #1546D6;
  --ink: #0B1533;
  --navy: #0B1650;
  --text: #4A5470;
  --muted: #5B6478;
  --bg: #F7F9FD;
  --tint: #EEF3FF;
  --tint-2: #EDF2FF;
  --line: #E3E9F5;
  --green: #22C55E;
  --green-ink: #15803D;
  --green-bg: #E9F9EF;
  /* Boutons et appels à l’action */
  --cta: var(--navy);
  --cta-hover: #1B2C85;
  /* Courbe commune à toutes les animations */
  --ease: cubic-bezier(.2, .65, .25, 1);
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
button, input, textarea, select { font-family: inherit; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
::selection { background: var(--blue); color: #fff; }
::placeholder { color: #6B7590; opacity: 1; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.page { min-height: 100vh; overflow-x: clip; }
.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* Icônes (police Material Symbols Rounded) */
.icon {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  overflow: hidden;
  font-family: 'Material Symbols Rounded';
  font-size: 24px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: 'liga';
  font-variation-settings: 'FILL' 0;
  -webkit-font-smoothing: antialiased;
  user-select: none;
}
.icon--fill { font-variation-settings: 'FILL' 1; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Éléments communs ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  translate: var(--mx, 0px) var(--my, 0px);
  transition: background .2s, color .2s, border-color .2s, transform .2s, translate .3s var(--ease), scale .15s;
}
.btn:active { scale: .97; }
.btn .icon { font-size: 19px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--cta); color: #fff; }
.btn--primary:hover { background: var(--cta-hover); color: #fff; transform: translateY(-1px); }

.btn--lg {
  padding: 17px 26px;
  font-size: 16px;
  box-shadow: 0 16px 40px -12px rgba(11, 22, 80, .6), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--md {
  padding: 15px 24px;
  font-size: 15.5px;
  box-shadow: 0 14px 34px -12px rgba(11, 22, 80, .65);
}
.btn--sm {
  gap: 8px;
  padding: 13px 20px;
  font-size: 14.5px;
  box-shadow: 0 12px 28px -12px rgba(11, 22, 80, .7);
}
.btn--sm .icon { font-size: 18px; }

.btn--ghost {
  gap: 8px;
  padding: 17px 24px;
  border: 1px solid var(--cta);
  background: #fff;
  color: var(--cta);
  font-size: 16px;
  font-weight: 600;
}
.btn--ghost:hover { background: var(--cta); color: #fff; }

.btn--block {
  width: 100%;
  justify-content: center;
  padding: 17px 24px;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 16px 36px -14px rgba(11, 22, 80, .65);
}
.btn--block .icon { font-size: 20px; }
.btn--block:disabled { opacity: .7; cursor: progress; transform: none; }

.btn--outline {
  padding: 13px 20px;
  border: 1.5px solid var(--cta);
  background: #fff;
  color: var(--cta);
  font-size: 14.5px;
}
.btn--outline:hover { background: var(--cta); color: #fff; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 13px 7px 10px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
}
.badge .icon { font-size: 16px; }
.badge--glow { box-shadow: 0 8px 24px -10px rgba(31, 94, 255, .7); }

.h2 {
  margin: 0;
  font-size: clamp(32px, 3.8vw, 52px);
  line-height: 1.06;
  letter-spacing: -.03em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
.h2--sm { font-size: clamp(32px, 3.6vw, 50px); }
.h2--lg { font-size: clamp(34px, 4vw, 56px); line-height: 1.04; letter-spacing: -.035em; }

.accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1em;
  letter-spacing: -.01em;
  color: var(--blue);
}

.lead {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}

.divider { height: 1px; background: #E8ECF4; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-bg);
  color: var(--green-ink);
  font-size: 12px;
  font-weight: 700;
}
.status-pill--lg { gap: 8px; padding: 6px 12px; font-size: 12.5px; }

.live-dot {
  display: inline-block;
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s ease-out infinite;
}

.panel {
  position: relative;
  max-width: 1408px;
  margin: 0 auto;
  border-radius: 32px;
  overflow: hidden;
  background: var(--tint);
  isolation: isolate;
}

/* ---------- Bandeau de coordonnées ---------- */

.topbar {
  position: relative;
  overflow: hidden;
  background: #F1F5FF;
  border-bottom: 1px solid var(--line);
  color: #22305E;
  font-size: 13px;
  font-weight: 600;
}
.topbar__accent {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36%;
  background: #E3EBFF;
  clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%);
}
.topbar__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 32px;
}
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.topbar a,
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: #22305E; }
.topbar a:hover { color: var(--blue); }
.topbar .icon { font-size: 17px; color: var(--blue); }
.topbar__sep { width: 1px; height: 14px; background: #C9D6FF; }
.topbar__in {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--blue);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid #E4E9F2;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px -20px rgba(11, 22, 80, .3); }

.site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; flex: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__mark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  flex: none;
  width: 42px;
  height: 42px;
  padding-left: 11px;
  border-radius: 13px;
  background: var(--blue);
  box-shadow: 0 8px 20px -8px rgba(31, 94, 255, .8);
}
.brand__mark span { height: 4px; border-radius: 2px; }
.brand__mark span:nth-child(1) { width: 10px; background: #9DB8FF; }
.brand__mark span:nth-child(2) { width: 15px; background: #C9D6FF; }
.brand__mark span:nth-child(3) { width: 20px; background: #fff; }
.brand__text { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.brand__name { font-size: 21px; font-weight: 800; letter-spacing: -.03em; }
.brand__tagline { font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: var(--muted); }
.brand--footer .brand__mark { box-shadow: none; }

.nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s, color .2s;
}
.nav a:hover { background: var(--tint-2); color: var(--blue); }

.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}
.header-phone:hover { color: var(--blue); }
.header-phone__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--blue);
}
.header-phone__icon .icon { font-size: 19px; }

.menu-toggle {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--blue);
  cursor: pointer;
  transition: background .2s;
}
.menu-toggle:hover { background: #E3EBFF; }
.no-js .menu-toggle { display: none !important; }
.menu-toggle .menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-block; }

.mobile-menu {
  max-width: 1240px;
  max-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: 8px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow-y: auto;
  border-top: 1px solid #E4E9F2;
}
.mobile-menu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  border-radius: 14px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
}
.mobile-menu > a .icon { font-size: 20px; color: var(--blue); }
.mobile-menu > a:hover { background: var(--tint-2); color: var(--blue); }
.mobile-menu__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 10px;
  padding: 16px 12px 0;
  border-top: 1px solid #E8ECF4;
}
.mobile-menu__contact a { display: inline-flex; align-items: center; gap: 8px; color: #22305E; font-size: 15px; font-weight: 600; }
.mobile-menu__contact .icon { font-size: 18px; color: var(--blue); }

/* ---------- 01 · Hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(45% 60% at 85% 15%, rgba(31, 94, 255, .12), rgba(31, 94, 255, 0) 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(31, 94, 255, .07), rgba(31, 94, 255, 0) 70%);
}
.hero__grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 22, 80, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 22, 80, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(55% 65% at 20% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(55% 65% at 20% 30%, #000 0%, transparent 75%);
}
.hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) 24px clamp(40px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
}
.hero__content { flex: 1.1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.hero__title {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 800;
  color: var(--ink);
  text-wrap: balance;
}
.hero__title .accent { font-size: 1.12em; }
.hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.65;
  color: var(--text);
  text-wrap: pretty;
}
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks .icon { font-size: 19px; color: #16A34A; }

.hero__visual { position: relative; flex: 1 1 440px; min-width: 0; min-height: clamp(480px, 44vw, 600px); }
.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 10%;
  overflow: hidden;
  border-radius: 28px;
  background: #E6ECF7;
  box-shadow: 0 40px 80px -50px rgba(11, 22, 80, .45);
}
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.photo-credit {
  position: absolute;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 10.5px;
  line-height: 1.3;
  white-space: nowrap;
}
.photo-credit a { color: inherit; }
.photo-credit a:hover { color: #fff; text-decoration: underline; }

.hero__chip {
  position: absolute;
  top: 28px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 48px -24px rgba(11, 22, 80, .4);
}
.hero__chip-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--green-bg);
  color: var(--green-ink);
}
.hero__chip-icon .icon { font-size: 20px; }
.hero__chip-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.hero__chip-text strong { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.hero__chip-text span { font-size: 12px; font-weight: 600; color: var(--muted); }

.project-card {
  position: absolute;
  left: 0;
  bottom: 28px;
  width: min(330px, 92%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 40px 80px -36px rgba(11, 22, 80, .45);
}
.project-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.project-card__title { font-size: 17px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.progress { display: flex; flex-direction: column; gap: 8px; }
.progress__label { display: flex; justify-content: space-between; color: var(--text); font-size: 13px; font-weight: 600; }
.progress__value { font-weight: 800; color: var(--blue); }
.progress__track { height: 8px; overflow: hidden; border-radius: 999px; background: var(--tint-2); }
.progress__bar { width: 62%; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #1F5EFF, #5B8BFF); }

.milestones { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.milestone { display: flex; align-items: center; gap: 12px; }
.milestone__dot { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; }
.milestone__dot .icon { font-size: 16px; }
.milestone__name { flex: 1; font-size: 14px; font-weight: 600; }
.milestone__state { font-size: 12px; font-weight: 600; color: var(--muted); }
.milestone--done .milestone__dot { background: var(--blue); color: #fff; }
.milestone--current .milestone__dot { border: 2px solid var(--blue); }
.milestone--current .milestone__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.milestone--current .milestone__name { font-weight: 700; }
.milestone--current .milestone__state { font-weight: 700; color: var(--blue); }
.milestone--todo .milestone__dot { border: 2px dashed #C3CDE3; }
.milestone--todo .milestone__name { color: var(--muted); }

/* ---------- 02 · Logiciels ---------- */

.logos {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 48px) 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 48px;
  border-top: 1px solid #E8EDF6;
  border-bottom: 1px solid #E8EDF6;
}
.logos p { margin: 0; max-width: 280px; color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.logos__list {
  flex: 1 1 560px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #6B7590;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.03em;
}

/* ---------- 03 · Méthode ---------- */

.methode {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 4vw, 52px) 24px;
}
.methode > .section-head,
.methode > .callout { grid-column: 1 / -1; }

/* Photo : bandeau sur mobile, colonne à gauche du planning sur grand écran. */
.methode__photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  max-height: 420px;
  border-radius: 28px;
  background: #E6ECF7;
}
.methode__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

.section-head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.section-head__main { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; }
.section-head__aside { flex: 1 1 360px; max-width: 440px; }

.plan {
  min-width: 0;
  padding: clamp(16px, 2vw, 26px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 70px -45px rgba(11, 22, 80, .3);
}
.plan__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 0 8px 16px; }
.plan__title { display: flex; flex-direction: column; gap: 4px; }
.plan__title h3 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.plan__title p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; list-style: none; color: var(--ink); font-size: 12.5px; font-weight: 700; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend__swatch { width: 22px; height: 8px; border-radius: 999px; }
.legend__diamond { width: 10px; height: 10px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }

.plan__phases { display: flex; align-items: flex-end; gap: 24px; padding: 0 8px 8px; }
.plan__phases-label { flex: 1 1 300px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.timeline { flex: 1.15 1 300px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.phase { margin-right: 4px; padding: 8px 10px; border-radius: 10px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.phase--cadrer { grid-column: 1 / 6; background: var(--tint); color: var(--blue); }
.phase--piloter { grid-column: 6 / 9; background: #E3EBFF; color: var(--blue-hover); }
.phase--livrer { grid-column: 9 / 13; margin-right: 0; background: #E6E9F2; color: var(--navy); }

.steps { margin: 0; padding: 0; list-style: none; }
.step {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0 24px;
  padding: 0 8px;
  border-top: 1px solid #EEF2F9;
  transition: background .2s;
}
.step:hover { background: #F9FBFF; }

/* Chaque étape se déplie pour afficher son détail (élément <details>, sans JavaScript). */
.step__info { flex: 1 1 300px; min-width: 0; }
.step__info summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 8px 0;
  list-style: none;
  cursor: pointer;
}
.step__info summary::-webkit-details-marker { display: none; }
.step__info summary:focus-visible { outline-offset: 2px; border-radius: 10px; }
.step__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--tint);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.step--piloter .step__num { background: var(--blue); color: #fff; }
.step--livrer .step__num { background: var(--navy); color: #fff; }
.step__title { flex: 1; min-width: 0; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; transition: color .2s; }
.step__info summary:hover .step__title { color: var(--blue); }
.step__toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--blue);
  transition: background .2s, color .2s;
}
.step__toggle .icon { font-size: 18px; transition: transform .3s var(--ease); }
.step__info[open] .step__toggle { background: var(--blue); color: #fff; }
.step__info[open] .step__toggle .icon { transform: rotate(45deg); }
.step__info p { margin: 0 0 14px 44px; color: var(--text); font-size: 14px; line-height: 1.55; text-wrap: pretty; }
.step__info[open] p { animation: fade-down .35s var(--ease) both; }

.step__gantt {
  flex: 1.15 1 300px;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 48px;
  align-content: start;
  align-items: center;
  background-image: linear-gradient(90deg, #EEF2F9 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
}
.bar { grid-row: 1; height: 12px; border-radius: 999px; transition: transform .3s var(--ease), filter .3s; }
.step:hover .bar { transform: scaleY(1.3); filter: saturate(1.2); }
.bar--cadrer { background: #A9C1FF; }
.bar--piloter { background: var(--blue); }
.bar--obstacles { background: repeating-linear-gradient(135deg, #1F5EFF 0 6px, #8FB0FF 6px 12px); }
.bar--livrer { background: var(--navy); }
.jalon {
  grid-row: 1;
  justify-self: start;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 3px;
  background: var(--green);
  transform: rotate(45deg);
  box-shadow: 0 0 0 4px #fff;
  transition: transform .3s var(--ease);
}
.step:hover .jalon { transform: rotate(45deg) scale(1.2); }
.finish {
  grid-row: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 4px #fff;
}
.finish .icon { font-size: 16px; }

.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  padding: 20px 20px 20px clamp(20px, 3vw, 32px);
  border-radius: 24px;
  background: var(--tint);
}
.callout__body { flex: 1 1 380px; display: flex; align-items: center; gap: 16px; }
.callout__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--blue); }
.callout p { margin: 0; color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.5; text-wrap: pretty; }

/* ---------- 04 · Engagements ---------- */

.engagements { padding: 0 16px; }
.engagements .panel { padding: clamp(56px, 7vw, 104px) 24px; }
.panel__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(31, 94, 255, .14) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}
.engagements__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4vw, 56px);
}

.section-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.section-head--center .badge { align-self: center; }
.section-head--center .lead { max-width: 600px; }

.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  border: 1px solid #DCE6FB;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 50px -36px rgba(11, 22, 80, .35);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 30px 60px -34px rgba(11, 22, 80, .45); }
.card__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(31, 94, 255, .9);
}
.card__icon .icon { font-size: 26px; }
.card h3 { margin: 0; color: var(--ink); font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--text); font-size: 15px; line-height: 1.6; text-wrap: pretty; }

/* ---------- 05 · Les hommes ---------- */

.cabinet { padding: clamp(56px, 7vw, 96px) 16px 0; }
.cabinet__panel {
  max-width: 1408px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) 24px;
  border: 1px solid #E8EDF6;
  border-radius: 32px;
  background: #fff;
}
.cabinet__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: clamp(36px, 5vw, 72px);
}

/* Portrait volontairement discret : il accompagne le texte sans le dominer. */
.cabinet__media { position: relative; width: min(100%, 320px); aspect-ratio: 1 / 1.05; }
.cabinet__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 24px; }
.cabinet__stat-wrap {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 8px 8px 0 0;
  border-top-right-radius: 24px;
  background: #fff;
}
.cabinet__stat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 16px 32px -18px rgba(31, 94, 255, .9);
}
.cabinet__stat-num { font-family: var(--serif); font-size: 46px; font-style: italic; line-height: .8; }
.cabinet__stat-text { max-width: 150px; font-size: 12.5px; font-weight: 600; line-height: 1.35; }
.cabinet__loc {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px 7px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
  box-shadow: 0 14px 30px -16px rgba(11, 22, 80, .45);
}
.cabinet__loc .icon { font-size: 16px; color: var(--blue); }

.cabinet__content { min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.quote { margin: 0; }
.quote p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}

.facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.fact { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px; border-radius: 18px; background: var(--tint); }
.fact--wide { grid-column: 1 / -1; }
.fact__num { font-family: var(--serif); font-size: 46px; font-style: italic; line-height: .9; color: var(--blue); }
.fact__text { color: var(--text); font-size: 14px; font-weight: 600; line-height: 1.45; text-wrap: pretty; }

.tabs { display: flex; flex-direction: column; gap: 24px; }
.tabs__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tab {
  position: relative;
  width: 100%;
  padding: 13px 8px;
  border: 0;
  border-bottom: 2px solid #C9D6FF;
  border-radius: 10px 10px 4px 4px;
  background: #F3F5FA;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.tab:not([aria-selected="true"]):hover { background: #EAF0FF; }
.tab[aria-selected="true"] {
  border-bottom: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 24px -14px rgba(31, 94, 255, .9);
}
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 2px;
  background: var(--blue);
  transform: rotate(45deg);
}
.tabs__panels { min-height: 84px; }
.tabs__panel p { margin: 0; color: var(--text); font-size: 16.5px; line-height: 1.7; text-wrap: pretty; }
.no-js .tabs__panel[hidden] { display: block !important; margin-top: 16px; }

.ticks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 14px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 15px; font-weight: 600; }
.tick { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--blue); color: #fff; }
.tick .icon { font-size: 15px; }
.cabinet__cta { align-self: flex-start; }

/* ---------- 06 · Questions ---------- */

.faq {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 128px) 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(40px, 5vw, 80px);
}
.faq__intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.contact-chip {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #E3E8F2;
  border-radius: 20px;
  background: #fff;
}
.contact-chip__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--blue); color: #fff; }
.contact-chip__icon .icon { font-size: 22px; }
.contact-chip__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-chip__label { color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-chip a { color: var(--ink); font-size: 19px; font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; }
.contact-chip a:hover { color: var(--blue); }

.faq__list { flex: 1.6 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { overflow: hidden; border: 1px solid #E3E8F2; border-radius: 20px; background: #fff; }
.faq-item h3 { margin: 0; }
.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 20px 20px 26px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
}
.faq-item__q:focus-visible { outline-offset: -3px; border-radius: 20px; }
.faq-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--tint-2);
  color: var(--blue);
  transition: background .2s, color .2s;
}
.faq-item__icon .icon { font-size: 20px; }
.faq-item .faq-item__minus,
.faq-item.is-open .faq-item__plus { display: none; }
.faq-item.is-open .faq-item__minus { display: inline-block; }
.faq-item.is-open .faq-item__icon { background: var(--blue); color: #fff; }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .3s ease, visibility 0s linear .3s;
}
.faq-item__a > div { overflow: hidden; }
.faq-item.is-open .faq-item__a,
.no-js .faq-item__a {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .3s ease, visibility 0s;
}
.faq-item__a p {
  max-width: 680px;
  margin: 0;
  padding: 0 26px 24px;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.7;
  text-wrap: pretty;
}

/* ---------- 07 · Contact ---------- */

.contact { padding: 0 16px; }
.contact__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(50% 60% at 100% 0%, rgba(31, 94, 255, .14), rgba(31, 94, 255, 0) 70%);
}
.contact__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 104px) 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(40px, 6vw, 88px);
}
.contact__intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact__intro > .lead { max-width: 500px; }

.process { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.process li { display: flex; gap: 18px; }
.process__rail { display: flex; flex-direction: column; align-items: center; }
.process__num {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.process__line { flex: 1; width: 2px; min-height: 18px; margin: 6px 0; background: #C9D6FF; }
.process__body { display: flex; flex-direction: column; gap: 4px; padding: 8px 0 22px; }
.process__body strong { color: var(--ink); font-size: 16.5px; font-weight: 700; }
.process__body span { color: var(--text); font-size: 14.5px; line-height: 1.55; }
.process li:last-child .process__line { display: none; }
.process li:last-child .process__body { padding-bottom: 0; }

.contact-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-self: flex-start;
  gap: 16px 20px;
  max-width: 100%;
  padding: 16px;
  border: 1px solid #DCE6FB;
  border-radius: 22px;
  background: #fff;
}
.contact-card img { flex: none; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.contact-card__body { display: flex; flex-direction: column; gap: 3px; padding-right: 8px; }
.contact-card__label { color: var(--muted); font-size: 13px; font-weight: 600; }
.contact-card a { color: var(--blue); font-size: 14px; font-weight: 600; }
.contact-card a:hover { color: var(--blue-hover); }

.contact__form { flex: 1 1 460px; min-width: 0; }

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid #DCE6FB;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 80px -45px rgba(11, 22, 80, .4);
}
.form__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.form__head h3 { margin: 0; color: var(--ink); font-size: clamp(22px, 2vw, 26px); font-weight: 800; letter-spacing: -.025em; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 16px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label,
.choices legend { color: var(--ink); font-size: 13.5px; font-weight: 700; }
.input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #DCE4F5;
  border-radius: 14px;
  outline: none;
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(31, 94, 255, .12); }
textarea.input { min-height: 112px; line-height: 1.55; resize: vertical; }
.field.has-error .input { border-color: #DC2626; }
.field__error { display: inline-flex; align-items: center; gap: 6px; color: #DC2626; font-size: 13px; font-weight: 600; }
.field__error .icon { font-size: 16px; }

.choices { margin: 0; padding: 0; border: 0; min-width: 0; }
.choices legend { margin-bottom: 10px; padding: 0; }
.choices__list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: block;
  padding: 9px 15px;
  border: 1.5px solid #DCE4F5;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover span { border-color: #B9C9F2; }
.chip input:checked + span { border-color: var(--blue); background: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #FEF2F2;
  color: #B91C1C;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.form__alert a { color: inherit; text-decoration: underline; }
.form__note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; font-weight: 500; line-height: 1.5; }
.form__note .icon { font-size: 17px; color: var(--blue); }

.form-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  min-height: 440px;
  padding: clamp(32px, 4vw, 56px);
  border: 1px solid #DCE6FB;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 40px 80px -45px rgba(11, 22, 80, .4);
}
.form-success__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  box-shadow: 0 0 0 8px var(--green-bg);
}
.form-success__icon .icon { font-size: 34px; }
.form-success h3 { margin: 0; color: var(--ink); font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.form-success h3:focus { outline: none; }
.form-success p { max-width: 440px; margin: 0; color: var(--text); font-size: 16.5px; line-height: 1.65; }
.form-success p a { font-weight: 700; }

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

.footer { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); background: #fff; }
.footer__inner { max-width: 1240px; margin: 0 auto; padding: 56px 24px 28px; display: flex; flex-direction: column; gap: 40px; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px; }
.footer__about { flex: 1 1 280px; max-width: 360px; display: flex; flex-direction: column; gap: 16px; }
.footer__about p { margin: 0; color: var(--text); font-size: 14.5px; line-height: 1.65; }
.footer__col { display: flex; flex-direction: column; gap: 12px; min-width: 170px; color: var(--text); font-size: 14.5px; }
.footer__col--wide { min-width: 200px; }
.footer__col a { color: var(--text); }
.footer__col a:hover { color: var(--blue); }
.footer__title { color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 24px;
  border-top: 1px solid #E8EDF6;
  color: var(--muted);
  font-size: 13px;
}
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { color: var(--muted); }
.footer__legal a:hover { color: var(--blue); }

/* ---------- Bouton flottant ---------- */

.float-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 10px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 20px 40px -14px rgba(11, 22, 80, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  translate: var(--mx, 0px) var(--my, 0px);
  transition: background .2s, opacity .3s, transform .3s, translate .3s var(--ease), visibility 0s linear .3s;
}
.float-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: background .2s, opacity .3s, transform .3s, translate .3s var(--ease), visibility 0s;
}
.float-cta:hover { background: var(--cta-hover); color: #fff; }
.float-cta__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--cta); }
.float-cta__icon .icon { font-size: 19px; }

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

.legal {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) 24px 0;
}
.legal__head { display: flex; flex-direction: column; gap: 20px; max-width: 760px; padding-bottom: clamp(32px, 4vw, 52px); }
.legal__updated { margin: 0; color: var(--muted); font-size: 14px; font-weight: 600; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 14px; font-weight: 600; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #B6C2DA; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

.legal__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }

.legal__toc { padding: 22px 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.legal__toc-title { margin: 0 0 10px; color: var(--ink); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.legal__toc ol { margin: 0; padding-left: 30px; list-style: decimal-leading-zero; }
.legal__toc li { break-inside: avoid; }
.legal__toc li::marker { color: var(--blue); font-size: 13px; font-weight: 800; }
.legal__toc a { display: block; padding: 5px 0; color: var(--text); font-size: 14.5px; font-weight: 600; line-height: 1.4; transition: color .2s, translate .25s var(--ease); }
.legal__toc a:hover { color: var(--blue); translate: 3px 0; }

.legal__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.legal-section,
.legal-summary { padding: clamp(22px, 3vw, 36px); border-radius: 24px; }
.legal-section { border: 1px solid var(--line); background: #fff; }
.legal-summary { background: var(--tint); }
.legal-section > * { margin: 0; }
.legal-section > * + * { margin-top: 14px; }
.legal-section > h2 + * { margin-top: 18px; }
.legal-section h2,
.legal-summary h2 { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--ink); font-size: clamp(20px, 2vw, 23px); font-weight: 800; line-height: 1.25; letter-spacing: -.02em; }
.legal-section__num { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--tint); color: var(--blue); font-size: 13px; font-weight: 800; letter-spacing: 0; }
.legal-section p,
.legal-list li { color: var(--text); font-size: 16px; line-height: 1.7; text-wrap: pretty; }
.legal-section strong { color: var(--ink); font-weight: 700; }
.legal-section a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }

.legal-list { padding-left: 22px; }
.legal-list li + li { margin-top: 6px; }
.legal-list li::marker { color: var(--blue); }

.legal-facts { overflow: hidden; border: 1px solid #E8EDF6; border-radius: 16px; }
.legal-facts > div { display: grid; gap: 2px 24px; padding: 12px 18px; }
.legal-facts > div + div { border-top: 1px solid #E8EDF6; }
.legal-facts > div:nth-child(even) { background: #FAFBFE; }
.legal-facts dt { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.legal-facts dd { margin: 0; color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.55; }

/* Informations à vérifier ou à compléter avant la mise en ligne (voir LISEZMOI.md). */
.todo {
  padding: 1px 6px;
  border-radius: 6px;
  background: #FFF1B8;
  color: #6B4E00;
  font-weight: 700;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.legal-summary__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px 28px; margin: 18px 0 0; padding: 0; list-style: none; }
.legal-summary__list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: 15.5px; font-weight: 600; line-height: 1.5; }

.purposes { display: flex; flex-direction: column; gap: 12px; padding: 0; list-style: none; }
.purpose { padding: 20px 22px; border: 1px solid #E8EDF6; border-radius: 18px; background: var(--bg); }
.purpose h3 { margin: 0; color: var(--ink); font-size: 17px; font-weight: 800; letter-spacing: -.015em; }
.legal-section .purpose p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; }
.purpose dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px 24px; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.purpose dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.purpose dd { margin: 4px 0 0; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.5; }

.footer__legal a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.form__note a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Animations ---------- */
/* Discrètes et cohérentes : même courbe (--ease), mêmes durées. main.js n’active l’apparition au
   défilement, la parallaxe et les effets de curseur que si le visiteur n’a pas demandé à réduire les
   animations ; la règle prefers-reduced-motion en fin de fichier neutralise le reste. */

@keyframes rise-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } }
@keyframes pop-in { from { opacity: 0; scale: .94; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-down { from { opacity: 0; transform: translate3d(0, -4px, 0); } }

/* Entrée du hero au chargement */
.hero__content > * { animation: rise-in .8s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }
.hero__photo { animation: fade-in 1s var(--ease) .1s both; }
.project-card { animation: pop-in .7s var(--ease) .45s backwards; }
.hero__chip { animation: pop-in .7s var(--ease) .6s backwards; }

/* Apparition au défilement : main.js pose .reveal-on sur <html> et .is-visible sur chaque bloc. */
.reveal-on [data-reveal]:not(.is-visible) { opacity: 0; transform: translate3d(0, 24px, 0); }
.reveal-on [data-reveal].is-visible {
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

/* Parallaxe : main.js renseigne --parallax (en px) sur les blocs [data-parallax]. */
.parallax-on .hero__photo img,
.parallax-on .methode__photo img { scale: 1.08; transform: translate3d(0, var(--parallax, 0px), 0); }
.parallax-on .methode__photo img { transition: scale .6s var(--ease); }
.parallax-on .methode__photo:hover img { scale: 1.12; }
.parallax-on .hero__chip { transform: translate3d(0, calc(var(--parallax, 0px) * -1.4), 0); }
.parallax-on .project-card { transform: translate3d(0, calc(var(--parallax, 0px) * -.6), 0); }
.parallax-on .panel__dots { background-position: 0 var(--parallax, 0px); }

/* Curseur : main.js renseigne --hx / --hy (hero), --mx / --my (boutons) et --spot-x / --spot-y (cartes). */
.hero__photo img { translate: calc(var(--hx, 0) * 8px) calc(var(--hy, 0) * 6px); transition: translate .6s var(--ease); }
.project-card { translate: calc(var(--hx, 0) * 12px) calc(var(--hy, 0) * 10px); transition: translate .6s var(--ease); }
.hero__chip { translate: calc(var(--hx, 0) * -18px) calc(var(--hy, 0) * -12px); transition: translate .6s var(--ease); }

.card { position: relative; isolation: isolate; }
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(280px circle at var(--spot-x, 50%) var(--spot-y, 0%), rgba(31, 94, 255, .09), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }

/* Survol */
.card__icon { transition: transform .35s var(--ease); }
.card:hover .card__icon { transform: translateY(-2px) rotate(-6deg); }
.logos__list li { transition: color .25s; }
.logos__list li:hover { color: var(--ink); }
.faq-item { transition: border-color .25s, box-shadow .25s; }
.faq-item:hover { border-color: #C9D6FF; box-shadow: 0 18px 40px -32px rgba(11, 22, 80, .4); }
.footer__col a { transition: color .2s, translate .25s var(--ease); }
.footer__col a:hover { translate: 3px 0; }

@media print {
  .reveal-on [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- Adaptations à la largeur d’écran ---------- */

@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1180px) {
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 680px) {
  .header-cta__short { display: none; }
}
@media (min-width: 1180px) {
  .mobile-menu { display: none !important; }
}
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .cabinet__inner { grid-template-columns: clamp(260px, 24vw, 320px) minmax(0, 1fr); }
  .cabinet__media { position: sticky; top: 112px; width: auto; }
}
@media (min-width: 1180px) {
  .methode { grid-template-columns: clamp(300px, 28vw, 360px) minmax(0, 1fr); }
  .methode__photo { aspect-ratio: auto; max-height: none; }
}
@media (min-width: 640px) {
  .legal-facts > div { grid-template-columns: 210px minmax(0, 1fr); align-items: baseline; }
}
@media (min-width: 640px) and (max-width: 999.98px) {
  .legal__toc ol { columns: 2; column-gap: 48px; }
}
@media (min-width: 1000px) {
  .legal__layout { grid-template-columns: 250px minmax(0, 800px); gap: 56px; }
  .legal__toc { position: sticky; top: 104px; }
}
@media (max-width: 559.98px) {
  .legal { padding-left: 16px; padding-right: 16px; }
}

/* Seuils décalés par rapport à la maquette (1320 et 1100 px) : en dessous, l’en-tête débordait. */
@media (max-width: 1399.98px) {
  .header-phone { display: none; }
}
@media (max-width: 1179.98px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 899.98px) {
  .plan__phases,
  .step__gantt { display: none; }
}
@media (max-width: 759.98px) {
  .topbar { display: none; }
}
@media (max-width: 679.98px) {
  .header-cta__long { display: none; }
}
@media (max-width: 639.98px) {
  .hero__chip { display: none; }
  .float-cta { right: 16px; bottom: 16px; }
}
@media (max-width: 559.98px) {
  .brand__tagline { display: none; }
  .site-header__inner { gap: 12px; padding: 12px 16px; }
  .site-header .btn--sm { padding: 12px 16px; }
}
@media (max-width: 359.98px) {
  .header-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
