/* Vitrine Provacode — identité « Encre et surligneur » de la maquette validée le 13 novembre 2026.
   Encre presque noire, filets fins, un seul accent qui surligne. */

@font-face {
  font-family: 'Host Grotesk';
  font-style: normal;
  font-display: swap;
  font-weight: 300 800;
  src: url('/polices/host-grotesk.woff2') format('woff2-variations');
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/polices/jetbrains-mono.woff2') format('woff2-variations');
}

:root {
  --encre: #0c0d0e;
  --encre-2: #2a2c30;
  --gris-texte: #5a5d63;
  --gris-doux: #696c72;
  --filet: #eeeeea;
  --filet-2: #e8e8e4;
  --filet-3: #e3e3de;
  --filet-fort: #d9d9d4;
  --fond: #ffffff;
  --fond-2: #fbfbfa;
  --fond-3: #f7f7f5;
  --nuit: #0c0d0e;
  --nuit-panneau: #0d0f11;
  --nuit-filet: #1f2226;
  --nuit-filet-2: #2a2d32;
  --nuit-texte: #f3f4f1;
  --nuit-texte-2: #a9adb3;
  --nuit-texte-3: #c9ccd0;
  --accent: #d6f54a;
  --accent-voile: color-mix(in srgb, var(--accent) 14%, transparent);
  --echec: #ff9e75;
  --sans: 'Host Grotesk', Inter, ui-sans-serif, system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --ombre-carte:
    0 0 0 1px rgba(12, 13, 14, 0.08), 0 1px 2px rgba(12, 13, 14, 0.04),
    0 16px 32px -24px rgba(12, 13, 14, 0.2);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--encre);
}
a:hover {
  color: #3a3d42;
}
:focus-visible {
  outline: 2px solid var(--encre);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.conteneur {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

.lien-evitement {
  position: absolute;
  left: -9999px;
}
.lien-evitement:focus {
  left: 16px;
  top: 16px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--fond);
}

.surligne {
  background: linear-gradient(
      100deg,
      transparent 0.14em,
      var(--accent) 0.14em,
      var(--accent) calc(100% - 0.14em),
      transparent calc(100% - 0.14em)
    )
    no-repeat 0 62% / 100% 76%;
  padding: 0 0.22em;
  margin: 0 -0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ——— Bandeau d'état ——— */

.bandeau {
  background: var(--nuit);
  color: var(--nuit-texte-2);
  font-size: 13.5px;
}
.bandeau .conteneur {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  min-height: 40px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.bandeau strong {
  color: var(--nuit-texte);
  font-weight: 500;
}
.bandeau .point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

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

.entete {
  border-bottom: 1px solid var(--filet);
  background: var(--fond);
}
.entete .conteneur {
  min-height: 68px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 36px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--encre);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo-marque {
  flex: none;
}
.logo-fond {
  fill: var(--encre);
}
.logo-trait {
  stroke: #fff;
}
.logo-curseur {
  fill: var(--accent);
}
.nav {
  flex: 1 1 320px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  font-size: 14.5px;
}
.nav a {
  color: var(--gris-texte);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.nav a:hover {
  color: var(--encre);
}
.entete .lien-connexion {
  color: var(--gris-texte);
  text-decoration: none;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
}
.entete .lien-connexion:hover {
  color: var(--encre);
}

/* ——— Boutons ——— */

.bouton,
.bouton-clair,
.bouton-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  font: 500 14.5px var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.bouton {
  background: linear-gradient(180deg, #303236 0%, #121315 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 0 1px var(--encre),
    0 1px 2px rgba(12, 13, 14, 0.35),
    0 10px 20px -10px rgba(12, 13, 14, 0.6);
  color: #fff;
}
.bouton:hover {
  color: #fff;
  background: linear-gradient(180deg, #3a3c41 0%, #1a1b1e 100%);
}
.bouton-clair {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f1 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 1px rgba(12, 13, 14, 0.14),
    0 1px 2px rgba(12, 13, 14, 0.08),
    0 3px 6px -3px rgba(12, 13, 14, 0.12);
  color: var(--encre);
}
.bouton-accent {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent) 80%, #fff) 0%,
    var(--accent) 55%,
    color-mix(in srgb, var(--accent) 92%, #000) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px color-mix(in srgb, var(--accent) 72%, #000),
    0 14px 30px -14px color-mix(in srgb, var(--accent) 75%, transparent);
  color: var(--encre);
  font-weight: 600;
}
.bouton-accent:hover {
  color: var(--encre);
}
.grand {
  min-height: 50px;
  border-radius: 13px;
  font-size: 15.5px;
  padding: 0 20px;
}
.grand.avec-fleche {
  padding: 0 9px 0 22px;
}
.fleche {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--encre);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.bouton-accent .fleche {
  background: var(--encre);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* ——— Haut de page sombre de l'accueil (tranche 11) ——— */

.haut-sombre {
  background: var(--nuit);
}
.haut-sombre .bandeau {
  border-bottom: 1px solid var(--nuit-filet);
}
.entete.sombre {
  background: var(--nuit);
  border-bottom-color: var(--nuit-filet);
}
.entete.sombre .logo,
.entete.sombre .logo:hover {
  color: var(--nuit-texte);
}
.entete.sombre .logo-fond {
  fill: var(--nuit-texte);
}
.entete.sombre .logo-trait {
  stroke: var(--encre);
}
.entete.sombre .logo-curseur {
  fill: #9db82a;
}
.entete.sombre .nav a,
.entete.sombre .lien-connexion {
  color: var(--nuit-texte-2);
}
.entete.sombre .nav a:hover,
.entete.sombre .lien-connexion:hover {
  color: var(--nuit-texte);
}
.entete.sombre .bouton {
  background: var(--nuit-texte);
  box-shadow: none;
  color: var(--encre);
}
.entete.sombre .bouton:hover {
  background: #fff;
  color: var(--encre);
}
.haut-sombre :focus-visible,
.heros :focus-visible,
.fondateur :focus-visible,
.appel :focus-visible {
  outline-color: var(--accent);
}

/* ——— Héros ——— */

.heros {
  position: relative;
  overflow: hidden;
  background: var(--nuit);
  color: var(--nuit-texte);
}
.heros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--nuit-filet) 1px, transparent 1px),
    linear-gradient(90deg, var(--nuit-filet) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center -1px;
  mask-image: radial-gradient(ellipse 70% 70% at 72% 40%, #000 5%, transparent 75%);
  opacity: 0.6;
  pointer-events: none;
}
.heros::after {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  right: -140px;
  top: -200px;
  background: radial-gradient(circle, rgba(214, 245, 74, 0.13), transparent 62%);
  pointer-events: none;
}
.heros .conteneur {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 56px;
}
.heros-texte {
  flex: 1.1 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.pastille {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--nuit-filet-2);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--nuit-texte-2);
}
.pastille .point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(214, 245, 74, 0.16);
}
.heros h1 {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.heros h1 > span {
  display: block;
}
.heros .surligne {
  color: var(--encre);
  animation: surligner 0.9s 0.3s cubic-bezier(0.6, 0, 0.2, 1) backwards;
}
@keyframes surligner {
  0% {
    background-size: 0% 76%;
    color: var(--nuit-texte);
  }
  45% {
    color: var(--nuit-texte);
  }
}
.chapo {
  max-width: 520px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--nuit-texte-2);
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 12px 12px 12px 22px;
  border-radius: 16px;
  background: var(--accent);
  color: var(--encre);
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 1px color-mix(in srgb, var(--accent) 70%, #000),
    0 18px 40px -16px rgba(214, 245, 74, 0.55);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.cta:hover {
  color: var(--encre);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 0 0 1px color-mix(in srgb, var(--accent) 70%, #000),
    0 24px 48px -16px rgba(214, 245, 74, 0.7);
}
.cta-texte {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.cta-texte strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.cta-texte small {
  margin-top: 3px;
  font-size: 12.5px;
  color: #3f4a12;
}
.cta-fleche {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--encre);
  color: var(--accent);
  transition: transform 0.2s;
}
.cta:hover .cta-fleche {
  transform: translateX(3px);
}
.lien-secondaire {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nuit-texte);
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: var(--nuit-filet-2);
  text-underline-offset: 6px;
}
.lien-secondaire:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}
.coches {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 14px;
  color: var(--nuit-texte-2);
}
.coches li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.coches svg {
  color: var(--accent);
}

/* La maquette animée. Chaque plan a son créneau sur une même durée ; l'animation se joue une fois
   et laisse le rapport affiché. Sans animation (préférence du visiteur), seul le rapport paraît. */

.demo {
  --duree: 11s;
  flex: 1 1 460px;
  min-width: 0;
  margin: 0;
}
.demo-fenetre {
  border: 1px solid var(--nuit-filet-2);
  border-radius: 18px;
  background: linear-gradient(180deg, #15171a, #101214);
  box-shadow:
    0 40px 80px -36px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  font-size: 14px;
}
.demo-tete {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: 1px solid var(--nuit-filet);
  color: var(--nuit-texte-2);
}
.demo-feux {
  display: flex;
  gap: 6px;
}
.demo-feux i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c2f34;
}
.demo-ticket {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--nuit-texte);
}
.demo-tete .etiquette {
  margin-left: auto;
  border-color: var(--nuit-filet-2);
  color: var(--nuit-texte-2);
}
.etiquette {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 7px;
  border: 1px solid var(--filet-fort);
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}
.demo-reperes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 14px 16px 0;
}
.demo-reperes span {
  position: relative;
  padding-top: 9px;
  border-top: 2px solid var(--nuit-filet);
  font-size: 11.5px;
  color: #7d8188;
}
.demo-reperes span::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 100%;
  height: 2px;
  background: var(--accent);
  animation: var(--duree) linear backwards;
}
.demo-reperes .r1::before {
  animation-name: repere1;
}
.demo-reperes .r2::before {
  animation-name: repere2;
}
.demo-reperes .r3::before {
  animation-name: repere3;
}
.demo-reperes .r4::before {
  animation-name: repere4;
}
@keyframes repere1 {
  0% {
    width: 0;
  }
  24% {
    width: 100%;
  }
}
@keyframes repere2 {
  0%,
  24% {
    width: 0;
  }
  48% {
    width: 100%;
  }
}
@keyframes repere3 {
  0%,
  48% {
    width: 0;
  }
  72% {
    width: 100%;
  }
}
@keyframes repere4 {
  0%,
  72% {
    width: 0;
  }
  80% {
    width: 100%;
  }
}
/* Les plans se superposent dans une même case : la scène prend la hauteur du plus haut. */
.demo-scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 16px;
}
.demo-plan {
  grid-area: 1 / 1;
  position: relative;
  opacity: 0;
  animation: var(--duree) ease backwards;
}
.demo-plan.p1 {
  animation-name: plan1;
}
.demo-plan.p2 {
  animation-name: plan2;
}
.demo-plan.p3 {
  animation-name: plan3;
}
.demo-plan.p4 {
  opacity: 1;
  animation-name: plan4;
}
@keyframes plan1 {
  0%,
  22% {
    opacity: 1;
    transform: none;
  }
  25%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes plan2 {
  0%,
  24% {
    opacity: 0;
    transform: translateY(8px);
  }
  27%,
  46% {
    opacity: 1;
    transform: none;
  }
  49%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes plan3 {
  0%,
  48% {
    opacity: 0;
    transform: translateY(8px);
  }
  51%,
  70% {
    opacity: 1;
    transform: none;
  }
  73%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}
@keyframes plan4 {
  0%,
  72% {
    opacity: 0;
    transform: translateY(8px);
  }
}
.demo-qui {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--nuit-texte-2);
}
.demo-assistant {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.demo-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: #22252a;
  color: var(--nuit-texte-2);
  font-size: 11px;
  font-weight: 600;
}
.demo-assistant p {
  font-size: 15px;
}
.demo-diff {
  margin: 14px 0 0 42px;
  border: 1px solid var(--nuit-filet);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--mono);
  font-size: 13px;
}
.demo-diff div {
  display: flex;
  gap: 12px;
  padding: 7px 12px;
}
.demo-diff b {
  font-weight: 400;
  opacity: 0.7;
}
.demo-diff .moins,
.diff-mini .moins {
  background: rgba(255, 158, 117, 0.09);
  color: #ffc2a8;
}
.demo-diff .plus,
.diff-mini .plus {
  background: rgba(214, 245, 74, 0.07);
  color: #e4f79a;
}
.demo-tampon {
  position: absolute;
  right: 18px;
  top: 4px;
  padding: 5px 12px;
  border: 2px solid var(--echec);
  border-radius: 8px;
  color: var(--echec);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-8deg);
  animation: tampon var(--duree) backwards;
}
@keyframes tampon {
  0%,
  12% {
    opacity: 0;
    transform: rotate(-8deg) scale(1.6);
  }
  14% {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}
.demo-code {
  margin: 0;
  padding: 10px 0;
  border: 1px solid var(--nuit-filet);
  border-radius: 10px;
  background: #0d0f11;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.9;
  white-space: pre;
  overflow: hidden;
}
.demo-code span {
  display: block;
  padding: 0 14px;
  color: var(--nuit-texte-3);
}
.demo-code i {
  margin-right: 12px;
  font-style: normal;
  color: #50545b;
}
.demo-code .ajout {
  background: rgba(214, 245, 74, 0.08);
  color: #e4f79a;
  animation: taper var(--duree) steps(18) backwards;
}
@keyframes taper {
  0%,
  29% {
    clip-path: inset(0 100% 0 0);
  }
  37% {
    clip-path: inset(0 0 0 0);
  }
}
.demo-tests {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--nuit-texte-2);
}
.demo-tests li {
  display: flex;
  gap: 10px;
  padding: 3px 0;
  animation: var(--duree) backwards;
}
.demo-tests li:nth-child(1) {
  animation-name: test1;
}
.demo-tests li:nth-child(2) {
  animation-name: test2;
}
@keyframes test1 {
  0%,
  38% {
    opacity: 0;
  }
}
@keyframes test2 {
  0%,
  41% {
    opacity: 0;
  }
}
.demo-tests b {
  color: var(--accent);
}
.demo-question {
  margin: 4px 0 18px;
  font-size: 21px;
  font-weight: 560;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.demo-reponse {
  padding: 4px 0 4px 14px;
  border-left: 2px solid var(--accent);
  font-size: 15px;
  line-height: 1.5;
}
.demo-reponse span {
  background: linear-gradient(var(--nuit-texte), var(--nuit-texte)) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ecrire var(--duree) backwards;
}
@keyframes ecrire {
  0%,
  53% {
    background-size: 0 100%;
  }
  65% {
    background-size: 100% 100%;
  }
}
.demo-transcrit {
  display: inline-block;
  margin-top: 18px;
  padding: 3px 8px;
  border: 1px solid var(--nuit-filet-2);
  border-radius: 6px;
  font-size: 12px;
  color: var(--nuit-texte-2);
}
.demo-critere {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--nuit-filet);
  font-weight: 500;
}
.demo-critere small {
  flex-basis: 100%;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--nuit-texte-2);
}
.demo-critere code {
  font-family: var(--mono);
  font-size: 11.5px;
  color: #ffc2a8;
}
.demo-avis {
  font-size: 12.5px;
  color: var(--nuit-texte-2);
  font-variant-numeric: tabular-nums;
}
.badge-accent {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 6px;
  background: rgba(214, 245, 74, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}
.demo-decision {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--nuit-texte-2);
}
@media (prefers-reduced-motion: reduce) {
  .heros .surligne,
  .demo *,
  .demo *::before {
    animation: none !important;
  }
}

/* ——— Garanties ——— */

.garanties {
  background: var(--nuit);
  color: var(--nuit-texte);
  border-top: 1px solid var(--nuit-filet);
}
.garanties ul {
  margin: 0;
  padding: 28px 0 36px;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 22px 24px;
}
.garanties li {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 14px;
  border-left: 2px solid var(--nuit-filet-2);
  font-size: 13px;
  line-height: 1.45;
  color: var(--nuit-texte-2);
}
.garanties strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--nuit-texte);
}

/* ——— Sections ——— */

.section {
  border-top: 1px solid var(--filet);
  scroll-margin-top: 16px;
}
.section > .conteneur {
  padding-top: 68px;
  padding-bottom: 68px;
}
.section.pale {
  background: var(--fond-2);
}
.entete-section {
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 44px;
}
.titre-section {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.intro-section {
  font-size: 17px;
  line-height: 1.6;
  color: var(--gris-texte);
  text-wrap: pretty;
}

/* Frise des trois temps */

.frise {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.frise > li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--filet-3);
  border-radius: 16px;
  background: var(--fond);
  box-shadow: var(--ombre-carte);
}
.repere {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gris-doux);
}
.frise > li > h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.frise > li > p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gris-texte);
}
.vignette {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  border-radius: 12px;
  background: var(--nuit);
  color: var(--nuit-texte);
  font-size: 13.5px;
  line-height: 1.45;
}
.ticket-id {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
}
.diff-mini code {
  display: block;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 13px;
}

/* Le rapport, quatrième case de la frise */

.frise-rapport {
  scroll-margin-top: 16px;
}
.criteres {
  margin: auto 0 0;
  padding-left: 14px;
  list-style: none;
}
.criteres li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.criteres svg {
  flex: none;
  color: var(--accent);
}

/* Le mot du fondateur */

.fondateur {
  background: var(--nuit);
  color: var(--nuit-texte);
}
.fondateur .conteneur {
  padding-top: 80px;
  padding-bottom: 80px;
}
.fondateur figure {
  max-width: 880px;
  margin: 0 auto;
}
.fondateur blockquote {
  margin: 0;
  position: relative;
}
.fondateur blockquote::before {
  content: '«';
  position: absolute;
  left: -0.05em;
  top: -0.62em;
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
}
.fondateur blockquote p {
  padding-top: 40px;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.4;
  letter-spacing: -0.02em;
  font-weight: 450;
  text-wrap: pretty;
}
.fondateur .surligne {
  color: var(--encre);
}
.fondateur figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 16px;
  margin-top: 36px;
  font-size: 14.5px;
  color: var(--nuit-texte-2);
}
.fondateur figcaption > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}
.fondateur figcaption strong {
  color: var(--nuit-texte);
  font-size: 16px;
  font-weight: 600;
}
.monogramme {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--encre);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.fondateur figcaption a {
  margin-left: auto;
  color: var(--nuit-texte);
  text-underline-offset: 5px;
  text-decoration-color: var(--nuit-filet-2);
}
.fondateur figcaption a:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}

/* Tarifs */

.tarifs-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: 36px;
}
.tarifs-tete .intro-section {
  max-width: 480px;
}
.grille-prix {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.formule {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 16px;
  background: var(--fond);
  box-shadow: var(--ombre-carte);
}
.formule.en-avant {
  box-shadow:
    0 0 0 2px var(--encre),
    0 16px 32px -24px rgba(12, 13, 14, 0.4);
}
.formule-nom {
  font-weight: 600;
}
.formule-prix {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.formule-prix strong {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.formule-prix span,
.formule-unitaire {
  font-size: 13.5px;
  color: var(--gris-texte);
}
.formule p {
  flex: 1;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--gris-texte);
}
.note-tarifs {
  margin-top: 24px;
  font-size: 14.5px;
  color: var(--gris-texte);
}
.note-tarifs strong {
  color: var(--encre);
  font-weight: 600;
}

/* Questions */

.faq {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  align-items: start;
  column-gap: 48px;
}
.faq details {
  border-top: 1px solid var(--filet-3);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 14px 0;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--filet-fort);
  border-radius: 8px;
  color: var(--gris-texte);
  font-size: 18px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  padding: 0 44px 20px 0;
  color: var(--gris-texte);
  font-size: 15.5px;
  line-height: 1.6;
}

/* Appel final : un ticket */

.appel {
  background: var(--fond-2);
  border-top: 1px solid var(--filet);
}
.appel .conteneur {
  padding-top: 64px;
  padding-bottom: 72px;
}
.ticket {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px clamp(24px, 5vw, 56px) 44px;
  border-radius: 22px;
  background: var(--nuit);
  color: var(--nuit-texte);
  box-shadow: 0 40px 80px -40px rgba(12, 13, 14, 0.6);
}
.ticket::before,
.ticket::after {
  content: '';
  position: absolute;
  top: 74px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--fond-2);
}
.ticket::before {
  left: -13px;
}
.ticket::after {
  right: -13px;
}
.ticket-haut {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 22px;
  border-bottom: 1px dashed var(--nuit-filet-2);
}
.ticket-ref {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--nuit-texte-2);
}
.ticket-etat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--nuit-filet-2);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--nuit-texte-2);
}
.ticket-etat .point {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.ticket h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.ticket p {
  max-width: 560px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--nuit-texte-2);
}
.ticket .cta {
  margin-top: 8px;
}

@media (min-width: 900px) {
  .heros .surligne {
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .heros .conteneur {
    padding-top: 44px;
    padding-bottom: 56px;
  }
  .demo-scene {
    margin: 14px 12px;
  }
  .demo-diff {
    margin-left: 0;
  }
  .section > .conteneur,
  .fondateur .conteneur {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .fondateur figcaption a {
    margin-left: 0;
  }
  .cta {
    width: 100%;
    justify-content: space-between;
  }
}

/* Pied de page */

.pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 36px;
  padding-top: 36px;
  padding-bottom: 44px;
  font-size: 14px;
  color: var(--gris-texte);
}
.pied .logo {
  flex: 1 1 240px;
  font-size: 15px;
}
.pied .logo-marque {
  width: 24px;
  height: 24px;
}
.pied a:not(.logo) {
  color: var(--gris-texte);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.pied a:not(.logo):hover {
  color: var(--encre);
  text-decoration: underline;
}

/* ——— Page scindée : formulaire et colonne sombre ——— */

.page-scindee {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}
.colonne-principale {
  flex: 1 1 520px;
  min-width: 0;
  padding: 28px clamp(16px, 5vw, 64px) 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.colonne-principale > .logo {
  align-self: flex-start;
}
.colonne-contenu {
  margin: auto 0;
  width: 100%;
  max-width: 480px;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.colonne-contenu h1 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.colonne-contenu .sous-titre {
  margin-top: 10px;
  color: var(--gris-texte);
  text-wrap: pretty;
}
.liens-bas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 13px;
}
.liens-bas a {
  color: var(--gris-doux);
  text-decoration: none;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.liens-bas a:hover {
  color: var(--encre);
  text-decoration: underline;
}

.colonne-sombre {
  flex: 1 1 440px;
  min-width: 0;
  align-self: flex-start;
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: clamp(28px, 5vw, 64px);
  background-color: var(--nuit);
  background-image: radial-gradient(#22252a 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--nuit-texte);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}
.colonne-sombre h2 {
  max-width: 520px;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.14;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.etapes {
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
  display: flex;
  flex-direction: column;
}
.etapes li {
  display: flex;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--nuit-filet-2);
}
.etapes li:last-child {
  border-bottom: 1px solid var(--nuit-filet-2);
}
.etapes .numero {
  flex: none;
  width: 28px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 26px;
  color: var(--accent);
}
.etapes .titre {
  display: block;
  font-size: 17px;
  font-weight: 500;
}
.etapes .detail {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  color: var(--nuit-texte-2);
  text-wrap: pretty;
}
.colonne-sombre .note {
  font-size: 14px;
  color: var(--nuit-texte-2);
  max-width: 560px;
}
.colonne-sombre .note a {
  color: var(--nuit-texte);
}

/* Formulaire */

.formulaire {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.champ {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.champ > label,
.champ > legend {
  font-size: 13.5px;
  font-weight: 500;
  padding: 0;
}
.champ .facultatif {
  font-weight: 400;
  color: var(--gris-doux);
}
.saisie {
  height: 46px;
  width: 100%;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  background: var(--fond);
  box-shadow:
    inset 0 1px 2px rgba(12, 13, 14, 0.06),
    0 0 0 1px rgba(12, 13, 14, 0.16);
  color: var(--encre);
  font: 400 15px var(--sans);
  appearance: none;
}
select.saisie {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23696C72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.saisie:focus {
  outline: none;
  box-shadow:
    inset 0 1px 2px rgba(12, 13, 14, 0.06),
    0 0 0 1.5px var(--encre),
    0 0 0 5px color-mix(in srgb, var(--accent) 55%, transparent);
}
.saisie.courte {
  max-width: 160px;
}
.aide {
  font-size: 13px;
  color: var(--gris-doux);
  text-wrap: pretty;
}
.erreur {
  font-size: 13px;
  color: #a3320b;
  font-weight: 500;
}
.champ.en-erreur .saisie {
  box-shadow:
    inset 0 1px 2px rgba(12, 13, 14, 0.06),
    0 0 0 1.5px #c2410c;
}
.alerte {
  padding: 12px 14px;
  border-radius: 11px;
  background: #fff4ee;
  box-shadow: 0 0 0 1px #f3c7b2;
  font-size: 14px;
  color: #7a2a0a;
}

.puces {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.puce {
  position: relative;
}
.puce input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.puce span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 9px;
  background: var(--fond);
  box-shadow: 0 0 0 1px rgba(12, 13, 14, 0.16);
  font-size: 14px;
  user-select: none;
}
.puce input:checked + span {
  background: var(--encre);
  color: #fff;
  box-shadow: 0 0 0 1px var(--encre);
}
.puce input:checked + span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.puce input:focus-visible + span {
  outline: 2px solid var(--encre);
  outline-offset: 2px;
}

.choix-formules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}
.choix {
  position: relative;
}
.choix input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.choix span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--fond);
  box-shadow: 0 0 0 1px rgba(12, 13, 14, 0.16);
  font-size: 14px;
  font-weight: 500;
}
.choix small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--gris-doux);
}
.choix input:checked + span {
  box-shadow:
    0 0 0 1.5px var(--encre),
    0 0 0 5px color-mix(in srgb, var(--accent) 55%, transparent);
}
.choix input:focus-visible + span {
  outline: 2px solid var(--encre);
  outline-offset: 3px;
}
.choix.large {
  grid-column: 1 / -1;
}

.pot-de-miel {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.information {
  font-size: 13px;
  color: var(--gris-texte);
  text-wrap: pretty;
}
.envoyer {
  width: 100%;
  min-height: 50px;
  border-radius: 13px;
  font-size: 15.5px;
  padding: 0 9px 0 53px;
}
.envoyer .libelle {
  flex: 1;
  text-align: center;
}

/* Pages de message */

.message-icone {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 0 0 1px color-mix(in srgb, var(--accent) 72%, #000);
}
.message-icone.neutre {
  background: var(--fond-3);
  box-shadow: 0 0 0 1px var(--filet-3);
}
.recap {
  margin: 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--fond-3);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
}
.recap div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.recap dt {
  color: var(--gris-texte);
}
.recap dd {
  margin: 0;
  font-weight: 500;
  text-align: right;
}

/* ——— Pages légales ——— */

.prose-page .conteneur {
  max-width: 820px;
  padding-top: 72px;
  padding-bottom: 104px;
}
.prose h1 {
  font-size: clamp(32px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.prose h2 {
  margin-top: 44px;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.prose p,
.prose ul {
  margin-top: 14px;
  font-size: 16px;
  color: var(--encre-2);
  text-wrap: pretty;
}
.prose ul {
  padding-left: 20px;
}
.prose li + li {
  margin-top: 6px;
}
.prose .mise-a-jour {
  margin-top: 14px;
  color: var(--gris-doux);
  font-size: 14px;
}
.avertissement-brouillon {
  margin-top: 28px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed #b9b9b2;
  background: var(--fond-2);
  font-size: 14.5px;
  color: var(--encre-2);
}
.blanc {
  background: var(--accent);
  color: var(--encre);
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 5px;
  outline: 1px dashed rgba(12, 13, 14, 0.45);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

@media (max-width: 640px) {
  .heros .conteneur {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .section > .conteneur {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .bulle {
    margin: -12px 0 0;
    width: 94%;
  }
  .entete .bouton,
  .entete .lien-connexion {
    order: 2;
  }
  .nav {
    order: 3;
    flex-basis: 100%;
    gap: 0 20px;
  }
}

@media (max-width: 980px) {
  .colonne-sombre {
    position: static;
    min-height: 0;
    align-self: stretch;
  }
}

/* ——— Le bandeau de consentement et la page « Cookies » (D124) ———
   Deux boutons identiques, au même niveau : refuser est aussi simple qu'accepter (CNIL). */

.bandeau-choix {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 50;
  width: min(420px, calc(100vw - 40px));
  padding: 18px 18px 16px;
  border-radius: 14px;
  background: var(--fond);
  box-shadow:
    0 0 0 1px rgba(12, 13, 14, 0.1),
    0 2px 4px rgba(12, 13, 14, 0.05),
    0 24px 48px -20px rgba(12, 13, 14, 0.35);
  color: var(--encre);
}
.bandeau-choix h2 {
  margin: 0 0 6px;
  font: 600 15px/1.3 var(--sans);
  letter-spacing: -0.01em;
}
.bandeau-choix p {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--gris-texte);
}
.bandeau-choix p a {
  color: var(--encre);
}
.choix-boutons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choix-boutons .bouton-clair {
  width: 100%;
}
.choix-boutons .bouton-clair[aria-pressed='true'] {
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 2px var(--encre);
}
.prose .choix-boutons {
  max-width: 360px;
  margin: 18px 0 8px;
}
.choix-etat {
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--fond-3);
  box-shadow: 0 0 0 1px var(--filet-2);
}
.conversion-page {
  min-height: calc(100vh - 190px);
  display: flex;
  align-items: center;
  padding: 64px 0;
}
.conversion {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.conversion h1 {
  margin: 6px 0 0;
  font: 600 clamp(30px, 4vw, 44px) / 1.08 var(--sans);
  letter-spacing: -0.03em;
}
.conversion .sous-titre {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--gris-texte);
}
@media (max-width: 520px) {
  .bandeau-choix {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}
