/* =========================================================
   Le Sub — feuille de style du site lesub.fr
   Reprise fidèle de la maquette « Accueil v2 » (canvas Claude).
   ========================================================= */

/* ---------- Polices (hébergées sur le site, aucun appel à Google) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Couleurs ---------- */
:root {
  --ink: #1b1b1a;
  --black: #141414;
  --orange: #ff6a2b;
  --orange-text: #e0550f;
  --orange-soft: #ff8a55;
  --orange-pale: #fff1ea;
  --paper: #f2f2f0;
  --line: #ececec;
  --text-2: #3a3a36;
  --muted: #5a5a55;
  --muted-2: #77776f;
  --ease-pz: cubic-bezier(0.65, 0, 0.35, 1);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: #e55113; }
h1, h2 { font-family: "Archivo", sans-serif; font-weight: 600; letter-spacing: -0.02em; }
h1 .hl, h2 .hl { font-weight: inherit; }

/* Fond « papier » : grain clair de la maquette, partout (sections, pages simples, fond de page) */
body, .tex, .grain {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0.7 0 0 0 0.6 0.7 0 0 0 0.6 0.7 0 0 0 0.59 0 0 0 0 0.55'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
}

.mono { font-family: var(--mono); letter-spacing: 0; }

/* Léger zoom au survol de tous les liens et boutons */
a, button { transition: scale 0.2s ease, background 0.3s ease, color 0.3s ease; }
a:hover, button:hover, a:focus-visible, button:focus-visible { scale: 1.06; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 200;
  background: var(--black);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* Bouton orange et petit bouton (rayon 6 px) */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 17px;
}
.btn-compact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 6px;
  padding: 12px 20px;
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  cursor: pointer;
}
.btn svg, .btn-compact svg { stroke: var(--black); }

/* Lien « en savoir plus » orange avec flèche */
.more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-text);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

.section-title {
  margin: 0;
  text-align: center;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
}

/* ---------- Bandeau du haut ---------- */
.topbar {
  background: var(--black);
  color: var(--orange-soft);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 24px;
  padding: 8px 24px;
}
.topbar a { color: var(--orange-soft); text-decoration: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
section[id] { scroll-margin-top: 72px; }
.nav {
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}
.nav-links a { color: var(--ink); text-decoration: none; }
.nav-links a.nav-cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
}
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
  padding: 0;
}
/* Sous 900 px : menu « burger » */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* Menu latéral mobile */
.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(320px, 84vw);
  max-width: none;
  height: 100dvh;
  max-height: none;
  border: none;
  background: #fff;
  padding: 20px 24px 28px;
  box-sizing: border-box;
  overflow-y: auto;
  box-shadow: -8px 0 24px rgba(20, 20, 20, 0.12);
  color: var(--ink);
}
.drawer::backdrop { background: rgba(27, 27, 26, 0.4); }
.drawer nav { display: flex; flex-direction: column; gap: 4px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer-head img { height: 32px; width: auto; display: block; }
.drawer .drawer-close { position: static; }
.drawer-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.drawer-cta {
  margin-top: 20px;
  text-align: center;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
}

/* ---------- Accroche ---------- */
.hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.15;
  max-width: 1200px;
  letter-spacing: -0.01em;
}
.hero p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.55;
  font-weight: 300;
  max-width: 1240px;
}
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; }
@media (max-width: 760px) {
  .hero-inner { padding-top: 72px; padding-bottom: 56px; }
}
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  text-decoration: none;
  padding: 8px 0;
  font-size: 18px;
  font-weight: 600;
}

/* ---------- Bandeau de logos défilant ---------- */
.ribbon { background: var(--ink); overflow: hidden; padding: 22px 0; }
.ribbon-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  margin: 0;
  padding: 0 56px 0 0;
  list-style: none;
  animation: ribbon 32s linear infinite;
}
.ribbon-track li { flex: none; display: flex; }
.ribbon-track img { display: block; width: auto; }
.ribbon:hover .ribbon-track { animation-play-state: paused; }
@keyframes ribbon { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }

/* ---------- Les 3 étapes de l'accompagnement ---------- */
.leviers-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.leviers-inner > .section-title { margin-bottom: 16px; }
.step {
  position: relative;
  margin-right: 18px;
  filter: drop-shadow(0 0 0.6px rgba(20, 20, 20, 0.22)) drop-shadow(0 8px 16px rgba(20, 20, 20, 0.05));
}
.step:nth-of-type(1) { z-index: 10; }
.step:nth-of-type(2) { z-index: 9; }
.step:nth-of-type(3) { z-index: 8; }
.step-card {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  -webkit-mask: radial-gradient(circle 24px at 50% 0, transparent 23px, #000 24px), radial-gradient(circle 20px at 0 50%, transparent 19px, #000 20px);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 24px at 50% 0, transparent 23px, #000 24px), radial-gradient(circle 20px at 0 50%, transparent 19px, #000 20px);
  mask-composite: intersect;
}
.step-visual {
  flex: 1 1 300px;
  min-height: 340px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  color: #fff;
  background-color: var(--black);
  background-size: cover;
  background-position: center;
}
.step-visual--1 { background-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.85) 65%, rgba(0,0,0,0.95) 100%), url("../img/etapes/strategie.webp"); }
.step-visual--2 { background-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.85) 65%, rgba(0,0,0,0.95) 100%), url("../img/etapes/communaute.webp"); }
.step-visual--3 { background-image: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 35%, rgba(0,0,0,0.85) 65%, rgba(0,0,0,0.95) 100%), url("../img/etapes/innovation.webp"); }
.step-meta { display: flex; align-items: center; gap: 10px; }
.badge {
  background: var(--orange);
  color: var(--black);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.step-when { font-size: 14px; font-weight: 600; color: #fff; }
.step-visual h3 { margin: 0; font-size: 26px; font-weight: 600; line-height: 1.15; }
.step-visual p { margin: 0; font-size: 15px; color: #e8e8e4; }
.step-list {
  flex: 2 1 420px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-item { display: flex; align-items: flex-start; gap: 14px; padding: 18px 24px; }
.step-item + .step-item { border-top: 1px solid var(--line); }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); margin-top: 8px; }
.step-text { display: flex; flex-direction: column; gap: 6px; }
.step-text h4 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.5; }
.step-text p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.step-note { padding: 4px 24px 18px; font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.step-toggle {
  display: none;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--orange-soft);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.step-toggle svg { transition: transform 0.3s ease; }
.step.is-open .step-toggle svg { transform: rotate(180deg); }
/* Tablette et mobile : le détail de chaque étape se déplie au toucher */
@media (max-width: 1200px) {
  .step-visual { min-height: 220px; cursor: pointer; }
  .step-toggle { display: inline-flex; }
  .step-list { display: none; }
  .step.is-open .step-list { display: flex; }
}
.knob-bottom {
  position: absolute;
  left: 50%; bottom: -20px;
  transform: translateX(-50%);
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff;
}
.knob-right {
  position: absolute;
  right: -16px; top: 50%;
  transform: translateY(-50%);
  width: 34px; height: 34px;
  border-radius: 50%;
  background: #fff;
}
.center-cta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

/* ---------- Vos gains : le puzzle ---------- */
.gains { position: relative; background-color: #fff; }
.gains::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -79px;
  height: 80px;
  background-color: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}
.gains-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.gains-inner > .section-title { max-width: 900px; align-self: center; }

.pz-wrap { position: relative; width: 1180px; max-width: 100%; height: 1060px; margin: 0 auto; }
.pz-ring {
  position: absolute;
  left: 190px; top: 130px;
  width: 800px; height: 800px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 106, 43, 0.45);
  z-index: 0;
  transition: opacity 0.6s ease, transform 0.9s var(--ease-pz);
}
.pz {
  --d: 0s;
  position: absolute;
  transform: var(--t);
  filter: drop-shadow(0 0 0.6px rgba(20, 20, 20, 0.22)) drop-shadow(0 8px 16px rgba(20, 20, 20, 0.05));
  transition: transform 0.9s var(--ease-pz) var(--d), filter 0.4s ease calc(var(--d) + 0.8s);
}
.pz-0 { left: 110px; top: 295px; width: 320px; height: 210px; z-index: 20; --t: translate(-60px, 6px) rotate(-4deg) scale(0.92); }
.pz-1 { left: 430px; top: 295px; width: 320px; height: 210px; z-index: 19; --d: 0.06s; --t: translate(0px, -270px) rotate(2deg) scale(0.92); }
.pz-2 { left: 750px; top: 295px; width: 320px; height: 210px; z-index: 18; --d: 0.24s; --t: translate(60px, 6px) rotate(4deg) scale(0.92); }
.pz-3 { left: 390px; top: 505px; width: 400px; height: 260px; z-index: 30; --t: translate(0px, -105px) rotate(0deg) scale(0.62); }
.pz-4 { left: 110px; top: 505px; width: 280px; height: 260px; z-index: 16; --d: 0.12s; --t: translate(105px, 219px) rotate(3deg) scale(0.92); }
.pz-5 { left: 790px; top: 505px; width: 280px; height: 260px; z-index: 15; --d: 0.18s; --t: translate(-105px, 219px) rotate(-3deg) scale(0.92); }

.pz-card {
  --bg: #fff;
  height: 100%;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--black);
  border-radius: 12px;
  padding: 22px 26px 20px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.5s ease 0.6s;
  -webkit-mask: var(--mask);
  -webkit-mask-composite: source-in;
  mask: var(--mask);
  mask-composite: intersect;
}
.pz-0 .pz-card { --mask: radial-gradient(circle 21px at 0 50%, transparent 20px, #000 21px), radial-gradient(circle 21px at 50% 0, transparent 20px, #000 21px); }
.pz-1 .pz-card { --mask: radial-gradient(circle 21px at 0 50%, transparent 20px, #000 21px), radial-gradient(circle 21px at 50% 0, transparent 20px, #000 21px), radial-gradient(circle 21px at 50% 100%, transparent 20px, #000 21px); }
.pz-2 .pz-card { --mask: radial-gradient(circle 21px at 0 50%, transparent 20px, #000 21px), radial-gradient(circle 21px at 50% 0, transparent 20px, #000 21px), radial-gradient(circle 21px at 100% 50%, transparent 20px, #000 21px); }
.pz-3 .pz-card { --mask: radial-gradient(circle 21px at 50% 100%, transparent 20px, #000 21px); --bg: var(--orange); padding: 20px 30px; }
.pz-4 .pz-card,
.pz-5 .pz-card { --mask: radial-gradient(circle 21px at 0 50%, transparent 20px, #000 21px), radial-gradient(circle 21px at 140px 0, transparent 20px, #000 21px), radial-gradient(circle 21px at 100% 50%, transparent 20px, #000 21px), radial-gradient(circle 21px at 50% 100%, transparent 20px, #000 21px); }
.pz-4 .pz-card { --bg: var(--black); color: #fff; }

.pz-knob {
  position: absolute;
  width: 41px; height: 41px;
  border-radius: 50%;
  background: var(--bg, #fff);
  transition: background 0.5s ease 0.6s;
}
.pz-3 .pz-knob { --bg: var(--orange); }
.pz-knob--right { right: -20.5px; top: 50%; transform: translateY(-50%); }
.pz-knob--left { left: -20.5px; top: 50%; transform: translateY(-50%); }
.pz-knob--top { top: -20.5px; left: 50%; transform: translateX(-50%); }
.pz-knob--bottom { bottom: -20.5px; transform: translateX(-50%); }

.pz-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
  transition: opacity 0.4s ease 0.2s;
}
.pz-label { font-size: 12px; font-weight: 600; color: var(--orange-text); text-transform: uppercase; }
.pz-4 .pz-label { color: var(--orange-soft); }
.pz h3 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.2; }
.pz p { margin: 0; font-size: 15.5px; line-height: 1.45; opacity: 0.85; }

.pz-3 { animation: pzShake 3.5s ease-in-out 1.5s infinite; }
.pz-toggle {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  padding: 0;
}
.pz-toggle:hover, .pz-toggle:focus-visible { scale: 1.06; }
.pz-big { font-size: 40px; font-weight: 700; line-height: 1.05; }
.pz-hint { font-size: 18px; text-decoration: underline; text-underline-offset: 4px; }
@keyframes pzShake {
  0%, 84%, 100% { rotate: 0deg; }
  86% { rotate: -2.5deg; }
  88% { rotate: 2.5deg; }
  90% { rotate: -2deg; }
  92% { rotate: 2deg; }
  94% { rotate: -1deg; }
  96% { rotate: 0deg; }
}
@media (prefers-reduced-motion: reduce) { .pz-3 { animation: none; } }

/* Le message « Notre philosophie » qui apparaît une fois le puzzle assemblé */
.pz-msg {
  position: absolute;
  left: 110px; top: 295px;
  width: 960px; height: 470px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 64px;
  box-sizing: border-box;
  color: #fff;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s, visibility 0s linear 1.5s;
}
.pz-msg-inner { max-width: 680px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pz-eyebrow { font-size: 13px; color: var(--orange-soft); text-transform: uppercase; }
.pz-claim { margin: 0; font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1.15; }
.pz-quote { margin: 0; font-size: 17px; line-height: 1.6; color: #dcdcd6; font-style: italic; }
.pz-quote p { margin: 0; }
.pz-sig { margin: 0; font-size: 14px; line-height: 1.5; color: #dcdcd6; }
.pz-sig strong { font-size: 16px; color: var(--orange-soft); font-weight: 600; }

/* État « assemblé » */
.pz-wrap.is-on .pz-ring { opacity: 0; transform: scale(0.6); }
.pz-wrap.is-on .pz-3 { animation: none; }
.pz-wrap.is-on .pz-msg {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s, visibility 0s;
}
@media (min-width: 1201px) {
  .pz-wrap.is-on .pz {
    transform: translate(0px, 0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 0 0.6px rgba(20, 20, 20, 0)) drop-shadow(0 8px 16px rgba(20, 20, 20, 0));
  }
  .pz-wrap.is-on .pz-card { --bg: var(--black) !important; border-radius: 0; }
  .pz-wrap.is-on .pz-knob { --bg: var(--black) !important; }
  .pz-wrap.is-on .pz-content { opacity: 0; transition: opacity 0.3s ease 0.75s; }
}

/* Puzzle empilé sur tablette et mobile */
@media (max-width: 1200px) {
  .pz-wrap { height: auto; width: 100%; display: flex; flex-direction: column; gap: 12px; }
  .pz {
    position: relative;
    left: auto; top: auto;
    width: 100%; height: auto;
    transform: none;
    order: 3;
  }
  .pz-3 { order: 1; }
  .pz-3 .pz-card { min-height: 140px; }
  .pz-msg {
    position: relative;
    left: auto; top: auto;
    width: 100%; height: auto;
    order: 2;
    display: none;
    background: var(--black);
    border-radius: 12px;
    padding: 28px 22px;
    transform: none;
  }
  .pz-wrap.is-on .pz-msg { display: flex; transform: none; }
  .pz-ring, .pz-knob { display: none; }
  .pz-card { -webkit-mask: none; mask: none; min-height: 150px; }
}

/* ---------- Études de cas (carrousel) ---------- */
.cases { overflow-x: clip; }
.cases-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.cases-inner > .section-title { max-width: 900px; align-self: center; }
.carousel {
  --slide: min(900px, 72vw);
  --edge: calc((100vw - var(--slide)) / 2);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}
@media (max-width: 600px) {
  .carousel { --slide: 84vw; }
  .car-btn { width: 44px; height: 44px; }
}
.car-btn {
  position: absolute;
  top: 210px;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.car-prev { left: calc(var(--edge) + 16px); }
.car-next { right: calc(var(--edge) + 16px); }
.car-btn[hidden] { display: flex; opacity: 0; visibility: hidden; }
/* La marge intérieure laisse la place au zoom des bannières au survol, sans les rogner */
.car-viewport { overflow: hidden; touch-action: pan-y; padding: 16px 0; margin: -16px 0; }
.car-track {
  display: flex;
  gap: 24px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 0 0 var(--edge);
  list-style: none;
  transition: transform 0.7s var(--ease-pz);
}
.carousel[data-slide="1"] .car-track { transform: translateX(calc(-1 * (var(--slide) + 24px))); }
.case {
  flex: 0 0 var(--slide);
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.35;
  transition: opacity 0.5s ease;
}
.case.is-active { opacity: 1; }
.case-frame-wrap { position: relative; margin-right: 26px; }
/* La bannière ouvre l'étude de cas, comme le lien « Lire l'étude de cas » */
.case-frame-wrap[data-open] { cursor: pointer; transition: scale 0.2s ease; }
.case-frame-wrap[data-open]:hover { scale: 1.03; }
.case-frame {
  position: relative;
  border-radius: 12px;
  -webkit-mask: radial-gradient(circle 24px at 0 50%, transparent 23px, #000 24px);
  mask: radial-gradient(circle 24px at 0 50%, transparent 23px, #000 24px);
}
.case-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--ink);
  background-size: cover;
  -webkit-mask: radial-gradient(circle 30px at 50% 0, transparent 29px, #000 30px) top / 100% 51% no-repeat, radial-gradient(circle 30px at 50% 100%, transparent 29px, #000 30px) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle 30px at 50% 0, transparent 29px, #000 30px) top / 100% 51% no-repeat, radial-gradient(circle 30px at 50% 100%, transparent 29px, #000 30px) bottom / 100% 51% no-repeat;
  color: #fff;
  min-height: 420px;
  padding: clamp(24px, 3.5vw, 44px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.case-visual--skoda {
  background-image: linear-gradient(180deg, rgba(14,12,10,0.25) 0%, rgba(14,12,10,0.55) 45%, rgba(14,12,10,0.92) 100%), url("../img/cas/skoda-reddit.webp");
  background-position: 40% center;
}
.case-visual--lego {
  background-image: linear-gradient(180deg, rgba(14,12,10,0.25) 0%, rgba(14,12,10,0.55) 45%, rgba(14,12,10,0.92) 100%), url("../img/cas/lego-ideas.webp");
  background-position: center 35%;
}
.case-head { display: flex; flex-direction: column; gap: 10px; }
.case-name { font-size: clamp(40px, 6vw, 84px); font-weight: 700; line-height: 0.95; letter-spacing: -0.02em; }
.case-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
}
.case-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 24px;
}
.case-stat { flex: 1 1 140px; display: flex; flex-direction: column; gap: 6px; }
.case-stat .num { font-size: clamp(34px, 4vw, 54px); font-weight: 700; line-height: 1; }
.case-stat .lbl { font-size: 14px; opacity: 0.85; }
.case-body { padding: 0 8px; display: flex; flex-direction: column; gap: 4px; }
.case-body h3 { margin: 0; font-size: 22px; font-weight: 600; }
.case-body p { margin: 0; font-size: 14px; color: var(--muted); }
.case-body .more { margin-top: 6px; }
.car-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.car-dot {
  width: 10px; height: 10px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #d4d4cf;
  padding: 0;
}
.car-dot[aria-current="true"] { width: 32px; background: #e55113; }
.cases-claim {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  max-width: 760px;
  align-self: center;
  line-height: 1.35;
}
.cases-claim span { color: var(--orange-text); }
.sources { margin: 0; font-size: 12px; color: var(--muted-2); text-align: center; }
.sources a { color: var(--muted-2); }

/* ---------- Références ---------- */
.refs { background: #fff; }
.refs-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.refs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ref { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ref > img { width: 100%; height: 250px; object-fit: cover; object-position: center 25%; border-radius: 12px; }
.ref figcaption { display: flex; flex-direction: column; gap: 8px; }
.ref-logo { display: inline-flex; align-self: flex-start; align-items: center; height: 26px; }
.ref-logo img { height: 20px; width: auto; }
.ref-name { font-size: 15px; line-height: 1.4; }
.ref-name strong { font-weight: 700; }
.ref-name span { color: var(--muted); }

/* ---------- Média ---------- */
.media-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.media-head { display: flex; flex-direction: column; gap: 10px; text-align: center; align-items: center; }
.media-head .section-title { line-height: 1.1; }
.media-head p { margin: 0; font-size: 19px; color: var(--muted); }
.media-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.yt {
  flex: 1.25 1 520px;
  background: #fff;
  color: #0f0f0f;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.yt-bar { display: flex; align-items: center; gap: 6px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.yt-word { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.yt-handle { margin-left: auto; font-size: 13px; color: #606060; }
.yt-thumb {
  position: relative;
  display: block;
  flex: 1 1 auto;
  min-height: 300px;
  background-color: var(--ink);
  background-image: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.75) 100%), url("../img/references/racem-flazi.webp");
  background-size: cover;
  background-position: center 25%;
  color: #fff;
  text-decoration: none;
}
.yt-thumb:hover, .yt-thumb:focus-visible { scale: 1; }
.yt-soon {
  position: absolute;
  left: 16px; top: 16px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}
.yt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; }
.yt-title {
  position: absolute;
  left: 18px; bottom: 16px; right: 18px;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
}
.yt-title span { color: var(--orange-soft); }
.yt-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: #3d3d3d; }
.yt-info { padding: 18px 20px 24px; display: flex; flex-direction: column; gap: 16px; }
.yt-info h3 { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.3; }
.yt-channel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.yt-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid var(--line);
}
.yt-name { font-size: 15px; font-weight: 600; }
.yt-sub, .yt-notify {
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.yt-sub { margin-left: 8px; background: #0f0f0f; color: #fff; }
.yt-notify { background: #f2f2f2; color: #0f0f0f; }

.media-side { flex: 1 1 400px; display: flex; flex-direction: column; gap: 24px; }
.media-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.media-card--grow { flex: 1; }
.rd-head-wrap { padding: 6px 6px 0; display: flex; flex-direction: column; gap: 10px; }
.rd-head { display: flex; align-items: center; gap: 10px; }
.rd-head img { flex: none; width: 36px; height: 36px; }
.rd-head span { font-size: 15px; font-weight: 700; }
.rd-post {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rd-post-title { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.rd-post-meta { display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.rd-post-meta span { display: inline-flex; align-items: center; gap: 4px; }
.rd-stats { display: flex; gap: 22px; flex-wrap: wrap; margin: 4px 6px 0; color: var(--ink); }
.rd-stat { display: flex; flex-direction: column; gap: 4px; }
.rd-stat .num { font-size: 26px; font-weight: 600; line-height: 1; }
.rd-stat .lbl { font-size: 13px; color: var(--muted); }
.media-card > p { margin: 0 6px; font-size: 15px; color: var(--muted); }
.media-card > .btn-compact { margin: 2px 6px 0; align-self: flex-start; }
.ig-visual {
  border-radius: 10px;
  min-height: 120px;
  background: linear-gradient(135deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-card h3 { margin: 6px 6px 0; font-size: 26px; font-weight: 500; line-height: 1.15; }

/* ---------- Qui sommes-nous ---------- */
.team { background: #fff; }
.team-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.team-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 56px;
  padding: 40px 0 0;
}
.team-photo {
  flex: none;
  margin: 0 auto;
  position: relative;
  display: block;
  width: 180px; height: 180px;
}
.team-photo img {
  display: block;
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 35%;
}
.team-li { position: absolute; right: -4px; bottom: -4px; display: flex; }
.team-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 10px; }
.team-quote {
  margin: 0;
  position: relative;
  padding: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-2);
}
.team-quote-mark {
  position: absolute;
  left: -6px; top: -42px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px;
  line-height: 1;
  color: var(--orange);
  opacity: 0.9;
}
.team-quote p { margin: 0; font-size: 18px; line-height: 1.6; }
.team-quote ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 17px;
  line-height: 1.55;
}
.team-quote li { position: relative; padding-left: 18px; }
.team-quote li::before {
  content: "";
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 2px;
  background: var(--orange);
}
.team-quote strong { font-weight: 700; color: var(--ink); }
.team-quote .team-punch {
  margin: 4px 0 0;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--ink);
}
.team-sig {
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid #e3e3df;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.team-sig strong { font-weight: 700; color: var(--orange-text); }

/* ---------- FAQ ---------- */
.faq-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 24px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.faq-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.faq-list { flex: 1 1 600px; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.3; }
.faq-icon {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #f1f1ee;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}
.faq-icon svg { stroke: var(--ink); transition: stroke 0.3s ease; }
.faq-item[open] .faq-icon { background: var(--orange); transform: rotate(45deg); }
.faq-item[open] .faq-icon svg { stroke: #fff; }
.faq-a { padding: 0 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-a p { margin: 0; font-size: 16px; line-height: 1.6; color: #3a3a37; }
.faq-a strong { font-weight: 600; }
.faq-aside { flex: 1 1 340px; position: sticky; top: 24px; }
.faq-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  padding: 22px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
}
.faq-cta-ico {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Pied de page ---------- */
.site-footer { background: var(--black); color: #fff; }
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  /* 100 px en bas : la ligne légale reste visible au-dessus du bouton « Nous contacter » */
  padding: 64px 24px 100px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer-cols { display: flex; flex-wrap: wrap; gap: 36px 48px; }
.footer-brand { flex: 2 1 280px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-brand p { margin: 0; font-size: 15px; line-height: 1.6; color: #b8b8b2; max-width: 340px; }
.footer-brand .btn-compact { align-self: flex-start; }
.footer-col { flex: 1 1 160px; display: flex; flex-direction: column; gap: 10px; }
.footer-label { margin: 0 0 4px; font-size: 13px; font-weight: 600; color: #8a8a84; text-transform: uppercase; }
.footer-col a { color: #d6d6d0; text-decoration: none; font-size: 15px; }
.footer-bottom {
  border-top: 1px solid #2c2c2a;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  font-size: 13px;
  color: #8a8a84;
}
.footer-bottom a { color: #b8b8b2; }

/* ---------- Bandeau cookies ---------- */
.cookie-bar {
  position: fixed;
  left: 24px; bottom: 24px;
  z-index: 70;
  width: min(460px, calc(100% - 48px));
  box-sizing: border-box;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.12);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.cookie-text strong { color: var(--ink); }
.cookie-text a { color: var(--orange-text); }
.cookie-actions { display: flex; gap: 10px; }
/* Même taille pour les deux choix : « Refuser » doit rester aussi visible et facile (CNIL) */
.cookie-btn {
  flex: 1;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 10px;
  padding: 11px 14px;
  cursor: pointer;
}
.cookie-btn--plein { background: var(--ink); color: #fff; }
@media (max-width: 760px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; }
  body.has-cookie-bar .contact-float { display: none; }
}

/* ---------- Bouton flottant « Nous contacter » ---------- */
.contact-backdrop { position: fixed; inset: 0; z-index: 49; }
.contact-backdrop[hidden] { display: none; }
.contact-float {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.contact-menu {
  width: 280px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  list-style: none;
}
.contact-menu[hidden] { display: none; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
}
.contact-ico {
  flex: none;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-txt { display: flex; flex-direction: column; line-height: 1.25; }
.contact-txt b { font-size: 15px; font-weight: 600; }
.contact-txt span { font-size: 13px; color: var(--muted); }
.contact-toggle {
  font: inherit;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  padding: 12px 22px 12px 14px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}
.contact-toggle-ico {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-toggle svg { stroke: var(--black); }
.contact-toggle .ico-close { display: none; }
.contact-toggle[aria-expanded="true"] .ico-open { display: none; }
.contact-toggle[aria-expanded="true"] .ico-close { display: block; }

/* ---------- Fenêtres (études de cas, détails, formulaire) ---------- */
.modal {
  width: calc(100% - 48px);
  max-width: 620px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  margin: auto;
  background: #fff;
  border: none;
  border-radius: 12px;
  padding: 36px;
  box-sizing: border-box;
  color: var(--ink);
  text-align: left;
}
.modal[open] { display: flex; flex-direction: column; gap: 18px; }
.modal::backdrop {
  background: rgba(27, 27, 26, 0.45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.modal-title { margin: 0; padding-right: 40px; font-size: 26px; font-weight: 700; line-height: 1.2; letter-spacing: 0; }
.modal p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--text-2); }
.modal .fine { font-size: 13px; color: var(--muted-2); }
.modal-label { font-size: 13px; font-weight: 700; color: var(--orange-text); text-transform: uppercase; margin: 0 0 -6px; }
.modal-label--tight { margin-bottom: -8px; }
.ex { display: flex; align-items: flex-start; gap: 16px; }
.ex-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange-text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ex-logo {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}
.ex-body { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.ex-body--flush { padding-top: 0; }
.ex-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.5; }
.ex-kind { font-size: 13px; color: var(--muted-2); margin-top: -3px; }
.modal .ex-cause { font-size: 15px; line-height: 1.5; color: var(--muted-2); }
.modal .ex-text { font-size: 15.5px; line-height: 1.55; color: var(--text-2); }
.modal .ex-text--small { font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.pills { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.pill { background: var(--paper); border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; }
.pill-arrow { color: var(--orange-text); font-weight: 700; }
.modal a { color: var(--orange-text); font-weight: 600; }
.how { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.how li { display: flex; align-items: flex-start; gap: 12px; }
.how-num {
  flex: none;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--orange-pale);
  color: var(--orange-text);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.how-txt { font-size: 15.5px; line-height: 1.5; color: var(--text-2); padding-top: 3px; }
.results { display: flex; flex-wrap: wrap; gap: 10px; }
.result { flex: 1 1 120px; background: var(--paper); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.result .num { font-size: 24px; font-weight: 700; line-height: 1.1; }
.result .lbl { font-size: 13px; color: var(--muted); line-height: 1.35; }

/* Formulaire de rappel */
.modal--form { max-width: 560px; padding: 32px; }
.modal--form[open] { gap: 16px; }
.form-title { margin: 0; padding-right: 48px; font-size: 28px; line-height: 1.15; }
.modal--form .form-intro { font-size: 15px; color: var(--muted); }
.callback-form { display: flex; flex-direction: column; gap: 14px; }
.callback-form[hidden] { display: none; }
.callback-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.callback-form input,
.callback-form textarea {
  font: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  background: var(--paper); /* uni, sans texture */
  color: var(--ink);
}
.callback-form textarea { resize: vertical; }
.callback-form .form-required-note { margin: 0; font-size: 13px; line-height: 1.4; color: var(--muted-2); }
.req { color: var(--orange-text); font-weight: 700; }
/* E-mail et téléphone regroupés : au moins l'un des deux */
.contact-pair {
  margin: 0;
  padding: 14px 16px 16px;
  border: 1px solid #d9d9d9;
  border-radius: 12px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-pair legend { float: left; width: 100%; padding: 0; font-size: 14px; font-weight: 600; }
.callback-form .contact-pair .field-hint { margin: -8px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
.contact-pair.is-invalid,
.callback-form [aria-invalid="true"] { border-color: #b3261e; }
.callback-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.callback-form button[type="submit"] {
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  cursor: pointer;
}
.callback-form button[disabled] { opacity: 0.6; cursor: wait; }
.modal--form .form-legal { font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.form-status { margin: 0; font-size: 15px; line-height: 1.5; }
.form-status:empty { display: none; }
.form-status.is-error { color: #b3261e; }
.form-done { display: flex; flex-direction: column; gap: 12px; }
.form-done[hidden] { display: none; }

/* ---------- Pages simples (mentions légales, merci, 404) ---------- */
.page-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 80px 24px 96px;
}
.page-inner h1 { margin: 0 0 24px; font-size: clamp(32px, 4vw, 48px); line-height: 1.12; }
.page-inner h2 { margin: 40px 0 12px; font-size: 24px; line-height: 1.2; }
.page-inner p, .page-inner li { font-size: 16px; line-height: 1.65; color: var(--text-2); }
.page-inner .todo { background: #fff1ea; color: #8a2f08; padding: 0 4px; border-radius: 4px; }
