/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

:root {
  --bg: #0b0e16;
  --bg-alt: #10141f;
  --bg-raised: #161b29;
  --border: rgba(232, 230, 223, 0.09);
  --border-soft: rgba(232, 230, 223, 0.06);
  --text: #eae7de;
  --text-muted: #a6abbd;
  --text-faint: #6c7288;
  --accent: #cda449;
  --accent-soft: rgba(205, 164, 73, 0.14);
  --accent-dim: rgba(205, 164, 73, 0.35);
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1120px;
  --wrap-narrow: 740px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; color: var(--text-muted); }

a { color: inherit; }

ul, ol { list-style: none; margin: 0; padding: 0; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 28px;
}
.wrap-narrow { max-width: var(--wrap-narrow); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #14171f;
  padding: 12px 18px;
  z-index: 999;
  font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1em;
  font-weight: 600;
}
.eyebrow-tagline {
  color: var(--text-faint);
  letter-spacing: 0.18em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #14171f;
}
.btn-primary:hover { background: #ddb75c; }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--accent-dim); }

.btn-small { padding: 10px 18px; font-size: 0.88rem; }
.btn-full { width: 100%; margin-top: 8px; }

.cta-subtext {
  color: var(--text-faint);
  font-size: 0.9rem;
  margin-top: 14px;
  margin-bottom: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 14, 22, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-copy h1 { margin-bottom: 0.4em; }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 46ch;
}
.cta-block { margin-top: 40px; }

/* Signal feed visual */
.hero-visual { display: flex; justify-content: center; }
.signal-feed {
  width: 100%;
  max-width: 400px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  min-height: 380px;
}
.signal-feed-label {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.signal-feed-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.signal-list { display: flex; flex-direction: column; gap: 10px; min-height: 300px; }
.signal-item {
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 11px 14px;
  opacity: 0;
  transform: translateY(6px);
  animation: signal-in 0.7s ease forwards;
}
.signal-item.qualifie {
  border-color: var(--accent-dim);
  background: var(--accent-soft);
  color: var(--text);
}
.signal-item .tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}
@keyframes signal-in {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
.section { padding: 92px 0; border-top: 1px solid var(--border-soft); }

.constat { background: var(--bg-alt); }
.constat .lede {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.5;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

.methode h2, .recevez h2, .pourquoi h2, .faq h2 { max-width: 22ch; }

.methode-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.methode-step {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.step-index {
  display: block;
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 14px;
}
.methode-step h3 { margin-bottom: 0.5em; }
.methode-step p { font-size: 0.95rem; margin-bottom: 0; }

.methode-conclusion {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--text);
  margin: 56px 0 0;
  text-align: center;
}

.recevez { background: var(--bg-alt); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 28px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 0.6em; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

.pourquoi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.pourquoi-item h3 { margin-bottom: 0.5em; }
.pourquoi-item p { font-size: 0.95rem; margin-bottom: 0; }

.founders {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.founders-intro {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text);
  text-align: center;
  margin-bottom: 40px;
}
.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 760px;
  margin: 0 auto;
}
.founder-photo {
  display: block;
  width: 160px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  margin: 0 auto 20px;
  object-fit: cover;
}
.founder h3 { margin-bottom: 0.2em; }
.founder-role {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1em;
}
.founder p:last-child { font-size: 0.95rem; margin-bottom: 0; }

.preuve { background: var(--bg-alt); }
.preuve h2 { max-width: 26ch; }
.preuve-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.preuve-stat {
  padding: 36px 28px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}
.preuve-number {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 14px;
}
.preuve-stat p {
  font-size: 0.95rem;
  margin: 0;
}

.faq h2 {
  clip: rect(0 0 0 0);
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
}
.faq-list { margin-top: 8px; display: flex; flex-direction: column; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-family: var(--sans);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 16px 0 0; font-size: 0.95rem; max-width: 60ch; }

.cta-final { text-align: center; padding: 120px 0; }
.cta-final-inner { display: flex; flex-direction: column; align-items: center; }
.cta-final h2 { max-width: 20ch; margin-bottom: 0.9em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  padding: 40px 0;
  background: var(--bg-alt);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.85rem;
}
.footer-links a { color: var(--text-faint); text-decoration: none; }
.footer-links a:hover { color: var(--text-muted); }
.footer-copy {
  width: 100%;
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 0;
  text-align: center;
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 12, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 100;
}
.modal-overlay[hidden] { display: none; }
.modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 40px 36px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--text-faint);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 6px;
}
.modal-close:hover { color: var(--text); }
.modal-sub { font-size: 0.95rem; margin-bottom: 28px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.field .optional { color: var(--text-faint); }
.field input, .field select {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 4px;
  padding: 11px 12px;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--accent-dim);
}
.field input:invalid.touched, .field select:invalid.touched {
  border-color: #b3564a;
}

.rgpd-note {
  font-size: 0.78rem;
  color: var(--text-faint);
  margin: 16px 0 0;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.form-error {
  font-size: 0.85rem;
  color: #e5897b;
  margin: 16px 0 0;
}

.modal-confirm { text-align: center; padding: 20px 0; }
.modal-confirm h2 { margin-bottom: 0.3em; }
.modal-confirm .btn { margin-top: 20px; }
.modal-confirm[hidden] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { order: -1; }
  .signal-feed { max-width: 100%; min-height: 260px; }
  .signal-list { min-height: 180px; }

  .methode-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .preuve-stats { grid-template-columns: 1fr; }
  .pourquoi-grid { grid-template-columns: 1fr; gap: 40px; }

  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 64px 0; }
  .methode-grid { grid-template-columns: 1fr; }
  .founders-grid { grid-template-columns: 1fr; gap: 36px; }
  .modal { padding: 32px 22px; }
  .cta-final { padding: 80px 0; }
  .header-inner .btn-small { padding: 9px 14px; font-size: 0.8rem; }
}
