@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #f3f7fb;
  --surface: #ffffff;
  --surface-soft: #e8f0f7;
  --ink: #0e3158;
  --ink-soft: #355878;
  --accent: #40d5df;
  --accent-2: #6fe8ef;
  --border: #d3e2ef;
  --hero-1: #0d2e52;
  --hero-2: #17577a;
  --hero-3: #2994aa;
  --shadow: 0 14px 34px rgba(10, 47, 82, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: clip;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #7deff2 0%, #2cb7cf 100%);
  box-shadow: 0 2px 10px rgba(44, 183, 207, 0.45);
  z-index: 120;
}

a {
  color: inherit;
  text-decoration: none;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.08;
  background-image: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.7) 0, transparent 30%),
    radial-gradient(circle at 80% 65%, rgba(0, 0, 0, 0.75) 0, transparent 35%);
  mix-blend-mode: soft-light;
}

.container {
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(14, 49, 88, 0.07);
  backdrop-filter: blur(16px);
  transition: background 250ms ease, box-shadow 250ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 18px rgba(14, 49, 88, 0.09);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.nav > .brand {
  flex-shrink: 0;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Centre la nav entre logo et lang-switch */
.nav .menu {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(14, 49, 88, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #0e3158;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 30, 52, 0.5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 70;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(84vw, 320px);
  height: 100dvh;
  background: linear-gradient(160deg, #f8fbfe 0%, #edf5fc 100%);
  border-left: 1px solid rgba(14, 49, 88, 0.12);
  box-shadow: -14px 0 34px rgba(7, 34, 58, 0.2);
  padding: 5rem 1rem 1.2rem;
  transform: translateX(100%);
  transition: transform 240ms ease;
  z-index: 80;
  overflow-y: auto;
}

.mobile-drawer .nav-right {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.1rem;
}

.mobile-drawer .menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.mobile-drawer .menu a {
  font-size: 1rem;
  opacity: 1;
}

.mobile-drawer .lang-switch {
  width: fit-content;
}

body.mobile-drawer-open {
  overflow: hidden;
}

body.mobile-drawer-open .mobile-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-drawer-open .mobile-drawer {
  transform: translateX(0);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand img {
  width: 150px;
  height: auto;
  display: block;
  background: transparent;
}

.brand-white-zone,
.brand-blue-zone {
  background: transparent;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.menu a {
  opacity: 0.82;
  transition: opacity 180ms ease, color 180ms ease;
}

.menu a.is-active {
  opacity: 1;
  color: #1c6e8b;
}

.menu a:hover {
  opacity: 1;
  color: #1c6e8b;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 49, 88, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.lang-switch a {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.58rem;
  color: #3f6180;
}

.lang-switch a.is-active {
  background: linear-gradient(130deg, #7deff2 0%, #3bd4de 45%, #2cb7cf 100%);
  color: #09344b;
}

.hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(140% 160% at 0% 0%, #2ea3bb 0%, transparent 48%),
    radial-gradient(120% 150% at 100% 0%, #43dae2 0%, transparent 44%),
    linear-gradient(140deg, var(--hero-1) 4%, var(--hero-2) 52%, var(--hero-3) 100%);
  color: #eff8ff;
  padding: 5.5rem 0 5.5rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 145px;
  background: linear-gradient(to bottom, rgba(243, 247, 251, 0) 0%, rgba(243, 247, 251, 0.95) 80%, #f3f7fb 100%);
  z-index: 2;
}

.hero-light {
  position: absolute;
  border-radius: 999px;
  filter: blur(48px);
  opacity: 0.48;
  z-index: 1;
  animation: drift 8s ease-in-out infinite alternate;
}

.hero-light-a {
  width: 280px;
  height: 280px;
  top: 12%;
  left: -4%;
  background: #7be9ef;
}

.hero-light-b {
  width: 230px;
  height: 230px;
  right: 16%;
  top: 8%;
  background: #52becf;
  animation-delay: 700ms;
}

.hero-light-c {
  width: 340px;
  height: 340px;
  right: -9%;
  bottom: 8%;
  background: #0d4f72;
  animation-delay: 1400ms;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.4rem;
  align-items: center;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #bce8f5;
  margin: 0 0 0.8rem;
}

h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 5.5vw, 4.1rem);
  line-height: 1.04;
  max-width: 12ch;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  font-weight: 900;
  text-shadow: 0 8px 26px rgba(10, 46, 82, 0.35);
}

.lead {
  margin: 1.3rem 0 0;
  color: #e2f3fc;
  max-width: 60ch;
  font-size: 1.04rem;
}

.cta-group {
  margin-top: 2rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  padding: 0.88rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 200ms ease, box-shadow 200ms ease, color 200ms ease;
}

.btn-primary {
  background: linear-gradient(130deg, #7deff2 0%, #3bd4de 45%, #2cb7cf 100%);
  color: #09344b;
  box-shadow: 0 8px 24px rgba(37, 175, 189, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 26px rgba(37, 175, 189, 0.38);
}

.btn-ghost {
  border-color: rgba(222, 243, 255, 0.52);
  color: #e8f7ff;
}

.btn-ghost:hover {
  border-color: #87f3f9;
  color: #87f3f9;
  transform: translateY(-2px);
}

.hero-kpis {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-kpis span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.hero-logo-stage {
  position: relative;
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
  transition: transform 220ms ease;
}

.hero-logo-stage .brand {
  width: min(460px, 100%);
}

.hero-logo-stage img {
  width: 100%;
  display: block;
}

.section {
  padding: 4.8rem 0;
  position: relative;
  z-index: 3;
}

.section-soft {
  background: linear-gradient(180deg, #edf4fb 0%, #e6f0f8 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h3 {
  margin-top: 0;
  margin-bottom: 0.48rem;
  font-size: 1.06rem;
}

.section-intro {
  margin: 0 0 1.4rem;
  color: var(--ink-soft);
  max-width: 72ch;
}

.grid {
  display: grid;
  gap: 1rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(14, 49, 88, 0.09);
  border-radius: 4px;
  padding: 2rem 1.8rem 1.8rem;
  box-shadow: 0 2px 8px rgba(10, 47, 82, 0.04), 0 12px 32px rgba(10, 47, 82, 0.06);
  transition: transform 240ms ease, box-shadow 240ms ease;
  overflow: hidden;
}

.card::before {
  display: none;
}

.card[href] {
  color: inherit;
  cursor: pointer;
  display: block;
  height: 100%;
}

.card[href]::after {
  content: "→";
  position: absolute;
  right: 1.4rem;
  bottom: 1.2rem;
  color: #1c6e8b;
  font-size: 1rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-4px);
  transition: transform 200ms ease, opacity 200ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(10, 47, 82, 0.06), 0 24px 48px rgba(10, 47, 82, 0.1);
}

.card[href]:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.card-glow::before {
  display: none;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 45ch;
}

.card h3 {
  color: #103a5f;
  letter-spacing: -0.01em;
}

.card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.site-footer {
  position: relative;
  background: linear-gradient(145deg, #0a2f52, #114968 55%, #0b3f59 100%);
  color: #dceef6;
  padding: 1.9rem 0 1.6rem;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -90px;
  left: -70px;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: rgba(70, 220, 230, 0.2);
  filter: blur(20px);
}

.footer-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.2rem;
  align-items: end;
}

.footer-brand {
  width: 170px;
  margin-bottom: 0.9rem;
}

.footer-brand img {
  width: 100%;
  background: transparent;
}

.footer-text,
.footer-note p {
  margin: 0;
  font-size: 0.87rem;
}

.footer-note {
  text-align: right;
  color: #b7d8e8;
}

.internal-page {
  padding-top: 0;
}

.page-title {
  margin: 0 0 0.9rem;
  font-size: clamp(1.9rem, 3.1vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.greenflow-logo-wrap {
  margin: 0 0 1.6rem;
}

.greenflow-logo {
  display: block;
  width: min(240px, 100%);
  height: auto;
  background: transparent;
}

.logo-clean {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}

.logo-header {
  filter: saturate(1.05) contrast(1.02);
}

.logo-footer {
  filter: drop-shadow(0 6px 18px rgba(77, 233, 241, 0.24));
}

.logo-accent {
  filter: drop-shadow(0 10px 26px rgba(64, 213, 223, 0.28));
}

.page-hero {
  position: relative;
  isolation: isolate;
  background: radial-gradient(140% 160% at 0% 0%, #2ea3bb 0%, transparent 48%),
    radial-gradient(120% 150% at 100% 0%, #43dae2 0%, transparent 44%),
    linear-gradient(140deg, var(--hero-1) 4%, var(--hero-2) 52%, var(--hero-3) 100%);
  color: #eff8ff;
  padding: 5.5rem 0 4.4rem;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(243, 247, 251, 0) 0%, rgba(243, 247, 251, 0.95) 84%, #f3f7fb 100%);
  z-index: 2;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  align-items: center;
}

.page-hero .page-title {
  color: #fff;
  text-shadow: 0 8px 24px rgba(10, 46, 82, 0.3);
  max-width: 16ch;
}

.page-hero .section-intro {
  color: #dff3fc;
  max-width: 58ch;
}

.page-hero-kpis {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-hero-kpis span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.3rem 0.72rem;
  font-size: 0.8rem;
}

.section-heading {
  margin-top: 2rem;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.kpi-item {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 76, 119, 0.13);
  border-radius: 14px;
  padding: 0.9rem;
}

.kpi-item strong {
  display: block;
  font-size: 1.25rem;
  line-height: 1.1;
}

.kpi-item span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  border: 1px solid rgba(16, 76, 119, 0.2);
  border-radius: 999px;
  padding: 0.32rem 0.72rem;
  font-size: 0.84rem;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.72);
}

.contact-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--ink-soft);
}

.cta-panel {
  margin-top: 1.3rem;
  padding: 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(64, 213, 223, 0.3);
  background: linear-gradient(145deg, rgba(64, 213, 223, 0.12), rgba(13, 46, 82, 0.08));
}

.cta-panel p {
  margin: 0 0 0.85rem;
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 1.3rem;
  align-items: stretch;
}

.founder-photo-card {
  background: linear-gradient(165deg, rgba(10, 47, 82, 0.94), rgba(22, 92, 123, 0.92));
  border-radius: 18px;
  padding: 0.95rem;
  box-shadow: 0 14px 34px rgba(8, 42, 65, 0.3);
}

.founder-photo {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}

.founder-caption {
  margin: 0.7rem 0 0;
  color: #d6edf7;
  font-size: 0.88rem;
}

.founder-speech {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 76, 119, 0.14);
  border-radius: 18px;
  padding: 1.15rem;
  box-shadow: 0 10px 28px rgba(10, 47, 82, 0.1);
}

.founder-speech p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

.message-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(14, 49, 88, 0.18);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.message-switch-btn {
  border: 0;
  background: transparent;
  color: #3f6180;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.42rem 0.86rem;
  cursor: pointer;
}

.message-switch-btn.is-active {
  background: linear-gradient(130deg, #7deff2 0%, #3bd4de 45%, #2cb7cf 100%);
  color: #09344b;
}

.speech-panel {
  display: none;
}

.speech-panel.is-active {
  display: block;
}

.speech-block {
  margin-bottom: 1rem;
}

.speech-block h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
}

.founder-signature {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
}

.founder-signature span {
  font-weight: 500;
  color: var(--ink-soft);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(150deg, #1c6f8e, #2cb7cf);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(11, 74, 100, 0.34);
  cursor: pointer;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 90;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes drift {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(14px, -20px, 0) scale(1.08);
  }
}


/* ===== Améliorations (v2) ===== */
img { max-width: 100%; height: auto; }
h1, h2 { text-wrap: balance; }
.section-intro, .card p, .lead { text-wrap: pretty; }

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  background: #0d2e52;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  transition: top 160ms ease;
}
.skip-link:focus { top: 0.75rem; }

:focus-visible {
  outline: 3px solid #1c6e8b;
  outline-offset: 3px;
  border-radius: 4px;
}
.hero :focus-visible, .page-hero :focus-visible, .site-footer :focus-visible { outline-color: #7deff2; }

main:focus { outline: none; }
.text-link { color: #1c6e8b; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.btn-secondary { border-color: rgba(14, 49, 88, 0.3); color: var(--ink); }
.btn-secondary:hover { border-color: #1c6e8b; color: #1c6e8b; transform: translateY(-2px); }
.eyebrow.dark { color: #1c6e8b; font-weight: 700; }

/* Drawer mobile : liens inaccessibles au clavier quand fermé */
.mobile-drawer { visibility: hidden; transition: transform 240ms ease, visibility 0s linear 240ms; }
body.mobile-drawer-open .mobile-drawer { visibility: visible; transition-delay: 0s; }
.mobile-drawer .menu { position: static; transform: none; }
.mobile-menu-toggle:hover { border-color: #1c6e8b; }

/* Logos recadrés */
.hero-logo-stage .brand { width: min(460px, 100%); }
.hero-logo-stage .greenflow-logo { width: min(240px, 100%); margin: 0 auto; }
.footer-brand { width: 170px; }
.founder-photo { aspect-ratio: 574 / 545; }

/* Footer */
.footer-layout { align-items: start; }
.footer-text a, .footer-nav a { color: inherit; text-decoration: underline; text-decoration-color: rgba(220, 238, 246, 0.35); text-underline-offset: 3px; }
.footer-text a:hover, .footer-nav a:hover { color: #87f3f9; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.35rem 1.1rem; margin-bottom: 0.9rem; font-size: 0.87rem; }
.footer-nav a { text-decoration: none; }
.footer-copy { margin-top: 0.5rem !important; font-size: 0.78rem !important; opacity: 0.8; }

/* Bandeau d'appel à l'action (accueil) */
.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.4rem;
  border-radius: 4px;
  border: 1px solid rgba(64, 213, 223, 0.3);
  background: linear-gradient(145deg, rgba(64, 213, 223, 0.1), rgba(13, 46, 82, 0.06));
}
.cta-band h2 { margin: 0 0 0.4rem; font-size: clamp(1.3rem, 2.2vw, 1.8rem); }
.cta-band p { margin: 0; color: var(--ink-soft); }

/* CarFix */
.carfix-logo-wrap { display: flex; align-items: center; justify-content: center; z-index: 3; position: relative; }
.carfix-logo-wrap img { width: min(400px, 100%); height: auto; display: block; filter: drop-shadow(0 12px 32px rgba(64, 213, 223, 0.22)); }
.steps-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; margin-top: 2rem; }
.steps-track::before { content: ""; position: absolute; top: 27px; left: calc(10% + 14px); right: calc(10% + 14px); height: 1px; background: linear-gradient(90deg, var(--accent) 0%, rgba(64, 213, 223, 0.1) 100%); }
.step-item { text-align: center; padding: 0 0.6rem; }
.step-num { width: 54px; height: 54px; border-radius: 2px; background: #fff; border: 1px solid rgba(14, 49, 88, 0.09); box-shadow: 0 2px 8px rgba(10, 47, 82, 0.04), 0 8px 24px rgba(10, 47, 82, 0.06); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 0.9rem; font-weight: 800; color: #1c6e8b; position: relative; z-index: 2; }
.step-item h3 { font-size: 0.92rem; font-weight: 700; color: #0d1b2a; margin: 0 0 0.35rem; }
.step-item p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.spaces-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.space-card { background: #fff; border: 1px solid rgba(14, 49, 88, 0.09); border-radius: 4px; padding: 1.6rem 1.4rem; box-shadow: 0 2px 8px rgba(10, 47, 82, 0.04), 0 8px 24px rgba(10, 47, 82, 0.05); }
.space-card-label { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.73rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #1c6e8b; margin-bottom: 0.7rem; }
.space-card-label::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--accent); flex-shrink: 0; }
.space-card h3 { font-size: 0.98rem; margin: 0 0 0.7rem; color: #0d1b2a; }
.space-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.42rem; }
.space-card ul li { font-size: 0.87rem; color: var(--ink-soft); padding-left: 1rem; position: relative; line-height: 1.45; }
.space-card ul li::before { content: "–"; position: absolute; left: 0; color: #1c6e8b; font-weight: 700; }
.carfix-cta-panel { padding: 2.4rem; border-radius: 4px; border: 1px solid rgba(64, 213, 223, 0.3); background: linear-gradient(145deg, rgba(64, 213, 223, 0.1), rgba(13, 46, 82, 0.06)); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.carfix-cta-panel h2 { font-size: clamp(1.1rem, 2vw, 1.4rem); margin: 0 0 0.4rem; color: #0d1b2a; }
.carfix-cta-panel p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }

/* Contact */
.grid.one { grid-template-columns: 1fr; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 2.4rem; align-items: start; }
.contact-form { background: #fff; border: 1px solid rgba(14, 49, 88, 0.09); border-radius: 4px; padding: 2rem 1.8rem; box-shadow: 0 2px 8px rgba(10, 47, 82, 0.04), 0 12px 32px rgba(10, 47, 82, 0.06); }
.contact-form h2 { font-size: 1.4rem; margin-bottom: 0.3rem; }
.form-sub { margin: 0 0 1.2rem; color: var(--ink-soft); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.form-row label { font-size: 0.85rem; font-weight: 700; color: var(--ink); }
.form-row input, .form-row select, .form-row textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: #f8fbfe;
  border: 1px solid #b9cfe0; border-radius: 6px; padding: 0.7rem 0.8rem; width: 100%;
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid rgba(28, 110, 139, 0.35); border-color: #1c6e8b; }
.form-row .is-invalid { border-color: #b3261e; background: #fff7f6; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form button[type="submit"] { cursor: pointer; font-family: inherit; }
.contact-form button[disabled] { opacity: 0.65; cursor: progress; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.4em; }
.form-status.is-ok { color: #0b6b3a; }
.form-status.is-error { color: #b3261e; }
.form-status a { text-decoration: underline; }

/* 404 */
.not-found { padding: 3rem 0; }
.nf-title { color: var(--ink); text-transform: none; font-size: clamp(1.8rem, 4vw, 3rem); max-width: none; text-shadow: none; margin-bottom: 1rem; }

/* Onglets du message CEO */
.message-switch-btn:hover { color: #09344b; }
.speech-panel[hidden] { display: none; }

/* ===== Responsive ===== */
@media (max-width: 1020px) {
  .nav .menu { position: static; transform: none; }
  .nav > .nav-right { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}

@media (max-width: 980px) {
  .hero-layout, .page-hero-layout, .grid.three, .grid.two, .footer-layout, .founder-layout, .kpi-grid, .contact-layout, .cta-band, .carfix-cta-panel { grid-template-columns: 1fr; }
  .hero { padding-top: 4rem; }
  .page-hero { padding-top: 4rem; }
  .footer-note { text-align: left; }
  .footer-nav { justify-content: flex-start; }
  .spaces-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-track { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .steps-track::before { display: none; }
  .hero-logo-stage { max-width: 380px; }
}

@media (max-width: 760px) {
  .container { width: min(1140px, calc(100% - 1.5rem)); }
  .cta-group .btn, .cta-band .btn, .carfix-cta-panel .btn, .contact-form .btn { width: 100%; text-align: center; }
  .hero { padding-bottom: 4rem; }
  .section { padding: 3.4rem 0; }
  .cta-band, .carfix-cta-panel { padding: 1.6rem; }
  .contact-form { padding: 1.4rem 1.1rem; }
  .mobile-drawer .lang-switch a { padding: 0.22rem 0.5rem; }
  .message-switch-btn { font-size: 0.78rem; padding: 0.36rem 0.72rem; }
  .brand img { width: 130px; }
  .founder-photo { min-height: 0; }
}

@media (max-width: 640px) {
  .spaces-grid { grid-template-columns: 1fr; }
  .steps-track { grid-template-columns: repeat(2, 1fr); }
}

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

/* Évite le débordement horizontal causé par les halos de lumière */
.hero, .page-hero { overflow: hidden; }
html { overflow-x: clip; }
@media (max-width: 980px) {
  .hero, .page-hero { padding-bottom: 6.5rem; }
  .hero-logo-stage, .carfix-logo-wrap { max-width: 300px; margin: 0.5rem auto 0; }
}
@media (max-width: 980px) { .founder-photo { max-height: 440px; object-position: center 20%; } }


/* =====================================================================
   Système de grille (v3), d'après J. Müller-Brockmann,
   « Grid Systems in Graphic Design » :
   - une seule grille de 12 colonnes et une gouttière fixe pour toutes les pages ;
   - une unité de base de 8 px : marges, interlignes et espacements en sont des multiples ;
   - chaque carte est un « champ » de la grille : alignée en haut, ouverte par un filet,
     texte au fer à gauche, hiérarchie par la taille et la graisse plutôt que par le décor ;
   - une échelle typographique courte (12 · 14 · 16 · 20 · 28 · 40).
   ===================================================================== */
:root {
  --u: 8px;
  --gutter: calc(var(--u) * 3);
  --rule: #0e3158;
  --rule-accent: #1c9fb5;
  --hair: rgba(14, 49, 88, 0.14);
  --fs-xs: 0.75rem;
  --fs-s: 0.875rem;
  --fs-m: 1rem;
  --fs-l: 1.25rem;
}

body { line-height: 1.5; }

/* Grille 12 colonnes */
.grid,
.grid.one,
.grid.two,
.grid.three,
.grid.four,
.kpi-grid,
.spaces-grid,
.section-head,
.product-row,
.figure-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--gutter);
}
.grid.one > * { grid-column: span 12; }
.grid.two > * { grid-column: span 6; }
.grid.three > *, .kpi-grid > *, .spaces-grid > * { grid-column: span 4; }
.grid.four > * { grid-column: span 3; }

/* En-tête de section asymétrique : titre sur 5 colonnes, chapeau sur 6, aligné en pied */
.section-head {
  align-items: end;
  margin-bottom: calc(var(--u) * 5);
  padding-top: calc(var(--u) * 2);
  border-top: 1px solid var(--hair);
}
.section-head h2 { grid-column: 1 / span 5; margin: 0; }
.section-head .section-intro { grid-column: 7 / span 6; margin: 0; max-width: none; }
.section-heading { margin-top: calc(var(--u) * 8); }
.section-label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1c6e8b;
  margin-bottom: var(--u);
}

/* Cartes = champs de la grille */
.grid, .kpi-grid, .spaces-grid { counter-reset: champ; }
.card,
.space-card,
.kpi-item {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 0;
  border-top: 3px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
  padding: calc(var(--u) * 3) calc(var(--u) * 3) calc(var(--u) * 4);
  transition: border-color 200ms ease, background-color 200ms ease;
  counter-increment: champ;
}
.section-soft .card, .section-soft .space-card, .section-soft .kpi-item { background: #fbfdff; }
.card:hover { transform: none; box-shadow: none; }

/* Index du champ : 01, 02, 03… */
.card::before,
.space-card::before {
  content: counter(champ, decimal-leading-zero);
  display: block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 2;
  color: #1c6e8b;
  margin-bottom: calc(var(--u) * 3);
  font-variant-numeric: tabular-nums;
}
.card h3, .space-card h3 {
  font-size: var(--fs-l);
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 var(--u);
}
.card p, .card ul, .space-card ul li {
  font-size: var(--fs-m);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46ch;
}
.card ul { padding-left: 0; list-style: none; display: grid; gap: var(--u); }
.card ul li { position: relative; padding-left: calc(var(--u) * 2); }
.card ul li::before { content: "–"; position: absolute; left: 0; color: #1c6e8b; font-weight: 700; }

/* Cartes-liens : pied de champ toujours au même endroit */
.card[href] { display: flex; height: auto; }
.card[href]::after { content: none; }
.card-kicker {
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--u);
}
.card-more {
  margin-top: auto;
  padding-top: calc(var(--u) * 3);
  font-size: var(--fs-s);
  font-weight: 700;
  color: #1c6e8b;
}
.card-more::after { content: "→"; display: inline-block; margin-left: 0.35em; transition: transform 200ms ease; }
.card[href]:hover, .card[href]:focus-visible { border-top-color: var(--rule-accent); background: #f6fbfe; }
.card[href]:hover .card-more::after { transform: translateX(4px); }

/* Chiffres clés */
.kpi-item { padding-top: calc(var(--u) * 2); }
.kpi-item strong { font-size: 1.75rem; line-height: 1.43; letter-spacing: -0.02em; margin-bottom: var(--u); }
.kpi-item span { font-size: var(--fs-s); line-height: 1.71; }

/* Espaces CarFix */
.space-card-label { margin-bottom: var(--u); }
.space-card-label::before { display: none; }
.space-card::before { margin-bottom: calc(var(--u) * 2); }

/* Étapes : même filet que les champs */
.step-num { border-radius: 0; box-shadow: none; border: 0; border-top: 3px solid var(--rule); background: #fff; }

/* Panneaux d'appel : alignés sur la grille, sans arrondi */
.cta-panel, .cta-band, .carfix-cta-panel { border-radius: 0; border: 0; border-top: 3px solid var(--rule-accent); }
.cta-panel { margin-top: calc(var(--u) * 5); padding: calc(var(--u) * 3); }
.founder-photo-card, .founder-speech, .contact-form { border-radius: 0; }
.founder-photo { border-radius: 0; }

/* ===== Page Nos produits ===== */
.product-index { display: grid; gap: 0; border-bottom: 1px solid var(--hair); }
.product-row {
  padding: calc(var(--u) * 5) 0;
  border-top: 1px solid var(--hair);
  align-items: start;
}
.product-row:first-child { border-top: 3px solid var(--rule); }
.product-num { grid-column: span 1; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; color: #1c6e8b; line-height: 2; }
.product-id { grid-column: span 3; }
.product-logo {
  display: flex; align-items: center; justify-content: flex-start;
  height: calc(var(--u) * 9);
  margin-bottom: calc(var(--u) * 2);
}
.product-logo img { max-height: 100%; width: auto; max-width: 100%; display: block; }
.product-logo--wordmark { height: calc(var(--u) * 6); }
.product-id h2 { font-size: 1.75rem; line-height: 1.14; margin: 0 0 var(--u); }
.product-sector { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); margin: 0; }
.product-body { grid-column: span 5; }
.product-body p { margin: 0 0 calc(var(--u) * 2); color: var(--ink-soft); }
.product-body ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--u); }
.product-body li { position: relative; padding-left: calc(var(--u) * 2); color: var(--ink); font-size: var(--fs-s); line-height: 1.71; }
.product-body li::before { content: "–"; position: absolute; left: 0; color: #1c6e8b; font-weight: 700; }
.product-meta { grid-column: span 3; display: grid; gap: calc(var(--u) * 2); }
.product-meta dl { margin: 0; display: grid; gap: var(--u); }
.product-meta dt { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.product-meta dd { margin: 0 0 var(--u); font-size: var(--fs-s); font-weight: 600; }
.product-meta .btn { justify-self: start; }
.btn-line { border: 1px solid var(--rule); color: var(--ink); border-radius: 0; }
.btn-line:hover { background: var(--rule); color: #fff; }

/* ===== Page AnalityQ ===== */
.product-plate {
  background: #ffffff;
  padding: calc(var(--u) * 4);
  display: flex; align-items: center; justify-content: center;
  border-top: 3px solid #17b8a6;
}
.product-plate img { width: min(360px, 100%); height: auto; display: block; }
.figure-grid { align-items: start; }
.figure-grid figure { margin: 0; }
.figure-main { grid-column: span 7; }
.figure-side { grid-column: span 5; }
.figure-grid img { width: 100%; height: auto; display: block; border: 1px solid var(--hair); background: #fff; }
.figure-grid figcaption { margin-top: var(--u); font-size: var(--fs-s); line-height: 1.71; color: var(--ink-soft); }
.figure-grid figcaption strong { color: var(--ink); }

/* Repère de grille (touche G) pour vérifier les alignements */
body.show-grid::after {
  content: "";
  position: fixed;
  inset: 0;
  width: min(1140px, calc(100% - 3rem));
  margin: 0 auto;
  pointer-events: none;
  z-index: 300;
  background: repeating-linear-gradient(to right,
    rgba(255, 0, 80, 0.08) 0,
    rgba(255, 0, 80, 0.08) calc((100% - 11 * 24px) / 12),
    transparent calc((100% - 11 * 24px) / 12),
    transparent calc((100% - 11 * 24px) / 12 + 24px));
}

/* Navigation : bascule en menu mobile un peu plus tôt */
@media (max-width: 1100px) {
  .nav .menu { position: static; transform: none; }
  .nav > .nav-right { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}

/* Responsive de la grille : 12 → 6+6 → 12 */
@media (max-width: 980px) {
  .grid.two, .grid.three, .grid.four, .kpi-grid, .spaces-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .grid.three > *, .grid.four > *, .kpi-grid > *, .spaces-grid > * { grid-column: span 6; }
  .section-head h2, .section-head .section-intro { grid-column: 1 / -1; }
  .section-head { row-gap: calc(var(--u) * 2); }
  .product-num { grid-column: 1 / -1; }
  .product-id { grid-column: span 5; }
  .product-body { grid-column: span 7; }
  .product-meta { grid-column: 6 / span 7; }
  .figure-main, .figure-side { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .grid > *, .grid.two > *, .grid.three > *, .grid.four > *, .kpi-grid > *, .spaces-grid > * { grid-column: 1 / -1; }
  .product-id, .product-body, .product-meta { grid-column: 1 / -1; }
  body.show-grid::after { width: calc(100% - 1.5rem); }
}

/* Compléments v3 */
.kpi-grid.four > * { grid-column: span 3; }
.section-more { margin: calc(var(--u) * 3) 0 0; }
.page-hero .cta-group { margin-top: calc(var(--u) * 3); }
@media (max-width: 980px) { .kpi-grid.four > * { grid-column: span 6; } }
@media (max-width: 640px) { .kpi-grid.four > * { grid-column: 1 / -1; } }


/* ===== Performance (v3.1) =====
   Les effets ci-dessous recalculaient toute la page à chaque image du défilement :
   voile « grain » en mix-blend-mode, halos flous animés en continu, flou d'arrière-plan
   de l'en-tête. On garde l'ambiance, peinte une seule fois. */
.grain-overlay { display: none; }
.hero-light { animation: none; opacity: 0.4; }
.site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.98); }
.js .reveal { transform: translateY(12px); transition: opacity 320ms ease, transform 320ms ease; }
.section, .site-footer { content-visibility: auto; contain-intrinsic-size: auto 800px; }

/* ===== Page Nos services (boutique) ===== */
.shop-filters { display: flex; flex-wrap: wrap; gap: var(--u); margin-bottom: calc(var(--u) * 4); }
.shop-filter { font: inherit; font-size: var(--fs-s); font-weight: 700; padding: var(--u) calc(var(--u) * 2); border: 1px solid var(--hair); border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.shop-filter:hover { border-color: #1c6e8b; color: #1c6e8b; }
.shop-filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.shop-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: calc(var(--gutter) * 1.5) var(--gutter); }
.svc { grid-column: span 4; display: flex; flex-direction: column; }
.svc[hidden] { display: none; }
.svc-media { position: relative; display: block; padding: 0; border: 0; cursor: pointer; aspect-ratio: 900 / 550; overflow: hidden; border-radius: 10px; background: var(--hero-1); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 400ms ease; }
.svc:hover .svc-media img { transform: scale(1.04); }
.svc-tag { position: absolute; left: 12px; top: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.04em; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: calc(var(--u) * 2.5) 2px 0; }
.svc-num { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1c6e8b; margin: 0 0 var(--u); }
.svc-body h3 { margin: 0 0 var(--u); font-size: 1.25rem; line-height: 1.3; color: #103a5f; }
.svc-pitch { margin: 0 0 calc(var(--u) * 1.5); color: var(--ink-soft); font-size: var(--fs-s); line-height: 1.65; }
.svc-delay { margin: 0 0 calc(var(--u) * 2); font-size: var(--fs-xs); font-weight: 600; color: var(--ink-soft); }
.svc-delay::before { content: "⏱ "; }
.svc-foot { margin-top: auto; padding-top: calc(var(--u) * 2); border-top: 1px solid var(--hair); }
.svc-price { margin: 0 0 calc(var(--u) * 1.5); font-weight: 800; color: var(--ink); }
.svc-actions { display: flex; gap: var(--u); flex-wrap: wrap; }
.svc-actions .btn { flex: 1; text-align: center; white-space: nowrap; border-radius: 999px; cursor: pointer; font-family: inherit; }
.svc-actions .btn-line { background: #fff; }
.svc-dialog { width: min(640px, calc(100% - 2rem)); max-height: calc(100vh - 2rem); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 30px 80px rgba(5, 25, 45, 0.35); overflow: auto; }
.svc-dialog::backdrop { background: rgba(6, 24, 42, 0.6); }
.svc-dialog > img { width: 100%; height: auto; display: block; }
.svc-dialog-body { padding: calc(var(--u) * 3) calc(var(--u) * 4) calc(var(--u) * 4); }
.svc-dialog h3 { margin: 0 0 var(--u); font-size: 1.5rem; color: #103a5f; }
.svc-dialog h4 { margin: calc(var(--u) * 2) 0 var(--u); font-size: var(--fs-s); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); }
.svc-dialog ul { margin: 0; padding: 0; list-style: none; display: grid; gap: calc(var(--u) * 0.75); }
.svc-dialog li { position: relative; padding-left: calc(var(--u) * 2.5); font-size: var(--fs-s); line-height: 1.6; }
.svc-dialog li::before { content: "✓"; position: absolute; left: 0; color: #13a3ae; font-weight: 800; }
.svc-dialog dl { display: grid; grid-template-columns: auto 1fr; gap: var(--u) calc(var(--u) * 3); margin: calc(var(--u) * 3) 0; padding: calc(var(--u) * 2) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: var(--fs-s); }
.svc-dialog dt { font-weight: 700; color: var(--ink-soft); }
.svc-dialog dd { margin: 0; font-weight: 600; }
.svc-quest { display: inline-block; margin-top: calc(var(--u) * 2); font-size: var(--fs-s); font-weight: 600; color: #1c6e8b; text-decoration: underline; text-underline-offset: 3px; }
.svc-close { position: absolute; right: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink); font-size: 1.4rem; line-height: 1; cursor: pointer; }
body.dialog-open { overflow: hidden; }
.faq-list { border-top: 3px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--hair); padding: calc(var(--u) * 2) 0; }
.faq-item summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.faq-item p { margin: var(--u) 0 0; color: var(--ink-soft); max-width: 72ch; }
@media (max-width: 980px) { .svc { grid-column: span 6; } }
@media (max-width: 640px) { .svc { grid-column: 1 / -1; } .svc-dialog-body { padding: calc(var(--u) * 2.5); } }

/* ===== Cartes v4 : styles variés selon la section =====
   Plus d'index 01/02 ni de filet noir : chaque famille de cartes a son propre style. */
.card, .space-card, .kpi-item { counter-increment: none; }
.card::before, .space-card::before { content: none; display: none; }
.card {
  border: 1px solid rgba(14, 49, 88, 0.08);
  border-radius: 18px;
  padding: calc(var(--u) * 4) calc(var(--u) * 3.5);
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(10, 47, 82, 0.12); }
.card h3 { line-height: 1.35; margin-bottom: calc(var(--u) * 1.5); }

/* 1. Sections blanches : cartes teintées avec pastille de couleur */
.section:not(.section-soft) .grid.three > .card,
.section:not(.section-soft) .grid.four > .card { border: 0; }
.section:not(.section-soft) .grid > .card:nth-child(3n+1) { background: #e6f7f8; --dot: #13a3ae; }
.section:not(.section-soft) .grid > .card:nth-child(3n+2) { background: #eaf0fb; --dot: #2f5fb3; }
.section:not(.section-soft) .grid > .card:nth-child(3n+3) { background: #fbf3e6; --dot: #d98a1c; }
.section:not(.section-soft) .grid.three > .card::before,
.section:not(.section-soft) .grid.four > .card::before {
  content: ""; display: block; width: 40px; height: 40px; border-radius: 12px; margin-bottom: calc(var(--u) * 2.5);
  background: var(--dot, #13a3ae);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.55);
}

/* 2. Sections grises : cartes blanches avec liseré de couleur à gauche */
.section-soft .grid > .card { background: #fff; border: 0; border-radius: 14px; border-left: 5px solid #13a3ae; box-shadow: 0 6px 20px rgba(10, 47, 82, 0.06); }
.section-soft .grid > .card:nth-child(3n+2) { border-left-color: #2f5fb3; }
.section-soft .grid > .card:nth-child(3n+3) { border-left-color: #f0a32e; }

/* 3. Grilles à deux colonnes : cartes sombres */
.grid.two > .card { background: linear-gradient(145deg, #0d2e52 0%, #17577a 100%); border: 0; border-left: 0; color: #fff; }
.grid.two > .card::before { content: none; display: none; }
.grid.two > .card h3 { color: #fff; }
.grid.two > .card p, .grid.two > .card ul, .grid.two > .card li { color: #cfe9f2; }
.grid.two > .card ul li::before { color: #40d5df; }
.grid.two > .card:nth-child(even) { background: linear-gradient(145deg, #12395f 0%, #1c8597 100%); }

/* 4. Grille à une colonne (contact) : cartes contour */
.grid.one > .card { background: transparent; border: 1.5px solid rgba(14, 49, 88, 0.16); box-shadow: none; }
.grid.one > .card::before { content: none; }

/* 5. Chiffres clés : grand chiffre souligné */
.kpi-item { border-top: 0; border-radius: 16px; background: #fff; box-shadow: 0 6px 20px rgba(10, 47, 82, 0.06); padding: calc(var(--u) * 3); }
.kpi-item strong { display: inline-block; padding-bottom: 4px; border-bottom: 3px solid #40d5df; }

/* 6. Espaces CarFix : bandeau dégradé en tête */
.space-card { border-top: 0; border-radius: 16px; overflow: hidden; padding-top: calc(var(--u) * 4); box-shadow: 0 6px 20px rgba(10, 47, 82, 0.06); }
.space-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #40d5df, #2f5fb3); }

/* 7. Cartes-liens : flèche et fond au survol */
.card[href]:hover, .card[href]:focus-visible { border-top-color: transparent; background: #fff; }
.cta-band { border-radius: 18px; border-top: 0; }

/* ===== Pages produit (services) ===== */
.pp-hero { padding-top: calc(var(--u) * 5); }
.pp-crumb { display: flex; flex-wrap: wrap; gap: var(--u); font-size: var(--fs-s); color: var(--ink-soft); margin-bottom: calc(var(--u) * 4); }
.pp-crumb a { color: #1c6e8b; font-weight: 600; }
.pp-layout { display: grid; grid-template-columns: 7fr 5fr; gap: calc(var(--u) * 6); align-items: start; }
.pp-main { border-radius: 18px; overflow: hidden; background: var(--hero-1); aspect-ratio: 900 / 550; }
.pp-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.pp-thumbs { display: flex; gap: var(--u); margin-top: calc(var(--u) * 1.5); }
.pp-thumb { width: 96px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--hero-1); cursor: pointer; }
.pp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pp-thumb.is-active { border-color: #13a3ae; }
.pp-info h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.15; margin: 0 0 calc(var(--u) * 2); color: #0d2e52; }
.pp-pitch { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.6; margin: 0 0 calc(var(--u) * 2); }
.pp-price { display: inline-block; margin: 0 0 calc(var(--u) * 2.5); padding: 6px 14px; border-radius: 999px; background: #e6f7f8; color: #0f6b76; font-weight: 800; }
.pp-top, .pp-list, .pp-reassure { list-style: none; padding: 0; margin: 0 0 calc(var(--u) * 2.5); display: grid; gap: var(--u); }
.pp-top li, .pp-list li { position: relative; padding-left: calc(var(--u) * 3); line-height: 1.55; }
.pp-top li::before, .pp-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: #13a3ae; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 3px; }
.pp-facts { display: grid; grid-template-columns: auto 1fr; gap: var(--u) calc(var(--u) * 3); margin: 0 0 calc(var(--u) * 3); padding: calc(var(--u) * 2) 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-size: var(--fs-s); }
.pp-facts dt { font-weight: 700; color: var(--ink-soft); }
.pp-facts dd { margin: 0; font-weight: 600; }
.pp-cta { margin-bottom: calc(var(--u) * 2.5); }
.pp-reassure { grid-template-columns: 1fr; gap: calc(var(--u) * 0.75); font-size: var(--fs-s); color: var(--ink-soft); }
.pp-reassure li::before { content: "•"; color: #13a3ae; font-weight: 800; margin-right: 8px; }
.pp-two { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 6); align-items: start; }
.pp-two h2 { margin-top: 0; }
.pp-list { background: #fff; border-radius: 18px; padding: calc(var(--u) * 3); box-shadow: 0 6px 20px rgba(10, 47, 82, 0.06); }
.pp-steps { list-style: none; margin: 0; padding: 0; position: relative; }
.pp-steps::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(#40d5df, #2f5fb3); }
.pp-steps li { position: relative; display: flex; gap: calc(var(--u) * 2.5); padding-bottom: calc(var(--u) * 3); }
.pp-steps li > span { flex: 0 0 48px; height: 48px; border-radius: 50%; background: #0d2e52; color: #fff; font-weight: 800; display: grid; place-items: center; position: relative; }
.pp-steps h3 { margin: 6px 0 4px; font-size: 1.1rem; }
.pp-steps p { margin: 0; color: var(--ink-soft); }
.pp-quest { background: linear-gradient(145deg, #0d2e52 0%, #17577a 100%); color: #fff; border-radius: 18px; padding: calc(var(--u) * 3.5); margin-bottom: calc(var(--u) * 4); }
.pp-quest h2 { color: #fff; font-size: 1.3rem; margin: 0 0 var(--u); }
.pp-quest p { color: #cfe9f2; margin: 0 0 calc(var(--u) * 2.5); }
.pp-quest .btn-line { background: #fff; color: #0d2e52; border-color: #fff; border-radius: 999px; }
.pp-faq-h { font-size: 1.3rem; }
.contact-form { border-radius: 18px; }
.svc-body h3 a { color: inherit; }
.svc-media { display: block; }
@media (max-width: 980px) { .pp-layout, .pp-two { grid-template-columns: 1fr; gap: calc(var(--u) * 4); } }

/* ===== Boutons v4 : coins doux, aplat franc, flèche animée ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.45rem; border-radius: 12px; font-weight: 700; letter-spacing: 0.01em;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.btn-primary { background: #40d5df; color: #062a3f; box-shadow: none; }
.btn-primary::after { content: "→"; font-weight: 800; transition: transform 180ms ease; }
.btn-primary:hover { background: #ffffff; color: #062a3f; transform: none; box-shadow: 0 10px 24px rgba(6, 42, 63, 0.18); }
.btn-primary:hover::after { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.35); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); border-color: #fff; color: #fff; transform: none; }
.btn-line, .btn-secondary { background: transparent; border: 1.5px solid #0d2e52; color: #0d2e52; border-radius: 12px; }
.btn-line:hover, .btn-secondary:hover { background: #0d2e52; color: #fff; transform: none; }
.section .btn-primary, .contact-form .btn-primary, .cta-band .btn-primary { background: #0d2e52; color: #fff; }
.section .btn-primary:hover, .contact-form .btn-primary:hover, .cta-band .btn-primary:hover { background: #13a3ae; color: #fff; }
.svc-actions .btn, .pp-quest .btn-line, .shop-actions .btn-primary { border-radius: 12px; }
.pp-quest .btn-line:hover { background: #40d5df; border-color: #40d5df; color: #062a3f; }
.contact-form button[type="submit"]::after { content: "→"; }

/* ===== Pied de page v4 ===== */
.site-footer { padding: calc(var(--u) * 8) 0 calc(var(--u) * 3); background: linear-gradient(160deg, #0a2442 0%, #0d2e52 55%, #12466a 100%); color: #cfe0ec; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: calc(var(--u) * 3); padding: calc(var(--u) * 4); margin-bottom: calc(var(--u) * 7); border-radius: 18px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); }
.footer-kicker { margin: 0 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #40d5df; }
.footer-top h2 { margin: 0; color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: var(--u); }
.site-footer .footer-cta-btns .btn-primary { background: #40d5df; color: #062a3f; }
.site-footer .footer-cta-btns .btn-primary:hover { background: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: calc(var(--u) * 4); }
.footer-brandcol p { margin: calc(var(--u) * 2) 0 0; font-size: var(--fs-s); line-height: 1.7; max-width: 32ch; color: #b9d0df; }
.footer-motto { font-style: italic; color: #7fe3ea !important; }
.footer-col h3 { margin: 0 0 calc(var(--u) * 2); font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--u) * 1.25); font-size: var(--fs-s); }
.footer-col a { color: #b9d0df; transition: color 160ms ease; }
.footer-col a:hover { color: #40d5df; }
.footer-contact li { color: #b9d0df; line-height: 1.5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--u); margin-top: calc(var(--u) * 6); padding-top: calc(var(--u) * 3); border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: var(--fs-xs); color: #8fb0c6; }
.footer-bottom p { margin: 0; }
@media (max-width: 980px) { .footer-cols { grid-template-columns: 1fr 1fr; } .footer-brandcol { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: calc(var(--u) * 3); } .footer-top { padding: calc(var(--u) * 3); } }
.pp-info h1 { text-transform: none; text-shadow: none; letter-spacing: -0.01em; }

/* ===== Cartes v5 : rectangles nets, aucune couleur en bord =====
   Angles droits, filet neutre ou aplat, la couleur reste à l'intérieur du champ. */
.card, .space-card, .kpi-item, .cta-band, .cta-panel, .carfix-cta-panel, .product-plate,
.svc-media, .pp-main, .pp-thumb, .pp-list, .pp-quest, .contact-form, .footer-top,
.founder-photo-card, .founder-speech, .figure-grid img { border-radius: 0; }
.section-soft .grid > .card { border: 1px solid var(--hair); border-left: 1px solid var(--hair); box-shadow: none; }
.section-soft .grid > .card:nth-child(n) { border-left-color: var(--hair); }
.section:not(.section-soft) .grid.three > .card::before,
.section:not(.section-soft) .grid.four > .card::before { border-radius: 0; }
.space-card { border: 1px solid var(--hair); box-shadow: none; }
.space-card::after { content: none; }
.cta-panel, .carfix-cta-panel { border: 0; border-top: 0; }
.product-plate { border-top: 0; border: 1px solid var(--hair); }
.kpi-item { box-shadow: none; border: 1px solid var(--hair); }
.card:hover { transform: none; box-shadow: 0 12px 32px rgba(10, 47, 82, 0.10); }
.pp-thumb.is-active { border-color: #0d2e52; }

/* Logos des solutions (accueil) */
.solutions-grid > .card::before { content: none !important; display: none !important; }
.card-logo { display: flex; align-items: center; height: 72px; margin: calc(var(--u) * 1) 0 calc(var(--u) * 3); }
.card-logo img { max-height: 72px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.section .grid > .card, .section-soft .grid > .card, .grid.two > .card, .grid.one > .card { border-radius: 0; }
.step-num { border: 1px solid var(--hair); border-top: 1px solid var(--hair); }

/* =====================================================================
   Grille v6, d'après une lecture complète de J. Müller-Brockmann,
   « Grid Systems in Graphic Design » :
   - un module vertical de 24 px commun à toutes les tailles de texte
     (légende 12/16 : 3 lignes = 48 = 2 lignes de texte 16/24 ; titre 20/24 ; intertitre 36/48) ;
   - des espacements en lignes entières, jamais en demi-lignes (p. 57, 106, règle n p. 134) ;
   - des marges inégales, plus généreuses en pied (tête 1, côtés 1, pied 2, p. 34-35) ;
   - 7 à 10 mots par ligne, texte au fer à gauche, jamais centré (p. 20, 30) ;
   - peu de tailles de caractères, la hiérarchie par la graisse (p. 45-47) ;
   - une couleur = un type de contenu, l'aplat déborde du texte (p. 101-103, règle l).
   ===================================================================== */
:root { --line: 24px; }
body { font-size: 1rem; line-height: var(--line); }
p { line-height: var(--line); }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); line-height: calc(var(--line) * 2); margin-bottom: var(--line); }
h3, .card h3, .space-card h3 { font-size: 1.25rem; line-height: var(--line); margin: 0 0 var(--u); }
.card-kicker, .section-label, .eyebrow, .vz-label { font-size: 0.75rem; line-height: 16px; }
.section { padding: calc(var(--line) * 4) 0; }
.section-head { margin-bottom: calc(var(--line) * 2); row-gap: var(--line); }
.section-intro, .card p, .lead { max-width: 62ch; }
.grid, .kpi-grid, .spaces-grid { row-gap: var(--line); column-gap: var(--line); }
/* Champ : tête 1, côtés 1, pied 2 */
.card, .space-card, .kpi-item { padding: var(--line) var(--line) calc(var(--line) * 2); }
.card-more { padding-top: var(--line); }
/* Étapes CarFix : au fer à gauche comme le reste */
.step-item { text-align: left; }
.step-item .step-num { margin: 0 0 var(--line); }

/* ===== Page Vision ===== */
.vz-statements { border-top: 1px solid var(--rule); }
.vz-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); padding: var(--line) 0 calc(var(--line) * 2); border-bottom: 1px solid var(--hair); }
.vz-label { grid-column: 1 / span 3; margin: 6px 0 0; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1c6e8b; }
.vz-text { grid-column: 4 / span 8; margin: 0; font-size: clamp(1.25rem, 2vw, 1.75rem); line-height: calc(var(--line) * 1.5); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); max-width: none; }
.vz-two { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--line); }
.vz-panel { grid-column: span 6; display: flex; flex-direction: column; align-items: flex-start; padding: calc(var(--line) * 2) calc(var(--line) * 2) calc(var(--line) * 3); border-radius: 0; }
.vz-panel h3 { font-size: 1.5rem; line-height: calc(var(--line) * 1.5); margin-bottom: var(--u); }
.vz-panel p { margin: 0 0 var(--line); max-width: 46ch; }
.vz-panel .btn { margin-top: auto; }
.vz-panel--light { background: #fff; border: 1px solid var(--hair); }
.vz-panel--dark { background: #0d2e52; color: #fff; }
.vz-panel--dark h3 { color: #fff; }
.vz-panel--dark p { color: #cfe3ef; }
.vz-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--u); width: 100%; margin-bottom: calc(var(--line) * 2); }
.vz-logo { display: flex; align-items: center; justify-content: center; height: calc(var(--line) * 4); padding: var(--line); background: #f2f6fa; transition: background-color 200ms ease; }
.vz-logo:hover { background: #e6f0f8; }
.vz-logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.vz-list { list-style: none; padding: 0; margin: 0 0 calc(var(--line) * 2); width: 100%; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.vz-list li { border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.vz-list a { display: flex; justify-content: space-between; padding: calc(var(--u) * 1.5) 0; color: #fff; font-weight: 600; text-decoration: none; }
.vz-list a::after { content: "→"; color: #40d5df; transition: transform 200ms ease; }
.vz-list a:hover::after { transform: translateX(4px); }
.vz-road { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--line); }
.vz-road li { grid-column: span 4; background: #fff; border: 1px solid var(--hair); padding: var(--line) var(--line) calc(var(--line) * 2); }
.vz-road strong { display: block; font-size: 2.25rem; line-height: calc(var(--line) * 2); font-weight: 800; letter-spacing: -0.02em; color: #0d2e52; margin-bottom: var(--line); }
.vz-road h3 { margin-bottom: var(--u); }
.vz-road p { margin: 0; color: var(--ink-soft); }
@media (max-width: 900px) {
  .vz-label, .vz-text { grid-column: 1 / -1; }
  .vz-label { margin-bottom: var(--u); }
  .vz-panel, .vz-road li { grid-column: 1 / -1; }
}
.step-item { padding-right: var(--line); }
.steps-track::before { left: 27px; right: calc(20% - 27px); }

/* Bannière en tête des pages service : un champ pleine largeur de la grille */
.pp-banner { padding: calc(var(--line) * 2) 0 0; }
.pp-banner img { display: block; width: 100%; height: auto; }
.pp-page .pp-hero { padding-top: calc(var(--line) * 2); }

/* Grilles à deux colonnes : toujours l'aplat sombre, même dans une section blanche (texte lisible) */
.section .grid.two > .card:nth-child(n) { background: #0d2e52; border: 0; }
.section .grid.two > .card:nth-child(even) { background: #14476b; }

/* Icônes des cartes teintées (remplacent les pastilles carrées) : un seul trait, une seule taille */
.section:not(.section-soft) .grid.three > .card::before,
.section:not(.section-soft) .grid.four > .card::before { content: none; display: none; }
.card-icon { display: block; width: 32px; height: 32px; margin-bottom: var(--line); color: var(--dot, #13a3ae); }
.card-icon svg { display: block; }
.section:not(.section-soft) .grid > .card:nth-child(3n+2) .card-icon { color: #2f5fb3; }
.section:not(.section-soft) .grid > .card:nth-child(3n+3) .card-icon { color: #b8730f; }

/* Ils nous ont fait confiance : 6 champs égaux, logo 2:1 puis légende */
.clients-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--line); }
.client { grid-column: span 4; }
.client-logo { aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--hair); background: #fff; margin-bottom: var(--line); }
.client-logo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.client h3 { margin: 0 0 var(--u); }
.client p { margin: 0; color: var(--ink-soft); font-size: var(--fs-s); line-height: 20px; max-width: 40ch; }
@media (max-width: 900px) { .client { grid-column: span 6; } }
@media (max-width: 560px) { .client { grid-column: 1 / -1; } }

/* Cartes services v5 : un champ rectangulaire, image, catégorie, titre, prix, actions. Pas de détail. */
.svc { background: #fff; border: 1px solid var(--hair); transition: border-color 200ms ease, box-shadow 200ms ease; }
.svc:hover { border-color: rgba(14, 49, 88, 0.35); box-shadow: 0 16px 40px rgba(10, 47, 82, 0.10); }
.svc-media { border-radius: 0; border-bottom: 1px solid var(--hair); }
.svc-body { padding: var(--line) var(--line) var(--line); }
.svc-kicker { display: block; font-size: 0.75rem; line-height: 16px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #1c6e8b; margin-bottom: var(--u); }
.svc-body h3 { font-size: 1.25rem; line-height: var(--line); margin: 0 0 var(--line); }
.svc-foot { padding-top: var(--line); }
.svc-price { font-size: var(--fs-s); line-height: 20px; font-weight: 700; color: var(--ink-soft); margin-bottom: var(--line); }
.svc-actions .btn { border-radius: 12px; }
/* Logos de confiance plus petits : 6 par ligne */
.client { grid-column: span 2; }
.client-logo { margin-bottom: calc(var(--u) * 1.5); }
.client h3 { font-size: 1rem; line-height: var(--line); margin-bottom: 4px; }
.client p { font-size: var(--fs-xs); line-height: 16px; }
@media (max-width: 1100px) { .client { grid-column: span 4; } }
@media (max-width: 560px) { .client { grid-column: span 6; } }
.svc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--u); }
.svc-actions .btn { padding: 0.8rem 0.5rem; font-size: var(--fs-s); }

/* Touches Sable (charte : Sable #D9C4A9, texte posé dessus en Bleu Akoma #0A2846) */
:root { --sable: #d9c4a9; --sable-soft: #f5eee4; --sable-ink: #0a2846; }
.hero .eyebrow, .page-hero .eyebrow, .pp-hero .eyebrow { color: var(--sable); }
.section-head { border-top: 2px solid var(--sable); }
.section:has(.clients-grid) { background: var(--sable-soft); }
.section:has(.clients-grid) .client-logo { border-color: var(--sable); }
.cta-band { background: var(--sable-soft); border: 0; color: var(--sable-ink); }
.cta-band h2, .cta-band p { color: var(--sable-ink); }
.section:not(.section-soft) .grid > .card:nth-child(3n+3) { background: var(--sable-soft); }
.footer-kicker { color: var(--sable); }
