/*
 * Pilote — site vitrine et pages légales (design system V2 « Instruments de bord »).
 * S'appuie sur ./design/tokens.css, base.css et components.css, partagés avec le cockpit.
 * Aucune règle de style en ligne : la CSP du site (style-src 'self') les interdit.
 */

.site {
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --grid-dot: color-mix(in srgb, var(--text) 13%, transparent);
  font-size: 15px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 100;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: var(--ink);
  color: var(--on-ink);
  font-weight: var(--weight-medium);
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
}

/* Icônes du sprite (Lucide) : trait hérité de la couleur du texte */
.site svg.icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Marque ---------------------------------------------------------------------------------- */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  border-radius: var(--radius-md);
}
.brand-name {
  font-size: 18px;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.03em;
}
.brand-name::after {
  content: ".";
  color: var(--accent);
}
.brand-mark .brand-mark-bg {
  fill: var(--ink);
}
.brand-mark .brand-mark-fg {
  stroke: var(--on-ink);
}
.brand-mark .brand-mark-dot {
  fill: var(--accent);
}

/* --- En-tête --------------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: color-mix(in srgb, var(--canvas) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-3) var(--ease-standard);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
}
.site-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.site-nav a {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: var(--weight-medium);
  text-decoration: none;
  transition:
    color var(--dur-2) var(--ease-standard),
    background-color var(--dur-2) var(--ease-standard);
}
.site-nav a:hover {
  color: var(--text);
  background: var(--fill-hover);
}
.site-header-cta {
  margin-left: auto;
}
.site-nav + .site-header-cta {
  margin-left: 0;
}
.site-header-cta .icon {
  transition: transform var(--dur-3) var(--ease-out);
}
.site-header-cta:hover .icon {
  transform: translateX(2px);
}

/* --- Ouverture ------------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-top: clamp(48px, 8vw, 104px);
}
/* Grille de points de la planche de bord, qui s'efface vers le bas */
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 820px;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1.5px);
  background-size: 24px 24px;
  background-position: center -2px;
  -webkit-mask-image: radial-gradient(ellipse 72% 64% at 50% 0%, #000 22%, transparent 72%);
  mask-image: radial-gradient(ellipse 72% 64% at 50% 0%, #000 22%, transparent 72%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
  gap: clamp(32px, 6vw, 88px);
  align-items: end;
}
.hero-eyebrow {
  margin-bottom: 26px;
  color: var(--text-muted);
}
.beacon {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 20%, transparent);
}
.hero-title {
  max-width: 12.5em;
  font-size: clamp(42px, 7.2vw, 100px);
  font-weight: var(--weight-semibold);
  font-stretch: 88%;
  letter-spacing: -0.045em;
  line-height: 0.97;
}
.hero-title em,
.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-stretch: normal;
  letter-spacing: -0.015em;
  font-size: 1.05em;
  line-height: 0.9;
}
.hero-dot {
  color: var(--accent);
}
.hero-lead {
  max-width: 34em;
  margin-top: 28px;
  font-size: clamp(16.5px, 1.45vw, 19.5px);
  line-height: 1.55;
  color: var(--text-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}
.hero-actions .btn-primary .icon {
  transition: transform var(--dur-3) var(--ease-out);
}
.hero-actions .btn-primary:hover .icon {
  transform: translateX(3px);
}

/* Engagements : liste réglée, comme une check-list de pré-vol */
.hero-proof {
  list-style: none;
  padding: 0;
  margin-bottom: 4px;
  border-top: 1px solid var(--border);
}
.hero-proof li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--text-muted);
}
.hero-proof strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  color: var(--text);
}
.hero-proof .icon {
  margin-top: 1px;
  color: var(--text);
}

/* --- Aperçu du cockpit (illustration en HTML, dimensionnée en em) ---------------------------- */

.hero-stage {
  position: relative;
  margin-top: clamp(56px, 7.5vw, 96px);
  padding-bottom: clamp(72px, 9vw, 128px);
  font-size: clamp(9px, 1.02vw, 13px);
  line-height: 1.4;
  user-select: none;
}
.stage-frame {
  position: relative;
}
/* Le bas de la fenêtre se fond dans le fond de page (ombres conservées, contrairement à un masque) */
.stage-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto -50vw -1px;
  height: 46%;
  background: linear-gradient(to bottom, transparent, var(--canvas) 86%);
  pointer-events: none;
}
.pv {
  display: grid;
  grid-template-columns: 14.5em minmax(0, 1fr);
  width: 92em;
  height: 35em;
  margin-left: clamp(0px, 4vw, 64px);
  padding: 0.6em;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 1.3em;
  background: var(--surface-sunken);
  box-shadow: var(--shadow-lg);
}
.pv .icon {
  width: 1.15em;
  height: 1.15em;
}
.pv p {
  margin: 0;
}

.pv-side {
  display: grid;
  align-content: start;
  gap: 0.15em;
  padding: 0.7em 0.6em 0.7em 0.4em;
}
.pv-brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1.3em 0.4em;
  font-size: 1.1em;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.03em;
}
.pv-brand .brand-mark {
  width: 1.6em;
  height: 1.6em;
}
.pv-brand span::after {
  content: ".";
  color: var(--accent);
}
.pv-sec {
  margin: 1em 0 0.35em 0.7em !important;
  font-family: var(--font-mono);
  font-size: 0.72em;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pv-nav {
  display: flex;
  align-items: center;
  gap: 0.65em;
  padding: 0.5em 0.7em;
  border: 1px solid transparent;
  border-radius: 0.6em;
  color: var(--text-2);
  font-size: 0.95em;
}
.pv-nav .icon {
  color: var(--text-muted);
}
.pv-nav.is-active {
  background: var(--surface);
  border-color: var(--border);
  box-shadow: var(--shadow-xs);
  color: var(--text);
  font-weight: var(--weight-medium);
}
.pv-nav.is-active .icon {
  color: var(--accent);
}
.pv-nav b {
  margin-left: auto;
  padding: 0 0.5em;
  border-radius: var(--radius-full);
  background: var(--fill-active);
  font-family: var(--font-mono);
  font-size: 0.8em;
  font-weight: var(--weight-medium);
}

.pv-sheet {
  min-width: 0;
  padding: 1.8em 2em;
  border: 1px solid var(--border);
  border-radius: 0.9em;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.pv-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1em;
}
.pv-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.5em !important;
  font-family: var(--font-mono);
  font-size: 0.72em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pv-eyebrow::before {
  content: "";
  width: 0.55em;
  height: 0.55em;
  border-radius: 2px;
  background: var(--accent);
}
.pv-title {
  font-size: 1.85em;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.pv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.65em 0.95em;
  border-radius: 0.6em;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.92em;
  font-weight: var(--weight-medium);
}
.pv-filters {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 1.4em 0 1.1em;
}
.pv-search,
.pv-select {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: 2.6em;
  padding: 0 0.8em;
  border: 1px solid var(--border-strong);
  border-radius: 0.6em;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.92em;
  white-space: nowrap;
}
.pv-search {
  width: 17em;
}
.pv-select {
  padding-right: 2.2em;
  background-image: var(--chevron);
  background-repeat: no-repeat;
  background-position: right 0.6em center;
  background-size: 1.2em;
}
.pv-seg {
  display: inline-flex;
  gap: 0.15em;
  margin-left: auto;
  padding: 0.18em;
  border: 1px solid var(--border);
  border-radius: 0.65em;
  background: var(--surface-sunken);
  font-size: 0.92em;
}
.pv-seg span {
  padding: 0.35em 0.8em;
  border-radius: 0.5em;
  color: var(--text-muted);
}
.pv-seg .is-on {
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--text);
  font-weight: var(--weight-medium);
}

.pv-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8em;
}
.pv-col {
  display: grid;
  align-content: start;
  gap: 0.55em;
  min-height: 22em;
  padding: 0.65em;
  border-radius: 0.8em;
  background: var(--surface-sunken);
}
.pv-col-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.15em 0.25em 0.35em;
  font-size: 0.92em;
  font-weight: var(--weight-semibold);
}
.pv-col-head span {
  margin-left: auto;
  padding: 0 0.55em;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: var(--weight-medium);
  color: var(--text-muted);
}
.pv-dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
}
.st-apply {
  background: var(--st-apply);
}
.st-sent {
  background: var(--st-sent);
}
.st-interview {
  background: var(--st-interview_scheduled);
}
.st-accepted {
  background: var(--st-accepted);
}
.pv-card {
  display: grid;
  gap: 0.5em;
  padding: 0.8em 0.85em;
  border: 1px solid var(--border);
  border-radius: 0.7em;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.pv-card.is-lifted {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: rotate(-1.6deg) translate(0.2em, -0.15em);
}
.pv-card-title {
  font-size: 0.98em;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}
.pv-co {
  display: flex;
  align-items: center;
  gap: 0.5em;
  color: var(--text-muted);
  font-size: 0.88em;
}
.pv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em;
}
.pv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  padding: 0.15em 0.5em;
  border: 1px solid var(--border);
  border-radius: 0.4em;
  background: var(--surface-sunken);
  color: var(--text-2);
  font-size: 0.78em;
  font-weight: var(--weight-medium);
}
.pv-badge .icon {
  width: 1.1em;
  height: 1.1em;
}
.pv-badge.is-danger {
  background: var(--danger-soft);
  border-color: var(--danger-border);
  color: var(--danger);
}
.pv-badge.is-high {
  background: var(--warning-soft);
  border-color: color-mix(in srgb, var(--warning-solid) 35%, transparent);
  color: var(--warning);
}
.pv-badge.is-success {
  background: var(--success-soft);
  border-color: color-mix(in srgb, var(--success-solid) 30%, transparent);
  color: var(--success);
}
.pv-tag {
  color: var(--text-muted);
  font-size: 0.78em;
}
.pv-tag::before {
  content: "#";
  opacity: 0.7;
}

/* Initiales colorées, comme dans le cockpit (teinte fixée par classe : pas de style en ligne) */
.pv-av {
  --h: 40;
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 2.15em;
  height: 2.15em;
  border: 1px solid oklch(0.89 0.04 var(--h));
  border-radius: 0.5em;
  background: oklch(0.95 0.03 var(--h));
  color: oklch(0.4 0.09 var(--h));
  font-size: 0.72em;
  font-weight: var(--weight-semibold);
  letter-spacing: 0;
}
.h-1 {
  --h: 28;
}
.h-2 {
  --h: 152;
}
.h-3 {
  --h: 258;
}
.h-4 {
  --h: 84;
}
.h-5 {
  --h: 330;
}
.h-6 {
  --h: 200;
}
@media (prefers-color-scheme: dark) {
  .pv-av {
    border-color: oklch(0.37 0.05 var(--h));
    background: oklch(0.3 0.05 var(--h));
    color: oklch(0.88 0.07 var(--h));
  }
}

/* Cartes flottantes : le CV ciblé et une relance */
.pv-float {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--border);
  border-radius: 1em;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
.pv-float p {
  margin: 0;
}
.pv-float .icon {
  width: 1.15em;
  height: 1.15em;
}
.pv-float-cv {
  left: calc(var(--gutter) * 0.5);
  bottom: -2.2em;
  width: 25.5em;
  padding: 1.2em 1.25em 1.1em;
}
.pvf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8em;
}
.pvf-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-size: 1em;
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}
.pvf-title .icon {
  color: var(--ai);
}
.pvf-ai {
  padding: 0.1em 0.55em;
  border: 1px solid var(--ai-border);
  border-radius: var(--radius-full);
  background: var(--ai-soft);
  color: var(--ai);
  font-size: 0.75em;
  font-weight: var(--weight-semibold);
}
.pvf-sub {
  margin-top: 0.25em !important;
  color: var(--text-muted);
  font-size: 0.86em;
}
.pvf-coverage {
  display: flex;
  align-items: center;
  gap: 0.9em;
  margin: 1em 0 0.85em;
}
.pvf-dial {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 3.7em;
  height: 3.7em;
}
.pvf-dial svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.pvf-dial circle {
  fill: none;
  stroke-width: 4.5;
}
.pvf-dial .track {
  stroke: var(--border);
}
.pvf-dial .value {
  stroke: var(--success-solid);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 18;
}
.pvf-dial b {
  position: relative;
  font-size: 0.86em;
  font-weight: var(--weight-semibold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.pvf-coverage-text {
  color: var(--text-muted);
  font-size: 0.84em;
}
.pvf-coverage-text b {
  display: block;
  color: var(--text);
  font-size: 1.06em;
  font-weight: var(--weight-semibold);
}
.pvf-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3em;
}
.pvf-chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.18em 0.55em;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-size: 0.78em;
  font-weight: var(--weight-medium);
}
.pvf-chips .is-in {
  background: var(--success-soft);
  color: var(--success);
}
.pvf-chips .is-out {
  border: 1px dashed var(--border-strong);
  color: var(--text-muted);
}
.pvf-why {
  display: flex;
  align-items: center;
  gap: 0.45em;
  margin-top: 1em !important;
  padding-top: 0.9em;
  border-top: 1px solid var(--border);
  font-size: 0.86em;
  font-weight: var(--weight-semibold);
}
.pvf-decision {
  display: grid;
  grid-template-columns: 1.15em minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.6em !important;
  font-size: 0.86em;
  font-weight: var(--weight-medium);
}
.pvf-decision > .icon {
  color: var(--success);
}
.pvf-decision.is-out > .icon {
  color: var(--text-subtle);
}
.pvf-decision small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: var(--weight-regular);
  color: var(--text-muted);
}
.pvf-tag {
  padding: 0.12em 0.5em;
  border: 1px solid var(--border);
  border-radius: 0.35em;
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: 0.84em;
}
.pvf-tag.is-in {
  border-color: transparent;
  background: var(--success-soft);
  color: var(--success);
}

.pv-float-toast {
  top: 21.5em;
  right: calc(var(--gutter) + 5em);
  display: flex;
  align-items: flex-start;
  gap: 0.75em;
  max-width: 23em;
  padding: 0.9em 1.1em;
  border-color: transparent;
  border-radius: 0.9em;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 0.95em;
}
.pv-float-toast .icon {
  margin-top: 0.1em;
  color: var(--accent);
}
.pv-float-toast b {
  display: block;
  font-weight: var(--weight-semibold);
}
.pv-float-toast span {
  font-size: 0.92em;
  color: color-mix(in srgb, var(--on-ink) 74%, transparent);
}
.pv-float-toast span b {
  font-size: 1.08em;
  color: var(--on-ink);
}

/* --- Titres de section ----------------------------------------------------------------------- */

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 22px clamp(32px, 6vw, 88px);
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-intro.is-centered {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  text-align: center;
}
.section-eyebrow {
  margin-bottom: 18px;
  color: var(--text-muted);
}
.section-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.section-title {
  max-width: 15em;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: var(--weight-semibold);
  font-stretch: 90%;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.section-lead {
  max-width: 32em;
  font-size: clamp(15.5px, 1.25vw, 17.5px);
  line-height: 1.6;
  color: var(--text-2);
}
.section-intro:not(.is-centered) .section-lead {
  padding-bottom: 6px;
}

/* --- Fonctionnalités : grille bento ---------------------------------------------------------- */

.features {
  padding: clamp(88px, 11vw, 152px) 0 clamp(64px, 8vw, 112px);
  scroll-margin-top: 0;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.feature:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.feature-cockpit,
.feature-schools {
  grid-column: span 4;
}
.feature-profile,
.feature-radar {
  grid-column: span 2;
}
.feature-cv,
.feature-letter {
  grid-column: span 3;
}
/* Cellules larges : texte à gauche, instrument à droite */
.feature-cockpit,
.feature-schools {
  display: grid;
  grid-template-columns: minmax(200px, 0.78fr) minmax(0, 1.4fr);
  grid-template-rows: auto 1fr;
  column-gap: 28px;
}
.feature-cockpit .feature-top,
.feature-schools .feature-top {
  grid-column: 1;
  grid-row: 1;
}
.feature-cockpit .feature-text,
.feature-schools .feature-text {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
}
.feature-cockpit .fx,
.feature-schools .fx {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-top: 0;
}

.feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-sunken);
  color: var(--text);
}
.feature-icon.is-ai {
  border-color: var(--ai-border);
  background: var(--ai-soft);
  color: var(--ai);
}
.feature-index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
}
.feature-text h3 {
  margin-bottom: 6px;
  font-size: 21px;
  letter-spacing: -0.028em;
}
.feature-text p {
  max-width: 34em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Instruments de chaque fonctionnalité (illustrations décoratives) */
.fx {
  position: relative;
  margin-top: auto;
  padding: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  background: var(--surface-sunken);
  font-size: 12.5px;
  line-height: 1.4;
  user-select: none;
}
.fx p {
  margin: 0;
}
.fx .icon {
  width: 14px;
  height: 14px;
}
.fx-muted {
  color: var(--text-muted);
  font-weight: var(--weight-regular);
}
.fx-panel {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.fx-panel-head,
.fx-dec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px !important;
  font-size: 12px;
  font-weight: var(--weight-semibold);
}
.fx-panel-head > span:first-child,
.fx-dec-head > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.fx-count {
  padding: 0 7px;
  border-radius: var(--radius-full);
  background: var(--danger-soft);
  color: var(--danger);
  font-family: var(--font-mono);
  font-size: 11px;
}
.fx-badge {
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
}
.fx-badge.is-danger {
  background: var(--danger-soft);
  color: var(--danger);
}
.fx-badge.is-warning {
  background: var(--warning-soft);
  color: var(--warning);
}
.fx-badge.is-interview {
  background: var(--st-interview_scheduled-soft);
  color: var(--st-interview_scheduled-text);
}

/* 01 — relances et rythme hebdomadaire */
.fx-cockpit {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fx-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 6px !important;
  padding: 8px 9px;
  border: 1px solid var(--border-subtle);
  border-radius: 9px;
  background: var(--surface);
}
.fx-row .pv-av {
  font-size: 10px;
}
.fx-row.is-overdue {
  border-color: var(--danger-border);
  box-shadow: inset 3px 0 0 var(--danger-solid);
}
.fx-row.is-today {
  box-shadow: inset 3px 0 0 var(--warning-solid);
}
.fx-row-text {
  min-width: 0;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.fx-row-text b {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 12.5px;
  font-weight: var(--weight-semibold);
  text-overflow: ellipsis;
}
.fx-week {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.fx-bars {
  display: flex;
  flex: 1;
  align-items: flex-end;
  gap: 6px;
  min-height: 72px;
  padding-top: 8px;
  border-bottom: 1px solid var(--border);
  background-image: repeating-linear-gradient(to top, var(--border-subtle) 0 1px, transparent 1px 27px);
}
.fx-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: color-mix(in srgb, var(--text) 18%, transparent);
}
.fx-bars .is-current {
  background: var(--accent);
}
.b2 {
  height: 22%;
}
.b3 {
  height: 34%;
}
.b4 {
  height: 46%;
}
.b5 {
  height: 58%;
}
.b6 {
  height: 66%;
}
.b7 {
  height: 78%;
}
.b8 {
  height: 92%;
}

/* 02 — import puis validation */
.fx-profile {
  display: grid;
  align-content: start;
  gap: 7px;
}
.fx-file {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px dashed var(--border-strong);
  border-radius: 10px;
  background: var(--surface);
  font-weight: var(--weight-medium);
}
.fx-file .fx-muted {
  margin-left: auto;
  font-size: 11.5px;
}
.fx-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-weight: var(--weight-medium);
}
.fx-item small,
.fx-dec small {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: var(--weight-regular);
}
.fx-item.is-valid .icon {
  color: var(--success);
}
.fx-item.is-pending {
  border-style: dashed;
  border-color: var(--border-strong);
}
.fx-item.is-pending .icon {
  color: var(--warning);
}

/* 03 — décisions expliquées */
.fx-dec {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 6px !important;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font-size: 13px;
  font-weight: var(--weight-medium);
}
.fx-dec small {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-family: var(--font-sans);
  font-size: 11.5px;
}
.fx-dec code {
  padding: 0 5px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface-sunken);
  color: var(--text-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
}
.fx-dec.is-in > .icon {
  color: var(--success);
}
.fx-dec.is-out {
  border-style: dashed;
  background: transparent;
}
.fx-dec.is-out > .icon {
  color: var(--text-subtle);
}
.fx-pill {
  padding: 2px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface-sunken);
  color: var(--text-muted);
  font-size: 11px;
}
.fx-pill.is-in {
  border-color: transparent;
  background: var(--success-soft);
  color: var(--success);
}

/* 04 — lettre sur papier */
.fx-letter {
  padding-bottom: 12px;
}
.fx-paper {
  margin: 4px 6px 0;
  padding: 16px 18px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--paper);
  color: var(--paper-text);
  box-shadow: var(--shadow-md);
  transform: rotate(-0.8deg);
}
.fx-paper-line.is-strong {
  margin-bottom: 8px !important;
  font-size: 12.5px;
  font-weight: var(--weight-semibold);
}
.fx-paper-text {
  color: var(--paper-muted);
  font-size: 12px;
  line-height: 1.6;
}
.fx-paper mark {
  padding: 0 2px;
  border-radius: 3px;
  background: #ffe3d6;
  color: var(--paper-text);
}
.fx-skeleton {
  display: block;
  height: 7px;
  margin-top: 9px;
  border-radius: 4px;
  background: var(--paper-rule);
}
.w-90 {
  width: 90%;
}
.w-70 {
  width: 68%;
}
.fx-letter-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px !important;
}
.fx-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  color: var(--text-2);
  font-size: 11.5px;
  font-weight: var(--weight-medium);
}

/* 05 — radar */
.fx-radar {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
}
.fx-scope {
  position: relative;
  width: 120px;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}
.fx-scope::before,
.fx-scope::after {
  content: "";
  position: absolute;
  background: var(--border);
}
.fx-scope::before {
  inset: 50% 0 auto;
  height: 1px;
}
.fx-scope::after {
  inset: 0 auto 0 50%;
  width: 1px;
}
.fx-ring {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}
.r1 {
  inset: 14%;
}
.r2 {
  inset: 29%;
}
.r3 {
  inset: 43%;
}
.fx-sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, color-mix(in srgb, var(--accent) 30%, transparent), transparent 72deg);
  transform: rotate(-60deg);
}
.feature-radar.is-revealed .fx-sweep {
  animation: sweep 1.8s var(--ease-out) both;
}
@keyframes sweep {
  from {
    transform: rotate(-300deg);
  }
  to {
    transform: rotate(-60deg);
  }
}
.fx-blip {
  position: absolute;
  z-index: 1;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-muted);
}
.k1 {
  top: 24%;
  left: 62%;
}
.k2 {
  top: 63%;
  left: 24%;
}
.k3 {
  top: 34%;
  left: 31%;
}
.k4 {
  top: 72%;
  left: 66%;
}
.fx-blip.is-hot {
  width: 9px;
  height: 9px;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent);
}
.fx-suggestion {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--text-muted);
  font-size: 11.5px;
}
.fx-suggestion b {
  display: block;
  color: var(--text);
  font-size: 12.5px;
  font-weight: var(--weight-semibold);
}
.fx-score {
  color: var(--text);
  font-size: 22px;
  font-weight: var(--weight-semibold);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}
.fx-score small {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0;
}
.fx-sugg-score {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.fx-votes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.fx-votes span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text-2);
}

/* 06 — tableau de bord agrégé d'une promotion */
.fx-school {
  display: grid;
  align-content: center;
  gap: 2px;
  padding: 16px 18px;
}
.fx-hbar {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(0, 1.3fr) 28px;
  align-items: center;
  gap: 12px;
  margin-top: 8px !important;
  color: var(--text-2);
}
.fx-hbar b {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.fx-meter {
  height: 8px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: var(--border);
}
.fx-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: color-mix(in srgb, var(--text) 62%, transparent);
}
.m-1 {
  width: 12.5%;
}
.m-2 {
  width: 43.75%;
}
.m-3 {
  width: 29.2%;
}
.m-4 {
  width: 14.6%;
}

/* --- Offres ---------------------------------------------------------------------------------- */

.pricing {
  padding: clamp(64px, 8vw, 112px) 0 clamp(72px, 9vw, 128px);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  max-width: 1080px;
  margin-inline: auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
}
.plan-audience {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.plan-flag {
  padding: 3px 9px;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent-text);
  font-family: var(--font-sans);
  font-size: 11.5px;
  letter-spacing: 0;
  text-transform: none;
}
.plan h3 {
  margin-top: 22px;
  font-size: 20px;
  letter-spacing: -0.025em;
}
.plan .price {
  margin: 6px 0 12px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: var(--weight-semibold);
  font-stretch: 90%;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.plan p:not(.plan-audience) {
  margin-bottom: 26px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted);
}
.plan-cta {
  width: 100%;
  margin-top: auto;
}
.plan.is-featured {
  border-color: var(--border-strong);
  background: var(--surface-raised);
  box-shadow: var(--shadow-lg);
}
.plan.is-featured::before {
  content: "";
  position: absolute;
  inset: -1px 28px auto;
  height: 2px;
  border-radius: 0 0 2px 2px;
  background: var(--accent);
}
.plan.is-featured h3,
.plan.is-featured .price {
  color: var(--text);
}

/* --- Liste d'attente : îlot sombre --------------------------------------------------------- */

.waitlist-section {
  padding-bottom: clamp(80px, 10vw, 136px);
}
.waitlist {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(28px, 5.5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}
/* Cadran et lueur du témoin, discrets, derrière le contenu */
.waitlist::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 720px;
  aspect-ratio: 1;
  top: -360px;
  left: -260px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 59px, rgb(255 255 255 / 5%) 59px 60px);
  -webkit-mask-image: radial-gradient(circle, #000 30%, transparent 70%);
  mask-image: radial-gradient(circle, #000 30%, transparent 70%);
}
.waitlist::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto -20% -60% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 13%, transparent), transparent 60%);
}
.waitlist .section-title {
  max-width: 11em;
}
.waitlist .section-lead {
  margin-top: 18px;
}
.waitlist-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  color: var(--text-2);
  font-size: 14.5px;
}
.waitlist-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.waitlist-points .icon {
  color: var(--accent-text);
}
.waitlist-card {
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}
#waitlist-form {
  display: grid;
  gap: 16px;
}
#waitlist-form > label:not(.consent) {
  display: grid;
  gap: 7px;
  font-size: 13px;
}
#waitlist-form input:where(:not([type="checkbox"])),
#waitlist-form select {
  min-height: 42px;
  font-size: 15px;
}
.consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-size: 13px;
  font-weight: var(--weight-regular);
  line-height: 1.5;
  color: var(--text-muted);
}
.consent input {
  margin-top: 2px;
}
.consent a {
  color: var(--text);
}
#waitlist-form .btn {
  width: 100%;
  margin-top: 4px;
}
.hp {
  position: absolute;
  left: -5000px;
}
#waitlist-status:not(:empty) {
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-sunken);
  color: var(--text-2);
  font-size: 13.5px;
}
#waitlist-status[data-state="success"] {
  border-color: color-mix(in srgb, var(--success-solid) 40%, transparent);
  background: var(--success-soft);
  color: var(--success);
}
#waitlist-status[data-state="error"] {
  border-color: var(--danger-border);
  background: var(--danger-soft);
  color: var(--danger);
}

/* --- Pied de page ---------------------------------------------------------------------------- */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
}
.footer-brand p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.footer-nav {
  display: grid;
  justify-items: start;
  gap: 8px;
}
.footer-nav a {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--radius-xs);
}
.footer-nav a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* --- Pages légales --------------------------------------------------------------------------- */

.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(40px, 7vw, 88px) 0 clamp(64px, 8vw, 112px);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-2);
}
.legal-eyebrow {
  margin-bottom: 18px;
  color: var(--text-muted);
}
.legal-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}
.legal h1 {
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(34px, 5vw, 54px);
  font-stretch: 90%;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
.legal h2 {
  margin: 44px 0 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 20px;
  letter-spacing: -0.02em;
}
.legal p + p,
.legal p + ul,
.legal ul + p {
  margin-top: 12px;
}
.legal ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}
.legal li::marker {
  color: var(--text-subtle);
}
.legal strong {
  color: var(--text);
}
.legal a {
  color: var(--text);
  text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent);
  text-decoration-thickness: 1.5px;
}
.legal code {
  padding: 1px 5px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface-sunken);
  font-family: var(--font-mono);
  font-size: 0.86em;
}
.legal .draft {
  margin-bottom: 18px;
  padding: 14px 16px 14px 18px;
  border: 1px solid color-mix(in srgb, var(--warning-solid) 40%, transparent);
  border-radius: 12px;
  background: var(--warning-soft);
  box-shadow: inset 3px 0 0 var(--warning-solid);
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.6;
}
.legal .version {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.legal .table-wrap {
  margin: 14px 0 4px;
}
.legal table {
  font-size: 14.5px;
  line-height: 1.55;
}
.legal th {
  height: auto;
  padding: 10px 14px;
  white-space: normal;
}
.legal td {
  vertical-align: top;
  color: var(--text-2);
}
.legal tbody tr:hover {
  background: transparent;
}
.legal-footer {
  padding: 28px 0 36px;
}
.footer-note {
  color: var(--text-muted);
  font-size: 13.5px;
}
.legal-footer .footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}
.legal-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

/* --- Mouvements : entrée de l'ouverture et apparition au défilement -------------------------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-eyebrow,
.hero-title,
.hero-lead,
.hero-actions,
.hero-proof {
  animation: rise var(--dur-5) var(--ease-out) both;
}
.hero-title {
  animation-delay: 50ms;
}
.hero-lead {
  animation-delay: 120ms;
}
.hero-actions {
  animation-delay: 180ms;
}
.hero-proof {
  animation-delay: 260ms;
}
.pv {
  animation: lift-in 900ms var(--ease-out) 240ms both;
}
.pv-float-cv {
  animation: lift-in 800ms var(--ease-out) 620ms both;
}
.pv-float-toast {
  animation: rise 700ms var(--ease-out) 980ms both;
}

[data-reveal] {
  transition:
    opacity 760ms var(--ease-out),
    transform 760ms var(--ease-out),
    border-color var(--dur-3) var(--ease-standard),
    box-shadow var(--dur-3) var(--ease-standard);
}
[data-reveal].is-pending {
  opacity: 0;
  transform: translateY(20px);
}

/* --- Adaptation aux écrans ------------------------------------------------------------------- */

@media (max-width: 1120px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 24px;
    border-top: 0;
  }
  .hero-proof li {
    border-top: 1px solid var(--border);
    border-bottom: 0;
  }
  .feature-cockpit,
  .feature-schools {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
  }
  .feature-cockpit .feature-top,
  .feature-schools .feature-top,
  .feature-cockpit .feature-text,
  .feature-schools .feature-text,
  .feature-cockpit .fx,
  .feature-schools .fx {
    grid-column: auto;
    grid-row: auto;
  }
  .feature-cockpit .fx,
  .feature-schools .fx {
    margin-top: 4px;
  }
}

@media (max-width: 960px) {
  .section-intro {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature-cockpit,
  .feature-schools {
    grid-column: span 2;
  }
  .feature-profile,
  .feature-cv,
  .feature-letter,
  .feature-radar {
    grid-column: span 1;
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
  }
  .waitlist {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-nav {
    display: none;
  }
  .site-nav + .site-header-cta {
    margin-left: auto;
  }
  .hero-proof {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-proof li:last-child {
    border-bottom: 1px solid var(--border);
  }
  .pv {
    grid-template-columns: minmax(0, 1fr);
    width: 64em;
    margin-left: 0;
  }
  .pv-side {
    display: none;
  }
  .pv-float-toast {
    display: none;
  }
  .pv-float-cv {
    left: auto;
    right: var(--gutter);
    bottom: -3em;
    width: min(25.5em, calc(100% - 2 * var(--gutter)));
    font-size: 10.5px;
  }
  .hero-stage {
    padding-bottom: 64px;
  }
  .features {
    padding-top: 72px;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-cockpit,
  .feature-schools,
  .feature-profile,
  .feature-cv,
  .feature-letter,
  .feature-radar {
    grid-column: auto;
  }
  .feature {
    padding: 20px;
  }
  .fx-bars {
    min-height: 64px;
  }
  .fx-hbar {
    grid-template-columns: minmax(96px, 0.8fr) minmax(0, 1fr) 24px;
    gap: 10px;
  }
  .hero-actions .btn {
    flex: 1 1 100%;
  }
  .plan {
    padding: 24px;
  }
  .waitlist {
    border-radius: 22px;
  }
  .site-header-cta {
    padding: 0 11px;
  }
  .legal-footer .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 400px) {
  .fx-radar {
    grid-template-columns: minmax(0, 1fr);
    justify-items: start;
  }
}

/* Mouvement réduit : la remise à zéro générale (base.css) supprime animations et transitions ;
   rien n'est masqué en attendant une apparition. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-pending {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header {
    position: static;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .site-nav,
  .site-header-cta,
  .hero-stage,
  .fx,
  .skip-link {
    display: none;
  }
  .waitlist {
    box-shadow: none;
  }
}
