/* ═══════════════════════════════════════════════════════════
   Automind — styles.css · v2 « lumière »
   Direction : noir cinématique, lueur violette d'horizon,
   typographie fine, serif italique en accent, zéro boîte.
   Fontes : Instrument Sans (corps & titres) · Instrument Serif (accents)
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Fonds */
  --bg: #050508;
  --bg-soft: #0b0a13;
  --hairline: rgba(160, 130, 255, .13);
  --hairline-strong: rgba(160, 130, 255, .3);
  /* Violet — identité (logo) */
  --violet-deep: #5b21d6;
  --violet: #7b3fe4;
  --violet-bright: #9b5cf6;
  --violet-soft: #b98fff;
  /* Texte */
  --text: #f4f2fa;
  --muted: #a09ab6;
  --faint: #655f7d;
  /* Mouvement */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  /* Type */
  --sans: 'Instrument Sans', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(123, 63, 228, .45); color: #fff; }

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

.skip-link {
  position: absolute;
  left: -9999px; top: 14px;
  z-index: 400;
  background: var(--bg-soft);
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  padding: 10px 20px;
  border-radius: 999px;
}
.skip-link:focus { left: 14px; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 40px; }

/* ── Typographie ── */
.serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: linear-gradient(105deg, var(--violet-soft), var(--violet-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet-soft);
  padding-right: .06em;
}

/* Accent violet, même graisse et même fonte que le titre */
.accent {
  background: linear-gradient(105deg, var(--violet-soft), var(--violet-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--violet-soft);
}

/* Prolongement discret d'un titre */
.title-soft { color: var(--faint); font-weight: 400; }

.kick {
  display: block;
  /* text-transform: uppercase; */
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 500;
  color: var(--violet-soft);
  margin-bottom: 26px;
}

.title {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  letter-spacing: -.03em;
  line-height: 1.12;
  margin-bottom: 18px;
  text-wrap: balance;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav.scrolled {
  background: rgba(5, 5, 8, .78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { width: 34px; }
.nav-logo span {
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: .92rem;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
/* Le bouton garde son texte blanc : sans cela, .nav-links a l'emporte en spécificité. */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; }

/* ── Boutons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .96rem;
  line-height: 1;
  padding: 17px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}

.btn-primary {
  background: linear-gradient(180deg, #9b5cf6, #6d28d9);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28),
              0 0 0 1px rgba(91, 33, 214, .6),
              0 10px 42px rgba(123, 63, 228, .38);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3),
              0 0 0 1px rgba(123, 63, 228, .8),
              0 16px 60px rgba(123, 63, 228, .55);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--hairline-strong);
}
.btn-ghost:hover {
  color: var(--text);
  border-color: var(--violet-bright);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 12px 22px;
  font-size: .88rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25),
              0 0 0 1px rgba(91, 33, 214, .55),
              0 4px 16px rgba(123, 63, 228, .3);
}
.btn-nav:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28),
              0 0 0 1px rgba(123, 63, 228, .75),
              0 6px 22px rgba(123, 63, 228, .42);
}

.micro {
  font-size: .8rem;
  letter-spacing: .08em;
  /* text-transform: uppercase; */
  color: var(--faint);
}

/* ── Hero ── */
.hero {
  position: relative;
  padding: 190px 0 0;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  /* display: inline-flex; */
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hairline);
  background: rgba(11, 10, 19, .55);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .74rem;
  letter-spacing: .10em;
  /* text-transform: uppercase; */
  color: var(--muted);
  margin-bottom: 38px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet-bright);
  box-shadow: 0 0 12px var(--violet-bright);
}

.hero h1 {
  font-weight: 500;
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  letter-spacing: -.035em;
  line-height: 1.06;
  max-width: 20ch;
  margin: 0 auto 28px;
  text-wrap: balance;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 56ch;
  margin: 0 auto 40px;
}
.hero-sub { text-wrap: balance; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-sub-line { display: block; }

/* Les trois promesses du hero */
.hero-points {
  list-style: none;
  display: inline-block;
  text-align: left;
  margin: 0 auto 46px;
}
.hero-points li {
  position: relative;
  padding-left: 40px;
  font-size: 1.04rem;
  color: var(--text);
  margin-bottom: 12px;
}
.hero-points li:last-child { margin-bottom: 0; }
.hero-points li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--violet-bright);
  text-shadow: 0 0 14px rgba(155, 92, 246, .55);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* La lumière d'horizon */
.beam {
  position: relative;
  margin-top: 96px;
  pointer-events: none;
}
.beam-glow {
  position: absolute;
  left: 50%; bottom: -40px;
  transform: translateX(-50%);
  width: min(1400px, 130vw);
  height: 560px;
  background: radial-gradient(ellipse 50% 62% at 50% 100%, rgba(123, 63, 228, .38) 0%, rgba(91, 33, 214, .14) 45%, transparent 72%);
  animation: breathe 9s var(--ease-io) infinite alternate;
}
.beam-line {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(880px, 86vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(185, 143, 255, .9), transparent);
  filter: drop-shadow(0 0 14px rgba(155, 92, 246, .9));
}
.beam-column {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 170px;
  background: linear-gradient(180deg, transparent, rgba(185, 143, 255, .38));
  filter: blur(1px);
}

@keyframes breathe {
  from { opacity: .75; }
  to   { opacity: 1; }
}

/* Le visuel flottant */
.hero-visual {
  position: relative;
  z-index: 2;
  perspective: 1400px;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(185, 143, 255, .28);
  box-shadow: 0 -30px 140px rgba(123, 63, 228, .22),
              0 50px 110px rgba(0, 0, 0, .65);
  transform: rotateX(7deg);
  transform-origin: 50% 100%;
  will-change: transform;
}

.hero-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: 50% 26%;
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 8, .1) 0%, transparent 30%, transparent 62%, rgba(5, 5, 8, .92) 100%);
}

.hero-frame-caption {
  position: absolute;
  left: 28px; bottom: 22px;
  z-index: 2;
  text-align: left;
}
.hero-frame-caption .l1 {
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: -.01em;
}
.hero-frame-caption .l2 {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .06em;
  /* text-transform: lowercase; */
}

/* Bandeau outils */
.tools-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 34px;
  flex-wrap: wrap;
  padding: 54px 0 0;
}
.tools-strip .lbl {
  font-size: .7rem;
  letter-spacing: .22em;
  /* text-transform: uppercase; */
  color: var(--faint);
}
.tools-strip .tool {
  font-size: .95rem;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: .02em;
  transition: color .3s var(--ease);
}
.tools-strip .tool:hover { color: var(--muted); }

/* ── Sections ── */
.section { position: relative; padding: 170px 0; }
.section-tight { padding: 120px 0; }

.sep {
  height: 1px;
  max-width: 460px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--hairline-strong), transparent);
}

/* Déclaration centrale */
.statement {
  text-align: center;
  font-weight: 500;
  font-size: clamp(1.7rem, 4.1vw, 3rem);
  letter-spacing: -.035em;
  line-height: 1.2;
  max-width: 34ch;
  margin: 0 auto;
}
.statement .dim { color: var(--faint); }

/* ── Le monde est contre vous ── */
.manifesto { overflow: hidden; }

.manifesto-glow {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 110vw);
  height: 620px;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(123, 63, 228, .16) 0%, transparent 70%);
  pointer-events: none;
}

.manifesto .wrap { position: relative; z-index: 1; }

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 76px;
  align-items: center;
}

.manifesto-title {
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  letter-spacing: -.035em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-wrap: balance;
}

.manifesto-kick {
  color: var(--faint);
  font-size: 1.05rem;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.manifesto-body { margin-top: 40px; }
.manifesto-body p {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 54ch;
  margin: 0 0 22px;
}
.manifesto-body p:last-child { color: var(--text); margin-bottom: 0; }

.manifesto-cta { margin-top: 48px; }

.manifesto-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(185, 143, 255, .22);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(123, 63, 228, .12);
}
.manifesto-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Constat (liste hairline) ── */
.plain-list { border-top: 1px solid var(--hairline); }

.plain-row {
  display: grid;
  grid-template-columns: 72px 1fr 1.15fr;
  gap: 36px;
  align-items: baseline;
  padding: 38px 0;
  border-bottom: 1px solid var(--hairline);
}
.plain-row .idx {
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--faint);
}
.plain-row h3 {
  font-weight: 500;
  font-size: 1.35rem;
  letter-spacing: -.02em;
}
.plain-row p { color: var(--muted); font-size: .97rem; }

/* ── Processus ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 72px;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--hairline);
}
.step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 56px; height: 1px;
  background: var(--violet-bright);
  box-shadow: 0 0 12px rgba(155, 92, 246, .8);
}

.step .idx {
  font-size: .78rem;
  letter-spacing: .18em;
  color: var(--faint);
  display: block;
  margin-bottom: 16px;
}

.step h3 {
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: -.02em;
  margin-bottom: 6px;
}

.step .chip {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .1em;
  /* text-transform: uppercase; */
  color: var(--violet-soft);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 5px 13px;
  margin: 10px 0 14px;
}

.step p { color: var(--muted); font-size: .96rem; }

.steps-cta {
  margin-top: 88px;
  text-align: center;
}
.steps-cta .micro { display: block; margin-top: 20px; }

/* ── Liste interactive (ce qu'on automatise) ── */
.big-list { border-top: 1px solid var(--hairline); margin-top: 66px; }

.big-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: baseline;
  gap: 30px;
  padding: 36px 8px;
  border-bottom: 1px solid var(--hairline);
  transition: background-color .4s var(--ease);
}

.big-row .idx {
  font-size: .78rem;
  letter-spacing: .14em;
  color: var(--faint);
  transition: color .3s var(--ease);
}

.big-row h3 {
  font-weight: 500;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  letter-spacing: -.025em;
  color: var(--muted);
  transition: color .35s var(--ease), transform .45s var(--ease);
}

.big-row p {
  color: var(--faint);
  font-size: .92rem;
  max-width: 34ch;
  text-align: right;
  transition: color .35s var(--ease);
}

.big-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 130% at 50% 100%, rgba(123, 63, 228, .1), transparent 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}

.big-row:hover h3 { color: var(--text); transform: translateX(14px); }
.big-row:hover .idx { color: var(--violet-soft); }
.big-row:hover p { color: var(--muted); }
.big-row:hover::after { opacity: 1; }

/* ── À propos ── */
.about {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 84px;
  align-items: center;
}

.about-photo {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(185, 143, 255, .2);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(123, 63, 228, .12);
}
.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
  object-position: 62% 20%;
}
.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(123, 63, 228, .16) 0%, transparent 42%, rgba(5, 5, 8, .38) 100%);
}

.about-photo figcaption {
  position: absolute;
  left: 24px; bottom: 18px;
  z-index: 2;
}
.about-photo .l1 { font-weight: 500; font-size: .98rem; }
.about-photo .l2 { font-size: .76rem; letter-spacing: .08em; }

.about-text p {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 20px;
  max-width: 54ch;
}
.about-text p strong { color: var(--text); font-weight: 500; }

.about-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.link-quiet {
  font-size: .95rem;
  color: var(--violet-soft);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
  padding-bottom: 2px;
}
.link-quiet:hover { border-bottom-color: var(--violet-soft); }

.about-cta { margin-top: 72px; text-align: center; }

/* ── FAQ ── */
.faq { max-width: 760px; }

.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item:first-of-type { border-top: 1px solid var(--hairline); }

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.faq-item summary:hover, .faq-item[open] summary { color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--violet-soft);
  flex-shrink: 0;
  transition: transform .35s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-body {
  padding: 0 4px 28px;
  color: var(--muted);
  font-size: .96rem;
  max-width: 62ch;
}

.faq-more { margin-top: 40px; font-size: .95rem; color: var(--faint); }
.faq-more a { color: var(--violet-soft); }

/* ── Final ── */
.final {
  position: relative;
  padding: 230px 0 190px;
  text-align: center;
  overflow: hidden;
}

.final-glow {
  position: absolute;
  left: 50%; top: 100%;
  transform: translate(-50%, -18%);
  width: min(1500px, 140vw);
  height: 700px;
  background: radial-gradient(ellipse 50% 55% at 50% 0%, rgba(123, 63, 228, .34) 0%, rgba(91, 33, 214, .12) 48%, transparent 74%);
  pointer-events: none;
  animation: breathe 9s var(--ease-io) infinite alternate;
}
.final-line {
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(900px, 88vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(185, 143, 255, .85), transparent);
  filter: drop-shadow(0 0 16px rgba(155, 92, 246, .9));
}

.final h2 {
  font-weight: 500;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  letter-spacing: -.035em;
  line-height: 1.1;
  max-width: 24ch;
  margin: 0 auto 26px;
  text-wrap: balance;
}

.final p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 48ch;
  margin: 0 auto 44px;
}

.final .micro { display: block; margin-top: 22px; }

/* ── Solution alternative (téléphone) ── */
.alt-contact {
  padding: 96px 0 104px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.alt-contact h2 {
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  letter-spacing: -.025em;
  margin-bottom: 12px;
}

.alt-contact p {
  color: var(--muted);
  font-size: .98rem;
  max-width: 46ch;
  margin: 0 auto 32px;
}

.alt-contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
}

.phone-number {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--violet-soft);
  text-shadow: 0 0 40px rgba(155, 92, 246, .45);
  animation: phone-in .55s var(--ease) both;
}
.phone-number:hover { color: var(--text); }

@keyframes phone-in {
  from { opacity: 0; transform: translateY(8px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 54px 0;
  position: relative;
  background: var(--bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand img { width: 29px; }
.footer-brand span { font-weight: 600; font-size: .95rem; }

.footer-nav {
  display: flex;
  gap: 28px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: .88rem;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.footer-nav a:hover { color: var(--text); }

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  font-size: .82rem;
  color: var(--faint);
}
.footer-meta a { color: var(--faint); }
.footer-meta a:hover { color: var(--muted); }

/* ── Révélation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ── Page Ressources ── */
.res-hero { padding: 180px 0 24px; text-align: center; }
.res-hero h1 {
  font-weight: 500;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.res-hero > .wrap > p { color: var(--muted); max-width: 50ch; margin: 0 auto; }

.res-controls { max-width: 780px; margin: 44px auto 0; }

.search-bar { position: relative; margin-bottom: 18px; }
.search-bar svg {
  position: absolute;
  left: 22px; top: 50%;
  transform: translateY(-50%);
  color: var(--faint);
  pointer-events: none;
}
.search-input {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 16px 50px 16px 52px;
  color: var(--text);
  font-family: var(--sans);
  font-size: .95rem;
  outline: none;
  transition: border-color .25s var(--ease);
}
.search-input::placeholder { color: var(--faint); }
.search-input:focus { border-color: var(--violet-bright); }

.clear-btn {
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--faint);
  cursor: pointer;
  font-size: 1rem;
  padding: 8px;
  display: none;
}
.clear-btn:hover { color: var(--text); }
.clear-btn.visible { display: block; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.filter-btn {
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: .85rem;
  cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.filter-btn:hover { border-color: var(--hairline-strong); color: var(--text); }
.filter-btn.active { border-color: var(--violet-bright); color: var(--violet-soft); }

.res-section { max-width: 780px; margin: 0 auto; padding: 40px 0 110px; }

.count-label { font-size: .8rem; letter-spacing: .06em; color: var(--faint); display: block; margin-bottom: 26px; }
.count-label strong { color: var(--violet-soft); font-weight: 500; }

.res-grid { display: flex; flex-direction: column; }

.res-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 40px;
  padding: 34px 8px;
  border-top: 1px solid var(--hairline);
  align-items: center;
  transition: background-color .35s var(--ease);
}
.res-card:last-of-type { border-bottom: 1px solid var(--hairline); }
.res-card:hover { background: rgba(123, 63, 228, .045); }

.res-card .badges { display: flex; gap: 10px; align-items: center; margin-bottom: 8px; }
.badge-cat {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet-soft);
}
.badge-new {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 2px 10px;
}

.res-card h3 {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.res-card .desc { color: var(--muted); font-size: .93rem; max-width: 58ch; }

.res-card .meta {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
}

.res-card mark {
  background: rgba(123, 63, 228, .32);
  color: var(--violet-soft);
  border-radius: 3px;
  padding: 0 2px;
}

.btn-download {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--hairline-strong);
  color: var(--text);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: .88rem;
  font-weight: 500;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn-download:hover {
  border-color: var(--violet-bright);
  background: rgba(123, 63, 228, .12);
  transform: translateY(-2px);
}

.empty-state { text-align: center; padding: 80px 20px; display: none; }
.empty-state.visible { display: block; }
.empty-state .t { font-weight: 500; font-size: 1.2rem; margin-bottom: 8px; }
.empty-state .s { color: var(--muted); font-size: .92rem; }

.res-final { text-align: center; padding: 40px 0 130px; }
.res-final h2 {
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.res-final p { color: var(--muted); margin-bottom: 34px; }

/* ── Mentions légales ── */
.legal { max-width: 700px; margin: 0 auto; padding: 180px 40px 120px; }
.legal h1 { font-weight: 500; font-size: 2.1rem; letter-spacing: -.03em; margin-bottom: 44px; }
.legal h2 { font-weight: 500; font-size: 1.15rem; letter-spacing: -.01em; margin: 38px 0 12px; }
.legal p, .legal li { color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.legal a { color: var(--violet-soft); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .wrap, .wrap-narrow { padding: 0 30px; }
  .section { padding: 130px 0; }

  .nav-links li.nav-page { display: none; }

  .steps { grid-template-columns: 1fr; gap: 44px; margin-top: 56px; }
  .about { grid-template-columns: 1fr; gap: 52px; }
  .about-photo { max-width: 440px; }

  .manifesto-grid { grid-template-columns: 1fr; gap: 52px; }
  .manifesto-visual { max-width: 460px; }

  .plain-row { grid-template-columns: 48px 1fr; }
  .plain-row p { grid-column: 2; }
}

@media (max-width: 640px) {
  .wrap, .wrap-narrow { padding: 0 24px; }
  .section { padding: 100px 0; }

  .hero { padding-top: 150px; }
  .hero-badge { letter-spacing: .12em; font-size: .66rem; }
  .hero-actions { flex-direction: column; }
  .hero-points { display: block; margin-bottom: 38px; }
  .hero-points li { padding-left: 30px; font-size: .98rem; }
  .manifesto-body p { font-size: 1rem; }
  .alt-contact { padding: 76px 0 84px; }
  .beam { margin-top: 64px; }
  .hero-frame img { aspect-ratio: 4 / 4.2; object-position: 44% 24%; }
  .hero-frame-caption { left: 18px; bottom: 14px; }

  .plain-row { grid-template-columns: 1fr; gap: 8px; padding: 30px 0; }
  .plain-row .idx { margin-bottom: 2px; }

  .big-row { grid-template-columns: 1fr; gap: 8px; padding: 28px 4px; }
  .big-row .idx { order: -1; }
  .big-row p { text-align: left; max-width: none; }
  .big-row:hover h3 { transform: none; }

  .final { padding: 150px 0 130px; }

  .res-card { grid-template-columns: 1fr; }
  .btn-download { justify-self: start; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { flex-direction: column; align-items: flex-start; }
}

/* ── Mouvement réduit ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .hero-frame { transform: none; }
}
