/* Site de One Technologie.
   Même identité que le document de présentation et le logiciel : papier quadrillé, bleu stylo,
   surligneur jaune, titres en Outfit, texte en Inter, cartes au contour bleu. */
:root {
  --paper: #f1f1f1;
  --grid: rgba(33, 33, 33, 0.07);
  --surface: #ffffff;
  --ink: #212121;
  --ink-2: #5d5f68;
  --ink-3: #8c8e97;
  --hair: #dcdde3;
  --blue: #2d43ed;
  --blue-grid: rgba(255, 255, 255, 0.08);
  --blue-text: #2d43ed;
  --blue-soft: #e9ecfe;
  --on-blue: #ffffff;
  --on-blue-2: rgba(255, 255, 255, 0.86);
  --marker: #ffe066;
  --on-marker: #212121;
  --night: #0f0a2b;
  --on-night: #ffffff;
  --on-night-2: #c9c7dd;
  --night-line: rgba(255, 255, 255, 0.16);
  --frame: #0f0a2b;
  --logo-ink: #000000;
  --logo-fill: #ffffff;
  --shadow: 0 30px 60px -30px rgba(15, 10, 43, 0.35);
  --display: 'Outfit', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --page: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --paper: #1b1b1d;
    --grid: rgba(255, 255, 255, 0.05);
    --surface: #232326;
    --ink: #f3f3f4;
    --ink-2: #b6b7bf;
    --ink-3: #85868f;
    --hair: #37383e;
    --blue-text: #9aa5ff;
    --blue-soft: rgba(91, 108, 255, 0.2);
    --marker: #f2d04b;
    --night: #120d31;
    --frame: #000000;
    --logo-ink: #f3f3f4;
    --logo-fill: transparent;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --paper: #1b1b1d;
  --grid: rgba(255, 255, 255, 0.05);
  --surface: #232326;
  --ink: #f3f3f4;
  --ink-2: #b6b7bf;
  --ink-3: #85868f;
  --hair: #37383e;
  --blue-text: #9aa5ff;
  --blue-soft: rgba(91, 108, 255, 0.2);
  --marker: #f2d04b;
  --night: #120d31;
  --frame: #000000;
  --logo-ink: #f3f3f4;
  --logo-fill: transparent;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  /* Rien ne dépasse sur les côtés : pas de défilement de gauche à droite sur téléphone */
  overflow-x: clip;
  /* Pas de rectangle bleu au toucher, pas de zoom en pinçant ou en touchant deux fois */
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--paper);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-text);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--marker);
  color: var(--on-marker);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---------- Barre du haut : la pilule sombre du logiciel ---------- */
.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: calc(var(--page) + 40px);
  margin: 0 auto;
  padding: 14px 20px;
  transition: padding 300ms var(--ease);
}

.bar::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transition: opacity 250ms ease;
}

.bar.stuck::before {
  opacity: 1;
  border-bottom-color: var(--hair);
}

.bar.stuck {
  padding-block: 8px;
}

.logo {
  display: block;
  flex: none;
  width: 190px;
}

.logo svg {
  display: block;
  width: 100%;
  height: auto;
}

.logo path[fill='black'] {
  fill: var(--logo-ink);
}

.logo path[fill='white'] {
  fill: var(--logo-fill);
}

.menu {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  background: var(--night);
}

.menu a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--on-night-2);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.menu a:hover,
.menu a[aria-current] {
  background: var(--blue);
  color: #fff;
}

.menu .menu-cta {
  margin-left: 4px;
  background: var(--marker);
  color: var(--on-marker);
}

.menu .menu-cta:hover {
  background: #fff;
  color: #212121;
}

.bar-tools {
  display: flex;
  gap: 8px;
}

.round {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 200ms var(--ease),
    background-color 200ms ease;
}

.round:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
}

.i-sun {
  display: none;
}

:root[data-theme='dark'] .i-sun {
  display: block;
}

:root[data-theme='dark'] .i-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .i-sun {
    display: block;
  }

  :root:not([data-theme='light']) .i-moon {
    display: none;
  }
}

/* ---------- Couverture ---------- */
main {
  display: flex;
  flex-direction: column;
  gap: clamp(72px, 10vw, 128px);
  max-width: calc(var(--page) + 40px);
  margin: 0 auto;
  padding: 10px 20px 0;
}

.cover {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background-color: var(--blue);
  background-image: linear-gradient(var(--blue-grid) 1px, transparent 1px), linear-gradient(90deg, var(--blue-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--on-blue);
  padding: clamp(30px, 5vw, 64px) clamp(22px, 5vw, 64px) 0;
}

/* Le logo Ponctua sur son étiquette blanche : le bleu de sa montre ne se lirait pas sur le bandeau.
   Ses lettres prennent la couleur du texte (currentColor) : ici, toujours l'encre sombre. */
.product-logo {
  color: #212121;
  display: inline-block;
  margin-bottom: 18px;
  padding: 12px 18px;
  border-radius: 16px;
  background: #fff;
  line-height: 0;
}

.product-logo svg {
  display: block;
  width: 190px;
  height: auto;
}

.cover-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.eyebrow {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--marker);
  color: var(--on-marker);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

h1 {
  font-family: var(--display);
  font-size: clamp(44px, 8.4vw, 104px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

h1 .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0.14em 0.1em;
  margin-inline: -0.14em;
}

/* Le surligneur : il passe sur les mots quand le titre arrive */
mark.swipe {
  position: relative;
  z-index: 0;
  display: inline-block;
  padding: 0 0.12em;
  background: none;
  color: var(--on-marker);
}

mark.swipe::before {
  content: '';
  position: absolute;
  inset: 0.1em 0 0.04em;
  z-index: -1;
  border-radius: 0.14em 0.3em 0.18em 0.26em;
  background: var(--marker);
  transform: rotate(-1.2deg) scaleX(1);
  transform-origin: left center;
}

.js mark.swipe::before {
  transform: rotate(-1.2deg) scaleX(0);
  transition: transform 700ms var(--ease) 650ms;
}

.js .ready mark.swipe::before {
  transform: rotate(-1.2deg) scaleX(1);
}

.js .up {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 900ms var(--ease);
}

.js .line + .line .up {
  transition-delay: 130ms;
}

.js .ready .up {
  transform: none;
}

.lead {
  max-width: 60ch;
  color: var(--on-blue-2);
  font-size: clamp(17px, 1.6vw, 19.5px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms ease,
    background-color 200ms ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.yellow {
  border-color: #212121;
  background: var(--marker);
  color: var(--on-marker);
  box-shadow: 0 5px 0 0 #0f0a2b;
}

.btn.yellow:hover {
  box-shadow: 0 8px 0 0 #0f0a2b;
}

.btn.ghost {
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn.blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 0 0 var(--night);
}

.btn.blue:hover {
  box-shadow: 0 8px 0 0 var(--night);
}

.btn[aria-disabled='true'] {
  border-color: var(--hair);
  background: transparent;
  color: var(--ink-3);
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.stage {
  position: relative;
  margin-top: clamp(30px, 5vw, 56px);
}

.stage .desk {
  border-radius: 18px 18px 0 0;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.4);
  transform: translateY(calc(var(--shift, 0) * 26px));
}

.stage .hand {
  position: absolute;
  right: 5%;
  bottom: 6%;
  width: clamp(92px, 19%, 210px);
  border: clamp(3px, 0.6vw, 6px) solid var(--frame);
  border-radius: clamp(14px, 2.6vw, 28px);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.6);
  transform: translateY(calc(var(--shift, 0) * -46px)) rotate(3deg);
}

.sticker {
  position: absolute;
  left: 4%;
  top: -22px;
  display: flex;
  flex-direction: column;
  padding: 10px 16px 11px;
  border: 1.5px solid #212121;
  border-radius: 18px;
  background: var(--marker);
  color: #212121;
  box-shadow: 4px 5px 0 0 #0f0a2b;
  transform: rotate(-5deg);
  animation: bob 5s ease-in-out infinite;
}

.sticker b {
  font-family: var(--mono);
  font-size: clamp(18px, 2.4vw, 26px);
  line-height: 1.1;
}

.sticker i {
  font-size: 12.5px;
  font-style: normal;
  font-weight: 600;
}

@keyframes bob {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-9px);
  }
}

.js .cover-text > .eyebrow,
.js .cover-text > .lead,
.js .cover-text > .actions,
.js .cover .stage {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 700ms ease,
    transform 900ms var(--ease);
}

.js .cover-text > .eyebrow {
  transform: translateY(26px) rotate(-2deg);
}

.js .ready .cover-text > .eyebrow {
  opacity: 1;
  transform: rotate(-2deg);
}

.js .ready .cover-text > .lead,
.js .ready .cover-text > .actions,
.js .ready.cover .stage {
  opacity: 1;
  transform: none;
}

.js .cover-text > .lead {
  transition-delay: 350ms;
}

.js .cover-text > .actions {
  transition-delay: 500ms;
}

.js .cover .stage {
  transition-delay: 650ms;
}

/* ---------- Bande défilante ---------- */
.ticker {
  overflow: hidden;
  margin: calc(clamp(72px, 10vw, 128px) * -0.55) -20px;
  padding: 14px 0;
  border-block: 1.5px solid var(--ink);
  background: var(--surface);
  transform: rotate(-1.2deg);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: slide 38s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker span {
  font-family: var(--display);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 600;
  white-space: nowrap;
}

.ticker i {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--blue);
}

.ticker i:nth-of-type(even) {
  background: var(--marker);
  box-shadow: 0 0 0 1.5px var(--ink);
}

@keyframes slide {
  to {
    transform: translateX(calc(-50% - 14px));
  }
}

/* ---------- Parties ---------- */
.part {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.part-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

h2 {
  max-width: 22ch;
  font-family: var(--display);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h3 {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.intro {
  max-width: 64ch;
  color: var(--ink-2);
  font-size: 18px;
}

/* Apparition au défilement */
.js .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 900ms var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Les quatre atouts, avec les illustrations du logiciel ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 14px 14px 24px;
  border: 1.5px solid var(--blue);
  border-radius: 28px;
  background: var(--surface);
  transition:
    opacity 700ms ease,
    transform 500ms var(--ease),
    box-shadow 300ms ease;
}

.tile.in:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.tile h3,
.tile p {
  padding-inline: 8px;
}

.tile p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.illu {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin-bottom: 8px;
  border-radius: 18px;
  background-color: var(--blue);
  background-image: linear-gradient(var(--blue-grid) 1px, transparent 1px), linear-gradient(90deg, var(--blue-grid) 1px, transparent 1px);
  background-size: 24px 24px;
}

.illu svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Animations des illustrations (unités du SVG), lancées quand la carte est à l'écran */
.a-check {
  stroke-dasharray: 36;
}

.a-card,
.a-ripple,
.a-burst,
.a-pop,
.a-shake,
.a-ring,
.a-pulse,
.a-spin,
.a-float,
.a-bob {
  transform-box: fill-box;
  transform-origin: center;
}

.in .a-scan {
  animation: illu-scan 2.2s ease-in-out infinite alternate;
}

.in .a-check {
  animation: illu-draw 500ms ease-out 1s both;
}

.in .a-card {
  animation:
    illu-pop 650ms cubic-bezier(0.34, 1.56, 0.64, 1) 450ms both,
    illu-float 4.5s ease-in-out 1.3s infinite;
}

.in .a-ripple {
  animation: illu-ripple 1.6s ease-out infinite;
}

.in .a-burst,
.in .a-dots {
  animation: illu-blink 1.8s ease-in-out infinite;
}

.in .a-march {
  animation: illu-march 1.4s linear infinite;
}

.in .a-float,
.in .a-bob {
  animation: illu-float 3.6s ease-in-out infinite;
}

.in .a-pop,
.in .a-pulse {
  animation: illu-beat 2.4s ease-in-out 0.8s infinite;
}

.in .a-shake {
  animation: illu-shake 3.2s ease-in-out 1s infinite;
}

.in .a-ring {
  animation: illu-ring 2.8s ease-in-out 0.6s infinite;
}

.in .a-spin {
  animation: illu-spin 2.8s linear infinite;
}

@keyframes illu-scan {
  from {
    transform: translateY(-54px);
  }
  to {
    transform: translateY(42px);
  }
}

@keyframes illu-draw {
  from {
    stroke-dashoffset: 36;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes illu-pop {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes illu-float {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes illu-ripple {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  30% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: scale(1.4);
  }
}

@keyframes illu-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

@keyframes illu-march {
  to {
    stroke-dashoffset: -25;
  }
}

@keyframes illu-beat {
  0%,
  60%,
  100% {
    transform: none;
  }
  70% {
    transform: scale(1.18);
  }
  80% {
    transform: scale(0.96);
  }
  90% {
    transform: scale(1.05);
  }
}

@keyframes illu-shake {
  0%,
  62%,
  92%,
  100% {
    transform: none;
  }
  66% {
    transform: rotate(-6deg);
  }
  72% {
    transform: rotate(5deg);
  }
  78% {
    transform: rotate(-4deg);
  }
  84% {
    transform: rotate(2deg);
  }
}

@keyframes illu-ring {
  0%,
  30%,
  100% {
    transform: none;
  }
  4%,
  12% {
    transform: rotate(7deg);
  }
  8%,
  16% {
    transform: rotate(-7deg);
  }
  20% {
    transform: rotate(4deg);
  }
  25% {
    transform: rotate(-3deg);
  }
}

@keyframes illu-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Étapes : le trait se remplit en descendant ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  counter-reset: step;
}

.steps::before,
.steps::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 22px;
  bottom: 22px;
  width: 2px;
  border-radius: 2px;
  background: var(--hair);
}

.steps::after {
  background: var(--blue);
  transform: scaleY(var(--fill, 0));
  transform-origin: top;
}

.steps li {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 18px;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  transition:
    background-color 400ms ease,
    transform 500ms var(--ease);
}

.steps li.in::before {
  background: var(--marker);
  color: var(--on-marker);
  transform: rotate(-6deg);
}

.steps p {
  margin-top: 4px;
  color: var(--ink-2);
}

.device {
  overflow: hidden;
  border: 6px solid var(--frame);
  border-radius: 30px;
  background: var(--frame);
  box-shadow: var(--shadow);
}

.device img {
  border-radius: 24px;
}

.split .device {
  width: min(100%, 300px);
  justify-self: center;
}

.device.float.in {
  animation: device-float 6s ease-in-out 1s infinite;
}

@keyframes device-float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-12px) rotate(1.2deg);
  }
}

/* ---------- Écrans du logiciel ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 8fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.feature.flip {
  grid-template-columns: minmax(0, 8fr) minmax(0, 5fr);
}

.feature.flip .feature-text {
  order: 2;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.feature-text h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
}

/* Un petit cercle devant chaque point (demandé à la place du trait). */
.list li::before {
  content: '';
  position: absolute;
  top: 0.5em;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--blue-text);
  border-radius: 999px;
}

.shot {
  overflow: hidden;
  border: 1.5px solid var(--blue);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 500ms var(--ease);
  will-change: transform;
}

.feature .shot {
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
}

.feature.flip .shot {
  transform: perspective(1400px) rotateY(5deg) rotateX(2deg);
}

.feature .shot:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0) scale(1.015);
}

/* ---------- Téléphones ---------- */
.phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

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

.phone:nth-child(even) {
  margin-top: 36px;
}

.phone .device {
  transition: transform 500ms var(--ease);
}

.phone:hover .device {
  transform: translateY(-10px) rotate(-1.5deg);
}

.phone figcaption {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.phone figcaption p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Téléchargements ---------- */
.downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.dl {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 3vw, 36px);
  border: 1.5px solid var(--blue);
  border-radius: 32px;
  background: var(--surface);
}

.dl-icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 1.5px solid #212121;
  border-radius: 18px;
  background: var(--marker);
  color: #212121;
  box-shadow: 3px 4px 0 0 var(--night);
  transform: rotate(-4deg);
}

.tag {
  color: var(--blue-text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dl h3 {
  font-size: clamp(24px, 2.6vw, 30px);
}

.facts {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

.facts div {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--hair);
  font-size: 15.5px;
}

.facts dt {
  color: var(--ink-3);
}

.dl .btn {
  margin-top: 4px;
}

ol.mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  counter-reset: mini;
  color: var(--ink-2);
  font-size: 14.5px;
}

ol.mini li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 8px;
  counter-increment: mini;
}

ol.mini li::before {
  content: counter(mini);
  font-family: var(--mono);
  font-weight: 600;
  color: var(--blue-text);
}

/* ---------- Version 2 : la seule partie sombre ---------- */
.next {
  padding: clamp(26px, 5vw, 64px);
  border-radius: 40px;
  background: var(--night);
  color: var(--on-night);
}

.next .intro {
  color: var(--on-night-2);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 36px;
}

.next-grid li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 0;
  border-top: 1px solid var(--night-line);
  color: var(--on-night-2);
  font-size: 15.5px;
  transition: padding-left 300ms var(--ease);
}

.next-grid li:hover {
  padding-left: 10px;
}

.next-grid strong {
  color: var(--marker);
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

/* ---------- Contact et pied ---------- */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-links a {
  display: inline-flex;
  flex-direction: column;
  padding: 16px 22px;
  border: 1.5px solid var(--blue);
  border-radius: 22px;
  background: var(--surface);
  text-decoration: none;
  transition: transform 220ms var(--ease);
}

.contact-links a:hover {
  transform: translateY(-4px);
}

.contact-links small {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-links b {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  max-width: var(--page);
  margin: clamp(72px, 10vw, 128px) auto 0;
  padding: 24px 20px 40px;
  border-top: 1.5px solid var(--ink);
  color: var(--ink-2);
  font-size: 14.5px;
}

.foot .logo {
  width: 170px;
}

.foot p {
  max-width: 52ch;
}

.top-link {
  font-weight: 600;
  text-decoration: none;
}

.top-link:hover {
  color: var(--blue-text);
}

/* ---------- Pages intérieures : bandeau bleu ---------- */
.burger {
  display: none;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
}

.page-hero {
  padding: clamp(30px, 5vw, 64px);
  border-radius: 40px;
  background-color: var(--blue);
  background-image: linear-gradient(var(--blue-grid) 1px, transparent 1px), linear-gradient(90deg, var(--blue-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--on-blue);
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 30%, 380px);
  align-items: center;
  gap: clamp(16px, 4vw, 48px);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  min-width: 0;
}

.hero-illu svg,
.module-illu svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.js .hero-illu {
  opacity: 0;
  transform: translateY(30px) scale(0.92);
  transition:
    opacity 700ms ease 450ms,
    transform 900ms var(--ease) 450ms;
}

.js .ready .hero-illu {
  opacity: 1;
  transform: none;
}

/* La barre d'avancement se remplit, la flèche tombe dans son plateau */
.a-load {
  transform-box: fill-box;
  transform-origin: left center;
}

.a-drop {
  transform-box: fill-box;
  transform-origin: center;
}

.in .a-load {
  animation: illu-load 3.2s ease-in-out infinite;
}

.in .a-drop {
  animation: illu-drop 1.6s ease-in-out infinite;
}

@keyframes illu-load {
  0% {
    transform: scaleX(0.05);
  }
  70%,
  100% {
    transform: scaleX(1);
  }
}

@keyframes illu-drop {
  0%,
  100% {
    transform: translateY(-7px);
  }
  50% {
    transform: translateY(4px);
  }
}

/* Icônes : la tuile jaune des illustrations, en petit */
.ico {
  display: block;
  flex: none;
  width: 40px;
  transition: transform 350ms var(--ease);
}

.ico svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.also.roles div {
  grid-template-columns: 40px 10.5em minmax(0, 1fr);
  align-items: center;
}

.roles div:hover .ico,
.foot-col a:hover .ico {
  transform: rotate(-8deg) scale(1.14);
}

.foot-col a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.foot-col .ico {
  width: 28px;
}

.module {
  position: relative;
  padding-right: 96px;
}

.module-illu {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 68px;
  transform: rotate(4deg);
  transition: transform 400ms var(--ease);
}

.module:hover .module-illu {
  transform: rotate(-4deg) scale(1.1);
}


.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 72px);
}

.js .hero-text > .eyebrow,
.js .hero-text > .lead {
  opacity: 0;
  transition: opacity 700ms ease 350ms;
}

.js .ready .hero-text > .eyebrow,
.js .ready .hero-text > .lead {
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink-3);
}

.badge.ok::before {
  background: #1f9d57;
  box-shadow: 0 0 0 0 rgba(31, 157, 87, 0.5);
  animation: live 2s ease-out infinite;
}

@keyframes live {
  to {
    box-shadow: 0 0 0 9px rgba(31, 157, 87, 0);
  }
}

/* Cartes des logiciels */
.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.product {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: clamp(22px, 3vw, 34px);
  border: 1.5px solid var(--blue);
  border-radius: 32px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    opacity 700ms ease,
    transform 500ms var(--ease),
    box-shadow 300ms ease;
}

.product.in:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.product h3 {
  font-size: clamp(26px, 3vw, 36px);
}

.product p {
  color: var(--ink-2);
}

.product.soon {
  border-style: dashed;
}

.product-shot {
  overflow: hidden;
  margin-top: auto;
  border: 1.5px solid var(--hair);
  border-radius: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-block: 12px;
}

.chips li {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 14px;
  font-weight: 600;
}

.chips li:nth-child(3n + 2) {
  background: var(--marker);
  color: var(--on-marker);
  transform: rotate(-2deg);
}

.more {
  color: var(--blue-text);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
}

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

.slogan {
  font-family: var(--display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--blue-text);
}

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

.ico.big {
  width: 58px;
  margin-bottom: 4px;
}

.value:hover .ico {
  transform: rotate(-8deg) scale(1.1);
}

.later {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  padding: 16px 22px;
  border: 1.5px dashed var(--blue);
  border-radius: 24px;
}

.later b {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
}

.later .chips {
  margin: 0;
}

/* Engagements et points forts */
.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 24px 22px 26px;
  border: 1.5px solid var(--blue);
  border-radius: 28px;
  background: var(--surface);
}

.value p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.value-icon,
.value-num {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 6px;
  border: 1.5px solid #212121;
  border-radius: 16px;
  background: var(--marker);
  color: #212121;
  box-shadow: 3px 4px 0 0 var(--night);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  transform: rotate(-4deg);
  transition: transform 400ms var(--ease);
}

.value:hover .value-icon,
.value:hover .value-num {
  transform: rotate(4deg) scale(1.08);
}

/* Modules de la plateforme complète */
.modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.module {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding: 22px;
  border: 1.5px dashed var(--blue);
  border-radius: 24px;
  background: var(--surface);
}

.module.base {
  border-style: solid;
  background-color: var(--blue);
  background-image: linear-gradient(var(--blue-grid) 1px, transparent 1px), linear-gradient(90deg, var(--blue-grid) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--on-blue);
}

.module p {
  color: var(--ink-2);
  font-size: 15.5px;
}

.module.base p,
.module.base .tag {
  color: var(--on-blue-2);
}

.also {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 44px;
}

.also div {
  display: grid;
  grid-template-columns: 11em minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--hair);
}

.also dt {
  font-weight: 600;
}

.also dd {
  color: var(--ink-2);
  font-size: 15.5px;
}

.phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
}

.phases li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--night-line);
  color: var(--on-night-2);
  font-size: 15px;
}

.phases b {
  color: var(--marker);
  font-family: var(--mono);
  font-size: 14px;
}

.phases strong {
  color: var(--on-night);
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

/* Appels à l'action */
.cta {
  align-items: flex-start;
}

.quote {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(24px, 4vw, 48px);
  border: 1.5px solid var(--blue);
  border-radius: 32px;
  background: var(--surface);
}

.btn.line {
  border-color: var(--blue);
  background: transparent;
  color: var(--blue-text);
}

.btn.line:hover {
  background: var(--blue-soft);
}

button.btn {
  cursor: pointer;
}

/* À propos */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.card-facts {
  padding: 10px 24px;
  border: 1.5px solid var(--blue);
  border-radius: 28px;
  background: var(--surface);
}

.card-facts div {
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 14px 0;
}

.card-facts div:first-child {
  border-top: 0;
}

.card-facts dt {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.card-facts dd {
  font-family: var(--display);
  font-size: 19px;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.contact-grid .contact-links {
  flex-direction: column;
}

.contact-links div {
  display: inline-flex;
  flex-direction: column;
  padding: 16px 22px;
  border: 1.5px dashed var(--blue);
  border-radius: 22px;
}

.wrap {
  overflow-wrap: anywhere;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1.5px solid var(--blue);
  border-radius: 32px;
  background: var(--surface);
}

.form h2 {
  font-size: clamp(26px, 3vw, 34px);
}

.note {
  color: var(--ink-2);
  font-size: 15px;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--hair);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  transition: border-color 200ms ease;
}

.form textarea {
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--blue-text);
  outline: none;
}

.form-error {
  padding: 10px 14px;
  border-radius: 14px;
  background: #fde8e8;
  color: #a11a1a;
  font-size: 14.5px;
  font-weight: 600;
}

/* Pied de page en colonnes */
.foot {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: start;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.foot-col b {
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
}

.foot-col a {
  overflow-wrap: anywhere;
  text-decoration: none;
}

.foot-col a:hover {
  color: var(--blue-text);
}

.foot .foot-end {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  grid-column: 1 / -1;
  max-width: none;
  padding-top: 16px;
  border-top: 1px solid var(--hair);
}

/* ---------- Écrans étroits ---------- */
@media (max-width: 1080px) {
  .products.three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Le menu devient un panneau qui s'ouvre sous la barre */
  .burger {
    display: grid;
  }

  .menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 20px;
    left: 20px;
    z-index: 30;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    border-radius: 28px;
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
    animation: menu-in 260ms var(--ease);
  }

  .menu a {
    padding: 14px 18px;
    font-size: 16px;
  }

  .menu .menu-cta {
    margin: 4px 0 0;
    text-align: center;
  }

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

@media (max-width: 860px) {
  .split,
  .feature,
  .feature.flip,
  .downloads,
  .next-grid,
  .products,
  .products.three,
  .values.three,
  .about,
  .contact-grid,
  .also,
  .foot {
    grid-template-columns: minmax(0, 1fr);
  }

  .modules,
  .phases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 24px;
  }

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

  .page-hero {
    grid-template-columns: minmax(0, 1fr);
    border-radius: 28px;
  }

  /* Sur téléphone, le bandeau bleu ne garde que son texte */
  .hero-illu,
  .illu {
    display: none;
  }

  .tile {
    padding-top: 22px;
  }


  .feature.flip .feature-text {
    order: 0;
  }

  .feature .shot,
  .feature.flip .shot {
    transform: none;
  }

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

  .cover,
  .next {
    border-radius: 28px;
  }
}

@media (max-width: 560px) {
  .bar {
    padding-inline: 16px;
  }

  main {
    padding-inline: 16px;
  }

  .logo {
    width: 132px;
  }

  .round {
    width: 38px;
    height: 38px;
  }

  .bar-tools {
    gap: 6px;
  }

  .tiles,
  .values,
  .modules,
  .phases {
    grid-template-columns: minmax(0, 1fr);
  }

  .also div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .also.roles div {
    grid-template-columns: 40px minmax(0, 1fr);
    column-gap: 12px;
  }

  .roles .ico {
    grid-row: span 2;
  }

  .menu {
    right: 16px;
    left: 16px;
  }

  .btn {
    width: 100%;
  }

  .phone:nth-child(even) {
    margin-top: 20px;
  }

  .phones {
    gap: 14px;
  }

  .sticker {
    top: -16px;
    padding: 7px 11px 8px;
  }
}

/* ---------- Mouvements réduits : tout est en place, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .js .reveal,
  .js .cover-text > *,
  .js .hero-text > *,
  .js .hero-illu,
  .js .cover .stage,
  .js .up {
    transform: none;
  }

  .js .cover-text > .eyebrow {
    transform: rotate(-2deg);
  }

  .js mark.swipe::before {
    transform: rotate(-1.2deg) scaleX(1);
  }

  .steps::after {
    transform: none;
  }

  .stage .desk,
  .stage .hand {
    transform: none;
  }
}

/* ---------- Mise à jour d'octobre 2026 : icônes « One » du logiciel, nouveaux blocs ---------- */

/* Une icône One : son trait prend la couleur du texte, sa partie teintée le bleu de la marque */
.one-icon {
  display: block;
  flex: none;
  overflow: visible;
}

.one-icon .icon-tint {
  fill: var(--icon-tint, var(--blue));
  opacity: var(--icon-tint-opacity, 0.3);
}

/* Sur un bouton ou un fond coloré, la teinte suit le texte */
.btn .one-icon {
  width: 22px;
  height: 22px;
  --icon-tint: currentColor;
  --icon-tint-opacity: 0.28;
}

/* La pastille jaune « autocollant » du logiciel, qui porte une icône */
.oi,
.value-icon,
.dl-icon {
  --icon-tint: #2d43ed;
  --icon-tint-opacity: 0.34;
}

.oi {
  display: grid;
  flex: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1.5px solid #212121;
  border-radius: 15px;
  background: var(--marker);
  color: #212121;
  box-shadow: 3px 4px 0 0 var(--night);
  transform: rotate(-4deg);
  transition: transform 400ms var(--ease);
}

.value-icon .one-icon,
.dl-icon .one-icon {
  width: 28px;
  height: 28px;
}

/* Grille des fonctions de Ponctua */
.feats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feats.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 22px 20px 24px;
  border: 1.5px solid var(--blue);
  border-radius: 28px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    opacity 700ms ease,
    transform 500ms var(--ease),
    box-shadow 300ms ease;
}

.feat h3 {
  margin-top: 4px;
  font-size: 20px;
}

.feat p {
  color: var(--ink-2);
  font-size: 15.5px;
}

a.feat.in:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.feat:hover .oi,
.contact-links a:hover .oi,
.foot-col a:hover .oi {
  transform: rotate(5deg) scale(1.08);
}

/* Coordonnées : la pastille à gauche, le libellé et la valeur à droite */
.contact-links a,
.contact-links div {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

.contact-links a > span:last-child,
.contact-links div > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

/* Pied de page : quatre colonnes, de petites pastilles devant les liens */
.foot {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
}

.foot-col a {
  gap: 12px;
}

.foot-col .oi {
  width: 32px;
  height: 32px;
  border-radius: 11px;
  box-shadow: 2px 3px 0 0 var(--night);
}

.foot-col .oi .one-icon {
  width: 18px;
  height: 18px;
}

/* Bandeau des pages légales : une grande pastille à la place de l'illustration */
.hero-oi {
  display: grid;
  place-items: center;
}

.hero-oi .one-icon {
  width: clamp(120px, 16vw, 190px);
  height: auto;
  padding: 26px;
  border: 2px solid #212121;
  border-radius: 44px;
  background: var(--marker);
  color: #212121;
  box-shadow: 8px 10px 0 0 var(--night);
  transform: rotate(-6deg);
  --icon-tint: #2d43ed;
  --icon-tint-opacity: 0.34;
}

/* Textes légaux : une colonne de lecture dans une carte */
.legal {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px);
  border: 1.5px solid var(--blue);
  border-radius: 32px;
  background: var(--surface);
}

.legal section + section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.legal h2 {
  font-size: clamp(21px, 2.2vw, 26px);
}

.legal p {
  margin-top: 10px;
  color: var(--ink-2);
  line-height: 1.65;
}

.legal .legal-contact {
  margin-top: 30px;
  padding: 16px 20px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 15px;
  overflow-wrap: anywhere;
}

.legal-contact a {
  color: var(--blue-text);
  font-weight: 600;
}

@media (max-width: 1080px) {
  .feats,
  .feats.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .hero-oi {
    display: none;
  }
}

@media (max-width: 620px) {
  .feats,
  .feats.four,
  .foot {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .oi,
  .feat {
    transition: none !important;
  }
}

/* Liste de choix du formulaire : le bouton, puis le panneau « popup » du logiciel */
.form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.pick {
  position: relative;
}

.pick-btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border: 1.5px solid var(--hair);
  border-radius: 16px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  transition: border-color 200ms ease;
}

.pick-btn:focus-visible,
.pick.open .pick-btn {
  border-color: var(--blue-text);
  outline: none;
}

.pick-btn .one-icon {
  width: 20px;
  height: 20px;
  color: var(--ink-2);
  transition: transform 250ms var(--ease);
}

.pick.open .pick-btn .one-icon {
  transform: rotate(180deg);
}

.pick-list {
  position: absolute;
  z-index: 20;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border: 1.5px solid var(--blue);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  list-style: none;
  outline: none;
  animation: pick-in 180ms var(--ease) both;
}

.pick-list[hidden] {
  display: none;
}

@keyframes pick-in {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}

.pick-list li {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  border-radius: 14px;
  font-weight: 500;
  cursor: pointer;
}

.pick-list li.is-active {
  background: var(--blue-soft);
}

.pick-list li[aria-selected='true'] {
  color: var(--blue-text);
  font-weight: 600;
}

/* Le rond de droite : vide, ou bleu avec sa coche pour le choix retenu */
.pick-list li i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  color: transparent;
}

.pick-list li[aria-selected='true'] i {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.pick-list li i .one-icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
  --icon-tint-opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .pick-list {
    animation: none;
  }
}

/* =====================================================================================================
   Deux univers (octobre 2026)
   - One Technologie, l'entreprise (body.company) : noir, blanc et jaune, papier uni, comme son logo.
   - One Technologie Éducation (body.edu) : le bleu et le papier quadrillé, qui lui sont réservés.
   Les règles plus haut parlent de « bleu » : pour l'entreprise, ces variables prennent le noir.
   ===================================================================================================== */
body.company {
  --blue: #141414;
  --blue-text: #141414;
  --blue-soft: #ebebe8;
  --blue-grid: transparent;
  --night: #141414;
  --on-night-2: rgba(255, 255, 255, 0.78);
  --frame: #141414;
  --icon-tint: currentColor;
  --icon-tint-opacity: 0.22;
  background-image: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) body.company {
    --blue: #0b0b0c;
    --blue-text: #f3f3f4;
    --blue-soft: rgba(255, 255, 255, 0.08);
    --night: #0b0b0c;
  }
}

:root[data-theme='dark'] body.company {
  --blue: #0b0b0c;
  --blue-text: #f3f3f4;
  --blue-soft: rgba(255, 255, 255, 0.08);
  --night: #0b0b0c;
}

/* En thème sombre, les grands blocs noirs gardent un liseré pour se détacher du fond. */
body.company .cover,
body.company .page-hero,
body.company .next {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

body.company .oi,
body.company .value-icon,
body.company .hero-oi {
  --icon-tint: #141414;
  --icon-tint-opacity: 0.2;
}

body.company .round {
  border-color: var(--ink);
}

/* Menu : l'onglet ouvert en blanc sur la pilule noire ; « Éducation » s'allume en bleu, la porte de son univers. */
body.company .menu a:hover,
body.company .menu a[aria-current] {
  background: #ffffff;
  color: #141414;
}

body.company .menu .menu-edu:hover {
  background: #2d43ed;
  color: #ffffff;
}

.menu .menu-cta,
body.company .menu .menu-cta {
  background: var(--marker);
  color: var(--on-marker);
}

/* Les logos insérés dans la page passent en thème sombre (traits noirs, intérieurs blancs, devise). */
.brand-logo path[fill='black'],
.brand-logo text[fill='black'] {
  fill: var(--logo-ink);
}

.brand-logo path[fill='white'] {
  fill: var(--logo-fill);
}

.brand-logo path[stroke='black'] {
  stroke: var(--logo-ink);
}

.logo {
  width: 210px;
}

body.edu .logo {
  width: 200px;
}

/* ---------- Boutons de l'entreprise ---------- */
.btn.dark {
  border-color: #141414;
  background: #141414;
  color: #ffffff;
  box-shadow: 0 5px 0 0 var(--marker);
}

.btn.dark:hover {
  box-shadow: 0 8px 0 0 var(--marker);
}

:root[data-theme='dark'] .btn.dark {
  border-color: #f3f3f4;
  background: #f3f3f4;
  color: #141414;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .btn.dark {
    border-color: #f3f3f4;
    background: #f3f3f4;
    color: #141414;
  }
}

.btn.small {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 15px;
}

.btn.busy {
  opacity: 0.6;
  cursor: wait;
}

.actions.center {
  justify-content: center;
}

.oi.big {
  width: 58px;
  height: 58px;
  border-radius: 18px;
}

.oi.big .one-icon {
  width: 30px;
  height: 30px;
}

/* ---------- Accueil : plusieurs services autour d'une seule équipe ---------- */
.cover.company {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(20px, 4vw, 56px);
  padding-bottom: clamp(30px, 5vw, 64px);
}

.cover.company .eyebrow {
  color: var(--on-marker);
}

.orbit {
  position: relative;
  container-type: inline-size;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin-inline: auto;
}

.orbit-track {
  position: absolute;
  inset: 9%;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.orbit-track.t2 {
  inset: 26%;
  border: 1.5px solid rgba(255, 224, 102, 0.35);
}

.orbit-core {
  position: absolute;
  inset: 31%;
  display: grid;
  place-items: center;
  --logo-ink: #ffffff;
  --logo-fill: transparent;
}

.orbit-core .crown {
  fill: var(--marker);
}

.orbit-core svg {
  width: 100%;
  height: auto;
  overflow: visible;
  animation: core-bob 6s ease-in-out infinite;
}

.orbit-core::before {
  content: '';
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 224, 102, 0.3), transparent 70%);
  animation: core-glow 4s ease-in-out infinite;
}

@keyframes core-bob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

@keyframes core-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }
  50% {
    opacity: 1;
    transform: scale(1.06);
  }
}

.orbit-ring {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: orbit-turn 70s linear infinite;
}

.orbit-ring li {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--i) * 45deg)) translateY(-41cqi) rotate(calc(var(--i) * -45deg));
}

.orbit-ring span {
  position: absolute;
  display: block;
  padding: 9px 15px 10px;
  border: 1.5px solid #141414;
  border-radius: 999px;
  background: #ffffff;
  color: #141414;
  font-family: var(--display);
  font-size: clamp(12px, 3.3cqi, 15.5px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 3px 4px 0 0 rgba(0, 0, 0, 0.55);
  transform: translate(-50%, -50%);
  animation: orbit-back 70s linear infinite;
}

.orbit-ring li.hi span {
  background: var(--marker);
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-back {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

.js .cover .orbit {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 800ms ease 500ms,
    transform 1000ms var(--ease) 500ms;
}

.js .ready.cover .orbit {
  opacity: 1;
  transform: none;
}

/* ---------- Une fenêtre sur l'univers Éducation, dans les pages de l'entreprise ---------- */
.edu-promo,
.branch.edu {
  --blue: #2d43ed;
  --blue-text: #2d43ed;
  --blue-soft: #e9ecfe;
  --night: #0f0a2b;
  --icon-tint: #2d43ed;
  border: 1.5px solid #2d43ed;
  background-color: var(--surface);
  background-image: linear-gradient(rgba(45, 67, 237, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 67, 237, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

:root[data-theme='dark'] .edu-promo,
:root[data-theme='dark'] .branch.edu {
  --blue-text: #9aa5ff;
  --blue-soft: rgba(91, 108, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .edu-promo,
  :root:not([data-theme='light']) .branch.edu {
    --blue-text: #9aa5ff;
    --blue-soft: rgba(91, 108, 255, 0.2);
  }
}

.edu-promo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(24px, 4vw, 52px);
  border-radius: 40px;
}

.edu-promo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.edu-promo-logo svg {
  display: block;
  width: min(260px, 70vw);
  height: auto;
}

.edu-promo-illu svg,
.feature-illu svg {
  display: block;
  width: 100%;
  max-width: 380px;
  height: auto;
  margin-inline: auto;
  overflow: visible;
}

/* ---------- Services ---------- */
.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: calc(clamp(72px, 10vw, 128px) * -0.5);
}

.jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 200ms var(--ease),
    background-color 200ms ease;
}

.jump a:hover {
  background: var(--marker);
  color: var(--on-marker);
  transform: translateY(-2px);
}

.jump .one-icon {
  width: 20px;
  height: 20px;
}

.svcs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.svc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(22px, 3vw, 38px);
  border: 1.5px solid var(--ink);
  border-radius: 32px;
  background: var(--surface);
  scroll-margin-top: 110px;
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.svc:hover,
.svc:target {
  transform: translateY(-4px);
  box-shadow: 6px 8px 0 0 var(--marker);
}

.svc-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.svc-head h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.svc .list {
  flex: 1;
}

.svc .btn {
  align-self: flex-start;
}

/* ---------- Réalisations ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filters button {
  padding: 9px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font: 600 14.5px var(--body);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.filters button:hover {
  background: var(--marker);
  color: var(--on-marker);
}

.filters button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}

.works {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}

.work {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  background: var(--surface);
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.work:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 0 0 var(--marker);
}

.work[hidden] {
  display: none;
}

.work-shot {
  display: block;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper);
}

.work-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 700ms var(--ease);
}

.work:hover .work-shot img {
  transform: scale(1.04);
}

.work-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 20px 22px 24px;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
}

.work .tag {
  color: var(--ink);
}

.work-type {
  color: var(--ink-3);
  font-size: 13px;
  font-weight: 600;
}

.work h3 {
  font-size: 24px;
}

.work dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.work dt {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
}

.work .more {
  margin-top: auto;
  color: var(--ink);
  text-decoration: none;
}

.work .more:hover {
  text-decoration: underline;
  text-decoration-color: var(--marker);
  text-decoration-thickness: 3px;
}

.works-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(26px, 5vw, 56px);
  border: 1.5px dashed var(--ink);
  border-radius: 32px;
  text-align: center;
}

.works-empty[hidden] {
  display: none;
}

.works-empty p {
  max-width: 48ch;
  color: var(--ink-2);
}

/* ---------- À propos : les deux parties ---------- */
.branches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.branch {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(22px, 3.5vw, 40px);
  border: 1.5px solid var(--ink);
  border-radius: 32px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms var(--ease);
}

.branch:hover {
  transform: translateY(-4px);
  box-shadow: 6px 8px 0 0 var(--marker);
}

.branch-logo svg {
  display: block;
  width: min(250px, 66vw);
  height: auto;
}

.branch p {
  color: var(--ink-2);
}

.branch .more {
  margin-top: auto;
  color: var(--blue-text);
}

/* ---------- Questions fréquentes ---------- */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 880px;
}

.faq details {
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  background: var(--surface);
}

.faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-family: var(--display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1.5px solid #212121;
  border-radius: 999px;
  background: var(--marker);
  color: #212121;
  font-family: var(--body);
  font-weight: 700;
  transform: translateY(-50%);
  transition: transform 300ms var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq details p {
  padding-bottom: 20px;
  color: var(--ink-2);
}

/* ---------- Formulaire de devis ---------- */
.form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-body[hidden],
.form-done[hidden],
.form-fallback[hidden] {
  display: none;
}

.form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.req {
  color: #d12b2b;
  font-style: normal;
}

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

.form-consent {
  color: var(--ink-3);
  font-size: 13.5px;
}

.form-fallback {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--hair);
  color: var(--ink-2);
  font-size: 15px;
}

.form-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: clamp(20px, 4vw, 44px) 0;
  text-align: center;
  outline: none;
}

.form-done p {
  max-width: 44ch;
  color: var(--ink-2);
}

/* ---------- Sous-navigation de l'Éducation ---------- */
.subnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: calc(var(--page) + 40px);
  margin: 0 auto 8px;
  padding: 0 20px;
}

.subnav a {
  padding: 7px 14px;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: var(--surface);
  color: var(--blue-text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.subnav a:hover,
.subnav a[aria-current] {
  background: var(--blue);
  color: #ffffff;
}

.subnav .sub-cta,
.subnav .sub-cta:hover {
  border-color: #212121;
  background: var(--marker);
  color: var(--on-marker);
}

.foot-brand .btn {
  align-self: flex-start;
}

/* ---------- Bouton WhatsApp, toujours à portée ---------- */
.wa-float {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border: 1.5px solid #141414;
  border-radius: 999px;
  background: var(--marker);
  color: #141414;
  font-family: var(--display);
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 3px 4px 0 0 #141414;
  transition: transform 220ms var(--ease);
}

.wa-float:hover {
  transform: translateY(-3px) rotate(-2deg);
}

/* ---------- Écrans étroits ---------- */
@media (max-width: 960px) {
  .cover.company,
  .edu-promo,
  .svcs,
  .branches {
    grid-template-columns: minmax(0, 1fr);
  }

  .orbit {
    max-width: 380px;
  }

  .edu-promo-illu {
    display: none;
  }
}

@media (max-width: 600px) {
  .form-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .wa-float {
    padding: 13px;
  }

  .wa-float span {
    display: none;
  }

  .logo {
    width: 170px;
  }

  .orbit-ring li {
    transform: rotate(calc(var(--i) * 45deg)) translateY(-37cqi) rotate(calc(var(--i) * -45deg));
  }

  .orbit-ring span {
    padding: 7px 11px 8px;
  }

  .subnav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .subnav a {
    flex: none;
  }
}

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
  .orbit-ring,
  .orbit-ring span,
  .orbit-core svg,
  .orbit-core::before {
    animation: none;
  }

  .js .cover .orbit {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* En thème sombre, le noir de l'entreprise sert aux grands blocs : les contours des cartes passent au gris clair. */
:root[data-theme='dark'] body.company :is(.btn.line, .card-facts, .contact-links a, .contact-links div, .dl, .feat, .form, .later, .module, .pick-list, .product, .quote, .shot, .tile, .value, .legal) {
  border-color: rgba(255, 255, 255, 0.28);
}

:root[data-theme='dark'] body.company .pick-list li[aria-selected='true'] i {
  border-color: #f3f3f4;
  background: #f3f3f4;
  color: #141414;
}

:root[data-theme='dark'] body.company .edu-promo .btn.line {
  border-color: #2d43ed;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) body.company :is(.btn.line, .card-facts, .contact-links a, .contact-links div, .dl, .feat, .form, .later, .module, .pick-list, .product, .quote, .shot, .tile, .value, .legal) {
    border-color: rgba(255, 255, 255, 0.28);
  }

  :root:not([data-theme='light']) body.company .pick-list li[aria-selected='true'] i {
    border-color: #f3f3f4;
    background: #f3f3f4;
    color: #141414;
  }

  :root:not([data-theme='light']) body.company .edu-promo .btn.line {
    border-color: #2d43ed;
  }
}

/* Le surligneur des titres de bandeau ne se fait pas couper par le bas. */
.page-hero h1 .line {
  padding-bottom: 0.24em;
  margin-bottom: -0.1em;
}

/* ---------- One Technologie Éducation : l'en-tête et le pied de page repris de One Technologie ----------
   Demandé le 17 octobre 2026 : pas de menu sur l'Éducation, seulement le bouton « One Technologie » pour revenir à
   l'entreprise ; le grand pied de page arrondi, en bleu nuit quadrillé avec le bouton jaune. Le reste des pages
   garde le dessin de l'Éducation. */
.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 250ms var(--ease),
    box-shadow 250ms var(--ease);
}

.pill-btn .arrow {
  display: grid;
  width: 34px;
  height: 34px;
  flex: none;
  place-items: center;
  border-radius: 999px;
  transition: transform 300ms var(--ease);
}

.pill-btn .arrow svg {
  width: 15px;
  height: 15px;
}

.pill-btn:hover {
  transform: translateY(-2px);
}

/* Le bouton « One Technologie » : le noir de l'entreprise, avec son symbole à la couronne. */
.pill-btn.back-one {
  background: #0b0b0b;
  color: #ffffff;
  box-shadow: 0 14px 28px -12px rgba(0, 0, 0, 0.45);
}

.pill-btn.back-one .arrow {
  background: #ffffff;
}

.pill-btn.back-one .arrow svg {
  width: 62%;
  height: auto;
  margin-top: -8%;
}

.pill-btn.back-one .arrow svg path[fill='white'] {
  fill: transparent;
}

.pill-btn.back-one:hover .arrow {
  transform: scale(1.08);
}

.pill-btn.yellow {
  background: var(--marker);
  color: #212121;
  box-shadow: 0 0 34px -6px rgba(255, 224, 102, 0.7);
}

.pill-btn.yellow .arrow {
  background: #0f0a2b;
  color: #ffffff;
}

.pill-btn.yellow:hover .arrow {
  transform: rotate(45deg);
}

:root[data-theme='dark'] .pill-btn.back-one {
  background: #f4f4f4;
  color: #0b0b0b;
}

:root[data-theme='dark'] .pill-btn.back-one .arrow {
  background: #0b0b0b;
}

:root[data-theme='dark'] .pill-btn.back-one .arrow svg path[fill='black'] {
  fill: #ffffff;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .pill-btn.back-one {
    background: #f4f4f4;
    color: #0b0b0b;
  }

  :root:not([data-theme='light']) .pill-btn.back-one .arrow {
    background: #0b0b0b;
  }

  :root:not([data-theme='light']) .pill-btn.back-one .arrow svg path[fill='black'] {
    fill: #ffffff;
  }
}

/* Le pied de page : un grand bloc arrondi bleu, quadrillé comme le cahier (bleu demandé le 17 octobre 2026). */
.end {
  margin: clamp(80px, 10vw, 128px) clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px);
  padding: clamp(56px, 7vw, 100px) clamp(20px, 4vw, 60px) 28px;
  border-radius: 32px;
  background-color: var(--blue);
  background-image: linear-gradient(var(--blue-grid) 1px, transparent 1px), linear-gradient(90deg, var(--blue-grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #ffffff;
}

.end-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.end-cta h2 {
  max-width: 900px;
  font-family: var(--display);
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
}

.end-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: clamp(56px, 7vw, 96px);
}

.end-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.end-brand .brand-logo {
  width: 210px;
  height: auto;
}

/* Sur le bleu, le logo passe en blanc, « Éducation » en jaune. */
.end .brand-logo path[fill='black'],
.end .brand-logo path[fill='#2D43ED'] {
  fill: #ffffff;
}

.end .brand-logo path[fill='white'] {
  fill: transparent;
}

.end .brand-logo text[fill='#2D43ED'] {
  fill: var(--marker);
}

.end-brand p,
.end-col a,
.end-bottom,
.end-tools {
  color: rgba(255, 255, 255, 0.82);
}

.end-brand p {
  max-width: 34ch;
  font-size: 15px;
}

.end-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.end-col b {
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
}

.end-col a {
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.end-col a:hover {
  color: var(--marker);
}

.end-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 46px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 14px;
}

.end-bottom a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

/* La langue et le thème, en bas de page : seulement sur téléphone, où la barre du haut manque de place. */
.end-tools {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
}

.end-tools span:first-child {
  margin-right: auto;
}

.end-tools .round {
  border-color: rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
}

@media (max-width: 1080px) {
  .end-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .end-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .top-actions .round {
    display: none;
  }

  .end-tools {
    display: flex;
  }

  .pill-btn.back-one {
    min-height: 44px;
    padding: 5px 16px;
    font-size: 14.5px;
  }

  .pill-btn.back-one .arrow {
    display: none;
  }
}

/* Sur téléphone, le logo de l'Éducation prend la même place que celui de One Technologie (132 px),
   pour que le bouton « One Technologie » tienne à côté sans sortir de l'écran. */
@media (max-width: 560px) {
  body.edu .bar .logo {
    width: 132px;
  }

  body.edu .bar {
    padding-inline: 14px;
  }
}

@media (max-width: 340px) {
  body.edu .bar .logo {
    width: 116px;
  }

  .pill-btn.back-one {
    padding: 5px 13px;
    font-size: 14px;
  }
}

/* La flèche des boutons : la flèche « One », tournée vers le haut à droite ; elle se redresse au survol. */
.arrow-icon {
  transform: rotate(-45deg);
  stroke-width: 2.2;
}

.i-moon,
.i-sun {
  line-height: 0;
}

.i-moon .one-icon,
.i-sun .one-icon {
  width: 19px;
  height: 19px;
}

/* ---------- Pour les lecteurs d'écran seulement ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Scènes d'objets dessinés (version Éducation de docs/illustrations) ---------- */
/* Trois objets : un grand au centre, deux petits dans les coins. Ils flottent par les propriétés translate et scale,
   jamais transform, qui effacerait l'inclinaison écrite dans le dessin. */
.edu-scene {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.edu-scene .objet {
  position: absolute;
  height: auto;
}

.edu-scene .big {
  top: 16%;
  left: 14%;
  width: 72%;
}

.edu-scene .sa {
  top: 0;
  left: 0;
  width: 34%;
}

.edu-scene .sb {
  right: 0;
  bottom: 0;
  width: 36%;
}

/* Dans le bandeau bleu, un disque clair derrière les objets : leurs parties bleues restent visibles. */
.hero-scene::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: #e9ecfe;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
}

.hero-illu.edu-scene .objet.big {
  width: 72%;
}

.hero-illu.edu-scene .objet.sa {
  width: 34%;
}

.hero-illu.edu-scene .objet.sb {
  width: 36%;
}

.edu-scene.in .objet .a-float,
.edu-scene.in .objet .a-bob {
  animation: edu-obj-float 4.4s ease-in-out infinite;
}

.edu-scene.in .sa .a-float,
.edu-scene.in .sa .a-bob {
  animation-delay: 0.7s;
}

.edu-scene.in .sb .a-float,
.edu-scene.in .sb .a-bob {
  animation-delay: 1.4s;
}

.edu-scene.in .objet .a-pop {
  animation: edu-obj-pop 2.6s ease-in-out 0.8s infinite;
}

@keyframes edu-obj-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes edu-obj-pop {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.07;
  }
}

/* Hors du bandeau bleu, en thème sombre : un liseré blanc tout autour, comme un autocollant découpé,
   pour que les traits et l'ombre noirs restent visibles. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .edu-scene:not(.hero-scene) .objet {
    filter: drop-shadow(1.6px 0 0 #f4f4f4) drop-shadow(-1.6px 0 0 #f4f4f4) drop-shadow(0 1.6px 0 #f4f4f4) drop-shadow(0 -1.6px 0 #f4f4f4);
  }
}

:root[data-theme='dark'] .edu-scene:not(.hero-scene) .objet {
  filter: drop-shadow(1.6px 0 0 #f4f4f4) drop-shadow(-1.6px 0 0 #f4f4f4) drop-shadow(0 1.6px 0 #f4f4f4) drop-shadow(0 -1.6px 0 #f4f4f4);
}

/* ---------- « Un site web pour votre établissement » : une carte en deux colonnes ---------- */
.site-offer {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 5vw, 64px);
  border: 1.5px solid var(--blue);
  border-radius: 32px;
  background: var(--surface);
}

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

.site-offer-text h2 {
  max-width: 16ch;
}

.site-scene {
  width: min(100%, 340px);
}

/* ---------- Choix en pastilles (formulaires de l'Éducation) ---------- */
.edu-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.edu-choices-title {
  width: 100%;
  margin-bottom: 2px;
  font-size: 14.5px;
  font-weight: 600;
}

.form .edu-chip {
  position: relative;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  padding: 9px 15px;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease;
}

.form .edu-chip:hover {
  border-color: var(--blue-text);
}

.form .edu-chip input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

.form .edu-chip:has(input:checked) {
  border-color: var(--blue);
  background: var(--blue);
  color: #ffffff;
}

.form .edu-chip:has(input:focus-visible) {
  outline: 2px solid var(--blue-text);
  outline-offset: 2px;
}

/* Une case cochée a sa coche, pour ne pas dépendre de la seule couleur. */
.form .edu-chip:has(input[type='checkbox']:checked)::before {
  content: '';
  width: 11px;
  height: 6px;
  margin-right: 8px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(-2px) rotate(-45deg);
}

.edu-done-ico {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1.5px solid #212121;
  border-radius: 20px;
  background: var(--marker);
  color: #212121;
  box-shadow: 5px 6px 0 0 var(--night);
  transform: rotate(-5deg);
}

.edu-done-ico .one-icon {
  width: 32px;
  height: 32px;
}

/* ---------- La fenêtre du devis d'un site d'école ---------- */
.edu-dialog {
  width: min(680px, calc(100vw - 24px));
  max-width: none;
  max-height: min(720px, calc(100dvh - 24px));
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.edu-dialog::backdrop {
  background: rgba(15, 10, 43, 0.55);
  backdrop-filter: blur(3px);
}

.edu-dialog[open] {
  animation: edu-dialog-in 380ms var(--ease);
}

@keyframes edu-dialog-in {
  from {
    opacity: 0;
    translate: 0 24px;
    scale: 0.97;
  }
}

.edu-dialog .edu-form {
  display: flex;
  max-height: min(720px, calc(100dvh - 24px));
  flex-direction: column;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.edu-dialog-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--hair);
}

.edu-dialog-head h2 {
  font-size: clamp(22px, 2.4vw, 26px);
}

.edu-dialog-head .note {
  margin-top: 4px;
  font-size: 14px;
}

.edu-dialog-ico {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1.5px solid #212121;
  border-radius: 15px;
  background: var(--marker);
  color: #212121;
  box-shadow: 3px 4px 0 0 var(--night);
  transform: rotate(-5deg);
}

.edu-dialog-ico .one-icon {
  width: 24px;
  height: 24px;
}

.edu-dialog-close {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1.5px solid var(--hair);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.edu-dialog-close:hover {
  border-color: var(--blue-text);
}

.edu-dialog-close .one-icon {
  width: 18px;
  height: 18px;
}

.edu-dialog .form-body {
  min-height: 0;
  flex: 1;
  gap: 0;
}

.edu-steps-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 14px 22px 4px;
  list-style: none;
}

.edu-steps-bar li {
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 600;
}

.edu-steps-bar li::before {
  content: '';
  display: block;
  height: 5px;
  margin-bottom: 6px;
  border-radius: 999px;
  background: var(--hair);
  transition: background-color 300ms ease;
}

.edu-steps-bar li.done::before {
  background: var(--blue-text);
}

.edu-steps-bar li.on {
  color: var(--ink);
}

.edu-steps-bar li.on::before {
  background: var(--marker);
}

.edu-dialog-body {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 14px 22px 18px;
  overflow-y: auto;
  scrollbar-color: var(--hair) transparent;
  scrollbar-width: thin;
}

.edu-dialog-body::-webkit-scrollbar {
  width: 8px;
}

.edu-dialog-body::-webkit-scrollbar-thumb {
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--hair);
}

.edu-dialog-body::-webkit-scrollbar-thumb:hover {
  background: var(--blue-text);
}

.edu-step {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.edu-step[hidden] {
  display: none;
}

.edu-step.enter {
  animation: edu-step-in 400ms var(--ease);
}

@keyframes edu-step-in {
  from {
    opacity: 0;
    translate: 18px 0;
  }
}

.edu-dialog-foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 22px 20px;
  border-top: 1px solid var(--hair);
}

.edu-dialog-foot [data-edu-back] {
  margin-right: auto;
}

.edu-dialog-foot [hidden] {
  display: none;
}

.edu-dialog-foot .btn,
.demo-send .btn {
  min-height: 48px;
  padding: 11px 22px;
  font-size: 16px;
}

.edu-dialog .form-done {
  padding: 40px 24px;
}

/* ---------- Page « Demander une démonstration » ---------- */
.demo {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
}

.demo-side {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.demo-side h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.demo-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-steps li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.demo-num {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1.5px solid #212121;
  border-radius: 13px;
  background: var(--marker);
  color: #212121;
  font-family: var(--display);
  font-size: 19px;
  font-weight: 700;
  box-shadow: 3px 4px 0 0 var(--night);
  transform: rotate(-4deg);
}

.demo-steps li:nth-child(even) .demo-num {
  transform: rotate(4deg);
}

.demo-steps h3 {
  font-size: 18px;
}

.demo-steps p {
  margin-top: 3px;
  color: var(--ink-2);
  font-size: 15px;
}

.demo-free {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}

.demo-free .one-icon {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--blue-text);
}

.demo-form .form-body {
  gap: 16px;
}

.demo-group {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px dashed var(--hair);
  color: var(--blue-text);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.demo-send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 4px;
}

.demo-send .form-consent {
  max-width: 34ch;
}

@media (max-width: 960px) {
  .site-offer,
  .demo {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-scene {
    width: min(70%, 280px);
    grid-row: 1;
  }

  .demo-side {
    position: static;
  }
}

@media (max-width: 560px) {
  .edu-dialog-head {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 18px 16px 14px;
  }

  .edu-dialog-ico {
    display: none;
  }

  .edu-steps-bar,
  .edu-dialog-body,
  .edu-dialog-foot {
    padding-inline: 16px;
  }

  .edu-steps-bar li span {
    display: none;
  }

  .demo-send .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edu-scene .objet *,
  .edu-dialog[open],
  .edu-step.enter {
    animation: none !important;
  }
}

/* ---------- Grands écrans (9 novembre 2026) : la page prend toute la largeur ----------
   Au-delà de 1 440 px, la page s'élargit avec l'écran (moins une marge de chaque côté) au lieu de s'arrêter à 1 180 px. */
@media (min-width: 1440px) {
  :root {
    --page: calc(100vw - 140px);
  }
}

/* ---------- Fenêtres (9 novembre 2026) : tant qu'une fenêtre est ouverte, la page ne défile plus ----------
   Un clic à côté ne la ferme plus non plus (script.js) : on la ferme par sa croix, ses boutons ou la touche Échap. */
html:has(dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable;
}

/* Bloc hors de l'écran (classe posée par script.js) : ses animations en boucle sont en pause, pour ne pas recalculer
   à chaque image des dessins que personne ne voit. Elles reprennent là où elles en étaient. */
.offscreen,
.offscreen::before,
.offscreen::after,
.offscreen *,
.offscreen *::before,
.offscreen *::after {
  animation-play-state: paused !important;
}

/* ---------- Éducation : la barre du haut suit la logique de One Technologie (17 novembre 2026) ----------
   Demandé par l'utilisateur : « la même logique de l'en-tête sur la page de l'Éducation, même taille, même animation ».
   Quatre états, posés par script.js sur .bar :
   - en haut de page (pas de « stuck ») : la barre entière, sans fond ;
   - « hide » : on descend, elle est cachée ;
   - « mini » : on remonte, seule la tête du logo (le rond coiffé de la toque) reste, dans une pastille, au centre ;
   - « mini open » : pastille survolée, touchée ou atteinte au clavier, le fond s'étire jusqu'à la barre entière.
   Mêmes mesures que la barre de l'entreprise : 1 080 px au plus, fond de 64 px à 12 px du bord de l'écran. */
body.edu .bar,
body.edu .bar.stuck {
  z-index: 30;
  width: min(1080px, 100%);
  max-width: none;
  height: 76px;
  gap: 12px;
  padding: 12px clamp(28px, 3.2vw, 48px) 0;
  transition: translate 420ms var(--ease);
}
body.edu .bar.hide {
  translate: 0 -84px;
}
body.edu .bar::before,
body.edu .bar.stuck::before {
  top: 12px;
  bottom: auto;
  left: clamp(10px, 1.6vw, 24px);
  right: clamp(10px, 1.6vw, 24px);
  width: auto;
  height: 64px;
  transform: none;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 34px -22px rgba(20, 28, 90, 0.45);
  opacity: 0;
  clip-path: inset(-12px -24px -40px -24px round 999px);
  transition:
    opacity 250ms ease,
    clip-path 460ms var(--ease);
}
body.edu .bar.stuck::before {
  opacity: 1;
}
body.edu .bar.mini:not(.open)::before,
body.edu .bar.hide::before {
  clip-path: inset(6px calc(50% - 26px) round 999px);
}
body.edu .bar.mini:not(.open)::before {
  transition:
    opacity 250ms ease,
    clip-path 380ms var(--ease) 60ms;
}
body.edu .bar.hide::before {
  transition:
    opacity 250ms ease,
    clip-path 0s linear 380ms;
}
body.edu .bar > .logo,
body.edu .bar > .top-actions {
  transition:
    opacity 240ms ease 140ms,
    translate 420ms var(--ease) 60ms,
    visibility 0s;
}
body.edu .bar.mini:not(.open),
body.edu .bar.hide {
  pointer-events: none;
}
body.edu .bar.mini:not(.open) > .logo,
body.edu .bar.mini:not(.open) > .top-actions,
body.edu .bar.hide > .logo,
body.edu .bar.hide > .top-actions {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 140ms ease,
    translate 220ms ease,
    visibility 0s linear 140ms;
}
body.edu .bar.hide > .logo,
body.edu .bar.hide > .top-actions {
  transition-delay: 380ms;
}
body.edu .bar.mini:not(.open) > .logo {
  translate: 48px 0;
}
body.edu .bar.mini:not(.open) > .top-actions {
  translate: -48px 0;
}
/* La pastille : la tête du logo, un vrai bouton. */
body.edu .bar-pill {
  position: absolute;
  top: 18px;
  left: calc(50% - 26px);
  z-index: 1;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--blue);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition:
    opacity 120ms ease,
    visibility 0s linear 120ms;
}
body.edu .bar.mini:not(.open) .bar-pill {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 220ms ease 140ms,
    visibility 0s;
}
/* En sombre, le bleu du symbole ne se lit pas sur le fond foncé : la pastille devient un rond blanc. */
:root[data-theme='dark'] body.edu .bar-pill {
  background: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) body.edu .bar-pill {
    background: #ffffff;
  }
}
body.edu .bar-pill > span {
  display: block;
  width: 27px;
  margin: -3px -4px 0 0;
}
body.edu .bar-pill svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
body.edu .bar-pill:focus-visible {
  outline-offset: 2px;
}
/* Mêmes tailles que la barre de l'entreprise. */
body.edu .bar .logo {
  width: 150px;
}
body.edu .bar .top-actions {
  gap: 7px;
}
body.edu .bar .top-actions .round {
  width: 32px;
  height: 32px;
  border-width: 1px;
}
body.edu .bar .top-actions .round svg {
  width: 15px;
  height: 15px;
}
body.edu .bar .pill-btn.back-one {
  min-height: 34px;
  padding: 3px 3px 3px 13px;
  gap: 8px;
  box-shadow: none;
  font-size: 13.5px;
}
body.edu .bar .pill-btn.back-one .arrow {
  width: 27px;
  height: 27px;
}
/* La langue : un bouton « FR ⌄ » qui ouvre une liste de deux choix. */
body.edu .lang-pick {
  position: relative;
}
body.edu .lang-btn {
  display: inline-flex;
  height: 32px;
  align-items: center;
  gap: 3px;
  padding: 0 7px 0 11px;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms ease;
}
body.edu .lang-btn svg {
  width: 14px;
  height: 14px;
  transition: rotate 220ms var(--ease);
}
body.edu .lang-btn:hover,
body.edu .lang-pick.open .lang-btn {
  background: var(--blue-soft);
}
body.edu .lang-pick.open .lang-btn svg {
  rotate: 180deg;
}
body.edu .lang-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 50;
  min-width: 172px;
  margin: 0;
  padding: 6px;
  border: 1.5px solid var(--blue);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 36px -20px rgba(20, 28, 90, 0.5);
  list-style: none;
  animation: edu-list-in 200ms var(--ease) both;
}
body.edu .lang-list[hidden] {
  display: none;
}
body.edu .lang-list:focus {
  outline: none;
}
body.edu .lang-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 10px 9px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
body.edu .lang-list li.is-active {
  background: var(--blue-soft);
}
body.edu .lang-list:focus-visible li.is-active {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
body.edu .lang-list li[aria-selected='true'] {
  font-weight: 600;
}
body.edu .lang-tick svg {
  width: 16px;
  height: 16px;
}
body.edu .lang-list li[aria-selected='false'] .lang-tick {
  visibility: hidden;
}
@keyframes edu-list-in {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}
/* Le logo : à l'arrivée, la toque tombe et se pose sur le rond, puis le sourire apparaît ; au survol, la toque
   fait un petit saut. La pastille rejoue la chute à chaque apparition. */
body.edu .bar .logo svg {
  overflow: visible;
}
body.edu .bar .crown {
  transform-box: fill-box;
  transform-origin: 30% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  body.edu .bar .logo:not(.logo-done) .crown {
    animation: crown-drop 900ms cubic-bezier(0.3, 0.7, 0.4, 1) 250ms both;
  }
  body.edu .bar .logo:not(.logo-done) .smile {
    animation: smile-in 500ms ease-out 1000ms both;
  }
  body.edu .bar .logo.logo-done:hover .crown,
  body.edu .bar .logo.logo-done:focus-visible .crown {
    animation: crown-hop 560ms var(--ease);
  }
  body.edu .bar.mini:not(.open) .bar-pill .crown {
    animation: crown-drop 800ms cubic-bezier(0.3, 0.7, 0.4, 1) 160ms both;
  }
}
@keyframes crown-drop {
  0% {
    opacity: 0;
    translate: 0 -75%;
    rotate: -14deg;
  }
  40% {
    opacity: 1;
  }
  62% {
    translate: 0 5%;
    rotate: 5deg;
  }
  80% {
    translate: 0 -9%;
    rotate: -2deg;
  }
  100% {
    opacity: 1;
    translate: 0 0;
    rotate: 0deg;
  }
}
@keyframes crown-hop {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  40% {
    translate: 0 -24%;
    rotate: -9deg;
  }
  72% {
    translate: 0 3%;
    rotate: 2deg;
  }
}
@keyframes smile-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 560px) {
  body.edu .bar .logo {
    width: 132px;
  }
  body.edu .bar,
  body.edu .bar.stuck {
    padding-inline: 26px;
  }
  body.edu .bar .lang-pick {
    display: none;
  }
  body.edu .bar .pill-btn.back-one {
    padding: 3px 13px;
  }
}
@media (max-width: 340px) {
  body.edu .bar .logo {
    width: 116px;
  }
}
/* Mouvement réduit : les états changent sans transition, rien ne bouge. */
@media (prefers-reduced-motion: reduce) {
  body.edu .bar,
  body.edu .bar::before,
  body.edu .bar > .logo,
  body.edu .bar > .top-actions,
  body.edu .bar-pill,
  body.edu .lang-btn svg {
    transition: none !important;
  }
  body.edu .bar.mini:not(.open) > .logo,
  body.edu .bar.mini:not(.open) > .top-actions {
    translate: none;
  }
  body.edu .lang-list {
    animation: none;
  }
}
