/* === Auth & Landing — Éditorial Papier ============================
   Étend styles.css. Design v2 : rouge cire à cacheter sur papier ivoire.
   Tokens supposés présents : --paper, --ink, --terracotta, --sage,
   --line-soft, --font-display, --font-body. */

:root {
  /* v2 : --rf-blue garde son nom (43 usages) mais vaut le rouge cachet */
  --rf-blue: #A2202C;
  --rf-blue-ink: #7E1822;
  --rf-red: #CE0500;
  --amber: #B8842F;
  --paper: #F5EFE6;
  --paper-2: #FCFAF5;
  --serif: "Fraunces", "Newsreader", "Iowan Old Style", Georgia, serif;
}

/* ── Public shell ─────────────────────────────────────────── */
.au-shell {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}
.au-shell *, .au-shell *::before, .au-shell *::after { box-sizing: border-box; }

.au-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 56px);
  background: rgba(245, 239, 230, 0.96);
  border-bottom: 1px solid var(--line-soft);
}
.au-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--ink);
}
.au-logo-mark {
  width: 32px; height: 32px;
  background: var(--rf-blue); color: #fff;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
}
.au-logo-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; letter-spacing: -0.01em;
}
.au-logo-sub {
  display: block; font-size: 11px; color: var(--ink-3);
  font-family: var(--font-body); font-weight: 500;
}
.au-nav { display: flex; align-items: center; gap: 8px; }
.au-nav a {
  font-family: var(--font-display); font-weight: 600;
  font-size: 14px; text-decoration: none;
  color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px;
}
.au-nav a:hover { background: rgba(162,32,44,0.04); color: var(--rf-blue); }
/* Fix specificite : .au-nav a (0,1,1) ecrasait le blanc de .au-btn-primary (0,1,0) */
.au-nav a.au-btn-primary, .au-nav a.au-btn-primary:hover { color: #fff; background: var(--rf-blue); }
.au-nav a.au-btn-primary:hover { background: var(--rf-blue-ink); }

.au-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .08s, background .12s, box-shadow .15s;
  white-space: nowrap;
}
.au-btn-primary {
  background: var(--rf-blue); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 1px 3px rgba(162,32,44,0.25);
}
.au-btn-primary:hover { background: var(--rf-blue-ink); }
.au-btn-primary:active { transform: translateY(1px); }
.au-btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.au-btn-ghost:hover { background: var(--paper-2); border-color: var(--ink-3); }
.au-btn-block { width: 100%; justify-content: center; }
.au-btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

/* ── Page wrappers / labels for the spec sheet ────────────── */
.au-spec-label {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-3);
  padding: 56px clamp(20px, 5vw, 56px) 12px;
  border-top: 1px dashed var(--line);
  margin-top: 80px;
}
.au-spec-label:first-of-type { border-top: 0; margin-top: 0; }
.au-spec-label .num {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  background: var(--ink); color: var(--paper);
  padding: 2px 8px; border-radius: 5px;
  margin-right: 10px;
  letter-spacing: 0.04em;
}

/* ── LANDING — hero ───────────────────────────────────────── */
.au-landing { padding: 0; }
.au-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: clamp(48px, 9vw, 120px) clamp(20px, 5vw, 56px) clamp(60px, 8vw, 100px);
  max-width: 1280px; margin: 0 auto;
  position: relative;
}
@media (min-width: 960px) {
  .au-hero { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
}
.au-eyebrow {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 24px;
  display: inline-flex; align-items: center; gap: 10px;
}
.au-eyebrow .rule {
  width: 28px; height: 1px; background: currentColor; display: inline-block;
}
.au-h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.au-h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--rf-blue);
}
.au-h1 .rouge { color: var(--rf-red); font-style: italic; }
.au-h1 .strike {
  position: relative; display: inline-block;
}
.au-h1 .strike::after {
  content: ""; position: absolute;
  left: -4%; right: -4%; top: 52%; height: 4px;
  background: var(--rf-red);
  transform: rotate(-2deg);
}
.au-lede {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 540px;
  margin: 0 0 36px;
}
.au-cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.au-cta-note {
  font-size: 13px; color: var(--ink-3);
  margin-left: 4px;
}
.au-cta-note strong { color: var(--ink-2); font-weight: 600; }

/* ── Stack of fines — hero visual ─────────────────────────── */
.au-stack {
  position: relative;
  height: clamp(360px, 50vw, 560px);
  perspective: 1400px;
  display: flex; align-items: center; justify-content: center;
}
.au-stack-stamp {
  position: absolute; z-index: 10;
  top: -8px; right: -8px;
  width: 168px; height: 168px;
  border-radius: 50%;
  background: var(--rf-red); color: #fff;
  border: 3px solid #fff;
  box-shadow: 0 14px 30px rgba(225,0,15,0.28);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-display);
  text-align: center;
  transform: rotate(-12deg);
  padding: 14px;
}
.au-stack-stamp .small {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.85;
}
.au-stack-stamp .big {
  font-family: var(--serif); font-style: italic;
  font-weight: 500;
  font-size: 38px; line-height: 1;
  margin: 6px 0 2px;
}
.au-stack-stamp .tiny {
  font-size: 10px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; opacity: 0.78;
}

.au-letter {
  position: absolute;
  width: clamp(260px, 32vw, 380px);
  aspect-ratio: 0.72;
  background: linear-gradient(180deg, #FFFCF0 0%, #F2EBD8 100%);
  border: 1px solid #DCD2B6;
  border-radius: 4px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.06),
    0 18px 36px rgba(31,32,55,0.18),
    0 30px 70px rgba(31,32,55,0.12);
  padding: 22px 22px 20px;
  font-family: var(--font-body);
  font-size: 9px;
  color: #2C2A22;
  overflow: hidden;
}
.au-letter::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top left, rgba(255,255,255,0.5), transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(0,0,0,0.06), transparent 50%);
  pointer-events: none;
}
.au-letter .ll-banner {
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #D8CFB1;
  padding-bottom: 10px;
}
.au-letter .ll-rf {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(180deg, var(--rf-blue) 50%, var(--rf-red) 50%);
  color: #fff; font-weight: 700; font-size: 8px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0.04em;
}
.au-letter .ll-org {
  font-family: var(--font-display); font-weight: 700; font-size: 9.5px;
  line-height: 1.2; color: #1a1a1a;
}
.au-letter .ll-org small {
  display: block; font-size: 8px; font-weight: 500; color: #666;
}
.au-letter .ll-title {
  font-family: var(--font-display);
  font-weight: 700; font-size: 13px; letter-spacing: 0.02em;
  border: 1.2px solid #1a1a1a; padding: 5px 8px;
  text-align: center;
  margin: 12px 24px 10px;
  color: #1a1a1a;
}
.au-letter .ll-row {
  display: flex; justify-content: space-between;
  padding: 4px 0; font-size: 8.5px;
  border-bottom: 1px dotted #c9c1a4;
}
.au-letter .ll-row .k { color: #6a6a6a; }
.au-letter .ll-row .v { font-weight: 600; color: #1a1a1a; font-variant-numeric: tabular-nums; }
.au-letter .ll-amount {
  margin: 10px 0 8px;
  padding: 8px 12px;
  background: #ede4c9; border: 1px solid #d8c896;
  display: flex; justify-content: space-between; align-items: baseline;
}
.au-letter .ll-amount .lbl {
  font-size: 7.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #6a6a6a;
}
.au-letter .ll-amount .val {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: #1a1a1a; letter-spacing: -0.02em;
}
.au-letter .ll-bottom {
  display: flex; gap: 8px; margin-top: 12px;
  align-items: flex-end;
}
.au-letter .ll-barcode {
  flex: 1; height: 26px;
  background: repeating-linear-gradient(90deg, #1a1a1a 0 2px, transparent 2px 5px, #1a1a1a 5px 6px, transparent 6px 9px);
}
.au-letter .ll-qr {
  width: 32px; height: 32px;
  background:
    radial-gradient(circle, #1a1a1a 1.5px, transparent 2px) 0 0/6px 6px,
    #fff;
  border: 1px solid #1a1a1a;
}

/* Stack arrangement */
.au-letter.l1 { transform: rotate(-8deg) translate(-50px, 20px); z-index: 1; }
.au-letter.l2 { transform: rotate(4deg) translate(40px, -10px); z-index: 2; }
.au-letter.l3 { transform: rotate(-2deg) translate(-10px, -30px); z-index: 3; }
.au-letter.l4 {
  transform: rotate(6deg) translate(60px, -60px); z-index: 4;
  /* Most recent: a "MAJORATION" envelope */
}
.au-letter.l4 .ll-title { background: #1a1a1a; color: #fff; }
.au-letter.l4 .ll-amount .val { color: var(--rf-red); }

/* ── Manifest section ─────────────────────────────────────── */
.au-manifest {
  background: #fff;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.au-manifest-inner {
  max-width: 760px; margin: 0 auto;
  text-align: center;
}
.au-manifest-eye {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--rf-blue);
  margin-bottom: 24px;
}
.au-manifest-body {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: balance;
}
.au-manifest-body em { color: var(--rf-blue); font-style: italic; }
.au-manifest-body strong { color: var(--rf-red); font-weight: 500; font-style: italic; }
.au-manifest-sig {
  margin-top: 32px;
  font-family: var(--serif); font-style: italic;
  font-size: 16px; color: var(--ink-3);
}

/* ── Stats section ────────────────────────────────────────── */
.au-stats {
  padding: clamp(60px, 9vw, 100px) clamp(20px, 5vw, 56px);
  max-width: 1280px; margin: 0 auto;
}
.au-stats-head {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 36px;
}
.au-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .au-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.au-stat {
  padding: 32px 28px;
  background: var(--paper);
  display: flex; flex-direction: column;
  gap: 6px;
}
.au-stat .num {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 4.5vw, 60px);
  line-height: 1;
  color: var(--rf-blue);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.au-stat .num em { font-style: italic; color: var(--rf-red); }
.au-stat .lbl {
  font-family: var(--font-body);
  font-size: 14px; line-height: 1.45;
  color: var(--ink-2);
  margin-top: 6px;
  max-width: 280px;
}
.au-stat .src {
  margin-top: auto;
  font-size: 11px; color: var(--ink-3);
  padding-top: 12px;
}

/* ── Pillars (3 colonnes) ─────────────────────────────────── */
.au-pillars {
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 56px);
  max-width: 1280px; margin: 0 auto;
}
.au-pillars-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.au-pillars-h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 8px 0 0;
}
.au-pillars-h2 em { font-style: italic; color: var(--rf-blue); }
.au-pillars-grid {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}
@media (min-width: 880px) {
  .au-pillars-grid { grid-template-columns: repeat(3, 1fr); }
}
.au-pillar {
  background: var(--paper);
  padding: 36px 32px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.au-pillar-num {
  font-family: var(--serif); font-style: italic;
  font-size: 32px; color: var(--rf-blue);
  font-weight: 400; line-height: 1;
}
.au-pillar h3 {
  font-family: var(--font-display);
  font-weight: 700; font-size: 19px; letter-spacing: -0.01em;
  margin: 0; color: var(--ink);
  text-wrap: balance;
}
.au-pillar p {
  font-size: 15px; line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ── How it works ─────────────────────────────────────────── */
.au-how {
  background: #fff;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 56px);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
.au-how-inner { max-width: 1100px; margin: 0 auto; }
.au-how-h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 3.5vw, 40px); letter-spacing: -0.02em;
  margin: 0 0 48px;
  max-width: 600px;
}
.au-how-h2 em { font-style: italic; color: var(--rf-blue); }
.au-how-steps {
  display: grid; gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) { .au-how-steps { grid-template-columns: repeat(3, 1fr); } }
.au-step {
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  padding-top: 24px;
}
.au-step::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 1px; background: var(--rf-blue);
}
.au-step .step-num {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; color: var(--rf-blue);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}
.au-step h4 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 18px; letter-spacing: -0.01em;
  margin: 0;
}
.au-step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* ── Final CTA band ───────────────────────────────────────── */
.au-final {
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 56px);
  max-width: 880px; margin: 0 auto;
  text-align: center;
}
.au-final-h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 24px;
  text-wrap: balance;
}
.au-final-h2 em { font-style: italic; color: var(--rf-red); }
.au-final-sub {
  font-size: 17px; color: var(--ink-2); line-height: 1.5;
  margin: 0 0 40px;
}
.au-final-row {
  display: inline-flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────── */
.au-footer {
  background: var(--ink);
  color: #B8BACF;
  padding: 56px clamp(20px, 5vw, 56px) 32px;
  font-family: var(--font-body);
}
.au-footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: 40px;
}
@media (min-width: 720px) {
  .au-footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.au-footer-brand {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 360px;
}
.au-footer-brand .au-logo-mark {
  background: var(--rf-blue);
}
.au-footer-brand .au-logo-name { color: #fff; }
.au-footer-brand p { font-size: 13.5px; line-height: 1.6; margin: 0; color: #9799B0; }
.au-footer-col h5 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px;
}
.au-footer-col a {
  display: block;
  font-size: 14px; color: #B8BACF;
  text-decoration: none; padding: 5px 0;
}
.au-footer-col a:hover { color: #fff; }
.au-footer-bar {
  max-width: 1280px; margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid #2A2D45;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: #7779A0;
}
.au-footer-bar .rf-mark-w {
  display: inline-flex; align-items: center; gap: 8px;
}
.au-footer-bar .rf-mark-w .dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: linear-gradient(180deg, var(--rf-blue) 50%, var(--rf-red) 50%);
}

/* ── Auth forms (signup / login / reset / verify) ─────────── */
.au-form-wrap {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 80px);
}
@media (min-width: 960px) {
  .au-form-wrap { grid-template-columns: 1fr 1fr; }
}
.au-form-side {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 5vw, 56px);
}
.au-form-card { width: 100%; max-width: 420px; }
.au-form-eyebrow {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--rf-blue);
  margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 10px;
}
.au-form-eyebrow .rule { width: 28px; height: 1px; background: currentColor; }
.au-form-h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4vw, 42px); letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 12px;
  text-wrap: balance;
}
.au-form-h1 em { font-style: italic; color: var(--rf-blue); }
.au-form-sub {
  font-size: 15px; color: var(--ink-2); line-height: 1.5;
  margin: 0 0 32px;
}

.au-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.au-field label {
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; color: var(--ink); letter-spacing: -0.005em;
}
.au-field input {
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--ink);
  outline: none;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
.au-field input:focus {
  border-color: var(--rf-blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(162,32,44,0.12);
}
.au-field input::placeholder { color: var(--ink-4); }
.au-field .helper { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.au-field .err { font-size: 13px; color: var(--rf-red); margin-top: 4px; }
.au-field-row { display: flex; justify-content: space-between; align-items: baseline; }
.au-field-link {
  font-size: 12.5px; font-weight: 600; color: var(--rf-blue);
  text-decoration: none;
}
.au-field-link:hover { text-decoration: underline; }

.au-form-actions { margin-top: 8px; }
.au-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 24px 0;
  font-family: var(--font-display); font-size: 12px; font-weight: 600;
  color: var(--ink-3); letter-spacing: 0.08em;
}
.au-divider::before, .au-divider::after {
  content: ""; flex: 1; height: 1px; background: var(--line);
}
.au-magic {
  width: 100%;
  padding: 13px 16px;
  border: 1px dashed var(--rf-blue);
  border-radius: 10px;
  background: rgba(162,32,44,0.04);
  color: var(--rf-blue);
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .12s;
}
.au-magic:hover { background: rgba(162,32,44,0.08); }
.au-form-foot {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 14px; color: var(--ink-2);
}
.au-form-foot a { color: var(--rf-blue); font-weight: 600; text-decoration: none; }
.au-form-foot a:hover { text-decoration: underline; }
.au-legal {
  font-size: 11.5px; line-height: 1.5;
  color: var(--ink-3);
  margin-top: 16px;
}
.au-legal a { color: var(--ink-2); text-decoration: underline; }

/* Right-side decoration panel (auth pages) */
.au-form-aside {
  background:
    linear-gradient(180deg, rgba(162,32,44,0.04), transparent 30%),
    var(--paper);
  border-left: 1px solid var(--line-soft);
  padding: clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.au-form-aside-quote {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.4; letter-spacing: -0.005em;
  color: var(--ink); max-width: 440px;
}
.au-form-aside-quote em { font-style: italic; color: var(--rf-blue); }
.au-form-aside-sig {
  margin-top: 18px;
  font-family: var(--font-display); font-weight: 600;
  font-size: 13px; color: var(--ink-3); letter-spacing: 0.05em;
}
.au-form-aside-letter {
  align-self: flex-end;
  margin-top: 32px;
  width: 80%; max-width: 360px;
  transform: rotate(-3deg);
}

/* ── States: verify email / magic link expired ────────────── */
.au-state {
  max-width: 520px; margin: 0 auto;
  padding: clamp(60px, 9vw, 120px) clamp(20px, 5vw, 56px);
  text-align: center;
}
.au-state-icon {
  width: 80px; height: 80px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 28px;
}
.au-state-icon.ok { background: rgba(0,0,145,0.08); color: var(--rf-blue); }
.au-state-icon.warn { background: rgba(225,161,0,0.16); color: #8C6A00; }
.au-state-icon.err { background: rgba(225,0,15,0.10); color: var(--rf-red); }
.au-state-icon svg { width: 38px; height: 38px; }
.au-state h1 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 14px;
}
.au-state h1 em { font-style: italic; color: var(--rf-blue); }
.au-state p {
  font-size: 16px; line-height: 1.55; color: var(--ink-2);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.au-state .email-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  color: var(--ink);
  margin-bottom: 28px;
}
.au-state-actions {
  display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}
.au-state-resend {
  margin-top: 24px;
  font-size: 13.5px; color: var(--ink-3);
}
.au-state-resend a { color: var(--rf-blue); font-weight: 600; text-decoration: none; }

/* ── Mobile preview frame for spec sheet ──────────────────── */
.au-mobile-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  padding: 32px clamp(20px, 5vw, 56px) 64px;
  background: #1F2030;
  border-top: 1px solid var(--ink);
}
.au-mobile {
  background: var(--paper);
  border-radius: 28px;
  padding: 20px;
  width: 100%; max-width: 360px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  min-height: 640px;
  position: relative;
}
.au-mobile-cap {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: #9799B0;
  margin-top: 14px; text-align: center;
}


/* ====================================================================
   ANIMATIONS — Hero stack & app demo
   ==================================================================== */

@keyframes au-letter-drop {
  0%   { opacity: 0; transform: var(--rest) translate(60vw, -40vh) rotate(35deg) scale(0.85); }
  18%  { opacity: 1; }
  30%  { transform: var(--rest); }
  35%  { transform: var(--rest) translateY(-6px); }
  42%  { transform: var(--rest); }
  92%  { opacity: 1; transform: var(--rest); }
  100% { opacity: 0; transform: var(--rest) translateY(-14px); }
}
@keyframes au-stamp-drop {
  0%, 65%   { opacity: 0; transform: rotate(-12deg) scale(2.4); }
  68%       { opacity: 1; transform: rotate(-12deg) scale(1.15); }
  72%       { transform: rotate(-12deg) scale(0.95); }
  76%       { transform: rotate(-12deg) scale(1.04); }
  80%, 94%  { opacity: 1; transform: rotate(-12deg) scale(1); }
  100%      { opacity: 0; transform: rotate(-12deg) scale(1); }
}
@keyframes au-stamp-shake {
  0%, 100% { transform: translate(0,0); }
  20% { transform: translate(-3px, 1px); }
  40% { transform: translate(2px, -1px); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, 0); }
}

.au-stack-animated { animation: none; }

/* Make absolute letters position via their --rest custom prop so the
   keyframes can compose rest + entry transform. */
.au-stack-animated .au-letter {
  animation: au-letter-drop 9s cubic-bezier(.22,.9,.31,1.05) infinite both;
}
.au-stack-animated .au-letter.l1 {
  --rest: rotate(-8deg) translate(-50px, 20px);
  transform: var(--rest);
  animation-delay: 0.1s;
}
.au-stack-animated .au-letter.l2 {
  --rest: rotate(4deg) translate(40px, -10px);
  transform: var(--rest);
  animation-delay: 0.9s;
}
.au-stack-animated .au-letter.l3 {
  --rest: rotate(-2deg) translate(-10px, -30px);
  transform: var(--rest);
  animation-delay: 1.7s;
}
.au-stack-animated .au-letter.l4 {
  --rest: rotate(6deg) translate(60px, -60px);
  transform: var(--rest);
  animation-delay: 2.5s;
}
.au-stack-animated .au-stack-stamp {
  animation: au-stamp-drop 9s cubic-bezier(.34,1.6,.64,1) infinite both;
  transform-origin: center;
}
.au-stack-animated .au-stack-stamp::before {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.4);
  animation: au-stamp-shake 0.35s ease-out 6.3s infinite;
}
@media (prefers-reduced-motion: reduce) {
  .au-stack-animated .au-letter,
  .au-stack-animated .au-stack-stamp { animation: none; transform: var(--rest); }
  .au-stack-animated .au-stack-stamp { transform: rotate(-12deg); }
}

/* ====================================================================
   DEMO section — animated dashboard
   ==================================================================== */
.au-demo {
  padding: clamp(60px, 8vw, 110px) clamp(20px, 5vw, 56px);
  max-width: 1280px; margin: 0 auto;
}
.au-demo-inner {
  display: grid; grid-template-columns: 1fr;
  gap: 56px; align-items: center;
}
@media (min-width: 960px) {
  .au-demo-inner { grid-template-columns: 0.85fr 1.15fr; gap: 80px; }
}
.au-demo-text {
  max-width: 460px;
}
.au-demo-h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 8px 0 18px;
  text-wrap: balance;
}
.au-demo-h2 em { font-style: italic; color: var(--rf-blue); }
.au-demo-lede {
  font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0;
}

.au-demo-app {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.5) inset,
    0 30px 60px -20px rgba(162,32,44,0.25),
    0 12px 30px -12px rgba(31,32,55,0.18);
  overflow: hidden;
  transform: perspective(1800px) rotateY(-4deg) rotateX(2deg);
}
.au-demo-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: #F7F7FC;
  border-bottom: 1px solid var(--line-soft);
}
.au-demo-chrome .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #D8D8E4;
}
.au-demo-chrome .dot:nth-child(1) { background: #E16C5C; }
.au-demo-chrome .dot:nth-child(2) { background: #E1A100; }
.au-demo-chrome .dot:nth-child(3) { background: #4CAA77; }
.au-demo-url {
  margin-left: 14px;
  flex: 1; text-align: center;
  font-family: var(--font-mono, JetBrains Mono, monospace);
  font-size: 11.5px; color: var(--ink-3);
  background: #fff; border: 1px solid var(--line-soft);
  padding: 5px 12px; border-radius: 6px;
  max-width: 360px;
}
.au-demo-body { padding: 24px 24px 20px; min-height: 360px; position: relative; }
.au-demo-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-soft);
}
.au-demo-eye {
  font-family: var(--font-display); font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 6px;
}
.au-demo-title {
  font-family: var(--serif); font-weight: 500;
  font-size: 22px; letter-spacing: -0.015em; color: var(--ink);
}
.au-demo-kpis { display: flex; gap: 12px; }
.au-demo-kpis > div {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 70px; background: var(--paper-2);
}
.au-demo-kpis .k {
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3); font-weight: 600;
}
.au-demo-kpis .v {
  font-family: var(--serif); font-weight: 500;
  font-size: 18px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.au-demo-kpis .v.warn { color: var(--rf-red); }

.au-demo-list {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 16px;
}
.au-demo-card {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
}
.au-demo-card .left .immat {
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
  color: var(--ink); letter-spacing: -0.005em;
}
.au-demo-card .left .meta {
  font-size: 12px; color: var(--ink-3); margin-top: 2px;
}
.au-demo-card .right {
  display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
}
.au-demo-card .right .amt {
  font-family: var(--serif); font-weight: 500;
  font-size: 18px; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.au-demo-card .right .amt.majoree { color: var(--rf-red); }
.au-demo-card .right .due {
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.04em;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(0,0,0,0.04);
}
.au-demo-card .right .due.warn { background: rgba(225,161,0,0.15); color: #8C6A00; }
.au-demo-card .right .due.crit { background: rgba(225,0,15,0.12); color: var(--rf-red); }

/* Card animations: appear one by one, the majoration card slides in */
@keyframes au-card-in {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes au-incoming {
  0%, 30%  { opacity: 0; transform: translateX(40px) scale(0.96); }
  45%      { opacity: 1; transform: translateX(-4px) scale(1.01); border-color: var(--rf-red); }
  55%      { transform: translateX(0) scale(1); }
  95%      { opacity: 1; transform: translateX(0); border-color: var(--rf-red); box-shadow: 0 0 0 3px rgba(225,0,15,0.08); }
  100%     { opacity: 1; }
}
.au-demo-card.c1 { animation: au-card-in 0.5s ease-out both; animation-delay: 0.3s; }
.au-demo-card.c2 { animation: au-card-in 0.5s ease-out both; animation-delay: 0.6s; }
.au-demo-card.c3.incoming {
  animation: au-incoming 5s ease-out infinite both;
  animation-delay: 1.4s;
}

/* Toast */
.au-demo-toast {
  position: absolute;
  left: 24px; right: 24px; bottom: 18px;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  background: var(--ink); color: #fff;
  border-radius: 10px;
  font-family: var(--font-body); font-size: 13px;
  box-shadow: 0 10px 30px rgba(31,32,55,0.3);
  opacity: 0;
  animation: au-toast 6s ease-out infinite;
  animation-delay: 3s;
}
.au-demo-toast .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--rf-red);
  box-shadow: 0 0 0 4px rgba(225,0,15,0.25);
}
@keyframes au-toast {
  0%, 5%   { opacity: 0; transform: translateY(20px); }
  12%      { opacity: 1; transform: translateY(0); }
  70%      { opacity: 1; transform: translateY(0); }
  85%, 100% { opacity: 0; transform: translateY(8px); }
}
@media (prefers-reduced-motion: reduce) {
  .au-demo-card, .au-demo-toast { animation: none; opacity: 1; transform: none; }
  .au-demo-card.c3.incoming { border-color: var(--rf-red); }
  .au-demo-toast { opacity: 1; }
}

/* ─── Privacy / confiance ─── */
.au-privacy {
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 56px);
  background: var(--paper);
}
.au-privacy-inner { max-width: 1080px; margin: 0 auto; }
.au-privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .au-privacy-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
.au-privacy-item {
  padding: 26px 24px;
  background: var(--surface, #fff);
  border-radius: 16px;
  border: 1px solid var(--line-soft, #e8e8ee);
}
.au-privacy-item h3 {
  font: 700 16px/1.3 var(--font-display, system-ui, sans-serif);
  color: var(--ink, #161616);
  margin: 0 0 8px;
}
.au-privacy-item p {
  font-size: 14px; line-height: 1.6;
  color: var(--ink-2, #666);
  margin: 0;
}

/* ─── Pricing ─── */
.au-pricing {
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 56px);
  background: var(--paper-2, #FBFBFF);
}
.au-pricing-card {
  max-width: 560px;
  margin: 0 auto;
  padding: clamp(32px, 5vw, 48px);
  background: var(--surface, #fff);
  border: 1px solid var(--line-soft, #e8e8ee);
  border-radius: 20px;
  text-align: center;
}
.au-pricing-card .au-eyebrow { justify-content: center; }
.au-pricing-h2 {
  font-family: var(--serif, Georgia, serif);
  font-weight: 500;
  font-size: clamp(28px, 4.5vw, 42px);
  color: var(--ink, #161616);
  margin: 12px 0 12px;
  letter-spacing: -0.015em;
}
.au-pricing-h2 em { font-style: italic; color: var(--rf-blue, #000091); }
.au-pricing-sub {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-2, #666);
  margin: 0 0 24px;
}
.au-pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
  display: inline-block;
}
.au-pricing-list li {
  position: relative;
  padding: 7px 0 7px 30px;
  font: 500 14.5px/1.5 var(--font-body, system-ui, sans-serif);
  color: var(--ink-2, #444);
}
.au-pricing-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 145, 0.08);
  color: var(--rf-blue, #000091);
  font-size: 12px; font-weight: 700;
}

/* ─── FAQ ─── */
.au-faq {
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 56px);
  background: var(--paper);
}
.au-faq-inner { max-width: 720px; margin: 0 auto; }
.au-faq-item {
  background: var(--surface, #fff);
  border: 1px solid var(--line-soft, #e8e8ee);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}
.au-faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font: 600 15px/1.4 var(--font-display, system-ui, sans-serif);
  color: var(--ink, #161616);
  min-height: 44px;
}
.au-faq-item summary::-webkit-details-marker { display: none; }
.au-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font: 400 22px/1 var(--font-display, system-ui, sans-serif);
  color: var(--rf-blue, #000091);
  transition: transform 0.2s ease;
}
.au-faq-item[open] summary::after { transform: rotate(45deg); }
.au-faq-item p {
  margin: 0;
  padding: 0 22px 18px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2, #555);
}

/* ─── Aperçu produit (screenshots) ─── */
.au-preview {
  padding: clamp(48px, 8vw, 100px) clamp(20px, 5vw, 56px);
  background: var(--paper-2);
}
.au-preview-inner { max-width: 1020px; margin: 0 auto; }
.au-preview-frame {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(58, 46, 34, 0.18), 0 4px 14px rgba(58, 46, 34, 0.08);
  overflow: visible;
  margin-right: clamp(0px, 8vw, 90px);
}
.au-preview-frame > img:first-child {
  display: block; width: 100%; height: auto;
  border-radius: 16px;
}
.au-preview-phone {
  position: absolute;
  right: clamp(-30px, -6vw, -90px); bottom: -36px;
  width: clamp(120px, 18vw, 200px); height: auto;
  border-radius: 22px;
  border: 6px solid var(--ink);
  box-shadow: 0 24px 50px rgba(58, 46, 34, 0.35);
  transform: rotate(3deg);
  background: var(--paper);
}
@media (max-width: 640px) {
  .au-preview-phone { display: none; }
  .au-preview-frame { margin-right: 0; }
}

/* ─── Pages légales ─── */
.au-legal {
  padding: clamp(48px, 7vw, 90px) clamp(20px, 5vw, 56px);
  background: var(--paper);
  min-height: 60vh;
}
.au-legal-inner { max-width: 680px; margin: 0 auto; }
.au-legal h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  color: var(--ink);
}
.au-legal h2 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  margin: 32px 0 10px;
  color: var(--ink);
}
.au-legal p {
  font-size: 15px; line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.au-legal a { color: var(--rf-blue); }
