@import url("/static/jetons.css");
@import url("/static/dock.css?v=4");


* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
/* Le glissement à deux doigts vers la droite (pavé tactile) voulait dire « page précédente »
   et sortait des offres en plein geste sur une carte : le navigateur ne navigue plus sur ce geste. */
html, body { overscroll-behavior-x: none; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { margin: 0; font-weight: 500; }
h1 {
  font-family: var(--serif);
  font-size: 42px;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; }
h3 { font-size: 16px; font-weight: 500; }
p { margin: 0; }
small { font-size: 12px; color: var(--muted); }
a { color: inherit; text-decoration: none; }

.muted { color: var(--muted); }
.ok { color: var(--ok); }
.warn { color: var(--warn); }
.bad { color: var(--bad); }

/* ---------------------------------------------------------------- chrome */

.shell { min-height: 100%; }

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}
.dot.running { background: var(--ok); animation: pulse 1.4s ease-in-out infinite; }
.dot.paused { background: var(--warn); }
@keyframes pulse { 50% { opacity: 0.35; } }

main { min-width: 0; padding-bottom: 96px; }
.view { display: none; }
.view.active { display: block; }

.column {
  max-width: var(--column);
  margin: 0 auto;
  padding: 56px 28px 120px;
}
.column.wide { max-width: 1080px; }

.steps {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
}
.steps li {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: default;
  pointer-events: none;
}
.steps li + li::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--line);
  margin-right: 8px;
  flex: 0 0 18px;
}
.steps li.done + li::before,
.steps li.on + li::before { background: var(--accent); }
.steps li b {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-strong);
  font-size: 11px;
}
.steps li.on { color: var(--ink); }
.steps li.on b,
.steps li.done b {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.steps li.locked {
  cursor: default;
  opacity: 0.4;
  pointer-events: none;
}

.page-head { margin-bottom: 36px; }
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 16px;
}
.eyebrow b {
  margin-left: 10px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.lede {
  margin-top: 12px;
  color: var(--ink-soft);
  max-width: 36ch;
  font-size: 16px;
}
.hair {
  --p: 0;
  height: 3px;
  margin-top: 22px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent) calc(var(--p) * 1%), var(--line) 0);
}

/* ---------------------------------------------------------------- controls */

button {
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
}
button:hover { background: var(--raise); }
button:disabled { opacity: 0.4; cursor: default; }

button.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
button.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
button.ghost, button.text, a.text {
  background: transparent;
  border-color: transparent;
  padding: 0;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-decoration: none;
}
button.text:hover, a.text:hover { background: transparent; color: var(--ink); }
button.quiet { border-color: transparent; background: transparent; color: var(--ink-soft); }
button.small { padding: 5px 10px; font-size: 11px; }

input, select, textarea {
  font: inherit;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 12px 12px;
  width: 100%;
  min-width: 0;
}
input:focus, select:focus, textarea:focus, button:focus-visible, .nav-link:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}
select {
  appearance: none;
  cursor: pointer;
  padding-right: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%239a9084' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
textarea { resize: vertical; min-height: 72px; }
label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field { margin-bottom: 14px; }
.row { display: flex; gap: 10px; align-items: center; }
.row.wrap { flex-wrap: wrap; }

/* ---------------------------------------------------------------- surfaces */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}
.card + .card { margin-top: 12px; }
.card.slim { padding: 12px; box-shadow: none; }

.tile {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 14px 0;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 400;
}
.tile:hover { background: transparent; color: var(--accent); }

.grid { display: grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.auto { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.pill {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  background: var(--raise);
  color: var(--ink-soft);
}
.empty {
  padding: 28px 8px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}

/* ---------------------------------------------------------------- home */

.home-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 50;
  pointer-events: none;
}
.home-progress i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
body:not(.on-home):not(.on-price) .home-progress { display: none; }

.home-top {
  position: sticky;
  top: 0;
  z-index: 35;
  padding: 0 48px;
  background: rgba(242, 245, 251, 0.82);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.35s ease, background 0.35s ease;
}
.home-top.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(242, 245, 251, 0.92);
}
.home-top-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.home-top .brand {
  width: auto;
  margin: 0;
}
.home-top .brand::after { display: none; }
/* Le nœud MAXX AI (planche officielle) devant le nom, sur toutes les en-têtes. */
.home-top .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-noeud {
  width: 28px;
  height: 26px;
  object-fit: contain;
  flex: none;
}
.home-top-cta {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.18em;
}
.home-top-cta:hover { color: var(--ink); }

.hero-screen {
  min-height: calc(100svh - 84px);
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: stretch;
  gap: 72px;
  padding: 48px 48px 56px;
  position: relative;
  overflow: visible;
  scroll-snap-align: start;
  --p: 0.35;
}

#view-home [data-hero],
#view-pricing [data-hero] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
#view-home.ready [data-hero],
#view-pricing.ready [data-hero] { opacity: 1; transform: none; }
#view-home.ready .home-top,
#view-pricing.ready .home-top { transition-delay: 0s; }
#view-home.ready .hero-copy,
#view-pricing.ready .hero-copy { transition-delay: 0s; }
#view-home.ready .demo-frame,
#view-pricing.ready .demo-frame { transition-delay: 0.28s; }
#view-home.ready .path,
#view-pricing.ready .path { transition-delay: 0.4s; }
#view-home.ready .path li,
#view-pricing.ready .path li {
  opacity: 1;
  translate: 0;
}
#view-home.ready .path li:nth-child(1),
#view-pricing.ready .path li:nth-child(1) { transition-delay: 0.42s; }
#view-home.ready .path li:nth-child(2),
#view-pricing.ready .path li:nth-child(2) { transition-delay: 0.52s; }
#view-home.ready .path li:nth-child(3),
#view-pricing.ready .path li:nth-child(3) { transition-delay: 0.62s; }

.glow {
  position: absolute;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 75, 219, 0.18) 0%, rgba(31, 75, 219, 0.05) 38%, transparent 68%);
  top: 42%;
  right: -8%;
  transform: translateY(-50%);
  pointer-events: none;
  filter: blur(8px);
}

.brand {
  font-size: 11px;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  position: relative;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.brand::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: var(--metal);
  margin-top: 14px;
}

.hero-core {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 400px);
  gap: 88px;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  min-height: 0;
  padding-bottom: 12px;
}

.hero-copy { text-align: left; z-index: 2; }

.hero-screen h1 {
  font-size: clamp(52px, 7.2vw, 92px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.94;
  max-width: 11ch;
  margin: 0;
}
.hero-screen h1 .clip {
  display: block;
  overflow: hidden;
}
.hero-screen h1 .clip > span {
  display: block;
  translate: 0 108%;
  transition: translate 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
#view-home.ready h1 .clip:nth-child(1) > span,
#view-pricing.ready h1 .clip:nth-child(1) > span { translate: 0; transition-delay: 0.1s; }
#view-home.ready h1 .clip:nth-child(2) > span,
#view-pricing.ready h1 .clip:nth-child(2) > span { translate: 0; transition-delay: 0.22s; }
.hero-screen h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hook {
  margin-top: 28px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.5;
  max-width: 34ch;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#view-home.ready .hook,
#view-pricing.ready .hook {
  opacity: 1;
  translate: 0;
  transition-delay: 0.42s;
}

.hero-screen .go {
  margin-top: 40px;
  padding: 16px 36px;
  font-size: 12px;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#view-home.ready .hero-screen .go,
#view-pricing.ready .hero-screen .go {
  opacity: 1;
  translate: 0;
  transition-delay: 0.56s;
}

/* L'essai sans compte : la seule chose qu'on demande au visiteur avant de lui
   montrer le produit, c'est un fichier qu'il a déjà sous la main. */
.essai {
  margin-top: 36px;
  opacity: 0;
  translate: 0 14px;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
#view-home.ready .essai { opacity: 1; translate: 0; transition-delay: 0.56s; }

.essai-depot {
  display: block;
  padding: 22px 26px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, translate 0.2s ease;
}
.essai-depot:hover {
  border-color: var(--accent);
  background: var(--accent-wash);
  translate: 0 -2px;
}
.essai-depot b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}
.essai-depot span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}
.essai-depot[data-ton="bad"] { border-color: var(--bad); }
.essai-depot[data-ton="bad"] b { color: var(--bad); }

.essai-mention {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 42ch;
}
.essai-mention a { color: var(--ink-soft); }

/* Les trois gages, juste sous le dépôt. Une coche discrète, pas un argumentaire :
   ce sont des faits, et ils se lisent d'un coup d'œil ou pas du tout. */
.essai-gages {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  margin: 14px 0 0; padding: 0; list-style: none;
}
.essai-gages li {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-soft); font-size: 12.5px;
}
.essai-gages li::before {
  content: ""; flex: 0 0 auto; width: 12px; height: 7px;
  border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent);
  rotate: -45deg; translate: 0 -2px;
}

/* Le résultat prend la place de la démonstration animée : ce n'est plus un exemple
   inventé, c'est le formulaire du visiteur. */
.essai-vu {
  padding: 24px;
  background: var(--paper);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.essai-vu-tete b {
  display: block;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}
.essai-vu-tete span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: capitalize;
}
.essai-score {
  margin: 14px 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
}
/* Seule la liste défile. Un formulaire long ne doit pas pousser hors de vue le
   bouton qui est la raison d'être de l'écran. */
.essai-champs {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 300px;
  overflow-y: auto;
}
.essai-champs li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.essai-champs em {
  color: var(--ink-soft);
  font-style: normal;
  flex: 1 1 auto;
  min-width: 0;
}
.essai-champs b {
  font-weight: 500;
  text-align: right;
  max-width: 46%;
  overflow-wrap: anywhere;
}
.essai-champs .remplie b { color: var(--ok); }
.essai-champs .vide b { color: var(--muted); font-style: italic; }
.essai-suite { margin-top: 20px; }
.essai-suite p {
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 13px;
}
.essai-suite .primary { width: 100%; }

.demo-frame {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.demo-frame::after {
  content: "";
  position: absolute;
  width: 134%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 40deg, transparent 0deg, var(--metal) 50deg, transparent 90deg);
  mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1px), #000 calc(100% - 1px));
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
  animation: ring-spin 48s linear infinite reverse;
}
@keyframes ring-spin {
  to { rotate: 360deg; }
}
#price-path li { cursor: pointer; }
.demo {
  width: 100%;
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 64px rgba(12, 27, 61, 0.1);
  text-align: left;
  overflow: hidden;
  position: relative;
  z-index: 1;
  animation: demo-card 10s ease infinite;
}
.demo-frame:hover .demo {
  animation-play-state: paused;
}

@keyframes type1 {
  0%, 6% { width: 0; border-right-color: var(--accent); }
  18%, 78% { width: 11ch; border-right-color: transparent; }
  90%, 100% { width: 0; border-right-color: transparent; }
}
@keyframes type2 {
  0%, 22% { width: 0; border-right-color: transparent; }
  24% { border-right-color: var(--accent); }
  36%, 78% { width: 8ch; border-right-color: transparent; }
  90%, 100% { width: 0; }
}
@keyframes type3 {
  0%, 40% { width: 0; border-right-color: transparent; }
  42% { border-right-color: var(--accent); }
  52%, 78% { width: 5ch; border-right-color: transparent; }
  90%, 100% { width: 0; }
}
@keyframes check {
  0%, 4% { opacity: 0; transform: scale(0.5); }
  12%, 70% { opacity: 1; transform: scale(1); }
  84%, 100% { opacity: 0; transform: scale(0.5); }
}
@keyframes bar {
  0%, 8% { width: 0; }
  55% { width: 100%; }
  78% { width: 100%; }
  92%, 100% { width: 0; }
}
@keyframes cursor {
  0%, 5% { top: 28px; right: 22px; opacity: 1; }
  18% { top: 28px; right: 22px; }
  24%, 36% { top: 68px; right: 22px; }
  42%, 52% { top: 108px; right: 22px; }
  62%, 100% { opacity: 0; }
}
@keyframes done {
  0%, 58% { opacity: 0; }
  66%, 80% { opacity: 1; }
  90%, 100% { opacity: 0; }
}
@keyframes demo-lya {
  0%, 8% { opacity: 0.4; }
  16%, 62% { opacity: 1; }
  80%, 100% { opacity: 0.4; }
}
@keyframes demo-card {
  0%, 60% { box-shadow: 0 18px 50px rgba(12, 27, 61, 0.1); }
  68%, 80% { box-shadow: 0 18px 50px rgba(31, 75, 219, 0.22); }
  92%, 100% { box-shadow: 0 18px 50px rgba(12, 27, 61, 0.1); }
}

.path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
  list-style: none;
  margin: 0 auto;
  padding: 36px 0 0;
  width: 100%;
  max-width: 1120px;
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 3;
}
.path li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 4px;
  color: var(--muted);
  text-align: left;
  position: relative;
  cursor: default;
  opacity: 0;
  translate: 0 18px;
  transition: color 0.25s ease, opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.path li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--metal);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.path li:hover { color: var(--ink); }
.path li:hover::after,
.path li.on::after { width: 28px; }
.path li b {
  grid-row: 1 / span 2;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  display: block;
  background: transparent;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  padding-top: 3px;
  box-shadow: none;
}
.path li span {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.path li small {
  grid-column: 2;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.35;
}
.path li.on span,
.path li.done span { color: var(--ink); }
.path li.on b,
.path li.done b {
  background: transparent;
  border: 0;
  color: var(--accent);
  box-shadow: none;
}

.go {
  margin-top: 32px;
  padding: 16px 36px;
}

.display {
  font-family: var(--serif);
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-transform: none;
}
.display em {
  font-style: italic;
  color: var(--accent);
}

.stage {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px;
  position: relative;
  overflow: visible;
  --p: 0.2;
}
#view-home {
  overflow-x: clip;
}
#view-pricing {
  overflow-x: clip;
}

[data-reveal] {
  opacity: 0;
  translate: 0 40px;
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    translate 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    scale 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.stage.in [data-reveal],
[data-band].in [data-reveal] {
  opacity: 1;
  translate: 0 0;
}

.geo-ring {
  position: absolute;
  pointer-events: none;
}
.geo-ring {
  width: min(58vw, 560px);
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  right: -10%;
  top: 4%;
  rotate: calc(var(--p) * 24deg);
  scale: calc(0.9 + var(--p) * 0.16);
  opacity: 0.7;
}
.geo-ring::before,
.geo-ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.geo-ring::before {
  inset: 12%;
  border: 1px dashed rgba(31, 75, 219, 0.32);
}
.geo-ring::after {
  inset: 30%;
  background: rgba(31, 75, 219, 0.04);
}
.eq-hero {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--serif);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.eq-hero b {
  display: block;
  font-size: clamp(96px, 18vw, 220px);
  font-weight: 400;
  padding-bottom: 0.08em;
  scale: 0.86;
  opacity: 0;
  transition: scale 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.55s ease, translate 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.eq-hero span {
  display: block;
  margin-top: 4px;
  font-style: italic;
  font-size: clamp(28px, 4vw, 42px);
  color: #9bb0ff;
  letter-spacing: 0;
}
.know-stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}
.know-shot {
  grid-area: 1 / 1;
  width: min(100%, 380px);
  opacity: 0;
  scale: 0.92;
  translate: 0 28px;
  pointer-events: none;
  transition: opacity 0.55s ease, scale 0.7s cubic-bezier(0.16, 1, 0.3, 1), translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}
.know-shot.is-on {
  opacity: 1;
  scale: 1;
  translate: 0;
  pointer-events: auto;
}
.know-nav {
  display: flex;
  flex-direction: column;
}
.know-nav button {
  display: flex;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 26px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  text-align: left;
  position: relative;
  transition: color 0.25s ease;
}
.know-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--metal);
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.know-nav button.on::after { width: 42px; }
.know-nav button:first-child { border-top: 1px solid var(--line); }
.know-nav button:hover,
.know-nav button.on {
  color: var(--ink);
  background: transparent;
}
.know-nav button b {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--metal);
  font-weight: 500;
}
.know-nav button.on b { color: var(--accent); }
@keyframes pop-check {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.gain .eyebrow { margin-bottom: 28px; }
#view-pricing .eq-hero b {
  font-size: clamp(72px, 12vw, 160px);
}
.plan-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.3s ease, translate 0.3s ease;
}
.plan-card:hover { border-color: var(--metal); }
.plan-card.on {
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(31, 75, 219, 0.12);
  translate: 0 -4px;
}
.plan-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.plan-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.plan-card button {
  width: 100%;
  margin-top: 20px;
  border-radius: 999px;
}
.plan-card.on button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  width: 100%;
}
.flow li {
  font-family: var(--serif);
  font-size: 24px;
  position: relative;
  cursor: default;
}
.flow li:hover b {
  background: var(--accent);
  color: #fff;
}
.flow li + li::before {
  content: "";
  position: absolute;
  left: -18%;
  top: 26px;
  width: 36%;
  height: 1px;
  background: var(--line-strong);
}
.flow b {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  background: var(--paper);
  scale: 0.4;
  opacity: 0;
  transition: background 0.25s ease, color 0.25s ease, scale 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.flow li:nth-child(2) { transition-delay: 0.08s; }
.flow li:nth-child(3) { transition-delay: 0.16s; }
.flow li:nth-child(4) { transition-delay: 0.24s; }

.logo-strip {
  padding: 40px 0 28px;
  border-top: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper);
  margin: 0;
}
.logo-kicker {
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}
.logo-kicker em {
  font-style: italic;
  font-family: var(--serif);
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--ink);
  margin-left: 8px;
  font-size: 15px;
}
.logo-shift { will-change: transform; }
.logo-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  padding: 6px 24px;
  animation: logo-marquee 42s linear infinite;
}
.logo-track img {
  display: block;
  height: 30px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.92;
  flex: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.logo-item {
  display: grid;
  place-items: center;
  cursor: default;
}
.logo-item:hover img {
  opacity: 1;
  transform: scale(1.1);
}
.logo-track img[alt="Goldman Sachs"] { height: 34px; }
.logo-compte {
  margin: 22px auto 0; padding: 0 24px; text-align: center;
  color: var(--ink-soft); font-size: 14px;
}
@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.facts b {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.facts p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.45;
  max-width: 28ch;
}

/* ---------------------------------------------------------------- profile */

.how {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
}
.how div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 110px;
}
.how b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 13px;
}
.how span {
  font-size: 13px;
  color: var(--ink-soft);
}

.drop {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  padding: 56px 24px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 18px;
}
.drop:hover, .drop.over { border-color: var(--accent); background: var(--accent-wash); }
.drop strong {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}
.drop span { display: block; margin-top: 8px; color: var(--muted); }
.drop.done {
  padding: 22px 24px;
  text-align: left;
  border-color: var(--accent);
  background: var(--accent-wash);
}
.drop.done strong { font-size: 22px; }

.id-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 24px;
  margin-bottom: 8px;
}
.id-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.stack { padding: 8px 0 22px; border-top: 1px solid var(--line); }
.stack h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
}
.stack h2 small { letter-spacing: 0; text-transform: none; }

.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.compte-row { margin-top: 18px; }

.map { border-top: 1px solid var(--line); }

.role {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-soft);
}
.next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.next p { color: var(--ink-soft); }

.room {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.room > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.room > summary::-webkit-details-marker { display: none; }
.room[open] > summary { margin-bottom: 8px; }

.block { border-top: 1px solid var(--line); padding: 18px 0; }
.block:first-child { border-top: 0; }
.block-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.block-line, .block-text { color: var(--ink-soft); }
.entry + .entry { margin-top: 16px; }
.entry h3 { font-family: var(--serif); font-size: 20px; }
.entry .when { font-size: 13px; color: var(--muted); margin-top: 2px; }
.entry ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span {
  padding: 4px 0;
  margin-right: 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

.quiz-group { border-top: 1px solid var(--line); }
.quiz-group > summary {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
}
.quiz-group > summary::-webkit-details-marker { display: none; }
.quiz-group > summary small { font-weight: 400; }
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  padding: 4px 0 20px;
}
.quiz-field.todo label { color: var(--warn); }
.quiz-field small { display: block; margin-top: 4px; }
.quiz-actions { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.step-nav .quiz-actions { margin-top: 0; }
#quiz-done { margin-top: 28px; }
#quiz-done .quiz-group { opacity: 0.88; }
.quiz-done { margin-top: 18px; }
.quiz-done > summary {
  list-style: none;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0;
}
.quiz-done > summary::-webkit-details-marker { display: none; }

/* ---------------------------------------------------------------- search */

.offers-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 48px 160px;
  position: relative;
  overflow: hidden;
}
.offers-head h1 {
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 400;
  letter-spacing: -0.03em;
}
.offers-head .lede { margin-top: 12px; max-width: 52ch; }
.offers-head .lede-meta {
  margin: 10px auto 0;
  max-width: 48ch;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: color-mix(in srgb, var(--ink) 48%, transparent);
}
#view-search .offers-head {
  text-align: center;
}
#view-search .offers-head .lede {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}
#view-search .offers-head,
#view-search .offer-search,
#view-search .prompt-chips,
#view-search .offer-explore {
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
#view-search.ready .offers-head,
#view-search.ready .offer-search,
#view-search.ready .prompt-chips,
#view-search.ready .offer-explore {
  opacity: 1;
  translate: 0;
}
#view-search.ready .offers-head { transition-delay: 0.04s; }
#view-search.ready .offer-search { transition-delay: 0.12s; }
#view-search.ready .prompt-chips { transition-delay: 0.2s; }
#view-search.ready .offer-explore { transition-delay: 0.28s; }
.offers-page .price-glow { z-index: 0; }
.offers-page .price-ring { z-index: 0; }

.track-page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 48px 160px;
}
.track-pulse {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 36px 0 8px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.track-pulse button {
  text-align: left;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.track-pulse button:hover { background: transparent; }
.track-pulse button:hover b { color: var(--accent); }

.price-page { position: relative; overflow: hidden; }
.price-glow {
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  right: -12%;
  top: 40px;
  background: radial-gradient(circle, rgba(31, 75, 219, 0.22) 0%, rgba(176, 141, 87, 0.12) 42%, transparent 68%);
  filter: blur(12px);
  pointer-events: none;
  animation: price-glow 8s ease-in-out infinite;
}
.price-glow.is-metal {
  right: auto;
  left: -18%;
  top: 520px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(176, 141, 87, 0.22) 0%, transparent 68%);
  animation-delay: -3.4s;
}
.price-ring {
  top: 2%;
  right: -14%;
  opacity: 0.38;
  z-index: 0;
}
@keyframes price-glow {
  0%, 100% { opacity: 0.7; transform: translate(0, 0) scale(1); }
  50% { opacity: 1; transform: translate(-28px, 18px) scale(1.06); }
}

#view-pricing .offers-head .lede { max-width: 46ch; }
#view-pricing .offers-head {
  position: relative;
  z-index: 1;
  opacity: 0;
  translate: 0 18px;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), translate 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
#view-pricing.ready .offers-head {
  opacity: 1;
  translate: 0;
}
#view-pricing.ready .offers-head { transition-delay: 0.04s; }
.price-page .plan-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 28px 24px 24px;
  text-align: left;
  cursor: pointer;
  opacity: 0;
  translate: 0 36px;
  transition:
    border-color 0.28s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease,
    background 0.35s ease,
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    translate 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
.price-page .plan-card[data-plan="mensuel"] {
  border-radius: 64px 18px 64px 18px;
}
.price-page .plan-card[data-plan="trimestre"] {
  border-radius: 48px;
}
.price-page .plan-card[data-plan="annuel"] {
  border-radius: 18px 64px 18px 64px;
}
.price-page .plan-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(31, 75, 219, 0.1);
}
.price-page .plan-card.on {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--accent-wash) 0%, var(--paper) 48%);
  box-shadow: 0 22px 48px rgba(31, 75, 219, 0.16);
  transform: translateY(-8px);
}
.price-page .plan-card.is-pop { animation: plan-pop 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes plan-pop {
  0% { transform: translateY(-4px) scale(0.98); }
  60% { transform: translateY(-10px) scale(1.015); }
  100% { transform: translateY(-8px) scale(1); }
}
.price-page .plan-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px dashed var(--line);
}
.price-page .plan-card li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.price-page .plan-card button {
  width: 100%;
  margin-top: 20px;
  border-radius: 999px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.price-page .plan-card:not(.on) button {
  background: var(--accent-wash);
  border-color: transparent;
  color: var(--accent);
}
.price-page .plan-card:not(.on) button:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.price-page .plan-card.on button {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.price-page .plan-card.on button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.price-bridge {
  display: block;
  width: 100%;
  height: 88px;
  margin: 12px 0 4px;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.price-bridge path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}
.price-bridge circle {
  fill: var(--accent);
  opacity: 0;
  transition: opacity 0.4s ease 0.55s;
}
.price-bridge.in path { stroke-dashoffset: 0; }
.price-bridge.in circle { opacity: 1; }

.price-compare {
  margin-top: 8px;
  position: relative;
  z-index: 1;
  opacity: 0;
  translate: 0 40px;
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), translate 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.price-compare.in {
  opacity: 1;
  translate: 0;
}
.price-compare h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
  padding-bottom: 12px;
  margin-bottom: 18px;
}
.price-compare {
  padding: 32px 28px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 56px 20px 56px 20px;
}
.price-compare table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
  margin-top: 4px;
  font-size: 15px;
}
.price-compare th,
.price-compare td {
  text-align: left;
  padding: 12px 14px;
  vertical-align: baseline;
  transition: background 0.25s ease, color 0.25s ease, border-radius 0.25s ease;
}
.price-compare thead th {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.price-compare thead [data-plan] { cursor: pointer; }
.price-compare thead [data-plan].on {
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
}
.price-compare tbody th {
  font-weight: 500;
  color: var(--ink);
  padding-left: 4px;
}
.price-compare td { color: var(--ink-soft); }
.price-compare tbody [data-plan].on {
  background: var(--accent-wash);
  color: var(--accent);
  border-radius: 999px;
}
.track-pulse button.has-offer b,
.track-pulse button.has-offer:hover b { color: var(--metal); }
.track-pulse b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.track-pulse em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.track-vacant {
  margin: 28px 0 4px;
  color: var(--muted);
  font-size: 15px;
}
.track-feed { margin-top: 8px; }

.track-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 20px;
  align-items: start;
  padding: 22px 4px 20px;
  border-bottom: 1px solid var(--line);
}
.track-row .bubble { width: 52px; height: 52px; box-shadow: none; }
.track-row .bubble.is-initials { font-size: 16px; }
.track-row h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
  cursor: pointer;
}
.track-row h3:hover { color: var(--accent); }
.track-meta {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
}
.track-move {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
  max-width: 36rem;
  border: 1px solid var(--line-strong);
  background: var(--bg);
}
.track-move button {
  margin: 0;
  padding: 10px 8px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.track-move button:last-child { border-right: 0; }
.track-move button:hover {
  background: var(--paper);
  color: var(--ink);
}
.track-move button.on {
  background: var(--paper);
  color: var(--accent);
  font-weight: 600;
}
.track-rounds {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
.track-rounds button {
  margin: 0;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}
.track-rounds button:hover { background: transparent; color: var(--ink); }
.track-rounds button.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.track-empty {
  margin-top: 48px;
  max-width: 40ch;
}
.track-empty h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
}
.track-empty p { margin-top: 12px; color: var(--ink-soft); }
.track-empty .primary { margin-top: 22px; }

.offer-search {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  margin: 36px auto 0;
  max-width: 780px;
  padding: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(31, 75, 219, 0.08);
}
.offer-search-main {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 0 0 14px;
}
.offer-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 12px 8px;
  font-size: 17px;
  line-height: 1.3;
}
.offer-search input[type="search"]:focus { outline: none; }
.offer-search input[type="search"]::placeholder { color: var(--muted); }
.offer-search input[type="search"]::-webkit-search-cancel-button { appearance: none; }
.offer-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 2px 8px 6px;
}
.offer-search select {
  flex: 1;
  min-width: 0;
  max-width: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent);
  padding: 10px 28px 10px 14px;
  appearance: none;
  font: inherit;
  font-size: 13px;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% + 2px), calc(100% - 8px) calc(50% + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.offer-search select:focus { outline: none; }
.offer-search .primary {
  flex: none;
  margin: 0;
  border-radius: 999px;
  padding: 12px 20px;
}
.offer-search .suggest {
  left: 18px;
  right: 18px;
  top: calc(100% + 8px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(12, 27, 61, 0.12);
}
.prompt-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 18px auto 0;
  max-width: 720px;
  position: relative;
  z-index: 1;
}
.prompt-chip {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.prompt-chip:nth-child(odd) { border-radius: 999px 12px 999px 12px; }
.prompt-chip:nth-child(even) { border-radius: 12px 999px 12px 999px; }
.prompt-chip:hover,
.prompt-chip.on {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-wash);
}
#search-state {
  display: block;
  text-align: center;
  margin-top: 16px;
  min-height: 1.2em;
  position: relative;
  z-index: 1;
}
.offer-explore {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.offer-sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}
.offer-sectors button {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.offer-sectors button:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.offer-sectors button.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.match-read {
  margin: 28px auto 0;
  max-width: 40ch;
  text-align: center;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
}
.house-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 0 8px;
  margin: 18px 0 4px;
  scrollbar-width: none;
}
.house-strip::-webkit-scrollbar { display: none; }
.house-pill {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 16px 8px 8px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  border-radius: 999px;
}
.house-pill .bubble { width: 40px; height: 40px; box-shadow: none; }
.house-pill .bubble img { width: 72%; height: 72%; }
.house-pill em {
  font-style: normal;
  font-size: 14px;
  color: var(--ink);
}
.house-pill small { color: var(--accent); }
.house-pill .bubble.is-initials { font-size: 13px; }
.job-feed { margin-top: 12px; }
.job-row {
  display: grid;
  grid-template-columns: 22px 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 18px;
  width: 100%;
  text-align: left;
  padding: 16px 18px;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.job-row:nth-child(odd) { border-radius: 28px 12px 28px 12px; }
.job-row:nth-child(even) { border-radius: 12px 28px 12px 28px; }
.job-row:hover {
  background: var(--paper);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(31, 75, 219, 0.08);
}
.job-row:hover h3 { color: var(--accent); }
.job-row .bubble { width: 56px; height: 56px; box-shadow: none; }
.job-row .bubble img { width: 72%; height: 72%; }
.job-row h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.job-row .job-meta {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.4;
}
.job-row .job-why {
  margin-top: 6px;
  color: var(--accent);
  font-size: 13px;
}
.job-row .job-go {
  align-self: center;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.job-row:hover .job-go {
  background: var(--accent);
  color: #fff;
}
.job-pick {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 4px;
  background: var(--paper);
  justify-self: center;
}
.job-row.is-picked {
  border-color: var(--accent);
  background: var(--accent-wash);
}
.job-row.is-picked .job-pick {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: inset 0 0 0 3px var(--paper);
}
.hunt-bar {
  position: fixed;
  left: 50%;
  translate: -50% 0;
  bottom: 92px;
  z-index: 35;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 22px;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(12, 27, 61, 0.08);
}
.hunt-bar[hidden] { display: none; }
.hunt-bar strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.hunt-bar .hunt-progress {
  color: var(--ink-soft);
  font-size: 13px;
  white-space: nowrap;
}
.hunt-bar .hunt-progress[hidden] { display: none; }
.bubble-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 18px 8px;
  padding: 4px 0 8px;
}
.bubble-item {
  width: auto;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.bubble-item:hover { background: transparent; }
.bubble-item:hover .bubble { transform: scale(1.06); }
.bubble {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  padding: 4px;
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--paper), var(--paper)) padding-box,
    linear-gradient(140deg, var(--accent), var(--metal)) border-box;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(12, 27, 61, 0.08);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.bubble img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.bubble.is-initials {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--accent);
}
.bubble-lg {
  width: 96px;
  height: 96px;
  flex: none;
}
.bubble-item em {
  font-style: normal;
  font-size: 12px;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink);
}
.bubble-item small { color: var(--accent); }
.company-sheet {
  margin-top: 28px;
  position: relative;
  z-index: 1;
}
.company-hero {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 48px 20px 48px 20px;
}
.company-hero h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}
.sheet-blurb {
  margin-top: 10px;
  max-width: 48ch;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.45;
}
.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
}
.sheet-actions .text,
.sheet-actions a {
  margin: 0;
  padding: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}
.reserve input { background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; padding: 10px 0; }
.reserve input:focus { outline: none; border-bottom-color: var(--accent); }
.reserve .primary { margin-bottom: 2px; }
#search-state { display: block; margin: 14px 0 0; }
.job-go {
  flex: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.pick h3, .job h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.pick b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.finder { position: relative; }
.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0; right: 0;
  z-index: 20;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  max-height: 260px;
  overflow: auto;
}
.suggest div {
  padding: 10px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  text-transform: none;
  letter-spacing: 0;
}
.suggest div .bubble {
  width: 28px;
  height: 28px;
  box-shadow: none;
  flex: none;
}
.suggest div .bubble.is-initials { font-size: 11px; }
.suggest div small { margin-left: auto; }
.suggest div:hover { background: var(--raise); }
.suggest .hint {
  color: var(--muted);
  pointer-events: none;
}
.suggest .hint:hover { background: transparent; }

.job .sub { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------------- tracker */

.stats { display: flex; gap: 8px; margin: 8px 0 20px; }
.stat {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  background: transparent;
  cursor: pointer;
}
.stat.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.stat b { font-variant-numeric: tabular-nums; }

.board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 8px;
  position: relative;
}
.rounds { display: flex; gap: 6px; margin-top: 8px; }
.round {
  padding: 4px 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
}
.round.on {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ---------------------------------------------------------------- companies */

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 6px; }
.sector { margin-top: 36px; }
.sector h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: 0;
  text-transform: none;
}
.sector h2 small { font-weight: 400; letter-spacing: 0; text-transform: none; }
.sector .grid { margin-top: 12px; }
.company-tile {
  min-height: 88px;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  align-items: start;
}
.company-tile .bubble {
  grid-row: 1 / span 3;
  width: 56px;
  height: 56px;
  box-shadow: none;
  align-self: center;
}
.company-tile .bubble img { width: 74%; height: 74%; }
.company-tile .bubble.is-initials { font-size: 15px; }
.company-tile h3,
.company-tile small { grid-column: 2; }
.company-tile small { display: block; margin-top: 3px; }
.company-tile .openings { min-height: 16px; margin-top: 10px; color: var(--accent); font-weight: 500; }
.company-tile .openings.none { color: var(--muted); }

/* ---------------------------------------------------------------- pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: left;
}

/* ---------------------------------------------------------------- live apply overlay */

#run {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(22, 19, 16, 0.62);
  display: grid;
  place-items: center;
  padding: 20px;
}
#run[hidden] { display: none; }
.run-box {
  background: var(--paper);
  width: min(1180px, 100%);
  height: min(760px, 100%);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.run-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.run-head .url {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.run-body { flex: 1; display: grid; grid-template-columns: 1fr 300px; min-height: 0; }
#stage { background: var(--raise); display: grid; place-items: center; overflow: hidden; }
#stage.interactive { cursor: crosshair; }
#stage img { max-width: 100%; max-height: 100%; display: block; }
.run-side {
  border-left: 1px solid var(--line);
  padding: 12px;
  overflow-y: auto;
}
.banner { padding: 10px 12px; font-size: 13px; }
.banner.ok { background: #e7f0ea; color: var(--ok); }
.banner.warn { background: var(--warn-wash); color: #8a5a16; }
.run-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.verify-row {
  display: flex;
  gap: 6px;
  width: 100%;
  align-items: center;
}
.verify-row input {
  flex: 1;
  width: auto;
  padding: 8px 10px;
  font-size: 13px;
}
.step { font-size: 13px; color: var(--ink-soft); padding: 2px 0; }
.log { font-size: 12px; color: var(--muted); padding: 3px 0; border-top: 1px solid var(--line); }
.log.warn { color: #8a5a16; }

@media (max-width: 900px) {
  .board, .quiz-grid, .reserve, .plans { grid-template-columns: 1fr; }
  .plan.on { transform: none; }
  .reserve .primary { width: 100%; }
  .hero-screen {
    padding: 48px 22px 96px;
    min-height: calc(100svh - 72px);
  }
  .home-top { padding: 0 22px; }
  .home-top-inner {
    min-height: 72px;
    gap: 12px;
  }
  .hero-core {
    grid-template-columns: 1fr;
    gap: 48px;
    align-content: center;
    overflow: hidden;
  }
  .hero-screen h1 { font-size: 42px; }
  .path {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 22px;
  }
  .stage {
    min-height: 0;
    padding: 56px 22px;
  }
  .geo-ring { display: none; }
  .eq-hero b { font-size: 96px; }
  .know-stage {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .know-nav button { font-size: 24px; padding: 16px 4px; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li + li::before { display: none; }
  .logo-track { gap: 36px; }
  .logo-track img { height: 22px; max-width: 100px; }
  .facts {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .price-page .plan-card.on { transform: none; }
  .price-page .plan-card[data-plan="mensuel"],
  .price-page .plan-card[data-plan="trimestre"],
  .price-page .plan-card[data-plan="annuel"] { border-radius: 36px; }
  .price-compare { border-radius: 32px; padding: 24px 16px 12px; }
  .price-bridge { height: 56px; }
  .offers-page { padding: 22px 22px 140px; }
  .track-page { padding: 22px 22px 140px; }
  .track-pulse { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .track-move { max-width: none; grid-template-columns: 1fr 1fr; }
  .track-move button:nth-child(2n) { border-right: 0; }
  .track-move button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .offer-search {
    border-radius: 24px;
    padding: 10px;
  }
  .offer-search-main { padding-left: 8px; flex-wrap: wrap; }
  .offer-search input[type="search"] { flex: 1 1 100%; }
  .offer-search .primary { width: 100%; }
  .offer-filters { padding: 4px 4px 2px; }
  .offer-search select { flex: 1 1 calc(50% - 4px); }
  .job-row { grid-template-columns: 22px 52px minmax(0, 1fr); }
  .job-row .job-go { display: none; }
  .match-read { font-size: 22px; }
  .company-hero { flex-direction: column; gap: 16px; border-radius: 32px; }
  .company-hero h2 { font-size: 28px; }
  .column { padding: 32px 18px 120px; }
  /* On a phone the run panel is the whole screen. The page being filled goes on top,
     sized by its own aspect ratio so it is never a letterboxed sliver, and the steps
     and log scroll underneath — which is what someone checking on a run actually
     reads, since the picture is only there for reassurance. */
  #run { padding: 0; }
  .run-box { width: 100%; height: 100svh; }
  .run-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  #stage { aspect-ratio: 16 / 10; max-height: 42svh; }
  .run-side { border-left: 0; border-top: 1px solid var(--line); }
  .run-head { padding: 14px; }
  .run-head .small { min-height: 40px; padding-inline: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo { animation: none !important; }
  .logo-track { animation: none !important; }
  .demo-frame::after, .price-glow { animation: none !important; }
  #view-pricing .offers-head,
  #view-pricing .plan-card,
  #view-pricing .price-compare,
  .plan-card.is-pop {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 !important;
    animation: none !important;
  }
  .price-bridge path {
    stroke-dashoffset: 0 !important;
    transition: none !important;
  }
  #view-search .offers-head,
  #view-search .offer-search,
  #view-search .prompt-chips,
  #view-search .offer-explore {
    opacity: 1 !important;
    translate: 0 !important;
  }
  #view-home [data-hero],
  #view-pricing [data-hero],
  [data-reveal],
  .path li,
  .hook,
  .hero-screen .go,
  .eq-hero b,
  .flow b {
    opacity: 1 !important;
    transform: none !important;
    translate: 0 !important;
    rotate: 0deg !important;
    scale: 1 !important;
    filter: none !important;
    transition: none !important;
  }
  .hero-screen h1 .clip > span {
    translate: 0 !important;
  }
}

/* ------------------------------------------------- hosted mode only
   None of this renders when the dashboard is served by the app running on the
   candidate's own machine: sitting at the keyboard is already the proof of identity. */

.gate-state { min-height: 20px; margin: 14px 0 0; font-size: 13px; }
.gate-state.ok { color: var(--ok); }
.gate-state.bad { color: var(--bad); }
.gate-state.muted { color: var(--muted); }

/* Le visiteur sans compte voit le site et s'en sert : la recherche est servie par le
   serveur, elle n'expose la vie privée de personne, et on ne peut pas demander à
   quelqu'un de s'inscrire pour une chose qu'on ne l'a pas laissé regarder. Seul ce
   qui suppose un dossier lui est caché. */

#device-card {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(22, 19, 16, 0.12);
}
#device-card[hidden] { display: none; }
.device-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.device-dot.on { background: var(--ok); }
.device-dot.off { background: var(--muted); }
/* Asked once, before anything is charged, and worded plainly enough to hold up. */
#waiver {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(22, 19, 16, 0.5); padding: 20px;
}
.waiver-box {
  background: var(--paper); border: 1px solid var(--line); max-width: 470px;
  padding: 26px 28px; box-shadow: 0 20px 60px rgba(22, 19, 16, 0.25);
}
.waiver-box h3 { margin: 0 0 10px; font-size: 18px; }
.waiver-box p { margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.waiver-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px;
  line-height: 1.5; cursor: pointer; margin-bottom: 14px; }
.waiver-check input { margin-top: 3px; flex: none; }
.waiver-fine { color: var(--muted); font-size: 12px; }
.waiver-foot { display: flex; gap: 10px; justify-content: flex-end; }

/* Ces trois liens doivent être atteignables de partout : c'est une obligation, pas
 * une courtoisie. Ils restent donc hors des vues, sous le pli. */
.site-foot {
  display: flex; gap: 20px; flex-wrap: wrap; align-items: baseline;
  padding: 26px 32px 34px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 12px;
}
.site-foot a { color: inherit; }
.site-foot-note { margin-left: auto; max-width: 42ch; }
.site-foot-mail { text-decoration: underline; text-underline-offset: 3px; }

/* La garantie, à côté du bouton plutôt qu'au fond des conditions de vente. Sobre
   exprès : une promesse de remboursement encadrée de couleurs vives se lit comme une
   réclame, alors que c'est justement le passage qu'on veut voir cru. */
.garantie {
  margin: 56px auto 0; max-width: 980px; padding: 30px 32px 26px;
  border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .58);
}
.garantie h2 {
  margin: 0 0 20px; font-size: 20px; letter-spacing: -.01em;
}
.garantie-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 34px;
}
.garantie-grid b { display: block; margin-bottom: 5px; font-size: 15px; }
.garantie-grid p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.garantie-note {
  margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
@media (max-width: 720px) {
  .garantie { padding: 24px 20px; border-radius: 16px; }
  .garantie-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}

#compte-sheet {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: rgba(22, 19, 16, 0.5); padding: 20px;
}
.compte-box {
  background: var(--paper); border: 1px solid var(--line); width: min(400px, 100%);
  padding: 24px 26px; box-shadow: 0 20px 60px rgba(22, 19, 16, 0.25);
}
.compte-box h3 { margin: 0 0 4px; font-size: 17px; }
.compte-box button { display: block; width: 100%; margin-bottom: 6px; }
.compte-mail { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.compte-fine { margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.compte-foot { display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
  font-size: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.compte-foot button { width: auto; margin: 0 0 0 auto; }
.compte-box h4 { margin: 4px 0 6px; font-size: 13px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--muted); }
.compte-ligne { display: flex; gap: 6px; margin: 0 0 6px; }
.compte-ligne input { flex: 1; min-width: 0; border: 1px solid var(--line);
  padding: 7px 9px; font: inherit; font-size: 13px; background: transparent;
  color: inherit; }
.compte-ligne button { width: auto; margin: 0; white-space: nowrap; }

/* Le diagnostic. Discret quand il n'y a rien à faire d'urgent, franc quand il y a
   une panne : la couleur porte la seule information que l'œil lit avant le texte. */
.diagnostic { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.02); font-size: 13px; line-height: 1.5; }
.diagnostic.grave { border-color: #a3341f; background: rgba(163, 52, 31, 0.07); }
.diagnostic b { display: block; margin-bottom: 3px; }
.diagnostic p { margin: 0; color: var(--muted); }
button.danger { border-color: #c8503a; color: #a3341f; }

/* « Installer MAXX » : un bouton, trois lignes, et un point qui bat tant que
   l'ordinateur n'a pas répondu. Le fichier fait tout ; la feuille ne fait que le dire. */
.install-box { width: min(440px, 100%); }
.install-box h3 { margin-bottom: 8px; }
.install-bouton { display: block; width: 100%; box-sizing: border-box; text-align: center;
  text-decoration: none; margin: 4px 0 8px; padding: 13px 16px; }
.install-autres { margin-bottom: 14px; }
.install-autres a { color: inherit; }
.install-etapes { margin: 0 0 16px; padding: 0 0 0 20px; font-size: 13px; line-height: 1.5;
  color: var(--muted); display: grid; gap: 8px; }
.install-etapes b { color: var(--ink, inherit); }
.install-adresse { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(0, 0, 0, 0.05); padding: 2px 6px; }
.install-attente { display: flex; align-items: center; gap: 9px; margin: 0 0 14px;
  font-size: 13px; color: var(--muted); }
.install-attente.pret { color: var(--ok, #2f7a3f); font-weight: 600; }
.install-pouls { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, #c8503a);
  animation: install-pouls 1.4s ease-in-out infinite; flex: none; }
.install-attente.pret .install-pouls { display: none; }
@keyframes install-pouls { 0%, 100% { opacity: 0.35; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1); } }

.device-plan { color: var(--muted); }
.device-plan:empty { display: none; }
.device-plan.spent { color: var(--bad, #b4402f); }

@media (max-width: 900px) {
  /* Above the bottom navigation dock rather than under it. */
  #device-card { left: 12px; right: 12px; bottom: 88px; justify-content: center; }
}

/* The questions a parked run is waiting on. Deliberately a sheet rather than a modal:
   it can be dismissed, and the run keeps its browser state either way. */
#ask-panel {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  display: grid;
  place-items: end center;
  padding: 16px;
}
#ask-panel[hidden] { display: none; }
.ask-box {
  width: min(520px, 100%);
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(22, 19, 16, 0.18);
  max-height: 80svh;
  overflow-y: auto;
}
.ask-box h3 { margin: 0 0 4px; font-size: 18px; }
.ask-sub { margin: 0 0 16px; font-size: 13px; color: var(--muted); }
#ask-form { display: grid; gap: 12px; }
#ask-form label { display: block; font-size: 13px; margin-bottom: 5px; }
#ask-form input,
#ask-form select {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 16px;
  border: 1px solid var(--line);
  background: var(--raise);
}
.ask-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
