/* ─── CSS Variables ──────────────────────────────────────── */
:root {
  --blue:       #1E3A5F;
  --blue-light: #2a4f82;
  --blue-dark:  #162d4a;
  --green:      #1A7A5E;
  --amber:      #D97706;
  --amber-light:#F59E0B;
  --red:        #C0392B;
  --white:      #FFFFFF;
  --grey-bg:    #F4F6F9;
  --grey-border:#D1D9E0;
  --grey-text:  #5A6A7D;
  --anthracite: #1C2A3A;
  --font-head:  'Plus Jakarta Sans', sans-serif;
  --font-body:  'Inter', sans-serif;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 4px rgba(30,58,95,.08);
  --shadow-md:  0 4px 20px rgba(30,58,95,.12);
  --shadow-lg:  0 12px 40px rgba(30,58,95,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

/* ─── Reset & Base ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--anthracite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; border: none; outline: none; }

/* ─── Utility ────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section--dark { background: var(--anthracite); color: var(--white); }
.section--grey { background: var(--grey-bg); }

.label-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: rgba(30,58,95,.09);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.label-tag--amber { color: var(--amber); background: rgba(217,119,6,.10); }
.label-tag--green { color: var(--green); background: rgba(26,122,94,.10); }

h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.2; }
h1 { font-size: clamp(36px,5vw,58px); font-weight: 800; }
h2 { font-size: clamp(28px,3.5vw,42px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 14px 28px; border-radius: var(--radius); cursor: pointer;
  transition: all var(--transition); white-space: nowrap;
}
.btn--primary {
  background: var(--blue); color: var(--white);
  box-shadow: 0 4px 14px rgba(30,58,95,.35);
}
.btn--primary:hover { background: var(--blue-light); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(30,58,95,.40); }
.btn--outline {
  background: transparent; color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn--outline:hover { background: rgba(30,58,95,.06); }
.btn--ghost {
  background: transparent; color: var(--grey-text);
  padding: 14px 18px;
}
.btn--ghost:hover { color: var(--anthracite); }

/* ─── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ─── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--grey-border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px;
  color: var(--anthracite);
}
.nav__logo svg { flex-shrink: 0; }
.nav__logo span.pulse-word { color: var(--blue); }

.nav__links {
  display: flex; align-items: center; gap: 6px;
  list-style: none;
}
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--grey-text);
  padding: 8px 14px; border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav__links a:hover { color: var(--anthracite); background: var(--grey-bg); }

.nav__cta { display: flex; align-items: center; gap: 8px; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--anthracite); border-radius: 2px; transition: all .3s; }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  padding: 140px 0 80px;
  background: var(--white);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: ''; position: absolute;
  top: -60px; right: -120px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,58,95,.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--green);
  background: rgba(26,122,94,.10);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero__badge .dot {
  width: 7px; height: 7px; background: var(--green);
  border-radius: 50%; animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:.5; transform:scale(1.5); }
}
/* SEO: Le H1 héro est désormais optimisé pour les mots-clés — style ajusté pour conserver le rendu visuel fort */
.hero h1 { margin-bottom: 8px; color: var(--anthracite); }
.hero h1 em { font-style: normal; color: var(--blue); }

/* SEO: Nouveau style pour le slogan hero (anciennement dans le H1, maintenant en <p> hors balise pour ne pas diluer le H1 SEO) */
.hero__slogan {
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 20px;
  font-style: italic;
}
.hero__sub {
  font-size: 17px; line-height: 1.7; color: var(--grey-text);
  margin-bottom: 36px; max-width: 480px;
}
.hero__cta-group { display: flex; flex-direction: column; gap: 14px; }
.hero__cta-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__cta-note {
  font-size: 13px; color: var(--grey-text);
  display: flex; align-items: center; gap: 6px;
}
.hero__trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--grey-text); flex-wrap: wrap;
}
.hero__trust .sep { color: var(--grey-border); }

/* Dashboard mockup */
.hero__visual { position: relative; }
.dashboard {
  background: var(--anthracite);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  font-family: var(--font-body);
  overflow: hidden;
  position: relative;
}
.dash__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.dash__title { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--white); }
.dash__badge-count {
  font-size: 11px; font-weight: 600; background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.7); padding: 3px 10px; border-radius: 100px;
}
.dash__row {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.06); border-radius: var(--radius);
  padding: 13px 15px; margin-bottom: 10px;
  border: 1px solid rgba(255,255,255,.07);
  transition: background .3s;
}
.dash__row:hover { background: rgba(255,255,255,.09); }
.dash__icon {
  width: 34px; height: 34px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.dash__icon--green { background: rgba(26,122,94,.25); }
.dash__icon--amber { background: rgba(217,119,6,.25); }
.dash__icon--red   { background: rgba(192,57,43,.25); }
.dash__info { flex: 1; min-width: 0; }
.dash__name { font-size: 13px; font-weight: 600; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash__meta { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 2px; }
.dash__status {
  font-size: 11px; font-weight: 600; padding: 3px 10px;
  border-radius: 100px; flex-shrink: 0;
}
.dash__status--active { background: rgba(26,122,94,.25); color: #4CAF85; }
.dash__status--amber  { background: rgba(217,119,6,.25);  color: #F59E0B; }
.dash__status--red    { background: rgba(192,57,43,.25);  color: #E57373; }

/* Floating email notification */
.email-notif {
  position: absolute; bottom: 2px; right: 2px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.25);
  padding: 12px 16px; display: flex; gap: 10px; align-items: center;
  min-width: 230px;
  animation: float-notif 4s ease-in-out infinite;
}
@keyframes float-notif {
  0%,100% { transform:translateY(0); }
  50% { transform:translateY(-6px); }
}
.notif__icon {
  width: 36px; height: 36px; background: rgba(217,119,6,.12);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.notif__title { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--anthracite); }
.notif__sub { font-size: 11px; color: var(--grey-text); margin-top: 1px; }
.notif__dot {
  position: absolute; top: 10px; right: 10px;
  width: 8px; height: 8px; background: var(--amber);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

/* ─── PROBLEM ────────────────────────────────────────────── */
.problem__intro { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.problem__intro p { font-size: 17px; color: var(--grey-text); margin-top: 16px; line-height: 1.7; }
.problem__narrative {
  background: var(--anthracite); color: var(--white);
  border-radius: var(--radius-lg); padding: 36px 40px; margin-bottom: 48px;
  position: relative; overflow: hidden;
}
.problem__narrative::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--amber);
}
.problem__narrative p { font-size: 15px; line-height: 1.8; margin-bottom: 12px; color: rgba(255,255,255,.85); }
.problem__narrative p:last-child { margin-bottom: 0; }
.problem__narrative strong { color: var(--amber); font-weight: 700; }
.problem__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pain-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 28px 32px; border: 1px solid var(--grey-border);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pain-card__icon {
  font-size: 26px; margin-bottom: 14px;
}
.pain-card h3 { font-size: 16px; margin-bottom: 10px; }
.pain-card p { font-size: 14px; color: var(--grey-text); line-height: 1.65; }
.problem__stat {
  text-align: center; margin-top: 56px;
  font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--grey-text);
}
.problem__stat strong { color: var(--blue); font-size: 22px; }

/* ─── SOLUTION ───────────────────────────────────────────── */
.solution__intro { text-align: center; max-width: 580px; margin: 0 auto 64px; }
.solution__intro p { font-size: 17px; color: var(--grey-text); margin-top: 16px; line-height: 1.7; }
.solution__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-bottom: 64px; }
.solution__steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(16.666% + 20px); right: calc(16.666% + 20px);
  height: 2px; background: var(--grey-border); z-index: 0;
}
.step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 0 24px; position: relative; z-index: 1;
}
.step__num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  margin-bottom: 20px; box-shadow: 0 4px 16px rgba(30,58,95,.30);
  flex-shrink: 0;
}
.step h3 { font-size: 17px; margin-bottom: 10px; }
.step p { font-size: 14px; color: var(--grey-text); line-height: 1.65; }
.solution__proof {
  background: rgba(26,122,94,.07); border-left: 3px solid var(--green);
  padding: 20px 28px; border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 32px; font-size: 14px; color: var(--grey-text);
  font-style: italic; line-height: 1.7;
}
.solution__cta { text-align: center; }

/* ─── FEATURES ───────────────────────────────────────────── */
.features__intro { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.features__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--grey-border);
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex; gap: 20px;
}
.feat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feat-card__icon-wrap {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(30,58,95,.07); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 22px;
}
.feat-card__body h3 { font-size: 17px; margin-bottom: 8px; }
.feat-card__body p { font-size: 14px; color: var(--grey-text); line-height: 1.65; }
.feat-card__tech {
  font-size: 11px; font-weight: 600; color: var(--blue);
  margin-top: 10px; opacity: .7;
}

/* ─── SOCIAL PROOF ───────────────────────────────────────── */
.proof__intro { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.testimonial {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px; border: 1px solid var(--grey-border);
  display: flex; flex-direction: column; gap: 16px;
  transition: box-shadow var(--transition);
}
.testimonial:hover { box-shadow: var(--shadow-md); }
.testimonial__quote { font-size: 14px; line-height: 1.75; color: var(--anthracite); }
.testimonial__quote::before { content: '"'; font-size: 28px; color: var(--blue); font-family: var(--font-head); line-height: .5; display: block; margin-bottom: 8px; }
.testimonial__author { font-size: 13px; color: var(--grey-text); font-weight: 500; }
.testimonial__author strong { color: var(--anthracite); display: block; }
.proof__metrics { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; }
.metric-badge {
  background: var(--white); border: 1px solid var(--grey-border);
  border-radius: var(--radius); padding: 12px 20px;
  font-size: 13px; font-weight: 600; color: var(--anthracite);
  display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-sm);
}

/* ─── PRICING ────────────────────────────────────────────── */
.pricing__intro { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.pricing__intro p { font-size: 17px; color: var(--grey-text); margin-top: 16px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1.5px solid var(--grey-border);
  transition: box-shadow var(--transition);
}
.plan:hover { box-shadow: var(--shadow-md); }
.plan--featured {
  border-color: var(--blue);
  box-shadow: 0 4px 30px rgba(30,58,95,.15);
  position: relative;
}
.plan__tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: var(--white);
  font-size: 11px; font-weight: 700; padding: 4px 14px;
  border-radius: 100px; white-space: nowrap; letter-spacing: .06em;
}
.plan__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-text); margin-bottom: 8px; }
.plan__price { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--anthracite); line-height: 1; }
.plan__price span { font-size: 16px; font-weight: 500; color: var(--grey-text); }
.plan__desc { font-size: 13px; color: var(--grey-text); margin: 8px 0 24px; }
.plan__divider { height: 1px; background: var(--grey-border); margin-bottom: 20px; }
.plan__features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan__features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--grey-text); line-height: 1.5;
}
.plan__features li::before {
  content: '✓'; color: var(--green); font-weight: 700;
  flex-shrink: 0; margin-top: 1px;
}
.plan__features li.disabled { color: var(--grey-border); }
.plan__features li.disabled::before { content: '—'; color: var(--grey-border); }
.plan__btn { width: 100%; text-align: center; justify-content: center; }
.pricing__note {
  text-align: center; margin-top: 32px;
  font-size: 13px; color: var(--grey-text); font-style: italic;
}

/* ─── WAITLIST ───────────────────────────────────────────── */
.waitlist {
  background: var(--anthracite); color: var(--white); padding: 100px 0;
  position: relative; overflow: hidden;
}
.waitlist::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(30,58,95,.6) 0%, transparent 70%);
  top: -200px; left: -200px; pointer-events: none;
}
.waitlist::after {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(26,122,94,.2) 0%, transparent 70%);
  bottom: -150px; right: -100px; pointer-events: none;
}
.waitlist__inner { text-align: center; max-width: 580px; margin: 0 auto; position: relative; z-index: 1; }
.waitlist__eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(217,119,6,.2); color: var(--amber-light);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.waitlist h2 { color: var(--white); margin-bottom: 16px; }
.waitlist__sub { font-size: 16px; color: rgba(255,255,255,.65); line-height: 1.7; margin-bottom: 40px; }
.waitlist__form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto 20px; }
.waitlist__input {
  flex: 1; background: rgba(255,255,255,.09);
  border: 1.5px solid rgba(255,255,255,.15); color: var(--white);
  border-radius: var(--radius); padding: 14px 18px; font-size: 15px;
  transition: border-color var(--transition);
}
.waitlist__input::placeholder { color: rgba(255,255,255,.35); }
.waitlist__input:focus { border-color: rgba(255,255,255,.4); outline: none; }
.waitlist__btn {
  background: var(--amber); color: var(--white);
  font-size: 15px; font-weight: 600;
  padding: 14px 24px; border-radius: var(--radius); cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap; border: none; font-family: var(--font-body);
}
.waitlist__btn:hover { background: var(--amber-light); transform: translateY(-1px); }
.waitlist__perks { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.waitlist__perk { font-size: 13px; color: rgba(255,255,255,.55); display: flex; align-items: center; gap: 6px; }
.waitlist__perk::before { content: '✓'; color: var(--green); font-weight: 700; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.footer { background: #0f1c2b; padding: 56px 0 36px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer__brand { }
.footer__brand .nav__logo { margin-bottom: 12px; }
.footer__brand p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.7; max-width: 240px; margin-bottom: 4px; }
.footer__brand .flag { font-size: 13px; color: rgba(255,255,255,.3); }
.footer__col h4 {
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.5); letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col-title {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul li a { font-size: 14px; color: rgba(255,255,255,.65); transition: color var(--transition); }
.footer__col ul li a:hover { color: rgba(255,255,255,.85); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding-top: 28px;
  display: flex; align-items: flex-start; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 13px; color: rgba(255,255,255,.3); line-height: 1.6; max-width: 500px; }
.footer__copy a { color: rgba(255,255,255,.65); }
.footer__copy a:hover { color: rgba(255,255,255,.7); }

/* AUDIT SEO: Classes extraites des styles inline des liens "Blog/Changelog bientôt"
   dans la nav desktop, mobile et le footer — meilleure maintenabilité */
.nav__link--disabled {
  cursor: default !important;
  opacity: .45 !important;
  pointer-events: none !important;
}
.nav__badge--soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  background: var(--grey-border);
  color: var(--grey-text);
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ─── ECG Logo SVG ───────────────────────────────────────── */
.ecg-logo {
  width: 32px; height: 32px; background: var(--blue);
  border-radius: 6px; display: flex; align-items: center; justify-content: center;
}

/* SEO: Classe .sr-only déplacée du style inline dans le body vers ce fichier CSS (meilleure pratique) */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/*
  SEO GUIDELINE — robots.txt à créer à la racine du site :
  ──────────────────────────────────────────────────────────
  User-agent: *
  Allow: /
  Disallow: /api/
  Disallow: /dashboard/
  Sitemap: https://www.contractpulse.fr/sitemap.xml
  ──────────────────────────────────────────────────────────
  Soumettre ensuite le sitemap dans Google Search Console.
*/

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Nav */
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__cta { display: none; } /* masqué : accessible via menu mobile */
  .hamburger { display: flex; }

  /* Hero */
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 60px; }
  .hero__sub { max-width: 100%; }

  /* Dashboard mockup */
  .hero__visual { width: 100%; }
  .dashboard { width: 100%; }
  .email-notif {
    position: static;
    margin-top: 14px;
    animation: none;
    width: 100%;
    box-sizing: border-box;
  }
  .dash__name { white-space: normal; }

  /* Problem */
  .problem__cards { grid-template-columns: 1fr; }
  .problem__narrative { padding: 28px 24px; }

  /* Solution */
  .solution__steps { grid-template-columns: 1fr; gap: 32px; }
  .solution__steps::before { display: none; }
  .step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; }
  .step__num { width: 52px; height: 52px; font-size: 18px; margin-bottom: 0; flex-shrink: 0; }

  /* Features */
  .features__grid { grid-template-columns: 1fr; }

  /* Social proof */
  .proof__grid { grid-template-columns: 1fr; }

  /* Pricing */
  .pricing__grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Waitlist */
  .waitlist__form { flex-direction: column; width: 100%; }
  .waitlist__input, .waitlist__btn { width: 100%; }
}

@media (max-width: 600px) {
  /* General */
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }

  /* Hero */
  .hero { padding: 100px 0 48px; }
  .hero__content { width: 100%; }
  .hero__cta-row { flex-direction: column; align-items: stretch; }
  .hero__cta-row .btn { width: 100%; justify-content: center; }
  .hero__trust { font-size: 11px; }

  /* Dashboard */
  .dash__meta { font-size: 10px; }

  /* Problem */
  .problem__narrative { padding: 20px 18px; }

  /* Steps */
  .step { gap: 14px; }
  .step__num { width: 44px; height: 44px; font-size: 16px; }

  /* Features cards */
  .feat-card { flex-direction: column; gap: 14px; padding: 24px; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }

  /* Social proof */
  .proof__metrics { flex-direction: column; align-items: center; }

  /* Waitlist */
  .waitlist { padding: 72px 0; }
  .waitlist__perks { flex-direction: column; gap: 10px; align-items: flex-start; }
  .waitlist__perks { align-items: center; }

  /* Pricing */
  .pricing__grid { max-width: 100%; }
  .plan { padding: 24px 20px; }

  /* Buttons */
  .btn { font-size: 14px; padding: 13px 20px; white-space: normal; text-align: center; }

  /* Solution CTA (inline style override) */
  .solution__cta .btn { font-size: 14px !important; padding: 14px 20px !important; width: 100%; justify-content: center; }
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; top: 68px; left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--grey-border);
  padding: 16px 24px 24px; box-shadow: var(--shadow-md); z-index: 99;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 15px; font-weight: 500; color: var(--anthracite);
  padding: 12px 0; border-bottom: 1px solid var(--grey-bg);
}
.mobile-menu .btn { margin-top: 12px; justify-content: center; }