/* Site de One Technologie — partie entreprise.
   Dessin « platine » (8 novembre 2026, demandé par l'utilisateur d'après la page Real Madrid Platinum et deux captures
   de couleurs) : Blackstone #212529, Whiteout #E9ECEF, noir #0B0D0F et gris argent, titres en dégradé métallique,
   verre dépoli (bloc « Verre » plus bas). Plus d'or ni de couleur vive : seul le bleu de One Technologie Éducation
   (#2D43ED, bouton et encart) reste dans ces pages. Contrôle : node site/outils/verifier-platine.mjs.
   Rôles des couleurs :
   --accent / --accent-ink : surfaces et touches argent, fixes dans les deux thèmes (texte noir dessus) ;
   --btn / --btn-ink : le bouton plein, Blackstone en clair, Whiteout en sombre et dans les blocs sombres ;
   --tint / --tint-2 : aplats gris clair, fixes (texte noir dessus) ; --deep : grandes surfaces sombres, fixes. */
:root {
  --page: #e9ecef;
  --mist: #dee2e6;
  --mist-2: #ced4da;
  --card: #f8f9fa;
  --ink: #212529;
  --ink-2: #495057;
  --ink-3: #6c757d;
  --line: #ced4da;
  --night: #0b0d0f;
  --night-2: #16191c;
  --night-line: rgba(255, 255, 255, 0.08);
  --deep: #16191c;
  --deep-2: #212529;
  --accent: #ced4da;
  --accent-ink: #0b0d0f;
  --btn: #212529;
  --btn-ink: #f8f9fa;
  --tint: #dee2e6;
  --tint-2: #f1f3f5;
  --stone: #212529;
  --whiteout: #e9ecef;
  --silver: #adb5bd;
  --steel: #6c757d;
  --on-dark: #e9ecef;
  --on-dark-2: rgba(233, 236, 239, 0.68);
  --logo-ink: #212529;
  --logo-fill: #f8f9fa;
  --logo-gold: #495057;
  --title-grad: linear-gradient(180deg, #0b0d0f 0%, #212529 45%, #6c757d 100%);
  --shadow: 0 24px 48px -24px rgba(33, 37, 41, 0.3);
  --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);
  --wide: 1380px;
  --text: 1140px;
  --radius: 32px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --page: #0b0d0f;
    --mist: #121417;
    --mist-2: #1b1e21;
    --card: #16191c;
    --ink: #e9ecef;
    --ink-2: #adb5bd;
    --ink-3: #868e96;
    --line: #2b3035;
    --night: #050607;
    --night-2: #121417;
    --btn: #e9ecef;
    --btn-ink: #0b0d0f;
    --logo-ink: #e9ecef;
    --logo-fill: transparent;
    --logo-gold: #aeb4ba;
    --title-grad: linear-gradient(180deg, #ffffff 0%, #e9ecef 38%, #8e959c 100%);
    --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
    color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --page: #0b0d0f;
  --mist: #121417;
  --mist-2: #1b1e21;
  --card: #16191c;
  --ink: #e9ecef;
  --ink-2: #adb5bd;
  --ink-3: #868e96;
  --line: #2b3035;
  --night: #050607;
  --night-2: #121417;
  --btn: #e9ecef;
  --btn-ink: #0b0d0f;
  --logo-ink: #e9ecef;
  --logo-fill: transparent;
  --logo-gold: #aeb4ba;
  --title-grad: linear-gradient(180deg, #ffffff 0%, #e9ecef 38%, #8e959c 100%);
  --shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}

/* Les blocs toujours sombres (sections sombres, bas de page) : bouton clair, titres argentés clairs. */
.on-dark,
.dark-section,
.panel.dark,
.panel.deep {
  --btn: #e9ecef;
  --btn-ink: #0b0d0f;
  --logo-gold: #aeb4ba;
  --title-grad: linear-gradient(180deg, #ffffff 0%, #e9ecef 38%, #8e959c 100%);
}

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

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

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: clip;
  touch-action: pan-y;
}

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

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

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

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(30px, 4.05vw, 53px);
  line-height: 1.02;
}

h3 {
  font-size: 19.5px;
  line-height: 1.2;
}

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

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

.skip:focus {
  top: 12px;
}

/* Icônes « One » : le trait suit le texte, la partie teintée aussi, en plus léger. */
.one-icon {
  display: block;
  flex: none;
  overflow: visible;
  --icon-tint: currentColor;
}

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

/* Logos insérés dans la page : ils suivent le thème. */
.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);
}

/* Demandé par l'utilisateur (17 octobre 2026) : le « n », le « e », le contour du rond, la couronne et la bouche en or. */
.brand-logo path.logo-gold {
  fill: var(--accent);
}

.brand-logo path.logo-gold-line {
  stroke: var(--accent);
}

/* Sur le fond argent de l’en-tête « One Technologie » du comparatif, les parties argent du logo passent au gris foncé. */
.compare-head.us .brand-logo path.logo-gold {
  fill: #111111;
}

.compare-head.us .brand-logo path.logo-gold-line {
  stroke: #111111;
}

.on-dark .brand-logo {
  --logo-ink: #f4f4f4;
  --logo-fill: transparent;
}

.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;
  }
}

/* ---------- Mise en page ---------- */
main {
  display: flex;
  flex-direction: column;
  gap: clamp(90px, 11vw, 150px);
  padding: 0 clamp(12px, 2vw, 30px);
}

.wrap {
  width: 100%;
  max-width: var(--text);
  margin-inline: auto;
}

/* Un panneau arrondi, avec deux fins traits verticaux comme le modèle. */
.panel {
  position: relative;
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  border-radius: var(--radius);
  background: var(--mist);
  isolation: isolate;
}

.panel.dark {
  background: var(--night);
  color: var(--on-dark);
}

.panel.deep {
  background: var(--deep);
  color: var(--on-dark);
}

:root[data-theme='dark'] .panel.dark {
  box-shadow: inset 0 0 0 1px var(--night-line);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .panel.dark {
    box-shadow: inset 0 0 0 1px var(--night-line);
  }
}

.lines::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent calc(14% - 1px), var(--panel-line, rgba(0, 0, 0, 0.05)) calc(14% - 1px), var(--panel-line, rgba(0, 0, 0, 0.05)) 14%, transparent 14%),
    linear-gradient(90deg, transparent 86%, var(--panel-line, rgba(0, 0, 0, 0.05)) 86%, var(--panel-line, rgba(0, 0, 0, 0.05)) calc(86% + 1px), transparent calc(86% + 1px));
  pointer-events: none;
}

.panel.dark,
.panel.deep {
  --panel-line: rgba(255, 255, 255, 0.07);
}

.center {
  text-align: center;
}

/* ---------- Petite pastille « • texte • » ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

.tag::before,
.tag::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: currentColor;
}

.panel.dark .tag,
.panel.deep .tag {
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
}

.tag.solid {
  background: var(--mist);
}

/* ---------- Boutons pilule, avec leur rond à flèche ---------- */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 6px 6px 20px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 250ms var(--ease),
    background-color 200ms 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);
}

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

/* Le bouton plein : Blackstone en thème clair, Whiteout en thème sombre et dans les blocs sombres (--btn). */
.pill-btn.dark,
.pill-btn.accent {
  background: var(--btn);
  color: var(--btn-ink);
}

.pill-btn.dark .arrow,
.pill-btn.accent .arrow {
  background: var(--btn-ink);
  color: var(--btn);
}

.pill-btn.white {
  background: #f8f9fa;
  color: #0b0d0f;
}

.pill-btn.white .arrow {
  background: #0b0d0f;
  color: #f8f9fa;
}

.pill-btn.line {
  padding: 6px 20px;
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.panel.dark .pill-btn.line,
.panel.deep .pill-btn.line {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.pill-btn.line:hover {
  background: var(--ink);
  color: var(--page);
}

.pill-btn.wide {
  justify-content: space-between;
  width: 100%;
}

.pill-btn:disabled,
.pill-btn.busy {
  opacity: 0.6;
  cursor: wait;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

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

/* ---------- Barre du haut : le logo, les liens au centre, puis « Éducation », la langue et le thème ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px clamp(14px, 2vw, 30px);
  transition: padding 250ms var(--ease);
}

.top::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 250ms ease;
}

.top.stuck::before {
  opacity: 1;
}

.top.stuck {
  padding-block: 9px;
}

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

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

.top-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

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

.top-nav a {
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}

.top-nav a:hover {
  color: var(--ink);
}

.top-nav a[aria-current] {
  background: var(--card);
  color: var(--ink);
  font-weight: 600;
}

/* Le petit point d'or sous la page ouverte */
.top-nav a[aria-current]::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--accent);
}

.top-tools {
  display: flex;
  gap: 6px;
}

.top-tools .round {
  width: 44px;
  height: 44px;
  border-color: var(--line);
  color: var(--ink);
}

.top-tools .round:hover {
  background: var(--mist);
}

/* Le bouton du menu ne sert que quand les liens ne tiennent plus dans la barre. */
@media (min-width: 1181px) {
  .menu-btn,
  .menu-panel {
    display: none !important;
  }
}

@media (max-width: 1180px) {
  .top {
    display: flex;
    justify-content: space-between;
  }

  .top-nav {
    display: none;
  }
}

@media (min-width: 1181px) and (max-width: 1320px) {
  .top-nav a {
    padding-inline: 11px;
    font-size: 13px;
  }

  .brand {
    width: 170px;
  }
}

@media (max-width: 760px) {
  .top-tools {
    display: none;
  }
}

.menu-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 200ms ease;
}

.menu-btn:hover {
  background: var(--mist-2);
}

.menu-btn span {
  position: relative;
  display: block;
  width: 16px;
  height: 7px;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 300ms var(--ease), top 300ms var(--ease);
}

.menu-btn span::before {
  top: 0;
}

.menu-btn span::after {
  top: 5px;
}

.menu-btn[aria-expanded='true'] span::before {
  top: 2.5px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded='true'] span::after {
  top: 2.5px;
  transform: rotate(-45deg);
}

/* Le menu : une carte qui s'ouvre sous le bouton, sur ordinateur comme sur téléphone. */
.menu-panel {
  position: absolute;
  top: calc(100% - 4px);
  right: clamp(14px, 2vw, 30px);
  display: none;
  width: min(380px, calc(100vw - 28px));
  flex-direction: column;
  gap: 4px;
  padding: 14px;
  border-radius: 26px;
  background: var(--night);
  color: var(--on-dark);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

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

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

.menu-panel a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 16px;
  color: var(--on-dark);
  font-family: var(--display);
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  transition: background-color 200ms ease;
}

.menu-panel a:hover,
.menu-panel a[aria-current] {
  background: rgba(255, 255, 255, 0.08);
}

.menu-panel a[aria-current]::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.menu-panel .menu-edu small {
  padding: 3px 9px;
  border-radius: 999px;
  background: #2d43ed;
  color: #ffffff;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
}

.menu-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 6px 2px;
  border-top: 1px solid var(--night-line);
  color: var(--on-dark-2);
  font-size: 12.5px;
}

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

.round {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.round:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ---------- Couverture de l'accueil ---------- */
.hero {
  padding: clamp(60px, 9vw, 110px) clamp(18px, 4vw, 60px) clamp(10px, 1vw, 10px);
}

.hero-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(37px, 5.81vw, 81px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

@media (prefers-color-scheme: dark) {
}

.chev path {
  animation: chev 1.6s ease-in-out infinite;
}

.chev path:nth-child(2) {
  animation-delay: 0.15s;
}

.chev path:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes chev {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.hero-sub {
  max-width: 720px;
  color: var(--ink-2);
  font-size: clamp(15px, 1.36vw, 17px);
  line-height: 1.7;
}

/* Les mots surlignés de la phrase sous le titre */
.hl {
  display: inline;
  padding: 3px 8px;
  border-radius: 8px;
  color: var(--ink);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl.tint {
  background: var(--tint);
  color: #111111;
}

.hl.white {
  background: var(--card);
}

.hl.dark {
  background: var(--night);
  color: #ffffff;
}

:root[data-theme='dark'] .hl.dark {
  background: #f4f4f4;
  color: #111111;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .hl.dark {
    background: #f4f4f4;
    color: #111111;
  }
}

.hl.accent {
  background: var(--accent);
  color: #111111;
}

.bars {
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  align-items: end;
  gap: 8px;
  height: 64px;
  margin-top: auto;
}

.bars i {
  height: var(--h, 40%);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.09);
}

.bars i.on {
  background: var(--tint);
}

/* ---------- Bande de confiance, puis défilement des services ---------- */
.trust {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  width: 100%;
  max-width: var(--text);
  margin: calc(clamp(90px, 11vw, 150px) * -0.55) auto 0;
}

.trust-text {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 36px;
  border-right: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.35;
}

.trust-text .stack {
  display: flex;
}

.trust-text .stack span {
  display: grid;
  width: 36px;
  height: 36px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid var(--page);
  border-radius: 999px;
  color: #111111;
}

.trust-text .stack span:first-child {
  margin-left: 0;
}

.trust-text .stack .one-icon {
  width: 18px;
  height: 18px;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  animation: slide 40s linear infinite;
}

.marquee-track span {
  color: var(--ink);
  font-family: var(--display);
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  opacity: 0.7;
}

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

/* ---------- Section sombre : notre façon de voir, puis les services en onglets ---------- */
.dark-section {
  padding: clamp(70px, 9vw, 130px) clamp(18px, 7vw, 90px) clamp(60px, 7vw, 100px);
}

.dark-section .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.statement {
  max-width: 980px;
  font-family: var(--display);
  font-size: clamp(24.5px, 3.17vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
}

.statement em {
  color: var(--accent);
  font-style: normal;
}

.team-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.team-row .tile {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 20px;
  color: #111111;
}

.team-row .tile .one-icon {
  width: 36px;
  height: 36px;
  --icon-tint-opacity: 0.18;
}

.tile.accent {
  background: var(--accent);
}

.tile.tint {
  background: var(--tint);
}

.tile.tint-2 {
  background: var(--tint-2);
}

.tile.white {
  background: #ffffff;
}

.team-illus {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.team-illus .objet {
  width: clamp(72px, 9vw, 124px);
  height: auto;
  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);
}

.team-row p {
  max-width: 300px;
  margin-left: 18px;
  color: var(--on-dark-2);
  font-size: 13.5px;
}

.dark-section .sub-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: clamp(70px, 9vw, 120px);
}

/* Les services en onglets : la liste numérotée, puis le panneau du service choisi. */
.tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(20px, 4vw, 56px);
  width: 100%;
  margin-top: 16px;
}

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

.tab-list button {
  display: flex;
  align-items: baseline;
  gap: 14px;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: rgba(244, 244, 244, 0.55);
  font-family: var(--display);
  font-size: clamp(19.5px, 2.11vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 250ms ease,
    color 250ms ease;
}

.tab-list button small {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}

.tab-list button:hover {
  color: var(--on-dark);
}

.tab-list button[aria-selected='true'] {
  background: var(--night-2);
  color: #ffffff;
}

.tab-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 100%;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
  background: var(--night-2);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.show {
  animation: panel-in 450ms var(--ease) both;
}

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

.tab-visual {
  display: grid;
  height: 220px;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: #111111;
}

.tab-visual .one-icon {
  width: 92px;
  height: 92px;
  --icon-tint-opacity: 0.18;
}

.tab-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.tab-panel p {
  color: var(--on-dark-2);
  font-size: 14.5px;
}

.tab-panel ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-panel li {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--on-dark);
  font-size: 12.5px;
}

.tab-panel .pill-btn {
  align-self: flex-start;
}

/* La bande sable qui ferme la section sombre : les outils avec lesquels nous travaillons, avec leur logo. */
.band {
  overflow: hidden;
  margin-top: clamp(60px, 7vw, 90px);
  margin-inline: calc(clamp(18px, 7vw, 90px) * -1);
  margin-bottom: calc(clamp(60px, 7vw, 100px) * -1);
  padding: 22px 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--tint);
}

/* Le titre de la bande, comme un tampon penché posé à cheval entre le fond sombre et la bande sable. */
.band-stamp,
.stamp {
  position: relative;
  font-family: var(--display);
  white-space: nowrap;
  z-index: 2;
  width: fit-content;
  margin: clamp(60px, 7vw, 90px) auto -27px;
  padding: 10px 26px;
  border: 3px solid #111111;
  border-radius: 6px;
  outline: 2px solid #111111;
  outline-offset: -9px;
  background: var(--accent);
  color: #111111;
  font-size: clamp(16.5px, 1.76vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-align: center;
  transform: rotate(-4deg);
}

.band-stamp + .band {
  margin-top: 0;
  padding-top: 40px;
}

.band .marquee-track {
  gap: 34px;
  animation-name: band-slide;
  animation-duration: 70s;
}

/* Deux fois la même liste : un demi-tour, plus la moitié de l'écart, et la bande reprend sans saut. */
@keyframes band-slide {
  to {
    transform: translateX(calc(-50% - 17px));
  }
}

.band .tech {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #111111;
  font-size: 17.5px;
  opacity: 1;
}

.band .tech i {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border-radius: 12px;
  background: #ffffff;
}

.band .tech svg {
  width: 24px;
  height: 24px;
}

/* ---------- Titres de section centrés ---------- */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 56px);
  text-align: center;
}

.section-head p {
  max-width: 560px;
  color: var(--ink-2);
  font-size: 15px;
}

.split-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.split-head > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Barre de navigateur des captures (pages des projets). */
.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid #ececec;
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #dcdcdc;
}

.browser-bar b {
  flex: 1;
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #5f5f5f;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
}

/* ---------- Réalisations : grande image, panneau sombre à droite ---------- */
.cases {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.case {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  background: var(--mist);
}

.case[hidden] {
  display: none;
}

.case-shot {
  position: absolute;
  inset: 0;
  margin: 0;
}

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

.case:hover .case-shot img {
  transform: scale(1.03);
}

.case-info {
  position: relative;
  display: flex;
  width: min(360px, calc(100% - 20px));
  flex-direction: column;
  gap: 14px;
  margin: 10px 10px 10px auto;
  padding: 22px;
  border-radius: 22px;
  background: rgba(11, 11, 11, 0.94);
  color: var(--on-dark);
  backdrop-filter: blur(6px);
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.case-tags span {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 11.5px;
  font-weight: 600;
}

.case-info h3 {
  font-size: 26.5px;
}

.case-info p {
  color: var(--on-dark-2);
  font-size: 13.5px;
}

.case-resume {
  color: var(--on-dark-2);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Les chiffres ---------- */
.numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
  text-align: center;
}

.numbers b {
  display: block;
  font-family: var(--display);
  font-size: clamp(47.5px, 6.16vw, 81px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.numbers b i {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.numbers b em {
  color: var(--tint);
  font-style: normal;
}

.numbers span {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 15px;
}

/* ---------- Notre méthode : la carte grise et le rond sombre ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: 30px;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
}

.how-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 24px;
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--mist);
}

.how-card h2 {
  font-size: clamp(30px, 2.99vw, 40.5px);
}

.how-card > p {
  color: var(--ink-2);
  font-size: 13.5px;
  text-align: right;
}

/* Le parcours, du premier échange à la livraison : trois objets sur un chemin en pointillé qui avance. */
.how-illu {
  position: relative;
  align-self: end;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  background: var(--tint);
}

.how-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #111111;
  stroke-width: 2.5;
  stroke-dasharray: 2 10;
  stroke-linecap: round;
  animation: how-march 1.2s linear infinite;
}

@keyframes how-march {
  to {
    stroke-dashoffset: -24;
  }
}

.how-illu .obj {
  position: absolute;
  width: 44%;
  line-height: 0;
}

.how-illu .obj .objet {
  width: 100%;
  height: auto;
}

.how-illu .o1 {
  top: 3%;
  left: 3%;
}

.how-illu .o2 {
  top: 31%;
  right: 4%;
}

.how-illu .o3 {
  bottom: 2%;
  left: 12%;
}

.how-card .count {
  align-self: end;
  text-align: right;
}

.how-card .count b {
  display: block;
  font-family: var(--display);
  font-size: clamp(61.5px, 7.04vw, 97px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.how-card .count span {
  display: block;
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 13px;
}

.circle {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  aspect-ratio: 1;
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
  padding: 12%;
  border-radius: 999px;
  background: var(--deep);
  color: var(--on-dark);
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.025);
}

.circle > b {
  font-family: var(--display);
  font-size: 17.5px;
  font-weight: 600;
}

.step-card {
  display: flex;
  width: 100%;
  min-height: 200px;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 26px 22px;
  border-radius: 24px;
  background: var(--accent);
  color: #111111;
  text-align: center;
}

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

.step-card.show {
  animation: panel-in 500ms var(--ease) both;
}

.step-illu {
  position: relative;
  display: block;
  width: 108px;
  line-height: 0;
}

.step-illu .objet {
  width: 100%;
  height: auto;
}

.step-illu .num {
  position: absolute;
  right: -10px;
  bottom: 0;
  box-shadow: 0 0 0 3px var(--accent);
}

.step-card .num {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  font-family: var(--display);
  font-size: 12.5px;
  font-weight: 600;
}

.step-card h3 {
  font-size: clamp(23px, 2.29vw, 30px);
}

.step-card p {
  max-width: 34ch;
  font-size: 13.5px;
}

.step-dots {
  display: flex;
  gap: 8px;
}

.step-dots button {
  width: 64px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.step-dots button[aria-current='true'] {
  background: #ffffff;
}

/* ---------- Comparaison ---------- */
.compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 30px;
}

.compare-head {
  display: grid;
  min-height: 70px;
  place-items: center;
  padding: 0 20px;
  border-radius: 12px;
  background: var(--night-2);
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
  text-align: center;
}

.compare-head.us {
  background: var(--accent);
  color: #111111;
}

.compare-head.us .brand-logo {
  width: 170px;
  height: auto;
  --logo-ink: #111111;
  --logo-fill: transparent;
}

.compare ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 26px;
  padding-inline: 10%;
}

.compare li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--on-dark-2);
  font-size: 14.5px;
}

.compare .us-list li {
  color: var(--on-dark);
  font-weight: 500;
}

.compare li svg {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 4px;
}

.compare .us-list svg {
  color: var(--accent);
}

.quote-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 690px;
  margin: clamp(80px, 9vw, 110px) auto 0;
  padding: 46px 40px 30px;
  text-align: center;
  border-radius: 22px;
  background: var(--night-2);
}

.quote-card blockquote {
  color: rgba(244, 244, 244, 0.82);
  font-family: var(--display);
  font-size: clamp(19.5px, 1.94vw, 24.5px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.quote-card .stamp {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-4deg);
}

.quote-card p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--on-dark-2);
  font-size: 12.5px;
}

.quote-card p b {
  color: #ffffff;
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
}

/* ---------- L'île Éducation : le seul endroit bleu des pages de l'entreprise ---------- */
.edu-island {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 52px);
  border: 1.5px solid #2d43ed;
  border-radius: var(--radius);
  background-color: var(--card);
  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;
}

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

.edu-island-text .brand-logo {
  width: min(250px, 70vw);
  height: auto;
}

.edu-island-text p {
  color: var(--ink-2);
}

.edu-island h2 {
  font-size: clamp(26.5px, 2.99vw, 38.5px);
}

.edu-island .shot {
  overflow: hidden;
  border: 1.5px solid #2d43ed;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  transition: transform 500ms var(--ease);
}

.edu-island .shot:hover {
  transform: rotate(0) translateY(-4px);
}

.edu-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  background: #2d43ed;
  color: #ffffff;
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 250ms var(--ease);
}

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

.edu-btn .arrow {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #2d43ed;
}

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

/* ---------- Pages intérieures : la couverture grise ---------- */
.page-top {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 4vw, 60px) clamp(50px, 6vw, 80px);
}

.page-top .hero-head h1 {
  font-size: clamp(35px, 4.93vw, 67px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

/* Raccourcis vers les services */
.jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: calc(clamp(90px, 11vw, 150px) * -0.6);
}

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

.jump a:hover {
  background: var(--accent);
  color: #111111;
}

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

/* Les services, un par carte */
.svcs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.svc {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 28px;
  background: var(--mist);
  scroll-margin-top: 100px;
}

.svc:target {
  box-shadow: 0 0 0 3px var(--accent);
}

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.svc-top .tile {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border-radius: 18px;
  color: #111111;
}

.svc-top .tile .one-icon {
  width: 30px;
  height: 30px;
  --icon-tint-opacity: 0.18;
}

.svc-illu {
  display: block;
  width: 118px;
  margin: -10px 0 -6px -8px;
  line-height: 0;
}

.svc-illu .objet {
  width: 100%;
  height: auto;
}

.svc-top small {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
}

.svc h2 {
  font-size: clamp(24.5px, 2.46vw, 33.5px);
}

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

.svc ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.svc li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
}

.svc li::before {
  content: '';
  width: 8px;
  height: 8px;
  flex: none;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

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

/* Filtres des réalisations */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.filters button {
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink);
  font: 600 13px var(--body);
  cursor: pointer;
  transition: background-color 200ms ease;
}

.filters button:hover {
  background: var(--mist-2);
}

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

:root[data-theme='dark'] .filters button[aria-pressed='true'] {
  background: var(--accent);
  color: #111111;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .filters button[aria-pressed='true'] {
    background: var(--accent);
    color: #111111;
  }
}

.works-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 28px;
  background: var(--mist);
  text-align: center;
}

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

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

/* À propos */
.facts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.facts div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 22px;
  background: var(--mist);
}

.facts dt {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}

.facts dd {
  font-family: var(--display);
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.duo-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(26px, 3.5vw, 40px);
  border-radius: 28px;
  background: var(--night);
  color: var(--on-dark);
  text-decoration: none;
  transition: transform 300ms var(--ease);
}

.duo-card:hover {
  transform: translateY(-4px);
}

.duo-card .brand-logo {
  width: min(250px, 66vw);
  height: auto;
  --logo-ink: #f4f4f4;
  --logo-fill: transparent;
}

.duo-card p {
  color: var(--on-dark-2);
}

.duo-card .pill-btn {
  margin-top: auto;
}

.duo-card .pill-btn.edu-pill .arrow {
  color: #2d43ed;
}

.duo-card.edu {
  border: 1.5px solid #2d43ed;
  background-color: var(--card);
  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;
  color: var(--ink);
}

.duo-card.edu .brand-logo {
  --logo-ink: var(--ink);
}

:root:not([data-theme='dark']) .duo-card.edu .brand-logo {
  --logo-ink: #000000;
  --logo-fill: #ffffff;
}

.duo-card.edu p {
  color: var(--ink-2);
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.value {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 24px;
  background: var(--mist);
}

.value:nth-child(1) {
  background: var(--tint-2);
  color: #111111;
}

.value:nth-child(4) {
  background: var(--deep);
  color: var(--on-dark);
}

.value-illu {
  display: block;
  width: 124px;
  margin: -10px 0 8px -10px;
  line-height: 0;
}

.value-illu .objet {
  width: 100%;
  height: auto;
}

/* Sur la carte sombre, l'objet garde son liseré blanc ; sur la carte crème, il n'en a jamais besoin. */
.value:nth-child(4) .value-illu .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);
}

.value:nth-child(1) .value-illu .objet {
  filter: none;
}

.value p {
  opacity: 0.75;
  font-size: 13.5px;
}

/* Contact et formulaire */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  align-items: start;
  gap: 16px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-cards a,
.contact-cards div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: var(--mist);
  text-decoration: none;
  transition: background-color 200ms ease;
}

.contact-cards a:hover {
  background: var(--mist-2);
}

.contact-cards .tile {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border-radius: 14px;
  color: #111111;
}

.contact-cards .tile .one-icon {
  width: 22px;
  height: 22px;
}

.contact-cards small {
  display: block;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
}

.contact-cards b {
  display: block;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.form {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: 28px;
  background: var(--mist);
}

.form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form h2 {
  font-size: clamp(24.5px, 2.64vw, 33.5px);
}

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

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

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

.form textarea {
  resize: vertical;
}

.form input:focus,
.form textarea:focus {
  border-color: var(--ink);
  outline: 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-error {
  padding: 10px 14px;
  border-radius: 14px;
  background: #fde8e8;
  color: #a11a1a;
  font-size: 13px;
  font-weight: 600;
}

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

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

.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 .tile {
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 22px;
  background: var(--accent);
  color: #111111;
}

.form-done .tile .one-icon {
  width: 34px;
  height: 34px;
}

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

/* Listes de choix du formulaire */
.pick {
  position: relative;
}

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

.pick-btn:focus-visible,
.pick.open .pick-btn {
  border-color: var(--ink);
  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-radius: 20px;
  background: var(--night);
  color: var(--on-dark);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  list-style: none;
  outline: none;
  animation: menu-in 180ms var(--ease) both;
}

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

.pick-list li {
  display: flex;
  min-height: 44px;
  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: rgba(255, 255, 255, 0.08);
}

.pick-list li i {
  display: grid;
  width: 24px;
  height: 24px;
  flex: none;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: transparent;
}

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

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

/* Questions fréquentes */
.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
}

.faq details {
  padding: 0 24px;
  border-radius: 22px;
  background: var(--mist);
  transition: background-color 200ms ease;
}

.faq details[open] {
  background: var(--tint-2);
  color: #111111;
}

.faq summary {
  position: relative;
  padding: 22px 50px 22px 0;
  font-family: var(--display);
  font-size: clamp(16px, 1.58vw, 18.5px);
  font-weight: 600;
  letter-spacing: -0.01em;
  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: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--night);
  color: #ffffff;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 500;
  transform: translateY(-50%);
  transition: transform 300ms var(--ease);
}

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

.faq details p {
  padding-bottom: 22px;
  opacity: 0.8;
}

/* La réponse, et à droite l'objet qui l'illustre : il arrive quand la question s'ouvre. */
.faq-a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: center;
  gap: 18px;
}

.faq-illu {
  display: block;
  margin: -14px 0 8px;
  line-height: 0;
}

.faq-illu .objet {
  width: 100%;
  height: auto;
  filter: none;
}

.faq details[open] .faq-illu {
  animation: faq-illu-in 600ms var(--ease) both;
}

@keyframes faq-illu-in {
  from {
    opacity: 0;
    transform: translateY(14px) rotate(-8deg) scale(0.85);
  }
}

@media (max-width: 560px) {
  .faq-a {
    grid-template-columns: minmax(0, 1fr) 76px;
    gap: 10px;
  }
}

/* Textes légaux */
.legal {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  border-radius: 28px;
  background: var(--mist);
}

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

.legal h2 {
  font-size: clamp(19.5px, 1.94vw, 24.5px);
}

.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(--card);
  color: var(--ink);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.legal-contact a {
  font-weight: 600;
}

/* « En bref », en tête de la politique de confidentialité */
.legal-brief {
  margin-bottom: 30px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 20px;
  background: var(--card);
}

.legal-brief h2 {
  font-size: clamp(17.5px, 1.76vw, 21px);
}

.legal-brief ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.legal-brief li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.legal-brief li svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #111111;
}

/* La politique complète de Ponctua, repliée */
.legal-more {
  margin-top: 16px;
  border-radius: 18px;
  background: var(--card);
}

.legal-more summary {
  padding: 14px 18px;
  font-weight: 600;
  cursor: pointer;
}

.legal-more-body {
  padding: 0 18px 18px;
}

.legal-more-body h2 {
  font-size: 16px;
}

.legal .legal-more-body section + section {
  margin-top: 18px;
  padding-top: 16px;
}

.legal .pill-btn {
  margin-top: 4px;
}

@media (max-width: 640px) {
  .legal-brief ul {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Pied de page : le grand bloc vert sombre ---------- */
.end {
  margin: clamp(90px, 11vw, 150px) clamp(8px, 1vw, 16px) clamp(8px, 1vw, 16px);
  padding: clamp(60px, 8vw, 110px) clamp(20px, 4vw, 60px) 28px;
}

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

.end-cta h2 {
  max-width: 900px;
  font-size: clamp(38.5px, 6.16vw, 88px);
  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(60px, 8vw, 100px);
}

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

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

.end-brand p {
  max-width: 34ch;
  color: var(--on-dark-2);
  font-size: 13px;
}

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

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

.end-col a {
  color: var(--on-dark-2);
  font-size: 13px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

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

.end-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--night-line);
  color: var(--on-dark-2);
  font-size: 12.5px;
}

.end-bottom a {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}

/* ---------- 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-radius: 999px;
  background: var(--accent);
  color: #111111;
  font-family: var(--display);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 220ms var(--ease);
}

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

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

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

/* ---------- Écrans moyens et étroits ---------- */
@media (max-width: 1080px) {
.how,
.tabs,
.contact,
.edu-island {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

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

  .trust {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .trust-text {
    justify-content: center;
    padding-right: 0;
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .svcs,
  .duo,
  .numbers,
  .compare,
  .form-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .case {
    min-height: 0;
  }

  .case-shot {
    position: relative;
    aspect-ratio: 16 / 10;
  }

  .case-info {
    width: auto;
    margin: -40px 10px 10px;
  }

  .how-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-card > p {
    text-align: left;
  }

  .compare ul {
    padding-inline: 0;
  }

  .team-row p {
    margin-left: 0;
  }

  .circle {
    border-radius: 40px;
    aspect-ratio: auto;
    padding: 40px 22px;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 150px;
  }

  .top .pill-btn span:first-child {
    display: none;
  }

  .top .pill-btn {
    padding: 6px;
  }

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

  .wa-float {
    padding: 13px;
  }

  .wa-float span {
    display: none;
  }
}

/* ---------- Mouvements réduits : tout est en place, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .marquee-track,
  .live-dot::before,
  .chev path,
  .menu-panel.open,
  .tab-panel.show,
  .step-card.show,
  .pick-list {
    animation: none;
  }
.pill-btn,
.pill-btn .arrow,
.case-shot img {
    transition: none;
  }
}

.compare li {
  text-align: left;
}

/* Le pied de page garde une petite marge sur les côtés, sans dépasser de l'écran. */
.end.panel {
  width: auto;
  max-width: none;
}

/* ---------- Bouton « Éducation » de la barre du haut, et l'aperçu qui s'ouvre au survol ---------- */
.edu-mark {
  display: block;
  width: 92%;
  height: auto;
  margin: -10% 0 0 6%;
}

.peek {
  position: relative;
}

.pill-btn.edu-pill {
  background: #2d43ed;
  color: #ffffff;
}

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

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

.peek-card {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 50;
  display: flex;
  width: 380px;
  flex-direction: column;
  gap: 10px;
  padding: 10px 10px 14px;
  border: 1.5px solid #2d43ed;
  border-radius: 24px;
  background-color: #ffffff;
  background-image: linear-gradient(rgba(45, 67, 237, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 67, 237, 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  color: #141629;
  text-decoration: none;
  box-shadow: 0 30px 60px -24px rgba(15, 10, 43, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition:
    opacity 220ms ease,
    transform 300ms var(--ease),
    visibility 0s linear 300ms;
}

/* Un pont invisible entre le bouton et l'aperçu, pour que le survol ne se perde pas en chemin. */
.peek-card::before {
  content: '';
  position: absolute;
  inset: -16px 0 auto;
  height: 16px;
}

.peek-card img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(15, 10, 43, 0.12);
}

.peek-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 6px;
}

.peek-text b {
  color: #2d43ed;
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
}

.peek-text span {
  color: #4b4f66;
  font-size: 12.5px;
}

@media (hover: hover) {
  .peek:hover .peek-card,
  .peek:focus-within .peek-card {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 220ms ease,
      transform 300ms var(--ease),
      visibility 0s;
  }
}

@media (max-width: 760px) {
  .peek-card {
    display: none;
  }
}

/* Sur téléphone, le bouton « Éducation » garde son nom. */
@media (max-width: 560px) {
  .top .pill-btn.edu-pill span:first-child {
    display: inline;
    font-size: 13px;
  }

  .top .pill-btn.edu-pill {
    padding: 5px 5px 5px 14px;
  }

  .brand {
    width: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .peek-card {
    transform: none;
    transition: none;
  }
}

/* Très petits téléphones (320 px) : le logo et le bouton « Éducation » se resserrent pour tenir sur une ligne. */
@media (max-width: 340px) {
  .brand {
    width: 112px;
  }

  .top-actions {
    gap: 6px;
  }

  .top .pill-btn.edu-pill {
    gap: 8px;
    padding-left: 12px;
  }

  .top .pill-btn.edu-pill span:first-child {
    font-size: 12px;
  }
}

/* ---------- Demander un devis : la page en quatre étapes ---------- */
/* À gauche, les objets dessinés (docs/illustrations), posés sur la page, qui changent avec l'étape ;
   à droite, le formulaire, une étape à la fois. */
.quote {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
  gap: 16px;
  width: 100%;
  max-width: var(--wide);
  margin: clamp(4px, 1vw, 12px) auto 0;
}

.quote-art {
  position: sticky;
  top: 96px;
  display: flex;
  min-height: min(600px, calc(100vh - 110px));
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(16px, 2vw, 28px) clamp(8px, 1.5vw, 24px);
}

.quote-art .tag {
  background: var(--mist);
  white-space: nowrap;
}

.quote-art-title {
  max-width: 18ch;
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(21px, 1.94vw, 28px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

/* La scène : trois objets, sans fond. */
.quote-stage {
  position: relative;
  width: min(100%, 340px, 46vh);
  aspect-ratio: 1;
  margin-inline: auto;
}

.quote-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.9) rotate(-4deg);
  transition:
    opacity 450ms ease,
    transform 650ms var(--ease),
    visibility 0s linear 450ms;
}

.quote-stage[data-active='1'] [data-scene='1'],
.quote-stage[data-active='2'] [data-scene='2'],
.quote-stage[data-active='3'] [data-scene='3'],
.quote-stage[data-active='4'] [data-scene='4'],
.quote-stage[data-active='5'] [data-scene='5'] {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity 450ms ease 120ms,
    transform 650ms var(--ease) 120ms,
    visibility 0s;
}

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

.quote-scene .big {
  top: 17%;
  left: 15%;
  width: 70%;
  animation: quote-float 5s ease-in-out infinite;
}

.quote-scene .sa {
  top: 0;
  left: 0;
  width: 34%;
  animation: quote-float 4.2s ease-in-out 0.6s infinite;
}

.quote-scene .sb {
  right: 0;
  bottom: 0;
  width: 36%;
  animation: quote-float 4.6s ease-in-out 1.2s infinite;
}

@keyframes quote-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.quote-promises {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink-2);
  font-size: 12.5px;
}

.quote-promises li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.quote-promises svg {
  width: 22px;
  height: 22px;
  flex: none;
  padding: 4px;
  border-radius: 999px;
  background: var(--accent);
  color: #111111;
}

/* Le formulaire */
.quote-form {
  display: flex;
  min-height: min(600px, calc(100vh - 110px));
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--radius);
}

.quote-form .form-body {
  flex: 1;
  gap: 0;
}

.quote-progress {
  margin-bottom: clamp(14px, 1.8vw, 20px);
}

.quote-count {
  margin-bottom: 8px;
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.quote-bar li {
  color: var(--ink-3);
  font-size: 11px;
  font-weight: 600;
}

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

.quote-bar li.done {
  color: var(--ink-2);
}

.quote-bar li.done::before {
  background: var(--ink);
}

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

.quote-bar li.on::before {
  background: var(--accent);
}

.quote-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

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

.quote-step.enter {
  animation: quote-step-in 450ms var(--ease);
}

@keyframes quote-step-in {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.quote-step legend {
  padding: 0;
}

.quote-step h1 {
  font-size: clamp(21px, 2.02vw, 28px);
  letter-spacing: -0.03em;
  line-height: 1.06;
  outline: none;
}

.quote-step .note {
  margin: 6px 0 14px;
  font-size: 12.5px;
}

.quote-form input,
.quote-form textarea {
  padding: 11px 14px;
  border-radius: 14px;
}

.quote-step > label + .form-pair,
.quote-step > .form-pair + .quote-recap {
  margin-top: 12px;
}

/* Étape 1 : les services en tuiles */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

/* Les tuiles sont basses (icône à gauche du nom) : toute l'étape tient à l'écran sans défiler. */
.quote-form .choice {
  position: relative;
  display: flex;
  min-height: 58px;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 9px 30px 9px 9px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--card);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition:
    border-color 200ms ease,
    transform 250ms var(--ease);
}

.quote-form .choice:hover {
  transform: translateY(-2px);
}

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

.choice-ico {
  display: grid;
  width: 36px;
  height: 36px;
  flex: none;
  place-items: center;
  border-radius: 11px;
  background: var(--mist);
  color: var(--ink);
  transition: background-color 200ms ease;
}

.choice-ico .one-icon {
  width: 19px;
  height: 19px;
}

.quote-form .choice:has(input:checked) {
  border-color: var(--ink);
}

.quote-form .choice:has(input:checked) .choice-ico {
  background: var(--accent);
  color: #111111;
}

/* La pastille cochée, en haut à droite de la tuile choisie */
.quote-form .choice::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 9px;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}

.quote-form .choice:has(input:checked)::after {
  border-color: var(--ink);
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ADB5BD' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.quote-form .choice:has(input:focus-visible),
.quote-form .chip:has(input:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Étape 2 : budget et délai en pastilles */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-group + .chip-group {
  margin-top: 18px;
}

.chip-title {
  width: 100%;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 600;
}

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

.quote-form .chip:hover {
  border-color: var(--line);
}

.quote-form .chip:has(input:checked) {
  background: var(--ink);
  color: var(--page);
}

/* Étape 3 */
.quote-hint {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 12px;
}

/* Étape 4 : le rappel des choix */
/* Le rappel tient sur une rangée de trois cases : la dernière étape reste à l'écran sans défiler. */
.quote-recap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 10px;
  border-radius: 18px;
  background: var(--card);
}

.quote-recap div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  padding: 10px 14px;
}

.quote-recap div + div {
  border-left: 1px dashed var(--line);
}

.quote-recap dd {
  font-size: 12.5px;
  line-height: 1.3;
}

.quote-recap dt {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
}

.quote-recap dd {
  margin: 0;
  font-weight: 600;
}

.recap-edit {
  padding: 2px 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 11.5px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.recap-edit:hover {
  color: var(--ink);
}

.quote-form .form-error {
  margin-top: 18px;
}

.quote-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.quote-nav #devis-suivant {
  margin-left: auto;
}

.quote-nav [hidden] {
  display: none;
}

.quote-form .form-fallback {
  margin-top: 18px;
}

.quote-form .form-done {
  flex: 1;
  justify-content: center;
}

/* Pied de page sans l'appel « Prêt à lancer votre projet ? » (pages Contact et Demander un devis) */
.end:not(:has(.end-cta)) {
  padding-top: clamp(40px, 5vw, 64px);
}

.end:not(:has(.end-cta)) .end-grid {
  margin-top: 0;
}

/* Contact : la section « Demander un devis ? », sous les coordonnées */
.contact {
  display: block;
}

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

.quote-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: var(--text);
  margin: calc(clamp(90px, 11vw, 150px) * -0.55) auto 0;
  padding: clamp(28px, 5vw, 60px);
  border-radius: var(--radius);
  background: var(--tint);
  color: #111111;
}

.quote-cta h2 {
  font-size: clamp(30px, 3.87vw, 51px);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.quote-cta p {
  max-width: 52ch;
  margin: 14px 0 26px;
  color: #343A40;
  font-size: 15px;
}

.pill-btn.ink {
  background: #111111;
  color: #ffffff;
}

.pill-btn.ink .arrow {
  background: var(--accent);
  color: #111111;
}

.quote-cta-art {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 1;
  justify-self: center;
}

.quote-cta-art img {
  position: absolute;
  height: auto;
}

.quote-cta-art .big {
  top: 4%;
  left: 4%;
  width: 78%;
  animation: quote-float 5s ease-in-out infinite;
}

.quote-cta-art .small {
  right: 0;
  bottom: 0;
  width: 44%;
  animation: quote-float 4.4s ease-in-out 0.8s infinite;
}

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

  .quote-art {
    position: relative;
    top: 0;
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 220px;
    align-items: center;
  }

  .quote-art-head {
    grid-row: 1;
  }

  .quote-stage {
    grid-row: 1 / span 2;
    grid-column: 2;
  }

  .quote-form {
    min-height: 0;
  }
}

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

  .quote-art {
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 16px;
  }

  .quote-art-title {
    font-size: 21px;
  }

  .quote-promises {
    grid-column: 1 / -1;
    font-size: 12.5px;
  }

  .quote-bar li span {
    display: none;
  }

  .quote-cta {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-cta-art {
    display: none;
  }
}

@media (max-width: 560px) {
  .team-illus {
    gap: 2px;
  }

  .team-illus .objet {
    width: calc((100vw - 90px) / 4);
  }

  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-promises {
    display: none;
  }

  .quote-art {
    padding: 20px;
  }

  .quote-form .choice {
    min-height: 54px;
    font-size: 11.5px;
  }

  .quote-recap {
    grid-template-columns: minmax(0, 1fr);
  }

  .quote-recap div {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
  }

  .quote-recap div + div {
    border-top: 1px dashed var(--line);
    border-left: 0;
  }

  .quote-nav .pill-btn {
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-scene .objet,
  .quote-cta-art img,
  .quote-step.enter {
    animation: none;
  }

  .quote-scene {
    transition: none;
  }
}

/* ---------- Textes : animés la première fois qu'ils apparaissent ---------- */
/* Les titres arrivent mot par mot (le script les découpe en .w), les pastilles et les sous-titres en fondu. */
.js .split .w {
  display: inline-block;
}

.js .split .w,
.js .split .w-el {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(0.45em);
  transition:
    opacity 600ms ease calc(var(--i, 0) * 55ms),
    filter 600ms ease calc(var(--i, 0) * 55ms),
    transform 800ms var(--ease) calc(var(--i, 0) * 55ms);
}

.js .split.in-text .w,
.js .split.in-text .w-el {
  opacity: 1;
  filter: none;
  transform: none;
}

.js .fade-text {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms ease 250ms,
    transform 900ms var(--ease) 250ms;
}

.js .fade-text.in-text {
  opacity: 1;
  transform: none;
}

/* Avant que le script ne les prenne en main, les textes qui vont s'animer sont déjà cachés, dès le premier
   affichage : sans cela, ils s'affichaient un instant, disparaissaient au passage du script, puis rejouaient leur
   arrivée (un « éclair »). Mêmes éléments que dans script.js. Quand le script renonce à les animer, il pose
   « texts-off » ; s'il ne s'exécute pas, le filet de sécurité du <head> retire « js » et tout s'affiche. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.texts-off) body.company :is(main h1, main h2, .end h2, .quote-art-title):not(.split):not(.quote-form *),
  .js:not(.texts-off) body.company :is(main .hero-sub, main .tag):not(.fade-text) {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .split .w,
  .js .split .w-el,
  .js .fade-text {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}

/* Les objets dessinés posés sur la page : en thème sombre, chacun prend un fin liseré blanc tout autour, comme un
   autocollant découpé, pour que ses traits et son ombre noirs restent visibles sur le fond sombre. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .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'] .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);
}

/* 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;
}

/* Accueil : les réalisations s'empilent. Chaque carte reste collée en haut de l'écran pendant que la suivante
   monte par-dessus ; celle du dessous recule un peu (--s et --o, posés par le script). */
@media (min-width: 761px) {
  .cases.stack {
    gap: 28px;
  }

  .cases.stack .case {
    position: sticky;
    top: calc(96px + var(--k, 0) * 18px);
    transform-origin: 50% 0;
    box-shadow: 0 -24px 50px -30px rgba(0, 0, 0, 0.45);
  }

  .js .cases.stack .case.reveal.in {
    transform: scale(var(--s, 1));
    transition: opacity 700ms ease;
  }

  .cases.stack .case-shot img,
  .cases.stack .case-info {
    opacity: var(--o, 1);
  }
}

/* ---------- Objets dessinés animés (parcours et étapes de l'accueil) ---------- */
.how-illu .a-float,
.how-illu .a-bob,
.step-illu .a-float,
.step-illu .a-bob,
.svc-illu .a-float,
.svc-illu .a-bob,
.value-illu .a-float,
.value-illu .a-bob,
.faq-illu .a-float,
.faq-illu .a-bob {
  animation: obj-float 3.6s ease-in-out infinite;
}

.how-illu .a-burst,
.step-illu .a-burst,
.svc-illu .a-burst,
.value-illu .a-burst,
.faq-illu .a-burst {
  animation: obj-blink 1.8s ease-in-out infinite;
}

.how-illu .a-pop,
.step-illu .a-pop,
.svc-illu .a-pop,
.value-illu .a-pop,
.faq-illu .a-pop {
  transform-box: fill-box;
  transform-origin: center;
  animation: obj-beat 2.4s ease-in-out 0.8s infinite;
}

.how-illu .o2 .a-float {
  animation-delay: 0.6s;
}

.how-illu .o3 .a-bob,
.how-illu .o3 .a-float {
  animation-delay: 1.2s;
}

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

@keyframes obj-blink {
  50% {
    opacity: 0.2;
  }
}

@keyframes obj-beat {
  50% {
    scale: 1.12;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-path,
  .how-illu .a-float,
  .how-illu .a-bob,
  .how-illu .a-burst,
  .how-illu .a-pop,
  .step-illu .a-float,
  .step-illu .a-bob,
  .step-illu .a-burst,
  .step-illu .a-pop,
  .svc-illu .a-float,
  .svc-illu .a-bob,
  .svc-illu .a-burst,
  .svc-illu .a-pop,
  .value-illu *,
  .faq-illu,
  .faq-illu * {
    animation: none;
  }
}

/* ---------- Page d'une réalisation (projet-<id>.html) ---------- */
.proj-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proj-chips li {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--card);
  font-size: 12.5px;
  font-weight: 600;
}

.proj-shot {
  width: 100%;
  max-width: var(--text);
  margin: calc(clamp(90px, 11vw, 150px) * -0.6) auto 0;
}

.proj-shot .browser,
.proj-gallery figure {
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.proj-shot img,
.proj-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.proj-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.proj-duo article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: var(--radius);
}

.proj-duo p {
  font-family: var(--display);
  font-size: clamp(17.5px, 1.76vw, 23px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.proj-need {
  background: var(--mist);
}

.proj-answer {
  background: var(--accent);
  color: #111111;
}

.proj-answer .tag {
  background: #111111;
  color: #ffffff;
}

.proj-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proj-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--mist);
  font-size: 14px;
  font-weight: 500;
}

.proj-features .one-icon {
  width: 30px;
  height: 30px;
  flex: none;
  padding: 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #111111;
}

.proj-made {
  padding: clamp(60px, 8vw, 100px) clamp(18px, 4vw, 60px);
}

.proj-made .section-head h2 {
  color: var(--on-dark);
}

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

.proj-made-grid article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: var(--night-2);
}

.proj-made-grid h3 {
  color: var(--on-dark);
  font-size: 17.5px;
}

.proj-made-grid p {
  color: var(--on-dark-2);
  font-size: 13px;
}

.proj-illu {
  display: block;
  width: 110px;
  margin: -4px 0 4px -6px;
  line-height: 0;
}

.proj-illu .objet {
  width: 100%;
  height: auto;
  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);
}

.proj-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.proj-tools .tech {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px 7px 7px;
  border-radius: 999px;
  background: var(--mist);
  font-family: var(--display);
  font-size: 14.5px;
  font-weight: 600;
}

.proj-tools .tech i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
}

.proj-tools .tech svg {
  width: 21px;
  height: 21px;
}

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

.proj-gallery figure,
.proj-phones figure {
  margin: 0;
}

.proj-gallery figcaption,
.proj-phones figcaption {
  padding: 12px 16px;
  color: #343A40;
  font-size: 12.5px;
}

.proj-phones {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.proj-phones img {
  display: block;
  width: 100%;
  height: auto;
  border: 6px solid #111111;
  border-radius: 28px;
}

.proj-phones figcaption {
  padding-inline: 4px;
  color: var(--ink-2);
  text-align: center;
}

.proj-next {
  margin-top: clamp(40px, 5vw, 60px);
}

/* ---------- Témoignages (page Réalisations) ---------- */
.testis .section-head .pill-btn {
  margin-top: 8px;
}

.testi-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  width: 100%;
  max-width: var(--text);
  margin: 0 auto;
}

.testi-stage[hidden],
.testi-empty[hidden] {
  display: none;
}

.testi-faces {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-height: 460px;
  padding: 6px;
  overflow-y: auto;
}

.testi-face {
  padding: 0;
  border: 3px solid transparent;
  border-radius: 24px;
  background: none;
  cursor: pointer;
  opacity: 0.55;
  transition:
    opacity 200ms ease,
    border-color 200ms ease,
    transform 300ms var(--ease);
}

.testi-face[aria-selected='true'] {
  border-color: var(--accent);
  opacity: 1;
  transform: scale(1.08);
}

.testi-face-img {
  display: grid;
  width: 84px;
  height: 84px;
  overflow: hidden;
  place-items: center;
  border-radius: 20px;
  background: var(--tint);
  color: #111111;
  font-family: var(--display);
  font-size: 21px;
  font-weight: 600;
}

.testi-face-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: clamp(26px, 4vw, 48px);
  border-radius: var(--radius);
  background: var(--mist);
}

.testi-card.enter {
  animation: panel-in 500ms var(--ease) both;
}

.testi-card-stars {
  display: flex;
  gap: 4px;
}

.testi-card-stars svg {
  width: 26px;
  height: 26px;
  fill: var(--mist-2);
}

/* Les étoiles des avis en jaune (demandé le 9 novembre 2026) : la seule touche de jaune de la partie entreprise. */
.testi-card-stars .on svg {
  fill: #fab005;
}

.testi-card blockquote {
  font-family: var(--display);
  font-size: clamp(17.5px, 1.94vw, 24.5px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.testi-card figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  font-size: 13px;
}

.testi-card figcaption .testi-face-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 13px;
}

.testi-card figcaption b {
  font-family: var(--display);
  font-size: 16px;
}

.testi-card figcaption span:last-child:not(.testi-face-img) {
  color: var(--ink-2);
}

.testi-empty {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: var(--radius);
  background: var(--mist);
}

.testi-empty h3 {
  font-size: 19.5px;
}

.testi-empty p {
  margin-top: 6px;
  color: var(--ink-2);
}

.testi-empty-illu {
  width: 120px;
  flex: none;
  line-height: 0;
}

.testi-empty-illu .objet,
.testi-form-illu .objet,
.testi-done-illu .objet {
  width: 100%;
  height: auto;
}

/* La fenêtre « Ajouter un témoignage » */
.testi-dialog {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--page);
  color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.6);
}

.testi-dialog::backdrop {
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(4px);
}

.testi-dialog[open] {
  animation: panel-in 400ms var(--ease) both;
}

.testi-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--tint);
  color: #111111;
}

.testi-form-head h2 {
  font-size: 21px;
}

.testi-form-head p {
  color: #343A40;
  font-size: 12.5px;
}

.testi-form-illu {
  width: 70px;
  flex: none;
  line-height: 0;
}

.testi-close {
  display: grid;
  width: 40px;
  height: 40px;
  margin-left: auto;
  flex: none;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: #111111;
  cursor: pointer;
}

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

.testi-form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

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

.testi-form label,
.testi-form legend {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.testi-form legend {
  display: block;
  margin-bottom: 6px;
  padding: 0;
}

.testi-form input[type='text'],
.testi-form textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  background: var(--mist);
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.testi-form textarea {
  resize: vertical;
}

.testi-form input[type='text']:focus,
.testi-form textarea:focus {
  border-color: var(--ink);
  outline: none;
}

.testi-photo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-form .testi-photo-pick {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.testi-photo-pick input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.testi-photo-preview {
  display: grid;
  width: 72px;
  height: 72px;
  overflow: hidden;
  flex: none;
  place-items: center;
  border: 2px dashed var(--ink-3);
  border-radius: 22px;
  color: var(--ink-2);
}

.testi-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testi-photo-preview .one-icon {
  width: 26px;
  height: 26px;
}

.testi-photo-pick:hover .testi-photo-preview,
.testi-photo-pick:focus-within .testi-photo-preview {
  border-color: var(--ink);
}

.testi-photo-text small {
  display: block;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 400;
}

.testi-photo-remove {
  margin-left: auto;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: inherit;
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
}

.testi-photo-remove[hidden] {
  display: none;
}

.testi-stars-pick {
  margin: 0;
  padding: 0;
  border: 0;
}

.testi-stars-row {
  display: flex;
  gap: 4px;
}

.testi-stars-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.testi-form .testi-stars-row label {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  cursor: pointer;
}

.testi-stars-row label .one-icon {
  width: 30px;
  height: 30px;
  color: var(--ink-3);
  transition:
    color 150ms ease,
    transform 200ms var(--ease);
}

.testi-stars-row label:hover .one-icon {
  transform: scale(1.12);
}

.testi-stars-row input:focus-visible + label {
  outline: 2px solid var(--ink);
}

.testi-stars-row[data-value='1'] label:nth-of-type(-n + 1) .one-icon,
.testi-stars-row[data-value='2'] label:nth-of-type(-n + 2) .one-icon,
.testi-stars-row[data-value='3'] label:nth-of-type(-n + 3) .one-icon,
.testi-stars-row[data-value='4'] label:nth-of-type(-n + 4) .one-icon,
.testi-stars-row[data-value='5'] label:nth-of-type(-n + 5) .one-icon {
  color: #fab005;
  fill: currentColor;
}

.testi-form .testi-consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500;
}

.testi-consent input {
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex: none;
  accent-color: #111111;
}

.testi-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.testi-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 30px 24px 34px;
  text-align: center;
  outline: none;
}

.testi-done-illu {
  width: 130px;
  line-height: 0;
}

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

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

@media (max-width: 760px) {
  .proj-duo,
  .proj-features,
  .proj-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .testi-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .testi-faces {
    flex-direction: row;
    justify-content: center;
    max-height: none;
    overflow-x: auto;
  }

  .testi-face-img {
    width: 64px;
    height: 64px;
  }

  .testi-empty {
    flex-direction: column;
    text-align: center;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .testi-card.enter,
  .testi-dialog[open] {
    animation: none;
  }
}

/* La fenêtre du témoignage en deux étapes : l'avancement, comme le formulaire de devis. */
.testi-progress {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.testi-count {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.testi-bar {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.testi-bar li {
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
}

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

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

.testi-bar li.on::before {
  background: var(--accent);
}

.testi-bar li.done::before {
  background: var(--ink);
}

.testi-step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: quote-step-in 400ms var(--ease);
}

.testi-step[hidden],
.testi-form-actions [hidden] {
  display: none;
}

.testi-form-actions [data-testi-back] {
  margin-right: auto;
}

/* Les barres de défilement de la fenêtre et des listes : fines, arrondies, or au survol. */
.testi-dialog::-webkit-scrollbar,
.testi-faces::-webkit-scrollbar,
.testi-form textarea::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.testi-dialog::-webkit-scrollbar-track,
.testi-faces::-webkit-scrollbar-track,
.testi-form textarea::-webkit-scrollbar-track {
  background: transparent;
}

.testi-dialog::-webkit-scrollbar-track {
  margin: 26px 0;
}

.testi-dialog::-webkit-scrollbar-thumb,
.testi-faces::-webkit-scrollbar-thumb,
.testi-form textarea::-webkit-scrollbar-thumb {
  border: 4px solid transparent;
  border-radius: 999px;
  background: var(--ink-3) padding-box;
}

.testi-dialog::-webkit-scrollbar-thumb:hover,
.testi-faces::-webkit-scrollbar-thumb:hover,
.testi-form textarea::-webkit-scrollbar-thumb:hover {
  background: var(--accent) padding-box;
}

.testi-dialog::-webkit-scrollbar-button,
.testi-form textarea::-webkit-scrollbar-button {
  display: none;
}

@supports not selector(::-webkit-scrollbar) {
  .testi-dialog,
  .testi-faces,
  .testi-form textarea {
    scrollbar-width: thin;
    scrollbar-color: var(--ink-3) transparent;
  }
}

@media (max-width: 560px) {
  .testi-form-head {
    padding: 14px 16px;
  }

  .testi-form-illu,
  .testi-form-head p {
    display: none;
  }

  .testi-form-head h2 {
    font-size: 18.5px;
  }

  .testi-form-body {
    padding: 16px;
  }

  .testi-send-more {
    display: none;
  }

  .testi-form-actions {
    flex-wrap: nowrap;
  }
}

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

/* Sur la page du devis, le bouton WhatsApp flottant cacherait « Envoyer ma demande » : la page propose déjà WhatsApp si l'envoi échoue. */
body:has(#devis) .wa-float {
  display: none;
}

/* ==========================================================================
   Verre (dessin platine, 8 novembre 2026)
   Les cartes et la barre du haut sont du verre dépoli posé sur un fond qui n'est pas uni : un halo argenté fixe
   derrière toute la page. Sans backdrop-filter, un fond presque plein garde le texte lisible. Sur téléphone, le flou
   est réduit, et les éléments très nombreux (choix du devis, filtres) n'ont pas de flou.
   ========================================================================== */
:root {
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42));
  --glass-flat: rgba(255, 255, 255, 0.6);
  --glass-line: rgba(255, 255, 255, 0.95);
  --glass-edge: rgba(33, 37, 41, 0.1);
  --glass-shadow: 0 30px 60px -28px rgba(33, 37, 41, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-solid: rgba(248, 249, 250, 0.95);
  --glass-blur: 22px;
  --glare: rgba(255, 255, 255, 0.6);
  --halo-1: rgba(173, 181, 189, 0.38);
  --halo-2: rgba(255, 255, 255, 0.9);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
    --glass-flat: rgba(255, 255, 255, 0.05);
    --glass-line: rgba(255, 255, 255, 0.15);
    --glass-edge: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    --glass-solid: rgba(28, 31, 35, 0.96);
    --glare: rgba(255, 255, 255, 0.22);
    --halo-1: rgba(73, 80, 87, 0.45);
    --halo-2: rgba(173, 181, 189, 0.14);
  }
}

:root[data-theme='dark'] {
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  --glass-flat: rgba(255, 255, 255, 0.05);
  --glass-line: rgba(255, 255, 255, 0.15);
  --glass-edge: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-solid: rgba(28, 31, 35, 0.96);
  --glare: rgba(255, 255, 255, 0.22);
  --halo-1: rgba(73, 80, 87, 0.45);
  --halo-2: rgba(173, 181, 189, 0.14);
}

/* Les blocs toujours sombres gardent un verre sombre, quel que soit le thème. */
.on-dark,
.dark-section,
.panel.dark,
.panel.deep,
.menu-panel {
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  --glass-flat: rgba(255, 255, 255, 0.05);
  --glass-line: rgba(255, 255, 255, 0.15);
  --glass-edge: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  --glass-solid: rgba(28, 31, 35, 0.96);
  --glare: rgba(255, 255, 255, 0.22);
}

@media (max-width: 760px) {
  :root {
    --glass-blur: 12px;
  }
}

/* Le halo argenté derrière toute la page : c'est lui que le verre floute. */
body.company::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(42vw 42vw at 8% 18%, var(--halo-1), transparent 70%),
    radial-gradient(38vw 38vw at 92% 48%, var(--halo-2), transparent 70%),
    radial-gradient(46vw 46vw at 30% 88%, var(--halo-1), transparent 70%);
  pointer-events: none;
}

/* La classe utilitaire, et les cartes du site qui deviennent du verre. */
.glass,
.how-card,
.svc,
.value,
.contact-cards a,
.contact-cards div,
.form,
.faq details,
.legal-brief,
.legal-more,
.proj-need,
.proj-features li,
.testi-card,
.testi-empty,
.works-empty,
.facts div,
.tab-panel,
.quote-form,
.case-info,
.testi-dialog {
  border: 1px solid var(--glass-line);
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

/* Le flou en direct coûte cher à l'affichage : il est réservé aux éléments peu nombreux posés sur un fond qui bouge
   ou sur une image (barre du haut, cartes de la couverture, panneaux des réalisations, fenêtres). */
.hero-card,
.case-info,
.testi-dialog {
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
}

/* Verre sans flou pour les petits éléments nombreux. */
.jump a,
.filters button,
.quote-form .choice,
.quote-form .chip,
.proj-chips li,
.proj-tools .tech,
.tag,
.tab-list button {
  border: 1px solid var(--glass-edge);
  background: var(--glass-flat);
}

.filters button[aria-pressed='true'],
.tab-list button[aria-selected='true'] {
  border-color: transparent;
  background: var(--btn);
  color: var(--btn-ink);
}

/* La barre du haut : une pilule de verre qui flotte, plus dépolie et resserrée dès qu'on descend. */
.top::before {
  inset: 10px clamp(10px, 1.6vw, 24px);
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  opacity: 1;
}

.top {
  padding: 18px clamp(22px, 2.8vw, 46px);
}

.top.stuck {
  padding-block: 12px;
}

.top.stuck::before {
  inset: 6px clamp(10px, 1.6vw, 24px);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  backdrop-filter: blur(26px) saturate(160%);
}

.top-nav {
  background: transparent;
}

.top-nav a[aria-current] {
  background: var(--btn);
  color: var(--btn-ink);
}

.top-nav a[aria-current]::after {
  display: none;
}

/* Le menu et l'aperçu de l'Éducation : verre sombre. */
.menu-panel {
  border: 1px solid var(--glass-line);
  background: rgba(16, 18, 21, 0.72);
  -webkit-backdrop-filter: blur(26px) saturate(150%);
  backdrop-filter: blur(26px) saturate(150%);
}

.peek-card {
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

/* Sans flou possible : un fond presque plein. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass,
  .how-card,
  .svc,
  .value,
  .contact-cards a,
  .contact-cards div,
  .form,
  .faq details,
  .legal-brief,
  .legal-more,
  .proj-need,
  .proj-features li,
  .testi-card,
  .testi-empty,
  .works-empty,
  .facts div,
  .tab-panel,
  .quote-form,
  .case-panel,
  .testi-dialog,
  .top::before {
    background: var(--glass-solid);
  }

  .menu-panel {
    background: rgba(16, 18, 21, 0.97);
  }
}

/* Les titres en dégradé métallique. */
.silver,
.hero h1,
.section-head h2,
.page-head h1 {
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Les mots d'un titre découpé (animation) portent chacun le dégradé : un mot animé ne reprend pas celui du titre. */
.silver .w,
.hero h1 .w,
.section-head h2 .w,
.page-head h1 .w {
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Le panneau d'une réalisation, posé sur sa capture : verre sombre, pour que le texte clair reste lisible. */
.case-info {
  --btn: #e9ecef;
  --btn-ink: #0b0d0f;
  border-color: rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, rgba(22, 25, 28, 0.78), rgba(11, 13, 15, 0.66));
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* Les logos des outils : gris au repos, leurs couleurs au survol et au focus. */
.band-roll,
.proj-tools {
  filter: grayscale(1);
  transition: filter 300ms ease;
}

.band-roll:hover,
.proj-tools:hover,
.proj-tools:focus-within {
  filter: none;
}

@media (prefers-reduced-motion: reduce) {
  .band-roll,
  .proj-tools {
    transition: none;
  }
}

/* ==========================================================================
   Couverture de l'accueil (dessin platine) : titre à gauche, trois cartes de verre penchées à droite, devant un relief
   Blackstone texturé qui bouge lentement (maquettes docs/superpowers/specs/2026-11-08-site-platine-maquettes).
   ========================================================================== */
.relief {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  --relief-1: rgba(173, 181, 189, 0.35);
  --relief-2: rgba(233, 236, 239, 0.22);
  --relief-lines: rgba(255, 255, 255, 0.035);
  --relief-top: #0b0d0f;
  --relief-mid: #212529;
  --wave-top: #6c757d;
  --wave-bottom: #212529;
  --wave-opacity: 0.6;
}

:root[data-theme='light'] .relief,
:root:not([data-theme]) .relief {
  --relief-1: rgba(255, 255, 255, 0.9);
  --relief-2: rgba(173, 181, 189, 0.45);
  --relief-lines: rgba(33, 37, 41, 0.035);
  --relief-top: #f8f9fa;
  --relief-mid: #dee2e6;
  --wave-top: #ffffff;
  --wave-bottom: #ced4da;
  --wave-opacity: 0.8;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .relief {
    --relief-1: rgba(173, 181, 189, 0.35);
    --relief-2: rgba(233, 236, 239, 0.22);
    --relief-lines: rgba(255, 255, 255, 0.035);
    --relief-top: #0b0d0f;
    --relief-mid: #212529;
    --wave-top: #6c757d;
    --wave-bottom: #212529;
    --wave-opacity: 0.6;
  }
}

.relief-land,
.relief-wave,
.relief-grain {
  position: absolute;
}

.relief-land {
  inset: 0;
  background:
    radial-gradient(60% 40% at 30% 70%, var(--relief-1), transparent 70%),
    radial-gradient(50% 35% at 75% 65%, var(--relief-2), transparent 70%),
    repeating-linear-gradient(170deg, var(--relief-lines) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, var(--relief-top) 0%, var(--relief-mid) 55%, var(--relief-top) 100%);
}

.relief-wave {
  top: 52%;
  right: -10%;
  left: -10%;
  height: 48%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(180deg, var(--wave-top), var(--wave-bottom) 70%);
  opacity: var(--wave-opacity);
}

.relief-grain {
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-platine {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(30px, 4vw, 70px);
  width: calc(100% - 2 * clamp(10px, 1.6vw, 24px));
  max-width: var(--wide);
  min-height: min(760px, calc(100vh - 40px));
  margin: 0 auto;
  padding: clamp(60px, 7vw, 100px) clamp(22px, 4.5vw, 70px);
  border-radius: var(--radius);
  isolation: isolate;
}

.hero-platine .hero-head {
  align-items: flex-start;
  max-width: 620px;
  margin: 0;
  text-align: left;
}

.hero-platine .hero-title {
  font-size: clamp(35px, 4.58vw, 65px);
}

.hero-platine .hero-sub {
  max-width: 520px;
}

.hero-stack {
  position: relative;
  height: 560px;
}

.hero-card {
  position: absolute;
  display: flex;
  width: min(330px, 78%);
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  border-radius: 24px;
  color: var(--ink);
  text-decoration: none;
  transition:
    translate 350ms var(--ease),
    border-color 300ms ease;
}

.hero-card:nth-child(1) {
  top: 0;
  left: 2%;
  rotate: -6deg;
}

.hero-card:nth-child(2) {
  top: 34%;
  left: 24%;
  rotate: 3deg;
}

.hero-card:nth-child(3) {
  top: 67%;
  left: 7%;
  rotate: -2deg;
}

.hero-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-card-top small {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11.5px;
}

.hero-card-ico {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: var(--btn);
  color: var(--btn-ink);
  --icon-tint: currentColor;
}

.hero-card-ico svg {
  width: 21px;
  height: 21px;
}

.hero-card b {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 18.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.hero-card-text {
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.hero-card:hover,
.hero-card:focus-visible {
  border-color: var(--ink-3);
  translate: 0 -6px;
}

.hero-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-platine {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .hero-stack {
    height: 430px;
  }

  .hero-card:nth-child(2) {
    left: auto;
    right: 2%;
  }
}

@media (max-width: 600px) {
  .hero-stack {
    display: grid;
    height: auto;
    gap: 12px;
  }

  .hero-card {
    position: relative;
    inset: auto !important;
    width: 100%;
    rotate: none !important;
  }
}

/* ==========================================================================
   Animations du dessin platine (tout s'arrête avec prefers-reduced-motion)
   ========================================================================== */
.relief-land {
  inset: -4%;
  animation: relief-pan 18s ease-in-out infinite alternate;
  will-change: translate, scale;
}

.relief-wave {
  animation: relief-swell 12s ease-in-out infinite alternate;
}

@keyframes relief-pan {
  from {
    translate: 0 0;
    scale: 1;
  }

  to {
    translate: 2% -1.5%;
    scale: 1.04;
  }
}

@keyframes relief-swell {
  to {
    translate: 0 -18px;
    scale: 1.03 1;
  }
}

/* Les cartes de la couverture tombent en place l'une après l'autre, puis flottent. */
.js .hero-card {
  animation:
    card-drop 900ms var(--ease) calc(450ms + var(--n, 0) * 140ms) both,
    card-float calc(7s + var(--n, 0) * 1s) ease-in-out calc(1.5s + var(--n, 0) * 0.5s) infinite alternate;
}

@keyframes card-drop {
  from {
    opacity: 0;
    translate: 0 -46px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes card-float {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -10px;
  }
}

/* Pendant le flottement, le survol agrandit la carte (le déplacement appartient à l'animation). */
.js .hero-card:hover,
.js .hero-card:focus-visible {
  scale: 1.03;
}

.hero-card {
  transition:
    translate 350ms var(--ease),
    scale 350ms var(--ease),
    border-color 300ms ease;
}



/* Le reflet qui suit la souris. */
.glare-on {
  background:
    radial-gradient(280px circle at var(--gx, 50%) var(--gy, 50%), var(--glare), transparent 65%),
    var(--glass-bg);
}

.case-info.glare-on {
  background:
    radial-gradient(260px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.16), transparent 65%),
    linear-gradient(135deg, rgba(22, 25, 28, 0.78), rgba(11, 13, 15, 0.66));
}

.how-card:hover,
.svc:hover,
.value:hover,
.testi-card:hover,
.contact-cards a:hover {
  border-color: var(--ink-3);
}

@media (prefers-reduced-motion: reduce) {
  .relief-land,
  .relief-wave,
  .js .hero-card {
    animation: none;
  }

  .js .reveal {
    filter: none;
    transition: none;
  }

  .js .hero-card:hover,
  .js .hero-card:focus-visible {
    scale: none;
  }
}

/* En-tête des pages intérieures : le relief de la couverture, titre argenté. */
.page-top {
  overflow: hidden;
  background: transparent;
}

.page-top.lines::before,
.page-top.lines::after {
  display: none;
}

.page-top h1,
.page-top h1 .w {
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Correctif après relecture : les cartes de la couverture se suivent en colonne et ne se chevauchent que par leur bord
   (avant, placées en absolu, elles cachaient la fin du texte de la carte précédente). */
.hero-stack {
  display: flex;
  height: auto;
  flex-direction: column;
  padding-block: 14px;
}

.hero-card,
.hero-card:nth-child(1),
.hero-card:nth-child(2),
.hero-card:nth-child(3) {
  position: relative;
  inset: auto;
}

.hero-card:nth-child(1) {
  margin-left: 2%;
}

.hero-card:nth-child(2) {
  margin: 2px 0 0 auto;
}

.hero-card:nth-child(3) {
  margin: 2px 0 0 7%;
}

/* Téléphones : pas d'animation continue, pas de fond fixe ni de flou à l'apparition (fluidité, batterie). */
@media (max-width: 760px) {
  body.company {
    background-attachment: scroll;
  }

  .relief-land,
  .relief-wave {
    animation: none;
  }

  .js .hero-card {
    animation: card-drop 700ms var(--ease) calc(300ms + var(--n, 0) * 120ms) both;
  }

  .js .reveal {
    filter: none;
    transition:
      opacity 600ms ease var(--d, 0ms),
      transform 700ms var(--ease) var(--d, 0ms);
  }
}

@media (max-width: 600px) {
  .hero-card:nth-child(n) {
    margin: 0;
  }
}

/* ==========================================================================
   Accueil recomposé (9 novembre 2026, choix de l'utilisateur bloc par bloc : 1A, 2B, 3B, 4A, 6A, 7A, 8A, 9B, 10A)
   ========================================================================== */

/* Bloc 1 : bandeau de verre « en bref », à cheval sur le bas de la couverture. */
.facts-bar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1040px, calc(100% - 40px));
  margin: -46px auto 0;
  padding: 18px 10px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
}

.facts-bar p {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 12px;
  border-left: 1px solid var(--line);
  text-align: center;
}

.facts-bar p:first-child {
  border-left: 0;
}

.facts-bar b {
  font-family: var(--display);
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.facts-bar span {
  color: var(--ink-2);
  font-size: 12px;
}

@media (max-width: 760px) {
  .facts-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 0;
    margin-top: -26px;
    border-radius: 28px;
  }

  .facts-bar p:nth-child(3) {
    border-left: 0;
  }
}

/* Bloc 2 : le problème (barré), puis notre réponse en carte de verre. */
.view {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

.view-strike {
  color: var(--ink-3);
  font-family: var(--display);
  font-size: clamp(21px, 2.46vw, 33.5px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: line-through;
  text-decoration-color: rgba(233, 236, 239, 0.45);
  text-decoration-thickness: 2px;
}

.view-answer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
}

.view-big {
  color: var(--on-dark);
  font-family: var(--display);
  font-size: clamp(19.5px, 2.11vw, 28px);
  font-weight: 600;
  line-height: 1.22;
}

.view-answer > p:not(.view-big) {
  color: var(--on-dark-2);
}

.view-illu {
  display: flex;
  gap: 14px;
}

.view-illu .objet {
  width: 82px;
  height: auto;
}

@media (max-width: 900px) {
  .view {
    grid-template-columns: 1fr;
  }
}

/* Bloc 3 : carrousel des six services ; la carte au centre est mise en avant. */
.svc-carousel {
  position: relative;
  margin-top: 28px;
}

.svc-track {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 30px calc(50% - min(210px, 42vw));
  overflow-x: auto;
  list-style: none;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.svc-track::-webkit-scrollbar {
  display: none;
}

.svc-slide {
  display: flex;
  width: min(420px, 84vw);
  flex: none;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 26px;
  color: var(--on-dark);
  opacity: 0.5;
  scale: 0.9;
  scroll-snap-align: center;
  transition:
    opacity 400ms ease,
    scale 500ms var(--ease);
}

.svc-slide.is-on {
  opacity: 1;
  scale: 1;
}

.svc-slide-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.svc-slide-top small {
  color: var(--on-dark-2);
  font-family: var(--mono);
}

.svc-slide-illu .objet {
  width: 84px;
  height: auto;
}

.svc-slide h3 {
  font-size: 23px;
}

.svc-slide > p {
  color: var(--on-dark-2);
}

.svc-slide ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.svc-slide li {
  padding: 5px 11px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  color: var(--on-dark-2);
  font-size: 11.5px;
}

.svc-slide .pill-btn {
  align-self: flex-start;
  margin-top: auto;
}

.svc-nav {
  position: absolute;
  top: 45%;
  z-index: 2;
  translate: 0 -50%;
  background: var(--glass-flat);
  color: var(--on-dark);
}

.svc-nav.prev {
  left: 0;
}

.svc-nav.next {
  right: 0;
}

.svc-nav svg {
  width: 18px;
  height: 18px;
}

.svc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.svc-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(233, 236, 239, 0.3);
  cursor: pointer;
  transition:
    width 300ms var(--ease),
    background-color 300ms ease;
}

.svc-dots button[aria-current='true'] {
  width: 26px;
  background: var(--on-dark);
}

@media (max-width: 760px) {
  .svc-nav {
    display: none;
  }
}

/* Bloc 6 : chaque chiffre dans sa carte de verre, avec un dessin. */
.number-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 26px 20px 30px;
  border-radius: 26px;
}

.number-illu .objet {
  width: 92px;
  height: auto;
}

.numbers b em {
  color: var(--ink-3);
}

/* Bloc 7 : la frise des quatre étapes ; la ligne se remplit au défilement (--fill, posé par script.js). */
.frise-section {
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
}

.frise {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: var(--text);
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.frise-line {
  position: absolute;
  top: 56px;
  right: 12.5%;
  left: 12.5%;
  height: 2px;
  background: var(--line);
}

.frise-line i {
  display: block;
  width: calc(var(--fill, 0) * 100%);
  height: 100%;
  background: var(--ink);
}

.frise-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.frise-illu {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

.frise-illu .objet {
  width: 74px;
  height: auto;
}

.frise-num {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11.5px;
}

.frise-step h3 {
  font-size: 18.5px;
}

.frise-step p {
  color: var(--ink-2);
  font-size: 13px;
}

@media (max-width: 900px) {
  .frise {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .frise-line {
    top: 0;
    bottom: 0;
    left: 56px;
    width: 2px;
    height: auto;
  }

  .frise-line i {
    width: 100%;
    height: calc(var(--fill, 0) * 100%);
  }

  .frise-step {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 18px;
    align-items: center;
    text-align: left;
  }

  .frise-illu {
    grid-row: span 3;
  }
}

/* Bloc 8 : l'interrupteur « le prestataire habituel / One Technologie ». */
.switch {
  display: flex;
  width: 100%;
  max-width: 640px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.switch-btns {
  display: inline-flex;
  padding: 5px;
  border: 1px solid var(--glass-line);
  border-radius: 999px;
  background: var(--glass-flat);
}

.switch-btns button {
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-2);
  font: 600 13px var(--display);
  cursor: pointer;
  transition:
    background-color 300ms ease,
    color 300ms ease;
}

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

.switch-panel {
  width: 100%;
  padding: 26px 30px;
  border-radius: 26px;
  text-align: left;
  animation: switch-in 450ms var(--ease);
}

.switch-panel ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.switch-panel li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.switch-panel li svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.switch-panel[data-switch-panel='them'] li {
  color: var(--on-dark-2);
}

@keyframes switch-in {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}

/* Bloc 9 : bandeau coupé en biais, One Technologie (platine) à gauche, l'Éducation (bleu) à droite. */
.duo-band {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  width: calc(100% - 2 * clamp(10px, 1.6vw, 24px));
  max-width: var(--wide);
  min-height: 300px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius);
}

.duo-half {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  padding: clamp(28px, 4vw, 56px);
}

.duo-one {
  background: linear-gradient(135deg, #343a40, #16191c);
  color: var(--on-dark);
}

.duo-one b {
  font-family: var(--display);
  font-size: clamp(24.5px, 2.64vw, 35px);
  font-weight: 600;
}

.duo-one p {
  color: var(--on-dark-2);
}

.duo-edu {
  margin-left: -70px;
  padding-left: calc(clamp(28px, 4vw, 56px) + 70px);
  background-color: #2d43ed;
  /* Le quadrillage de cahier de One Technologie Éducation. */
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  color: #ffffff;
  text-decoration: none;
  clip-path: polygon(70px 0, 100% 0, 100% 100%, 0 100%);
  transition: background-color 300ms ease;
}

.duo-edu:hover,
.duo-edu:focus-visible {
  background-color: #2438d6;
}

.duo-edu .brand-logo {
  width: 220px;
  height: auto;
}

/* Le logo sur le bleu : traits et lettres en blanc, l'intérieur du rond laisse voir le bleu. */
.duo-edu .brand-logo path,
.duo-edu .brand-logo text {
  fill: #ffffff;
}
.duo-edu .brand-logo path[fill='white'] {
  fill: transparent;
}

.duo-edu h2 {
  font-size: clamp(19.5px, 2.11vw, 28px);
  line-height: 1.15;
}

.duo-edu .edu-btn {
  background: #ffffff;
  color: #2d43ed;
}

@media (max-width: 760px) {
  .duo-band {
    grid-template-columns: 1fr;
  }

  .duo-edu {
    margin: -40px 0 0;
    padding: calc(clamp(28px, 4vw, 56px) + 30px) clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px);
    clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  }
}

/* Bloc 10 : l'appel du bas de page, en très grand sur le relief. */
.end-cta {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 20px;
  overflow: hidden;
  border-radius: calc(var(--radius) - 6px);
  isolation: isolate;
}

.end-cta h2,
.end-cta h2 .w {
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.end-cta h2 {
  font-size: clamp(42px, 7.39vw, 109px);
}

:root .end .relief.relief {
  --relief-1: rgba(173, 181, 189, 0.3);
  --relief-2: rgba(233, 236, 239, 0.18);
  --relief-lines: rgba(255, 255, 255, 0.035);
  --relief-top: #0b0d0f;
  --relief-mid: #212529;
  --wave-top: #6c757d;
  --wave-bottom: #212529;
  --wave-opacity: 0.55;
}

/* Le bandeau « en bref » remonte sur la couverture (l'écart entre les sections est retiré). */
.hero-platine + .facts-bar {
  margin-top: calc(-1 * clamp(90px, 11vw, 150px) - 46px);
}

/* Le carrousel reste dans la largeur de la page (sinon la rangée de cartes l'élargit). */
.svc-carousel {
  min-width: 0;
  max-width: 100%;
}

.svc-track {
  width: 100%;
}

@media (max-width: 760px) {
  .hero-platine {
    padding-bottom: 64px;
  }

  .hero-platine + .facts-bar {
    margin-top: calc(-1 * clamp(90px, 11vw, 150px) - 30px);
  }
}

/* ---------- Accueil, bloc 5 : les réalisations en éventail ----------
   Les cartes sont tenues comme un jeu ; au survol (ou au clavier), elles s'écartent pour se montrer toutes.
   --k : rang de la carte, --c : écart au centre (-1,5 à 1,5 pour 4 cartes). */
.fan {
  --w: min(290px, 21vw);
  position: relative;
  height: calc(var(--w) * 0.75 + 64px);
  margin: 0 auto;
  max-width: 1200px;
}
.fan-card {
  --c: calc(var(--k) - (var(--n) - 1) / 2);
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: var(--w);
  aspect-ratio: 4 / 3;
  margin-left: calc(var(--w) / -2);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  background: var(--card);
  box-shadow: var(--glass-shadow);
  transform-origin: 50% 130%;
  translate: calc(var(--c) * var(--w) * 0.34) calc(var(--c) * var(--c) * 6px);
  rotate: calc(var(--c) * 7deg);
  z-index: calc(1 + var(--k));
  transition:
    translate 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    rotate 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    scale 0.35s ease,
    box-shadow 0.35s ease;
}
.fan-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.fan-label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 50px 9px 13px;
  border-radius: 14px;
  background: var(--glass-solid);
  border: 1px solid var(--glass-line);
  color: var(--ink);
}
.fan-label small {
  font-size: 11px;
  color: var(--ink-3);
}
.fan-label b {
  font: 600 clamp(12.5px, 1.1vw, 14px)/1.2 var(--display);
}
.fan-go {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--btn);
  color: var(--btn-ink);
  scale: 0.6;
  opacity: 0;
  transition:
    scale 0.3s ease,
    opacity 0.3s ease;
}
.fan-go svg {
  width: 16px;
  height: 16px;
}
/* Ouvert : les cartes côte à côte, à peine penchées. */
.fan:hover .fan-card,
.fan:focus-within .fan-card,
.fan.open .fan-card {
  translate: calc(var(--c) * var(--w) * 1.06) calc(var(--c) * var(--c) * 4px - 16px);
  rotate: calc(var(--c) * 2deg);
}
.fan .fan-card:hover,
.fan .fan-card:focus-visible {
  scale: 1.06;
  z-index: 20;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.55);
}
.fan .fan-card:hover .fan-go,
.fan .fan-card:focus-visible .fan-go {
  scale: 1;
  opacity: 1;
}
.fan-card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}
/* Écrans tactiles : pas de survol, l'éventail s'ouvre seul quand il apparaît (classe « open » posée par le script). */
/* Téléphone : une rangée qu'on fait glisser du doigt. */
@media (max-width: 760px) {
  .fan {
    --w: 76vw;
    height: auto;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 6px 16px 18px;
    margin: 20px -16px 0;
    scrollbar-width: none;
  }
  .fan::-webkit-scrollbar {
    display: none;
  }
  .fan-card,
  .fan:hover .fan-card,
  .fan:focus-within .fan-card,
  .fan.open .fan-card {
    position: relative;
    left: auto;
    bottom: auto;
    flex: none;
    margin: 0;
    translate: none;
    rotate: none;
    scroll-snap-align: center;
  }
  .fan-go {
    scale: 1;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fan-card,
  .fan-go {
    transition: none;
  }
}

/* ---------- Barre du haut resserrée (9 novembre 2026) ----------
   Plus basse, logo et boutons plus petits ; elle se cache quand on descend et revient dès qu'on remonte
   (classe « hide » posée par script.js, jamais quand le menu est ouvert ou qu'un élément de la barre a le focus). */
body.company .top,
body.company .top.stuck {
  padding: 16px clamp(20px, 2.6vw, 42px);
  gap: 12px;
  transition:
    translate 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    padding 250ms var(--ease);
}
body.company .top::before,
body.company .top.stuck::before {
  inset: 5px clamp(10px, 1.6vw, 24px);
}
/* De l'air entre la barre et la première section de la page. */
body.company main > :first-child {
  margin-top: clamp(14px, 1.8vw, 26px);
}
/* Moins large : la pilule ne prend plus toute la largeur de l'écran. */
body.company .top {
  width: min(100%, 1080px);
  margin-inline: auto;
}
body.company .top.hide {
  translate: 0 -110%;
}
body.company .brand {
  width: 148px;
}
/* Le symbole et le « ne » du logo à la couleur de l'encre : noirs sur le fond clair, blancs en thème sombre. */
body.company .top .brand-logo path.logo-gold {
  fill: var(--logo-ink);
}
body.company .top .brand-logo path.logo-gold-line {
  stroke: var(--logo-ink);
}
body.company .top-nav {
  padding: 3px;
}
body.company .top-nav a {
  padding: 6px 13px;
  font-size: 14.5px;
}
body.company .top-actions {
  gap: 8px;
}
body.company .top-tools .round,
body.company .menu-btn {
  width: 36px;
  height: 36px;
}
body.company .top-tools .round span {
  font-size: 12.5px;
}
body.company .top-tools .round svg {
  width: 17px;
  height: 17px;
}
body.company .top .pill-btn.edu-pill {
  min-height: 38px;
  padding: 4px 4px 4px 15px;
  gap: 9px;
  font-size: 14.5px;
}
body.company .top .pill-btn.edu-pill .arrow {
  width: 30px;
  height: 30px;
}
@media (min-width: 1181px) and (max-width: 1320px) {
  body.company .top-nav a {
    padding-inline: 10px;
    font-size: 14px;
  }
  body.company .brand {
    width: 136px;
  }
}
@media (max-width: 560px) {
  body.company .brand {
    width: 118px;
  }
  body.company .top .pill-btn.edu-pill span:first-child {
    font-size: 13.5px;
  }
  body.company .top .pill-btn.edu-pill {
    padding-left: 12px;
  }
}
@media (max-width: 340px) {
  body.company .brand {
    width: 104px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.company .top {
    transition: none;
  }
}

/* ---------- Bandeau « en bref » plus petit (9 novembre 2026) ---------- */
.facts-bar {
  width: min(900px, calc(100% - 40px));
  padding: 12px 8px;
}
.facts-bar b {
  font-size: 17px;
}
.facts-bar span {
  font-size: 12px;
}
@media (min-width: 761px) {
  .facts-bar span {
    white-space: nowrap;
  }
}

/* ---------- Accueil : « Le problème / Notre réponse » sur son propre fond (9 novembre 2026) ----------
   Une section claire à part (sombre en thème sombre) ; la réponse dans une carte noire. */
.view-section {
  position: relative;
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding: clamp(56px, 7vw, 100px) clamp(18px, 7vw, 90px);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(255, 255, 255, 0.9), transparent 70%),
    linear-gradient(160deg, #f8f9fa, #dee2e6);
}
:root[data-theme='dark'] .view-section {
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(255, 255, 255, 0.06), transparent 70%),
    linear-gradient(160deg, #212529, #121417);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .view-section {
    background:
      radial-gradient(60% 80% at 85% 20%, rgba(255, 255, 255, 0.06), transparent 70%),
      linear-gradient(160deg, #212529, #121417);
  }
}
.view-section .view-strike {
  text-decoration-color: currentColor;
}
.view-section .view-answer {
  --glass-line: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--glass-line);
  background: linear-gradient(145deg, #2b3035, #0b0d0f);
  box-shadow: 0 40px 70px -34px rgba(0, 0, 0, 0.6);
  color: var(--on-dark);
}
.view-section .view-answer .tag {
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
}

/* ---------- Accueil : les services en carrousel qui défile seul, sur toute la largeur ---------- */
.svc-section {
  padding-bottom: clamp(40px, 4.5vw, 60px);
}
.svc-section .sub-head {
  margin-top: 0;
}
.svc-section .svc-carousel {
  margin-inline: calc(clamp(18px, 7vw, 90px) * -1);
  max-width: none;
}
.svc-section .svc-nav {
  top: 50%;
  width: 52px;
  height: 52px;
  border: 0;
  background: var(--on-dark);
  color: #0b0d0f;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.7);
  transition:
    scale 200ms ease,
    background-color 200ms ease;
}
.svc-section .svc-nav:hover {
  scale: 1.08;
  background: #ffffff;
}
.svc-section .svc-nav:focus-visible {
  outline: 3px solid var(--on-dark);
  outline-offset: 3px;
}
.svc-section .svc-nav.prev {
  left: clamp(12px, 3vw, 44px);
}
.svc-section .svc-nav.next {
  right: clamp(12px, 3vw, 44px);
}
.svc-section .svc-nav svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 760px) {
  .svc-section .svc-nav {
    display: grid;
    width: 40px;
    height: 40px;
  }
}

/* ---------- Accueil : nos outils, le titre à gauche, la rangée qui défile à droite ---------- */
.tools-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  margin-top: clamp(50px, 6vw, 80px);
  padding-top: clamp(30px, 3.5vw, 44px);
  border-top: 1px solid var(--glass-edge);
}
.tools-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 240px;
  margin: 0;
  color: var(--on-dark);
  font-size: clamp(19px, 1.9vw, 24px);
  line-height: 1.15;
}
.tools-title small {
  color: var(--on-dark-2);
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
}
.tools-roll {
  overflow: hidden;
  padding: 14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tools-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: tools-slide 70s linear infinite;
}
.tools-roll:hover .tools-track,
.tools-roll:focus-within .tools-track {
  animation-play-state: paused;
}
/* Deux fois la même liste : un demi-tour plus la moitié de l'écart, et la rangée reprend sans saut. */
@keyframes tools-slide {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}
.tool {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border: 1px solid var(--glass-edge);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--on-dark-2);
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    scale 260ms var(--ease),
    color 260ms ease,
    background-color 260ms ease,
    border-color 260ms ease;
}
.tool i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  border-radius: 999px;
  background: #ffffff;
  filter: grayscale(1);
  opacity: 0.8;
  transition:
    filter 260ms ease,
    opacity 260ms ease;
}
.tool svg {
  width: 21px;
  height: 21px;
}
/* Au survol (ou au clavier) : l'outil prend sa couleur et grossit un peu. */
.tool:hover,
.tool:focus-visible {
  scale: 1.1;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--on-dark);
}
.tool:hover i,
.tool:focus-visible i {
  filter: none;
  opacity: 1;
}
.tool:focus-visible {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
}
@media (max-width: 760px) {
  .tools-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tools-title {
    max-width: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tools-track {
    animation: none;
  }
  .tools-roll {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tools-track [aria-hidden='true'] {
    display: none;
  }
}

/* La fiche d'un outil, en fenêtre. */
.tool-dialog {
  width: min(540px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: clamp(24px, 3vw, 34px);
  overflow: auto;
  border: 1px solid var(--glass-line);
  border-radius: 28px;
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55);
}
.tool-dialog[open] {
  animation: tool-in 320ms var(--ease);
}
@keyframes tool-in {
  from {
    opacity: 0;
    scale: 0.94;
    translate: 0 12px;
  }
}
.tool-dialog::backdrop {
  background: rgba(11, 13, 15, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.tool-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border-color: var(--line);
  color: var(--ink);
}
.tool-close svg {
  width: 16px;
  height: 16px;
}
.tool-body article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.tool-body i {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}
.tool-body i svg {
  width: 36px;
  height: 36px;
}
.tool-body small {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.tool-body h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
}
.tool-body p {
  margin: 0;
  color: var(--ink-2);
  line-height: 1.6;
}
.tool-body .tool-usage {
  margin-top: 4px;
  padding: 12px 14px;
  border-left: 3px solid var(--ink);
  border-radius: 0 12px 12px 0;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
  color: var(--ink);
}
.tool-dialog > .pill-btn {
  margin-top: 20px;
}
@media (prefers-reduced-motion: reduce) {
  .tool-dialog[open] {
    animation: none;
  }
}

/* ---------- Grands écrans (9 novembre 2026) : les grandes cartes prennent toute la largeur ----------
   Au-delà de 1 440 px, les sections remplissent l'écran (moins la marge du bord) au lieu de s'arrêter à 1 380 px,
   et la colonne de texte s'élargit avec l'écran, jusqu'à 1 600 px pour garder des lignes lisibles. */
@media (min-width: 1440px) {
  :root {
    --wide: 100%;
    --text: clamp(1140px, 72vw, 1600px);
  }
  .hero-platine {
    width: 100%;
  }
  /* La barre du haut grandit un peu avec l'écran : 1 080 px jusqu'à 1 920 px de large, environ 1 430 px à 2 560. */
  body.company .top {
    width: min(100%, max(1080px, 56vw));
  }
}

/* ---------- « Notre façon de travailler » racontée au défilement (9 novembre 2026) ----------
   Classe « pin » posée par script.js sur les grands écrans (pas sur téléphone, écran trop bas ou mouvement réduit) :
   la section devient haute et sa scène reste collée à l'écran pendant qu'on fait défiler. Chaque étape apparaît
   (--a), le trait noir s'allonge jusqu'à elle (--fill), puis l'entoure (--r) ; et ainsi de suite. */
.frise-section.pin {
  height: 380vh;
}
.frise-section.pin .frise-stage {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  justify-content: center;
}
.frise-illu {
  position: relative;
  /* Fond plein : le trait passe derrière le cercle au lieu de se voir au travers. */
  background: var(--glass-bg), var(--card);
}
.frise-illu::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 270deg, var(--ink) calc(var(--r, 0) * 360deg), transparent 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2.5px), #000 calc(100% - 2px));
  pointer-events: none;
}
.js .frise-section.pin .frise-step.reveal {
  opacity: var(--a, 0);
  transform: translateY(calc((1 - var(--a, 0)) * 26px)) scale(calc(0.92 + var(--a, 0) * 0.08));
  transition: none;
}
.frise-section.pin .frise-line i {
  transition: none;
}
.frise-section.pin .frise-line {
  background: transparent;
}

/* ---------- Flèches des boutons (9 novembre 2026) : partout la même animation ----------
   La flèche, tournée vers le haut à droite, se redresse au survol ou au clavier. Les boutons pilule le faisaient
   déjà (rotation du rond) ; même chose pour « Découvrir One Technologie Éducation », le bandeau partagé et l'éventail. */
.arrow-icon {
  transition: transform 300ms var(--ease);
}
.edu-btn:hover .arrow-icon,
.edu-btn:focus-visible .arrow-icon,
.duo-edu:hover .arrow-icon,
.duo-edu:focus-visible .arrow-icon,
.fan-card:hover .fan-go .arrow-icon,
.fan-card:focus-visible .fan-go .arrow-icon {
  transform: rotate(0deg);
}
.pill-btn:focus-visible .arrow,
.duo-card:hover .pill-btn .arrow,
.duo-card:focus-visible .pill-btn .arrow {
  transform: rotate(45deg);
}
.pill-btn.edu-pill:focus-visible .arrow {
  transform: scale(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .arrow-icon {
    transition: none;
  }
}

/* ---------- 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;
}

body.bare main > :first-child {
  margin-top: 0;
}

/* ---------- Demander un devis : carte de verre sur le relief (choix « D », 9 novembre 2026) ----------
   Page « nue » (classe bare) : tout l'écran en noir argenté avec le relief animé, la carte au centre. */
body.bare main {
  gap: 0;
  padding: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.qd-page {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  padding: 0 clamp(14px, 3vw, 40px) clamp(20px, 3vw, 40px);
  overflow: hidden;
  color: var(--on-dark);
}
.qd-page .relief.relief {
  --relief-1: rgba(173, 181, 189, 0.3);
  --relief-2: rgba(233, 236, 239, 0.18);
  --relief-lines: rgba(255, 255, 255, 0.035);
  --relief-top: #0b0d0f;
  --relief-mid: #212529;
  --wave-top: #6c757d;
  --wave-bottom: #212529;
  --wave-opacity: 0.5;
  border-radius: 0;
}
.qd-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0;
}
.qd-logo {
  display: block;
  width: 150px;
}
.qd-logo svg {
  display: block;
  width: 100%;
  height: auto;
}
.qd-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qd-tools .round {
  width: 38px;
  height: 38px;
}
.qd-leave {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--on-dark-2);
  font-size: 13px;
  text-decoration: none;
}
.qd-leave i {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: background-color 200ms ease;
}
.qd-leave:hover {
  color: var(--on-dark);
}
.qd-leave:hover i {
  background: rgba(255, 255, 255, 0.08);
}
.qd-leave svg {
  width: 15px;
  height: 15px;
}
.qd-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  width: 100%;
  max-width: 1180px;
  margin: auto;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 30px;
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.qd-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 38px);
}
.qd-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
}
.qd-steps li {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--on-dark-2);
  font-size: 12.5px;
  opacity: 0.7;
}
.qd-steps li::before {
  content: '';
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  transition: background-color 300ms ease;
}
.qd-steps li.on,
.qd-steps li.done {
  color: var(--on-dark);
  opacity: 1;
}
.qd-steps li.on::before,
.qd-steps li.done::before {
  background: var(--on-dark);
}
.qd-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.qd-step[hidden] {
  display: none;
}
.qd-step.enter {
  animation: qd-in 420ms var(--ease) both;
}
@keyframes qd-in {
  from {
    opacity: 0;
    translate: 18px 0;
  }
}
.qd-step legend {
  padding: 0;
}
.qd-count {
  color: var(--on-dark-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.qd-step h1 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  outline: none;
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.qd-sub {
  margin: -4px 0 4px;
  color: var(--on-dark-2);
}
.qd-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.qd-tile,
.qd-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    scale 200ms var(--ease);
}
.qd-tile {
  min-height: 74px;
  padding: 12px 40px 12px 14px;
  border-radius: 18px;
  font-size: 14.5px;
  line-height: 1.2;
}
.qd-tile i {
  display: grid;
  width: 44px;
  flex: none;
  place-items: center;
}
.qd-tile .objet {
  width: 44px;
  height: auto;
  filter: drop-shadow(1px 0 0 #f4f4f4) drop-shadow(-1px 0 0 #f4f4f4) drop-shadow(0 1px 0 #f4f4f4) drop-shadow(0 -1px 0 #f4f4f4);
}
.qd-tile input,
.qd-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
/* La case dessinée, en haut à droite de la tuile : plusieurs projets possibles. */
.qd-tile::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #0b0d0f;
  font-size: 12px;
  font-weight: 700;
}
.qd-tile:hover,
.qd-chip:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.09);
  scale: 1.02;
}
.qd-tile:has(input:checked),
.qd-chip:has(input:checked) {
  border-color: var(--on-dark);
  background: rgba(255, 255, 255, 0.15);
}
.qd-tile:has(input:checked)::after {
  content: '\2713';
  border-color: var(--on-dark);
  background: var(--on-dark);
}
.qd-tile:has(input:focus-visible),
.qd-chip:has(input:focus-visible) {
  outline: 2px solid var(--on-dark);
  outline-offset: 2px;
}
.qd-label {
  margin: 4px 0 -2px;
  color: var(--on-dark-2);
  font-size: 13px;
}
.qd-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qd-chip {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13.5px;
}
.qd-chip:has(input:checked) {
  background: var(--on-dark);
  color: #0b0d0f;
}
.qd-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--on-dark-2);
  font-size: 13px;
}
.qd-field textarea,
.qd-field input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.25);
  color: var(--on-dark);
  font: inherit;
  font-size: 14.5px;
}
.qd-field textarea {
  resize: vertical;
}
.qd-field textarea::placeholder {
  color: rgba(233, 236, 239, 0.45);
}
.qd-field textarea:focus,
.qd-field input:focus {
  border-color: var(--on-dark);
  outline: none;
}
.qd-field .req {
  color: #ff8a8a;
  font-style: normal;
}
.qd-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.qd-fields .wide {
  grid-column: 1 / -1;
}
.qd-hint {
  margin: -4px 0 0;
  color: var(--on-dark-2);
  font-size: 12px;
}
.qd-error {
  margin: 0;
  color: #ff8a8a;
  font-size: 13px;
  font-weight: 500;
}
.qd-error[hidden],
.qd-fallback[hidden],
.qd-done[hidden],
.qd-foot[hidden] {
  display: none;
}
.qd-fallback {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--on-dark-2);
  font-size: 13px;
}
.qd-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.qd-back {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark-2);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.qd-back:hover {
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.4);
}
.qd-done {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 30px 0;
  outline: none;
  animation: qd-in 420ms var(--ease) both;
}
.qd-done h1 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  background: var(--title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.qd-done p {
  color: var(--on-dark-2);
}
.qd-done-illu .objet {
  width: 90px;
  height: auto;
  filter: drop-shadow(1.5px 0 0 #f4f4f4) drop-shadow(-1.5px 0 0 #f4f4f4) drop-shadow(0 1.5px 0 #f4f4f4) drop-shadow(0 -1.5px 0 #f4f4f4);
}
.qd-side {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(24px, 3vw, 38px) 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
}
.qd-side h2 {
  margin-bottom: 8px;
  color: var(--on-dark);
  font-size: 19px;
}
.qd-side dl {
  margin: 0;
}
.qd-side dl div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.qd-side dt {
  color: var(--on-dark-2);
  font-size: 12px;
}
.qd-side dd {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--on-dark);
  font-size: 13.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.qd-side dd.todo {
  color: rgba(233, 236, 239, 0.35);
  font-weight: 400;
}
.qd-side-illu {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.qd-side-illu .objet {
  width: 74px;
  height: auto;
  filter: drop-shadow(1.5px 0 0 #f4f4f4) drop-shadow(-1.5px 0 0 #f4f4f4) drop-shadow(0 1.5px 0 #f4f4f4) drop-shadow(0 -1.5px 0 #f4f4f4);
}
.qd-note {
  margin-top: 10px;
  color: var(--on-dark-2);
  font-size: 12px;
}
@media (max-width: 960px) {
  .qd-card {
    grid-template-columns: 1fr;
  }
  .qd-side {
    display: none;
  }
}
@media (max-width: 640px) {
  .qd-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .qd-tile {
    min-height: 64px;
    padding: 10px 34px 10px 10px;
    font-size: 13px;
  }
  .qd-tile i,
  .qd-tile .objet {
    width: 34px;
  }
  .qd-fields {
    grid-template-columns: 1fr;
  }
  .qd-leave span {
    display: none;
  }
  .qd-card {
    border-radius: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .qd-step.enter,
  .qd-done {
    animation: none;
  }
}
@media (max-width: 640px) {
  .qd-tile {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 12px 14px;
  }
  .qd-tile::after {
    top: 10px;
    right: 10px;
  }
  .qd-steps {
    gap: 6px;
  }
  .qd-steps li {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* ---------- Pages des réalisations : les outils utilisés, cliquables (9 novembre 2026) ----------
   Comme sur l'accueil : gris au repos, l'outil prend sa couleur et grossit au survol ; au clic, une fenêtre dit pourquoi
   One Technologie l'a choisi et ce qui a été fait avec sur ce projet (outils_projet dans realisations.json). */
.proj-tools,
.proj-tools:hover,
.proj-tools:focus-within {
  filter: none;
}
.proj-tool {
  color: var(--ink);
  cursor: pointer;
  transition:
    scale 260ms var(--ease),
    border-color 260ms ease,
    background-color 260ms ease;
}
.proj-tool i {
  filter: grayscale(1);
  opacity: 0.85;
  transition:
    filter 260ms ease,
    opacity 260ms ease;
}
.proj-tool:hover,
.proj-tool:focus-visible {
  scale: 1.08;
  border-color: var(--ink-3);
  background: var(--card);
}
.proj-tool:hover i,
.proj-tool:focus-visible i {
  filter: none;
  opacity: 1;
}
.proj-tool:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.proj-tools-hint {
  margin-top: 14px;
  color: var(--ink-3);
  font-size: 13px;
  text-align: center;
}
.tool-body .tool-label {
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Lien « Espace client » ---------- */
/* Dans la barre, un rond discret à côté du bouton « Éducation » (la barre n'a pas la place d'un libellé) :
   son nom s'affiche dessous au survol ou au clavier. Le lien en toutes lettres est dans le menu et le pied de page. */
body.company .client-link {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}
body.company .client-link svg {
  width: 17px;
  height: 17px;
}
body.company .client-link span {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  translate: -50% -4px;
  pointer-events: none;
  transition: opacity 160ms ease, translate 160ms ease;
}
body.company .client-link:hover,
body.company .client-link:focus-visible {
  border-color: var(--ink);
  background: var(--glass-flat);
}
body.company .client-link:hover span,
body.company .client-link:focus-visible span {
  opacity: 1;
  translate: -50% 0;
}
@media (max-width: 1180px) {
  body.company .client-link {
    display: none;
  }
}
/* Au-delà de 1 320 px, la barre garde sa largeur : le menu se resserre un peu pour laisser la place du rond. */
@media (min-width: 1321px) {
  body.company .top-nav a {
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.company .client-link span {
    transition: none;
  }
}

/* Page Contact : la ligne pour les clients, sous les coordonnées. */
.client-line {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
  text-align: center;
}
.client-line a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Barre du haut : de l'air au-dessus, et plus petite encore (16 novembre 2026) ----------
   Demandé par l'utilisateur. La pilule descend de 12 px sous le bord de l'écran ; le logo, les liens et les
   boutons perdent environ un dixième. */
body.company .top,
body.company .top.stuck {
  padding-block: 19px 9px;
}
body.company .top::before,
body.company .top.stuck::before {
  inset-block: 12px 3px;
}
body.company .brand {
  width: 132px;
}
body.company .top-nav {
  padding: 2px;
}
body.company .top-nav a {
  padding: 5px 11px;
  font-size: 13.5px;
}
body.company .top-actions {
  gap: 7px;
}
body.company .top-tools .round,
body.company .menu-btn,
body.company .client-link {
  width: 32px;
  height: 32px;
}
body.company .top-tools .round span {
  font-size: 11.5px;
}
body.company .top-tools .round svg,
body.company .client-link svg {
  width: 15px;
  height: 15px;
}
body.company .top .pill-btn.edu-pill {
  min-height: 34px;
  padding: 3px 3px 3px 13px;
  gap: 8px;
  font-size: 13.5px;
}
body.company .top .pill-btn.edu-pill .arrow {
  width: 27px;
  height: 27px;
}
@media (min-width: 1181px) and (max-width: 1320px) {
  body.company .top-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }
  body.company .brand {
    width: 124px;
  }
}
@media (min-width: 1321px) {
  body.company .top-nav a {
    padding-inline: 11px;
  }
}
@media (max-width: 560px) {
  body.company .brand {
    width: 110px;
  }
  body.company .top .pill-btn.edu-pill span:first-child {
    font-size: 13px;
  }
}
@media (max-width: 340px) {
  body.company .brand {
    width: 100px;
  }
}

/* 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;
}

/* ---------- Barre du haut : sans fond en haut de page, « tête du logo » quand on remonte (16 novembre 2026) ----------
   Demandé par l'utilisateur. Quatre états, posés par script.js sur .top :
   - en haut de page (pas de « stuck ») : la barre entière, sans fond, sans bordure ni ombre ;
   - « hide » : on descend, elle est cachée ;
   - « mini » : on remonte, seule la tête du logo (le rond et sa couronne) reste, dans une pastille de verre, au centre ;
   - « mini open » : pastille survolée, touchée ou atteinte au clavier, le verre s'étire jusqu'à la barre entière.
   Le fond fait 64 px de haut, 12 px sous le bord de l'écran ; la pastille est le même fond, découpé en rond
   (clip-path), ce qui donne l'étirement. Lien de la page ouverte : son texte à l'encre, sans pilule ni point. */
:root {
  --nav-quiet: #5c636a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --nav-quiet: #8e959c;
  }
}
:root[data-theme='dark'] {
  --nav-quiet: #8e959c;
}
body.company .top,
body.company .top.stuck {
  height: 76px;
  padding-block: 12px 0;
  grid-template-rows: 64px;
}
/* La barre est plus haute qu'avant : la première section remonte d'autant, pour ne pas descendre la page. */
body.company main > :first-child {
  margin-top: max(0px, calc(clamp(14px, 1.8vw, 26px) - 14px));
}
body.company .top::before,
body.company .top.stuck::before {
  inset: 12px clamp(10px, 1.6vw, 24px) auto;
  height: 64px;
  opacity: 0;
  clip-path: inset(-12px -24px -40px -24px round 999px);
  transition:
    opacity 250ms ease,
    clip-path 460ms var(--ease);
}
body.company .top.stuck::before {
  opacity: 1;
}
body.company .top.mini:not(.open)::before,
body.company .top.hide::before {
  clip-path: inset(6px calc(50% - 26px) round 999px);
}
body.company .top.mini:not(.open)::before {
  transition:
    opacity 250ms ease,
    clip-path 380ms var(--ease) 60ms;
}
/* Cachée : elle prend la forme de la pastille une fois sortie de l'écran, pour revenir pastille en remontant. */
body.company .top.hide::before {
  transition:
    opacity 250ms ease,
    clip-path 0s linear 380ms;
}
/* Le contenu de la barre : il apparaît quand le verre s'étire, s'efface quand il se replie. */
body.company .top > .brand,
body.company .top > .top-nav,
body.company .top > .top-actions {
  transition:
    opacity 240ms ease 140ms,
    translate 420ms var(--ease) 60ms,
    visibility 0s;
}
body.company .top.mini:not(.open),
body.company .top.hide {
  pointer-events: none;
}
body.company .top.mini:not(.open) > .brand,
body.company .top.mini:not(.open) > .top-nav,
body.company .top.mini:not(.open) > .top-actions,
body.company .top.hide > .brand,
body.company .top.hide > .top-nav,
body.company .top.hide > .top-actions {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 140ms ease,
    translate 220ms ease,
    visibility 0s linear 140ms;
}
body.company .top.hide > .brand,
body.company .top.hide > .top-nav,
body.company .top.hide > .top-actions {
  transition-delay: 380ms;
}
/* La pastille est au centre : le logo et les boutons se resserrent vers elle en s'effaçant. */
body.company .top.mini:not(.open) > .brand {
  translate: 48px 0;
}
body.company .top.mini:not(.open) > .top-actions {
  translate: -48px 0;
}
/* La pastille : la tête du logo, un vrai bouton (« Ouvrir le menu »). */
body.company .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 1px var(--glass-line);
  color: var(--ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: auto;
  transition:
    opacity 120ms ease,
    visibility 0s linear 120ms;
}
body.company .top.mini:not(.open) .bar-pill {
  opacity: 1;
  visibility: visible;
  transition:
    opacity 220ms ease 140ms,
    visibility 0s;
}
body.company .bar-pill > span {
  display: block;
  width: 25px;
  margin-top: -3px;
}
body.company .bar-pill svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
/* Le fichier du symbole garde, hors de son cadre, un « e » égaré : on ne le montre pas (le cadre est ouvert pour la couronne). */
body.company .bar-pill svg > path:first-child {
  display: none;
}
body.company .bar-pill path[fill='black'] {
  fill: var(--logo-ink);
}
body.company .bar-pill path[fill='white'] {
  fill: var(--logo-fill);
}
body.company .bar-pill path[stroke='black'] {
  stroke: var(--logo-ink);
}
body.company .bar-pill:focus-visible {
  outline-offset: 2px;
}
/* Les liens : plus serrés (20 px entre deux textes), gris, et la page ouverte à l'encre, en gras. */
body.company .top-nav {
  gap: 0;
  padding: 0;
  background: none;
}
body.company .top-nav a,
body.company .top-nav a[aria-current] {
  padding: 6px 10px;
  background: none;
  color: var(--nav-quiet);
}
body.company .top-nav a:hover,
body.company .top-nav a[aria-current] {
  color: var(--ink);
}
body.company .top-nav a[aria-current] {
  font-weight: 600;
}
body.company .top-nav a[aria-current]::after {
  display: none;
}
@media (min-width: 1181px) and (max-width: 1320px) {
  body.company .top-nav a,
  body.company .top-nav a[aria-current] {
    padding-inline: 9px;
  }
}
/* La langue : un bouton « FR ⌄ » qui ouvre une liste de deux choix, en verre. */
body.company .lang-pick {
  position: relative;
}
body.company .lang-btn {
  display: inline-flex;
  height: 32px;
  align-items: center;
  gap: 3px;
  padding: 0 7px 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease;
}
body.company .lang-btn svg {
  width: 14px;
  height: 14px;
  transition: rotate 220ms var(--ease);
}
body.company .lang-btn:hover,
body.company .lang-pick.open .lang-btn {
  border-color: var(--ink);
  background: var(--glass-flat);
}
body.company .lang-pick.open .lang-btn svg {
  rotate: 180deg;
}
body.company .lang-list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 50;
  min-width: 172px;
  margin: 0;
  padding: 6px;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: var(--glass-solid);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  animation: menu-in 200ms var(--ease) both;
}
body.company .lang-list[hidden] {
  display: none;
}
body.company .lang-list:focus {
  outline: none;
}
body.company .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.company .lang-list li.is-active {
  background: color-mix(in srgb, var(--ink) 9%, transparent);
}
body.company .lang-list:focus-visible li.is-active {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}
body.company .lang-list li[aria-selected='true'] {
  font-weight: 600;
}
body.company .lang-tick svg {
  width: 16px;
  height: 16px;
}
body.company .lang-list li[aria-selected='false'] .lang-tick {
  visibility: hidden;
}
/* Le logo : à l'arrivée, la couronne tombe et se pose sur le rond, puis le sourire se dessine ;
   au survol, la couronne fait un petit saut. La pastille rejoue la chute à chaque apparition. */
body.company .top .brand svg {
  overflow: visible;
}
body.company .top .brand .crown,
body.company .bar-pill .crown {
  transform-box: fill-box;
  transform-origin: 50% 100%;
}
@media (prefers-reduced-motion: no-preference) {
  body.company .top .brand:not(.logo-done) .crown {
    animation: crown-drop 900ms cubic-bezier(0.3, 0.7, 0.4, 1) 250ms both;
  }
  body.company .top .brand:not(.logo-done) path.logo-gold-line {
    stroke-dasharray: 180;
    animation: smile-draw 650ms ease-out 1000ms both;
  }
  body.company .top .brand.logo-done:hover .crown,
  body.company .top .brand.logo-done:focus-visible .crown {
    animation: crown-hop 560ms var(--ease);
  }
  body.company .top.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-draw {
  from {
    stroke-dashoffset: 180;
  }
  to {
    stroke-dashoffset: 0;
  }
}
/* Mouvement réduit : les états changent sans transition, rien ne bouge. */
@media (prefers-reduced-motion: reduce) {
  body.company .top::before,
  body.company .top.stuck::before,
  body.company .top.mini:not(.open)::before,
  body.company .top.hide::before,
  body.company .top > .brand,
  body.company .top > .top-nav,
  body.company .top > .top-actions,
  body.company .top.mini:not(.open) > .brand,
  body.company .top.mini:not(.open) > .top-nav,
  body.company .top.mini:not(.open) > .top-actions,
  body.company .top.hide > .brand,
  body.company .top.hide > .top-nav,
  body.company .top.hide > .top-actions,
  body.company .bar-pill,
  body.company .top.mini:not(.open) .bar-pill,
  body.company .lang-btn,
  body.company .lang-btn svg {
    transition: none;
  }
  body.company .top.mini:not(.open) > .brand,
  body.company .top.mini:not(.open) > .top-actions {
    translate: none;
  }
  body.company .lang-list {
    animation: none;
  }
}

/* ---------- Accueil : couverture « titre et carrousel » (17 novembre 2026, d'après une image envoyée par l'utilisateur) ----------
   Tout est centré : la pastille, le titre, la phrase, puis le carrousel des six services, ses fins indicateurs et les boutons.
   Chaque service est une carte en deux parties : un grand carré noir, posé comme un objet (dégradé, reflet, liseré clair,
   ombre douce), qui porte la scène dessinée du service et dépasse en haut et en bas d'un panneau clair qui porte son nom,
   sa phrase et le bouton. Le carrousel est celui de script.js (data-carousel) : plus de flèches, il avance seul toutes les
   3 secondes (data-autoplay="3000") et s'arrête sous la souris, au clavier, au doigt et hors de l'écran. */
.hero-platine.wb-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
  min-height: 0;
  padding: clamp(30px, 3.4vw, 52px) 0 clamp(118px, 11vw, 150px);
  overflow: hidden;
}
.wb-hero .hero-head {
  align-items: center;
  gap: 12px;
  max-width: none;
  margin: 0;
  padding-inline: clamp(18px, 4vw, 60px);
  text-align: center;
}
.wb-hero .hero-title {
  max-width: 21ch;
  font-size: clamp(30px, 3.5vw, 50px);
}
.wb-hero .hero-sub {
  max-width: 560px;
  font-size: 14.5px;
}
.wb-carousel {
  width: 100%;
  margin-top: 0;
}
.wb-carousel .svc-track {
  align-items: stretch;
  gap: 30px;
  padding: 18px calc(50% - min(330px, 43vw)) 22px;
}
.wb-carousel .svc-slide {
  position: relative;
  display: grid;
  width: min(660px, 86vw);
  grid-template-columns: 230px minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto 1fr;
  gap: 0 30px;
  padding: 0 30px 0 0;
  border-radius: 0;
  color: var(--ink);
  opacity: 0.3;
  scale: 0.86;
}
.wb-carousel .svc-slide.is-on {
  opacity: 1;
  scale: 1;
}
/* Le panneau clair, derrière : il commence au milieu du carré et s'arrête avant son haut et son bas. */
.wb-carousel .svc-slide::before {
  content: '';
  position: absolute;
  inset: 22px 0 22px 80px;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 34px;
  background: color-mix(in srgb, var(--btn-ink) 64%, transparent);
  box-shadow: 0 18px 40px -30px rgba(11, 13, 15, 0.35);
}
/* Le carré noir, posé sur le panneau : dégradé doux, reflet en haut à gauche, liseré clair et ombre portée. */
.wb-carousel .svc-slide-top {
  position: relative;
  display: grid;
  grid-row: 1 / -1;
  grid-column: 1;
  width: 230px;
  height: 230px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 52px;
  background:
    radial-gradient(90% 70% at 22% 8%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(80% 60% at 80% 110%, rgba(173, 181, 189, 0.12), transparent 70%),
    linear-gradient(155deg, #3a3f45, #16191c 46%, #0b0d0f);
  /* Pas d'ombre portée sous le carré (retirée à la demande de l'utilisateur) : seulement ses reflets intérieurs. */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -14px 26px -18px rgba(255, 255, 255, 0.08);
}
/* Le reflet : un ovale de lumière, très doux, en haut à gauche. */
.wb-carousel .svc-slide-top::after {
  content: '';
  position: absolute;
  top: -38%;
  left: -24%;
  width: 92%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.13), transparent);
  pointer-events: none;
}
.wb-carousel .svc-slide-illu {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  line-height: 0;
}
/* La scène est centrée dans le carré (son cadre carré a des marges égales) ; sur le noir, elle prend un fin liseré blanc,
   comme un autocollant. */
.wb-carousel .svc-slide-illu .objet {
  width: 84%;
  height: auto;
  filter: drop-shadow(1.5px 0 0 #fff) drop-shadow(-1.5px 0 0 #fff) drop-shadow(0 1.5px 0 #fff) drop-shadow(0 -1.5px 0 #fff);
  transition: scale 500ms var(--ease);
}
.wb-carousel .svc-slide.is-on:hover .svc-slide-illu .objet {
  scale: 1.05;
}
.wb-carousel .svc-slide h3 {
  grid-row: 2;
  grid-column: 2;
  font-size: 23px;
  text-align: center;
}
.wb-carousel .svc-slide > p {
  grid-row: 3;
  grid-column: 2;
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14px;
  text-align: center;
}
/* « Voir le service » : le vrai bouton pilule du site, un peu plus bas, centré dans le panneau. */
.wb-carousel .svc-slide .pill-btn {
  grid-row: 4;
  grid-column: 2;
  justify-self: center;
  align-self: start;
  margin-top: 22px;
}
/* Les indicateurs : de fins traits, l'actif un peu plus long ; la zone qu'on touche reste assez grande. */
.wb-carousel .svc-dots {
  gap: 2px;
  margin-top: 2px;
}
.wb-carousel .svc-dots button {
  width: 22px;
  height: 14px;
  padding: 6px 4px;
  background: color-mix(in srgb, var(--ink) 22%, transparent);
  background-clip: content-box;
  transition:
    width 300ms var(--ease),
    background-color 300ms ease;
}
.wb-carousel .svc-dots button[aria-current='true'] {
  width: 36px;
  background-color: var(--ink);
}
.wb-carousel .svc-dots button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}
.wb-hero .wb-actions {
  justify-content: center;
  margin-top: 4px;
  padding-inline: 18px;
}

/* ---------- Accueil : « Nos outils de création », rapprochés de « Notre réponse » ----------
   Le titre est un tampon centré à cheval sur le bord du haut, comme « Notre devise » ; la rangée des outils dessous,
   sur toute la largeur. */
.view-section + .svc-section {
  margin-top: calc(clamp(90px, 11vw, 150px) * -1 + clamp(38px, 4vw, 54px));
}
.svc-section {
  padding-top: clamp(46px, 5vw, 62px);
  padding-bottom: clamp(26px, 3vw, 40px);
}
.svc-section .tools-stamp {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -50%) rotate(-4deg);
}
.svc-section .tools-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin: 0 calc(clamp(18px, 7vw, 90px) * -1);
  padding-top: 0;
  border-top: 0;
}
.svc-section .tools-hint {
  margin: 0;
  color: var(--on-dark-2);
  font-size: 12.5px;
  text-align: center;
}

/* ---------- Accueil sur téléphone : textes et carrousel mieux rangés ---------- */
@media (max-width: 760px) {
  .hero-platine.wb-hero {
    gap: 14px;
    padding-bottom: 96px;
  }
  .wb-hero .hero-head {
    gap: 10px;
    padding-inline: 20px;
  }
  .wb-hero .hero-title {
    max-width: 15ch;
    font-size: clamp(27px, 7.6vw, 32px);
    line-height: 1.12;
    text-wrap: balance;
  }
  .wb-hero .hero-sub {
    max-width: 32ch;
    font-size: 14px;
    line-height: 1.5;
    text-wrap: balance;
  }
  .wb-carousel .svc-track {
    gap: 14px;
    padding: 12px calc(50% - 41vw) 14px;
  }
  .wb-carousel .svc-slide {
    width: 82vw;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    justify-items: center;
    gap: 0;
    padding: 0 20px 24px;
    text-align: center;
  }
  .wb-carousel .svc-slide::before {
    inset: 76px 0 0;
    border-radius: 28px;
  }
  .wb-carousel .svc-slide-top {
    grid-row: auto;
    width: 168px;
    height: 168px;
    border-radius: 40px;
  }
  .wb-carousel .svc-slide h3,
  .wb-carousel .svc-slide > p,
  .wb-carousel .svc-slide .pill-btn {
    grid-row: auto;
    grid-column: 1;
  }
  .wb-carousel .svc-slide h3 {
    margin-top: 18px;
    font-size: 20px;
    line-height: 1.2;
    text-wrap: balance;
  }
  .wb-carousel .svc-slide > p {
    max-width: 30ch;
    font-size: 13.5px;
    line-height: 1.5;
    text-wrap: balance;
  }
  .wb-carousel .svc-slide .pill-btn {
    margin-top: 18px;
  }
  .wb-hero .wb-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .svc-section .tools-row {
    margin-inline: -18px;
  }
  .svc-section .tools-stamp {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .wb-carousel .svc-slide-illu .objet,
  .wb-carousel .svc-dots button {
    transition: none;
  }
}
/* Accueil sur téléphone : l'en-tête des réalisations centré comme les autres, le bouton de l'Éducation sur une ligne. */
@media (max-width: 760px) {
  .works-head {
    flex-direction: column;
    align-items: center;
    padding-inline: 8px;
    text-align: center;
  }
  .works-head > div {
    align-items: center;
    gap: 12px;
  }
  .works-head h2 {
    font-size: clamp(24px, 7vw, 28px);
    text-wrap: balance;
  }
  .duo-edu .edu-btn {
    gap: 8px;
    padding-left: 16px;
    font-size: 13px;
    white-space: nowrap;
  }
  .duo-edu h2 {
    text-wrap: balance;
  }
}

/* ---------- Accueil : « Déjà en ligne », dans le langage de la couverture (17 novembre 2026, proposition) ----------
   Tout est centré : la pastille, le titre, une phrase, puis une carte par projet en ligne. Chaque carte : un cadre noir aux
   coins très arrondis (dégradé, reflet, liseré clair, sans ombre portée) qui tient la vraie capture du projet, posé sur un
   panneau clair qu'il dépasse en haut ; dessous, une ligne discrète « En ligne · adresse », le nom, une phrase et le bouton. */
.live-panel {
  padding: clamp(60px, 7vw, 100px) clamp(18px, 4vw, 60px);
}
.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}
.live-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 clamp(18px, 2vw, 26px) clamp(26px, 2.6vw, 34px);
  isolation: isolate;
  text-align: center;
}
/* Le panneau clair, derrière : il commence au premier tiers du cadre. */
.live-item::before {
  content: '';
  position: absolute;
  inset: clamp(70px, 8.5vw, 116px) 0 0;
  z-index: -1;
  border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  border-radius: 34px;
  background: color-mix(in srgb, var(--btn-ink) 64%, transparent);
  box-shadow: 0 18px 40px -30px rgba(11, 13, 15, 0.35);
}
/* Le cadre noir, comme le carré des services : la capture y est posée avec une petite marge. */
.live-frame {
  position: relative;
  width: 100%;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    radial-gradient(90% 70% at 22% 8%, rgba(255, 255, 255, 0.16), transparent 62%),
    radial-gradient(80% 60% at 80% 110%, rgba(173, 181, 189, 0.12), transparent 70%),
    linear-gradient(155deg, #3a3f45, #16191c 46%, #0b0d0f);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -14px 26px -18px rgba(255, 255, 255, 0.08);
  transition: translate 500ms var(--ease);
}
.live-frame::after {
  content: '';
  position: absolute;
  top: -38%;
  left: -24%;
  width: 92%;
  height: 74%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.13), transparent);
  pointer-events: none;
}
.live-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  border-radius: 25px;
  object-fit: cover;
  object-position: top center;
}
.live-item:hover .live-frame,
.live-item:focus-within .live-frame {
  translate: 0 -5px;
}
/* Une seule ligne fine : le point qui clignote, « En ligne », l'adresse. */
.live-meta {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 10px;
  margin-top: 22px;
  color: var(--ink-3);
  font-size: 12px;
}
.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-2);
  font-weight: 600;
}
.live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
  animation: live-blink 1.8s ease-in-out infinite;
}
@keyframes live-blink {
  50% {
    opacity: 0.25;
  }
}
.live-url {
  font-family: var(--mono);
}
.live-item h3 {
  margin-top: 8px;
  font-size: clamp(24px, 2.2vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.live-text {
  max-width: 42ch;
  margin-top: 6px;
  text-wrap: balance;
  color: var(--ink-2);
  font-size: 14px;
}
/* Le bouton tout en bas : les deux cartes gardent leurs boutons à la même hauteur. */
.live-item .pill-btn {
  margin-top: auto;
}
.live-text {
  margin-bottom: 20px;
}
@media (max-width: 760px) {
  .live-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .live-frame {
    padding: 8px;
    border-radius: 28px;
  }
  .live-frame img {
    border-radius: 21px;
  }
  .live-item::before {
    border-radius: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .live-frame {
    transition: none;
  }
  .live-item:hover .live-frame,
  .live-item:focus-within .live-frame {
    translate: none;
  }
}
