/* =========================================================
   Égale. — site sobre pour la préparation à la négociation
   ========================================================= */

:root {
  color-scheme: light;

  --bg: #fbf8f6;
  --surface: #ffffff;
  --soft: #f6ebe8;
  --ink: #2e2330;
  --muted: #6f6270;
  --line: #e9dcd8;
  --accent: #8a4a6d;
  --accent-deep: #66344f;
  --accent-soft: #f6e7ec;
  --accent-line: #e8cdd9;
  --accent-tint: #f1dce5;
  --on-deep: #f3dfe6;
  --on-deep-muted: #e8d3dd;
  --on-deep-hover: #f6e9ee;
  --peach: #e9b7a8;
  --bronze: #97513f;
  --glow: rgba(233, 183, 168, .32);
  --focus-ring: rgba(233, 183, 168, .45);
  --radius: 18px;
  --max-width: 1160px;
  --header-h: 72px;
  --shadow: 0 1px 2px rgba(46, 35, 48, .04), 0 18px 44px -12px rgba(46, 35, 48, .12);
}

/* Variante « Sauge » : ajouter data-theme="sauge" sur <html> pour l'activer */
:root[data-theme="sauge"] {
  --bg: #fbf9f5;
  --soft: #eef1ea;
  --ink: #23302b;
  --muted: #5e6e66;
  --line: #dde3d8;
  --accent: #4d6b5c;
  --accent-deep: #34503f;
  --accent-soft: #e6eee8;
  --accent-line: #cfdcd3;
  --accent-tint: #d9e6dd;
  --on-deep: #e3efe7;
  --on-deep-muted: #d3e3d9;
  --on-deep-hover: #eef6f0;
  --peach: #f2c4a8;
  --bronze: #8a5a3c;
  --glow: rgba(242, 196, 168, .32);
  --focus-ring: rgba(242, 196, 168, .5);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
svg { width: 100%; height: 100%; }
[hidden] { display: none !important; }

::selection { background: var(--accent-soft); color: var(--accent-deep); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.14;
  margin: 0;
}
h1 { font-size: clamp(2.8rem, 5.6vw, 4.9rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

em {
  font-style: italic;
  color: var(--accent);
}

p { margin: 0; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: 24px;
}
.eyebrow-line {
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--accent);
}

.section { padding: 104px 0; }
.section-head { max-width: 730px; margin-bottom: 54px; }
.section-intro {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 600px;
  margin-top: 22px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn span[aria-hidden] { transition: transform .2s; }
.btn:hover span[aria-hidden] { transform: translateX(4px); }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn.is-active { background: var(--accent); color: #fff; }
.btn.is-active:hover { background: var(--accent-deep); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .84rem; }
.btn-full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--accent);
  font-weight: 600;
  font-size: .92rem;
}
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

.sample-link { margin-top: 38px; text-align: center; }
.sample-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: .9rem;
  font-weight: 600;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
.sample-link a span { transition: transform .2s; }
.sample-link a:hover span { transform: translate(2px, -2px); }

/* ---------- Notice + header ---------- */
.notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px 16px;
  background: var(--accent-deep);
  color: var(--on-deep);
  font-size: .76rem;
  letter-spacing: .02em;
  text-align: center;
}
.notice-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--peach);
  flex: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(251, 248, 246, .95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 12px rgba(46,35,48,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: -.055em;
  flex: none;
  line-height: 0;
}
.brand-logo { display: block; width: 150px; height: auto; }
.footer-brand .brand-logo { width: 168px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav > a:not(.btn) {
  font-size: .86rem;
  color: var(--muted);
  transition: color .2s;
}
.main-nav > a:not(.btn):hover { color: var(--accent); }
.nav-cta { margin-left: 2px; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  flex: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.lang-btn {
  border: 0;
  border-radius: 100px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 10px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.lang-btn:hover { color: var(--accent); }
.lang-btn.active { background: var(--accent); color: #fff; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  padding: 11px 10px;
}
.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform .25s, opacity .2s;
}
.menu-toggle span + span { margin-top: 6px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 90px 0 0; position: relative; overflow: hidden; }
.hero::after {
  content: "";
  position: absolute;
  top: -180px;
  right: -140px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 78px;
}
.hero-text {
  margin-top: 26px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
}
.hero-text strong { color: var(--ink); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-note { margin-top: 24px; color: var(--muted); font-size: .78rem; }

.hero-visual { position: relative; padding: 16px 20px; }
.paper {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 40px 42px 30px;
  box-shadow: var(--shadow);
}
.paper::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(233, 220, 216, .7);
  border-radius: 15px;
  pointer-events: none;
}
.paper-top { display: flex; justify-content: space-between; align-items: flex-start; }
.paper-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .16em; color: var(--bronze); }
.paper-stamp {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: "Fraunces", Georgia, serif;
  font-size: .82rem;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-9deg);
}
.paper-title { margin-top: 26px; font-size: 2.35rem; }
.paper-rule { width: 48px; height: 1px; background: var(--accent); margin: 22px 0 8px; }
.paper-list { list-style: none; margin: 0; padding: 0; }
.paper-list li {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.paper-list li:last-child { border-bottom: 0; }
.paper-num { font-family: "Fraunces", Georgia, serif; color: var(--accent); font-size: .95rem; padding-top: 2px; }
.paper-list strong { display: block; font-size: .92rem; font-weight: 600; }
.paper-list small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
.paper-quote {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--accent-soft);
  border-radius: 14px;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-size: .95rem;
  color: var(--accent-deep);
}
.paper-foot { margin-top: 22px; font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.hero-side-note {
  position: absolute;
  right: -14px;
  top: 40%;
  writing-mode: vertical-rl;
  font-size: .62rem;
  letter-spacing: .24em;
  color: rgba(46,35,48,.3);
}

.trust-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-strip p { color: var(--ink); font-size: .84rem; font-weight: 600; }
.trust-items { display: flex; flex-wrap: wrap; gap: 26px; }
.trust-items span { color: var(--muted); font-size: .78rem; }
.trust-items span::before { content: "—"; color: var(--accent); margin-right: 8px; }

/* ---------- Constat ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.problem-card { border-top: 1px solid var(--line); padding-top: 26px; }
.problem-index { font-family: "Fraunces", Georgia, serif; color: var(--accent); font-size: 1.1rem; }
.problem-card h3 { margin: 14px 0 10px; }
.problem-card p { color: var(--muted); font-size: .92rem; }

.callout {
  margin-top: 52px;
  padding: 34px 38px;
  background: var(--soft);
  border-left: 3px solid var(--peach);
  border-radius: 0 18px 18px 0;
}
.callout p {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  max-width: 880px;
}

/* ---------- Méthode ---------- */
.method { background: var(--surface); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.step { padding: 30px 26px 0 0; border-right: 1px solid var(--line); }
.step:last-child { border-right: 0; padding-right: 0; }
.step + .step { padding-left: 26px; }
.step-num { display: block; font-family: "Fraunces", Georgia, serif; font-size: 1.9rem; color: var(--accent); line-height: 1; }
.step h3 { margin: 22px 0 10px; font-size: 1.18rem; }
.step p { color: var(--muted); font-size: .88rem; }

/* ---------- Livrables ---------- */
.deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliverable {
  padding: 36px 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.deliverable:hover { border-color: var(--accent); transform: translateY(-4px); }
.deliverable-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 26px;
}
.deliverable h3 { margin-bottom: 12px; }
.deliverable p { color: var(--muted); font-size: .9rem; }

.difference { margin-top: 64px; padding-top: 38px; border-top: 1px solid var(--line); }
.difference h3 { font-size: 1.45rem; margin-bottom: 30px; }
.difference-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.difference-grid strong { display: block; font-size: .9rem; color: var(--accent); margin-bottom: 8px; }
.difference-grid span { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- Pourquoi m'écrire ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  padding: 34px 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.why-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.why-card:last-child { grid-column: 1 / -1; }
.why-num { font-family: "Fraunces", Georgia, serif; color: var(--accent); font-size: 1.15rem; }
.why-card h3 { margin: 16px 0 10px; font-size: 1.2rem; }
.why-card p { color: var(--muted); font-size: .9rem; }
.why-cta {
  margin-top: 42px;
  padding: 34px 38px;
  background: var(--accent-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.why-cta p { font-family: "Fraunces", Georgia, serif; font-size: 1.25rem; margin: 0; }
.why-cta .text-link { margin-top: 12px; }
.hesitations { max-width: 860px; margin-top: 56px; }
.hesitations h3 { font-family: "Fraunces", Georgia, serif; font-size: 1.45rem; margin-bottom: 24px; }

/* ---------- Démo ---------- */
.demo { background: var(--soft); }
.demo-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.demo-fine { margin-top: 20px; color: var(--muted); font-size: .78rem; font-style: italic; }

.demo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow);
}
.demo-card fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.demo-card legend {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.1rem;
}
.demo-card legend span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Inter", sans-serif;
  font-size: .68rem;
  font-weight: 700;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-row .form-field { margin-bottom: 0; }
.form-field label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: 8px; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="number"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: .9rem;
  transition: border-color .2s, box-shadow .2s;
}
textarea { resize: vertical; min-height: 118px; }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--focus-ring);
}
::placeholder { color: #a79b96; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236f6270' stroke-width='1.7'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 38px; }
option { background: var(--surface); color: var(--ink); }
.field-error { display: block; min-height: 1px; margin-top: 5px; color: #a13b46; font-size: .74rem; }
.form-field.invalid input, .form-field.invalid textarea { border-color: #a13b46; }

/* Résultat de la démo */
.demo-result { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.result-kicker { font-size: .66rem; font-weight: 700; letter-spacing: .16em; color: var(--bronze); }
.result-header h3 { margin-top: 6px; font-size: 1.4rem; }
.reset-demo {
  background: none;
  border: 0;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tabs { display: flex; gap: 24px; margin-top: 24px; border-bottom: 1px solid var(--line); }
.tab {
  padding: 0 2px 12px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: -1px;
}
.tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-panel { padding-top: 24px; }

.arg-head h4 { margin-bottom: 8px; }
.arg-lead { color: var(--muted); font-size: .88rem; margin-bottom: 22px; }
.arg-section { border-left: 2px solid var(--accent-soft); padding-left: 18px; margin-bottom: 22px; }
.arg-section h5 { margin: 0 0 8px; font-family: "Inter", sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.arg-section p, .arg-section li { color: var(--ink); font-size: .88rem; }
.arg-section ul { margin: 6px 0 0; padding-left: 18px; }
.arg-section li { margin-bottom: 5px; }
.arg-meta { padding: 14px 18px; background: var(--accent-soft); border-radius: 14px; font-size: .86rem; }
.arg-close { margin-top: 18px; color: var(--muted); font-size: .84rem; font-style: italic; }

.mail-preview {
  white-space: pre-wrap;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: .86rem;
  line-height: 1.75;
}
.copy-btn {
  margin-top: 14px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
}
.copy-btn:hover { border-color: var(--accent); }

.objection { border-bottom: 1px solid var(--line); padding: 16px 0; }
.objection:first-child { padding-top: 0; }
.objection:last-child { border-bottom: 0; }
.objection-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  text-align: left;
  font-family: "Fraunces", Georgia, serif;
  font-size: .98rem;
}
.objection-q span:last-child { color: var(--accent); font-family: "Inter", sans-serif; font-size: 1.1rem; }
.objection-body { padding-top: 14px; }
.objection-body p { font-size: .86rem; color: var(--muted); }
.objection-body p strong { color: var(--ink); font-weight: 600; }
.practice-label { display: block; margin-top: 16px; font-size: .78rem; font-weight: 600; }
.objection-body textarea { min-height: 74px; margin-top: 8px; font-size: .84rem; }
.checklist { margin: 16px 0 0; padding: 0; list-style: none; }
.checklist li { font-size: .8rem; color: var(--muted); margin-bottom: 6px; }
.checklist li::before { content: "□ "; color: var(--accent); font-size: 1rem; }

/* ---------- Tarifs ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 820px; margin-inline: auto; }
.price-card {
  position: relative;
  padding: 40px 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
}
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 42%), var(--surface); }
.price-tag {
  position: absolute;
  top: -12px;
  left: 32px;
  padding: 4px 14px;
  border-radius: 100px;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 600;
}
.price-card h3 { font-size: 1.55rem; }
.price-sub { color: var(--muted); font-size: .84rem; margin-top: 6px; }
.price { margin: 24px 0 6px; font-family: "Fraunces", Georgia, serif; font-size: 2.9rem; letter-spacing: -.04em; line-height: 1; }
.price-card ul { list-style: none; margin: 22px 0 30px; padding: 22px 0 0; border-top: 1px solid var(--line); flex: 1; }
.price-card li { position: relative; padding-left: 24px; font-size: .88rem; color: var(--muted); margin-bottom: 11px; }
.price-card li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.price-note { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 32px; }
.price-addon {
  max-width: 820px;
  margin: 22px auto 0;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.price-addon strong { font-family: "Fraunces", Georgia, serif; font-size: 1.2rem; font-weight: 500; }
.price-addon p { color: var(--muted); font-size: .84rem; line-height: 1.6; margin-top: 5px; }
.price-addon .btn { flex: none; font-size: .82rem; padding: 12px 20px; }
.btn.is-pending { opacity: .55; cursor: not-allowed; }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); }
.faq-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.03rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-plus { position: relative; width: 24px; height: 24px; flex: none; border: 1px solid var(--line); border-radius: 50%; }
.faq-plus::before, .faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  transition: transform .25s;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer { padding: 0 40px 24px 0; }
.faq-answer p { color: var(--muted); font-size: .89rem; }

/* ---------- Commande ---------- */
.commande { background: var(--accent-deep); color: #fbf8f6; padding: 96px 0; text-align: center; }
.commande-inner { max-width: 760px; }
.commande .eyebrow { justify-content: center; color: var(--on-deep); }
.commande .eyebrow-line { background: var(--on-deep); }
.commande h2 em { color: var(--on-deep); }
.commande p:not(.eyebrow) { color: var(--on-deep-muted); margin: 24px auto 32px; max-width: 560px; font-size: .96rem; }
.commande .btn { background: #fbf8f6; color: var(--accent-deep); }
.commande .btn:hover { background: var(--on-deep-hover); }
.commande-inner { max-width: 820px; }

.commande-form {
  margin-top: 36px;
  padding: 32px 34px 26px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
}
.checkout-card { border: 1px solid var(--accent-line); box-shadow: 0 18px 44px rgba(102, 52, 79, .13); }
.checkout-card + .commande-form { margin-top: 24px; }
.checkout-card .check-row a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }
.commande-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.commande-form .form-field { margin-bottom: 16px; }
.commande-form .form-field label { color: var(--ink); }
.commande-form .form-legal { color: var(--muted); font-size: .72rem; text-align: center; margin-top: 14px; }
.commande-form .form-legal strong { color: var(--ink); font-weight: 600; }
.commande-form .btn { background: var(--accent); color: #fff; }
.commande-form .btn:hover { background: var(--accent-deep); }

/* Reprise des <p> du formulaire sur la règle générique .commande p:not(.eyebrow) */
.commande .commande-form p { margin: 0; max-width: none; color: var(--ink); font-size: .84rem; }

.commande .commande-form .addon-field {
  padding: 16px 18px;
  color: var(--ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--peach);
  border-radius: 14px;
  transition: background .2s, border-color .2s;
}
.commande .commande-form .addon-field.is-checked { background: var(--accent-tint); border-color: var(--accent); }
.check-row { display: flex; align-items: center; gap: 10px; margin-bottom: 0; cursor: pointer; }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.check-row span { color: var(--ink); font-size: .9rem; font-weight: 600; }
.check-row strong { color: var(--accent-deep); font-size: .95rem; font-weight: 700; }
.commande .commande-form .field-hint { color: var(--accent-deep); font-size: .8rem; font-weight: 500; line-height: 1.55; margin: 8px 0 0 28px; }
.commande .commande-form .order-total {
  margin: 0 0 18px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--accent-line);
  border-left: 4px solid var(--peach);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(102, 52, 79, .08);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent-deep);
}
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.commande .commande-form .form-status { color: var(--muted); text-align: left; margin: 14px 0 0; min-height: 1.2em; font-size: .84rem; }
.commande .commande-form .form-status.ok { color: var(--accent); }
.commande .commande-form .form-status.err { color: #a13b46; }
.commande .commande-form .form-legal { color: var(--muted); font-size: .72rem; text-align: center; margin-top: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); padding: 66px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 44px; padding-bottom: 46px; }
.footer-brand p { color: var(--muted); font-size: .86rem; max-width: 280px; margin-top: 14px; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; }
.footer-nav h4 { font-family: "Inter", sans-serif; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); margin-bottom: 6px; }
.footer-nav a, .footer-nav span { color: var(--muted); font-size: .84rem; }
.footer-nav a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .76rem;
}
.footer-bottom div { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--accent); }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .25s, transform .25s;
}
.to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.to-top:hover { background: var(--accent); color: #fff; }

/* ---------- Pages légales ---------- */
.legal-hero { padding: 92px 0 54px; border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 760px; }
.legal-lead { color: var(--muted); font-size: 1.02rem; max-width: 660px; margin-top: 20px; }

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  padding: 64px 0 110px;
  align-items: start;
}
.legal-nav {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.legal-nav h4 {
  font-family: "Inter", sans-serif;
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 12px;
}
.legal-nav a { font-size: .86rem; color: var(--muted); padding: 6px 0; }
.legal-nav a:hover, .legal-nav a.current { color: var(--accent); font-weight: 600; }
.legal-nav .back-link { margin-top: 16px; color: var(--accent); font-weight: 600; }

.legal-article { max-width: 760px; }
.legal-article section + section { margin-top: 48px; }
.legal-article h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 16px; }
.legal-article p { color: var(--muted); margin-bottom: 14px; }
.legal-article a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-note {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--accent-deep);
  font-size: .88rem;
  margin-bottom: 42px;
}
.legal-updated {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid, .demo-grid, .faq-grid { gap: 44px; }
  .main-nav { gap: 20px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(3), .step:nth-child(4) { padding-top: 28px; border-top: 1px solid var(--line); }
  .hero-side-note { display: none; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px 40px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.btn) { padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--ink); }
  .nav-cta { margin-top: 22px; align-self: flex-start; }
  .menu-toggle { display: block; z-index: 2; }

  .hero-grid, .demo-grid, .faq-grid, .problem-grid, .deliverables-grid, .difference-grid, .price-grid, .why-grid { grid-template-columns: 1fr; }
  .why-card:last-child { grid-column: auto; }
  .hero { padding-top: 70px; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .trust-strip { flex-direction: column; align-items: flex-start; }
  .section { padding: 82px 0; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .step, .step + .step { border-right: 0; border-top: 1px solid var(--line); padding: 26px 0 0; }
  .price-grid { max-width: 560px; }
  .price-addon { flex-direction: column; align-items: flex-start; }
  .price-addon .btn { width: 100%; }

  .legal-layout { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 80px; }
  .legal-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px 20px;
    border-left: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 16px;
  }
  .legal-nav h4 { width: 100%; margin-bottom: 0; }
  .legal-nav .back-link { margin-top: 0; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 32px, var(--max-width)); }
  .brand-logo { width: 124px; }
  h1 { font-size: clamp(2.5rem, 10.5vw, 3.3rem); }
  .hero-actions .btn { width: 100%; }
  .notice { font-size: .7rem; }
  .paper { padding: 30px 24px 24px; }
  .paper-title { font-size: 2rem; }
  .paper-stamp { width: 52px; height: 52px; font-size: .72rem; }
  .demo-card { padding: 26px 20px; }
  .commande-form { padding: 26px 20px 22px; }
  .form-row, .commande-form .form-row { grid-template-columns: 1fr; gap: 0; }
  .callout { padding: 26px 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom div { flex-wrap: wrap; gap: 12px 18px; }
  .tabs { gap: 18px; }

  .legal-hero { padding: 64px 0 40px; }
  .legal-nav { gap: 8px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
