/* Variante C — « Pratique / preuve » */
:root {
  --bg: #FFFFFF; --soft: #F2F6F5; --card: #FFFFFF; --line: #D5DFDD; --line2: #E6EDEB;
  --ink: #0F1B1E; --ink2: #44545A; --ink3: #5F6F75;
  --teal: #0F766E; --teal-d: #0B5F58; --teal-soft: #E1F2EF; --amber-bg: #FFF6E5; --amber-line: #F0D49B; --amber-ink: #7A4A00;
  --no: #9AA7AB; --paper: #FFFFFF;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--ink); background: var(--bg);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0E1416; --soft: #141C1F; --card: #172124; --line: #2A3A3E; --line2: #223034;
    --ink: #E8F0EF; --ink2: #B2C2C5; --ink3: #93A5A9;
    --teal: #3CC4B3; --teal-d: #5ED6C7; --teal-soft: #15302D; --amber-bg: #2A2112; --amber-line: #5C4520; --amber-ink: #F3C77A;
    --no: #5D6E72; --paper: #F7F9F9;
  }
}
* { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { margin: 0; background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.55; font-variant-numeric: tabular-nums; }
a { color: var(--teal); }
img { max-width: 100%; display: block; }
.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.nowrap { white-space: nowrap; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 62px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 7px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--ink2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.nav nav a:hover { color: var(--teal); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn { margin-left: auto; } }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 650; font-size: 15.5px; text-decoration: none;
  padding: 13px 22px; border-radius: 8px; border: 0; cursor: pointer; background: var(--teal); color: #fff; }
.btn:hover { background: var(--teal-d); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn.small { padding: 8px 14px; font-size: 14px; }
@media (prefers-color-scheme: dark) { .btn { color: #062724; } .btn.ghost { color: var(--ink); } }

/* Héros */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--soft), var(--bg) 70%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin: 0 0 14px; }
h1 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.08; letter-spacing: -.025em; font-weight: 750; margin: 0 0 20px; }
.lead { font-size: 18px; color: var(--ink2); margin: 0 0 28px; }
.cta { display: flex; gap: 10px; flex-wrap: wrap; }
.fine { font-size: 13.5px; color: var(--ink3); }
.hero .fine { margin: 14px 0 0; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 480px) { .cta { flex-direction: column; } .hero { padding-top: 40px; } }

/* Badges de confiance */
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.badges li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); font-size: 14px; font-weight: 600; line-height: 1.3; }
.badges svg { flex: none; color: var(--teal); }
.badges small { display: block; font-weight: 400; color: var(--ink3); font-size: 12.5px; }
@media (max-width: 420px) { .badges { grid-template-columns: minmax(0, 1fr); } }

/* Visuel : capture + aperçu d'export */
.visual { position: relative; padding-bottom: 90px; }
.visual .screen { border-radius: 10px; border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgba(15, 40, 45, .45); overflow: hidden; background: #fff; }
.visual .screen img { width: 100%; height: auto; }
.paper { position: absolute; left: -24px; bottom: 0; width: min(380px, 78%); background: var(--paper); color: #10191B; border-radius: 6px; padding: 16px 16px 14px;
  border: 1px solid #CBD6D4; box-shadow: 0 30px 60px -24px rgba(15, 40, 45, .55); font-size: 10.5px; }
.paper .ph { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid #10191B; padding-bottom: 6px; margin-bottom: 6px; }
.paper .ph b { font-size: 12px; }
.paper .ph span { color: #55666B; font-size: 10px; white-space: nowrap; }
.paper table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.paper th, .paper td { text-align: left; padding: 4px 4px; border-bottom: 1px solid #E1E7E6; vertical-align: top; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.paper th { font-weight: 700; }
.paper col.d { width: 31%; } .paper col.s { width: 15%; }
.stamp { position: absolute; right: -10px; top: -14px; background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 5px; }
@media (prefers-color-scheme: dark) { .stamp { color: #062724; } }
@media (max-width: 960px) { .paper { left: 12px; } }
@media (max-width: 560px) {
  .visual { padding-bottom: 0; }
  .paper { position: relative; left: auto; bottom: auto; width: calc(100% - 24px); margin: -28px auto 0; }
  .paper col.c, .paper .c { display: none; }
  .paper col.d { width: 38%; } .paper col.s { width: 18%; }
}

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--soft); border-block: 1px solid var(--line2); }
.sh { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: 40px; }
.sh p { margin: 0; color: var(--ink2); font-size: 17px; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.02em; font-weight: 750; margin: 0; }
@media (max-width: 760px) { .sh { grid-template-columns: minmax(0, 1fr); } section { padding: 64px 0; } }

/* Usages */
.uses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.use { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: var(--card); }
.use .ic { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.use h3 { font-size: 17px; margin: 14px 0 6px; }
.use p { margin: 0; color: var(--ink2); font-size: 15px; }
@media (max-width: 980px) { .uses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .uses { grid-template-columns: minmax(0, 1fr); } }
.notice { display: flex; gap: 14px; margin-top: 20px; padding: 16px 18px; border-radius: 10px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--amber-ink); font-size: 15px; }
.notice svg { flex: none; margin-top: 2px; }
.notice p { margin: 0; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border: 1px solid var(--line); border-radius: 12px; background: var(--card); overflow: hidden; }
.steps li { counter-increment: s; padding: 28px 26px 30px; position: relative; }
.steps li + li { border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-size: 20px; font-weight: 800; margin-bottom: 16px; }
@media (prefers-color-scheme: dark) { .steps li::before { color: #062724; } }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink2); font-size: 15px; }
.steps .tagpro { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: var(--teal-soft); color: var(--teal); vertical-align: 2px; }
@media (max-width: 820px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* Fonctions */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.feat { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.feat h3 { font-size: 17px; margin: 0 0 6px; display: flex; align-items: center; gap: 10px; }
.feat h3 svg { color: var(--teal); flex: none; }
.feat p { margin: 0; color: var(--ink2); font-size: 15px; }
@media (max-width: 900px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .feats { grid-template-columns: minmax(0, 1fr); } .feat { padding-right: 0; } }

/* Tableau comparatif */
.table-wrap { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.compare { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line2); text-align: left; vertical-align: middle; }
.compare thead th { background: var(--soft); font-size: 14px; border-bottom: 1px solid var(--line); }
.compare thead .plan-name { display: block; font-size: 17px; }
.compare thead .plan-price { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.compare thead .plan-price small { font-size: 13px; font-weight: 500; color: var(--ink3); letter-spacing: 0; }
.compare .col { width: 22%; text-align: center; }
.compare .pro { background: var(--teal-soft); }
.compare thead .pro { background: var(--teal-soft); box-shadow: inset 0 3px 0 var(--teal); }
.compare tbody th { font-weight: 500; }
.compare tbody th small { display: block; color: var(--ink3); font-size: 13px; font-weight: 400; }
.yes, .no { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.yes { background: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .yes { color: #062724; } }
.no { color: var(--no); font-size: 20px; line-height: 1; }
.compare tfoot td, .compare tfoot th { border-bottom: 0; padding: 18px; }
.compare tfoot .btn { width: 100%; }
.mobile-cta { display: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pay { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; margin-top: 18px; color: var(--ink3); font-size: 14px; }
.pay span { display: inline-flex; align-items: center; gap: 7px; }
.pay svg { color: var(--teal); }
@media (max-width: 640px) {
  .compare { font-size: 14px; }
  .compare th, .compare td { padding: 11px 8px; }
  .compare tbody th { padding-left: 12px; }
  .compare .col { width: 24%; }
  .compare tfoot { display: none; }
  .mobile-cta { display: grid; gap: 10px; margin-top: 16px; }
  .compare thead .plan-name { font-size: 14px; }
  .compare thead .plan-price { font-size: 18px; }
  .compare thead .plan-price small { display: block; font-size: 11.5px; }
}

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px 56px; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 650; font-size: 16.5px; display: flex; gap: 14px; justify-content: space-between; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--teal), var(--teal)) center/14px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) center/2px 14px no-repeat; }
details[open] summary::after { background: linear-gradient(var(--teal), var(--teal)) center/14px 2px no-repeat; }
details > p, details > form { margin: 0 0 18px; color: var(--ink2); }
.recover { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.recover input { flex: 1 1 220px; min-width: 0; padding: 11px 13px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; }
.recover input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent; }
.recover .msg { width: 100%; font-size: 14px; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } }

footer { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--ink3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
footer p { margin: 0; }
footer a { color: var(--ink2); }
footer .fine { flex-basis: 100%; }

/* ---- Sélecteur de langue (en-tête) ---- */
.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 650; color: var(--ink2);
  padding: 6px 10px; border-radius: 8px; box-shadow: inset 0 0 0 1.5px var(--line); }
.langs summary::-webkit-details-marker { display: none; }
.langs[open] summary, .langs summary:hover { color: var(--teal); }
.langs div { position: absolute; right: 0; top: calc(100% + 6px); display: grid; min-width: 76px; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.25); z-index: 30; }
.langs div a { padding: 6px 10px; border-radius: 6px; color: var(--ink2); text-decoration: none; font-size: 14px; font-weight: 600; }
.langs div a:hover, .langs div a[aria-current] { background: var(--teal-soft); color: var(--teal-d); }
.nav nav a[aria-current] { color: var(--teal); }
@media (max-width: 760px) { .nav nav { display: none; } .langs { margin-left: auto; } }

/* ---- Pages de contenu (blog, FAQ, cas d'utilisation) ---- */
.wrap.narrow { width: min(760px, 100% - 32px); }
main.content { padding: 48px 0 0; }
.prose { font-size: 17.5px; line-height: 1.7; color: var(--ink); }
.prose h1 { font-size: clamp(30px, 4.6vw, 44px); line-height: 1.12; letter-spacing: -1px; margin: 6px 0 18px; }
.prose h2 { font-size: clamp(22px, 3vw, 28px); line-height: 1.25; letter-spacing: -.4px; margin: 42px 0 12px; }
.prose h3 { font-size: 20px; margin: 30px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; color: var(--ink2); }
.prose li { margin: 6px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--teal); text-underline-offset: 3px; }
.prose blockquote { margin: 22px 0; padding: 14px 18px; border-left: 4px solid var(--teal); background: var(--teal-soft);
  border-radius: 0 10px 10px 0; color: var(--ink); }
.prose blockquote p { margin: 0; color: var(--ink); }
.prose code { font: 15px ui-monospace, Menlo, monospace; background: var(--soft); padding: 1px 6px; border-radius: 5px; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); background: var(--soft); }
.prose .lead { font-size: 19px; color: var(--ink2); }
.prose .meta, .post .meta { font-size: 14px; color: var(--ink3); }
.prose .crumbs { margin: 0; font-size: 14.5px; font-weight: 600; }
.prose .crumbs a { text-decoration: none; }
.prose .crumbs a::before { content: "← "; }
.faq-list details { border-bottom: 1px solid var(--line); padding: 16px 2px; }
.faq-list summary { cursor: pointer; font-weight: 650; font-size: 18px; color: var(--ink); }
.faq-list details[open] summary { margin-bottom: 10px; }
.posts { display: grid; gap: 14px; margin-top: 28px; }
.post { display: block; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card);
  text-decoration: none; transition: border-color .15s, transform .15s; }
.post:hover { border-color: var(--teal); transform: translateY(-1px); }
.post h2 { margin: 6px 0 8px; font-size: 22px; color: var(--ink); letter-spacing: -.3px; }
.post p { margin: 0 0 10px; color: var(--ink2); font-size: 16px; line-height: 1.55; }
.post .more { font-weight: 650; color: var(--teal); font-size: 15px; }
.cta-box { margin-top: 64px; padding: 56px 0; background: var(--soft); border-top: 1px solid var(--line); text-align: center; }
.cta-box h2 { margin: 0 0 10px; font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -.5px; }
.cta-box p { color: var(--ink2); margin: 0 0 18px; }
.cta-box .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.langs summary::after, .langs summary::before { content: none !important; display: none !important; }
