/* ═══════════════════════════════════════════════════════
   Sécurité & données - styles propres à la page.
   Le chrome, les cartes .cards-3/.info-card, les pastilles .tbc/.sure et le
   bandeau .final-cta (+ grille/inner) sont partagés via theme/.
   Le hero est scopé sous .page-security pour ne pas hériter du hero clair
   partagé (.hero / .hero h1 de components.css, ciblant home/produit).
   ═══════════════════════════════════════════════════════ */

/* ═══════════════════ §1 - HERO (scopé) ═══════════════════ */
.page-security .hero {
  border-bottom: 0.5px solid var(--line);
  position: relative; overflow: hidden;
  padding: 0; text-align: left;
}
.page-security .hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(20,20,15,0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 70% 80% at 75% 0%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 75% 0%, #000 20%, transparent 70%);
  pointer-events: none;
}
.page-security .hero__inner { position: relative; padding: 104px 0 80px; }
.page-security .hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 64px; align-items: end;
}
.page-security .hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.06em;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 30px;
}
.page-security .hero__eyebrow::before {
  content: ""; width: 22px; height: 1px; background: var(--blue);
}
.page-security .hero h1 {
  font-size: 64px; font-weight: 500;
  letter-spacing: -0.04em; line-height: 1.0;
  margin: 0; max-width: 16ch;
  color: var(--ink); text-wrap: balance;
}
.page-security .hero h1 .accent { color: var(--blue); }
.page-security .hero__aside {
  border-left: 0.5px solid var(--line);
  padding-left: 32px; padding-bottom: 6px;
}
.page-security .hero__lead {
  font-size: 16px; line-height: 1.55;
  color: var(--ink-2);
  max-width: 44ch; margin: 0 0 26px;
  text-wrap: pretty;
}
.page-security .hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
/* bande de réassurance sous le hero */
.page-security .hero__pledges {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 0.5px solid var(--line);
  margin-top: 56px;
}
.page-security .hero__pledge {
  padding: 24px 28px 0 0;
  border-left: 0.5px solid var(--line);
  padding-left: 24px;
}
.page-security .hero__pledge:first-child { border-left: 0; padding-left: 0; }
.page-security .hero__pledge-k {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.04em; color: var(--ink-4);
  margin-bottom: 10px; text-transform: lowercase;
}
.page-security .hero__pledge b {
  display: block; font-size: 16px; font-weight: 500;
  letter-spacing: -0.015em; color: var(--ink); margin-bottom: 5px;
}
.page-security .hero__pledge span { font-size: 13px; color: var(--ink-3); line-height: 1.45; }

/* bandeau de section sur fond doux (§3 / §5 / §7) */
.band-soft { background: var(--bg-soft); border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); }

/* ───────── Marqueurs éditoriaux internes (placeholder + note « à valider ») ───────── */
/* placeholder en ligne - un fait à compléter/confirmer avant publication */
.ph {
  font-family: var(--font-mono);
  font-size: 0.86em;
  color: var(--amber);
  background: color-mix(in oklab, var(--amber-soft) 70%, transparent);
  border-bottom: 1px dashed color-mix(in oklab, var(--amber) 55%, transparent);
  padding: 0 3px; border-radius: 2px;
  white-space: normal;
}
/* bannière de relecture rattachée aux sections ⚠ - note interne claire */
.review {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 0.5px dashed color-mix(in oklab, var(--amber) 45%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in oklab, var(--amber-soft) 55%, transparent);
  font-size: 13px; color: var(--ink-2);
  line-height: 1.5; max-width: 760px;
}
.review svg { color: var(--amber); flex-shrink: 0; margin-top: 1px; }
.review b { font-weight: 500; color: var(--amber); }
.review code { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }

/* ═══════════════════ §3 - DIAGRAMME D'ARCHITECTURE ═══════════════════ */
.archi {
  margin-top: 52px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  border: 0.5px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
}
.archi__viz {
  padding: 36px 36px 40px;
  border-right: 0.5px solid var(--line);
  background: linear-gradient(var(--bg-soft), var(--bg-soft));
  position: relative;
}
.archi__zonelabel {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.04em; color: var(--bg-green-deep);
  text-transform: lowercase;
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
}
.archi__zonelabel::before {
  content: ""; width: 7px; height: 7px; border-radius: 2px;
  background: var(--bg-green-deep);
}
.archi__walls {
  border: 1px dashed color-mix(in oklab, var(--bg-green-deep) 45%, transparent);
  border-radius: var(--radius);
  background: color-mix(in oklab, var(--bg-green) 45%, var(--bg) 55%);
  padding: 16px;
}
.node {
  background: var(--bg);
  border: 0.5px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.node__top {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.node__ico {
  width: 30px; height: 30px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.node--core .node__ico { background: var(--bg-green); color: var(--bg-green-deep); }
.node--mobile .node__ico { background: var(--blue-soft); color: var(--blue); }
.node--cloud .node__ico { background: var(--amber-soft); color: var(--amber); }
.node__name { font-size: 14px; font-weight: 500; letter-spacing: -0.01em; }
.node__sub { font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); }
.node__data {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-2);
  background: var(--bg-soft);
  border-radius: var(--radius-sm); padding: 7px 10px;
}
.node__data svg { color: var(--bg-green-deep); flex-shrink: 0; }
.node__data b { font-weight: 500; }
.archi__rail {
  display: flex; flex-direction: column; align-items: center;
  gap: 4px; padding: 12px 0;
}
.archi__rail-line { width: 1px; height: 22px; background: var(--line-strong); }
.archi__rail-cap {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.03em; color: var(--ink-4);
  background: var(--bg-soft); padding: 2px 8px; border-radius: var(--radius-pill);
  border: 0.5px solid var(--line);
}
.archi__hosted { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.archi__legend { padding: 32px 32px 34px; display: flex; flex-direction: column; }
.archi__legend h4 {
  font-size: 16px; font-weight: 500; letter-spacing: -0.015em;
  margin: 0 0 6px;
}
.archi__legend > p {
  font-size: 14px; color: var(--ink-3); margin: 0 0 22px; line-height: 1.55;
}
.archi__rows { list-style: none; margin: 0; padding: 0; }
.archi__rows li {
  display: grid; grid-template-columns: 30px 1fr; gap: 12px;
  padding: 16px 0; border-top: 0.5px solid var(--line);
}
.archi__rows li:last-child { border-bottom: 0.5px solid var(--line); }
.archi__dot {
  width: 30px; height: 30px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.archi__dot--green { background: var(--bg-green); color: var(--bg-green-deep); }
.archi__dot--blue  { background: var(--blue-soft); color: var(--blue); }
.archi__dot--amber { background: var(--amber-soft); color: var(--amber); }
.archi__rows b { display: block; font-size: 14px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 3px; }
.archi__rows p { margin: 0; font-size: 13px; color: var(--ink-3); line-height: 1.5; }

/* ═══════════════════ §4 / §6 - CHECKLIST DE GARANTIES ═══════════════════ */
.guarantees { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.guarantees__copy { max-width: 460px; position: sticky; top: 100px; }
.glist { list-style: none; margin: 0; padding: 0; }
.glist li {
  display: grid; grid-template-columns: 26px 1fr auto;
  gap: 12px; align-items: start;
  padding: 20px 0; border-top: 0.5px solid var(--line);
}
.glist li:last-child { border-bottom: 0.5px solid var(--line); }
.gmark {
  width: 22px; height: 22px; border-radius: var(--radius-sm); margin-top: 1px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.gmark--ok { background: var(--bg-green); color: var(--bg-green-deep); }
.gmark--tbc { background: var(--amber-soft); color: var(--amber); border: 0.5px dashed color-mix(in oklab, var(--amber) 45%, transparent); }
.gbody b { display: block; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 4px; line-height: 1.35; }
.gbody p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.55; }

/* §8 CTA final : titre/lead resserrés (le reste est partagé via theme). */
.page-security .final-cta h2 { font-size: var(--fs-h2); letter-spacing: -0.04em; line-height: 1.05; max-width: 20ch; margin: 0 auto 22px; }
.page-security .final-cta p { max-width: 60ch; }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .page-security .hero__head { grid-template-columns: 1fr; gap: 32px; }
  .page-security .hero__aside { border-left: 0; padding-left: 0; border-top: 0.5px solid var(--line); padding-top: 28px; }
  .page-security .hero__pledges { grid-template-columns: 1fr 1fr; }
  .page-security .hero__pledge:nth-child(3) { border-left: 0; padding-left: 0; }
  .archi { grid-template-columns: 1fr; }
  .archi__viz { border-right: 0; border-bottom: 0.5px solid var(--line); }
  .guarantees { grid-template-columns: 1fr; gap: 32px; }
  .guarantees__copy { position: static; }
}

/* Récupérer ses données : trois étapes sous les cartes d'engagement */
.recover { margin-top: var(--s-8); padding: var(--s-8); border: 0.5px solid var(--line); border-radius: var(--radius-lg); background: var(--on-dark); }
.recover h3 { font-size: var(--fs-h3); letter-spacing: -0.02em; margin: 0 0 var(--s-5); }
.recover__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); counter-reset: r; }
.recover__steps li { counter-increment: r; padding-top: var(--s-4); border-top: 2px solid var(--blue); }
.recover__steps li::before { content: counter(r, decimal-leading-zero); display: block; font-family: var(--font-mono); font-size: 12px; color: var(--ink-4); margin-bottom: var(--s-2); }
.recover__steps b { display: block; font-weight: 500; margin-bottom: var(--s-1); }
.recover__steps span { font-size: 14px; line-height: 1.55; color: var(--ink-3); }
.recover > p { margin: 0; font-size: 14px; color: var(--ink-3); }
@media (max-width: 820px) { .recover { padding: var(--s-6); } .recover__steps { grid-template-columns: minmax(0, 1fr); } }
.recover > .recover__key {
  display: flex; align-items: flex-start; gap: var(--s-3); margin: var(--s-8) 0 0; padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--blue); border-radius: 0 var(--radius) var(--radius) 0; background: var(--blue-soft);
  font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; color: var(--ink);
}
.recover__key svg { flex: none; margin-top: 4px; color: var(--blue); }
.recover__after { margin: var(--s-3) 0 0; font-size: 14px; color: var(--ink-3); }
