/* ============================================================
   ARVELIO — landing candidature · v3 "niveau grand groupe"
   DA : aurora + grain filmique, typo massive, couche mono,
   surfaces 3 niveaux, bande sombre mi-page, lumière partout.
   ============================================================ */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: 'Cabinet Grotesk';
  src: url('/assets/fonts/CabinetGrotesk-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('/assets/fonts/Satoshi-Variable.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/JetBrainsMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cabinet Grotesk Fallback';
  src: local('Arial');
  size-adjust: 98%;
  ascent-override: 100%;
  descent-override: 24%;
}
@font-face {
  font-family: 'Satoshi Fallback';
  src: local('Arial');
  size-adjust: 97%;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FAF9F6;
  --paper-2: #F2F1EC;
  --ink: #16151C;
  --ink-2: #55545F;
  --ink-3: #6C6B76;
  --line: #E6E4DE;

  --night: #131118;          /* bande sombre + CTA final */
  --night-2: #1B1923;        /* cartes sur bande sombre */
  --night-3: #232030;        /* survol / inputs sombres */
  --hairline: rgba(255, 255, 255, .08);
  --moon: #F0EFF4;           /* texte sur sombre */
  --moon-2: #A9A7B4;

  --accent: #4633E6;
  --accent-deep: #3626BE;
  --accent-soft: #8F84F2;
  --accent-wash: #EDEBFC;
  --success: #1E9E6A;
  --success-deep: #12714B;
  --success-wash: #E7F5EF;
  --warn-deep: #8A5106;
  --warn-wash: #FBF1E2;

  --font-display: 'Cabinet Grotesk', 'Cabinet Grotesk Fallback', system-ui, sans-serif;
  --font-body: 'Satoshi', 'Satoshi Fallback', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;

  --r-card: 20px;
  --r-ui: 14px;

  --shadow-sm: 0 1px 2px rgba(22, 21, 60, .05), 0 2px 8px rgba(22, 21, 60, .04);
  --shadow-md: 0 2px 6px rgba(22, 21, 60, .05), 0 14px 40px -8px rgba(22, 21, 60, .12);
  --shadow-float: 0 4px 10px rgba(22, 21, 60, .07), 0 24px 48px -12px rgba(22, 21, 60, .22);

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(96px, 12vw, 160px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-swift: cubic-bezier(0.32, 0.72, 0, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
section[id] { scroll-margin-top: 96px; }
.hero__title, .contrast__head, .bento__cell h3, .steps__item h3,
.faq__item summary, .apply__title { text-wrap: balance; }
li { text-wrap: pretty; }
img, svg { display: inline-block; vertical-align: middle; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
strong { font-weight: 700; }
s { color: inherit; }
sup { font-size: .68em; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

::selection { background: var(--accent); color: #fff; }
.darkband ::selection, .apply ::selection { background: var(--accent-soft); color: var(--night); }
p { text-wrap: pretty; }
:root { interpolate-size: allow-keywords; }

.skip-link { position: absolute; left: -9999px; z-index: 100; }
.skip-link:focus {
  left: 16px; top: 12px;
  background: #fff; color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-ui);
  box-shadow: var(--shadow-md); font-weight: 700;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Grain filmique global ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .26;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.35 0 0 0 0 0.35 0 0 0 0 0.38 0 0 0 0.12 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain--screen { mix-blend-mode: screen; opacity: .07; }

/* ---------- Typo utilitaire ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-align: center;
  margin-bottom: clamp(44px, 6vw, 72px);
  text-wrap: balance;
}
.section-title--left { text-align: left; margin-bottom: 0; }
.section-title--tight { margin-bottom: 14px; }
.section-title--light { color: var(--moon); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 999px;
  transition: background-color .25s var(--ease-swift), color .25s var(--ease-swift),
              border-color .25s var(--ease-swift), transform .25s var(--ease-swift),
              box-shadow .25s var(--ease-swift);
}
.btn:active { transform: translateY(1px) scale(.985); }
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(22, 21, 60, .2), 0 8px 24px -6px rgba(70, 51, 230, .5),
              inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(22, 21, 60, .18), 0 14px 32px -6px rgba(70, 51, 230, .55),
              inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn__orb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  flex: none;
  margin-right: -8px;
  transition: transform .25s var(--ease-swift), background-color .25s var(--ease-swift);
}
.btn--primary:hover .btn__orb { transform: translateX(3px); background: rgba(255, 255, 255, .24); }
.btn--quiet {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn--quiet:hover { border-color: var(--ink-3); background: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }
.btn--sm { padding: 10px 20px; font-size: .9375rem; }
.btn--lg { padding: 16px 30px; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
}
.chip--wash { background: var(--accent-wash); color: var(--accent-deep); }
.chip--paid { background: var(--success-wash); color: var(--success-deep); }
.chip--warn { background: var(--warn-wash); color: var(--warn-deep); }

/* ============================================================
   NAV — pilule flottante
   ============================================================ */
.nav {
  position: fixed;
  top: 14px;
  left: 0; right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 6vw, 48px);
  padding: 8px 8px 8px 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(22, 21, 60, .08);
  box-shadow: 0 1px 2px rgba(22, 21, 60, .05), 0 10px 32px -8px rgba(22, 21, 60, .12),
              inset 0 1px 0 rgba(255, 255, 255, .6);
  transition: box-shadow .3s ease;
}
.nav.is-scrolled .nav__pill {
  box-shadow: 0 2px 4px rgba(22, 21, 60, .06), 0 16px 40px -8px rgba(22, 21, 60, .18),
              inset 0 1px 0 rgba(255, 255, 255, .6);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; }
.nav__word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-block: clamp(104px, 12vw, 140px) 40px;
  overflow: clip;
}
/* Chorégraphie d'entrée du hero (CSS pur, gaté .js) */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
}
.js .hero__inner > * { animation: hero-in .7s var(--ease-out) both; }
.js .hero__inner > .eyebrow { animation-delay: .02s; }
.js .hero__inner > .hero__title { animation-delay: .1s; }
.js .hero__inner > .hero__sub { animation-delay: .2s; }
.js .hero__inner > .hero__cta { animation-delay: .28s; }
.js .hero__inner > .hero__micro { animation-delay: .34s; }
.js .hero__inner > .stage { animation-delay: .42s; animation-duration: .9s; }
/* Aurora : 3 nappes floutées */
.hero__aurora { position: absolute; inset: 0; pointer-events: none; }
.hero__aurora i {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.hero__aurora i:nth-child(1) {
  width: 720px; height: 520px;
  top: -220px; left: 50%; transform: translateX(-78%);
  background: radial-gradient(closest-side, rgba(70, 51, 230, .26), transparent);
}
.hero__aurora i:nth-child(2) {
  width: 760px; height: 460px;
  top: -180px; left: 50%; transform: translateX(22%);
  background: radial-gradient(closest-side, rgba(143, 132, 242, .22), transparent);
}
.hero__aurora i:nth-child(3) {
  width: 560px; height: 420px;
  top: -140px; left: 50%; transform: translateX(-30%);
  background: radial-gradient(closest-side, rgba(232, 93, 69, .05), transparent);
}
/* Grille fine masquée */
.hero__gridlines {
  position: absolute;
  inset: 0 0 40%;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(22, 21, 60, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 21, 60, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero .eyebrow {
  padding: 7px 16px;
  border: 1px solid rgba(22, 21, 60, .10);
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.hero__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 780;
  font-size: clamp(2.9rem, 7vw, 5.9rem);
  line-height: 1.0;
  letter-spacing: -0.042em;
  color: var(--ink);
}
.struck { position: relative; white-space: nowrap; }
.struck__line {
  position: absolute;
  left: -3%;
  top: 52%;
  width: 106%;
  height: .5em;
  transform: translateY(-50%) rotate(-1deg);
  overflow: visible;
}
.struck__line path {
  stroke-dasharray: 250;
  stroke-dashoffset: 250;
  animation: strike 700ms var(--ease-swift) 600ms forwards;
}
@keyframes strike { to { stroke-dashoffset: 0; } }

.hero__sub {
  margin-top: 24px;
  max-width: 42rem;
  font-size: 1.1875rem;
  line-height: 1.55;
  font-weight: 460;
  color: var(--ink-2);
}
.hero__sub-punch {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-weight: 600;
}
.hero__cta {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.hero__cta-alt {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--ink-2);
  transition: color .2s ease;
}
.hero__cta-alt:hover { color: var(--ink); }
.hero__micro {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--ink-3);
}

/* ---------- Mise en scène du mockup ---------- */
.stage {
  position: relative;
  width: min(1080px, 100%);
  margin-top: clamp(48px, 6vw, 64px);
  perspective: 1400px;
}
.stage__halo {
  position: absolute;
  inset: -8% -12%;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(70, 51, 230, .34), transparent 68%);
  filter: blur(50px);
  pointer-events: none;
}
.browser {
  position: relative;
  background: #fff;
  border: 1px solid rgba(22, 21, 60, .1);
  border-radius: var(--r-card);
  box-shadow: 0 1px 2px rgba(22, 21, 60, .08),
              0 32px 64px -16px rgba(22, 21, 60, .25),
              0 64px 120px -24px rgba(70, 51, 230, .18),
              inset 0 1px 0 rgba(255, 255, 255, .9);
  overflow: hidden;
  transform: rotateX(9deg);
  transform-origin: 50% 0%;
  transition: transform 1s var(--ease-out);
}
.browser.is-flat { transform: rotateX(0deg); }
@supports (animation-timeline: view()) {
  .browser {
    animation: flatten linear both;
    animation-timeline: view();
    animation-range: entry 10% entry 85%;
  }
  @keyframes flatten {
    from { transform: rotateX(9deg); }
    to   { transform: rotateX(0deg); }
  }
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.browser__dots { display: inline-flex; gap: 6px; flex: none; }
.browser__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser__url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-inline: auto;
  padding: 6px 18px;
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-2);
}
.browser__url svg { color: var(--success); }

.portal {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  text-align: left;
}
.portal__side {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 20px 12px 16px;
  border-right: 1px solid var(--line);
  background: var(--paper);
}
.portal__brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: .95rem;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.portal__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: .8rem;
  flex: none;
}
.portal__navitem {
  position: relative;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: .86rem;
  font-weight: 500;
  color: var(--ink-2);
}
.portal__navitem.is-active {
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-weight: 700;
}
.portal__navitem.is-active::before {
  content: "";
  position: absolute;
  left: -12px; top: 8px; bottom: 8px;
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
}
.portal__user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 8px 0;
  border-top: 1px solid var(--line);
}
.portal__uavatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #FCE7F3;
  color: #BE185D;
  font-style: normal;
  font-weight: 700;
  font-size: .72rem;
  flex: none;
}
.portal__uname {
  display: flex;
  flex-direction: column;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
}
.portal__uname em {
  font-style: normal;
  font-weight: 500;
  font-size: .7rem;
  color: var(--ink-3);
}
.portal__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 24px;
}
.portal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.portal__hello {
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.015em;
}
.portal__hsub { font-size: .8rem; color: var(--ink-3); margin-top: 2px; }
.portal__actions { display: flex; align-items: center; gap: 8px; }
.portal__ghost {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
}
.portal__cta {
  padding: 7px 14px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

/* KPI strip */
.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.kpi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.kpi__label {
  font-family: var(--font-mono);
  font-size: .6rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kpi__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.kpi__meta { font-size: .72rem; color: var(--ink-3); }
.kpi__meta--up { color: var(--success-deep); font-weight: 600; }
.kpi__bar {
  margin-top: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.kpi__bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}
.kpi__spark {
  position: absolute;
  right: 13px; bottom: 12px;
  width: 76px; height: 30px;
}

/* Colonnes tableau + latéral */
.portal__cols {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 12px;
}
.ptable {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 16px 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.ptable__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}
.ptable__title { font-size: .92rem; font-weight: 700; letter-spacing: -0.01em; }
.ptable__more { font-size: .74rem; font-weight: 600; color: var(--accent-deep); }
.ptable__cols {
  display: grid;
  grid-template-columns: 78px 1fr 92px 64px;
  gap: 8px;
  padding: 8px 0 7px;
  border-bottom: 1px solid var(--paper-2);
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ptable__cols span:nth-child(2) { text-align: right; }
.ptable__row {
  display: grid;
  grid-template-columns: 78px 1fr 92px 64px;
  gap: 8px;
  align-items: center;
  height: 42px;
  border-bottom: 1px solid var(--paper-2);
}
.ptable__row:last-child { border-bottom: 0; }
.ptable__row.is-hover {
  background: var(--paper);
  margin-inline: -8px;
  padding-inline: 8px;
  border-radius: 8px;
  border-bottom-color: transparent;
}
.ptable__num { font-family: var(--font-mono); font-size: .72rem; color: var(--ink-3); }
.ptable__amt {
  font-size: .82rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.ptable .chip { font-size: .68rem; padding: 2px 9px; justify-self: start; }
.ptable__due { font-size: .74rem; color: var(--ink-3); }
.ptable__paybtn {
  justify-self: start;
  padding: 4px 12px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
}
.pside { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pfeed {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 13px 15px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.pfeed__item { display: flex; gap: 9px; align-items: flex-start; }
.pfeed__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-style: normal;
  font-weight: 700;
  font-size: .64rem;
  flex: none;
  margin-top: 1px;
}
.pfeed__avatar--indigo { background: var(--accent-wash); color: var(--accent-deep); }
.pfeed__avatar--rose { background: #FCE7F3; color: #BE185D; }
.pfeed__avatar--green { background: var(--success-wash); color: var(--success-deep); }
.pfeed__item p { font-size: .76rem; line-height: 1.42; color: var(--ink); }
.pfeed__item span {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: .62rem;
  color: var(--ink-3);
}
.pfiles {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 8px 12px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
}
.pfiles__row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 2px;
}
.pfiles__row + .pfiles__row { border-top: 1px solid var(--paper-2); }
.pfiles__ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 22px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .54rem;
  letter-spacing: .05em;
  flex: none;
}
.pfiles__ext--pdf { background: #FBEAE7; color: #C2402A; }
.pfiles__ext--fig { background: var(--accent-wash); color: var(--accent-deep); }
.pfiles__name {
  font-size: .78rem;
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pfiles__meta { font-family: var(--font-mono); font-size: .62rem; color: var(--ink-3); }
.pfiles .chip { font-size: .64rem; padding: 2px 8px; }

/* Cartes flottantes */
.float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(22, 21, 60, .09);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-float);
}
.float__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1.25;
  white-space: nowrap;
}
.float__sub { display: block; font-size: .8rem; color: var(--ink-2); white-space: nowrap; }
.float--paid {
  top: -26px; right: -20px;
  animation: floaty 6s ease-in-out infinite alternate;
}
.float--paid .float__title { color: var(--success-deep); }
.float--relance {
  bottom: -24px; left: -20px;
  animation: floaty 6s ease-in-out 1.2s infinite alternate-reverse;
}
@keyframes floaty { from { transform: translateY(0); } to { transform: translateY(-8px); } }

/* ============================================================
   STATS — numéraux géants
   ============================================================ */
.stats { position: relative; padding-block: var(--section); }
.stats::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  background: radial-gradient(ellipse 42% 55% at 18% 55%, rgba(70, 51, 230, .09), transparent 70%);
  pointer-events: none;
}
.stats .container { position: relative; }
.stats__kicker { display: block; margin-bottom: clamp(30px, 4vw, 44px); }
.stats__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: center;
}
.stats__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5.6rem, 12vw, 9.5rem);
  letter-spacing: -0.05em;
  line-height: .85;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stats__num em { font-style: normal; font-size: .42em; margin-left: .12em; }
.stats__promise {
  margin-top: 22px;
  font-size: 1.19rem;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 26ch;
}
.stats__promise strong { color: var(--ink); }
.stats__side {
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 4.5vw, 60px);
  display: flex;
  flex-direction: column;
}
.stats__study { padding-block: 24px; }
.stats__study:first-child { padding-top: 6px; }
.stats__study + .stats__study { border-top: 1px solid var(--line); }
.stats__slabel {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.stats__snum {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 3.6vw, 2.9rem);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats__snum em {
  font-style: normal;
  font-size: .52em;
  margin-left: .16em;
  color: var(--ink-2);
}
.stats__footnote {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--ink-3);
}

/* ============================================================
   AVANT / APRÈS
   ============================================================ */
.contrast { padding-bottom: var(--section); }
.contrast__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.contrast__grid::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23fff' d='M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 0 0 6px var(--paper), var(--shadow-md);
  z-index: 2;
}
.contrast__panel {
  border-radius: calc(var(--r-card) + 6px);
  padding: clamp(28px, 4vw, 44px);
}
.contrast__panel--before {
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  overflow: hidden;
}
.contrast__panel--after {
  background: var(--night);
  color: var(--moon);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 64px -20px rgba(19, 17, 24, .5);
}
.contrast__panel--after::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 80%;
  background: radial-gradient(ellipse at 60% 0%, rgba(90, 74, 240, .4), transparent 65%);
  pointer-events: none;
}
.contrast__head {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  position: relative;
}
.contrast__panel--before .contrast__head { color: var(--ink); }

/* Collage du bricolage */
.mess { position: relative; height: 150px; margin-bottom: 22px; }
.mess__win {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-2);
  box-shadow: 0 8px 20px -6px rgba(22, 21, 60, .18);
  white-space: nowrap;
}
.mess__win i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  flex: none;
}
.mess__win--1 { top: 6px; left: 2%; transform: rotate(-2.5deg); }
.mess__win--2 { top: 52px; right: 4%; transform: rotate(1.8deg); }
.mess__win--3 { top: 100px; left: 12%; transform: rotate(-1deg); }

/* Lien propre côté Arvelio */
.contrast__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, .05);
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--moon);
}
.contrast__link svg { color: var(--accent-soft); }

.contrast__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.contrast__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  line-height: 1.55;
}
.contrast__list svg { flex: none; margin-top: 3px; }
.contrast__panel--before svg { color: var(--ink-3); }
.contrast__panel--after svg { color: var(--accent-soft); }

/* ============================================================
   BANDE SOMBRE — BENTO
   ============================================================ */
.darkband {
  position: relative;
  margin-inline: clamp(0px, 1.5vw, 20px);
  border-radius: clamp(20px, 3vw, 36px);
  background: var(--night);
  color: var(--moon);
  padding-block: var(--section);
  margin-bottom: var(--section);
  overflow: clip;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07);
}
.darkband::before {
  content: "";
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 132, 242, .5), transparent);
}
@media (min-width: 1025px) {
  .bento { grid-auto-flow: dense; }
  .bento__cell--relance { order: 1; }
  .bento__cell--pay { order: 2; }
  .bento__cell--progress { order: 3; }
  .bento__cell--files { order: 4; }
  .bento__cell--messages { order: 5; }
  .bento__cell--efact { order: 6; }
  .bento__cell--cra { order: 7; }
  .bento__cell--progress img {
    transform: scale(1.42);
    transform-origin: 58% 45%;
  }
}
.darkband__glow {
  position: absolute;
  inset: -10% 0 auto;
  height: 55%;
  background: radial-gradient(ellipse 55% 60% at 50% 0%, rgba(90, 74, 240, .34), transparent 70%);
  pointer-events: none;
}
.darkband .container { position: relative; }

.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}
.bento__cell {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--r-card);
  background: var(--night-2);
  padding: clamp(24px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: transform .35s var(--ease-swift), border-color .35s var(--ease-swift);
}
.bento__cell:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 18px 40px -12px rgba(0, 0, 0, .5);
}
.bento__cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(240px at var(--mx, 50%) var(--my, 0%), rgba(143, 132, 242, .12), transparent 70%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.bento__cell:hover::after { opacity: 1; }
.bento__cell h3 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.bento__cell p { color: var(--moon-2); font-size: .9375rem; }
.bento__cell .bento__note { font-size: .84rem; color: var(--moon-2); opacity: .8; }

.bento__cell--relance { grid-column: span 7; }
.bento__cell--pay { grid-column: span 5; }
.bento__cell--files { grid-column: span 4; }
.bento__cell--messages { grid-column: span 4; }
.bento__cell--progress { grid-column: span 4; }
.bento__cell--cra { grid-column: span 7; }
.bento__cell--efact { grid-column: span 5; }

/* ---------- CRA (compte rendu d'activité) ---------- */
.cra {
  border: 1px solid var(--hairline);
  border-radius: var(--r-ui);
  background: rgba(255, 255, 255, .035);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.cra__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.cra__month { font-size: .84rem; font-weight: 500; color: var(--moon-2); }
.cra__count {
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(143, 132, 242, .16);
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: .68rem;
  white-space: nowrap;
}
.cra__grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 4px;
  max-width: 320px;
}
.cra__grid i {
  height: 20px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .06);
}
.cra__grid i.is-on { background: var(--accent); }
.cra__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cra__total {
  font-size: .84rem;
  color: var(--moon-2);
  font-variant-numeric: tabular-nums;
}
.cra__total b { color: var(--moon); font-weight: 700; }
.cra__btn {
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Facturation électronique ---------- */
.efact__timeline {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.efact__timeline li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-left: 22px;
}
.efact__timeline li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .2);
  background: var(--night-2);
}
.efact__timeline li.is-now::before {
  border-color: var(--accent-soft);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(143, 132, 242, .18);
}
.efact__timeline li:first-child::after {
  content: "";
  position: absolute;
  left: 6px; top: 18px;
  width: 1px; height: calc(100% + 6px);
  background: rgba(255, 255, 255, .12);
}
.efact__date {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--accent-soft);
  flex: none;
  width: 76px;
  padding-top: 1px;
}
.efact__step {
  display: flex;
  flex-direction: column;
  font-size: .875rem;
  font-weight: 600;
  color: var(--moon);
  line-height: 1.35;
}
.efact__step em {
  font-style: normal;
  font-weight: 400;
  font-size: .8rem;
  color: var(--moon-2);
}
.efact {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.efact__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--moon-2);
}
.efact__tag--ok {
  border-color: rgba(30, 158, 106, .4);
  background: rgba(30, 158, 106, .14);
  color: #4CC895;
}

/* Cellules image : le render EST le fond */
.bento__cell--img { padding: 0; min-height: 320px; justify-content: flex-end; }
.bento__cell--img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento__cell--pay img { object-position: 62% 50%; }
.bento__cell--progress img { object-position: 55% 50%; }
.bento__overlay {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  background: linear-gradient(180deg, transparent, rgba(10, 9, 14, .82) 55%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Email de relance (sur sombre) */
.email {
  border: 1px solid var(--hairline);
  border-radius: var(--r-ui);
  padding: 18px 20px;
  background: rgba(255, 255, 255, .035);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.email__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.email__from { font-weight: 500; font-size: .84rem; color: var(--moon-2); }
.email__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 999px;
  background: rgba(143, 132, 242, .16);
  color: var(--accent-soft);
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .02em;
  white-space: nowrap;
}
.email__subject {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  color: var(--moon);
}
.email .email__body { font-size: .875rem; line-height: 1.6; color: var(--moon-2); }
.email__legal {
  display: block;
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--hairline);
  color: var(--moon-2);
  font-size: .78rem;
}

/* Livrables (sur sombre) */
.filelist { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.filelist li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid var(--hairline);
  border-radius: 11px;
  font-size: .875rem;
  font-weight: 500;
  color: var(--moon);
  background: rgba(255, 255, 255, .03);
}
.filelist__ext {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 24px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: .6rem;
  letter-spacing: .05em;
  flex: none;
}
.filelist__ext--pdf { background: rgba(232, 93, 69, .18); color: #F0907D; }
.filelist__ext--fig { background: rgba(143, 132, 242, .18); color: var(--accent-soft); }
.filelist__ext--zip { background: rgba(255, 255, 255, .08); color: var(--moon-2); }

/* Fil de messages (sur sombre) */
.thread { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.thread p {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: var(--r-ui);
  font-size: .875rem;
  font-weight: 500;
  width: fit-content;
  max-width: 100%;
}
.thread__in {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--hairline);
  color: var(--moon);
}
.thread__avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  font-style: normal;
  font-weight: 700;
  font-size: .66rem;
  color: var(--moon-2);
  flex: none;
}
.thread__out {
  background: rgba(143, 132, 242, .18);
  color: #C9C3F8;
  align-self: flex-end;
}

/* ============================================================
   SIGNATURE — REBRANDING LIVE
   ============================================================ */
@property --brand { syntax: '<color>'; inherits: true; initial-value: #4633E6; }
@property --brand-soft { syntax: '<color>'; inherits: true; initial-value: #EDEBFC; }
@property --brand-text { syntax: '<color>'; inherits: true; initial-value: #4633E6; }
.brandit {
  --brand: var(--accent);
  --brand-soft: var(--accent-wash);
  --brand-text: var(--accent);
  position: relative;
  padding-bottom: var(--section);
  overflow: clip;
  transition: --brand .5s ease, --brand-soft .5s ease, --brand-text .5s ease;
}
.brandit__ambient {
  position: absolute;
  inset: 14% -6% -4%;
  background-color: color-mix(in srgb, var(--brand) 22%, transparent);
  -webkit-mask-image: radial-gradient(ellipse 52% 48% at 50% 62%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 52% 48% at 50% 62%, #000, transparent 72%);
  pointer-events: none;
  transition: background-color .5s ease;
}
.brandit__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.brandit .eyebrow { margin-bottom: 18px; }
.brandit__sub {
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.0625rem;
}
.brandit__hint {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ink-3);
}
.swatches { display: flex; gap: 18px; margin-block: 34px 40px; }
.swatch {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--sw) 60%, #fff), var(--sw) 62%);
  border: 4px solid #fff;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  transition: transform .25s var(--ease-swift), box-shadow .25s var(--ease-swift);
}
.swatch::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; }
.swatch::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px; height: 16px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath d='M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: scale(.5);
  transition: opacity .25s var(--ease-swift), transform .25s var(--ease-swift);
}
.swatch:hover { transform: scale(1.14); }
.swatch.is-active { box-shadow: 0 0 0 2.5px var(--sw), var(--shadow-md); transform: scale(1.08); }
.swatch.is-active::before { opacity: 1; transform: scale(1); }

.miniportal {
  width: min(620px, 100%);
  border: 1px solid rgba(22, 21, 60, .1);
  border-radius: var(--r-card);
  background: #fff;
  padding: 0 0 clamp(22px, 3.4vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 2px 6px rgba(22, 21, 60, .06),
              0 28px 64px -16px color-mix(in srgb, var(--brand) 28%, rgba(22, 21, 60, .16));
  transition: box-shadow .5s ease;
  text-align: left;
  overflow: hidden;
}
.miniportal__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.miniportal__dots { display: inline-flex; gap: 5px; flex: none; }
.miniportal__dots i, .miniportal__dots::before, .miniportal__dots::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  display: inline-block;
}
.miniportal__url {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--paper-2);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-2);
}
.miniportal__url svg { color: var(--success); }
.miniportal__url b { font-weight: 700; color: var(--brand-text); transition: color .45s ease; }
.miniportal__top, .miniportal__progress, .miniportal__row { margin-inline: clamp(22px, 3.4vw, 28px); }
.miniportal.is-switching .miniportal__top,
.miniportal.is-switching .miniportal__row {
  animation: mp-pop .45s var(--ease-out);
}
@keyframes mp-pop {
  0% { opacity: .35; transform: translateY(5px); }
  100% { opacity: 1; transform: none; }
}
.miniportal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.miniportal__ident { display: inline-flex; align-items: center; gap: 11px; }
.miniportal__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--brand);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 1.02rem;
  transition: background-color .45s ease;
}
.miniportal__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.012em;
}
.miniportal__badge {
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-text);
  font-size: .76rem;
  font-weight: 700;
  transition: background-color .45s ease, color .45s ease;
}
.miniportal__progress {
  height: 8px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.miniportal__progress i {
  display: block;
  width: 55%;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
  transition: background-color .45s ease;
}
.miniportal__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.miniportal__doc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  font-weight: 600;
}
.miniportal__doc svg { color: var(--ink-3); }
.miniportal__pay {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .92rem;
  transition: background-color .45s ease;
}

/* ============================================================
   ÉTAPES — rail + visuel sticky
   ============================================================ */
.steps { padding-bottom: var(--section); }
.steps__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}
.steps__list { display: flex; flex-direction: column; }
.steps__item {
  display: flex;
  gap: clamp(18px, 3vw, 30px);
  padding-block: clamp(26px, 3.6vw, 38px);
  border-top: 1px solid var(--line);
  opacity: .38;
  transition: opacity .45s ease;
}
.steps__item:last-child { border-bottom: 1px solid var(--line); }
.steps__item.is-active { opacity: 1; }
.steps__num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  color: var(--ink-3);
  flex: none;
  transition: color .45s ease;
}
.steps__item.is-active .steps__num { color: var(--accent); }
.steps__item h3 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  letter-spacing: -0.015em;
}
.steps__item p { margin-top: 6px; color: var(--ink-2); }
.steps__time {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.steps__visual {
  position: sticky;
  top: 120px;
  display: grid;
}
.steps__card {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: calc(var(--r-card) + 4px);
  background: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px) scale(.98);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.steps__card.is-on { opacity: 1; transform: none; }
.steps__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-style: normal;
  font-weight: 800;
  font-size: 1.1rem;
}
.steps__icontile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-style: normal;
}
.steps__vtitle {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.steps__vtitle span { color: var(--ink-3); font-weight: 600; }
.steps__vsub {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--ink-3);
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing { position: relative; padding-bottom: var(--section); }
.pricing__wash {
  position: absolute;
  inset: -10% 0;
  background: radial-gradient(ellipse 46% 55% at 50% 50%, rgba(70, 51, 230, .16), transparent 70%);
  pointer-events: none;
}
.pricing .container { position: relative; }
.pricing__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 56px);
}
.pricing__sub {
  max-width: 34rem;
  color: var(--ink-2);
  font-size: 1.0625rem;
}
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: clamp(28px, 3.4vw, 38px) clamp(22px, 2.6vw, 30px);
  border-radius: calc(var(--r-card) + 4px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.plan--featured {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    conic-gradient(from var(--angle, 320deg), rgba(70, 51, 230, .85), rgba(143, 132, 242, .22) 30%, rgba(70, 51, 230, .12) 55%, rgba(143, 132, 242, .6) 80%, rgba(70, 51, 230, .85)) border-box;
  box-shadow: 0 2px 6px rgba(22, 21, 60, .06), 0 32px 80px -24px rgba(70, 51, 230, .30);
  animation: spin-border 16s linear infinite;
  transform: translateY(-12px);
}
@keyframes spin-border { from { --angle: 320deg; } to { --angle: 680deg; } }
.plan__tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 15px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.plan__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.plan__for {
  font-size: .875rem;
  color: var(--ink-3);
  min-height: 2.6em;
}
.plan__price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: 6px;
}
.plan__amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 3.4vw, 3.2rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: .95;
}
.plan__per {
  color: var(--ink-2);
  font-weight: 600;
  font-size: .85rem;
  line-height: 1.35;
  text-align: left;
}
.plan__was {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--ink-3);
}
.plan__was s { font-variant-numeric: tabular-nums; }
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  margin-block: 18px 22px;
}
.plan__list li {
  position: relative;
  padding-left: 28px;
  font-size: .9375rem;
  font-weight: 500;
  line-height: 1.45;
}
.plan__list li b { font-weight: 700; }
.plan__list svg {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--accent);
}
.plan .btn { margin-top: auto; }
.pricing__flag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--accent-wash);
  color: var(--accent-deep);
  font-size: .84rem;
  font-weight: 500;
  margin-bottom: 20px;
}
.pricing__flag strong { font-weight: 800; }
.gauge {
  width: min(480px, 100%);
  margin: clamp(28px, 4vw, 40px) auto 0;
  text-align: center;
}
.gauge__label {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .03em;
  color: var(--ink-2);
}
.gauge__bar {
  margin-top: 10px;
  height: 9px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  overflow: hidden;
}
.gauge__bar i {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--accent);
  transition: width .8s var(--ease-out);
}
.pricing__micro {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .02em;
  line-height: 2;
  color: var(--ink-3);
}

/* ---------- Pages légales ---------- */
.legal { padding-block: 140px 90px; max-width: 720px; }
.legal h2 {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  margin-top: 40px;
}
.legal p { margin-top: 12px; color: var(--ink-2); }
.legal a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__back {
  display: inline-block;
  margin-bottom: 34px;
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--ink-2);
}
.legal__back:hover { color: var(--ink); }
.legal__note {
  margin-top: 48px;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--ink-3);
}
.legal .section-title--left { margin-bottom: 10px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-bottom: var(--section); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq__intro { position: sticky; top: 120px; }
.faq__contact {
  margin-top: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #fff;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  max-width: 330px;
}
.faq__contact-title {
  font-family: var(--font-display);
  font-weight: 750;
  font-size: 1.06rem;
  letter-spacing: -0.01em;
}
.faq__contact-link {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: .92rem;
  color: var(--accent-deep);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.faq__contact-link:hover { color: var(--accent); }
.faq__contact-note { margin-top: 5px; font-size: .84rem; color: var(--ink-3); }
.faq__items { display: flex; flex-direction: column; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.012em;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-deep); }
.faq__icon { position: relative; width: 18px; height: 18px; flex: none; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--ink-2);
  border-radius: 2px;
  transition: transform .3s var(--ease-out);
}
.faq__icon::before { width: 14px; height: 2px; }
.faq__icon::after { width: 2px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); }
.faq__item p { padding: 0 4px 26px; color: var(--ink-2); max-width: 62ch; }
.faq__item::details-content {
  opacity: 0;
  block-size: 0;
  overflow-y: clip;
  transition: content-visibility .45s allow-discrete,
              opacity .45s var(--ease-out),
              block-size .45s var(--ease-out);
}
.faq__item[open]::details-content { opacity: 1; block-size: auto; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.apply {
  position: relative;
  background: var(--night);
  color: var(--moon);
  padding-block: var(--section);
  overflow: clip;
}
.apply::before {
  content: "";
  position: absolute;
  top: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(143, 132, 242, .6), transparent);
}
.apply__glow { position: absolute; pointer-events: none; }
.apply__glow--main {
  top: -35%; left: 50%;
  width: 1000px; height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(90, 74, 240, .5), transparent 62%);
}
.apply__glow--left {
  bottom: -30%; left: -12%;
  width: 560px; height: 460px;
  background: radial-gradient(ellipse at center, rgba(232, 93, 69, .12), transparent 65%);
}
.apply__glow--right {
  top: 10%; right: -14%;
  width: 520px; height: 480px;
  background: radial-gradient(ellipse at center, rgba(143, 132, 242, .16), transparent 65%);
}
.apply__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.apply__title {
  font-family: var(--font-display);
  font-weight: 780;
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}
.apply__count {
  background: linear-gradient(120deg, #fff 20%, var(--accent-soft) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.apply__sub {
  margin-top: 20px;
  max-width: 37rem;
  color: var(--moon-2);
  font-size: 1.0625rem;
}
.apply__process {
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--moon-2);
  padding: 8px 18px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
}
.apply__form { margin-top: 28px; width: min(580px, 100%); }
.apply__input--site {
  display: block;
  width: 100%;
  margin-top: 12px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: .9375rem;
}
.apply__input--site:focus-visible {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 3px rgba(143, 132, 242, .22);
  outline: none;
}
.apply__input[aria-invalid="true"] { border-color: #FFB4A3; }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
.apply__error { animation: fade-up .3s var(--ease-out); }
.apply__success { animation: fade-up .45s var(--ease-out); }
.apply__micro a { text-decoration: underline; text-underline-offset: 3px; }
.apply__micro a:hover { color: var(--moon); }
.btn__orb--dark { background: rgba(22, 21, 60, .08); color: var(--ink); }
.apply__row {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 6px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.apply__row:focus-within {
  border-color: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(143, 132, 242, .25), 0 0 40px -4px rgba(143, 132, 242, .35);
}
.apply__input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 12px 20px;
  font: inherit;
  color: var(--moon);
}
.apply__input::placeholder { color: #A5A3AF; }
.apply__input:focus { outline: none; }
.apply__input:-webkit-autofill,
.apply__input:-webkit-autofill:hover,
.apply__input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--night-2) inset;
  -webkit-text-fill-color: var(--moon);
  caret-color: var(--moon);
  transition: background-color 9999s ease-out;
}
.apply__error { margin-top: 12px; color: #FFB4A3; font-size: .9375rem; font-weight: 500; }
.apply__micro {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .02em;
  color: #A5A3AF;
}
.apply__success {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  background: rgba(30, 158, 106, .14);
  border: 1px solid rgba(30, 158, 106, .35);
  border-radius: var(--r-card);
  padding: 20px 24px;
  max-width: 580px;
}
.apply__success:focus-visible { outline-color: #4CC895; }
.apply__success svg { color: #4CC895; flex: none; }
.apply__success p { color: #DFF5EB; font-size: 1rem; }
.btn--light:focus-visible { outline-color: #fff; }
.btn.is-loading { opacity: .78; }
.btn.is-loading::before {
  content: "";
  width: 15px; height: 15px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  flex: none;
  animation: btn-spin .7s linear infinite;
}
@keyframes btn-spin { to { transform: rotate(360deg); } }
.nav__brand { transition: opacity .2s ease; }
.nav__brand:hover { opacity: .72; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--hairline);
  padding-block: 52px;
  background: var(--night);
  color: var(--moon);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: .9375rem;
}
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 26px;
  font-family: var(--font-mono);
  font-size: .75rem;
}
.footer__nav a {
  display: inline-block;
  padding: 12px 6px;
  margin: -12px -6px;
  color: var(--moon-2);
  transition: color .2s ease;
}
.footer__nav a:hover { color: var(--moon); }
.footer__legal, .footer__sources {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .02em;
  color: var(--moon-2);
  opacity: .75;
}

/* ============================================================
   REVEALS (gatés .js — sans JS tout est visible)
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), filter .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__inner > * { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
  .float--paid, .float--relance { animation: none; }
  .struck__line path { animation: none; stroke-dashoffset: 0; }
  .browser { animation: none !important; transform: none; }
  .plan--featured { animation: none; }
  .btn, .swatch, .gauge__bar i, .bento__cell { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; gap: 26px; }
  .plan--featured { transform: none; order: -1; }
  .plan__for { min-height: 0; }
  .bento__cell--relance { grid-column: span 12; }
  .bento__cell--pay { grid-column: span 12; min-height: 300px; }
  .bento__cell--files, .bento__cell--messages { grid-column: span 6; }
  .bento__cell--progress { grid-column: span 12; min-height: 300px; }
  .bento__cell--cra, .bento__cell--efact { grid-column: span 12; }
  .steps__grid { grid-template-columns: minmax(0, 1fr); }
  .steps__visual {
    position: sticky;
    top: 84px;
    order: -1;
    z-index: 2;
    margin-bottom: 20px;
  }
}

@media (max-width: 860px) {
  .faq__grid { display: flex; flex-direction: column; }
  .faq__intro { position: static; display: contents; }
  .faq__intro .section-title { margin-bottom: 8px; }
  .faq__contact { order: 2; max-width: none; margin-top: 18px; }
  .float--paid { top: -18px; right: 0; }
  .float--relance { bottom: -18px; left: 0; }
}

@media (max-width: 700px) {
  .portal__cols { grid-template-columns: minmax(0, 1fr); }
  .ptable__row--xtra { display: none; }
  .portal__ghost { display: none; }
}

@media (max-width: 768px) {
  .stats__grid { grid-template-columns: minmax(0, 1fr); gap: 44px; align-items: start; }
  .stats__side { border-left: 0; padding-left: 0; }
  .contrast__grid::after {
    position: static;
    grid-row: 2;
    justify-self: center;
    margin-block: -35px;
    transform: rotate(90deg);
  }
  .contrast__grid { grid-template-columns: minmax(0, 1fr); }
  .bento__cell--files, .bento__cell--messages { grid-column: span 12; }
  .darkband { margin-inline: 0; border-radius: 0; }
  .apply__row { flex-direction: column; background: transparent; border: 0; padding: 0; gap: 12px; box-shadow: none; border-radius: 0; }
  .apply__row:focus-within { box-shadow: none; border: 0; }
  .apply__input {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 15px 22px;
  }
  .apply__input:focus-visible {
    border-color: var(--accent-soft);
    box-shadow: 0 0 0 4px rgba(143, 132, 242, .25);
    outline: none;
  }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 640px) {
  .hero__title br { display: none; }
  .hero { padding-top: 100px; padding-bottom: 32px; }
  .hero__sub { font-size: 1rem; line-height: 1.5; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; }
  .hero__cta-alt { justify-content: center; }
  .mess { height: 132px; }
  .mess__win { font-size: .72rem; padding: 8px 11px; }
}

@media (max-width: 480px) {
  .portal { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .portal__side {
    flex-direction: row;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 12px 14px;
    gap: 8px;
    overflow-x: auto;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000 88%, transparent);
  }
  .portal__brand { margin-bottom: 0; margin-right: 6px; white-space: nowrap; }
  .portal__navitem { padding: 6px 10px; font-size: .8rem; white-space: nowrap; }
  .portal__navitem.is-active::before { display: none; }
  .portal__user { display: none; }
  .portal__actions .portal__ghost { display: none; }
  .portal__hello { font-size: 1.02rem; }
  .kpis { grid-template-columns: minmax(0, 1fr); }
  .kpi--spark { display: none; }
  .ptable__cols, .ptable__row { grid-template-columns: 74px 1fr 88px; }
  .ptable__due, .ptable__cols .ptable__due { display: none; }
  .ptable__row.is-hover .ptable__paybtn { display: none; }
  .portal__main { padding: 16px 16px 56px; }
  .float { padding: 10px 14px; }
  .float--paid { top: -34px; }
  .float__title { font-size: .85rem; }
  .float__sub { font-size: .72rem; }
  .hero__cta .btn { width: 100%; }
  .eyebrow { font-size: .66rem; }
  .eyebrow__opt { display: none; }
  .swatches { gap: 14px; }
  .stage { perspective: none; }
  .browser { transform: none; }
}

@media (max-width: 400px) {
  .nav__word { display: none; }
}

@media (max-width: 360px) {
  .hero__title { font-size: 2.35rem; }
}
