/* Wolfprod ERP — site vitrine, accordé au logo Wolfprod.
   Noir profond, acier brossé et bleu électrique (les yeux du loup). Exo 2
   en italique lourd pour les titres, comme le lettrage du logo ; Instrument
   Sans pour le texte. Diamants bleu glacé, récompense en vert. */
:root {
  --night: #05070c;
  --stage: #0d1320;
  --stage-2: #131b2c;
  --line: #22304a;
  --ink: #eef3fa;
  --muted: #95a3b8;
  --blue: #1f8bff;
  --blue-hover: #45a0ff;
  --blue-deep: #0f5fc0;
  --steel: #c8d1dc;
  --steel-dark: #7d8a9c;
  --ice: #7cd0ff;
  --ok: #6ee7b7;
  --danger: #ff8a8a;
  --display: 'Exo 2', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 76px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); font-style: italic; font-weight: 800; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; max-width: 22ch; }
h3 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--night); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, var(--blue), var(--blue-deep)); color: #fff; box-shadow: 0 0 24px -6px rgba(31, 139, 255, .7); }
.btn-primary:hover { background: linear-gradient(180deg, var(--blue-hover), var(--blue)); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ice); }
.btn-small { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(5, 7, 12, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 1rem var(--display); text-decoration: none; }
.brand-logo { height: 44px; width: auto; display: block; mix-blend-mode: screen; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; }
.nav-links a:hover { color: var(--ink); }

/* ---------- Ouverture ---------- */
.hero { padding: 72px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); font-weight: 800; max-width: 13ch; }
.lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hint { margin-top: 14px; font-size: .9rem; color: var(--muted); }

/* Le classement du cycle : l'élément mémorable de la page. */
.board { margin: 0; background: var(--stage); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 18px; box-shadow: 0 30px 80px -40px rgba(31, 139, 255, .55); }
.pk { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; }
.pk-pink { color: var(--blue-hover); }
.pk-cyan { color: var(--steel); }
.pk-bar { height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--steel-dark), var(--steel)); overflow: hidden; }
.pk-fill { display: block; height: 100%; width: 63%; background: var(--blue); box-shadow: 0 0 12px var(--blue); border-radius: 999px 0 0 999px; animation: pk 1.6s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes pk { from { width: 50%; } }
.pk-caption { margin-top: 6px; font-size: .8rem; color: var(--muted); text-align: center; }
.board-head { display: flex; justify-content: space-between; margin: 18px 0 6px; font-size: .8rem; color: var(--muted); }
.board-list { margin: 0; padding: 0; list-style: none; counter-reset: rank; }
.board-list li {
  counter-increment: rank;
  display: grid; grid-template-columns: 26px 1fr auto auto; align-items: center; gap: 12px;
  padding: 12px 0; border-top: 1px solid var(--line);
}
.board-list li::before { content: counter(rank); font: 700 .95rem var(--display); color: var(--muted); }
.board-list li:first-child::before { color: var(--ice); }
.who { font-weight: 600; display: flex; flex-direction: column; min-width: 0; }
.who small { font-weight: 400; font-size: .78rem; color: var(--muted); }
.gems { font: 700 .95rem var(--display); color: var(--ice); white-space: nowrap; }
.gems::before { content: ''; display: inline-block; width: 9px; height: 9px; margin-right: 6px; background: var(--ice); transform: rotate(45deg); border-radius: 1px; vertical-align: 1px; }
.reward { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(110, 231, 183, .12); color: var(--ok); white-space: nowrap; }
.is-short .reward { background: rgba(255, 138, 138, .12); color: var(--danger); }
.board figcaption { margin-top: 12px; font-size: .8rem; color: var(--muted); }

/* ---------- Engagements ---------- */
.promises { border-block: 1px solid var(--line); background: var(--stage); }
.promises-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.promises-row p { padding: 26px 24px; color: var(--muted); font-size: .95rem; }
.promises-row p + p { border-left: 1px solid var(--line); }
.promises-row strong { display: block; font: 700 1.05rem var(--display); color: var(--ink); margin-bottom: 4px; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-lead { margin-top: 14px; color: var(--muted); max-width: 56ch; }

.jobs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.job { padding: 30px 32px 34px 0; border-bottom: 1px solid var(--line); }
.job:nth-child(even) { padding-left: 32px; padding-right: 0; border-left: 1px solid var(--line); }
.job ul { margin-top: 16px; display: grid; gap: 10px; }
.job li { position: relative; padding-left: 20px; color: var(--muted); }
.job li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); }
.job-pay li::before { background: var(--ice); border-radius: 1px; transform: rotate(45deg); }
.job-pay h3 { color: var(--ice); }

.section-roles { background: var(--stage); border-block: 1px solid var(--line); }
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.role {
  display: flex; flex-direction: column; gap: 10px; padding: 22px; text-decoration: none;
  background: var(--night); border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .15s ease, transform .15s ease;
}
.role:hover { border-color: var(--blue); transform: translateY(-2px); }
.role p { color: var(--muted); font-size: .95rem; flex: 1; }
.role-cta { font-weight: 600; color: var(--blue); }

/* ---------- Tarifs ---------- */
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; max-width: 900px; }
.tier-card {
  display: flex; flex-direction: column; gap: 8px; text-align: left; cursor: pointer;
  padding: 28px; border-radius: 20px; border: 2px solid var(--line); background: var(--stage);
  color: var(--ink); font: inherit;
  transition: border-color .15s ease;
}
.tier-card:hover { border-color: #3a4d70; }
.tier-card.selected { border-color: var(--blue); }
.tier-name { font: 700 1.15rem var(--display); }
.tier-price { font: italic 800 2.4rem/1.1 var(--display); background: linear-gradient(180deg, #ffffff, var(--steel) 55%, var(--steel-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tier-price small { font: 500 1rem var(--text); color: var(--muted); }
.tier-desc { color: var(--muted); }
.tier-card ul { margin: 12px 0 18px; display: grid; gap: 8px; }
.tier-card li { position: relative; padding-left: 22px; font-size: .95rem; }
.tier-card li::before { content: ''; position: absolute; left: 2px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.tier-pick { margin-top: auto; font-weight: 600; color: var(--muted); }
.tier-card.selected .tier-pick { color: var(--blue); }
.tier-card.selected .tier-pick::after { content: ' (choisie)'; }
.tiers-note { margin-top: 20px; color: var(--muted); max-width: 70ch; font-size: .95rem; }

/* ---------- Commande ---------- */
.section-order { background: linear-gradient(180deg, var(--night), var(--stage)); border-top: 1px solid var(--line); }
.order-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.order-intro p { margin-top: 16px; color: var(--muted); max-width: 44ch; }
.summary { margin-top: 28px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--stage-2); display: grid; gap: 4px; max-width: 320px; }
.summary > span:first-child { font-size: .85rem; color: var(--muted); }
.summary strong { font: 700 1.3rem var(--display); }
.summary-total { font: 800 1.8rem var(--display); color: var(--blue); }
.summary-total span { font: 500 .95rem var(--text); color: var(--muted); }
.summary-change { margin-top: 6px; font-size: .9rem; color: var(--ice); }

.order-form { display: grid; gap: 16px; padding: 28px; border-radius: 20px; background: var(--stage); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
input:not([type='checkbox']) {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--night); color: var(--ink); font: inherit;
}
input::placeholder { color: #5d6b82; }
input:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(31, 139, 255, .25); }
.addons { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin: 0; display: grid; gap: 10px; }
.addons legend { padding: 0 6px; font-weight: 600; font-size: .92rem; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.form-message { display: none; padding: 12px 14px; border-radius: 10px; font-size: .95rem; }
.form-message.show { display: block; }
.form-message.error { background: rgba(255, 138, 138, .12); color: var(--danger); }
.form-message.success { background: rgba(110, 231, 183, .12); color: var(--ok); }

/* ---------- Questions ---------- */
details { border-bottom: 1px solid var(--line); }
details:first-of-type { margin-top: 32px; border-top: 1px solid var(--line); }
summary { cursor: pointer; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 500 1.4rem var(--display); color: var(--ice); }
details[open] summary::after { content: '−'; }
details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer a { color: var(--ice); }

/* ---------- Pages de confirmation (success.html, cancel.html) ---------- */
.confirm-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; }
.confirm-card { max-width: 560px; width: 100%; padding: 36px; border-radius: 22px; background: var(--stage); border: 1px solid var(--line); display: grid; gap: 14px; }
.confirm-card h1 { font-size: 1.8rem; }
.confirm-card p { color: var(--muted); }
.confirm-icon { font-size: 2rem; }
.confirm-recap { padding: 16px; border-radius: 14px; background: var(--night); border: 1px solid var(--line); }
.confirm-recap div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.confirm-recap span { color: var(--muted); }

/* ---------- Petits écrans ---------- */
@media (max-width: 960px) {
  .hero-grid, .order-grid { grid-template-columns: 1fr; gap: 40px; }
  .roles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-inner .btn { margin-left: auto; }
  .hero { padding-top: 44px; }
  .promises-row { grid-template-columns: 1fr; }
  .promises-row p + p { border-left: 0; border-top: 1px solid var(--line); }
  .jobs { grid-template-columns: 1fr; }
  .job, .job:nth-child(even) { padding: 26px 0; border-left: 0; }
  .roles, .tiers, .field-row { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .board { padding: 18px 16px 14px; }
  .board-list li { grid-template-columns: 22px 1fr auto; }
  .board-list .reward { grid-column: 2 / -1; justify-self: start; }
  .order-form { padding: 20px; }
}

/* ---------- Logo Wolfprod dans l'ouverture ---------- */
/* Le fond noir du logo se fond dans la page (mode écran) ; bords adoucis pour ne pas laisser de cadre. */
.hero-logo { display: block; width: min(380px, 82%); height: auto; margin: 0 0 14px -16px; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(75% 75% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(75% 75% at 50% 50%, #000 62%, transparent 100%); }
.hero { background: radial-gradient(60% 70% at 20% 30%, rgba(31, 139, 255, .12), transparent 70%); }
@media (max-width: 720px) {
  .brand-logo { height: 38px; }
  .hero-logo { width: 72%; margin-left: -8px; }
}

/* ---------- Page comparatif ---------- */
.nav-links a[aria-current="page"] { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.compare-hero { padding: 72px 0 24px; background: radial-gradient(55% 80% at 15% 20%, rgba(31, 139, 255, .12), transparent 70%); }
.compare-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 16ch; }
.compare-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 40px 0 0; border-block: 1px solid var(--line); }
.compare-facts div { padding: 22px 24px 22px 0; }
.compare-facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.compare-facts dt { color: var(--muted); font-size: .9rem; }
.compare-facts dd { margin: 6px 0 0; color: var(--muted); }
.compare-facts strong { display: block; color: var(--ink); font-family: var(--display); font-style: italic; font-size: 1.6rem; line-height: 1.15; }
.compare-section { padding-top: 64px; }

/* Tableau : la colonne Wolfprod est mise en avant, les autres restent neutres. */
.compare-table { margin-top: 32px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ct-row { display: grid; grid-template-columns: 1.1fr 1.25fr 1fr 1fr 1fr; }
.ct-row + .ct-row { border-top: 1px solid var(--line); }
.ct-row > span { padding: 16px 18px; color: var(--muted); font-size: .95rem; }
.ct-row > span small { display: block; margin-top: 3px; font-size: .8rem; color: var(--muted); opacity: .8; }
.ct-row > [role="rowheader"] { color: var(--ink); font-weight: 600; }
.ct-head { background: var(--stage); }
.ct-head > span { color: var(--ink); font-weight: 700; font-size: .92rem; }
.ct-row > .ct-us { background: rgba(31, 139, 255, .08); color: var(--ink); border-inline: 1px solid rgba(31, 139, 255, .35); }
.ct-head > .ct-us { background: linear-gradient(180deg, var(--blue), var(--blue-deep)); color: #fff; border-color: transparent; }
.ct-row > .ct-us b { color: var(--ice); font-weight: 700; }
.compare-note { margin-top: 14px; color: var(--muted); font-size: .88rem; max-width: 80ch; }
.compare-honest ul, .compare-sources ul { margin-top: 24px; display: grid; gap: 12px; max-width: 72ch; color: var(--muted); }
.compare-honest strong { color: var(--ink); }
.compare-honest .hero-actions { margin-top: 32px; }
.compare-sources a { color: var(--ice); }
.compare-link { color: var(--ice); font-weight: 600; }

@media (max-width: 900px) {
  /* Sur téléphone, chaque critère devient une carte : Wolfprod d'abord, puis les autres. */
  .compare-facts { grid-template-columns: 1fr; }
  .compare-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .compare-table { border: 0; border-radius: 0; overflow: visible; display: grid; gap: 14px; }
  .ct-head { display: none; }
  .ct-row { grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
  .ct-row + .ct-row { border-top: 1px solid var(--line); }
  .ct-row > [role="rowheader"] { background: var(--stage); }
  .ct-row > [role="cell"] { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 12px 18px; }
  .ct-row > [role="cell"]::before { content: attr(data-who); color: var(--muted); font-size: .85rem; }
  .ct-row > [role="cell"] + [role="cell"] { border-top: 1px solid var(--line); }
  .ct-row > .ct-us { border-inline: 0; }
  .ct-row > .ct-us::before { color: var(--ice); font-weight: 600; }
  .ct-row > [role="cell"] .v { min-width: 0; }
}
.footer-links { display: inline-flex; gap: 20px; flex-wrap: wrap; }
.faq-more { margin-top: 28px; color: var(--muted); }
.faq-more a, .compare-sources .section-lead a { color: var(--ice); }

/* ---------- Accueil Wolfprod (wolflive.fr) : aiguillage vers les deux produits ---------- */
.hub-intro { padding: 32px 0 8px; text-align: center; background: radial-gradient(50% 70% at 50% 20%, rgba(31, 139, 255, .14), transparent 70%); }
.hub-logo { margin: 0 auto 6px; width: min(320px, 70%); }
.hub-intro h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
.hub-intro .lead { margin-inline: auto; }
.hub-products { padding: 48px 0 88px; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.hub-card { position: relative; display: flex; flex-direction: column; background: var(--stage); border: 1px solid var(--line); border-radius: 22px; padding: 32px 30px 30px; overflow: hidden; }
.hub-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; }
.hub-erp::before { background: linear-gradient(90deg, var(--blue-deep), var(--blue)); }
.hub-live::before { background: linear-gradient(90deg, #f5c518, #ff8a00); }
.hub-for { margin: 0; font-weight: 600; font-size: .9rem; color: var(--muted); }
.hub-card h2 { margin-top: 6px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.hub-pitch { margin-top: 10px; font-size: 1.1rem; color: var(--ink); }
.hub-card ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.hub-card li { position: relative; padding-left: 20px; color: var(--muted); }
.hub-card li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); }
.hub-live li::before { background: #f5c518; }
.hub-price { margin-top: auto; padding-top: 24px; color: var(--muted); }
.hub-price strong { color: var(--ink); font-family: var(--display); font-style: italic; font-size: 1.4rem; }
.hub-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.btn-live { background: linear-gradient(180deg, #f5c518, #e0a800); color: #0d1320; box-shadow: 0 0 24px -8px rgba(245, 197, 24, .7); }
.btn-live:hover { background: linear-gradient(180deg, #ffd84d, #f5c518); }
.hub-discord { margin-left: auto; }
.hub-community { border-top: 1px solid var(--line); background: var(--stage); padding: 56px 0; }
.hub-community-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card { padding: 28px 22px 24px; }
}

/* Visuel d'accueil (ERP bleu + WolfLive doré) : bord lumineux bicolore, coins arrondis. */
.hub-hero { display: block; width: 100%; height: auto; margin: 0 auto 36px; border-radius: 22px; border: 1px solid var(--line); box-shadow: -18px 24px 70px -40px rgba(31, 139, 255, .75), 18px 24px 70px -40px rgba(245, 197, 24, .6); }
@media (max-width: 720px) {
  .hub-hero { border-radius: 14px; margin-bottom: 24px; }
}
