/* ==========================================================================
   Décollage — feuille de style principale
   ========================================================================== */

:root {
  --ink: #1E1B3A;
  --ink-soft: #4B4770;
  --paper: #F5F4FA;
  --paper-raised: #FFFFFF;
  --line: #E1DFEF;
  --line-strong: #C7C3E0;
  --coral: #FF5470;
  --coral-dark: #D93A54;
  --yellow: #F5B942;
  --muted: #6E6A8E;
  --danger: #C23B4E;

  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Rubik", "Segoe UI", Arial, sans-serif;

  --maxw: 1140px;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0; font-family: var(--font-body); background: var(--paper); color: var(--ink);
  line-height: 1.58; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display); font-weight: 700; line-height: 1.1;
  margin: 0 0 0.5em; letter-spacing: -0.015em; color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }

p { margin: 0 0 1em; max-width: 62ch; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
section.tight { padding: 54px 0; }

.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head p { margin-bottom: 0; color: var(--ink-soft); }

hr.rule { border: none; border-top: 1px solid var(--line); margin: 0; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--coral-dark); outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 0.96rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-body); transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-decoration: none; color: var(--ink); }
.brand span { color: var(--coral); }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 999px; width: 42px; height: 42px; padding: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--ink); margin: 4px auto; }

@media (max-width: 860px) {
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0; background: var(--paper-raised);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start;
    gap: 0; padding: 8px 24px 18px; transform: translateY(-8px); opacity: 0;
    pointer-events: none; transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .nav-links.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .nav-links li { width: 100%; border-top: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-soft); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Landing thumbnails stack (grounded hero visual) ---------- */
.thumb-stack { position: relative; height: 320px; }
.thumb {
  position: absolute; width: 78%; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper-raised);
  box-shadow: 0 24px 48px -28px rgba(30,27,58,0.4);
}
.thumb-1 { top: 0; left: 0; transform: rotate(-4deg); z-index: 1; }
.thumb-2 { top: 30px; left: 18%; transform: rotate(3deg); z-index: 2; }
.thumb-bar { height: 22px; background: #EDECF7; display: flex; align-items: center; gap: 4px; padding: 0 10px; }
.thumb-bar i { width: 6px; height: 6px; border-radius: 50%; background: var(--line-strong); display: block; }
.thumb-body { padding: 18px; }
.thumb-hero { height: 14px; width: 60%; border-radius: 4px; background: var(--ink); margin-bottom: 8px; }
.thumb-sub { height: 8px; width: 85%; border-radius: 3px; background: var(--line); margin-bottom: 4px; }
.thumb-sub.short { width: 55%; }
.thumb-cta { margin-top: 12px; height: 20px; width: 70px; border-radius: 999px; }
.thumb-1 .thumb-cta { background: var(--coral); }
.thumb-2 .thumb-cta { background: var(--yellow); }
@media (max-width: 900px) { .thumb-stack { height: 260px; } }

/* ---------- Process (diagonal ghost numbers, genuine sequence) ---------- */
.process-list { display: flex; flex-direction: column; }
.process-item {
  display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: start;
  padding: 30px 0; border-top: 1px solid var(--line); position: relative;
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-ghost { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--line-strong); line-height: 1; }
.process-item h3 { margin-bottom: 8px; }
.process-item p { margin: 0; color: var(--ink-soft); }
@media (max-width: 640px) {
  .process-item { grid-template-columns: 60px 1fr; }
  .process-ghost { font-size: 2rem; }
}

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px;
}
.feature-card h3 { margin-bottom: 8px; }
.feature-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.pull-quote {
  font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; color: var(--ink);
  line-height: 1.35; border-left: 3px solid var(--coral); padding-left: 22px;
}

.check-list { list-style: none; margin: 0; padding: 0; }
.check-list li { padding: 12px 0 12px 28px; position: relative; border-top: 1px solid var(--line); color: var(--ink-soft); }
.check-list li:first-child { border-top: none; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--paper-raised); border: 2px solid var(--line); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--coral); }
.plan-tag { display: inline-block; align-self: flex-start; background: var(--coral); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.plan-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin-bottom: 6px; }
.plan-audience { color: var(--muted); font-size: 0.88rem; margin-bottom: 18px; }
.plan-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; margin-bottom: 4px; }
.plan-price span { font-family: var(--font-body); font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.plan-note { font-size: 0.82rem; color: var(--muted); margin-bottom: 22px; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 0; flex-grow: 1; }
.plan-list li { padding: 9px 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-soft); display: flex; gap: 10px; }
.plan-list li:first-child { border-top: none; }
.plan-list li::before { content: "✓"; color: var(--coral-dark); flex-shrink: 0; font-weight: 700; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-fineprint {
  margin-top: 34px; padding: 20px 24px; background: var(--paper-raised);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink-soft); font-size: 0.92rem;
}
.pricing-fineprint p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); 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: "+"; font-family: var(--font-body); font-size: 1.3rem; font-weight: 400; color: var(--muted); flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { margin-top: 12px; color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C7C4E0; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; }
.field .hint { font-size: 0.8rem; color: var(--muted); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px;
  font-family: var(--font-body); font-size: 0.95rem; background: #fff; color: var(--ink);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--coral); }
.form-msg { padding: 14px 16px; border-radius: 10px; font-size: 0.92rem; margin-bottom: 20px; }
.form-msg.error { background: #FBEBEC; color: var(--danger); border: 1px solid #F0C6CA; }
.form-msg.success { background: #FDF0E6; color: var(--coral-dark); border: 1px solid #F5D6D0; }
.required { color: var(--danger); }

.info-card { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.info-row { padding: 14px 0; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: none; padding-top: 0; }
.info-row .label { font-size: 0.8rem; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.info-row .value { font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper-raised); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.92rem; max-width: 42ch; }
.footer-col h4 { font-size: 0.85rem; color: var(--muted); margin-bottom: 14px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px; display: flex;
  justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: var(--muted);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Legal ---------- */
.legal-body h2 { margin-top: 1.8em; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-updated { color: var(--muted); font-size: 0.88rem; }

/* ---------- 404 / merci ---------- */
.state-page { min-height: 60vh; display: flex; align-items: center; }
.state-page .container { text-align: left; max-width: 640px; }
.state-kicker { color: var(--coral-dark); font-weight: 700; margin-bottom: 12px; }

.mt-32 { margin-top: 32px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
