:root { color-scheme: light; }
:root {
  --paper: #fbfaf7;
  --paper-2: #f3f0e9;
  --navy: #0A284A;
  --ink: #0B1D2B;
  --muted: #5a6472;
  --line: #e2ddd2;
  --accent: #9fb6d0;
  --max: 1080px;
  --f-display: Georgia, "Times New Roman", serif;
  --f-text: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-mono: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--f-text); font-size: 17px; color: var(--ink);
  background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin: 0; }
a { color: var(--navy); }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }

/* Libellés mono */
.eyebrow, .tag, .crumb, .facts dt, .num, .n {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow { margin: 0 0 18px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 10; background: rgba(251,250,247,.9);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
nav { display: flex; gap: 28px; align-items: center; }
nav a { font-size: 14px; text-decoration: none; color: var(--muted); }
nav a:hover, nav a.active { color: var(--navy); }
nav a.cta { background: var(--navy); color: #fff; padding: 9px 20px; border-radius: 100px; }
nav a.cta:hover { background: #0d3560; }

/* Boutons */
.btn {
  display: inline-block; background: var(--navy); color: #fff; padding: 15px 30px;
  text-decoration: none; font-size: 15px; font-weight: 500; border-radius: 100px;
  transition: transform .25s cubic-bezier(.16,1,.3,1), background .2s;
}
.btn:hover { background: #0d3560; transform: translateY(-2px); }
.btn.ghost { background: none; color: var(--navy); border: 1px solid var(--navy); margin-left: 10px; }
.btn.ghost:hover { background: var(--navy); color: #fff; }

/* Hero */
.hero { padding: 128px 0 112px; position: relative; overflow: hidden; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); max-width: 13em; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 36em; margin: 32px 0 44px; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: 40px; width: 460px; height: 460px;
  background: url("/assets/hero-mark.svg") no-repeat center / contain;
  opacity: .06; pointer-events: none;
}
.proof { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.proof span { font-family: var(--f-mono); font-size: 12.5px; color: var(--muted); letter-spacing: .04em; }
.proof span::before { content: "— "; color: var(--navy); }

/* Sections */
section { padding: 104px 0; }
section.soft { background: var(--paper-2); }
section h2 { font-size: clamp(30px, 4vw, 46px); max-width: 17em; }
section .intro { color: var(--muted); max-width: 38em; margin: 22px 0 0; font-size: 18px; }

/* Cartes axes */
.axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.axe {
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 32px 28px 28px; display: flex; flex-direction: column;
  transition: transform .3s cubic-bezier(.16,1,.3,1), border-color .2s;
}
.axe:hover { transform: translateY(-4px); border-color: var(--navy); }
.axe .num { display: block; margin-bottom: 40px; }
.axe h3 { font-size: 24px; margin-bottom: 14px; }
.axe p { color: var(--muted); font-size: 15.5px; margin: 0 0 28px; }
.axe a.more { margin-top: auto; font-size: 14px; font-weight: 500; text-decoration: none; }
.axe a.more::after { content: " →"; }

/* Problèmes (3 constats) */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--ink); }
.pain { padding: 28px 28px 8px 0; }
.pain + .pain { padding-left: 28px; border-left: 1px solid var(--line); }
.pain .num { display: block; margin-bottom: 14px; }
.pain h3 { font-size: 21px; margin-bottom: 10px; }
.pain p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* Méthode */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.step { border-top: 2px solid var(--navy); padding-top: 18px; }
.step .n { color: var(--navy); }
.step h3 { font-size: 24px; margin: 14px 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Limites (honnêteté) */
.limits { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.limits ul { list-style: none; padding: 0; margin: 0; }
.limits li { padding: 18px 0 18px 36px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.limits li:last-child { border-bottom: 1px solid var(--line); }
.limits li::before { content: "×"; position: absolute; left: 4px; top: 14px; font-family: var(--f-mono); font-size: 20px; color: var(--navy); }
.limits li.yes::before { content: "✓"; font-size: 16px; top: 18px; }
.limits li strong { color: var(--navy); font-weight: 600; }

/* FAQ */
.faq { max-width: 760px; margin-top: 48px; border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 36px 22px 0; position: relative;
  font-family: var(--f-display); font-size: 21px; color: var(--navy); font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--f-mono); font-size: 24px; font-weight: 400; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 24px; color: var(--muted); max-width: 36em; }

/* À propos */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.about p { margin: 0 0 18px; color: var(--muted); }
.about p:last-child { margin: 0; }

/* Pages d'axe */
.page-hero { padding: 96px 0 80px; }
.page-hero h1 { font-size: clamp(36px, 5.4vw, 62px); max-width: 15em; }
.page-hero p.lead { font-size: 19px; color: var(--muted); max-width: 38em; margin: 28px 0 36px; }
.crumb { margin: 0 0 28px; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--navy); }
.cols { display: grid; grid-template-columns: 1fr 1.4fr; gap: 72px; }
.cols h2 { font-size: clamp(28px, 3.4vw, 40px); }
.cols .intro { margin-top: 18px; }
.cols ul { list-style: none; padding: 0; margin: 0; }
.cols li { padding: 18px 0 18px 28px; border-top: 1px solid var(--line); position: relative; font-size: 17px; }
.cols li:last-child { border-bottom: 1px solid var(--line); }
.cols li::before { content: ""; position: absolute; left: 0; top: 31px; width: 12px; height: 1px; background: var(--navy); }
.cols li strong { color: var(--navy); font-weight: 600; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 56px 0 0; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); overflow: hidden; }
.facts div { padding: 26px 28px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts dt { margin-bottom: 10px; }
.facts dd { margin: 0; color: var(--navy); font-size: 16px; }
.others { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; margin-top: 28px; color: var(--muted); font-size: 15px; }
.others a { text-decoration: none; border-bottom: 1px solid var(--navy); padding-bottom: 2px; }

/* Contact / footer */
.contact { background: var(--navy); color: #fff; text-align: center; padding: 112px 0; }
.contact h2 { color: #fff; margin: 0 auto; font-size: clamp(34px, 5vw, 56px); }
.contact p { color: var(--accent); margin: 24px auto 40px; max-width: 32em; }
.contact .btn { background: #fff; color: var(--navy); }
.contact .btn:hover { background: var(--paper-2); }
.contact .alt { margin: 22px 0 0; font-family: var(--f-mono); font-size: 12.5px; color: var(--accent); }
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,.14); padding: 32px 0; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
footer img { height: 22px; opacity: .9; }
footer small { color: var(--accent); font-family: var(--f-mono); font-size: 12px; }

@media (max-width: 900px) {
  .hero { padding: 72px 0 64px; }
  .hero::after { width: 280px; height: 280px; right: -80px; top: 20px; }
  section { padding: 72px 0; }
  .axes, .steps, .pains { grid-template-columns: 1fr; }
  .pain + .pain { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
  .limits, .cols, .about { grid-template-columns: 1fr; gap: 32px; }
  .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .page-hero { padding: 56px 0 48px; }
  .steps[style] { grid-template-columns: 1fr !important; }
  .btn.ghost { margin: 12px 0 0; }
}

/* Mentions légales */
.page-hero:has(+ .legal) { padding-bottom: 24px; }
.legal { padding: 24px 0 104px; }
.legal .wrap > * { max-width: 720px; }
.legal h2 { font-size: 24px; margin: 48px 0 14px; max-width: none; }
.legal p { color: var(--ink); margin: 0 0 14px; }
.legal .todo { background: #fff3c4; color: #5c4500; padding: 1px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: 13.5px; }
footer small a { color: var(--accent); }

/* Formulaire de contact */
.contact { text-align: left; }
.contact .wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
.contact h2 { margin: 0; font-size: clamp(32px, 4.4vw, 52px); }
.contact .wrap > div > p { margin: 24px 0 0; }
.cform { display: grid; gap: 16px; }
.cform .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: block; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.cform input, .cform select, .cform textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid transparent; border-radius: 10px; padding: 13px 14px;
}
.cform textarea { min-height: 140px; resize: vertical; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform small { color: var(--accent); font-size: 13px; line-height: 1.5; }
.cform small a { color: #fff; }
.cform button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; background: #fff; color: var(--navy); padding: 15px 34px; border-radius: 100px; font-size: 15px; font-weight: 500; }
.cform button:hover { background: var(--paper-2); }
.cform button:disabled { opacity: .6; cursor: default; }
.form-status { min-height: 1.4em; font-size: 15px; margin: 0; }
.form-status.ok { color: #b9e4c9; }
.form-status.err { color: #ffd0c8; }
@media (max-width: 900px) {
  .contact .wrap { grid-template-columns: 1fr; gap: 36px; }
  .cform .row { grid-template-columns: 1fr; }
}

.facts.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .facts.two { grid-template-columns: 1fr; } }
.route[hidden] { display: none; }
header { top: env(safe-area-inset-top, 0px); }
nav a.active { color: var(--navy); }
@media (max-width: 520px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

/* ---- Ajouts pour la version en ligne (aucun style dans les balises) ---- */
.svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }
.logo { display: block; color: var(--navy); }
.logo svg { height: 34px; width: auto; display: block; }
footer .logo { color: #fff; }
footer .logo svg { height: 26px; opacity: .9; }
.fnav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fnav a { color: var(--accent); font-size: 13px; text-decoration: none; }
.fnav a:hover { text-decoration: underline; text-underline-offset: 3px; }
nav a[aria-current="page"] { color: var(--navy); }
.crumb a { text-underline-offset: 3px; }
.btn + .btn.ghost { margin-left: 10px; }

/* Menu mobile */
.menubtn { display: none; font: inherit; font-size: 14px; color: var(--navy); background: none; border: 1px solid var(--line); border-radius: 100px; padding: 8px 18px; cursor: pointer; }
@media (max-width: 900px) {
  .menubtn { display: inline-block; }
  header .wrap { position: relative; }
  header nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px max(28px, env(safe-area-inset-left, 0px)) 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  header nav.open { display: flex; }
  header nav a { padding: 8px 0; font-size: 16px; }
  header nav a.cta { margin-top: 8px; padding: 10px 22px; }
}
@media (max-width: 520px) { header nav { padding-left: 16px; padding-right: 16px; } }

/* Références */
section.trust { background: var(--paper-2); padding: clamp(44px, 6vw, 72px) 0; }
.trust .wrap { display: block; }
.trust-title { font-family: var(--f-display); font-size: clamp(22px, 2.6vw, 30px); color: var(--navy); margin: 0 0 24px; line-height: 1.2; }
.refs { display: flex; flex-wrap: wrap; gap: 16px; }
.ref { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 10px 10px 12px; width: fit-content; max-width: 100%; }
.ref-logo { background: #000; border-radius: 8px; padding: 4px 8px; margin: 0 0 10px; display: grid; place-items: center; width: 150px; max-width: 100%; }
.ref-logo img { display: block; width: 100%; height: auto; }
.ref-id { display: flex; flex-direction: column; gap: 0; margin: 0; padding: 0 2px; }
.ref-name { font-family: var(--f-display); font-size: 16px; color: var(--navy); line-height: 1.3; }
.ref-place { font-size: 13px; color: var(--muted); }

/* Formulaire */
#status { min-height: 1.4em; font-size: 15px; margin: 0; color: #fff; }
#status.ok { color: #b9e4c9; }
#status.err { color: #ffd0c8; }
.cform button[disabled] { opacity: .6; cursor: progress; }
.contact .alt { font-family: var(--f-mono); }
.cform .hp label { position: static; }

.facts { margin-top: 0; }
.steps + .facts, .steps + .others { margin-top: 56px; }
.limits ul li strong:only-child { display: inline; }
.sub404 { padding: clamp(80px, 14vw, 160px) 0; }
.legal a { text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .axe { transition: none; } }

@media (max-width: 900px) { .btn + .btn.ghost { margin: 12px 0 0; } }

.hero h1 { font-size: clamp(34px, 5vw, 60px); }

/* Resserrage des espaces (v2) */
.hero { padding: 80px 0 56px; }
.hero::after { width: 520px; height: 520px; top: 20px; right: -100px; opacity: .08; }
.hero p.lead { margin: 24px 0 32px; font-size: 21px; }
.proof { margin-top: 36px; padding-top: 20px; }
.proof span { font-size: 14px; color: var(--ink); opacity: .78; }
section { padding: 72px 0; }
section.trust { padding: clamp(32px, 4vw, 44px) 0; }
.trust-title { margin: 0 0 18px; }
.axes, .pains, .steps { margin-top: 36px; }
.axe { padding: 26px 26px 22px; }
.axe .num { margin-bottom: 24px; }
.axe p, .pain p, .step p { font-size: 16.5px; }
.pain { padding-top: 22px; }
.limits { gap: 56px; }
.limits li { padding: 15px 0 15px 36px; font-size: 18px; }
.faq { margin-top: 32px; }
.contact { padding: 72px 0; }
.contact .alt, .contact a[href^="mailto"] { font-size: 15px; }
.page-hero { padding: 64px 0 48px; }
.facts { margin-top: 36px; }
.legal { padding-bottom: 72px; }
@media (max-width: 900px) {
  .hero { padding: 48px 0 40px; }
  .hero::after { width: 300px; height: 300px; }
  section { padding: 48px 0; }
  .contact { padding: 48px 0; }
  .page-hero { padding: 40px 0 36px; }
}
