/*
 * Feuille de style commune des pages du site vitrine (hors accueil).
 * Les jetons, boutons, en-tête, offres, FAQ et pied de page reprennent
 * à l'identique ceux de landing.html : garder les deux alignés.
 */
:root {
  --black: #04060f;
  --black-2: #0b0f1e;
  --white: #ffffff;
  --grey-bg: #f4f5f7;
  --ink: #05070f;
  --ink-2: #3b4152;
  --ink-3: #737a8c;
  --on-dark-2: #a7aec2;
  --line: #e6e8ee;
  --line-dark: rgba(255, 255, 255, 0.1);
  --blue: #1257e6;
  --blue-2: #3b7bff;
  --cyan: #02d3eb;
  --ok: #18b45b;
  --wait: #e39a1c;
  --err: #e05252;
  --radius: 8px;
  --radius-card: 24px;
  --maxw: 1344px;
  --gutter: clamp(16px, 3.4vw, 48px);
  --font: 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(36px, 4.6vw, 60px);
}
h3 {
  font-size: 24px;
  line-height: 1.2;
}
p {
  margin: 0;
}
svg {
  flex: none;
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: 880px;
}
.dim {
  color: #9aa0ae;
}
.dim-dark {
  color: #6f7792;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--white);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: var(--radius);
}
.skip:focus {
  left: 8px;
}
:focus-visible {
  outline: 2px solid var(--blue-2);
  outline-offset: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius);
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease;
}
.btn-sm {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 16px;
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover {
  background: #e7e9ef;
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover {
  background: #23283a;
}
.btn-line {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-line:hover {
  background: var(--ink);
  color: var(--white);
}
.btn-line-light {
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
}
.btn-line-light:hover {
  background: var(--white);
  color: var(--ink);
}
.btn-text {
  color: var(--white);
  padding-left: 8px;
  padding-right: 8px;
}
.btn-text:hover {
  color: var(--on-dark-2);
}
.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(4, 6, 15, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--white);
}
.header .container {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 80px;
}
.logo img {
  display: block;
  height: 36px;
  width: auto;
}
.nav {
  display: flex;
  gap: 4px;
}
.nav a {
  font-size: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  color: #e6e8f0;
}
.nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}
.nav a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu {
  display: none;
  position: relative;
}
.menu summary {
  list-style: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
  font-size: 0;
}
.menu summary::-webkit-details-marker {
  display: none;
}
.menu summary::before,
.menu summary::after {
  display: none;
}
.menu-panel {
  position: absolute;
  right: 0;
  top: 54px;
  min-width: 220px;
  background: var(--black-2);
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  padding: 8px;
  display: grid;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6);
}
.menu-panel a {
  padding: 12px 14px;
  border-radius: 8px;
  color: #e6e8f0;
}
.menu-panel a:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Menus déroulants de la navigation (bureau) */
.nav {
  align-items: center;
}
.nav-group {
  position: relative;
}
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  font-size: 16px;
  padding: 8px 12px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: #e6e8f0;
  cursor: pointer;
}
.nav-trigger:hover,
.nav-group.open .nav-trigger,
.nav-trigger.is-current {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.nav-trigger svg {
  transition: transform 0.15s ease;
}
.nav-group.open .nav-trigger svg {
  transform: rotate(180deg);
}
/* Le panneau s'ouvre au survol, au focus clavier et au clic (site.js). */
.nav-panel {
  position: absolute;
  top: 100%;
  left: -8px;
  z-index: 50;
  display: none;
  min-width: 340px;
  margin-top: 10px;
  padding: 10px;
  background: var(--black-2);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.7);
}
.nav-panel::before {
  content: '';
  position: absolute;
  inset: -12px 0 auto;
  height: 12px;
}
.nav-group:hover .nav-panel,
.nav-group:focus-within .nav-panel,
.nav-group.open .nav-panel {
  display: grid;
}
.nav-panel-wide {
  grid-template-columns: 1fr 1fr;
  min-width: 520px;
  column-gap: 8px;
}
.nav-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #e6e8f0;
}
.nav-panel a:hover,
.nav-panel a[aria-current='page'] {
  background: rgba(255, 255, 255, 0.08);
}
.nav-panel strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}
.nav-panel span {
  display: block;
  margin-top: 2px;
  font-size: 13px;
  color: var(--on-dark-2);
}
.nav-panel-title {
  margin: 6px 12px 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-dark-2);
}
.nav-panel .nav-panel-all {
  grid-column: 1 / -1;
  margin-top: 6px;
  border-top: 1px solid var(--line-dark);
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
}
.menu-panel {
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.menu-title {
  margin: 10px 14px 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--on-dark-2);
}

/* Composants de contenu partagés par les pages produit, solutions et ressources */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--on-dark-2);
}
.crumbs a:hover {
  color: var(--white);
}
.crumbs span[aria-hidden] {
  opacity: 0.5;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards.two {
  grid-template-columns: repeat(2, 1fr);
}
.cards.four {
  grid-template-columns: repeat(4, 1fr);
}
.card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
}
.grey .card {
  border-color: transparent;
}
.dark .card {
  background: var(--black-2);
  border-color: var(--line-dark);
  color: var(--white);
}
.card h3 {
  font-size: 20px;
  line-height: 1.25;
}
.card p {
  color: var(--ink-2);
  font-size: 16px;
}
.dark .card p {
  color: var(--on-dark-2);
}
.card .more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 15px;
}
a.card:hover {
  border-color: var(--ink-3);
}
.dark a.card:hover {
  border-color: rgba(255, 255, 255, 0.35);
}
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.dark .steps li {
  border-color: var(--white);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-3);
}
.steps h3 {
  font-size: 19px;
  margin-bottom: 6px;
}
.steps p {
  color: var(--ink-2);
  font-size: 16px;
}
.dark .steps p {
  color: var(--on-dark-2);
}
.checks {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.checks li {
  position: relative;
  padding-left: 30px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.glossary {
  display: grid;
  gap: 0;
  margin: 0;
}
.glossary > div {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.glossary dt {
  font-weight: 600;
  font-size: 18px;
}
.glossary dd {
  margin: 0;
  color: var(--ink-2);
}
.letters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.letters a {
  min-width: 36px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
}

/* Blocs de code (exemples d'API) */
main pre {
  margin: 20px 0;
  padding: 20px;
  overflow-x: auto;
  background: var(--black);
  color: #d6def5;
  border-radius: 14px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
}
main pre code {
  font-family: inherit;
  font-size: inherit;
  background: none;
  padding: 0;
}
main :not(pre) > code {
  padding: 1px 6px;
  border-radius: 4px;
  background: var(--grey-bg);
  font-family: var(--mono);
  font-size: 0.9em;
}
.dark main :not(pre) > code,
.dark :not(pre) > code {
  background: rgba(255, 255, 255, 0.08);
}

/* ---------- Visuels : captures, photos, mises en page variées ---------- */

/* Capture d'écran encadrée, façon fenêtre de navigateur. */
.shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(5, 7, 15, 0.45);
}
.shot::before {
  content: '';
  display: block;
  height: 30px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16px 15px, #e5e7ec 5px, transparent 5.5px),
    radial-gradient(circle at 34px 15px, #e5e7ec 5px, transparent 5.5px),
    radial-gradient(circle at 52px 15px, #e5e7ec 5px, transparent 5.5px),
    var(--grey-bg);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.dark .shot,
.page-hero .shot {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.8);
}
/* Variante téléphone. */
.shot.phone {
  max-width: 300px;
  border-radius: 34px;
  border: 8px solid #10131c;
  box-shadow: 0 40px 80px -30px rgba(5, 7, 15, 0.55);
}
.shot.phone::before {
  display: none;
}
figure.shot figcaption,
.photo figcaption {
  padding: 10px 14px;
  font-size: 13px;
  color: var(--ink-3);
  border-top: 1px solid var(--line);
  background: var(--white);
}
.shots-duo {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

/* Bandeau de titre avec visuel à droite. */
.page-hero.with-visual .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero.with-visual .lead {
  max-width: none;
}
.hero-visual {
  position: relative;
  margin-bottom: -40px;
}
.hero-visual .shot.phone {
  margin-left: auto;
}

/* Bandeau de titre sur photo. */
.page-hero.on-photo {
  background: #04060f;
}
.page-hero.on-photo > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}
.page-hero.on-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 6, 15, 0.95) 0%, rgba(4, 6, 15, 0.72) 50%, rgba(4, 6, 15, 0.35) 100%);
}
.page-hero.on-photo::before {
  display: none;
}

/* Photo dans le contenu. */
.photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
}
.photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}
.photo.wide img {
  aspect-ratio: 21 / 9;
}

/* Rangées texte + visuel, en alternance. */
.media {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.media + .media {
  margin-top: 112px;
}
.media.reverse > :first-child {
  order: 2;
}
.media h2,
.media h3 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.media p {
  margin-top: 16px;
  color: var(--ink-2);
  font-size: 18px;
}
.dark .media p {
  color: var(--on-dark-2);
}
.media .checks {
  margin-top: 20px;
}
.media .kicker {
  display: block;
  margin-bottom: 12px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}

/* Frise chronologique verticale. */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 36px 48px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--blue);
}
.timeline .when {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.timeline h3 {
  font-size: 20px;
}
.timeline p {
  margin-top: 6px;
  color: var(--ink-2);
}
.dark .timeline::before {
  background: var(--line-dark);
}
.dark .timeline li::before {
  background: var(--black);
}
.dark .timeline p {
  color: var(--on-dark-2);
}

/* Deux colonnes « oui / non ». */
.do-dont {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.do-dont > div {
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--white);
}
.do-dont h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 18px;
}
.do-dont .no {
  background: var(--grey-bg);
  border-color: transparent;
}
.do-dont .no ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
}

/* Capture annotée : repères numérotés posés sur l'image, légende à côté. */
.anatomy {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.anatomy .stage {
  position: relative;
}
.anatomy .pin {
  position: absolute;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 0 0 6px rgba(18, 87, 230, 0.2);
}
/* Positions prédéfinies des repères (top / left en % de l'image). */
.anatomy .pin-a { top: 18%; left: 12%; }
.anatomy .pin-b { top: 18%; left: 78%; }
.anatomy .pin-c { top: 45%; left: 14%; }
.anatomy .pin-d { top: 45%; left: 76%; }
.anatomy .pin-e { top: 78%; left: 16%; }
.anatomy .pin-f { top: 78%; left: 74%; }
/* Repères calés sur la capture de la piste d'audit (bandeau « Chaîne valide »,
   bouton « Télécharger le dossier de preuve »). */
.anatomy .pin-g { top: 34%; left: 9%; }
.anatomy .pin-h { top: 34%; left: 88%; }
.anatomy ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: pin;
  display: grid;
  gap: 22px;
}
.anatomy ol li {
  counter-increment: pin;
  position: relative;
  padding-left: 44px;
}
.anatomy ol li::before {
  content: counter(pin);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
}
.anatomy ol h3 {
  font-size: 18px;
}
.anatomy ol p {
  margin-top: 4px;
  color: var(--ink-2);
  font-size: 16px;
}

/* Sommaire latéral fixe pour les pages index longues. */
.with-aside {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.aside-nav {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 2px;
  font-size: 15px;
}
.aside-nav a {
  padding: 6px 10px;
  border-radius: 6px;
  color: var(--ink-2);
}
.aside-nav a:hover {
  background: var(--grey-bg);
  color: var(--ink);
}

/* Liens connexes compacts (remplace les grandes rangées de cartes). */
.see-also {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}
.see-also span {
  font-weight: 600;
  margin-right: 6px;
}
.see-also a {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
}
.see-also a:hover {
  border-color: var(--ink-3);
}

/* Page hero (dark sky band under the header) */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  margin-top: -80px;
  padding: 176px 0 96px;
  background:
    radial-gradient(55% 70% at 80% 120%, rgba(59, 123, 255, 0.55), transparent 70%),
    radial-gradient(40% 60% at 10% 120%, rgba(2, 211, 235, 0.25), transparent 70%),
    linear-gradient(180deg, #04060f 0%, #060c2a 55%, #0b1d6b 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0 0 30% 0;
  z-index: -1;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(1px 1px at 28% 12%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1.5px 1.5px at 46% 30%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 63% 16%, rgba(255, 255, 255, 0.5), transparent 60%),
    radial-gradient(1px 1px at 78% 34%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 90% 14%, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(1px 1px at 6% 44%, rgba(255, 255, 255, 0.4), transparent 60%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: #b9c3e6;
  margin-bottom: 20px;
}
.eyebrow a:hover {
  color: var(--white);
  text-decoration: underline;
}
.page-hero h1 {
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 980px;
}
.page-hero h1 .grad {
  background: linear-gradient(90deg, #8fb4ff 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero .lead {
  margin-top: 24px;
  max-width: 680px;
  font-size: 20px;
  color: #d3d9ee;
}
.page-hero .hero-cta {
  margin-top: 32px;
}
.page-hero.compact {
  padding-bottom: 72px;
}
.page-hero.compact h1 {
  font-size: clamp(40px, 5vw, 64px);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 15px;
  color: #aeb6d2;
}

/* Sections */
.dark {
  background: var(--black);
  color: var(--white);
}
.light {
  padding: 120px 0;
}
.light.tight {
  padding-top: 0;
}
.grey {
  background: var(--grey-bg);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 56px;
}
.section-head.center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}
.section-head p {
  margin-top: 16px;
  max-width: 620px;
  font-size: 19px;
  color: var(--ink-2);
}
.section-head h2.md {
  font-size: clamp(34px, 4vw, 52px);
}

/* Pricing */
.toggle {
  display: inline-flex;
  background: var(--grey-bg);
  border-radius: 10px;
  padding: 4px;
  margin-top: 28px;
}
.toggle button {
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  padding: 10px 20px;
  border-radius: 7px;
  cursor: pointer;
}
.toggle button[aria-pressed='true'] {
  background: var(--ink);
  color: #fff;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.plan {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  background: #fff;
}
.plan.featured {
  background: var(--black);
  color: #fff;
  border-color: var(--black);
}
.plan-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.plan-name span {
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  padding: 4px 10px;
}
.plan .for {
  margin-top: 8px;
  color: var(--ink-3);
  font-size: 16px;
}
.plan.featured .for,
.plan.featured .per,
.plan.featured .price span {
  color: var(--on-dark-2);
}
.plan .price {
  margin-top: 32px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan .price b {
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan .price span {
  font-size: 16px;
  color: var(--ink-3);
}
.plan .per {
  margin-top: 10px;
  font-size: 15px;
  color: var(--ink-3);
  min-height: 24px;
}
.plan .btn {
  margin-top: 28px;
}
.plan ul {
  list-style: none;
  margin: 32px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  font-size: 16px;
}
.plan.featured ul {
  border-top-color: var(--line-dark);
}
.plan li {
  display: flex;
  gap: 12px;
}
.plan li svg {
  margin-top: 3px;
  color: var(--blue);
}
.plan.featured li svg {
  color: var(--cyan);
}
.footnote {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}
.trial-note {
  margin-top: 28px;
  text-align: center;
  font-size: 16px;
  color: var(--ink-2);
}

/* Top-up packs */
.packs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pack {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
}
.pack b {
  display: block;
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pack span {
  display: block;
  margin-top: 4px;
  color: var(--ink-3);
  font-size: 15px;
}
.pack strong {
  display: block;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 18px;
  font-weight: 600;
}

/* Rules list (how credits work) */
.rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.rule {
  border-top: 1px solid var(--ink);
  padding-top: 24px;
}
.rule h3 {
  font-size: 21px;
}
.rule p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
}

/* Estimator */
.estimator {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.est-input,
.est-result {
  border-radius: var(--radius-card);
  padding: 40px;
}
.est-input {
  background: var(--grey-bg);
  display: grid;
  gap: 36px;
  align-content: start;
}
.est-field label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 17px;
  font-weight: 500;
}
.est-field output {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.est-field input[type='range'] {
  width: 100%;
  margin-top: 14px;
  accent-color: var(--ink);
}
.est-field small {
  display: block;
  margin-top: 6px;
  color: var(--ink-3);
  font-size: 14px;
}
.est-result {
  color: #fff;
  background:
    radial-gradient(70% 80% at 100% 100%, rgba(18, 87, 230, 0.6), transparent 70%), var(--black);
  display: flex;
  flex-direction: column;
}
.est-result .label {
  font-size: 17px;
  color: var(--on-dark-2);
}
.est-result .amount {
  margin-top: 12px;
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.est-result .amount small {
  font-size: 20px;
  letter-spacing: 0;
  font-weight: 500;
  opacity: 0.7;
}
.est-result .detail {
  margin-top: 14px;
  color: #d3d9ee;
  font-size: 16px;
  min-height: 48px;
}
.est-result .versus {
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 16px;
  color: var(--on-dark-2);
}
.est-result .versus b {
  color: #fff;
}
.est-result .btn {
  margin-top: 24px;
  align-self: flex-start;
}

/* Plan matrix */
.matrix-scroll {
  overflow-x: auto;
}
.matrix {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 16px;
}
.matrix th,
.matrix td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.matrix th:first-child,
.matrix td:first-child {
  text-align: left;
  padding-left: 0;
  width: 40%;
}
.matrix thead th {
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}
.matrix .group td {
  padding-top: 36px;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-3);
  border-bottom: 0;
}
.matrix .no {
  color: #c3c8d2;
}

/* Security (dark) */
.security {
  padding: 120px 0;
}
.sec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.sec-grid.three {
  grid-template-columns: repeat(3, 1fr);
  row-gap: 48px;
}
.sec-card {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 28px;
}
.sec-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #161c33;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: #fff;
}
.sec-card h3 {
  font-size: 22px;
}
.sec-card p {
  margin-top: 12px;
  color: var(--on-dark-2);
  font-size: 16px;
}
.light .sec-card {
  border-top-color: var(--ink);
}
.light .sec-card .ico {
  background: var(--grey-bg);
  color: var(--ink);
}
.light .sec-card p {
  color: var(--ink-2);
}

/* Split block (text + facts) */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
.split h2 {
  font-size: clamp(34px, 4vw, 52px);
}
.split > div > p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
}
/* Un encadré sombre posé en colonne garde son texte clair. */
.split > .callout > p {
  margin-top: 8px;
  color: #d3d9ee;
  font-size: 17px;
}
.split > div > p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.facts {
  border-radius: var(--radius-card);
  background: var(--grey-bg);
  padding: 12px 32px;
}
.fact {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.fact:last-child {
  border-bottom: 0;
}
.fact span {
  color: var(--ink-3);
}
.fact b {
  font-weight: 600;
  text-align: right;
}

/* FAQ */
.faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
}
.faq h2 {
  font-size: clamp(34px, 4vw, 52px);
}
.faq aside p {
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 18px;
}
.faq aside a,
details p a {
  text-decoration: underline;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 48px 26px 0;
  font-size: 20px;
  font-weight: 500;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::before,
.faq summary::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease;
}
.faq summary::after {
  transform: rotate(90deg);
}
.faq details[open] summary::after {
  transform: rotate(0deg);
}
.faq details p {
  padding: 0 48px 26px 0;
  color: var(--ink-2);
  font-size: 17px;
}

/* Long-form text: legal pages and blog articles */
.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 72px;
  align-items: start;
}
.toc {
  position: sticky;
  top: 112px;
  font-size: 15px;
}
.toc b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 12px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--line);
}
.toc a {
  display: block;
  padding: 5px 0 5px 16px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  color: var(--ink-2);
}
.toc a:hover {
  color: var(--ink);
  border-left-color: var(--ink);
}
.prose {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose > * + * {
  margin-top: 20px;
}
.prose h2 {
  font-size: 30px;
  line-height: 1.2;
  color: var(--ink);
  margin-top: 56px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 21px;
  color: var(--ink);
  margin-top: 36px;
}
.prose h2 + *,
.prose h3 + * {
  margin-top: 14px;
}
.prose strong {
  color: var(--ink);
  font-weight: 600;
}
.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.prose ul,
.prose ol {
  padding-left: 24px;
}
.prose li + li {
  margin-top: 8px;
}
.prose .btn {
  color: var(--ink);
  text-decoration: none;
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 20px 24px;
  border-left: 3px solid var(--blue);
  background: var(--grey-bg);
  border-radius: 0 12px 12px 0;
  color: var(--ink);
  font-size: 17px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
}
.prose .table-scroll {
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose thead th {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
}
.prose .note {
  font-size: 15px;
  color: var(--ink-3);
}
.callout {
  border-radius: 16px;
  padding: 24px 28px;
  background: var(--black);
  color: #fff;
  font-size: 17px;
}
.callout p {
  color: #d3d9ee;
}
.callout b {
  display: block;
  font-size: 19px;
  margin-bottom: 6px;
  color: #fff;
}
.callout .btn {
  margin-top: 18px;
}
.placeholder {
  background: #fff4d6;
  color: #7a5200;
  border-radius: 4px;
  padding: 0 4px;
}

/* Blog */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(5, 7, 15, 0.3);
}
.blog-grid.index {
  grid-template-columns: repeat(2, 1fr);
}
.blog-card.lead-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}
.cover {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(59, 123, 255, 0.7), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(2, 211, 235, 0.35), transparent 70%), var(--black);
}
.cover.alt {
  background:
    radial-gradient(60% 70% at 0% 100%, rgba(2, 211, 235, 0.55), transparent 70%),
    radial-gradient(60% 70% at 100% 0%, rgba(18, 87, 230, 0.5), transparent 70%), #0b1d6b;
}
.cover.pale {
  color: var(--ink);
  background:
    radial-gradient(55% 60% at 0% 100%, rgba(2, 211, 235, 0.45), transparent 70%),
    radial-gradient(55% 60% at 100% 100%, rgba(18, 87, 230, 0.4), transparent 70%), var(--grey-bg);
}
.cover svg {
  width: 38%;
  height: auto;
  max-width: 180px;
}
.lead-card .cover {
  aspect-ratio: auto;
  min-height: 360px;
}
.card-body {
  display: flex;
  flex-direction: column;
  padding: 28px;
  flex: 1;
}
.lead-card .card-body {
  padding: 48px;
  justify-content: center;
}
.tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.card-body h3 {
  margin-top: 12px;
  font-size: 23px;
}
.lead-card .card-body h3 {
  font-size: clamp(28px, 3vw, 40px);
}
.card-body p {
  margin-top: 12px;
  color: var(--ink-2);
  font-size: 16px;
}
.card-body .read {
  margin-top: auto;
  padding-top: 24px;
  font-size: 14px;
  color: var(--ink-3);
}
.related {
  margin-top: 0;
}
.related h2 {
  font-size: 32px;
  margin-bottom: 28px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
}
.contact-card .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--grey-bg);
  display: grid;
  place-items: center;
  margin-bottom: 24px;
}
.contact-card h3 {
  font-size: 22px;
}
.contact-card p {
  margin-top: 10px;
  color: var(--ink-2);
  font-size: 16px;
}
.contact-card .mail {
  margin-top: auto;
  padding-top: 24px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

/* Final CTA */
.final {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  text-align: center;
  padding: 136px 0 152px;
  background:
    radial-gradient(60% 60% at 50% 110%, rgba(59, 123, 255, 0.6), transparent 70%),
    linear-gradient(180deg, #04060f 0%, #0a1a5e 70%, #1849c9 100%);
}
.final h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  letter-spacing: -0.015em;
}
.final p {
  margin-top: 20px;
  font-size: 20px;
  color: #d3d9ee;
}
.final .hero-cta {
  justify-content: center;
  margin-top: 36px;
}

/* 404 */
.notfound {
  min-height: 70vh;
  display: grid;
  align-content: center;
}
.notfound .code {
  font-family: var(--mono);
  font-size: 15px;
  color: #aeb6d2;
}

/* Footer */
footer {
  padding: 88px 0 40px;
  font-size: 16px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 40px;
}
.footer-grid img {
  height: 36px;
  width: auto;
  display: block;
}
.footer-grid p {
  margin-top: 20px;
  color: var(--ink-3);
  max-width: 320px;
  font-size: 15px;
}
.footer-grid h4 {
  font-size: 16px;
  margin-bottom: 16px;
}
.footer-grid a {
  display: block;
  padding: 5px 0;
  color: var(--ink-2);
}
.footer-grid a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.footer-bottom {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--ink-3);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-bottom a:hover {
  color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .blog-card {
    transition: none;
  }
  .blog-card:hover {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }
  .page-hero.with-visual .container,
  .media,
  .anatomy,
  .with-aside {
    grid-template-columns: 1fr;
  }
  .media.reverse > :first-child {
    order: 0;
  }
  .hero-visual {
    margin-bottom: 0;
  }
  .aside-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
  }
  .cards,
  .cards.four {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu {
    display: block;
  }
  .plans {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .packs {
    grid-template-columns: 1fr 1fr;
  }
  .rules,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .estimator,
  .split,
  .faq {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sec-grid,
  .sec-grid.three {
    grid-template-columns: 1fr 1fr;
  }
  .doc {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .toc {
    position: static;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .blog-card.lead-card {
    grid-template-columns: 1fr;
  }
  .lead-card .cover {
    min-height: 240px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 16px;
  }
  .cards,
  .cards.two,
  .cards.four {
    grid-template-columns: 1fr;
  }
  .glossary > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .do-dont,
  .shots-duo {
    grid-template-columns: 1fr;
  }
  .media + .media {
    margin-top: 72px;
  }
  .shot.phone {
    margin: 0 auto;
  }
  .anatomy .pin {
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    font-size: 12px;
  }
  .header .container {
    height: 68px;
    gap: 16px;
  }
  .logo img {
    height: 30px;
  }
  .header-actions .btn-text {
    display: none;
  }
  .page-hero {
    margin-top: -68px;
    padding: 128px 0 64px;
  }
  .page-hero .lead {
    font-size: 18px;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .light,
  .security {
    padding: 80px 0;
  }
  .packs,
  .sec-grid,
  .sec-grid.three,
  .blog-grid,
  .blog-grid.index,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .lead-card .card-body {
    padding: 28px;
  }
  .est-input,
  .est-result {
    padding: 28px;
  }
  .facts {
    padding: 4px 20px;
  }
  .fact {
    flex-direction: column;
    gap: 2px;
  }
  .fact b {
    text-align: left;
  }
  .prose {
    font-size: 17px;
  }
  .prose h2 {
    font-size: 26px;
    margin-top: 44px;
  }
  .faq summary {
    font-size: 18px;
  }
  .final {
    padding: 104px 0 120px;
  }
}
