/* Thème ASCII (public depuis le 26/11). Chargé en dernier, après tokens.css : il redéfinit les jetons de
   site.css / landing / index et pose le décor. Aucune police distante. */

@font-face{font-family:"Geist Mono";src:url(/static/fonts/geist-mono.woff2?v=20261126) format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:"VT323";src:url(/static/fonts/vt323.woff2?v=20261126) format("woff2");font-weight:400;font-style:normal;font-display:swap}
/* Couleurs, polices et rayons : css/tokens.css, seule source (site et emails). */

html { background: #000; }
body { background: transparent !important; }
.hero::before, .hero::after { display: none !important; }

#asc-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

/* Titres, labels, menus, boutons : terminal. Le corps garde la police lisible. */
h1, h2, h3, h4, nav, .nav-links a, .site-nav a, button, [class*="btn"], .nav-cta,
label, th, code, pre, kbd, .trust-label, .trust-chip, .mobile-cta, footer a {
  font-family: var(--font-mono) !important;
}
h1, h2, h3, h4 { font-weight: 700 !important; letter-spacing: -0.02em !important; }
h1 em, .hero h1 em { font-style: normal !important; color: var(--teal) !important; }

/* Menu */
nav, .site-nav {
  background: #000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid var(--border-strong) !important;
}
nav a, .site-nav a { min-height: 44px; }

/* Cartes et blocs */
.price-card, .feature-card, .step, .faq-item, .trust-chip, figure.ba, .limits,
[class*="card"], details, pre, table, .answer, .tool-box, .drop, .dropzone {
  border-radius: 0 !important;
}
.price-card, .feature-card, .how-card, .step, [class*="card"]:not(.price-card), figure.ba,
.limits, details, pre {
  background-color: var(--surface) !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: none !important;
}
.price-card.featured, .price-card.popular, .price-card-featured {
  border-color: var(--teal) !important;
}

/* Boutons */
.btn-primary, .btn-ghost, .price-btn, .payg-btn, .nav-cta, .mobile-cta,
a[class*="btn"], button[class*="btn"] {
  border-radius: 0 !important;
  min-height: 44px;
  text-transform: none;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
}
.btn-primary, .nav-cta, .price-btn-primary, .mobile-cta {
  background: var(--teal) !important;
  color: #000 !important;
  border: 1px solid var(--teal) !important;
  box-shadow: 4px 4px 0 rgba(var(--rgb), 0.35) !important;
}
.btn-ghost, .price-btn-outline, .payg-btn {
  background: rgba(0, 0, 0, 0.8) !important;
  color: var(--text) !important;
  border: 1px solid var(--border-strong) !important;
}
.btn-primary::before, .nav-cta::before, .btn-ghost::before {
  content: "> " / "";
  margin-right: 0.4em;
}

/* Survol : une trame de caractères apparaît sous le contenu. */
.price-card, .feature-card, .how-card, [class*="card"], .btn-ghost, .payg-btn,
.price-btn-outline, figure.ba, details {
  --trame: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='34'%3E%3Cg fill='%233df5cf' font-family='monospace' font-size='13' opacity='.28'%3E%3Ctext x='0' y='12'%3E%2B%3C%3E%3B%3A%3D~-%2B%3C%3E%3B%3C/text%3E%3Ctext x='0' y='29'%3E-~%3A%3B%3D%2B%3C%3E~-%3A%3D%3B%3C/text%3E%3C/g%3E%3C/svg%3E");
  transition: background-color 144ms, border-color 144ms;
}
.price-card:hover, .feature-card:hover, .how-card:hover, [class*="card"]:hover,
.btn-ghost:hover, .payg-btn:hover, .price-btn-outline:hover, figure.ba:hover,
details:hover {
  background-image: var(--trame) !important;
  border-color: var(--teal) !important;
}
.btn-primary:hover, .nav-cta:hover, .price-btn-primary:hover {
  box-shadow: 2px 2px 0 rgba(var(--rgb), 0.6) !important;
  transform: translate(2px, 2px);
}

/* Liens et focus */
a { text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--teal) !important; outline-offset: 3px !important; }
::selection { background: var(--teal); color: #000; }

/* Lisibilité du texte courant au-dessus de la grille */
.content, main { text-shadow: 0 0 6px #000, 0 0 12px #000; }
.content p, .content li, .content h1, .content h2, .content h3 {
  background: rgba(0, 0, 0, 0.62);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.faq-section, .how-section, .features-section, .pricing-section, .ba-section,
.footer-cta, footer, .site-footer {
  background: rgba(0, 0, 0, 0.74) !important;
}
footer, .site-footer { border-top: 1px solid var(--border-strong) !important; }

@media (prefers-reduced-motion: reduce) {
    .btn-primary:hover, .nav-cta:hover, .price-btn-primary:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}

.nav-cta, .site-nav .nav-cta { box-shadow: none !important; height: auto !important; }

/* ===== v3 ===== */
/* Une seule police : mono partout (aucune police distante). Corps à 15 px mini. */
html body, button, input, select, textarea, optgroup {
  font-family: var(--font-mono) !important;
}
body { font-size: max(15px, 1em); }
em, i, cite { font-style: normal !important; }
/* Angles droits partout, aucun flou « glass ». */
*, *::before, *::after {
  border-radius: 0 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html { scroll-padding-top: 80px; }
[id] { scroll-margin-top: 80px; }
.price-card:hover { transform: none !important; }
.chain-led { border: 1px solid currentColor; }

/* Liens : jamais la couleur par défaut du navigateur, tous états. */
:where(a:link, a:visited) { color: var(--teal); }
a:not([class]):hover, a:not([class]):focus-visible { background: var(--teal); color: #000 !important; }
a:not([class]) { text-decoration: underline; text-decoration-style: dashed; }
.nav-logo, .nav-logo:visited { color: var(--text) !important; }

/* Comparateur avant/après : barre d'étiquettes au-dessus, poignée en caractères. */
.ba-badge, .ba-label { display: none !important; }
.asc-ba-bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 21px;
  max-width: 987px; margin: 0 auto 8px; font-size: 14px; line-height: 1.4;
}
.asc-ba-bar > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.asc-ba-bar .nom { color: var(--text); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.asc-ba-bar .nom::before { content: "[ "; color: var(--teal); }
.asc-ba-bar .nom::after { content: " ]"; color: var(--teal); }
.asc-ba-bar .etat { color: var(--amber); }
.asc-ba-bar .etat::before { content: "! "; }
.asc-ba-bar > div:last-child { text-align: right; }
.asc-ba-bar > div:last-child .etat { color: var(--teal); }
.asc-ba-bar > div:last-child .etat::before { content: "ok "; }
.asc-ba-bar .ba-badge-short { display: none !important; }
.asc-ba-bar .ba-badge-full { display: inline !important; }
.ba-container { border: 1px solid var(--teal) !important; }
.ba-divider {
  width: 0 !important; background: none !important;
  border-left: 2px dashed var(--teal);
}
.ba-divider::before {
  width: 44px !important; height: 44px !important; background: #000 !important;
  border: 2px solid var(--teal);
}
.ba-divider::after {
  content: "<>" !important; color: var(--teal) !important; font-weight: 700;
  font-size: 17px !important; letter-spacing: -0.1em; text-shadow: none;
}
/* Aucune ligne CRT sur la photo : elle doit rester nette (VJ, 26/11). */

/* Bouton collant : barre fine pleine largeur, marge réservée sous le contenu. */
@media (max-width: 768px) {
  .mobile-cta {
    left: 0 !important; right: 0 !important; bottom: 0 !important;
    flex-direction: row !important; flex-wrap: wrap; gap: 0 12px !important;
    min-height: 48px !important; padding: 4px 13px !important; font-size: 15px !important;
    box-shadow: none !important; border-width: 1px 0 0 !important;
  }
  .mobile-cta .mobile-cta-note { font-size: 14px !important; opacity: 1 !important; }
  body:has(.mobile-cta) { padding-bottom: 56px; }
  footer { padding-bottom: 21px !important; }
}
svg text { font-family: var(--font-mono); }
@media (max-width: 600px) {
  .asc-ba-bar > div { flex: 1 1 100%; }
  .asc-ba-bar > div:last-child { text-align: left; }
}
.seo-mesh a, footer a { display: inline-block; padding: 6px 0; line-height: 1.4; }

/* Formulaires, fenêtres, barres */
#heard-from span, #heard-from .heard-from-choice, .hf-opt, .heard-from-sub { font-size: 14px !important; }
#heard-from .heard-from-choices { grid-template-columns: repeat(2, 1fr) !important; }
@media (min-width: 700px) { #heard-from .heard-from-choices { grid-template-columns: repeat(3, 1fr) !important; } }
.pro-welcome-close, .heard-from-close, .gate-close, #lightbox-close, .info-dot {
  min-width: 44px; min-height: 44px;
}
.info-dot { margin: -15px; display: inline-flex; align-items: center; justify-content: center; }
.heard-from-text, .heard-from-choice, .heard-from-other button, input, select, textarea { min-height: 44px; }
input[type=range] { min-height: 44px; }
input[type=range]::-webkit-slider-thumb { border-radius: 0 !important; }
input[type=range]::-moz-range-thumb { border-radius: 0 !important; }
.progress-bar-wrap { background: #000 !important; border: 1px solid var(--border-strong); }
.progress-bar-fill:not(.completed):not(.failed) {
  background: repeating-linear-gradient(90deg, var(--teal) 0 6px, transparent 6px 8px) !important;
}
.toast { background: #000 !important; border: 1px solid var(--teal) !important; color: var(--text) !important; }
input, textarea, select { background: #000 !important; border: 1px solid var(--border-strong) !important; color: var(--text) !important; }
input:focus-visible, textarea:focus-visible { border-color: var(--teal) !important; }
::placeholder { color: var(--text-3) !important; opacity: 1; }
p, li, label, summary, h1, h2, h3, h4 { background-color: rgba(0, 0, 0, 0.62); }
a[class], button, .price-btn, .btn-primary, .btn-ghost { text-shadow: none !important; }
[class*="card"] :is(p, li, h1, h2, h3, label), .plan :is(p, li, h2, h3), .tool-box :is(p, li, label), details :is(p, li) {
  background-color: transparent;
}
table { border: 1px solid var(--border-strong); display:block; max-width:100%; overflow-x:auto; }

/* ===== v4 : états rarement vus (bannière, agrandissement, erreurs, outils) ===== */
/* Cibles >= 44 px : liens du pied, déconnexion, actions de carte, menu mobile. */
nav a, .site-nav a { min-width: 44px; }
footer a, .app-footer a, .site-footer a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
}
.nav-signout, .link-action {
  min-height: 44px; min-width: 44px; padding-top: 0; padding-bottom: 0;
}
.job-actions { align-items: center; }
/* Erreur d'un job : le style en ligne (0.8rem = 12,8 px) passe sous 14 px. */
[style*="font-size: 0.8rem"], [style*="font-size:0.8rem"] { font-size: 14px !important; line-height: 1.5; }
/* Agrandissement d'image. */
.lightbox { background: rgba(0, 0, 0, 0.96) !important; }
.lightbox-figure img { border: 1px solid var(--teal) !important; }
.lightbox-figure figcaption { font-size: 14px !important; color: var(--text) !important; }
.lightbox-close {
  width: 44px !important; height: 44px !important; background: #000 !important;
  border: 1px solid var(--teal) !important; color: var(--teal) !important;
}
.lightbox-close:hover { color: #000 !important; background: var(--teal) !important; }
/* Bannière cookies : styles en ligne de pixels.js (fond arrondi, system-ui, lien bleu). */
#pr-consent {
  background: #000 !important; color: var(--text) !important; font-family: var(--font-mono) !important;
  font-size: 14px !important; border: 1px solid var(--teal) !important; box-shadow: none !important;
}
#pr-consent a { color: var(--teal) !important; text-decoration: underline dashed; min-height: 44px; display: inline-flex; align-items: center; }
#pr-consent button { font-size: 14px !important; min-width: 44px; }
#pr-consent button:first-child { background: #000 !important; color: var(--text) !important; border: 1px solid var(--border-strong) !important; }
#pr-consent button:last-child { background: var(--teal) !important; color: #000 !important; border: 1px solid var(--teal) !important; font-weight: 700; }
/* Tableaux des guides : fond plein, la grille ne passe pas derrière les cellules. */
.content table { background: rgba(0, 0, 0, 0.82) !important; }
/* Outils : pas de bandes de fond empilées dans le widget, lien d'action isolé du bouton. */
[data-tool-widget] p, [data-tool-widget] li, [data-tool-widget] h2, [data-tool-widget] h3 { background: none; }
[data-tool-result] a {
  display: flex; align-items: center; min-height: 44px; margin-top: 8px;
}

/* ===== v5 : direction « mixte 2 » (menthe), arrivée animée ===== */
body { counter-reset: asc; }
/* Lignes CRT discrètes, derrière le contenu : jamais sur une photo (VJ, 26/11). */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px 3px);
}
/* Titres : capitales géantes, bloc menthe plein derrière le mot clé. */
h1, h2, h3 { font-weight: 400 !important; text-transform: uppercase; letter-spacing: -0.05em !important; line-height: 1.04 !important; }
h1 { font-size: clamp(2.6rem, 11.5vw, 5rem); }
h2, .section-title { font-size: clamp(1.9rem, 7.5vw, 4rem) !important; }
h3 { font-size: clamp(1.25rem, 4.5vw, 1.75rem) !important; letter-spacing: -0.03em !important; }
h1 em, h2 em, h3 em, .hero h1 em, .section-title em, .section-title em[style] {
  display: inline-block; line-height: 1 !important; font-family: var(--font-mono) !important;
  background: var(--acc); color: #0a0a0a !important; padding: 0 0.08em;
  box-shadow: 0 0 28px rgba(var(--rgb), 0.45);
  /* texte noir net sur menthe : le halo noir de .content le rendait flou (PRICING) */
  text-shadow: none !important;
}
em[style*="--red"] { background: var(--amber) !important; box-shadow: 0 0 24px rgba(255, 176, 0, 0.4) !important; }
.section-eyebrow, .eyebrow, .lbl {
  font-family: var(--font-label) !important; font-size: 22px !important; line-height: 1 !important;
  color: var(--acc) !important; text-transform: uppercase; letter-spacing: 0.04em !important;
  text-shadow: 0 0 8px rgba(var(--rgb), 0.55);
}
.section-eyebrow { counter-increment: asc; }
.section-eyebrow::before { content: "[" counter(asc, decimal-leading-zero) "] "; }
.content h2 { counter-increment: asc; }
.content h2::before { content: "[" counter(asc, decimal-leading-zero) "] "; display: block; font: 22px/1 var(--font-label); color: var(--acc); letter-spacing: 0.04em; margin-bottom: 6px; text-shadow: 0 0 8px rgba(var(--rgb), 0.55); }
/* Menu : capitales, 14 px. */
nav a, .site-nav a, .nav-links a { text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px !important; }
.nav-logo { font-size: 18px !important; letter-spacing: 0.04em; }
.nav-cta { text-shadow: none; }
.btn-primary, .nav-cta, .price-btn-primary, .mobile-cta { box-shadow: 0 0 18px rgba(var(--rgb), 0.35) !important; text-transform: uppercase; letter-spacing: 0.06em !important; }
.btn-ghost, .price-btn, .payg-btn { text-transform: uppercase; letter-spacing: 0.06em !important; }
.btn-ghost { border-color: var(--fg) !important; }
.price-amount, .amt, .plan .price { font-size: clamp(3rem, 14vw, 4rem) !important; line-height: 1.1; letter-spacing: -0.06em; color: var(--acc) !important; text-shadow: 0 0 14px rgba(var(--rgb), 0.45) !important; }
.price-amount span, .plan .price small { font-size: 16px !important; letter-spacing: 0; color: var(--fg) !important; text-shadow: none !important; font-family: var(--font-mono) !important; }
.content h1 { font-size: clamp(2.2rem, 6.5vw, 3.8rem); }
.plan h2, .price-card h2, [class*="card"] h2 { font-size: clamp(1.4rem, 4.5vw, 1.9rem) !important; letter-spacing: -0.03em !important; }
.plan .price small { display: inline !important; }
.logo svg text { text-transform: none; letter-spacing: 0; }
.price-card, .feature-card, .how-card, .step { border-color: var(--fg) !important; }
.price-card.featured { border-color: var(--acc) !important; box-shadow: 0 0 22px rgba(var(--rgb), 0.2) !important; }
.price-features li { border-top: 1px solid var(--ln); }
/* Une seule puce « > » : la coche ronde du site public est retirée (VJ, 26/11). */
.price-features li::before {
  content: ">"; color: var(--acc); width: auto; height: auto; background: none;
  border-radius: 0; font-weight: 700;
}
.price-features li::after { content: none; display: none; }
.trust-label { font-family: var(--font-label) !important; font-size: 20px; color: var(--acc); text-transform: uppercase; }
/* Alertes : ambre. */
.error, .alert, [class*="error"], [class*="warn"], .toast.error, .ba-badge-left { color: var(--amber); }
.toast.error, .error-box, [class*="error"][class*="box"] { border-color: var(--amber) !important; }

/* Accueil : héros */
.hero { position: relative; justify-content: flex-start; overflow: clip; }
.hero > :not(canvas) { position: relative; z-index: 1; }
.hero-title { font-size: clamp(2.7rem, 12.5vw, 8rem) !important; letter-spacing: -0.06em !important; line-height: 1 !important; }
.hero-title::before {
  content: "root@passreal:~$ █"; display: block; width: fit-content; margin-bottom: 14px;
  font: 22px/1 var(--font-label); letter-spacing: 0; text-transform: none; color: var(--acc);
  text-shadow: 0 0 8px rgba(var(--rgb), 0.55); 
}
.hero-title, .hero-sub, .trust-row { padding: 8px 13px; margin-left: -13px; margin-right: -13px; }
.hero-sub, .trust-row { background: rgba(0, 0, 0, 0.7); }
#asc-hero { position: relative; display: block; width: 100%; height: 210px; order: -1; pointer-events: none; }
@media (min-width: 900px) {
  .hero { align-items: flex-start; text-align: left; padding-left: 6vw; padding-right: 6vw; justify-content: center; min-height: 92vh; }
  .hero > :not(canvas) { max-width: 58%; }
  .hero-title { font-size: clamp(4rem, 8.2vw, 8rem) !important; }
  .hero-cta-row, .trust-row { justify-content: flex-start; }
  #asc-hero { position: absolute; inset: 0; height: 100%; order: 0; z-index: 0; filter: drop-shadow(0 0 6px rgba(var(--rgb), 0.55)); }
}
/* Révélations : balayage par paliers, pas de fondu mou. */
.reveal { transform: translateY(8px); transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1) !important; }
/* Comparateur : balayage scanner. */
.ba-divider { box-shadow: 0 0 14px var(--acc), 0 0 2px var(--acc); }
.ba-container.asc-scan::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(90deg, transparent calc(var(--scan, 50%) - 14%), rgba(var(--rgb), 0.16) var(--scan, 50%), transparent calc(var(--scan, 50%) + 1%)); }
/* Séquence de démarrage (une fois par session, accueil). */
html.asc-boot::before { content: ""; position: fixed; inset: 0; z-index: 99998; background: #000; animation: asc-boot-off 0s linear 2s forwards; }
@keyframes asc-boot-off { to { opacity: 0; visibility: hidden; } }
#asc-boot {
  position: fixed; inset: 0; z-index: 99999; background: #000; color: var(--acc); padding: 24px clamp(16px, 4vw, 48px);
  font: 22px/1.35 var(--font-label); text-transform: uppercase; text-shadow: 0 0 8px rgba(var(--rgb), 0.55);
  display: flex; flex-direction: column; justify-content: center; white-space: pre-wrap; transition: opacity 220ms steps(4);
}
#asc-boot.fin { opacity: 0; pointer-events: none; }
#asc-boot .ok { color: var(--fg); } #asc-boot .skip { margin-top: 24px; color: var(--text-2); text-shadow: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { transform: none; transition: none !important; }
  html.asc-boot::before, #asc-boot { display: none; }
}

/* cibles >= 44 px */
.nav-cta, .nav-logo { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
