:root {
  --bg: #f8faf9;
  --card: #ffffff;
  --ink: #1f2937;
  --muted: #5b6573;
  --line: #e5e7eb;
  --green: #059669;
  --green-dark: #047857;
  --deep: #064e3b;
  --soft: #d1fae5;
  --safran: #fcd34d;
  --safran-ink: #78350f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.2; margin: 0; color: var(--deep); letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 7vw, 52px); }
h2 { font-size: clamp(25px, 5vw, 36px); }
h3 { font-size: 19px; }
p { margin: 0; }
section { padding: 56px 0; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--deep); font-size: 13px; font-weight: 600; }
.lead { margin-top: 16px; font-size: 19px; color: var(--muted); max-width: 34em; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 10; background: rgba(248, 250, 249, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--deep); font-weight: 700; font-size: 21px; }
.brand svg { width: 34px; height: 34px; }
nav.links { display: flex; align-items: center; gap: 18px; font-size: 15px; }
nav.links a.plain { color: var(--ink); text-decoration: none; display: none; }
nav.links a.plain:hover { color: var(--green-dark); }
@media (min-width: 760px) { nav.links a.plain { display: inline; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 12px; border: 2px solid transparent; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: transparent; color: var(--deep); border-color: #a7c4b8; }
.btn-ghost:hover { background: var(--soft); }
.btn-small { padding: 9px 16px; font-size: 15px; }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--safran); outline-offset: 2px; }

/* Héros */
.hero { padding: 44px 0 56px; }
.hero .grid { display: grid; gap: 36px; align-items: center; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }
@media (min-width: 860px) { .hero .grid { grid-template-columns: 1.15fr 0.85fr; } }
.phone { margin: 0 auto; width: min(300px, 82vw); padding: 10px; border-radius: 34px; background: var(--deep); box-shadow: 0 24px 50px -18px rgba(6, 78, 59, 0.55); }
.phone img { border-radius: 24px; width: 100%; height: auto; background: var(--deep); }

/* Bénéfices */
.benefits { background: var(--deep); color: #ecfdf5; }
.benefits h2 { color: #fff; }
.benefits .cards { display: grid; gap: 18px; margin-top: 30px; }
.benefit { padding: 22px; border-radius: 16px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.14); }
.benefit h3 { color: var(--safran); margin-bottom: 8px; }
.benefit p { color: #d1fae5; font-size: 16px; }
@media (min-width: 760px) { .benefits .cards { grid-template-columns: repeat(3, 1fr); } }

/* Étapes */
.steps { display: grid; gap: 40px; margin-top: 34px; }
.step { display: grid; gap: 22px; align-items: center; }
.step .num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--muted); margin-top: 8px; }
.step .shot { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--deep); box-shadow: 0 14px 34px -22px rgba(6, 78, 59, 0.6); max-width: 420px; }
.step .shot img { width: 100%; height: auto; }
@media (min-width: 860px) {
  .step { grid-template-columns: 1fr 1fr; gap: 48px; }
  .step:nth-child(even) .text { order: 2; }
  .step .shot { justify-self: center; }
}

/* Fonctionnalités */
.features-bg { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features { display: grid; gap: 16px; margin-top: 30px; }
.feature { padding: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.feature h3 { font-size: 17px; margin-bottom: 6px; }
.feature p { font-size: 15.5px; color: var(--muted); }
.tag { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: var(--safran-ink); font-size: 12px; font-weight: 600; vertical-align: middle; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* Pour qui + démarrage */
.who { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.who span { padding: 8px 16px; border-radius: 999px; background: var(--soft); color: var(--deep); font-weight: 600; font-size: 15px; }
.start { display: grid; gap: 16px; margin-top: 28px; counter-reset: s; }
.start li { list-style: none; position: relative; padding: 20px 20px 20px 66px; border-radius: 14px; background: #fff; border: 1px solid var(--line); counter-increment: s; }
.start li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 32px; height: 32px; border-radius: 50%; background: var(--safran); color: var(--safran-ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.start strong { display: block; color: var(--deep); margin-bottom: 2px; }
.start p { color: var(--muted); font-size: 16px; }
ol.start { padding: 0; margin-bottom: 0; }
@media (min-width: 860px) { ol.start { grid-template-columns: repeat(3, 1fr); } }

/* Tarifs */
.pricing { display: grid; gap: 18px; margin-top: 28px; }
.plan { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.plan.main { border: 2px solid var(--green); }
.plan h3 { font-size: 20px; }
.plan .price { margin: 10px 0 2px; font-size: 38px; font-weight: 700; color: var(--deep); line-height: 1.1; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .sub { color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 16px; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.plan .badge { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 999px; background: #fef3c7; color: var(--safran-ink); font-size: 12px; font-weight: 600; }
.price-note { margin-top: 18px; color: var(--muted); font-size: 15.5px; max-width: 46em; }
.pricing.three { grid-template-columns: 1fr; }
.pricing.mini { grid-template-columns: 1fr 1fr; gap: 12px; }
.pricing.mini .plan { padding: 18px 16px; }
.pricing.mini .price { font-size: 26px; }
.price-h { margin: 38px 0 0; font-size: 20px; color: var(--deep); }
.price-h small { font-weight: 400; color: var(--muted); font-size: 15px; }
.plan.pop { border: 2px solid var(--green); }
@media (min-width: 760px) { .pricing { grid-template-columns: 1fr 1fr; } .pricing.three { grid-template-columns: repeat(3, 1fr); } .pricing.mini { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { margin-top: 26px; display: grid; gap: 10px; max-width: 760px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
details[open] { padding-bottom: 14px; }
summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--deep); display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--green); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); font-size: 16px; }

/* Appel final */
.final { background: var(--green); color: #fff; text-align: center; }
.final h2 { color: #fff; }
.final p { margin: 14px auto 26px; max-width: 32em; color: #ecfdf5; }
.final .btn-primary { background: #fff; color: var(--deep); }
.final .btn-primary:hover { background: var(--safran); }
.final small { display: block; margin-top: 16px; color: #d1fae5; font-size: 14px; }
.final small a { color: #fff; }

footer { padding: 30px 0 40px; font-size: 14.5px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer a { color: var(--muted); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Accueil : trois étapes, exemples */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.three-steps { padding: 8px 0 40px; }
.steps3 { display: grid; gap: 16px; }
.steps3 article { padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.steps3 .num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--safran); color: var(--safran-ink); font-weight: 700; margin-bottom: 12px; }
.steps3 h3 { margin-bottom: 8px; }
.steps3 p { color: var(--muted); font-size: 16px; }
@media (min-width: 760px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.benefits .cards.four { grid-template-columns: 1fr; }
@media (min-width: 760px) { .benefits .cards.four { grid-template-columns: repeat(2, 1fr); } }
.examples { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quotes { display: grid; gap: 16px; margin-top: 26px; }
.quotes figure { margin: 0; padding: 22px 22px 18px 26px; border-left: 5px solid var(--safran); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; gap: 14px; }
.quotes blockquote { margin: 0; font-size: 18px; line-height: 1.5; color: var(--ink); }
.quotes figcaption { margin-top: auto; font-size: 15px; color: var(--muted); }
.quotes figcaption b { color: var(--deep); }
.quotes b { color: var(--deep); }
@media (min-width: 860px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Tarifs : bascule mensuel / annuel */
.toggle { display: flex; width: fit-content; max-width: 100%; margin: 22px auto 0; gap: 4px; padding: 4px; border-radius: 999px; background: #e3ebe7; }
.toggle button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 16px; color: var(--muted); cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--deep); box-shadow: 0 1px 4px rgba(6, 78, 59, 0.2); }
.toggle button:focus-visible { outline: 3px solid var(--safran); outline-offset: 2px; }
.toggle .gift { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: #fef3c7; color: var(--safran-ink); font-size: 12px; font-weight: 600; }
.plan .eq { display: none; margin: 2px 0 6px; font-size: 14px; font-weight: 600; color: var(--green-dark); }
body.annual .plan .eq { display: block; }

/* Exemples : étiquette, titre, citation, signature */
.quotes .q-label { margin: 0; color: #92400e; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.quotes .q-title { margin: 0; font-size: 20px; color: var(--deep); line-height: 1.25; }
.quotes blockquote { font-size: 17px; color: var(--muted); }

/* Appel final : phrase d'accroche en gras, puis texte */
.final p.strong { margin: 14px auto 6px; font-weight: 700; font-size: 19px; color: #fff; }
.final p.strong + p { margin-top: 0; }

/* Coupures de lignes plus harmonieuses */
h1, h2, h3, .lead, .sec-sub, .pdesc { text-wrap: balance; }
p, blockquote, li { text-wrap: pretty; }
