/* BLVCKONTHETRACK — THEME NOIR ET OR */
:root {
  --black: #050505;
  --black2: #11100d;
  --gold: #c99a38;
  --gold2: #ffe0a0;
}

html { color-scheme: dark; }

body {
  background: #080705 !important;
  color: #f5f0e7;
}

body:before {
  background:
    radial-gradient(ellipse at 8% 10%,
      rgba(185,125,29,.17), transparent 30%),
    radial-gradient(ellipse at 95% 90%,
      rgba(185,125,29,.13), transparent 32%),
    linear-gradient(135deg,#080705,#15110b 48%,#050505) !important;
}

body:after {
  opacity: .16 !important;
}

header, .header {
  background: rgba(5,5,5,.97) !important;
  border-bottom: 1px solid var(--gold) !important;
  color: #fff !important;
}

nav a, .nav a {
  color: #f4eee2;
}

nav a:hover, .nav a:hover,
nav a.active, .nav a.active {
  color: var(--gold2) !important;
}

.card, .pack, .feature, .panel {
  background: linear-gradient(145deg,#17130d,#080808 75%) !important;
  border-color: rgba(201,154,56,.75) !important;
  color: #fff !important;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
}

h1, h2, h3, .price, .section-title {
  text-shadow: 0 0 18px rgba(201,154,56,.08);
}

.price {
  color: var(--gold2) !important;
}

.btn, .button, button, .pay {
  border-color: var(--gold) !important;
}

.btn, .button, .pay {
  background: linear-gradient(135deg,#f4d17c,#b78025) !important;
  color: #080705 !important;
}

button {
  accent-color: var(--gold);
}

input, textarea, select {
  background-color: #11100d !important;
  color: #fff !important;
  border-color: #6e552b !important;
}

footer {
  background: #050505 !important;
  border-top: 1px solid rgba(201,154,56,.5);
  color: #c9c0af;
}

@media (max-width: 600px) {
  body:before { opacity: .7; }
}

/* CORRECTION BLOC EXPLICATIF SUR MESURE */
body:has(a[href="rendez-vous-sur-mesure.html"]) .step,
body:has(a[href="rendez-vous-pack-950.html"]) .step {
  color: #f5f0e7;
}

/* Blocs clairs : conserver un texte lisible */
body:has(a[href="rendez-vous-sur-mesure.html"]) section,
body:has(a[href="rendez-vous-sur-mesure.html"]) .steps,
body:has(a[href="rendez-vous-sur-mesure.html"]) .how {
  color: #f5f0e7;
}

body:has(a[href="rendez-vous-sur-mesure.html"]) .step strong,
body:has(a[href="rendez-vous-sur-mesure.html"]) .step p {
  color: #f5f0e7 !important;
}

/* BLOC COMMENT SE PASSE LA CRÉATION */
.process {
  background: linear-gradient(145deg,#17130d,#080808 75%) !important;
  border: 1px solid #c99a38 !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 35px rgba(0,0,0,.35) !important;
  color: #fff !important;
}

.process h2,
.process strong,
.process p {
  color: #f5f0e7 !important;
}

.process .num {
  color: #e5ad3c !important;
}

.process .steps,
.process .step {
  background: transparent !important;
  border-color: #c99a38 !important;
}

.process .notice {
  background: #080808 !important;
  border: 1px solid #c99a38 !important;
  color: #fff !important;
}

/* PANIER — DESIGN NOIR ET OR */
body:has(#cartItems) main,
body:has(#cart-items) main {
  color: #f5f0e7;
}

/* Panneaux blancs du panier */
body:has(a[href="index.html"]) .cart-box,
body:has(a[href="index.html"]) .summary-box {
  background: linear-gradient(145deg,#17130d,#080808) !important;
  border: 1px solid #c99a38 !important;
  border-radius: 12px !important;
  color: #fff !important;
}

/* Couleurs des prix */
body:has(#cartItems) .price,
body:has(#cart-items) .price {
  color: #ffe0a0 !important;
}

/* PANIER — RECTANGLES NOIR ET OR */
body:has(#cartItems) .box {
  background: linear-gradient(145deg,#1b160e,#090909 80%) !important;
  color: #f5f0e7 !important;
  border: 1px solid #c99a38 !important;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,.4);
}

/* ARTICLES */
body:has(#cartItems) .item {
  background: #100e0a !important;
  border: 1px solid #65502b !important;
  color: #fff !important;
}

/* SÉPARATIONS */
body:has(#cartItems) .line {
  border-bottom: 1px solid #65502b !important;
}

/* PRIX ET TITRES */
body:has(#cartItems) .box h2,
body:has(#cartItems) .item-info strong {
  color: #fff !important;
}

body:has(#cartItems) .price,
body:has(#cartItems) .total span:last-child {
  color: #e5b957 !important;
}

/* LIENS ET TEXTES SECONDAIRES */
body:has(#cartItems) .continue {
  color: #e5b957 !important;
}

body:has(#cartItems) .demo,
body:has(#cartItems) .item-info small,
body:has(#cartItems) .empty {
  color: #bfb5a3 !important;
}

/* CORRECTION RECTANGLE BLANC — SUR MESURE ET PACKS */
.process,
section.process {
  background: linear-gradient(145deg, #1b160e, #090909 80%) !important;
  background-color: #090909 !important;
  border: 1px solid #c99a38 !important;
  color: #f5f0e7 !important;
}

.process h2,
.process .step strong,
.process .step p {
  color: #f5f0e7 !important;
}

.process .num {
  color: #d4a02d !important;
}

.process .notice {
  background: #080808 !important;
  color: #f5f0e7 !important;
  border-color: #c99a38 !important;
}
