:root {
  --primary-dark: #0A0A0A;
  --primary-light: #014421;
  --bg: #F5F7F6;
  --text: #0A0A0A;
  --primary-red: #014421;
  --dark-purple: #0A0A0A;
  --white: #ffffff;
  --light-gray: #F5F7F6;
  --medium-gray: #e9ecef;
  --gold-premium: #D4AF37;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: white;
  color: var(--text);
  overflow-x: hidden;
}

.wk-body-90 {
  width: min(90%, 1200px);
  margin: 0 auto;
}



/* Repère typographique mono, utilisé pour tout ce qui relève d'un
   "code" ou d'un repère technique (badge, tags, numéros, verdicts) :
   c'est ce qui distingue cette page de la landing, purement éditoriale. */
.hiw-hero__badge,
.hiw-nav__link,
.hiw-stat__value,
.step-card h3::before {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* =========================================================
   HERO - dissymétrique, pas de "carte de verre" façon landing.
   Texte à gauche, diagramme de pipeline en CSS pur à droite.
   ========================================================= */

.hiw-hero {
  position: relative;
  padding: 70px 0 40px;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top:20px;
}

.hiw-hero__content {
  flex: 1 1 460px;
  min-width: 0;
}

.hiw-hero__visual {
  flex: 1 1 320px;
  max-width: 420px;
}

.hiw-hero__visual-img {
  display: block;
  width: 100%;
  height: auto;
}

.hiw-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border: 1px solid rgba(1, 68, 33, 0.3);
  border-radius: 6px;
  color: var(--primary-light);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.hiw-hero__badge .material-symbols-outlined {
  font-size: 16px;
}

.hiw-hero__title {
  margin-top: 24px;
  max-width: 15ch;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--primary-dark);
}

.hiw-hero__subtitle {
  margin-top: 20px;
  max-width: 46ch;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.68);
}

.hiw-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hiw-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 8px;
  background: var(--primary-light);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.hiw-hero__btn:hover {
  box-shadow: 0 12px 26px rgba(1, 68, 33, 0.25);
}

.hiw-hero__btn--ghost {
  background: transparent;
  color: var(--primary-dark);
  border: 1px solid rgba(10, 10, 10, 0.18);
}

.hiw-hero__btn--ghost:hover {
  border-color: var(--primary-dark);
  box-shadow: none;
}

/* Ledger de stats : trois repères séparés par des filets verticaux,
   jamais par des points médians. NOTE : le HTML utilise "hiw-stats". */
.hiw-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px dashed rgba(10, 10, 10, 0.15);
}

.hiw-stat {
  position: relative;
  padding-left: 20px;
}

.hiw-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 3px;
  height: 22px;
  background: var(--gold-premium);
  border-radius: 2px;
}

.hiw-stat__value {
  display: block;
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.hiw-stat__label {
  margin-top: 4px;
  color: rgba(10, 10, 10, 0.6);
  font-size: 0.85rem;
  line-height: 1.4;
  max-width: 20ch;
}

/* Le diagramme à 4 points colorés a été retiré : l'image
   weurkico-verification-layer.png occupe maintenant cette place,
   à droite du hero, via .hiw-hero__visual. */
@media (max-width: 1099px) {
  .hiw-hero__visual {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* =========================================================
   QUICK NAVIGATION - barre d'onglets sobre, pas de pilules pleines
   ========================================================= */

.hiw-nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.08);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.hiw-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  color: rgba(10, 10, 10, 0.55);
  font-weight: 600;
  font-size: 0.78rem;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.hiw-nav__link .material-symbols-outlined {
  font-size: 17px;
}

.hiw-nav__link:hover {
  color: var(--primary-light);
}

.hiw-section-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 28px;
}

.hiw-eyebrow {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(1, 68, 33, 0.08);
  color: var(--primary-light);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header {
  max-width: 560px;
  margin: 0 0 48px;
}

.hiw-lede {
  margin-top: 12px;
  color: rgba(10, 10, 10, 0.65);
  line-height: 1.7;
  font-size: 1.02rem;
}

/* Animations globales (utilitaires existants, inchangés) */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scale-in.visible { opacity: 1; transform: scale(1); }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  top: 0;
  z-index: 1000;
}

header.scrolled {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background: white;
}

.logo {
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: color 0.3s ease;
  font-family: 'Inter', sans-serif;
}

.logo a {
  text-decoration: none;
  font-weight: 700;
  font-size: 24px;
  color: var(--primary-light);
  flex-shrink: 0;
}

nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.btnA { padding: 5px 10px !important; }

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 12.9px;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  height: 100%;
}

nav a.btnA:hover {
  color: var(--primary-light);
  background-color: rgba(1, 68, 33, 0.05);
  text-decoration: none !important;
  height: auto;
}

nav a:hover {
  color: var(--primary-light);
  height: auto;
  text-decoration: none !important;
}

.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px !important;
  background: var(--primary-light);
  color: white !important;
  border-radius: 6px;
  text-decoration: none;
  font-size: 13.4px !important;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  height: auto !important;
}

.a-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.a-btn:hover::before { left: 100%; }

/*Fin du Nav*/

.section {
  position: relative;
  z-index: 2;
  padding: 76px;
  width: min(90%, 1200px);
  margin: 0 auto;
}

.section h2 {
  color: var(--primary-dark);
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* =========================================================
   PIPELINE / HUMAN REVIEW - timeline verticale avec numéros
   fantômes générés par compteur CSS (aucun HTML ajouté).
   ========================================================= */

#pipeline .steps-grid,
#human-review .steps-grid {
  display: block;
  counter-reset: hiw-step;
  max-width: 760px;
  margin-top: 0;
  position: relative;
}


#pipeline .steps-grid::before,
#human-review .steps-grid::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), rgba(1, 68, 33, 0.1));
}

#pipeline .step-card,
#human-review .step-card {
  counter-increment: hiw-step;
  position: relative;
  padding: 0 0 40px 60px;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

#pipeline .step-card::before,
#human-review .step-card::before {
  content: counter(hiw-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-light);
  color: var(--primary-light);
  font-weight: 700;
  font-size: 0.95rem;
}

#pipeline .step-card:last-child,
#human-review .step-card:last-child {
  padding-bottom: 0;
}

#pipeline .step-card h3,
#human-review .step-card h3 {
  margin: 4px 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
}

#pipeline .step-card p,
#human-review .step-card p {
  margin: 0;
  color: rgba(10, 10, 10, 0.62);
  line-height: 1.65;
  font-size: 0.98rem;
  max-width: 60ch;
}

/* =========================================================
   VERIFICATION / RECORD - tuiles façon "rapport de scan",
   avec repère mono coloré (tag) au lieu d'icônes.
   ========================================================= */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(10, 10, 10, 0.08);
  border: 1px solid rgba(10, 10, 10, 0.08);
  margin-top: 8px;
}

.step-card {
  --tag: "GEN";
  --accent: var(--primary-light);

  background: var(--white);
  padding: 28px 24px;
  position: relative;
}

.step-card h3::before {
  content: var(--tag);
  display: inline-block;
  padding: 2px 7px;
  margin-right: 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--accent) 14%, white);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.step-card p {
  margin: 0;
  color: rgba(10, 10, 10, 0.6);
  line-height: 1.6;
  font-size: 0.95rem;
}

.step-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s ease;
}

.step-card:hover::after {
  transform: scaleY(1);
}

/* Étiquettes + accents par carte (valeurs directes, comme le reste
   du fichier - aucune nouvelle variable globale ajoutée) */

#verification .step-card:nth-child(1) { --tag: "SEC"; --accent: #DC2626; }
#verification .step-card:nth-child(2) { --tag: "COR"; --accent: #2563EB; }
#verification .step-card:nth-child(3) { --tag: "DEP"; --accent: #0E7490; }
#verification .step-card:nth-child(4) { --tag: "TST"; --accent: #7C3AED; }
#verification .step-card:nth-child(5) { --tag: "ARC"; --accent: #D4AF37; }
#verification .step-card:nth-child(6) { --tag: "PRD"; --accent: var(--primary-light); }

section[aria-labelledby="record-title"] .step-card:nth-child(1) { --tag: "LOG"; --accent: #0E7490; }
section[aria-labelledby="record-title"] .step-card:nth-child(2) { --tag: "FND"; --accent: #DC2626; }
section[aria-labelledby="record-title"] .step-card:nth-child(3) { --tag: "DEC"; --accent: #7C3AED; }
section[aria-labelledby="record-title"] .step-card:nth-child(4) { --tag: "RPT"; --accent: #D4AF37; }

section[aria-labelledby="record-title"] .steps-grid {
  grid-template-columns: repeat(4, 1fr);
}

/* =========================================================
   VERDICT - bandes de statut façon CI/CD, pas des cartes.
   ========================================================= */

#result .steps-grid {
  display: flex;
  flex-direction: column;
  grid-template-columns: none;
  gap: 12px;
  background: none;
  border: none;
}

#result .step-card {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-left: 4px solid var(--accent);
  background: var(--white);
}

#result .step-card::after { display: none; }

#result .step-card h3 {
  flex: 0 0 200px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  color: var(--accent);
}

#result .step-card h3::before { display: none; }

#result .step-card p {
  margin: 0;
  color: rgba(10, 10, 10, 0.65);
}

#result .step-card:nth-child(1) { --accent: var(--primary-light); }
#result .step-card:nth-child(2) { --accent: #D4AF37; }
#result .step-card:nth-child(3) { --accent: #2563EB; }

@media (max-width: 640px) {
  #result .step-card {
    flex-direction: column;
    gap: 6px;
  }
  #result .step-card h3 {
    flex-basis: auto;
  }
}

.hiw-payment-subtitle {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr) !important; }
  section[aria-labelledby="record-title"] .steps-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 640px) {
  .steps-grid { grid-template-columns: 1fr !important; }
  #pipeline .step-card, #human-review .step-card { padding-left: 52px; }
}

.cta {
  text-align: center;
  margin-top: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 15px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn.dark {
  background: var(--primary-light);
  color: white !important;
  box-shadow: 0 4px 12px rgba(1, 68, 33, 0.2);
}

.btn.dark:hover {
  box-shadow: 0 6px 18px rgba(1, 68, 33, 0.28);
  background: var(--primary-light);
}

.btn.dark::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn.dark:hover::before { left: 100%; }

/* =========================================================
   BANNIÈRE FINALE - "terminal card" sombre, distincte des
   bandeaux de la landing : ligne de commande décorative.
   ========================================================= */

.payment-section {
  background: var(--primary-dark);
  border-radius: 12px;
  padding: 56px 48px;
  margin: 20px auto 0;
  max-width: 900px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.payment-section::before {
  content: "$ weurkico verify ./your-app";
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  color: var(--primary-light);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 24px;
  width: fit-content;
  animation: none;
}

.payment-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.payment-section .hiw-payment-subtitle {
  margin: 0 0 10px;
  text-align: left;
}

.payment-section .hiw-hero__actions {
  margin-top: 28px !important;
}

.payment-section .hiw-hero__btn {
  background: var(--white);
  color: var(--primary-dark);
}

.payment-section .hiw-hero__btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.payment-section .hiw-hero__btn--ghost:hover {
  border-color: var(--white);
}

.payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.payment-methods img {
  height: 40px;
}

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
@keyframes expandWidth { to { width: 80px; } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-10px); } }

@media (max-width: 520px) {
  header { padding: 10px 14px; }
  nav { gap: 6px; overflow-x: auto; overflow-y: hidden; }
  nav::-webkit-scrollbar { height: 0; }
}

@media screen and (max-width: 768px) {
  .payment-section { padding: 36px 24px; }

  .payment-methods { flex-direction: column !important; gap: 2rem !important; }
  .payment-methods img { height: 40px !important; }

  .btn { padding: 12px 24px !important; font-size: 1rem !important; }
}

/* =========================================================
   MOBILE LISIBILITÉ - le padding plein de 76px écrasait le
   contenu (~185px utiles sur un écran de 375px) et les petites
   tailles mono/tags n'étaient jamais relevées.
   ========================================================= */
@media (max-width: 900px) {
  .section { padding: 52px 24px; }
}

@media (max-width: 640px) {
  .section { padding: 44px 16px; }
  .section h2 { font-size: clamp(24px, 7vw, 30px); }
  .hiw-section-head { margin-bottom: 22px; }

  /* Hero */
  .hiw-hero { padding: 48px 0 32px; gap: 32px; }
  .hiw-hero__badge { font-size: 0.85rem; padding: 7px 14px; }
  .hiw-hero__badge .material-symbols-outlined { font-size: 18px; }
  .hiw-hero__subtitle { font-size: 1.05rem; }
  .hiw-hero__btn { font-size: 1rem; padding: 14px 24px; }
  .hiw-stat__value { font-size: 1rem; }
  .hiw-stat__label { font-size: 0.9rem; max-width: none; }

  /* Barre d'onglets : scroll horizontal plutôt que wrap minuscule */
  .hiw-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
  .hiw-nav::-webkit-scrollbar { height: 0; }
  .hiw-nav__link {
    font-size: 0.88rem;
    padding: 13px 14px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .hiw-eyebrow { font-size: 0.85rem; }
  .hiw-lede { font-size: 1rem; }

  /* Cartes */
  .step-card { padding: 24px 20px; }
  .step-card h3 { font-size: 1.12rem; line-height: 1.35; }
  .step-card h3::before { font-size: 0.75rem; padding: 3px 8px; }
  .step-card p { font-size: 1rem; line-height: 1.65; }

  /* Timeline pipeline / human review */
  #pipeline .step-card h3,
  #human-review .step-card h3 { font-size: 1.12rem; }
  #pipeline .step-card p,
  #human-review .step-card p { font-size: 1rem; }

  /* Bandes de verdict */
  #result .step-card { padding: 18px 18px; }
  #result .step-card h3 { font-size: 0.95rem; }
  #result .step-card p { font-size: 0.98rem; }

  /* Bannière finale */
  .hiw-payment-subtitle { font-size: 1rem; }
  .payment-section::before { font-size: 0.8rem; }
  .payment-section h2 { font-size: clamp(22px, 6.5vw, 28px); }
}

@media (max-width: 400px) {
  .section { padding: 36px 12px; }
  .step-card { padding: 20px 16px; }
  #pipeline .step-card,
  #human-review .step-card { padding-left: 48px; }
}

/* Footer styles disabled - Using unified premium footer from _footer.html */
footer { display: none !important; }