/* ═══════════════════════════════════════════════════════════════════
   OrgGuardian : site vitrine (orgguardian.com)
   Système 2026 : éditorial technique. Marine profonde, accents cyan,
   données en mono, grille fine, zéro dégradé décoratif.
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Polices auto-hébergées ──────────────────────────────────────────
   Servies depuis notre domaine, jamais depuis fonts.gstatic.com : un
   produit qui vend « aucune donnée ne sort » ne fait pas résoudre l'IP
   de chaque visiteur par un tiers pour afficher son titre.
   Ce sont les fichiers VARIABLES de Google Fonts (SIL OFL 1.1) : un
   fichier par famille et par sous-ensemble couvre toutes les graisses,
   d'où le `font-weight` en intervalle. Un visiteur francophone ne
   télécharge que `latin` (104 972 o) ; `latin-ext` ne part sur le réseau
   que si un caractère d'Europe centrale apparaît réellement. */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/sora-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/sora-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(assets/fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(assets/fonts/jetbrains-mono-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink-900: #070b16;
  --ink-800: #0b1120;
  --ink-700: #101a30;
  --ink-600: #16223c;
  --line-d: #1d2a45;
  --paper: #f6f7f9;
  --card: #ffffff;
  --line-l: #e3e7ee;
  --text-d: #e9edf5;
  --muted-d: #8b9bb8;
  --text-l: #14213a;
  --muted-l: #5a6a84;
  --cyan: #22d3ee;
  --cyan-deep: #0e7490;
  --blue: #2563eb;
  --ok: #16a34a;
  --warn: #d97706;
  --crit: #dc2626;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --head: "Sora", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* L'en-tête est `sticky` sur 64px et TOUTE la navigation de la page repose
   sur des sauts d'ancre : sans réserve de défilement, la cible atterrit
   sous la barre. 84px = 64 de barre + 20 de respiration. */
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--text-l);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--cyan); color: var(--ink-900); }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 840px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink-800); color: #fff; padding: 10px 18px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Micro-étiquette mono : la signature du système */
.tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan-deep); display: inline-flex; align-items: center; gap: 8px;
}
.tag::before { content: "["; color: var(--muted-l); }
.tag::after { content: "]"; color: var(--muted-l); }
.tag.on-dark { color: var(--cyan); }
.tag.on-dark::before, .tag.on-dark::after { color: var(--muted-d); }
/* Remplace un style="justify-content:center" en dur : la CSP du site interdit
   les styles en ligne, et l'affaiblir pour une seule règle serait un mauvais
   échange sur un site qui vend la rigueur de sa posture. */
.tag-center { justify-content: center; }

/* ─── Nav ─────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,11,22,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-d);
}
.nav-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { border-radius: 8px; display: block; }
.brand-name { font-family: var(--head); font-weight: 700; font-size: 18px; color: #fff; letter-spacing: -.01em; }
.brand-name em { font-style: normal; color: var(--cyan); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--muted-d); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 10px; }
.nav-burger { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; color: #fff; }

/* ─── Boutons ─────────────────────────────────────────────────────── */
.btn {
  display: inline-block; padding: 10px 20px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan); color: var(--ink-900); }
.btn-primary:hover { background: #67e8f9; }
/* La bordure est le SEUL indice visuel de ce bouton : à var(--line-d) elle
   valait 1.38:1 sur le fond marine, donc l'affordance n'existait qu'au
   survol. #52628f vaut 3.28:1, au-dessus du seuil de 3.0 (WCAG 1.4.11). */
.btn-ghost-d { color: #fff; border-color: #52628f; background: transparent; }
.btn-ghost-d:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-outline { color: var(--ink-800); border-color: var(--ink-800); background: transparent; }
.btn-outline:hover { background: var(--ink-800); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 15.5px; border-radius: 9px; }

/* ─── Hero ────────────────────────────────────────────────────────── */
.hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(139,155,184,.14) 1px, transparent 0) 0 0/26px 26px,
    var(--ink-900);
  color: var(--text-d);
  border-bottom: 1px solid var(--line-d);
  padding: 110px 0 0;
}
.hero-in { max-width: 960px; }
.hero h1 {
  font-family: var(--head); font-weight: 700;
  font-size: clamp(40px, 5.8vw, 66px); line-height: 1.03; letter-spacing: -.028em;
  color: #fff; margin: 22px 0 24px;
}
.hero h1 .hl { color: var(--cyan); }
.lede { font-size: 19px; color: var(--muted-d); max-width: 700px; margin-bottom: 36px; }
.lede strong { color: var(--text-d); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-family: var(--mono); font-size: 12.5px; color: var(--muted-d); }

/* Capture produit dans le hero.
   Avant, le premier pixel de produit arrivait a ~2450px de defilement : la page
   parlait du produit pendant deux ecrans avant de le montrer. La capture est
   posee juste apres l accroche, de sorte que la bande de chiffres qui suit se
   lise comme la legende de ce qu on vient de voir. */
.hero-shot {
  margin: 48px 0 0;
  border: 1px solid var(--line-d);
  border-radius: 14px 14px 0 0;
  border-bottom: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 -1px 0 rgba(255,255,255,.06), 0 40px 80px -24px rgba(0,0,0,.55);
}
.hero-shot img { width: 100%; display: block; height: auto; aspect-ratio: 16 / 10; }

/* Bandeau de preuves chiffrées */
.proof {
  margin-top: 72px;
  border-top: 1px solid var(--line-d);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.proof > div { padding: 30px 28px 40px; border-left: 1px solid var(--line-d); }
.proof > div:first-child { border-left: 0; padding-left: 0; }
.proof .p-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-d); margin-bottom: 10px; }
.proof .p-v { font-family: var(--mono); font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; color: #fff; letter-spacing: -.02em; }
.proof .p-v .u { color: var(--cyan); }
.proof .p-s { font-size: 12.5px; color: var(--muted-d); margin-top: 6px; }
.proof-note { padding: 0 0 36px; font-size: 12px; color: var(--muted-d); font-family: var(--mono); }

/* ─── Sections ────────────────────────────────────────────────────── */
.section { padding: 100px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.section-dark {
  background:
    radial-gradient(circle at 1px 1px, rgba(139,155,184,.10) 1px, transparent 0) 0 0/26px 26px,
    var(--ink-800);
  color: var(--text-d);
  border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d);
}
h2 {
  font-family: var(--head); font-size: clamp(28px, 3.6vw, 42px); font-weight: 700;
  line-height: 1.1; letter-spacing: -.022em; color: var(--ink-800);
  margin: 18px 0 20px;
}
.section-dark h2 { color: #fff; }
.sec-lede { font-size: 17.5px; color: var(--muted-l); max-width: 720px; margin-bottom: 52px; }
.sec-lede strong { color: var(--text-l); }
.section-dark .sec-lede { color: var(--muted-d); }
.section-dark .sec-lede strong { color: var(--text-d); }

/* ─── Problème : 3 lectures ───────────────────────────────────────── */
.pains { border-top: 1px solid var(--line-l); }
.pain {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px;
  padding: 34px 0; border-bottom: 1px solid var(--line-l);
}
.pain .who { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-deep); padding-top: 6px; }
.pain h3 { font-family: var(--head); font-size: 21px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px; color: var(--ink-800); }
.pain p { color: var(--muted-l); font-size: 15.5px; max-width: 720px; }
.pain p em { color: var(--text-l); font-style: normal; font-weight: 600; }

/* ─── Showcase produit ────────────────────────────────────────────── */
.showcase { margin-bottom: 64px; }
.showcase-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.shot-tab {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .04em;
  padding: 11px 18px; border: 1px solid var(--line-l); border-bottom: 0;
  border-radius: 8px 8px 0 0; background: var(--paper); color: var(--muted-l);
  cursor: pointer; position: relative; top: 1px;
}
.shot-tab.is-active { background: #fff; color: var(--ink-800); border-top: 2px solid var(--cyan); }
.showcase-frame {
  border: 1px solid var(--line-l); border-radius: 0 12px 12px 12px;
  background: #fff; overflow: hidden;
}
/* Les captures sont desormais cadrees a la source en 1600x1000 (chrome Salesforce
   et badge « Scratch Org » retires, contenu utile conserve). Le recadrage CSS
   `max-height:640px + object-fit:cover` n'a donc plus lieu d'etre : au-dela de
   1024px de conteneur il amputait le bas de l'image, c'est-a-dire les trois
   tuiles KPI. `aspect-ratio` fige la place reservee -> zero decalage (CLS). */
.showcase-frame img { width: 100%; display: block; height: auto; aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line-l); }
.showcase-frame figcaption { padding: 18px 26px; font-size: 14.5px; color: var(--muted-l); }
.showcase-frame figcaption strong { color: var(--ink-800); }

/* ─── Bento capacités ─────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento > article {
  background: var(--card); border: 1px solid var(--line-l); border-radius: 14px;
  padding: 28px 26px; grid-column: span 2;
  transition: border-color .15s ease, transform .15s ease;
}
.bento > article:hover { border-color: var(--cyan-deep); transform: translateY(-2px); }
.bento > article.wide { grid-column: span 3; }
.bento .b-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 12px; }
.bento h4 { font-family: var(--head); font-size: 18px; font-weight: 600; color: var(--ink-800); margin-bottom: 10px; letter-spacing: -.01em; }
.bento p { font-size: 14.5px; color: var(--muted-l); }
.bento .b-num { font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--ink-800); margin-bottom: 8px; }
.bento .b-num .u { color: var(--cyan-deep); }

/* ─── Conformité (sombre, technique) ──────────────────────────────── */
.conf-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; }
.conf-item { border-top: 1px solid var(--line-d); padding: 26px 0; }
.conf-item h4 { font-family: var(--head); font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 8px; }
.conf-item p { font-size: 14.5px; color: var(--muted-d); }
.conf-item .c-tag { font-family: var(--mono); font-size: 11.5px; color: var(--cyan); letter-spacing: .1em; display: block; margin-bottom: 8px; }
.conf-note {
  background: var(--ink-700); border: 1px solid var(--line-d); border-radius: 14px;
  padding: 32px 30px; align-self: start;
}
.conf-note h4 { color: var(--cyan); font-family: var(--head); font-size: 16px; margin-bottom: 14px; }
.conf-note p { color: var(--muted-d); font-size: 14px; margin-bottom: 14px; }
.conf-note p:last-child { margin-bottom: 0; }

/* ─── Confiance ───────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-l); border-radius: 14px; overflow: hidden; background: #fff; }
.trust-item { padding: 34px 32px; border: 0 solid var(--line-l); }
.trust-item:nth-child(odd) { border-right-width: 1px; }
.trust-item:nth-child(-n+2) { border-bottom-width: 1px; }
.trust-item h4 { font-family: var(--head); font-size: 17px; font-weight: 600; color: var(--ink-800); margin-bottom: 10px; }
.trust-item h4 .n { font-family: var(--mono); color: var(--cyan-deep); font-size: 13px; margin-right: 10px; }
.trust-item p { font-size: 14.5px; color: var(--muted-l); }
/* Le 5e élément occupe la largeur : il porte l'attestation, qui est un
   argument de vente à part entière et non un quatrième bullet de principe. */
.trust-item-wide { grid-column: 1 / -1; border-right-width: 0 !important; border-top-width: 1px; }
.trust-item-wide p { font-size: 15px; }
.trust-foot { margin-top: 26px; font-size: 14.5px; color: var(--muted-l); }
.trust-foot a { color: var(--blue); }

/* ─── Tarifs ──────────────────────────────────────────────────────── */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.price-card {
  position: relative; background: #fff; border: 1px solid var(--line-l);
  border-radius: 14px; padding: 30px 26px; display: flex; flex-direction: column;
}
.price-card h3 { font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--ink-800); }
.price-sub { font-size: 12.5px; font-family: var(--mono); color: var(--muted-l); margin: 6px 0 22px; }
.price { margin-bottom: 22px; }
.amount { font-family: var(--mono); font-size: 29px; font-weight: 700; color: var(--ink-800); letter-spacing: -.02em; white-space: nowrap; }
.per { font-size: 13px; color: var(--muted-l); display: inline-block; margin-left: 4px; white-space: nowrap; }
.price-card ul { list-style: none; margin-bottom: 22px; flex: 1; }
.price-card li { font-size: 14px; color: var(--muted-l); padding: 7px 0 7px 20px; position: relative; border-bottom: 1px dashed var(--line-l); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: ""; position: absolute; left: 0; top: 13px; width: 9px; height: 5px; border-left: 2px solid var(--cyan-deep); border-bottom: 2px solid var(--cyan-deep); transform: rotate(-45deg); }
.price-card li strong { color: var(--ink-800); }
.price-note { font-size: 12.5px; color: var(--muted-l); font-style: italic; }

.price-card-hl { background: var(--ink-800); border-color: var(--ink-800); }
.price-card-hl h3, .price-card-hl li strong { color: #fff; }
.price-card-hl .price-sub, .price-card-hl li, .price-card-hl .price-note { color: var(--muted-d); }
.price-card-hl .amount { color: var(--cyan); }
.price-card-hl li { border-bottom-color: var(--line-d); }
.price-card-hl li::before { border-color: var(--cyan); }
.price-flag {
  position: absolute; top: -12px; left: 26px;
  background: var(--cyan); color: var(--ink-900);
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 999px;
}

.pricing-examples { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 36px; font-size: 14.5px; color: var(--muted-l); }
.pricing-examples strong { color: var(--ink-800); font-family: var(--mono); }
/* La section la plus proche de l'intention d'achat ne portait aucun lien :
   quatre cartes de prix et zéro sortie. */
.pricing-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.pricing-foot { margin-top: 20px; font-size: 13px; color: var(--muted-l); line-height: 1.75; }

/* ─── Services ────────────────────────────────────────────────────── */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc article { background: #fff; border: 1px solid var(--line-l); border-radius: 14px; padding: 30px 28px; }
.svc .b-k { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-deep); margin-bottom: 12px; }
.svc h3 { font-family: var(--head); font-size: 18px; font-weight: 600; color: var(--ink-800); margin-bottom: 10px; }
.svc p { font-size: 14.5px; color: var(--muted-l); }

/* ─── FAQ ─────────────────────────────────────────────────────────── */
.faq details { border-bottom: 1px solid var(--line-l); }
.faq summary {
  cursor: pointer; list-style: none; padding: 22px 4px;
  font-family: var(--head); font-weight: 600; font-size: 16.5px; color: var(--ink-800);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--cyan-deep); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 4px 24px; color: var(--muted-l); font-size: 15px; max-width: 720px; }

/* ─── CTA final ───────────────────────────────────────────────────── */
.section-cta {
  background:
    radial-gradient(circle at 1px 1px, rgba(34,211,238,.10) 1px, transparent 0) 0 0/26px 26px,
    var(--ink-900);
  color: #fff; text-align: center; padding: 110px 0;
  border-top: 1px solid var(--line-d);
}
.section-cta h2 { color: #fff; margin-bottom: 16px; }
.section-cta p { color: var(--muted-d); max-width: 560px; margin: 0 auto 34px; }
.section-cta .hero-cta { justify-content: center; }
.section-cta .btn-ghost-d { border-color: var(--line-d); }
.section-cta .hero-note { margin-top: 18px; }

/* ─── Footer ──────────────────────────────────────────────────────── */
.footer { background: var(--ink-900); color: var(--muted-d); padding: 64px 0 0; border-top: 1px solid var(--line-d); }
.footer-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-d); }
.footer .brand-name { color: #fff; }
.footer-brand p { margin-top: 14px; font-size: 14px; }
.footer-col h5 { font-family: var(--mono); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted-d); text-decoration: none; font-size: 14.5px; padding: 4px 0; }
.footer-col a:hover { color: #fff; }
.footer-legal { font-size: 13.5px; line-height: 1.7; }
/* #5d6b8c valait 3.69:1 sur --ink-900 : sous le seuil AA de 4.5 pour du
   texte de 12.5px. #7d8bab vaut 5.76:1, même registre visuel. */
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; padding-bottom: 26px; font-size: 12.5px; color: #7d8bab; font-family: var(--mono); }

/* ─── Reveal ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .pricing { grid-template-columns: 1fr 1fr; }
  .bento > article, .bento > article.wide { grid-column: span 3; }
  .conf-grid { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
}
/* Bascule burger à 950px, pas 720px : la barre sature bien avant.
   Marque 152 + liens 386 + CTA 255 + gaps 56 + padding 64 = 913px de contenu
   pour une barre haute de 64px — entre 721 et 950px les boutons passaient sur
   3 puis 4 lignes et débordaient sous la barre. Tout l'iPad portrait (768px)
   était concerné. Bloc séparé du layout ≤720px, qui reste inchangé. */
@media (max-width: 950px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; margin-left: auto; }

  /* Menu ouvert : les deux panneaux passent en FLUX NORMAL et la barre grandit.
     Avant, les deux étaient en position absolue — .nav-links à top:64px et
     .nav-cta à top:100%, or .nav est `sticky` donc sert de bloc conteneur :
     ce 100% valait aussi 64px. Les panneaux se superposaient exactement et le
     CTA, plus bas dans le DOM, avalait chaque tap destiné à un lien : « Produit »
     déclenchait « Essai 30 jours ». En flux, la superposition est impossible et
     aucun décalage magique n'est à maintenir. */
  .nav.is-open .nav-in { flex-wrap: wrap; height: auto; padding-bottom: 18px; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; gap: 14px;
    flex-basis: 100%; order: 2; margin-left: 0;
    padding-top: 18px; border-top: 1px solid var(--line-d);
  }
  .nav.is-open .nav-cta {
    display: flex; flex-basis: 100%; order: 3; gap: 10px; padding-top: 14px;
  }
  /* Cibles tactiles. Le commentaire précédent annonçait 44px et la règle en
     posait 32 : la hauteur calculée valait 35.1px. 44px est le seuil 2.5.5
     (AAA) ; 24px est le seuil 2.5.8 (AA). On vise le plus exigeant. */
  .nav.is-open .nav-links a { padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 64px 0 0; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof > div { border-left: 0; padding: 22px 0; }
  .pain { grid-template-columns: 1fr; gap: 10px; }
  .section { padding: 64px 0; }
  .pricing { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item:nth-child(odd) { border-right-width: 0; }
  .trust-item { border-bottom-width: 1px !important; }
  .trust-item:last-child { border-bottom-width: 0 !important; }
  .footer-in { grid-template-columns: 1fr; gap: 28px; }
}

/* ─── Pages légales ───────────────────────────────────────────────────
   Gabarit sobre partagé par mentions-legales.html et confidentialite.html.
   Elles réutilisent la même feuille que la page d'accueil : aucune requête
   supplémentaire, et les polices sont déjà en cache. */
.legal { max-width: 760px; margin: 0 auto; padding: 120px 24px 90px; }
.legal h1 { font-family: var(--head); font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.02em; color: var(--ink-800); margin-bottom: 10px; }
.legal .legal-date { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-l); margin-bottom: 40px; }
.legal h2 { font-family: var(--head); font-size: 20px; font-weight: 600; color: var(--ink-800); margin: 38px 0 12px; letter-spacing: -.01em; }
.legal p, .legal li { font-size: 15.5px; color: var(--text-l); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue); }
.legal .back { display: inline-block; margin-bottom: 34px; font-family: var(--mono); font-size: 13px; color: var(--blue); text-decoration: none; }
.legal .back:hover { text-decoration: underline; }
.legal dl { margin-bottom: 12px; }
.legal dt { font-weight: 600; color: var(--ink-800); font-size: 14.5px; margin-top: 12px; }
.legal dd { font-size: 15.5px; color: var(--text-l); margin-left: 0; }
