/* ==========================================================================
   YiA — Landing page (autonome)
   Design system "Finale Blanc" : surface blanche, slate ink doux,
   accent orange brûlé + halos honey/peach, Manrope (titres) / Inter (corps),
   ring gris doux, cartes rounded-2xl, boutons rounded-full.
   ========================================================================== */

:root {
  /* Palette */
  --canvas: #ffffff;
  --surface: #ffffff;
  --soft: #f8fafc;
  --rule: #e5e7eb;
  --ink: #1e293b;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --ink-ghost: #cbd5e1;
  --accent: #ea580c;
  --accent-deep: #c2410c;
  --accent-warm: #f59e0b;
  --honey: #fcd34d;
  --peach-soft: #fed7aa;
  --peach-deep: #fdba74;
  --ok: #16a34a;
  --danger: #dc2626;
  --info: #2563eb;

  /* Ombres */
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lift: 0 8px 24px -8px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 0 0 4px rgba(234, 88, 12, 0.12);

  /* Typo */
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Motion */
  --ease-soft-out: cubic-bezier(0.22, 1, 0.36, 1);
  --step-duration: 5200ms;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  font-feature-settings: 'ss01' on, 'cv11' on, 'cv05' on;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: rgba(30, 41, 59, 0.15);
  color: var(--ink);
}

h1, h2, h3, h4 {
  color: var(--ink);
  letter-spacing: -0.012em;
  text-wrap: balance;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   Primitives partagées avec l'app
   -------------------------------------------------------------------------- */

.wordmark {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--accent);
  line-height: 1;
  user-select: none;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.meta-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.tag-mono {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--rule);
  padding: 0.2rem 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.2s var(--ease-soft-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--accent-deep);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}

.btn-secondary:hover {
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--ink-faint);
}

.btn-md { height: 2.5rem; padding-inline: 1.25rem; font-size: 0.875rem; }
.btn-lg { height: 3rem;   padding-inline: 1.75rem; font-size: 0.875rem; }
.btn-xl { height: 3.5rem; padding-inline: 2.25rem; font-size: 1rem; }

.card {
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px var(--rule);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
}

.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  flex: none;
}

.pill-ok     { background: #f0fdf4; color: #15803d; box-shadow: inset 0 0 0 1px #bbf7d0; }
.pill-ok .dot { background: var(--ok); }
.pill-warn   { background: #fff7ed; color: var(--accent-deep); box-shadow: inset 0 0 0 1px var(--peach-soft); }
.pill-warn .dot { background: var(--accent); }
.pill-info   { background: #eff6ff; color: #1d4ed8; box-shadow: inset 0 0 0 1px #bfdbfe; }
.pill-info .dot { background: var(--info); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.25rem;
}

.site-header .wordmark {
  font-size: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 2.6rem;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a:not(.btn) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.site-nav a:not(.btn):hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 760px) {
  .site-nav { display: none; }
}

@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4.5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%,
      rgba(252, 211, 77, 0.28) 0%,
      rgba(254, 215, 170, 0.08) 40%,
      rgba(255, 255, 255, 0) 75%),
    radial-gradient(ellipse 50% 40% at 0% 10%,
      rgba(254, 215, 170, 0.22) 0%,
      rgba(255, 255, 255, 0) 70%);
}

.hero-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero h1 {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 22ch;
}

.hero h1 .hero-la {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  margin-top: 1.25rem;
  max-width: 46ch;
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-note {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Module signature : les 3 étapes clés
   -------------------------------------------------------------------------- */

.steps {
  position: relative;
  margin-top: 3.75rem;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1rem;
  width: 100%;
  text-align: left;
}

.steps-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-tab {
  position: relative;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  text-align: left;
  padding: 1.1rem 1.25rem 1.25rem;
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule);
  overflow: hidden;
  transition: all 0.3s var(--ease-soft-out);
}

.step-tab:hover {
  box-shadow: inset 0 0 0 1px var(--ink-ghost), var(--shadow-soft);
}

.step-tab[aria-selected='true'] {
  box-shadow: inset 0 0 0 1px var(--peach-deep), var(--shadow-lift);
}

.step-num {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--ink-faint);
  transition: all 0.3s var(--ease-soft-out);
}

.step-num svg {
  width: 1.15rem;
  height: 1.15rem;
}

.step-tab[aria-selected='true'] .step-num {
  background: linear-gradient(155deg, var(--honey) 0%, var(--accent-warm) 35%, #fb923c 65%, #f87171 100%);
  box-shadow: none;
  color: #fff;
}

.step-tab-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

.step-tab-title .step-index {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
}

.step-tab-desc {
  margin-top: 0.3rem;
  font-size: 0.83rem;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Barre de progression du cycle automatique */
.step-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: transparent;
}

.step-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
}

.step-tab[aria-selected='true'] .step-bar span {
  animation: stepFill var(--step-duration) linear forwards;
}

.steps.is-paused .step-bar span {
  animation-play-state: paused;
}

@keyframes stepFill {
  from { width: 0; }
  to   { width: 100%; }
}

/* Panneaux de démonstration */
.steps-stage {
  position: relative;
  border-radius: 1.5rem;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--rule);
  overflow: hidden;
  min-height: 22rem;
}

.steps-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 85% -10%,
    rgba(252, 211, 77, 0.35) 0%,
    rgba(254, 215, 170, 0.12) 45%,
    rgba(255, 255, 255, 0) 80%);
}

.step-panel {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.45s var(--ease-soft-out),
    transform 0.45s var(--ease-soft-out),
    visibility 0s linear 0.45s;
  pointer-events: none;
}

.step-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
  pointer-events: auto;
}

.mock-card {
  width: 100%;
  max-width: 24rem;
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px var(--rule), var(--shadow-lift);
  padding: 1.4rem;
}

.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mock-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
}

/* Étape 1 : dropzone */
.mock-dropzone {
  margin-top: 1rem;
  border-radius: 0.75rem;
  border: 1.5px dashed var(--ink-ghost);
  background: var(--soft);
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.8rem;
}

.mock-dropzone svg {
  width: 1.4rem;
  height: 1.4rem;
  margin: 0 auto 0.5rem;
  color: var(--accent);
}

.mock-files {
  margin-top: 1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-file {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule);
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
}

.mock-file svg {
  width: 0.95rem;
  height: 0.95rem;
  flex: none;
  color: var(--ink-faint);
}

.mock-file .file-size {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--ink-faint);
}

.mock-file .file-check {
  color: var(--ok);
}

/* Étape 2 : analyse en cours */
.mock-steps {
  margin-top: 1.1rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mock-step {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.mock-step .state {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
}

.mock-step.done .state {
  background: #f0fdf4;
  color: var(--ok);
  box-shadow: inset 0 0 0 1px #bbf7d0;
}

.mock-step.done .state svg {
  width: 0.75rem;
  height: 0.75rem;
}

.mock-step.running {
  color: var(--ink);
  font-weight: 600;
}

.mock-step.running .state::before {
  content: '';
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
  animation: pulseRing 1.6s ease-in-out infinite;
}

.mock-step.pending .state::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--ink-ghost);
}

@keyframes pulseRing {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 1; }
}

.mock-progress {
  margin-top: 1.2rem;
  height: 6px;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--rule);
  overflow: hidden;
}

.mock-progress span {
  display: block;
  height: 100%;
  width: 62%;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--accent-warm) 0%, var(--accent) 40%,
    var(--peach-deep) 60%, var(--accent) 80%);
  background-size: 200% 100%;
  animation: shimmer 1.8s linear infinite;
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Étape 3 : rapport */
.mock-report-rows {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.mock-row {
  height: 0.5rem;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--rule);
}

.mock-row.w-80 { width: 80%; }
.mock-row.w-95 { width: 95%; }
.mock-row.w-60 { width: 60%; }

.mock-pills {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.mock-cta {
  margin-top: 1.25rem;
  width: 100%;
}

/* Responsive étapes */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .steps-stage {
    min-height: 20rem;
    order: -1;
  }
}

/* --------------------------------------------------------------------------
   Sections communes
   -------------------------------------------------------------------------- */

.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 40rem;
}

.section-head h2 {
  margin-top: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-head .section-intro {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Section "C'est quoi"
   -------------------------------------------------------------------------- */

.about {
  background: var(--soft);
  border-block: 1px solid var(--rule);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: 4rem;
  align-items: start;
}

.about-copy p + p {
  margin-top: 1rem;
}

.about-copy .lead {
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.about-copy p {
  color: var(--ink-soft);
  text-wrap: pretty;
}

.about-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.about-callout {
  margin-top: 1.5rem;
  position: relative;
  border-radius: 1rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule);
  border-left: 4px solid var(--accent);
  padding: 1.1rem 1.3rem;
}

.about-callout p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about-callout .callout-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.about-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Visuel : carte rapport détaillée */
.about-visual {
  position: sticky;
  top: 6.5rem;
}

.report-preview {
  background: var(--surface);
  border-radius: 1.5rem;
  box-shadow: inset 0 0 0 1px var(--rule), var(--shadow-lift);
  overflow: hidden;
}

.report-preview-band {
  height: 6px;
  background: linear-gradient(90deg, var(--honey) 0%, var(--accent-warm) 35%, #fb923c 65%, #f87171 100%);
}

.report-preview-body {
  padding: 1.6rem;
}

.report-preview-title {
  margin-top: 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.report-preview .mock-pills {
  margin-top: 0.9rem;
}

.report-section {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--rule);
}

.report-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.report-section-title svg {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--accent);
}

.report-section p {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-visual {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   Features "Analyse des appels d'offres"
   -------------------------------------------------------------------------- */

.features-grid {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  position: relative;
  background: var(--surface);
  border-radius: 1rem;
  box-shadow: inset 0 0 0 1px var(--rule);
  padding: 1.6rem 1.4rem;
  transition: all 0.3s var(--ease-soft-out);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--rule), var(--shadow-lift);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--rule);
  color: var(--accent);
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.feature-card h3 {
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}

.feature-card p {
  margin-top: 0.45rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

@media (max-width: 1000px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Bande CTA finale
   -------------------------------------------------------------------------- */

.cta-band {
  padding: 0 0 5.5rem;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--rule), var(--shadow-lift);
  padding: 3.5rem 2rem;
  text-align: center;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(155deg,
      rgba(254, 243, 199, 0.55) 0%,
      rgba(253, 230, 138, 0.35) 30%,
      rgba(254, 215, 170, 0.35) 60%,
      rgba(254, 202, 202, 0.3) 100%);
}

.cta-card > * {
  position: relative;
}

.cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 26ch;
  margin-inline: auto;
}

.cta-card p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-inline: auto;
  text-wrap: pretty;
}

.cta-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--soft);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr));
  gap: 2.5rem;
}

.footer-brand .wordmark {
  font-size: 1.6rem;
}

.footer-brand p {
  margin-top: 0.8rem;
  max-width: 30ch;
  font-size: 0.875rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.footer-col .meta-label {
  display: block;
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* --------------------------------------------------------------------------
   Reveal au scroll
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease-soft-out), transform 0.6s var(--ease-soft-out);
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .step-tab[aria-selected='true'] .step-bar span {
    animation: none;
    width: 100%;
  }
}
