/* VRS Cyber Network — charte sombre unique. Aucune ressource tierce. */
:root {
  --bg: #0b0f14;
  --bg-2: #10161d;
  --surface: #151c25;
  --surface-2: #1b2430;
  --line: #263241;
  --text: #e6edf3;
  --muted: #9aa7b4;
  --accent: #1cc8cf;
  --accent-2: #f2c811;
  --warn: #ffb547;
  --danger: #ff6b6b;
  --radius: 10px;
  --wrap: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--font); }
img { max-width: 100%; height: auto; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #7fe6ea; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: #fff; line-height: 1.25; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #000; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 15, 20, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-logo { display: block; width: 56px; height: auto; }
.brand-mark { font: 700 .95rem/1 var(--mono); color: #000; background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: 8px 9px; border-radius: 7px; letter-spacing: .04em; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; margin: 0; }
.brand-text strong { font-size: .98rem; color: #fff; letter-spacing: .03em; border-bottom: 2px solid var(--accent); padding-bottom: 2px; margin-bottom: 3px; }
.brand-text small { font: 600 .7rem/1.3 var(--font); color: var(--accent-2); letter-spacing: .06em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; border-radius: 6px; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"], .nav .is-active > a { color: #fff; background: var(--surface-2); }
.nav .has-sub { position: relative; }
.nav .has-sub > a::after { content: " ▾"; font-size: .75em; color: var(--muted); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 230px; flex-direction: column; align-items: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.nav-toggle { display: none; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 8px 12px; font: inherit; cursor: pointer; }

/* Boutons */
.btn { display: inline-block; background: var(--accent); color: #031018 !important; font-weight: 600; text-decoration: none; padding: 12px 20px; border-radius: 8px; border: 1px solid var(--accent); cursor: pointer; font: 600 1rem/1.2 var(--font); }
.btn:hover { background: #7fe6ea; border-color: #7fe6ea; }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--muted); }
.nav .btn-sm { padding: 8px 14px; margin-left: 6px; color: #031018; background: var(--accent); }
.nav .btn-sm:hover { background: #7fe6ea; color: #031018; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.kicker { font: 600 .8rem/1.4 var(--mono); color: var(--accent); text-transform: uppercase; letter-spacing: .12em; margin-bottom: .8em; }
.kicker a { color: inherit; text-decoration: none; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid var(--line); background: radial-gradient(900px 300px at 15% 0%, rgba(28, 200, 207, .12), transparent 70%), var(--bg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Accueil */
.hero { padding: 88px 0 72px; background: radial-gradient(1000px 420px at 10% -10%, rgba(28, 200, 207, .16), transparent 70%), radial-gradient(700px 360px at 95% 10%, rgba(242, 200, 17, .10), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.terminal { background: #070a0e; border: 1px solid var(--line); border-radius: var(--radius); font: .88rem/1.7 var(--mono); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); overflow: hidden; }
.terminal-bar { display: flex; gap: 6px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); }
.terminal-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4653; }
.terminal pre { margin: 0; padding: 16px 18px; white-space: pre-wrap; color: #c9d4df; }
.t-prompt { color: var(--accent-2); }
.t-ok { color: var(--accent-2); }
.t-warn { color: var(--warn); }
.t-dim { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; max-width: 560px; }
.stats div { border-left: 2px solid var(--accent); padding-left: 12px; }
.stats strong { display: block; color: #fff; font-size: 1.05rem; }
.stats span { color: var(--muted); font-size: .88rem; }

/* Preuves, formules, listes à coches */
.proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.proof li::before, .checks li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.checks { list-style: none; padding: 0; }
.checks li { margin-bottom: .7em; }
.pack { position: relative; }
.pack-name { font: 700 .95rem/1 var(--mono); letter-spacing: .12em; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 2.4rem; font-weight: 800; color: #fff; margin: .2em 0 .3em; line-height: 1; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.pack-featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px rgba(28, 200, 207, .12); }
.pack ul { margin-top: 12px; }

/* Cartes */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin-bottom: .5em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul { margin: 0; padding-left: 1.1em; color: #c9d4df; }
.card li { margin-bottom: .35em; }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.card-link .more { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 600; }
.icon { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; background: rgba(28, 200, 207, .12); color: var(--accent); font: 700 .85rem var(--mono); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font: .82rem/1 var(--mono); color: #c9d4df; background: var(--surface-2); border: 1px solid var(--line); padding: 8px 10px; border-radius: 999px; }
.tag { font: .72rem/1 var(--mono); color: var(--accent-2); border: 1px solid rgba(242, 200, 17, .35); padding: 4px 8px; border-radius: 999px; text-transform: uppercase; letter-spacing: .06em; }

/* Étapes */
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 62px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 700 .95rem var(--mono); color: var(--accent); }
.steps strong { color: #fff; }

/* Tableaux */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--surface-2); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: 0; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: #fff; list-style: none; position: relative; padding-right: 28px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 14px; color: var(--accent); font: 700 1.2rem var(--mono); }
details[open] summary::after { content: "−"; }
details > :not(summary) { color: #c9d4df; }
details > :last-child { padding-bottom: 16px; margin-bottom: 0; }

/* Bandeau d'appel */
.cta { background: linear-gradient(135deg, rgba(28, 200, 207, .14), rgba(242, 200, 17, .10)); border: 1px solid var(--line); border-radius: 14px; padding: 40px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta h2 { margin-bottom: .3em; }
.cta p { color: var(--muted); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phone { font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.note { color: var(--muted); font-size: .92rem; border-left: 2px solid var(--line); padding-left: 14px; margin-top: 28px; }
.todo { background: rgba(255, 181, 71, .15); color: var(--warn); padding: 1px 6px; border-radius: 4px; font-family: var(--mono); font-size: .9em; }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #031018; font-weight: 600; }
.post-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.post-card h2 { font-size: 1.25rem; }
.post-card h2 a { color: #fff; text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p:last-child { color: var(--muted); margin: 0; }
.meta { color: var(--muted); font-size: .88rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-hero { padding-bottom: 36px; }
.post-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.prose { padding-top: 40px; padding-bottom: 24px; font-size: 1.08rem; }
.prose h2 { margin-top: 1.8em; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5em; }
.prose p, .prose li { color: #d3dce5; }
.prose blockquote { border-left: 3px solid var(--accent); margin: 1.5em 0; padding: .2em 1.2em; color: var(--muted); }
.prose pre, .prose code { font-family: var(--mono); background: var(--surface); border-radius: 6px; }
.prose pre { padding: 16px; overflow-x: auto; }
.prose .signature { font-style: italic; color: var(--muted); }
.post-nav { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding: 24px 0 72px; }
.post-nav a { text-decoration: none; max-width: 48%; }

/* Formulaire */
.form { display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; color: #fff; }
.field .hint { color: var(--muted); font-weight: 400; font-size: .88rem; }
input[type=text], input[type=email], select, textarea { width: 100%; background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font: inherit; }
textarea { min-height: 180px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(28, 200, 207, .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.error { color: var(--danger); font-size: .88rem; margin-top: 6px; min-height: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; color: #c9d4df; font-size: .95rem; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--accent); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.counter { float: right; color: var(--muted); font-size: .85rem; font-weight: 400; }
.form-status { padding: 14px 16px; border-radius: 8px; display: none; }
.form-status.ok { display: block; background: rgba(242, 200, 17, .12); border: 1px solid rgba(242, 200, 17, .4); color: #bff5d6; }
.form-status.ko { display: block; background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .4); color: #ffd0d0; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 32px; align-items: start; }

/* Pages légales */
.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

/* Pied de page */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 48px; color: var(--muted); font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.footer-title { color: #fff; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 24px; }
.footer-legal p { margin: 0; }
.footer-legal ul { display: flex; gap: 18px; flex-wrap: wrap; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 16px 18px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; }
  .nav .sub { display: flex; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 14px; }
  .nav .has-sub > a::after { content: ""; }
  .nav .btn-sm { margin: 8px 0 0; text-align: center; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 48px; }
  .page-hero { padding: 48px 0 36px; }
  .grid-2, .grid-3, .grid-4, .post-list, .form .row, .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .cta { padding: 28px 22px; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 10px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: 100%; }
  .header-inner .brand-text small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-link { transition: none; }
}

/* Portrait fondateur */
.founder { display: flex; gap: 20px; align-items: flex-start; }
.founder .portrait { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; flex: 0 0 auto; border: 2px solid var(--line); }
@media (max-width: 640px) { .founder { flex-direction: column; } }
