:root {
  --vert: #f90094;
  --encre: #ffffff;
  --fond: #08090f;
  --flanc: #12141d;
  --panneau: #1a1d2e;
  --ligne: #2a2040;
  --texte: #fdffff;
  --muted: #a0a3b1;
  --rayon: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 88px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
.baie-nardo {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  margin-left: 248px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(12, 16, 20, .94);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(8px);
}
.bouton-etau {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.bouton-etau svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.enseigne-kraft { display: flex; align-items: center; margin-right: auto; }
.enseigne-kraft img { height: 28px; width: auto; display: block; }
.commandes-lime { display: flex; align-items: center; gap: 8px; }
.loupe-lime, .lien-boisot, .lien-nardo {
  border: 0;
  cursor: pointer;
  background: transparent;
}
.loupe-lime {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.loupe-lime svg { width: 20px; height: 20px; stroke: #d7e0da; fill: none; stroke-width: 2; }
.lien-boisot {
  color: #fff;
  padding: 8px 10px;
  font-weight: 650;
}
.lien-nardo, .bouton-nardo {
  background: var(--vert);
  color: #fff;
  font-weight: 750;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-block;
}
.zone-lime {
  position: absolute;
  left: 248px;
  right: 18px;
  top: 70px;
  z-index: 45;
}
.zone-lime input {
  width: min(420px, 100%);
  margin-left: auto;
  display: block;
  background: #1c252e;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.zone-lime input:focus { border-color: var(--vert); }
.rive-kraft {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  overflow: auto;
  background: var(--flanc);
  border-right: 1px solid var(--ligne);
  z-index: 50;
  padding: 12px 12px 96px;
}
.casiers-etau { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.carton-lime {
  min-height: 72px;
  border-radius: 12px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.15;
}
.carton-lime span { font-size: 12px; opacity: .85; }
.carton-lime strong { font-size: 15px; }
.carton-lime.pack-bonus { background: #f90094; color: #fff; }
.carton-lime.pack-cash { background: #4b156c; color: #d8ffe8; }
.carton-lime.pack-vip { grid-column: 1 / -1; background: linear-gradient(90deg, #781db9, #f90094); color: #fff; min-height: 58px; border: 1px solid #781db9; }
.titre-etau {
  margin: 16px 8px 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7d8982;
  font-weight: 700;
}
.rive-kraft a.lien-etau {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #d5ddd8;
  font-size: 13.5px;
}
.rive-kraft a.lien-etau:hover, .rive-kraft a.lien-etau.actif { background: #1c2630; color: #fff; }
.pastille {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vert);
  flex: 0 0 auto;
}
.voile-nardo { display: none; }
.plancher-tiroir { margin-left: 248px; padding: 22px 22px 120px; }
.plancher-tiroir h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.chapo-etau { margin: 0 0 4px; color: var(--muted); }
.grille-nardo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.dalle-lime {
  position: relative;
  height: 112px;
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #171717;
}
.dalle-lime strong { position: relative; z-index: 1; font-size: 20px; font-weight: 700; line-height: 1.1; }
.dalle-lime img {
  position: absolute;
  right: -6px;
  top: -8px;
  width: 128px;
  height: 128px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.dalle-lime.cat-sport { background-image: linear-gradient(252deg, #f90094, rgba(23,23,23,0) 85%); }
.dalle-lime.cat-rapide { background-image: linear-gradient(252deg, #2e7bd7, rgba(23,23,23,0) 89%); }
.dalle-lime.cat-direct { background-image: linear-gradient(252deg, #df1818, rgba(23,23,23,0) 93%); }
.dalle-lime.cat-exclu { background-image: linear-gradient(252deg, #e82375, rgba(23,23,23,0) 93%); }
.double-col-etau { display: grid; grid-template-columns: 1.45fr .9fr; gap: 12px; margin-bottom: 22px; }
.encart {
  background: var(--panneau);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 22px;
}
.encart h2 { margin: 0 0 8px; font-size: 22px; }
.encart p { margin: 0 0 16px; color: #c5d0c9; }
.rangee-etau {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 12px;
}
.rangee-etau h2 { margin: 0; font-size: 20px; }
.rangee-etau .compteur { color: var(--muted); font-size: 13px; }
.rangee-etau a { margin-left: auto; color: var(--vert); font-weight: 700; font-size: 14px; }
.file-etau {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 148px;
  gap: 16px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.file-etau::-webkit-scrollbar { height: 8px; }
.file-etau::-webkit-scrollbar-thumb { background: #2c3842; border-radius: 8px; }
.file-etau.etau-actif {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}
.plaque-tiroir { position: relative; width: 148px; }
.plaque-tiroir img {
  width: 148px;
  height: 198px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1a222a;
}
.plaque-tiroir figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  min-height: 32px;
}
.calque-etau {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 198px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6, 16, 12, .45);
  opacity: 0;
  transition: opacity .15s ease;
  pointer-events: none;
}
.plaque-tiroir:hover .calque-etau, .plaque-tiroir:focus-within .calque-etau { opacity: 1; pointer-events: auto; }
.article-nardo { max-width: 860px; margin-top: 28px; }
.article-nardo h2 { font-size: 22px; margin: 28px 0 8px; }
.article-nardo p, .article-nardo li { color: #d5ddd8; }
.article-nardo a { color: var(--vert); }
.grille-caisse { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.grille-caisse th, .grille-caisse td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ligne); }
.grille-caisse th { color: #9aa69f; font-weight: 650; }
.question-nardo {
  width: 100%;
  text-align: left;
  background: #1a1d2e;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 650;
}
.reponse-nardo { padding: 8px 4px 4px; color: #d5ddd8; }
.date-nardo { color: var(--muted); font-size: 13px; }
.quai-servante {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--ligne);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.quai-servante h2 { margin: 0 0 6px; font-size: 18px; }
.quai-servante p { margin: 0 0 4px; color: #c9d3cd; }
.plan-boisot { border: 0; width: 100%; height: 220px; border-radius: 12px; background: #1a222a; }
.mentions-nardo { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.mentions-nardo a { color: var(--vert); margin-right: 12px; }
.marche-boisot {
  position: fixed;
  left: 248px;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(12, 16, 20, .96);
  border-top: 1px solid var(--ligne);
  transform: translateY(120%);
  transition: transform .25s ease;
  pointer-events: none;
}
.marche-boisot.visible {
  transform: translateY(0);
  pointer-events: auto;
}
.marche-boisot a { min-width: min(280px, 100%); text-align: center; }
@media (max-width: 980px) {
  .bouton-etau { display: grid; }
  .lien-boisot { display: none; }
  .baie-nardo, .plancher-tiroir, .marche-boisot { margin-left: 0; left: 0; }
  .zone-lime { left: 12px; }
  .rive-kraft { transform: translateX(-105%); transition: transform .2s ease; }
  body.rive-ouverte .rive-kraft { transform: none; }
  body.rive-ouverte .voile-nardo { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 45; }
  .grille-nardo, .double-col-etau, .quai-servante { grid-template-columns: 1fr 1fr; }
  .dalle-lime { height: 96px; }
  .dalle-lime strong { font-size: 16px; }
  .dalle-lime img { width: 96px; height: 96px; top: 0; right: -4px; }
  .double-col-etau, .quai-servante { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grille-nardo { grid-template-columns: 1fr 1fr; }
  .plancher-tiroir { padding: 16px 14px 120px; }
  .plancher-tiroir h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rive-kraft, .calque-etau { transition: none; }
}

.article-nardo a.bouton-nardo {
  color: #fff !important;
  background: var(--vert);
  font-weight: 750;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.article-nardo a.bouton-nardo:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.article-nardo ul, .article-nardo ol {
  padding-left: 22px;
  margin: 12px 0 18px;
}
.article-nardo li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.article-nardo p {
  line-height: 1.65;
  margin: 14px 0;
}

/* Illustrations captures d ecran officielles Wildzy */
.media-etau {
  margin: 28px 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #11171d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.media-etau:hover {
  border-color: rgba(30, 215, 96, 0.35);
  transform: translateY(-2px);
}
.media-etau img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}
.media-etau figcaption {
  padding: 11px 18px;
  font-size: 13.5px;
  color: #a4b8ad;
  background: #141c23;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}
.media-etau figcaption::before, .prose-media figcaption::before {
  content: "📸 ";
  font-size: 15px;
}

/* Tableaux riches type cartes flottantes style  */
.tableau-nardo {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  -webkit-overflow-scrolling: touch;
}
.tableau-nardo table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  font-size: 14px;
  min-width: 520px;
}
.tableau-nardo thead th {
  background: #4b156c;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  letter-spacing: 0.02em;
}
.tableau-nardo thead th:first-child {
  border-radius: 8px 0 0 8px;
}
.tableau-nardo thead th:last-child {
  border-radius: 0 8px 8px 0;
}
.tableau-nardo tbody tr {
  background: #141b22;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tableau-nardo tbody tr:nth-child(even) {
  background: #18222b;
}
.tableau-nardo tbody tr:hover {
  background: #1d2b36;
}
.tableau-nardo tbody td {
  padding: 12px 14px;
  color: #d1ded6;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}
.tableau-nardo tbody td:first-child {
  border-radius: 8px 0 0 8px;
  font-weight: 650;
  color: #ffffff;
}
.tableau-nardo tbody td:last-child {
  border-radius: 0 8px 8px 0;
}
.tableau-nardo td strong {
  color: var(--vert);
}

/* Style des puces vertes dans .article-nardo */
.article-nardo ul {
  list-style: none !important;
  padding-left: 0 !important;
}
.article-nardo ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.article-nardo ul li::before, .prose ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: -2px;
  color: var(--vert);
  font-size: 22px;
  line-height: 1;
}

/* Aliases de compatibilite */
.table-responsive { width: 100%; overflow-x: auto; margin: 24px 0 30px; -webkit-overflow-scrolling: touch; }
.prose-media { margin: 28px 0; padding: 0; border-radius: 14px; overflow: hidden; background: #11171d; border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45); }
.prose-media img { display: block; width: 100%; height: auto; border-radius: 14px 14px 0 0; object-fit: cover; }
.prose-media figcaption { padding: 11px 18px; font-size: 13.5px; color: #a4b8ad; background: #141c23; border-top: 1px solid rgba(255, 255, 255, 0.06); display: flex; align-items: center; gap: 8px; line-height: 1.45; }
.cta-wrap { margin: 20px 0; }

/* carte footer — NAP à gauche, plan à droite, coins propres */
.quai-servante {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(280px, 1.35fr);
  gap: 18px 22px;
  align-items: stretch;
}
.bloc-boisot { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.bloc-boisot h2 { margin: 0 0 4px; }
.bloc-boisot p { margin: 0; }
.cadre-plan {
  border-radius: 12px;
  overflow: hidden;
  min-height: 240px;
  background: #12141d;
  border: 1px solid #2a2040;
}
.plan-boisot {
  display: block;
  width: 100%;
  height: 240px;
  border: 0;
  background: #12141d;
}
.mentions-nardo { grid-column: 1 / -1; }
@media (max-width: 980px) {
  .quai-servante { grid-template-columns: 1fr; }
  .cadre-plan, .plan-boisot { min-height: 200px; height: 200px; }
}
