@import url("/assets/css/brand-tokens.css");

/* ============================================================
   APPLAT - feuille de style vitrine
   Les couleurs de marque viennent de brand-tokens.css (--applat-*),
   partage avec l'espace connecte (app-ui.css). Ne pas redefinir
   une valeur de marque en dur ici.
   Rayons et ombres alignes sur app-ui.css : la vitrine et l'espace
   connecte doivent paraitre appartenir au meme produit. Inter.
   ============================================================ */

:root {
  --blue: var(--applat-blue);
  --blue-dark: var(--applat-blue-700);
  --blue-soft: var(--applat-blue-soft);
  --navy: var(--applat-navy);
  --navy-soft: #16233b;
  --cloud: var(--applat-bg);
  --steel: var(--applat-muted);
  --line: var(--applat-line);
  --line-dark: #24324c;
  --white: var(--applat-surface);
  --ok: #16a34a;

  /* Niveaux de gris de la vitrine : centralises ici pour ne plus etre
     reecrits en dur dans les composants. */
  --ink-soft: #475569;
  --ink-mid: #334155;
  --ink-faint: #b6c2d4;
  --grey-line: #c3cedd;

  --r: var(--applat-radius-sm);
  --r-lg: var(--applat-radius-md);
  --gap: 8px;
  --shadow: 0 5px 18px rgba(28, 42, 66, 0.055);
  --shadow-md: 0 14px 38px rgba(28, 42, 66, 0.07);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--navy);
  background: var(--white);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}

.dev-banner {
  background: var(--navy);
  color: #fff;
  font-size: 0.875rem;
  position: relative;
  z-index: 60;
}
.dev-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.dev-banner p {
  margin: 0;
  line-height: 1.45;
}
.dev-banner__link {
  flex: none;
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .dev-banner__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-weight: 800;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
}

h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: #fff;
  padding: 12px 16px;
  border-radius: 0 0 var(--r) 0;
}

.skip:focus {
  left: 0;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted {
  color: var(--steel);
}

.accent {
  color: var(--blue);
}

/* â”€â”€ Typo utilitaires â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.eyebrow--light {
  color: #7ea2ff;
}

.lede {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: var(--ink-soft);
  max-width: 34rem;
  margin-top: 20px;
}

.section {
  padding: clamp(56px, 6vw, 88px) 0;
}

.section--cloud {
  background: var(--cloud);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__lede {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.section__head--center .section__lede {
  margin-inline: auto;
  max-width: 40rem;
}

/* â”€â”€ Boutons â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--blue);
  color: #fff;
}

.btn--primary:hover {
  background: var(--blue-dark);
}

.btn--ghost {
  background: var(--white);
  border-color: var(--line);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  font-size: 0.875rem;
}

.btn--lg {
  height: 56px;
  padding: 0 30px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

.btn:active {
  transform: translateY(1px);
}

/* â”€â”€ Navigation â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand__logo {
  height: 28px;
  width: auto;
  flex: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav__links > a:not(.btn) {
  color: var(--ink-mid);
  transition: color 0.16s var(--ease);
}

.nav__links > a:not(.btn):hover {
  color: var(--navy);
}

.nav__links > a[aria-current="page"] {
  color: var(--blue);
  font-weight: 700;
}

.nav__login {
  padding-left: 4px;
}

.nav__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav__burger span[aria-hidden] {
  width: 16px;
  height: 1.5px;
  background: var(--navy);
  transition: transform 0.2s var(--ease);
}

/* â”€â”€ Hero â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}

/* Accent blueprint : trame de construction discrete, jamais un fond plein */
.hero__grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(47, 107, 255, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(47, 107, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 85% 60% at 42% 8%, #000 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 85% 60% at 42% 8%, #000 18%, transparent 72%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* Le H1 porte la promesse : rien sur la page ne doit le dépasser,
   d'où l'absence de surcharge locale et de wordmark répété ici. */
.hero__copy h1 {
  margin: 0;
  max-width: 15ch;
}

.hero__copy .lede {
  margin-top: 20px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__sub {
  margin-top: 14px;
  font-size: 0.9375rem;
  color: var(--steel);
  max-width: 32rem;
}

/* â”€â”€ Hero : la piece qui parcourt ses dimensions â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.morph {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.morph__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.morph__tag {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid #cddcff;
  border-radius: 6px;
  padding: 3px 9px;
}

.morph__tag--soft {
  color: var(--ink-soft);
  background: var(--cloud);
  border-color: var(--line);
}

.morph__arrow {
  color: var(--ink-faint);
  font-weight: 600;
}

.morph__stage {
  background-image: radial-gradient(rgba(11, 18, 32, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 10px 12px;
}

.morph__stage svg {
  width: 100%;
  height: auto;
}

.morph__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

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

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding: 5px 11px;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.chip:hover {
  border-color: #b8cbff;
  color: var(--blue-dark);
}

.chip.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.morph__out {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.morph__out.is-flash {
  animation: outFlash 1.4s var(--ease);
}

@keyframes outFlash {
  0% {
    color: var(--ok);
    transform: translateY(3px);
    opacity: 0;
  }
  25% {
    color: var(--ok);
    transform: none;
    opacity: 1;
  }
  100% {
    color: var(--steel);
  }
}

/* â”€â”€ Coque de l'espace connecte â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Reproduit la chrome reelle de l'application : topbar blanche,
   barre laterale blanche, fil d'Ariane. Tout ce que la home montre
   du logiciel s'affiche a l'interieur. */
.appshell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.appshell__top {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.appshell__logo {
  height: 19px;
  width: auto;
}

.appshell__top-spacer {
  flex: 1;
}

.appshell__avatar {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid #cddcff;
  color: var(--blue);
  font-size: 0.625rem;
  font-weight: 800;
}

.appshell__body {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
}

.appshell__side {
  border-right: 1px solid var(--line);
  padding: 12px 9px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--white);
}

.appshell__sidelabel {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8d9bb0;
  padding: 5px 8px 7px;
}

.appshell__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.appshell__nav::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 3px;
  border: 1.5px solid currentColor;
  opacity: 0.55;
  flex: none;
}

.appshell__nav.is-on {
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
}

.appshell__nav.is-on::before {
  opacity: 1;
}

.appshell__side-foot {
  margin-top: auto;
  padding-top: 10px;
}

.appshell__plan {
  margin: 10px 0 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfe;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--steel);
}

.appshell__main {
  min-width: 0;
  min-height: 0;
  background: var(--cloud);
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

/* Le contenu s'efface avant d'etre remplace : jamais de saut sec */
.appshell__main.is-swapping {
  opacity: 0.28;
  transform: translateY(5px);
}

.appshell__crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px 0;
  margin: 0;
  font-size: 0.75rem;
  color: var(--steel);
  min-height: 30px;
  flex-wrap: wrap;
}

.appshell__crumb b {
  color: var(--blue);
  font-weight: 600;
}

.appshell__crumb i {
  font-style: normal;
  color: var(--ink-faint);
}

.appshell__crumb strong {
  color: var(--navy);
  font-weight: 650;
}

.appshell__head {
  padding: 10px 18px 0;
}

.appshell__head h4 {
  font-size: 1.0625rem;
  font-weight: 750;
  letter-spacing: -0.015em;
  color: var(--navy);
  margin: 0;
}

.appshell__head p {
  margin: 3px 0 0;
  font-size: 0.75rem;
  color: var(--steel);
}

.appshell__tabs {
  display: flex;
  gap: 22px;
  margin: 12px 18px 0;
  border-bottom: 1px solid var(--line);
}

.appshell__tabs span {
  padding: 0 2px 9px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--steel);
  position: relative;
}

.appshell__tabs span.is-on {
  color: var(--navy);
}

.appshell__tabs span.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
}

.appshell__screen {
  flex: 1;
  padding: 16px 18px 18px;
  min-height: 0;
}

/* â”€â”€ Construire : rail d'etapes + ecrans â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Seule la coque de « Construire » est figee : elle enchaine quatre
   ecrans de hauteurs differentes et sautait a chaque transition.
   Pas de scroll interne : le contenu doit tenir dans la hauteur fixe. */
#build-shell {
  height: 520px;
  display: flex;
  flex-direction: column;
}

#build-shell .appshell__body {
  flex: 1;
  min-height: 0;
}

#build-shell .appshell__screen {
  min-height: 0;
  overflow: hidden;
  padding: 12px 16px 14px;
}

#build-shell .appshell__crumb {
  padding-top: 10px;
  min-height: 26px;
}

#build-shell .appshell__head {
  padding-top: 8px;
}

#build-shell .appshell__head h4 {
  font-size: 1rem;
}

#build-shell .appshell__tabs {
  margin-top: 8px;
}

#build-shell .appshell__tabs span {
  padding-bottom: 7px;
}

.build {
  display: grid;
  grid-template-columns: 296px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.build__rail {
  display: grid;
  gap: 8px;
  position: sticky;
  top: 92px;
}

.build__step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  padding: 12px 15px 13px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  text-align: left;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.build__step.is-on {
  border-color: #b9cfff;
  background: var(--blue-soft);
}

.build__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #a3b2c8;
  font-variant-numeric: tabular-nums;
  padding-top: 1px;
  transition: color 0.3s var(--ease);
}

.build__step.is-on .build__num {
  color: var(--blue);
}

.build__step h3 {
  font-size: 1rem;
  margin: 0 0 3px;
}

.build__step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

/* â”€â”€ Ecran Mes Produits â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

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

.mpcard {
  border: 1px solid var(--line);
  border-radius: 11px;
  overflow: hidden;
  background: var(--white);
}

.mpcard--new {
  border-style: dashed;
  border-color: #c2d2ec;
  background: rgba(255, 255, 255, 0.5);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 5px;
  text-align: center;
  padding: 14px 10px;
  min-height: 132px;
}

.mpcard--new span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 1.0625rem;
  font-weight: 700;
  transition: transform 0.25s var(--ease);
}

.mpcard--new strong {
  font-size: 0.8125rem;
  color: var(--navy);
}

.mpcard--new em {
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--steel);
}

.mpcard--new.is-hot {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.mpcard--new.is-hot span {
  transform: scale(1.14);
}

.mpcard--fresh {
  animation: softUp 0.45s var(--ease) both;
  border-color: #b9cfff;
}

.mpcard__visual {
  height: 78px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fafbfd, #f2f6fb);
  border-bottom: 1px solid var(--line);
  padding: 9px;
}

.mpcard__visual svg {
  width: auto;
  height: 100%;
  max-width: 100%;
}

.mpcard__body {
  padding: 10px 11px 12px;
  display: grid;
  gap: 4px;
}

.mpbadge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.5625rem;
  font-weight: 800;
  color: var(--blue);
  background: var(--blue-soft);
}

.mpbadge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.mpbadge--ready {
  color: #1c7a53;
  background: #e4f6ee;
}

.mpcard__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
}

.mpcard__meta {
  font-size: 0.6875rem;
  color: var(--steel);
}

/* â”€â”€ Ecran Interface â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.ifc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  align-items: start;
  height: 100%;
}

.ifc__groups {
  display: grid;
  gap: 10px;
}

.ifcgroup {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  overflow: hidden;
}

.ifcgroup__head {
  padding: 9px 12px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.ifcrow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px 68px;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
  min-height: 32px;
  border-top: 1px solid #eef2f7;
  font-size: 0.75rem;
  animation: softUp 0.45s var(--ease) both;
}

.ifcrow:first-of-type {
  border-top: 0;
}

.ifcrow__name {
  font-weight: 700;
  color: var(--navy);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ifcrow__type {
  font-size: 0.6875rem;
  color: #6b7a90;
  font-weight: 600;
}

.ifcrow__val {
  text-align: right;
  color: var(--navy);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.ifcrow--calc .ifcrow__name::before {
  content: "fx";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 14px;
  margin-right: 6px;
  border-radius: 3px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.5rem;
  font-weight: 800;
  vertical-align: 1px;
}

.ifc__preview {
  border: 1px solid #cddcff;
  border-radius: 9px;
  background: var(--blue-soft);
  overflow: hidden;
  position: sticky;
  top: 12px;
}

.ifc__preview-head {
  padding: 9px 11px;
  border-bottom: 1px solid #d7e2fb;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--blue);
}

.ifc__preview-head em {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.625rem;
  color: #6d84b4;
  margin-top: 2px;
}

.ifc__preview-body {
  padding: 10px;
  display: grid;
  gap: 6px;
}

.ifcfield {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 9px;
  border: 1px solid #d7e2fb;
  border-radius: 6px;
  background: var(--white);
  font-size: 0.6875rem;
  color: var(--ink-soft);
  animation: softUp 0.45s var(--ease) both;
}

.ifcfield b {
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.ifcfield .sw {
  width: 26px;
  height: 15px;
  border-radius: 99px;
  background: var(--blue);
  position: relative;
  flex: none;
}

.ifcfield .sw::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}

/* â”€â”€ Ecran Editeur â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.edt {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--white);
  min-height: 0;
  height: 100%;
}

.edt__rail {
  border-right: 1px solid var(--line);
  padding: 10px 8px;
  display: grid;
  gap: 2px;
  align-content: start;
}

.edt__rail-label {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #8d9bb0;
  padding: 2px 6px 6px;
}

.edt__tool {
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.edt__tool.is-on {
  background: var(--blue);
  color: #fff;
}

.edt__canvas {
  position: relative;
  display: grid;
  place-items: center;
  padding: 14px;
  background-color: #fff;
  background-image: linear-gradient(rgba(47, 88, 145, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 88, 145, 0.055) 1px, transparent 1px);
  background-size: 16px 16px;
}

.edt__canvas svg {
  width: 100%;
  height: auto;
  max-height: 220px;
}

.edt__pill {
  position: absolute;
  right: 12px;
  bottom: 11px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid #cddcff;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 700;
}

/* â”€â”€ Ecran Developpes : la liste avant l'editeur â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.devlist {
  display: grid;
  gap: 8px;
}

.devrow {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 124px 84px 54px;
  gap: 10px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  animation: softUp 0.45s var(--ease) both;
}

.devrow__thumb {
  display: grid;
  place-items: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: linear-gradient(180deg, #fafbfd, #f2f6fb);
  padding: 4px;
}

.devrow__thumb svg {
  width: auto;
  height: 100%;
  max-width: 100%;
}

.devrow__copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.devrow__copy b {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
}

.devrow__copy em {
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--steel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.devrow__meta {
  display: grid;
  gap: 3px;
  justify-items: start;
}

.devrow__meta label {
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8d9bb0;
}

.formula {
  padding: 2px 7px;
  border-radius: 5px;
  background: #f2f5f9;
  border: 1px solid var(--line);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 0.6875rem;
  color: var(--navy);
}

.devrow__edit {
  justify-self: end;
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.devadd {
  margin: 0;
  padding: 10px;
  border: 1px dashed #c2d2ec;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.5);
  text-align: center;
  animation: softUp 0.45s var(--ease) both;
}

.devadd strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--blue);
}

.devadd em {
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--steel);
}

/* â”€â”€ Ecran General : le produit passe en Pret â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.prodgen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 10px;
  align-items: stretch;
  height: 100%;
}

.pgpanel,
.pginfo {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  padding: 10px 11px;
  display: grid;
  gap: 7px;
  align-content: start;
}

.pgpanel__title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
}

.pgfield {
  display: grid;
  gap: 4px;
}

.pgfield label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--steel);
}

.pgfield span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcfe;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}

.pgfield--area span {
  font-weight: 500;
}

.pginfo__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
  font-size: 0.75rem;
  color: var(--steel);
}

.pginfo__row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.pginfo__row b {
  color: var(--navy);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* Le passage Brouillon -> Pret est le moment de bascule de l'etape */
.mpbadge.is-flip {
  animation: pop 0.45s var(--ease) both;
}

.pgcta {
  grid-column: 1 / -1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  opacity: 0.55;
  transition: opacity 0.4s var(--ease), border-color 0.4s var(--ease),
    background 0.4s var(--ease);
}

.pgcta.is-on {
  opacity: 1;
  border-color: #b9cfff;
  background: var(--blue-soft);
}

.pgcta strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--navy);
}

.pgcta em {
  font-style: normal;
  font-size: 0.75rem;
  color: var(--steel);
}

.pgcta__btn {
  padding: 8px 15px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

/* â”€â”€ Ecran Configurer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

/* Trois colonnes : ce qu'on saisit, ce que ca donne, ce qui en sort.
   Empilees, elles faisaient deborder la section hors de l'ecran. */
.use {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr) 226px;
  gap: 12px;
  align-items: start;
}

.usepanel {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  overflow: hidden;
}

.usepanel__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
}

.usepanel__thumb {
  width: 42px;
  height: 34px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  display: grid;
  place-items: center;
  padding: 3px;
}

.usepanel__thumb svg {
  width: 100%;
  height: 100%;
}

.usepanel__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.usepanel__body {
  padding: 11px 12px 12px;
  display: grid;
  gap: 8px;
}

.usepanel__gen {
  width: 100%;
  margin-top: 3px;
}

.usepanel__hint {
  justify-self: center;
  font-size: 0.6875rem;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.usecol {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.useview {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  background: var(--cloud);
  background-image: radial-gradient(rgba(11, 18, 32, 0.09) 1px, transparent 1px);
  background-size: 16px 16px;
  display: flex;
  align-items: center;
  min-height: 156px;
}

.useview svg {
  width: 100%;
  height: auto;
  max-height: 184px;
}

.useview__label {
  position: absolute;
  top: 10px;
  left: 13px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

/* Les developpes recalcules : on doit voir la piece changer de forme
   et la quantite s'allumer quand la formule la fait exister. */

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

.usedev {
  display: grid;
  gap: 4px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  transition: opacity 0.35s var(--ease), border-color 0.35s var(--ease),
    border-style 0.35s var(--ease);
}

.usedev__view {
  display: grid;
  place-items: center;
  height: 46px;
  border-radius: 6px;
  background: linear-gradient(180deg, #fafbfd, #f2f6fb);
}

.usedev__view svg {
  width: 100%;
  height: 100%;
}

.usedev__name {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--navy);
}

.usedev__qty {
  justify-self: start;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.625rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.usedev.is-off {
  border-style: dashed;
  border-color: #cfd8e6;
  background: transparent;
  opacity: 0.55;
}

.usedev.is-off .usedev__qty {
  background: #eef2f7;
  color: var(--steel);
  font-weight: 700;
}

/* Le dossier de generation : les fichiers y tombent un a un */

.usefolder {
  border: 1px solid #bfd6c9;
  border-radius: 9px;
  background: #f3fbf7;
  overflow: hidden;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

/* En attente : le bloc existe deja, il ne fait donc jamais sauter
   la mise en page quand la generation le remplit. */
.usefolder.is-empty {
  border-color: var(--line);
  background: #fbfcfe;
}

.usefolder.is-empty .usefolder__head {
  border-bottom-color: var(--line);
  color: var(--steel);
}

.usefolder.is-empty .usefolder__head b {
  color: #6b7a90;
}

.usefolder.is-empty .usefolder__ico,
.usefolder.is-empty .usefolder__ico::before {
  background: var(--grey-line);
}

.usefolder__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 13px;
  border-bottom: 1px solid #d5e9df;
  font-size: 0.75rem;
  color: #1c7a53;
}

.usefolder__head b {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-weight: 700;
  color: #14603f;
}

.usefolder__ico {
  width: 15px;
  height: 12px;
  flex: none;
  border-radius: 2px 3px 3px 3px;
  background: #64b995;
  position: relative;
}

.usefolder__ico::before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 7px;
  height: 3px;
  border-radius: 2px 2px 0 0;
  background: #64b995;
}

.usefolder__files {
  margin: 0;
  padding: 10px 13px;
  list-style: none;
  display: grid;
  gap: 5px;
  align-content: start;
  /* Quatre lignes reservees : le bloc ne grandit pas fichier par fichier */
  min-height: 88px;
  font-size: 0.75rem;
  color: #37485f;
}

.usefolder__files li {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 10px;
  font-variant-numeric: tabular-nums;
  animation: softUp 0.35s var(--ease) both;
}

.usefolder__files li::before {
  content: "\2713";
  color: #1c7a53;
  font-weight: 700;
}

.usefolder__files li.is-wait {
  color: #9aa7b8;
  animation: none;
}

.usefolder__files li.is-wait::before {
  content: "\00b7";
  color: var(--grey-line);
}

.usefolder__files em {
  font-style: normal;
  color: var(--steel);
}

.usefolder__foot {
  margin: 0;
  padding: 0 13px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1c7a53;
  font-variant-numeric: tabular-nums;
  min-height: 30px;
  display: flex;
  align-items: center;
  border-top: 1px solid #d5e9df;
}

.usefolder__foot:empty {
  border-top-color: transparent;
}

/* Champs de configuration : Nombre, Liste, Oui/Non */

.params {
  display: grid;
  gap: 6px;
}

.param {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 82px;
  align-items: center;
  gap: 8px;
}

.param__ico {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #f2f5f9;
  color: #68768b;
  font-size: 0.75rem;
}

.param > label,
.param > span:not(.param__ico) {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink-soft);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.param input,
.param select {
  width: 100%;
  height: 28px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.switch {
  justify-self: end;
  position: relative;
  width: 38px;
  height: 21px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #e6ebf3;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}

.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.25);
  transition: transform 0.18s var(--ease);
}

.switch[aria-checked="true"] {
  background: var(--blue);
  border-color: var(--blue);
}

.switch[aria-checked="true"]::after {
  transform: translateX(17px);
}

.panel__title {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

/* L'esquisse se trace toute seule : contour, percages, points, cotes */

.is-drawing .cad-outline {
  fill-opacity: 0;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: sketchDraw 1.3s var(--ease) forwards, sketchFill 0.5s ease 1s forwards;
}

.is-drawing .cad-hole {
  animation: pop 0.3s var(--ease) 1.2s both;
}

.is-drawing .cad-node {
  animation: sketchIn 0.3s ease 1.5s both;
}

.is-drawing .cad-dim,
.is-drawing .cad-ext,
.is-drawing .cad-arrow,
.is-drawing .cad-text {
  animation: sketchIn 0.45s ease 1.9s both;
}

@keyframes sketchDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes sketchFill {
  to {
    fill-opacity: 1;
  }
}

@keyframes sketchIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* â”€â”€ Section puissance (navy) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.power {
  background: var(--navy);
  color: #e6ecf7;
  position: relative;
  overflow: hidden;
}

.power::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 72%);
  pointer-events: none;
}

.power .container {
  position: relative;
}

.power h2 {
  color: #fff;
}

.power .section__lede {
  color: #9fb2cf;
}

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

.part {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.part.is-done {
  border-color: rgba(47, 107, 255, 0.55);
  background: rgba(47, 107, 255, 0.07);
}

.part__view {
  background: rgba(11, 18, 32, 0.5);
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  max-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.part__view svg {
  width: 100%;
  height: 100%;
}

.part__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.part__name {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
}

.part__dims {
  font-size: 0.6875rem;
  color: #7f96b8;
  font-variant-numeric: tabular-nums;
}

.part__file {
  font-size: 0.6875rem;
  color: #7ea2ff;
  font-weight: 600;
  min-height: 1em;
}

.part--gone {
  opacity: 0.28;
  border-style: dashed;
}

.part--fresh {
  animation: fadeUp 0.4s var(--ease) both;
}

/* â”€â”€ Jusqu'ou ca va : le crescendo â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.scale__rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.scale__step {
  text-align: left;
  padding: 13px 15px 14px;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  position: relative;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.scale__step::before {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  top: -1px;
  height: 2px;
  border-radius: 2px;
  background: transparent;
  transition: background 0.25s var(--ease);
}

.scale__step.is-on {
  border-color: rgba(47, 107, 255, 0.6);
  background: rgba(47, 107, 255, 0.09);
}

.scale__step.is-on::before {
  background: #5f8bff;
}

.scale__step b {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.scale__step span {
  font-size: 0.75rem;
  color: #8ba0c0;
  font-variant-numeric: tabular-nums;
}

.scale__step.is-on span {
  color: #a9c2ff;
}

.scale__stage {
  display: grid;
  gap: 12px;
}

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

.scale__note {
  font-size: 0.875rem;
  color: #9fb2cf;
  text-align: center;
  min-height: 1.4em;
}

.scale__chute {
  margin-top: 22px;
  text-align: center;
  font-size: clamp(1.375rem, 3vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: #fff;
}

.scale__chute span {
  color: #7ea2ff;
}

/* â”€â”€ Probleme : la phrase qui porte tout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.split__copy h2 {
  margin-top: 10px;
}

.split__p {
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--applat-text);
  max-width: 34rem;
}

/* La chaîne manuelle : une carte technique, pas une illustration. */
.chain {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px 20px;
  box-shadow: var(--shadow);
}

.chain__title {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.chain__list {
  counter-reset: chain;
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  display: grid;
  gap: 9px;
}

.chain__list li {
  counter-increment: chain;
  position: relative;
  padding-left: 30px;
  font-size: 0.9375rem;
  color: var(--applat-text);
}

.chain__list li::before {
  content: counter(chain, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 0.6875rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--blue);
}

.chain__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--steel);
}

/* â”€â”€ Accueil : promesses sans interfaces â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

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

.promise {
  padding: 8px 4px 0;
}

.promise__num {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.promise h3 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: var(--navy);
}

.promise p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* Figure technique des piliers : une vignette, pas un pictogramme. */
.promise__fig {
  height: 104px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  padding: 10px;
  background: linear-gradient(180deg, #fafbfd, #f2f6fb);
  border: 1px solid var(--line);
  border-radius: var(--applat-radius-md);
}

.promise__fig svg {
  width: 100%;
  height: 100%;
}

/* â”€â”€ Accueil : usage du modele â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.usenote {
  margin: 18px auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--steel);
}

.example {
  margin: 32px auto 0;
  max-width: 44rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--applat-radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow);
}

.example__label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.example__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--applat-text);
}

.section__chute {
  margin: 34px auto 0;
  max-width: 30ch;
  text-align: center;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--navy);
}

/* â”€â”€ Accueil : les regles de conception â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.rules__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.rules__cases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.rules__cases li {
  position: relative;
  padding-left: 20px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
}

.rules__cases li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.rules__chute {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--steel);
}

.rules {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.rules__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #fbfcfe;
  border-bottom: 1px solid var(--line);
}

.rules__states {
  display: flex;
  gap: 6px;
}

.rulebtn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--steel);
  border-radius: var(--applat-radius-sm);
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease);
}

.rulebtn:hover {
  border-color: var(--blue);
  color: var(--navy);
}

.rulebtn.is-on {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.rules__law {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

/* Les developpes tiennent dans une colonne etroite : on les laisse
   passer a la ligne plutot que de les comprimer jusqu'a l'illisible. */
.rules__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  padding: 16px;
}

.rulepart {
  display: grid;
  gap: 3px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--applat-radius-sm);
  background: var(--white);
  animation: softUp 0.4s var(--ease) both;
}

.rulepart__view {
  display: block;
  background: linear-gradient(180deg, #fafbfd, #f2f6fb);
  border-radius: 5px;
  padding: 4px;
}

.rulepart__view svg {
  width: 100%;
  height: auto;
}

.rulepart__name {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
}

.rulepart__qty {
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--steel);
  font-variant-numeric: tabular-nums;
}

.rulepart--new {
  border-color: var(--blue);
  background: var(--blue-soft);
}

.rulepart--new .rulepart__qty {
  color: var(--blue);
}

.rulepart--off {
  border-style: dashed;
  opacity: 0.45;
}

.rules__note {
  padding: 0 16px 16px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--steel);
  min-height: 1.4em;
}

/* â”€â”€ Accueil : la bibliotheque â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.libframe {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--cloud);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.libframe__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 14px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.libframe__bar b {
  font-size: 0.9375rem;
  color: var(--navy);
}

.libframe__bar em {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--steel);
}

.libframe .mp {
  padding: 18px;
}

/* Sur la vitrine les vignettes portent la demonstration : elles ont
   besoin de plus de hauteur que dans la grille reelle de l'application. */
.libframe .mpcard__visual {
  height: 104px;
}

/* â”€â”€ Accueil : applications â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.apps__col {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}

.apps__label {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

.apps ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.apps li {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  padding-left: 18px;
  position: relative;
}

.apps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--applat-blue-100);
}

.apps__open {
  margin: 26px auto 0;
  max-width: 44rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--steel);
}

.apps__origin {
  margin: 26px auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--applat-text);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.bridge {
  text-align: center;
}

.bridge__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.page-hero {
  padding: clamp(72px, 10vw, 110px) 0 clamp(36px, 5vw, 56px);
  background: var(--cloud);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  /* Les retours sont poses a la main dans le HTML : la mesure ne sert
     qu'a eviter une coupure imposee au milieu d'une ligne. */
  max-width: 32ch;
  margin: 10px 0 0;
}

.page-hero .lede {
  max-width: 40rem;
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.page-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 28px;
}

.page-toc a {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--blue);
}

.page-toc a:hover {
  text-decoration: underline;
}

.pricing__title {
  font-size: clamp(1.65rem, 3.1vw, 2.5rem);
  margin: 0;
}

.pricing__aside {
  margin: 36px auto 0;
  text-align: center;
  max-width: 36rem;
  font-size: 0.9375rem;
  color: var(--steel);
}

.pricing__aside a {
  color: var(--blue);
  font-weight: 700;
}

.pricing__aside a:hover {
  text-decoration: underline;
}

.pricing__vat {
  margin: 14px auto 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--steel);
}

/* â”€â”€ Deux portes d'entree â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.doors__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: stretch;
}

.doors__cards {
  display: grid;
  gap: 20px;
  align-content: center;
}

.door {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 24px;
}

.door__num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: var(--blue-soft);
  border: 1px solid #cddcff;
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 800;
}

.door h3 {
  margin-bottom: 8px;
}

.door p {
  color: var(--ink-soft);
  font-size: 0.9375rem;
}

/* Maquette d'import : glisser, contraindre, coter */

.imp {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.imp__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 44px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #fbfcfe;
  font-size: 0.8125rem;
}

.imp__crumb {
  flex: 1;
  min-width: 0;
  color: var(--steel);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imp__crumb i {
  font-style: normal;
  margin: 0 5px;
  color: var(--ink-faint);
}

.imp__file {
  flex: none;
  border: 1px dashed #b8cbff;
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-soft);
}

.imp__file.is-drop {
  animation: fileDrop 1.4s var(--ease);
}

@keyframes fileDrop {
  0% {
    transform: translateY(-18px);
    opacity: 0;
  }
  35% {
    transform: none;
    opacity: 1;
  }
  55% {
    transform: scale(1.06);
  }
  100% {
    transform: none;
  }
}

.imp__stage {
  flex: 1;
  background-image: radial-gradient(rgba(11, 18, 32, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
  padding: 8px 10px;
  display: flex;
}

.imp__stage svg {
  width: 100%;
  height: auto;
  margin: auto;
}

.imp-zone {
  fill: rgba(47, 107, 255, 0.03);
  stroke: #b8cbff;
  stroke-width: 1.5;
  stroke-dasharray: 7 6;
}

.imp-zone__txt {
  fill: var(--blue);
  font: 600 13px Inter, sans-serif;
  opacity: 0.75;
}

/* Geometrie importee : figee tant qu'elle n'est pas parametree */

#imp-canvas.is-dead .cad-outline {
  fill: none;
  stroke: #94a3b8;
}

#imp-canvas.is-dead .cad-fold {
  stroke: #cbd5e1;
}

.cst rect {
  fill: var(--white);
  stroke: var(--blue);
  stroke-width: 1.5;
}

.cst path {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-linecap: round;
}

.cst {
  animation: pop 0.32s var(--ease) both;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
    transform-origin: center;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.imp__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 12px 14px;
  list-style: none;
  counter-reset: imp;
  border-top: 1px solid var(--line);
  background: #fbfcfe;
}

.imp__steps li {
  counter-increment: imp;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--steel);
  transition: color 0.25s var(--ease);
}

.imp__steps li::before {
  content: counter(imp);
  flex: none;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.5625rem;
  font-weight: 800;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease);
}

.imp__steps li.is-on {
  color: var(--navy);
}

.imp__steps li.is-on::before {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* â”€â”€ Tarifs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.plan {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.plan--featured {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  position: relative;
}

.plan__badge {
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--blue);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
}

.plan__name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}

.plan__price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 8px 0 0;
  font-variant-numeric: tabular-nums;
}

.plan__price span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: 0;
  margin-left: 4px;
}

.plan__price--text {
  font-size: 1.75rem;
}

.plan__note {
  color: var(--steel);
  font-size: 0.875rem;
  margin-top: 4px;
}

.plan__list {
  list-style: none;
  margin: 22px 0 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--ink-mid);
  flex: 1;
}

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

.plan__list li::before {
  content: "";
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  background: var(--blue-soft);
  border: 1px solid #cddcff;
}

/* â”€â”€ CTA final â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.cta {
  padding: clamp(64px, 8vw, 104px) 0;
  background: var(--cloud);
  border-top: 1px solid var(--line);
}

.cta__inner {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.cta h2 {
  max-width: 36rem;
}

.cta__sub {
  margin: 0;
  max-width: 28rem;
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.cta__inner .btn {
  margin-top: 12px;
}

/* Bande finale navy : elle referme la page en écho au pied de page. */
.cta--navy {
  background: var(--navy);
  border-top: 0;
}

.cta--navy h2 {
  color: #fff;
}

.cta--navy .cta__sub {
  color: #9fb2cf;
}

.cta--navy .btn--ghost {
  background: transparent;
  border-color: var(--line-dark);
  color: #fff;
}

.cta--navy .btn--ghost:hover {
  border-color: #7ea2ff;
}

/* â”€â”€ Footer â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.footer {
  background: var(--navy);
  color: #9fb2cf;
  padding: 48px 0;
}

.footer__inner {
  display: grid;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.footer__brand .brand__logo {
  height: 23px;
}

.footer__sign {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer__links,
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
}

.footer__legal {
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8125rem;
  color: #6f86a8;
}

.footer a:hover {
  color: #fff;
}

/* â”€â”€ Pages d'authentification â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}

.auth__aside {
  background: var(--navy);
  color: #e6ecf7;
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.auth__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 30% 40%, #000, transparent 75%);
}

.auth__aside > * {
  position: relative;
}

.auth__aside .brand {
  color: #fff;
}

.auth__pitch h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  max-width: 22rem;
}

.auth__pitch p {
  color: #9fb2cf;
  margin-top: 16px;
  max-width: 26rem;
  font-size: 0.9375rem;
}

.auth__demo {
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
}

.auth__demo svg {
  width: 100%;
  height: auto;
}

.auth__steps {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 0.875rem;
  color: #9fb2cf;
}

.auth__steps li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.auth__steps li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f8bff;
  flex: none;
}

.auth__main {
  display: grid;
  place-items: center;
  padding: 44px 24px;
  background: var(--white);
}

.auth__card {
  width: 100%;
  max-width: 25rem;
}

.auth__card h1 {
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
}

.auth__sub {
  color: var(--ink-soft);
  margin-top: 10px;
  font-size: 0.9375rem;
}

.form {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.form__field {
  display: grid;
  gap: 7px;
}

.form__field label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink-mid);
}

.form__field input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.form__field input::placeholder {
  color: #a9b6c8;
}

.form__field input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.14);
}

.form__hint {
  font-size: 0.75rem;
  color: var(--steel);
}

.form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8125rem;
}

.form__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.form__check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--blue);
  flex: none;
}

.form__check a {
  color: var(--blue);
  font-weight: 500;
}

.form__link {
  color: var(--blue);
  font-weight: 500;
}

.form__notice {
  border: 1px solid #cddcff;
  background: var(--blue-soft);
  color: #1f3f8f;
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 0.8125rem;
  animation: fadeUp 0.3s var(--ease) both;
}

.form__notice--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.check-email__eyebrow {
  margin: 0 0 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.check-email__address {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: var(--r);
  background: #f8fafc;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
  word-break: break-all;
}

.check-email__tips {
  margin-top: 22px;
  display: grid;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.check-email__tips strong {
  color: var(--navy);
  font-weight: 600;
}

.check-email__timer {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--steel);
  min-height: 1.25em;
}

#check-email-root .btn {
  margin-top: 22px;
}

#check-email-root .form__notice {
  margin-top: 18px;
}

.auth--single {
  grid-template-columns: 1fr;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cloud);
}

.auth--single .auth__main {
  background: transparent;
}

.legal {
  padding: 48px 24px 80px;
  max-width: 44rem;
}

.legal__head {
  margin-bottom: 36px;
}

.legal__head h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-top: 8px;
}

.legal__updated {
  margin-top: 12px;
  color: var(--steel);
  font-size: 0.875rem;
}

.legal__body {
  display: grid;
  gap: 28px;
}

.legal__body section {
  display: grid;
  gap: 12px;
}

.legal__body h2 {
  font-size: 1.125rem;
}

.legal__body p,
.legal__body li {
  color: var(--ink-mid);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.legal__body ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 6px;
}

.legal__body a {
  color: var(--blue);
  font-weight: 500;
}

.legal__note {
  padding: 14px 16px;
  border: 1px solid #cddcff;
  border-left: 3px solid var(--blue);
  border-radius: 6px;
  background: var(--blue-soft);
}

.legal__note p {
  margin: 0;
  color: #1f3f8f !important;
}

.legal__table {
  display: block;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.legal__table table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.legal__table th,
.legal__table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  line-height: 1.55;
}

.legal__table th {
  background: var(--cloud);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--steel);
  white-space: nowrap;
}

.legal__table td {
  color: var(--ink-mid);
}

.legal__table tr:last-child td {
  border-bottom: 0;
}

.legal__copy {
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-size: 0.8125rem;
}


#email-sent-root .btn {
  margin-top: 22px;
}

#email-sent-root .form__notice {
  margin-top: 18px;
}

#check-password-root .btn,
#check-email-root .btn {
  margin-top: 22px;
}

#check-password-root .form__notice,
#check-email-root .form__notice {
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--cloud);
  border: 1px solid var(--line);
}

.badge--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.badge--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.auth__alt {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.875rem;
  color: var(--ink-soft);
}

.auth__alt a {
  color: var(--blue);
  font-weight: 600;
}

.auth__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--steel);
  margin-top: 26px;
}

.auth__back:hover {
  color: var(--navy);
}

/* â”€â”€ Animations d'apparition â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-in {
  animation: fadeUp 0.6s var(--ease) both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Version assagie pour l'interieur des maquettes : a l'echelle d'une
   fenetre d'application, 14 px de course paraissent brutaux. */
@keyframes softUp {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* â”€â”€ SVG technique â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.cad-outline {
  fill: rgba(47, 107, 255, 0.05);
  stroke: var(--navy);
  stroke-width: 2;
  stroke-linejoin: round;
}

.cad-hole {
  fill: var(--white);
  stroke: var(--navy);
  stroke-width: 2;
}

/* Géométrie ajoutée par une règle du Produit : elle doit se distinguer
   immédiatement de ce que l'utilisateur a dessiné lui-même. */
.cad-new {
  fill: rgba(47, 107, 255, 0.14);
  stroke: var(--blue);
  stroke-width: 2;
  stroke-linejoin: round;
}

.cad-dim {
  stroke: var(--blue);
  stroke-width: 1;
}

.cad-ext {
  stroke: var(--blue);
  stroke-width: 1;
  stroke-dasharray: 3 3;
  opacity: 0.7;
}

.cad-fold {
  stroke: var(--blue);
  stroke-width: 1.5;
  stroke-dasharray: 8 4 2 4;
  opacity: 0.85;
}

.cad-arrow {
  fill: var(--blue);
  stroke: none;
}

.cad-text {
  fill: var(--blue);
  font: 600 12px Inter, sans-serif;
  font-variant-numeric: tabular-nums;
}

.cad-node {
  fill: var(--white);
  stroke: var(--blue);
  stroke-width: 1.5;
}

.cad-axis {
  stroke: var(--steel);
  stroke-width: 1;
  opacity: 0.6;
}

/* Variantes sur fond navy */

.part .cad-outline {
  fill: rgba(95, 139, 255, 0.1);
  stroke: #cfe0ff;
  stroke-width: 2.5;
}

.part .cad-hole {
  fill: #0b1220;
  stroke: #cfe0ff;
  stroke-width: 2.5;
}

.part .cad-fold {
  stroke: #5f8bff;
}

.auth__demo .cad-outline {
  fill: rgba(95, 139, 255, 0.1);
  stroke: #cfe0ff;
}

.auth__demo .cad-hole {
  fill: #0b1220;
  stroke: #cfe0ff;
}

.auth__demo .cad-dim,
.auth__demo .cad-ext {
  stroke: #5f8bff;
}

.auth__demo .cad-text {
  fill: #9fb2cf;
}

.auth__demo .cad-arrow {
  fill: #5f8bff;
}

.auth__demo .cad-node {
  fill: #0b1220;
  stroke: #5f8bff;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 1080px) {
  #build-shell {
    height: 520px;
  }

  .build {
    grid-template-columns: 1fr;
  }

  .build__rail {
    position: static;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Le dossier passe sous les cotes, la ou il reste de la place */
  .use {
    grid-template-columns: 236px minmax(0, 1fr);
  }

  .usefolder {
    grid-column: 1;
  }

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

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

  .pricing__grid,
  .doors__layout,
  .use,
  .ifc,
  .prodgen,
  .promises,
  .split,
  .rules__layout,
  .apps {
    grid-template-columns: 1fr;
  }

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

  /* En colonne unique la vignette ne doit pas s'etaler sur toute la
     largeur : le dessin resterait petit au milieu du vide. */
  .promise__fig {
    max-width: 360px;
  }

  .ifc__preview {
    position: static;
  }

  .devrow {
    grid-template-columns: 54px minmax(0, 1fr) 128px;
  }

  .devrow__meta--state,
  .devrow__edit {
    display: none;
  }

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

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

  .auth {
    grid-template-columns: 1fr;
  }

  .auth__aside {
    padding: 32px 24px;
    gap: 28px;
  }
}

/* Cinq entrees de navigation : le menu passe en tiroir avant 900 px */
@media (max-width: 900px) {
  .nav__burger {
    display: flex;
  }

  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 24px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__links > a:not(.btn) {
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav__links .btn {
    margin-top: 10px;
    height: 46px;
  }
}

@media (max-width: 760px) {
  /* Sous cette largeur la barre laterale de l'app disparait aussi */
  #build-shell {
    height: 480px;
  }

  .appshell__body {
    grid-template-columns: 1fr;
  }

  .appshell__side {
    display: none;
  }

  .appshell__screen {
    padding: 14px;
  }

  .appshell__crumb,
  .appshell__head,
  .appshell__tabs {
    padding-left: 14px;
    padding-right: 14px;
  }

  .appshell__tabs {
    margin-left: 0;
    margin-right: 0;
  }

  .build__rail {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  }

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

  .devrow {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .devrow__meta {
    grid-column: 2;
  }

  .edt {
    grid-template-columns: 1fr;
  }

  .edt__rail {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .edt__rail-label {
    grid-column: 1 / -1;
  }

  .edt__tool {
    text-align: center;
  }

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

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

  .doors__cards {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 420px) {
  .power__parts,
  .scale__stage .power__parts,
  .mp,
  .rules__grid {
    grid-template-columns: 1fr;
  }

  .scale__rail {
    grid-template-columns: 1fr;
  }

  .morph__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    /* Les entrees en cascade posent leur delai en style inline : sans ce
       reset, le contenu resterait invisible le temps du decalage. */
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }

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

/* ============================================================
   ESPACE UTILISATEUR
   Direction retenue : colonne navy permanente (Â« Console Â»)
   + fond de travail quadrillÃ© (Â« Plan Â»).
   Tout est portÃ©e par [data-app] pour ne jamais fuir sur la
   vitrine ni sur les Ã©crans d'authentification.
   ============================================================ */

/* L'attribut hidden doit primer sur les display: grid/flex des composants */
[hidden] {
  display: none !important;
}

.app-body {
  background: var(--cloud);
}

.app-body.is-modal-open {
  overflow: hidden;
}

/* Chiffres alignÃ©s : lisibilitÃ© des cotes et des compteurs */
[data-app] .num {
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

/* Micro-libellÃ© technique */
[data-app] .mlab {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
}

[data-app] .muted {
  color: var(--steel);
}

/* â”€â”€ Ossature â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.app {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100dvh;
}

.main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Colonne navy */

.side {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  padding: 20px 14px;
  background: var(--navy);
  color: #fff;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.side__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 22px;
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  color: #fff;
}

.side__brand svg {
  width: 24px;
  height: 24px;
  flex: none;
}

.side__group {
  padding: 0 8px;
  margin-bottom: 8px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.34);
}

.sidenav {
  display: grid;
  gap: 2px;
  margin-bottom: 22px;
}

.sidenav a,
.sidenav span.is-soon {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.sidenav svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.sidenav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.sidenav a.is-active {
  background: var(--blue);
  color: #fff;
  font-weight: 600;
}

.sidenav b {
  margin-left: auto;
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.45);
}

.sidenav a.is-active b {
  color: rgba(255, 255, 255, 0.82);
}

.sidenav span.is-soon {
  color: rgba(255, 255, 255, 0.3);
  cursor: default;
}

.sidenav span.is-soon em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

.side__spacer {
  flex: 1;
  min-height: 20px;
}

.side__plan {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.04);
}

.side__plan b {
  display: block;
  font-size: 0.875rem;
}

.side__plan p {
  margin-top: 3px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.side__plan .btn {
  width: 100%;
  margin-top: 12px;
}

.meter {
  display: block;
  height: 4px;
  margin-top: 11px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.meter i {
  display: block;
  height: 100%;
  background: var(--blue);
  transition: width 0.3s var(--ease);
}

.meter--full i {
  background: #f59e0b;
}

.side__me {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side__me i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 99px;
  background: var(--blue);
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 700;
  color: #fff;
}

.side__me span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.side__out {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 0;
  border-radius: 6px;
  background: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.side__out svg {
  width: 16px;
  height: 16px;
}

.side__out:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Barre supÃ©rieure */

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.topbar h1 {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-size: 0.8125rem;
  color: var(--steel);
}

.crumb a:hover {
  color: var(--blue);
}

.crumb__sep {
  color: var(--line);
}

.crumb strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
}

.topbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Zone de travail quadrillÃ©e */

.content {
  flex: 1;
  padding: 24px 28px 56px;
  background:
    linear-gradient(rgba(11, 18, 32, 0.04) 1px, transparent 1px) 0 0 / 100% 32px,
    linear-gradient(90deg, rgba(11, 18, 32, 0.04) 1px, transparent 1px) 0 0 / 32px 100%,
    var(--cloud);
}

/* Bandeau de confirmation email */

.verify-strip {
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
}

.verify-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 28px;
}

.verify-strip p {
  margin: 0;
  font-size: 0.875rem;
  color: #92400e;
}

/* â”€â”€ Compteurs â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.statstrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.stat {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.stat b {
  display: block;
  margin-top: 4px;
  font-size: 1.375rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.stat small {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--steel);
}

.stat--accent {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.stat--accent .mlab {
  color: rgba(255, 255, 255, 0.45);
}

.stat--accent small {
  color: rgba(255, 255, 255, 0.5);
}

/* â”€â”€ Barre de section â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.sectionbar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.sectionbar h2 {
  font-size: 1rem;
}

.sectionbar__right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.tag--warn {
  background: #fef3c7;
  color: #b45309;
}

.pill {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-app] .badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 99px;
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--cloud);
  border: 1px solid var(--line);
}

[data-app] .badge--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

[data-app] .badge--warn {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

/* â”€â”€ Boutons compacts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

[data-app] .btn {
  height: 36px;
  padding: 0 14px;
  border-color: var(--line);
  background: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-mid);
}

[data-app] .btn:hover {
  border-color: #b7c4d6;
  background: var(--cloud);
}

[data-app] .btn--primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  font-weight: 600;
}

[data-app] .btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

[data-app] .btn--dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  font-weight: 600;
}

[data-app] .btn--dark:hover {
  background: var(--navy-soft);
  border-color: var(--navy-soft);
}

[data-app] .btn--danger {
  background: #dc2626;
  border-color: #dc2626;
  color: #fff;
  font-weight: 600;
}

[data-app] .btn--danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

[data-app] .btn--sm {
  height: 32px;
  padding: 0 11px;
  font-size: 0.75rem;
}

/* Boutons de la colonne navy */

.side .btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: transparent;
  color: #fff;
  font-weight: 600;
}

.side .btn:hover {
  background: var(--blue);
  border-color: var(--blue);
}

/* â”€â”€ Recherche et tri â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.searchbox {
  position: relative;
  display: flex;
  align-items: center;
}

.searchbox svg {
  position: absolute;
  left: 11px;
  width: 15px;
  height: 15px;
  color: var(--steel);
  pointer-events: none;
}

.searchbox input {
  height: 36px;
  width: 232px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--cloud);
  font: inherit;
  font-size: 0.8125rem;
  color: var(--navy);
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease);
}

.searchbox input::placeholder {
  color: #a9b6c8;
}

.searchbox input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.13);
}

.selectbox select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4.5 L6 8.5 L10 4.5' fill='none' stroke='%2394a3b8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    no-repeat right 11px center / 12px 12px;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink-mid);
  appearance: none;
  cursor: pointer;
}

.selectbox select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.13);
}

/* â”€â”€ Dessin technique â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.td {
  display: block;
  width: 100%;
  height: 100%;
}

.td-part {
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.td-fold {
  stroke: var(--blue);
  stroke-width: 1.1;
  stroke-dasharray: 6 4;
}

.td-axis {
  stroke: var(--steel);
  stroke-width: 1;
  stroke-dasharray: 12 3 2 3;
}

.td-node rect {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 1.6;
}

.td-hint {
  font-family: inherit;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--steel);
}

/* â”€â”€ Grille de produits â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.prodgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
  gap: 14px;
}

.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.pcard:hover {
  border-color: var(--blue);
  box-shadow: 0 10px 24px -14px rgba(11, 18, 32, 0.28);
}

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

/* Vignette sur papier millimÃ©trÃ© */
.pcard__view {
  position: relative;
  height: 146px;
  padding: 26px 18px 12px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(47, 107, 255, 0.07) 1px, transparent 1px) 0 0 / 100% 16px,
    linear-gradient(90deg, rgba(47, 107, 255, 0.07) 1px, transparent 1px) 0 0 / 16px 100%,
    #fff;
}

.pcard__view--photo {
  padding: 0;
  background: #0b1220;
}

.pcard__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover {
  display: grid;
  gap: 12px;
}

.cover__preview {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0b1220;
  aspect-ratio: 16 / 10;
}

.cover__preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cover__empty {
  display: grid;
  place-items: center;
  min-height: 120px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--cloud);
  text-align: center;
  padding: 16px;
}

.cover__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cover__actions label.btn {
  cursor: pointer;
}

.pcard__state {
  position: absolute;
  top: 9px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pcard__state--draft {
  background: #fff;
  border: 1px solid var(--line);
  color: #b45309;
}

.pcard__dev {
  position: absolute;
  top: 9px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.pcard__body {
  flex: 1;
  padding: 14px 15px;
}

.pcard__name {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcard__desc {
  margin: 4px 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--steel);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pcard__desc--muted {
  color: #b6c1d0;
  font-style: italic;
}

.pcard__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-top: 1px solid var(--line);
  background: #fcfdfe;
  font-size: 0.6875rem;
  color: var(--steel);
}

.pcard__go {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-mid);
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.pcard:hover .pcard__go {
  border-color: var(--blue);
  color: var(--blue);
}

.pcard__kebab {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid transparent;
  border-radius: 6px;
  background: none;
  color: #64748b;
  cursor: pointer;
  transition: border-color 0.16s var(--ease), color 0.16s var(--ease);
}

.pcard__kebab svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.pcard__kebab:hover,
.pcard__kebab[aria-expanded="true"] {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
}

.pcard__pop {
  position: absolute;
  right: 12px;
  bottom: 44px;
  min-width: 164px;
  display: grid;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
  z-index: 20;
}

.pcard__pop button {
  padding: 8px 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  text-align: left;
  color: var(--ink-mid);
  cursor: pointer;
}

.pcard__pop button:hover {
  background: var(--cloud);
}

.pcard__pop button.is-danger {
  color: #b91c1c;
}

.pcard__pop button.is-danger:hover {
  background: #fef2f2;
}

.pcard--new {
  display: grid;
  place-content: center;
  gap: 3px;
  min-height: 286px;
  padding: 24px;
  font: inherit;
  text-align: center;
  border-style: dashed;
  border-color: #b8c7e8;
  background: rgba(47, 107, 255, 0.02);
}

.pcard--new:hover {
  border-color: var(--blue);
  background: rgba(47, 107, 255, 0.05);
  box-shadow: none;
}

.pcard--new i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0 auto 8px;
  border-radius: var(--r);
  background: var(--blue);
  color: #fff;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 600;
  line-height: 1;
}

.pcard--new b {
  font-size: 0.9375rem;
}

.pcard--new span {
  font-size: 0.75rem;
  color: var(--steel);
}

.pcard--new.is-locked {
  border-color: #fcd34d;
  background: #fffdf5;
}

.pcard--new.is-locked i {
  background: #f59e0b;
}

/* â”€â”€ Ã‰tats vides et squelettes â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.empty {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 32rem;
  margin: 24px auto;
  padding: 40px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.empty__icon {
  width: 132px;
  height: 84px;
  margin-bottom: 4px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background:
    linear-gradient(rgba(47, 107, 255, 0.07) 1px, transparent 1px) 0 0 / 100% 16px,
    linear-gradient(90deg, rgba(47, 107, 255, 0.07) 1px, transparent 1px) 0 0 / 16px 100%,
    #fff;
}

.empty h2 {
  font-size: 1.0625rem;
}

.empty p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.empty .btn {
  margin-top: 8px;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(276px, 1fr));
  gap: 14px;
}

.skeleton-card {
  height: 286px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: linear-gradient(100deg, #eef2f7 30%, #f9fbfd 50%, #eef2f7 70%);
  background-size: 220% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -20% 0;
  }
}

/* â”€â”€ Onglets (segmentÃ©) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.tabs {
  display: inline-flex;
  gap: 2px;
  max-width: 100%;
  padding: 3px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tabs__btn {
  padding: 7px 15px;
  border: 0;
  border-radius: 6px;
  background: none;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #64748b;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}

.tabs__btn:hover {
  color: var(--navy);
}

.tabs__btn.is-active {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
}

.panel {
  animation: fadeUp 0.22s var(--ease) both;
}

/* â”€â”€ BoÃ®tes de contenu â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.panelgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.panelgrid--aside {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.stack {
  display: grid;
  gap: 14px;
  align-content: start;
}

.box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}

.box--spaced {
  margin-top: 24px;
}

.box--wide {
  grid-column: 1 / -1;
}

.box__top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--navy);
  color: #fff;
}

.box__top h2,
.box__top h3 {
  font-size: 0.875rem;
  font-weight: 600;
}

.box__top .tag {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.box__top--plain {
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}

.box__body {
  padding: 18px 16px;
  display: grid;
  gap: 16px;
}

.box__body > p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}

.box__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
  background: var(--cloud);
}

[data-app] .box__body a {
  color: var(--blue);
  font-weight: 500;
}

[data-app] .legalinks {
  font-size: 0.8125rem;
}

.banner {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: #f7f9fb;
  color: var(--navy);
  font-size: 0.875rem;
  line-height: 1.45;
}

.banner p {
  margin: 0;
}

.banner a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.banner--warn {
  border-color: #e0c48a;
  background: #fff8e8;
}

.paytable-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.paytable {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.paytable th,
.paytable td {
  padding: 11px 13px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.paytable th {
  background: var(--cloud);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
}

.paytable tr:last-child td {
  border-bottom: 0;
}

.paytable td.num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  white-space: nowrap;
}

.paybadge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--cloud);
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.paybadge--completed {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #047857;
}

.paybadge--pending {
  background: #fffbeb;
  border-color: #fde68a;
  color: #b45309;
}

.paybadge--failed,
.paybadge--cancelled {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}

.box--danger {
  border-color: #fecaca;
}

.box--danger .box__top {
  background: #b91c1c;
}

.box--soon .box__body {
  gap: 10px;
  justify-items: start;
}

/* Liste clÃ© / valeur */

.datalist {
  margin: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.datalist > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 13px;
  background: #fff;
}

.datalist dt {
  flex: none;
  min-width: 8.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--steel);
}

.datalist dd {
  margin: 0;
  min-width: 0;
  font-size: 0.875rem;
  font-weight: 600;
  word-break: break-word;
}

/* Liste simple */

.rowlist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.rowlist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  background: #fff;
  font-size: 0.8125rem;
}

.rowlist li b {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
}

/* â”€â”€ Formulaires â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

[data-app] .form {
  display: grid;
  gap: 16px;
  margin-top: 0;
}

[data-app] .form__field {
  display: grid;
  gap: 8px;
}

[data-app] .form__field > span {
  font-size: 0.8125rem;
  font-weight: 750;
  color: var(--navy);
}

[data-app] .form__field > span em {
  font-weight: 400;
  font-style: normal;
  color: var(--muted, #748198);
}

[data-app] .form__field input,
[data-app] .form__field textarea,
[data-app] .form__field select {
  width: 100%;
  height: auto;
  padding: 9px 0 10px;
  border: 0;
  border-bottom: 1px solid #bfc9d7;
  border-radius: 0;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--text, #172033);
  background: transparent;
  resize: vertical;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

[data-app] .form__field input::placeholder,
[data-app] .form__field textarea::placeholder {
  color: #a9b6c8;
}

[data-app] .form__field input:focus,
[data-app] .form__field textarea:focus,
[data-app] .form__field select:focus {
  outline: none;
  border-color: transparent;
  border-bottom-color: var(--blue);
  background: transparent;
  box-shadow: 0 1px 0 var(--blue);
}

[data-app] .form__field input[readonly] {
  color: #64748b;
  background: transparent;
  border-bottom-style: dashed;
}

.siret-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.siret-row input {
  flex: 1;
  min-width: 0;
}

.siret-row .btn {
  flex-shrink: 0;
  white-space: nowrap;
  margin-bottom: 2px;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 400;
  color: var(--muted, #748198);
}

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

.form__cols--3 {
  grid-template-columns: 96px minmax(0, 1fr) minmax(0, 1fr);
}

.form__nested {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--blue);
  border-radius: 6px;
  background: #fbfcfe;
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

[data-app] .form__notice {
  border: 1px solid #cddcff;
  background: var(--blue-soft);
  color: #1f3f8f;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 0.8125rem;
}

[data-app] .form__notice--error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.radiogroup {
  margin: 0;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.radiogroup legend {
  padding: 0;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.radiocard {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--cloud);
  cursor: pointer;
  transition: border-color 0.16s var(--ease), background-color 0.16s var(--ease);
}

.radiocard:hover {
  border-color: #b7c4d6;
}

.radiocard input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  flex: none;
  accent-color: var(--blue);
}

.radiocard span {
  display: grid;
  gap: 1px;
}

.radiocard strong {
  font-size: 0.8125rem;
  font-weight: 600;
}

.radiocard em {
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--steel);
}

.radiocard:has(input:checked) {
  border-color: var(--navy);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--navy);
}

/* â”€â”€ Abonnement â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

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

.plan-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.plan-card.is-current {
  border-color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.plan-card__flag {
  position: absolute;
  top: -9px;
  left: 20px;
  padding: 2px 9px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-card h3 {
  font-size: 0.875rem;
  font-weight: 600;
}

.plan-card__price {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.plan-card__price span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--steel);
}

.plan-card__tagline {
  margin: 0;
  font-size: 0.75rem;
  color: var(--steel);
}

.plan-card__list {
  margin: 6px 0 12px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.plan-card__list li {
  position: relative;
  padding-left: 19px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.plan-card__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 1.8px solid var(--blue);
  border-bottom: 1.8px solid var(--blue);
  transform: rotate(-45deg);
}

.plan-card .btn {
  justify-self: start;
}

/* â”€â”€ Configurateur (Ã  venir) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.configurator {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.configurator__stage {
  display: grid;
  place-items: center;
  min-height: 440px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background:
    linear-gradient(rgba(47, 107, 255, 0.07) 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, rgba(47, 107, 255, 0.07) 1px, transparent 1px) 0 0 / 20px 100%,
    #fff;
}

.configurator__soon {
  display: grid;
  justify-items: center;
  gap: 10px;
  max-width: 26rem;
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-md);
}

.configurator__soon h2 {
  font-size: 1.0625rem;
}

.configurator__soon p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.ghostfields {
  display: grid;
  gap: 12px;
}

.ghostfields span {
  display: block;
  height: 36px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: var(--cloud);
}

/* â”€â”€ Modales â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(11, 18, 32, 0.46);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.16s var(--ease) both;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 29rem;
  background: #fff;
  border-radius: var(--r);
  box-shadow: 0 24px 64px -24px rgba(11, 18, 32, 0.44);
  animation: fadeUp 0.2s var(--ease) both;
  overflow: hidden;
}

.modal__panel--sm {
  max-width: 25rem;
}

.modal__panel h2 {
  padding: 14px 46px 14px 18px;
  background: var(--navy);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.modal__panel--danger h2 {
  background: #b91c1c;
}

.modal__lead {
  margin: 0;
  padding: 18px 18px 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.modal .form {
  padding: 18px;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 6px;
  background: none;
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.66);
  cursor: pointer;
  transition: background-color 0.14s var(--ease), color 0.14s var(--ease);
}

.modal__close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 18px;
  margin-top: 18px;
  border-top: 1px solid var(--line);
  background: var(--cloud);
}

.modal .form .modal__actions {
  margin: 18px -18px -18px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* â”€â”€ Toasts â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.toast-host {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 100;
  display: grid;
  gap: 10px;
  justify-items: end;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 22rem;
  padding: 11px 15px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-size: 0.8125rem;
  line-height: 1.45;
  box-shadow: 0 12px 32px -14px rgba(11, 18, 32, 0.6);
  animation: fadeUp 0.2s var(--ease) both;
}

.toast::before {
  content: "";
  width: 3px;
  align-self: stretch;
  flex: none;
  border-radius: 99px;
  background: var(--blue);
}

.toast--error {
  background: #7f1d1d;
}

.toast--error::before {
  background: #fca5a5;
}

.toast.is-out {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease);
}

/* â”€â”€ Divers â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.backlink {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.8125rem;
  color: var(--steel);
}

.backlink:hover {
  color: var(--blue);
}

.quota {
  font-size: 0.8125rem;
  color: var(--steel);
}

.quota--full {
  color: #b45309;
  font-weight: 500;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

@media (max-width: 1180px) {
  .panelgrid--aside {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .panelgrid,
  .configurator {
    grid-template-columns: 1fr;
  }

  .configurator__stage {
    min-height: 320px;
  }
}

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

  .side {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    overflow-x: auto;
  }

  .side__brand {
    padding: 0 6px 0 0;
    flex: none;
  }

  .side__brand span {
    display: none;
  }

  .side__group,
  .side__spacer,
  .side__plan,
  .side__me span {
    display: none;
  }

  .sidenav {
    grid-auto-flow: column;
    gap: 4px;
    margin-bottom: 0;
  }

  .sidenav a {
    white-space: nowrap;
  }

  .sidenav b,
  .sidenav span.is-soon {
    display: none;
  }

  .side__me {
    margin: 0 0 0 auto;
    padding: 0;
    border: 0;
    flex: none;
  }

  .topbar,
  .content,
  .verify-strip__inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .topbar {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .topbar__right {
    width: 100%;
    margin-left: 0;
  }

  .searchbox,
  .searchbox input {
    flex: 1;
    width: auto;
    min-width: 0;
  }
}

@media (max-width: 620px) {
  .form__cols,
  .form__cols--3,
  .radiogroup,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .datalist > div {
    flex-direction: column;
    gap: 3px;
  }

  .verify-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .toast-host {
    left: 14px;
    right: 14px;
    bottom: 14px;
    justify-items: stretch;
  }

  .toast {
    max-width: none;
  }
}

/* —— Complements espace produit (coquille styles.css) —— */
.pagehead {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.pagehead__text h1 {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.pagehead__text p {
  margin: 6px 0 0;
  color: var(--steel);
  font-size: 0.875rem;
}

.pagehead__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: none;
}

.tabs a.tabs__btn {
  text-decoration: none;
}

.inforow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--steel);
}

.inforow strong {
  color: var(--navy);
  text-align: right;
  font-weight: 600;
}

.danger-title {
  margin: 0 0 8px;
  color: #b91c1c;
  font-size: 0.875rem;
}

.cover__empty .muted {
  margin: 6px 0 0;
  font-size: 0.75rem;
}

.cover__preview:has(#cover-img:not([hidden])) {
  background: #0b1220;
}

.cover__preview:has(#cover-empty:not([hidden])) {
  background: transparent;
  border: 0;
}

.cover__preview:has(#cover-empty:not([hidden])) .cover__empty {
  border: 1px dashed var(--line);
}

