* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --bg-deep: #030914;
  --line: rgba(64, 175, 245, 0.35);
  --line-soft: rgba(64, 175, 245, 0.2);
  --cyan: #1bc5ff;
  --text: #e7f4ff;
  --muted: #9eb7ce;
  --topbar-height: 72px;
  --surface-0: #030914;
  --surface-1: #071a32;
  --surface-2: #0a2342;
  --surface-3: #0f2e53;
  --field-bg: rgba(6, 23, 46, 0.82);
  --field-border: rgba(84, 184, 244, 0.34);
  --focus-ring: rgba(30, 187, 255, 0.45);
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.4;
}

:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.page-shell {
  width: 100%;
  margin: 0;
  padding-top: var(--topbar-height);
  border: 0;
  background: linear-gradient(180deg, #031227 0%, #020a16 100%);
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: 520px;
  border-bottom: 1px solid var(--line-soft);
  background:
    linear-gradient(94deg, rgba(1, 9, 24, 0.86) 28%, rgba(1, 9, 24, 0.6) 54%, rgba(1, 9, 24, 0.36) 72%, rgba(1, 9, 24, 0.55) 100%),
    radial-gradient(120% 80% at 22% 8%, rgba(28, 196, 255, 0.12), transparent 60%),
    url("./assets/hero-gaming-pc.jpg") center center/cover;
}
.hero-store {
  min-height: 360px;
  background:
    linear-gradient(100deg, rgba(2, 11, 24, 0.92) 14%, rgba(2, 11, 24, 0.6) 48%, rgba(2, 11, 24, 0.84) 100%),
    radial-gradient(80% 65% at 12% 22%, rgba(35, 199, 255, 0.24), transparent 62%),
    radial-gradient(90% 70% at 72% 100%, rgba(140, 71, 255, 0.18), transparent 70%),
    url("./assets/hero-gaming-pc.jpg") center center/cover;
  display: grid;
  grid-template-rows: auto 1fr;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(59, 161, 220, 0.2);
  background: rgba(2, 11, 25, 0.72);
  backdrop-filter: blur(10px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.logo {
  width: auto;
  height: clamp(34px, 2.5vw, 46px);
  max-width: min(34vw, 230px);
  display: block;
  object-fit: contain;
  filter: none;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(120, 199, 255, 0.35);
  background: rgba(10, 28, 52, 0.9);
  color: #d8edff;
  border-radius: 8px;
  width: 40px;
  height: 36px;
  font-size: 20px;
}

.menu {
  display: flex;
  gap: 20px;
  margin-left: 6px;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}
.menu a {
  color: #a8c0d8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.menu a.active { color: #18beff; border-bottom-color: #18beff; }

.menu-dropdown {
  position: relative;
}
.menu-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
.menu-dropdown-btn {
  border: 0;
  background: transparent;
  color: #a8c0d8;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  cursor: pointer;
}
.menu-dropdown:hover .menu-dropdown-btn,
.menu-dropdown-btn:focus-visible {
  color: #18beff;
  border-bottom-color: #18beff;
  outline: none;
}
.menu-dropdown-panel {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid rgba(77, 184, 245, 0.42);
  background: linear-gradient(180deg, rgba(7, 22, 45, 0.96), rgba(5, 16, 34, 0.96));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 30;
}
.menu-dropdown:hover .menu-dropdown-panel,
.menu-dropdown:focus-within .menu-dropdown-panel,
.menu-dropdown.open .menu-dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.menu-dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #c3d7ea;
  border-bottom: 0;
}
.menu-dropdown-panel a:hover {
  color: #7de4ff;
  background: rgba(26, 185, 255, 0.14);
}

.right-actions { display: flex; align-items: center; gap: 8px; }

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(120, 199, 255, 0.34);
  background: rgba(10, 28, 52, 0.86);
  color: #d9efff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.theme-toggle-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(149, 227, 255, 0.64);
  box-shadow: 0 0 14px rgba(47, 191, 255, 0.24);
}

.theme-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

.theme-toggle-label {
  white-space: nowrap;
}

.theme-toggle-fab {
  min-height: 42px;
  padding: 0 14px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.theme-toggle-floating {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1300;
}

.admin-theme-toggle-wrap {
  margin: 4px 0 12px;
}

.theme-toggle-admin {
  width: 100%;
  justify-content: center;
}

.theme-toggle-mobile-wrap {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
}

.theme-toggle-mobile {
  min-width: 40px;
  min-height: 38px;
  border-radius: 10px;
  padding: 0 9px;
}
.mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(120, 199, 255, 0.3);
  background: rgba(10, 28, 52, 0.8);
  color: #d8edff;
  text-decoration: none;
}
.quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 38px;
  padding: 0 16px;
  border-radius: 9px;
  border: 1.5px solid rgba(28, 190, 255, 0.55);
  background: rgba(10, 60, 100, 0.55);
  color: #9ee8ff;
  font-weight: 700;
  font-size: 12px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
  letter-spacing: 0.01em;
  font-family: inherit;
  line-height: 1;
}
.quote:hover,
.quote:focus-visible {
  background: rgba(22, 150, 220, 0.38);
  border-color: rgba(28, 190, 255, 0.85);
  color: #d4f4ff;
  box-shadow: 0 0 0 2px rgba(28, 190, 255, 0.15), 0 4px 14px rgba(0, 150, 220, 0.22);
  outline: none;
}

.hero-content {
  position: relative;
  padding: 30px 22px 22px;
}

.glass {
  border: 1px solid rgba(84, 198, 255, 0.48);
  border-radius: 12px;
  background: linear-gradient(130deg, rgba(9, 39, 75, 0.72), rgba(6, 22, 44, 0.74));
  box-shadow: inset 0 0 40px rgba(31, 191, 255, 0.09), 0 14px 30px rgba(0, 0, 0, 0.35);
}

.hero-card {
  width: min(790px, 100%);
  padding: clamp(18px, 1.9vw, 24px);
  backdrop-filter: blur(12px);
  border-radius: 18px;
}
.hero-card h1 {
  margin: 0;
  font-size: clamp(40px, 5.1vw, 72px);
  font-weight: 800;
  line-height: 0.98;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.42);
}
.hero-brand-logo {
  width: auto;
  height: clamp(36px, 4.2vw, 60px);
  max-width: min(32vw, 220px);
  object-fit: contain;
  filter: none;
}
.hero-brand-logo-full {
  height: clamp(58px, 6.8vw, 96px);
  max-width: min(60vw, 340px);
}
.hero-title-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 4px;
}
.hero-title-row h1 {
  margin: 0;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
}
.hero-title-row h2 {
  margin: 0;
  align-self: center;
}
.hero-card h2 {
  margin: 10px 0 10px;
  font-size: clamp(22px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  color: #deedfb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.hero-card p {
  margin: 0;
  white-space: pre-line;
  font-size: clamp(14px, 1.15vw, 18px);
  font-weight: 500;
  line-height: 1.44;
  color: #bed4e8;
  max-width: 42ch;
}

.pills {
  margin-top: 16px;
  border: 1px solid rgba(91, 173, 226, 0.3);
  border-radius: 14px;
  background: rgba(7, 26, 50, 0.74);
  padding: 10px 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.pill-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
}
.pill-item + .pill-item {
  border-left: 1px solid rgba(80, 157, 210, 0.26);
}
.pill-ico {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #2fcfff;
  text-shadow: 0 0 12px rgba(27, 197, 255, 0.5);
}
.pills strong {
  display: block;
  font-size: clamp(13px, 1vw, 18px);
  line-height: 1.1;
}
.pills small {
  color: #9ab4cb;
  font-size: clamp(11px, 0.84vw, 14px);
}

.cta-row { margin-top: 16px; display: flex; gap: 12px; flex-wrap: wrap; }
.primary, .secondary {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.primary {
  border: 1px solid rgba(145, 240, 255, 0.54);
  background: linear-gradient(180deg, #31d2ff, #1db4f3);
  color: #02273e;
}
.secondary {
  border: 1px solid rgba(118, 192, 239, 0.46);
  background: rgba(7, 20, 41, 0.75);
  color: #d7ecff;
}
.hero-card .primary,
.hero-card .secondary {
  min-height: 48px;
  min-width: 210px;
  padding: 10px 26px;
  border-radius: 12px;
  font-size: clamp(13px, 0.95vw, 17px);
}
.hero-card .primary:hover,
.hero-card .secondary:hover {
  transform: translateY(-1px);
}

.quali-footer {
  margin: 10px clamp(14px, 2.6vw, 38px) 20px;
  border: 1px solid rgba(71, 175, 232, 0.26);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(7, 24, 47, 0.92), rgba(3, 15, 31, 0.9));
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.quali-footer p {
  margin: 0;
  color: #9ec0da;
  font-size: 13px;
}
.quali-footer img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(30, 197, 255, 0.24));
}
.hero-card-store h1 {
  font-size: clamp(34px, 4.1vw, 56px);
  line-height: 1.02;
}
.hero-card-store h2 {
  font-size: clamp(22px, 2.3vw, 35px);
  margin-bottom: 12px;
}
.hero-card-store p {
  font-size: clamp(14px, 1.2vw, 18px);
  max-width: 54ch;
}

.store-hero-content {
  padding-top: 26px;
  padding-bottom: 18px;
}
.store-hero-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px, 5vw, 48px) 24px clamp(28px, 5vw, 52px);
  gap: 10px;
}
.store-hero-title {
  margin: 0;
  font-size: clamp(30px, 4.8vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #e8f3ff;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 32px rgba(34, 192, 255, 0.3);
  text-align: center;
  max-width: 900px;
}
/* Titre spécifique page produit : taille adaptée aux noms longs */
.store-hero-title.product-title-hero {
  font-size: clamp(22px, 4vw, 58px);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #e8f3ff 0%, #7dd8ff 60%, #3ab8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 4px 18px rgba(27,190,255,0.3));
}
.store-hero-shell {
  width: min(760px, 100%);
  border-radius: 14px;
  padding: clamp(18px, 2vw, 24px);
  backdrop-filter: blur(10px);
}
.store-badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(96, 206, 255, 0.44);
  background: rgba(9, 34, 62, 0.62);
  color: #75d9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.store-hero-shell h1 {
  margin: 10px 0 4px;
  font-size: clamp(36px, 4.4vw, 58px);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.store-hero-shell h1 span {
  color: #47caff;
}
.store-subtitle {
  margin: 0;
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: #d9e9f6;
}
.store-description {
  margin: 13px 0 0;
  max-width: 56ch;
  color: #afc6da;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.45;
}
.store-hero-metrics {
  margin-top: 14px;
  border: 1px solid rgba(87, 182, 240, 0.32);
  border-radius: 12px;
  background: rgba(5, 22, 44, 0.58);
  padding: 10px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.store-hero-metrics div {
  display: grid;
  gap: 2px;
}
.store-hero-metrics div + div {
  border-left: 1px solid rgba(77, 168, 226, 0.28);
  padding-left: 12px;
}
.store-hero-metrics strong {
  font-size: 18px;
  color: #66d8ff;
  line-height: 1.1;
}
.store-hero-metrics small {
  font-size: 12px;
  color: #9cbad2;
}

.diag {
  position: absolute;
  right: 22px;
  bottom: 16px;
  width: 236px;
  max-width: calc(100% - 44px);
  padding: 12px;
  display: grid;
  gap: 8px;
  align-content: start;
  overflow: hidden;
  box-sizing: border-box;
}
.diag strong { font-size: 15px; display: block; }
.diag small { color: #98b5cc; font-size: 10px; }

.diag-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(126, 230, 255, 0.85);
  background:
    linear-gradient(180deg, rgba(76, 201, 255, 0.3), rgba(16, 94, 154, 0.35)),
    radial-gradient(130% 120% at 10% 0%, rgba(157, 237, 255, 0.35), transparent 62%);
  color: #dff7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  box-shadow: 0 0 18px rgba(29, 196, 255, 0.38), inset 0 0 24px rgba(31, 172, 232, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, color 180ms ease;
}

.diag-call-btn:hover {
  transform: translateY(-2px) scale(1.02);
  color: #ffffff;
  border-color: rgba(170, 240, 255, 0.95);
  box-shadow: 0 0 26px rgba(44, 208, 255, 0.52), inset 0 0 28px rgba(57, 200, 255, 0.24);
}

.diag-call-btn:active {
  transform: translateY(0) scale(0.99);
}

/* ── Widget Horaires — refonte ───────────────────────────────── */
.hours-dropdown {
  position: relative;
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Bouton toggle */
.hours-toggle {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 0;
  text-align: left;
  padding: 10px 38px 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(93,202,255,0.4);
  background: rgba(8,28,54,0.82);
  color: #d9eeff;
  font: inherit;
  cursor: pointer;
  transition: border-color 160ms, background 160ms, box-shadow 160ms;
  position: relative;
  min-height: 52px;
  box-sizing: border-box;
  overflow: hidden;
}
.hours-toggle:hover,
.hours-toggle:focus-visible {
  border-color: rgba(27,190,255,0.7);
  background: rgba(10,36,68,0.9);
  box-shadow: 0 0 0 2px rgba(27,190,255,0.12);
  outline: none;
}

/* Toggle : layout 2 lignes — tout tient sans coupure */
.hours-toggle-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  width: 100%;
  min-width: 0;
}
.hours-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(27,190,255,0.65);
  white-space: nowrap;
  line-height: 1;
}
/* Ligne principale : jour + badge + heures, tout visible */
.hours-today-line {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}
.hours-today-day {
  font-size: 14px;
  font-weight: 800;
  color: #eef6ff;
  white-space: nowrap;
  flex-shrink: 0;
}
.hours-today-sep {
  color: rgba(27,190,255,0.4);
  font-size: 12px;
  flex-shrink: 0;
}
/* Heures : sur la même ligne après le jour (quand ouvert) */
.hours-today-time {
  font-size: 12px;
  font-weight: 600;
  color: #8db4ce;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 1;
}
/* Badge statut */
.hours-live-state {
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.5;
  flex-shrink: 0;
}
.hours-live-state.is-open {
  background: rgba(61,220,132,0.15);
  color: #3ddc84;
  border: 1px solid rgba(61,220,132,0.3);
}
.hours-live-state.is-closed {
  background: rgba(224,80,80,0.12);
  color: #e05050;
  border: 1px solid rgba(224,80,80,0.25);
}

/* Chevron */
.hours-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(27,190,255,0.5);
  font-size: 11px;
  transition: transform 200ms ease, color 160ms;
}
.hours-dropdown.open .hours-chevron {
  transform: translateY(-50%) rotate(180deg);
  color: rgba(27,190,255,0.9);
}

/* Panel déroulant */
.hours-panel {
  margin-top: 6px;
  border-radius: 12px;
  border: 1px solid rgba(27,190,255,0.22);
  background: rgba(5,18,38,0.97);
  padding: 8px 6px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.4);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.hours-week-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  overflow: hidden;
}

/* Lignes horaires */
.hours-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: 12px;
  color: #8db4ce;
  transition: background 120ms;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.hours-row:hover { background: rgba(255,255,255,0.03); }
.hours-row.is-today {
  background: rgba(27,190,255,0.1);
  border: 1px solid rgba(27,190,255,0.25);
  color: #c5e7ff;
}
.hours-row.is-closed-day { opacity: 0.5; }

.hours-day {
  font-weight: 600;
  white-space: nowrap;
  font-size: 12px;
  flex-shrink: 0;
}
.hours-row.is-today .hours-day strong {
  color: #1bbeff;
  font-weight: 800;
}
.hours-time {
  font-weight: 600;
  font-size: 11px;
  color: inherit;
  text-align: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}
.hours-row.is-today .hours-time { color: #c5e7ff; }

/* Note */
.hours-note {
  margin: 6px 6px 0;
  padding-top: 7px;
  border-top: 1px solid rgba(27,190,255,0.15);
  font-size: 10px;
  color: #8a6e2a;
  line-height: 1.3;
}

/* Light mode */
html[data-theme="light"] .hours-toggle {
  background: #fff;
  border-color: rgba(10,100,180,0.25);
}
html[data-theme="light"] .hours-toggle:hover {
  border-color: rgba(10,100,180,0.6);
  background: rgba(235,247,255,0.98);
}
html[data-theme="light"] .hours-label { color: #0060b0; opacity: 0.8; }
html[data-theme="light"] .hours-today-day { color: #0c2440; }
html[data-theme="light"] .hours-today-time { color: #4a7090; }
html[data-theme="light"] .hours-live-state.is-open {
  background: rgba(20,160,80,0.1); color: #1a8040; border-color: rgba(20,160,80,0.3);
}
html[data-theme="light"] .hours-live-state.is-closed {
  background: rgba(200,40,40,0.08); color: #c02030; border-color: rgba(200,40,40,0.25);
}
html[data-theme="light"] .hours-chevron { color: rgba(10,100,180,0.5); }
html[data-theme="light"] .hours-panel {
  background: #fff;
  border-color: rgba(10,100,180,0.18);
  box-shadow: 0 8px 24px rgba(10,60,120,0.1);
}
html[data-theme="light"] .hours-row { color: #3a5c7a; }
html[data-theme="light"] .hours-row.is-today {
  background: rgba(10,100,180,0.07);
  border-color: rgba(10,100,180,0.2);
  color: #0c2440;
}
html[data-theme="light"] .hours-row.is-today .hours-day strong { color: #0060b0; }
html[data-theme="light"] .hours-row.is-today .hours-time { color: #0c2440; }

.block {
  padding: 20px clamp(14px, 2.6vw, 38px) 12px;
  border-bottom: 1px solid rgba(64, 172, 237, 0.15);
}
.kicker {
  margin: 0 0 8px;
  text-align: center;
  color: #17c7ff;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.kicker.left { text-align: left; }
.block h3 {
  margin: 0 0 16px;
  text-align: center;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
}
.block h3.left { text-align: left; margin-bottom: 0; }

.cards.five {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.service-card {
  position: relative;
  border: 1px solid rgba(66, 170, 230, 0.28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8, 26, 51, 0.92), rgba(5, 20, 40, 0.86));
  padding: 16px 12px;
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: conic-gradient(from 140deg, rgba(16, 190, 255, 0.05), rgba(57, 217, 255, 0.88), rgba(16, 190, 255, 0.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.service-card::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: -120%;
  height: 180%;
  background: linear-gradient(180deg, transparent 0%, rgba(41, 198, 255, 0.14) 46%, transparent 100%);
  transform: translateY(-65%);
  opacity: 0;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 214, 255, 0.72);
  box-shadow: 0 0 28px rgba(26, 192, 255, 0.22), inset 0 0 30px rgba(18, 170, 242, 0.1);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover::after {
  opacity: 1;
  animation: scanline 1.6s ease-in-out infinite;
}
.service-card .icon {
  color: #1ec7ff;
  text-align: center;
  margin-bottom: 10px;
}
.service-card .icon svg {
  width: 56px;
  height: 56px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(25, 196, 255, 0.55));
}
.service-card h4 { margin: 0 0 8px; font-size: clamp(22px, 2vw, 30px); text-align: center; }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; text-align: center; line-height: 1.35; min-height: 88px; }
.service-card a { color: #1bc5ff; font-size: 13px; text-decoration: none; font-weight: 700; display: block; text-align: center; margin-top: 8px; }
.service-card a:hover {
  color: #7ae3ff;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 12px;
}
.head a {
  color: #1cc6ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.offer-card {
  position: relative;
  border: 1px solid rgba(61, 163, 224, 0.3);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(8, 25, 48, 0.96), rgba(5, 19, 37, 0.92));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.offer-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 12px;
  padding: 1px;
  background: conic-gradient(from 140deg, rgba(16, 190, 255, 0.05), rgba(57, 217, 255, 0.86), rgba(16, 190, 255, 0.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.offer-card::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: -120%;
  height: 180%;
  background: linear-gradient(180deg, transparent 0%, rgba(41, 198, 255, 0.14) 46%, transparent 100%);
  transform: translateY(-65%);
  opacity: 0;
  pointer-events: none;
}
.offer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 214, 255, 0.72);
  box-shadow: 0 0 28px rgba(26, 192, 255, 0.22), inset 0 0 30px rgba(18, 170, 242, 0.1);
}
.offer-card:hover::before {
  opacity: 1;
}
.offer-card:hover::after {
  opacity: 1;
  animation: scanline 1.6s ease-in-out infinite;
}
.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  border-radius: 999px;
  padding: 4px 8px;
}
.tag.promo { background: #1f9bee; }
.tag.occas { background: #1dbb8e; }
.tag.offre { background: linear-gradient(180deg, #ff3f3f, #c6102e); }
.offer-card img { width: 100%; height: 168px; object-fit: contain; background: rgba(3, 13, 28, 0.8); padding: 8px; }
.offer-meta { padding: 10px 10px 12px; }
.offer-meta h4 { margin: 0 0 8px; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.1; }
.offer-meta p { margin: 0 0 10px; font-size: 13px; color: #97b1c8; min-height: 0; }
.price-row .now { color: #1bc6ff; font-size: clamp(24px, 2.2vw, 30px); font-weight: 800; }
.price-row .old { margin-left: 6px; color: #7e93a8; text-decoration: line-through; font-size: 14px; }
.state { margin-top: 8px; color: #8db0c9; font-size: 13px; }
.state::before { content: "●"; color: #05de7d; margin-right: 6px; }

.dots { display: flex; justify-content: center; gap: 10px; margin: 14px 0 8px; }
.dots span {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #60758d;
  opacity: 0.9;
  cursor: pointer;
  transition: all 180ms ease;
}
.dots span.on {
  width: 56px;
  background: linear-gradient(90deg, #23c8ff, #41d8ff);
  box-shadow: 0 0 10px rgba(36, 202, 255, 0.45);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.news-card {
  position: relative;
  border: 1px solid rgba(61, 163, 224, 0.32);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(70, 42, 180, 0.22), transparent 55%),
    linear-gradient(170deg, rgba(6, 27, 52, 0.96), rgba(4, 15, 30, 0.96));
  padding: 14px 14px 16px;
  min-height: 248px;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.news-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 14px;
  padding: 1px;
  background: conic-gradient(from 140deg, rgba(16, 190, 255, 0.05), rgba(57, 217, 255, 0.86), rgba(16, 190, 255, 0.05));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}
.news-card::after {
  content: "";
  position: absolute;
  left: -32%;
  right: -32%;
  top: -120%;
  height: 180%;
  background: linear-gradient(180deg, transparent 0%, rgba(41, 198, 255, 0.14) 46%, transparent 100%);
  transform: translateY(-65%);
  opacity: 0;
  pointer-events: none;
}
.news-card:hover {
  transform: translateY(-3px);
  border-color: rgba(77, 214, 255, 0.72);
  box-shadow: 0 0 28px rgba(26, 192, 255, 0.22), inset 0 0 30px rgba(18, 170, 242, 0.1);
}
.news-card:hover::before { opacity: 1; }
.news-card:hover::after {
  opacity: 1;
  animation: scanline 1.6s ease-in-out infinite;
}

.news-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.news-datetime {
  color: #9ec0da;
  font-size: 11px;
  line-height: 1.4;
}
.news-badge {
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.news-badge.exceptional {
  color: #06213a;
  background: linear-gradient(90deg, #19d6ff, #4db6ff);
  box-shadow: 0 0 10px rgba(35, 201, 255, 0.35);
}
.news-badge.offer {
  color: #042a37;
  background: linear-gradient(90deg, #1ce0c2, #33e9ff);
  box-shadow: 0 0 10px rgba(43, 227, 255, 0.3);
}
.news-badge.news {
  color: #d8ebff;
  background: linear-gradient(90deg, rgba(91, 124, 170, 0.4), rgba(77, 109, 150, 0.32));
  border: 1px solid rgba(127, 168, 218, 0.35);
}
.news-badge.new {
  color: #042a37;
  background: linear-gradient(90deg, #49f0d0, #1fe8ff);
  box-shadow: 0 0 10px rgba(43, 227, 255, 0.3);
}
.news-badge.info {
  color: #d8ebff;
  background: linear-gradient(90deg, rgba(76, 119, 175, 0.45), rgba(63, 98, 144, 0.35));
  border: 1px solid rgba(127, 168, 218, 0.35);
}

.news-card h4 {
  margin: 0 0 9px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.2;
}
.news-card p {
  margin: 0;
  color: #a9c0d8;
  font-size: 13px;
  line-height: 1.45;
}
.news-link {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #31cbff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}
.news-link-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.news-link:hover { color: #7fe4ff; }

.tele-rustdesk-wrap {
  display: grid;
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}
.tele-rustdesk-card {
  padding: clamp(16px, 2.5vw, 22px);
}
.tele-rustdesk-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.tele-rustdesk-head img {
  width: clamp(40px, 4vw, 56px);
  height: clamp(40px, 4vw, 56px);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 0 12px rgba(67, 188, 255, 0.34));
}
.tele-rustdesk-head h4 {
  margin: 0;
}
.tele-rustdesk-sub {
  margin: 2px 0 0;
  color: #8db5d6;
  font-size: 13px;
}
.tele-rustdesk-label {
  display: block;
  margin-top: 10px;
  color: #95b4ce;
  font-size: 12px;
}

/* ═══════════════════════════════════════════════════════════════════
   PAGE FORMATION — refonte 2026-05-29
   ═══════════════════════════════════════════════════════════════════ */

/* Hero utilise maintenant store-hero-title-wrap */
.formation-hero { min-height: 420px; }
.formation-hero-ctas {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* ── Pilliers ─────────────────────────────────────────────────────── */
.formation-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.formation-pillar {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.formation-pillar-ico {
  font-size: 28px;
  line-height: 1;
  display: block;
}
.formation-pillar h4 {
  margin: 0;
  font-size: clamp(14px, 1.3vw, 18px);
  color: #c5e7ff;
}
.formation-pillar p {
  margin: 0;
  color: #7a9ab2;
  font-size: 13px;
  line-height: 1.5;
}

/* ── Programme ────────────────────────────────────────────────────── */
.formation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.formation-card {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 220ms, border-color 220ms, box-shadow 220ms;
}
.formation-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27,190,255,0.5);
  box-shadow: 0 8px 24px rgba(0,150,255,0.12);
}
.formation-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.formation-card-ico { font-size: 26px; line-height: 1; flex-shrink: 0; }
.formation-card h4 {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #c5e7ff;
  line-height: 1.2;
}
.formation-card ul {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.formation-card li {
  position: relative;
  padding-left: 16px;
  color: #8db4ce;
  font-size: 13px;
  line-height: 1.4;
}
.formation-card li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #1bbeff;
  box-shadow: 0 0 8px rgba(27,190,255,0.5);
}
.formation-card-level {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(27,190,255,0.12);
}
.formation-level {
  font-size: 11px;
  font-weight: 700;
  color: #1bbeff;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Modalités ────────────────────────────────────────────────────── */
.formation-infos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.formation-info-card {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.formation-info-ico {
  font-size: 26px; line-height: 1; display: block;
}
.formation-info-card h4 {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #c5e7ff;
}
.formation-info-card p {
  margin: 0;
  color: #8db4ce;
  font-size: 14px;
  line-height: 1.55;
}
.formation-info-card strong { color: #c5e7ff; }
.formation-info-link {
  display: inline-block;
  margin-top: 4px;
  color: #1bbeff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.formation-info-link:hover { color: #c5e7ff; text-decoration: underline; }

/* ── Documents ────────────────────────────────────────────────────── */
.formation-docs-intro {
  color: #7a9ab2;
  font-size: 14px;
  margin: 0 0 16px;
}
.formation-docs-loading {
  color: #607890;
  font-size: 14px;
  text-align: center;
  padding: 24px;
}
.formation-docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.formation-doc {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.formation-doc-open {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  display: block;
  position: relative;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}
.formation-doc img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  object-position: center top;
  border-radius: 10px;
  display: block;
  transition: filter 220ms;
  background: rgba(255,255,255,0.03);
}
.formation-doc-open:hover img {
  filter: brightness(1.04);
}
.formation-doc-zoom {
  position: absolute;
  bottom: 10px; right: 10px;
  border: 1px solid rgba(27,190,255,0.45);
  border-radius: 999px;
  background: rgba(5,18,38,0.88);
  color: #c5e7ff;
  font-size: 12px; font-weight: 700;
  padding: 5px 12px;
  backdrop-filter: blur(4px);
}
.formation-doc-title {
  font-size: 13px;
  color: #9eb7ce;
  text-align: center;
  margin: 0;
  padding: 0;
}
.formation-doc-icon {
  font-size: 40px;
  text-align: center;
  padding: 20px 0 10px;
}

/* ── CTA final ────────────────────────────────────────────────────── */
.formation-cta-card {
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 32px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.formation-cta-content h3 { margin: 0 0 8px; color: #eef6ff; font-size: clamp(20px,2.2vw,30px); }
.formation-cta-content p { margin: 0; color: #8db4ce; font-size: 15px; line-height: 1.55; }
.formation-cta-actions {
  margin-top: 16px;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.formation-cta-badge {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 20px 24px;
  border: 1px solid rgba(27,190,255,0.25);
  border-radius: 14px;
  background: rgba(8,26,52,0.7);
  text-align: center;
  flex-shrink: 0;
}
.formation-cta-ico { font-size: 36px; line-height: 1; }
.formation-cta-badge strong { color: #c5e7ff; font-size: 16px; }
.formation-cta-badge span { color: #7a9ab2; font-size: 12px; }
.formation-cta-sub { font-size: 11px !important; color: #1bbeff !important; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .formation-pillars { grid-template-columns: repeat(2, 1fr); }
  .formation-grid    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .formation-pillars { grid-template-columns: 1fr 1fr; }
  .formation-grid    { grid-template-columns: 1fr; }
  .formation-infos   { grid-template-columns: 1fr; }
  .formation-cta-card { grid-template-columns: 1fr; }
  .formation-cta-badge { display: none; }
}
@media (max-width: 480px) {
  .formation-pillars { grid-template-columns: 1fr; }
}

/* ── Light mode ───────────────────────────────────────────────────── */
html[data-theme="light"] .formation-pillar h4,
html[data-theme="light"] .formation-card h4,
html[data-theme="light"] .formation-info-card h4,
html[data-theme="light"] .formation-cta-content h3 { color: #0c2440; }
html[data-theme="light"] .formation-pillar p,
html[data-theme="light"] .formation-card li,
html[data-theme="light"] .formation-info-card p,
html[data-theme="light"] .formation-cta-content p { color: #3a5c7a; }
html[data-theme="light"] .formation-card li::before { background: #0060b0; box-shadow: none; }
html[data-theme="light"] .formation-level { color: #0060b0; }
html[data-theme="light"] .formation-card-level { border-top-color: rgba(0,100,200,0.12); }
html[data-theme="light"] .formation-info-link { color: #0060b0; }
html[data-theme="light"] .formation-info-card strong { color: #0c2440; }
html[data-theme="light"] .formation-doc-zoom {
  background: rgba(230,244,255,0.92);
  border-color: rgba(0,100,200,0.3);
  color: #0060b0;
}
html[data-theme="light"] .formation-doc-title { color: #4a7090; }
html[data-theme="light"] .formation-cta-badge {
  background: rgba(230,244,255,0.8);
  border-color: rgba(0,100,200,0.2);
}
html[data-theme="light"] .formation-cta-badge strong { color: #0c2440; }
html[data-theme="light"] .formation-cta-badge span { color: #4a7090; }
html[data-theme="light"] .formation-cta-sub { color: #0060b0 !important; }

.doc-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  background: rgba(2, 10, 20, 0.82);
  backdrop-filter: blur(6px);
  padding: 14px;
}
.doc-lightbox-overlay[hidden] {
  display: none !important;
}
.doc-lightbox {
  position: relative;
  width: min(1200px, 100%);
  max-height: calc(100vh - 30px);
  overflow: auto;
  border: 1px solid rgba(95, 205, 255, 0.42);
  border-radius: 14px;
  padding: 14px;
  background:
    radial-gradient(70% 55% at 16% 0%, rgba(47, 194, 255, 0.16), rgba(6, 23, 43, 0)),
    linear-gradient(180deg, rgba(8, 28, 53, 0.97), rgba(5, 18, 35, 0.96));
}
.doc-lightbox img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.doc-lightbox-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(94, 191, 245, 0.52);
  background: rgba(7, 24, 45, 0.92);
  color: #e3f3ff;
  cursor: pointer;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.store-service-card {
  min-height: 204px;
}
.store-service-card h4 {
  font-size: clamp(18px, 1.6vw, 24px);
}
.store-service-card p {
  min-height: 0;
  font-size: 14px;
}

/* ── Magasin — grille services refonte ─────────────────────────── */
.magasin-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}
.magasin-service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
  border-radius: 12px;
  border: 1px solid rgba(70,176,236,0.22);
  background: linear-gradient(135deg, rgba(8,26,52,0.92), rgba(5,17,37,0.88));
  transition: border-color 180ms, transform 180ms;
}
.magasin-service-card:hover {
  border-color: rgba(70,176,236,0.55);
  transform: translateY(-2px);
}
.magasin-service-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1.2;
  margin-top: 2px;
}
.magasin-service-card h4 {
  margin: 0 0 5px;
  font-size: 15px;
  font-weight: 700;
  color: #c5e7ff;
}
.magasin-service-card p {
  margin: 0;
  font-size: 13px;
  color: #8db4ce;
  line-height: 1.45;
}
html[data-theme="light"] .magasin-service-card {
  background: rgba(230,244,255,0.9);
  border-color: rgba(12,100,175,0.18);
}
html[data-theme="light"] .magasin-service-card:hover { border-color: rgba(12,100,175,0.45); }
html[data-theme="light"] .magasin-service-card h4 { color: #0a2040; }
html[data-theme="light"] .magasin-service-card p { color: #4a7090; }

.mobile-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.mobile-micro-grid {
  margin-top: 12px;
  grid-template-columns: minmax(0, 1fr);
}
.mobile-panel-micro .mobile-visual {
  height: clamp(220px, 32vw, 380px);
}
.mobile-panel-micro .mobile-copy p {
  max-width: 74ch;
}
.mobile-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(72, 175, 235, 0.35);
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(39, 195, 255, 0.16), rgba(8, 27, 52, 0)),
    linear-gradient(180deg, rgba(10, 29, 54, 0.96), rgba(6, 20, 39, 0.92));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}
.mobile-panel::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: -120%;
  height: 190%;
  background: linear-gradient(180deg, transparent 0%, rgba(45, 198, 255, 0.16) 46%, transparent 100%);
  transform: translateY(-65%);
  opacity: 0;
  pointer-events: none;
}
.mobile-panel:hover {
  transform: translateY(-4px);
  border-color: rgba(95, 217, 255, 0.68);
  box-shadow: 0 0 28px rgba(25, 184, 255, 0.2), inset 0 0 26px rgba(15, 123, 180, 0.14);
}
.mobile-panel:hover::after {
  opacity: 1;
  animation: scanline 1.8s ease-in-out infinite;
}
.mobile-visual {
  margin: 0 0 14px;
  width: 100%;
  height: clamp(180px, 19vw, 230px);
  flex: 0 0 auto;
  border: 1px dashed rgba(101, 199, 250, 0.28);
  border-radius: 11px;
  overflow: hidden;
  background:
    radial-gradient(80% 80% at 50% 0%, rgba(72, 206, 255, 0.22), rgba(10, 36, 65, 0) 62%),
    rgba(4, 18, 36, 0.7);
}
.mobile-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  filter: saturate(1.02) contrast(1.05) brightness(0.94);
  transform: scale(1.01);
  transition: transform 320ms ease, filter 320ms ease;
}
.mobile-panel:hover .mobile-visual img {
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.08) brightness(0.98);
}
.mobile-copy {
  position: relative;
  z-index: 2;
}
.mobile-panel h4 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.1vw, 30px);
}
.mobile-panel p {
  margin: 0;
  color: #b6cde2;
  font-size: 14px;
  line-height: 1.45;
}
.mobile-panel ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.mobile-panel li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 16px;
  color: #9fc0da;
  font-size: 13px;
}
.mobile-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #1ec8ff;
  box-shadow: 0 0 8px rgba(30, 200, 255, 0.55);
}

.store-address-card {
  padding: 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.store-address-main {
  min-width: 0;
}
.store-address-card p {
  margin: 0;
  color: #c2d6e8;
  font-size: 15px;
}
.store-address-card p + p {
  margin-top: 7px;
  color: #9ab6cf;
  font-size: 13px;
}
.map-direct-btn {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid rgba(98, 214, 255, 0.5);
  background: linear-gradient(180deg, rgba(31, 200, 255, 0.24), rgba(8, 83, 135, 0.34));
  color: #dff7ff;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.map-direct-btn::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: -140%;
  height: 200%;
  background: linear-gradient(180deg, transparent 0%, rgba(108, 233, 255, 0.32) 46%, transparent 100%);
  transform: translateY(-65%);
  opacity: 0;
}
.map-direct-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(136, 239, 255, 0.9);
  box-shadow: 0 0 20px rgba(54, 203, 255, 0.34);
}
.map-direct-btn:hover::after {
  opacity: 1;
  animation: scanline 1.5s ease-in-out infinite;
}

.trust {
  margin: 16px clamp(14px, 2.6vw, 38px);
  border-radius: 12px;
  padding: 14px 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}
.trust strong { display: block; font-size: clamp(14px, 1.3vw, 17px); }
.trust small { color: #91acc4; font-size: 12px; }

/* Paiement 3x sans frais — bannière hero */
.pay3x-hero {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pay3x-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(52, 214, 163, 0.54);
  background: linear-gradient(180deg, rgba(28, 200, 155, 0.22), rgba(12, 130, 100, 0.28));
  color: #3fffc8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-shadow: 0 0 14px rgba(36, 220, 168, 0.22);
}
.pay3x-badge::before {
  content: "✓";
  font-size: 11px;
  color: #4effd0;
}
.pay3x-note {
  font-size: 12px;
  color: #85b8a8;
}
html[data-theme="light"] .pay3x-badge {
  border-color: rgba(24, 168, 120, 0.42) !important;
  background: linear-gradient(180deg, rgba(220, 250, 242, 0.96), rgba(199, 244, 233, 0.96)) !important;
  color: #0d6b4e !important;
  box-shadow: 0 0 10px rgba(20, 180, 132, 0.16) !important;
}
html[data-theme="light"] .pay3x-badge::before { color: #0d7a58 !important; }
html[data-theme="light"] .pay3x-note { color: #3d7062 !important; }

.contact {
  margin: 0 clamp(14px, 2.6vw, 38px) 16px;
  display: grid;
  grid-template-columns: 1fr 1.58fr;
  min-height: 250px;
}
.left-card { border-radius: 12px 0 0 12px; padding: 18px; }
.left-card h3 { margin: 0 0 10px; font-size: clamp(28px, 2.8vw, 38px); }
.left-card h3 span { color: #1dc5ff; }
.left-card p { margin: 0 0 8px; font-size: 15px; line-height: 1.5; color: #c0d5e8; }
.left-card ul { list-style: none; margin: 10px 0 14px; padding: 0; color: #b8cee1; font-size: 14px; line-height: 1.8; }
.left-card .primary { font-size: 13px; min-height: 40px; }

.map {
  border: 1px solid rgba(61, 160, 220, 0.3);
  border-left: 0;
  border-radius: 0 12px 12px 0;
  position: relative;
  overflow: hidden;
  background: #07152c;
}
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 250px;
  border: 0;
  filter: saturate(0.75) contrast(1.05) brightness(0.86) hue-rotate(168deg);
}
.access {
  position: absolute;
  right: 14px;
  bottom: 10px;
  width: 250px;
  padding: 12px 14px;
}
.access strong { color: #1bc6ff; display: block; font-size: 17px; }
.access small { color: #9fbdd7; font-size: 12px; }

@keyframes scanline {
  0% { transform: translateY(-70%); }
  55% { transform: translateY(45%); }
  100% { transform: translateY(110%); }
}

/* Topbar wraps menu to second row between 981px-1180px — adjust page padding */
@media (min-width: 981px) and (max-width: 1180px) {
  :root { --topbar-height: 116px; }
}

@media (max-width: 1180px) {
  .topbar {
    flex-wrap: wrap;
    padding-inline: 14px;
  }
  .menu {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 14px;
  }
  .right-actions {
    margin-left: auto;
  }
  .mobile-visual {
    height: clamp(160px, 27vw, 205px);
  }
  .store-address-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 1320px) {
  .menu {
    gap: 14px;
  }
  .menu a,
  .menu-dropdown-btn {
    font-size: 12px;
  }
  .quote {
    height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }
  .mini {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 980px) {
  .topbar {
    gap: 10px;
    z-index: 80;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 42px;
    height: 38px;
    border-radius: 10px;
    font-size: 22px;
  }
  .menu {
    display: none;
    position: fixed;
    top: calc(var(--topbar-height) + 10px);
    left: 10px;
    right: 10px;
    width: auto;
    order: 4;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(80, 176, 238, 0.35);
    background: linear-gradient(180deg, rgba(3, 15, 32, 0.995), rgba(2, 11, 24, 0.995));
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
    z-index: 95;
    max-height: min(72vh, 640px);
    min-height: 0;
    overflow: visible;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .right-actions {
    display: none;
  }
  .menu.open {
    display: flex;
  }
  .menu > a,
  .menu-dropdown-btn {
    font-size: 15px;
    line-height: 1.25;
    padding: 11px 12px;
    border-radius: 10px;
    border: 1px solid rgba(90, 175, 228, 0.18);
    background: rgba(10, 31, 58, 0.6);
    color: #dff1ff;
    text-decoration: none;
  }
  .menu > a.active,
  .menu-dropdown-btn.active,
  .menu > a:hover,
  .menu-dropdown-btn:hover {
    border-color: rgba(91, 206, 255, 0.52);
    background: linear-gradient(180deg, rgba(31, 130, 193, 0.35), rgba(9, 48, 84, 0.55));
    color: #ffffff;
  }
  .menu-dropdown {
    width: 100%;
    display: block;
  }
  .menu-dropdown::after {
    display: none;
  }
  .menu-dropdown-btn {
    position: relative;
    border-bottom: 1px solid rgba(90, 175, 228, 0.18);
  }
  .menu-dropdown-btn::after {
    content: "▾";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #8fd9ff;
    font-size: 12px;
  }
  .menu-dropdown.open .menu-dropdown-btn::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .menu-dropdown-panel {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    transform: none !important;
    margin-top: 6px;
    padding: 0;
    border-radius: 10px;
    border: 0;
    background: transparent;
    opacity: 1 !important;
    pointer-events: auto !important;
    display: none !important;
    box-shadow: none !important;
    overflow: hidden;
  }
  .menu-dropdown.open .menu-dropdown-panel {
    display: grid !important;
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(82, 170, 223, 0.26);
    background: rgba(4, 21, 42, 0.9);
  }
  .menu-dropdown-panel a {
    padding: 10px 12px;
    margin: 2px 0;
    border-radius: 8px;
    color: #d8edff;
    font-size: 14px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.35;
  }
  .menu-dropdown-panel a:hover {
    background: rgba(30, 178, 244, 0.24);
    color: #ffffff;
  }
  .menu a,
  .menu-dropdown-btn {
    width: 100%;
    text-align: left;
  }
  .hero {
    min-height: auto;
    background-position: 63% center;
  }
  .hero-store {
    min-height: 300px;
  }
  .store-hero-metrics {
    grid-template-columns: 1fr;
  }
  .store-hero-metrics div + div {
    border-left: 0;
    border-top: 1px solid rgba(77, 168, 226, 0.28);
    padding-left: 0;
    padding-top: 9px;
  }
  .hero-content {
    display: grid;
    gap: 12px;
    padding: 16px 12px 14px;
  }
  .pills {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .pill-item + .pill-item {
    border-left: 0;
    border-top: 1px solid rgba(80, 157, 210, 0.26);
  }
  .diag {
    position: static;
    width: 100%;
  }
  .cards.five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mobile-split {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .head {
    flex-direction: column;
    align-items: flex-start;
  }
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .map {
    border-left: 1px solid rgba(61, 160, 220, 0.3);
    border-radius: 0 0 12px 12px;
    min-height: 220px;
  }
  .left-card {
    border-radius: 12px 12px 0 0;
  }
}

@media (max-width: 640px) {
  :root {
    --topbar-height: 64px;
  }
  .topbar {
    padding: 10px 12px;
  }
  .logo-link {
    padding: 0;
  }
  .logo {
    height: 30px;
    max-width: 170px;
  }
  .menu-toggle {
    margin-left: auto;
    order: 3;
  }
  .mini {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }
  .right-actions .quote {
    display: none;
  }
  .menu {
    left: 8px;
    right: 8px;
    top: calc(var(--topbar-height) + 8px);
    padding: 10px;
    max-height: min(70vh, 620px);
  }
  .menu > a,
  .menu-dropdown-btn {
    font-size: 14px;
    padding: 10px 11px;
  }
  .menu-dropdown-panel a {
    font-size: 13px;
    padding: 9px 10px;
  }
  .hero-content {
    justify-items: center;
    text-align: center;
  }
  .hero-card {
    margin: 0;
  }
  .hero-card h1,
  .hero-card h2,
  .hero-card p {
    text-align: center;
  }
  .hero-title-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-title-row h2 {
    text-align: center;
  }
  .hero-brand-logo-full {
    height: clamp(60px, 17vw, 88px);
    max-width: min(80vw, 380px);
  }
  .hero-card .cta-row {
    justify-content: center;
  }
  .hero-card .cta-row .primary,
  .hero-card .cta-row .secondary {
    margin-inline: auto;
  }
  .pills {
    justify-items: stretch;
  }
  .pill-item {
    justify-content: flex-start;
    text-align: left;
  }
  .pill-item > div {
    text-align: left;
  }
  .diag {
    text-align: center;
    justify-items: center;
  }
  .diag strong,
  .diag small {
    text-align: center;
  }
  .diag {
    animation: diagBounceMobile 2.4s ease-in-out infinite;
    transform-origin: center bottom;
  }
  .diag strong {
    font-size: 21px;
    line-height: 1.15;
  }
  .diag small {
    display: none;
  }
  .diag-call-btn {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
    border-radius: 14px;
    box-shadow: 0 0 22px rgba(35, 207, 255, 0.45), inset 0 0 26px rgba(57, 200, 255, 0.24);
  }
  .hours-toggle {
    text-align: center;
    justify-items: center;
    padding: 10px 30px 10px 12px;
    border-radius: 14px;
  }
  .hours-today-line {
    justify-items: center;
    text-align: center;
  }
  .hours-panel {
    text-align: left;
    max-height: min(46vh, 320px);
    overflow-y: auto;
    border-radius: 14px;
    padding: 8px 9px 9px;
    scrollbar-width: thin;
  }
  .hours-week-list {
    gap: 6px;
  }
  .hours-week-list .hours-row.is-today {
    display: none;
  }
  .hours-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 4px 2px;
  }
  .hours-day {
    font-size: 10.5px;
    line-height: 1.18;
  }
  .hours-time {
    text-align: left;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.18;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .hours-note {
    margin-top: 6px;
    font-size: 10.5px;
    line-height: 1.22;
    padding-top: 6px;
  }
  .cards.five {
    grid-template-columns: 1fr;
  }
  .store-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 14px 12px;
  }
  .contact {
    margin: 0 12px 14px;
  }
  .quali-footer {
    margin: 10px 12px 16px;
    padding: 10px 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .quali-footer img {
    height: 54px;
  }
  .access {
    width: calc(100% - 20px);
    right: 10px;
  }
}

.catalog-page {
  min-height: 100vh;
}
/* ── CATALOG HERO ─────────────────────────────────────────────── */
.catalog-hero {
  min-height: 320px;
  border-bottom: 1px solid rgba(64,172,237,0.2);
  background:
    linear-gradient(98deg, rgba(2,10,23,0.92) 20%, rgba(2,10,23,0.65) 55%, rgba(2,10,23,0.88) 100%),
    radial-gradient(72% 65% at 18% 15%, rgba(33,200,255,0.18), transparent 62%),
    url("./assets/hero-gaming-pc.jpg") center center/cover;
  display: grid;
  grid-template-rows: auto 1fr;
}
.catalog-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(24px,5vw,48px) 24px clamp(28px,5vw,48px);
  gap: 8px;
  width: 100%;
}
.catalog-hero-inner .kicker {
  font-size: 11px;
  letter-spacing: .14em;
  color: rgba(27,190,255,0.75);
}
.catalog-hero-inner h1 {
  margin: 0;
  font-size: clamp(32px, 5.5vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #e8f3ff;
  text-shadow: 0 8px 26px rgba(0,0,0,0.5), 0 0 30px rgba(34,192,255,0.28);
}
.catalog-hero-inner p {
  margin: 0;
  color: rgba(180,215,245,0.8);
  font-size: clamp(14px,1.4vw,17px);
  max-width: 44ch;
}

.catalog-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.catalog-toolbar-left,
.catalog-toolbar-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-toolbar label {
  display: grid;
  gap: 5px;
  color: #9ec0da;
  font-size: 12px;
  font-weight: 600;
}
.catalog-toolbar input,
.catalog-toolbar select {
  min-height: 40px;
  min-width: 190px;
  border: 1px solid rgba(78, 176, 236, 0.3);
  border-radius: 10px;
  padding: 0 12px;
  color: #d4e7f8;
  background: rgba(6, 23, 46, 0.8);
  outline: none;
}
.catalog-toolbar input::placeholder {
  color: #7f9fb8;
}

/* ── CATALOG GRID & CARDS ──────────────────────────────────────── */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.catalog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: #7a9ab2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.catalog-empty span { font-size: 40px; }
.catalog-empty a { color: #1bbeff; }

/* Skeleton */
.catalog-skeleton { pointer-events: none; }
.skel-line {
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%);
  background-size: 200% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
.skel-title  { height: 18px; width: 80%; margin: 4px 0; }
.skel-desc   { height: 12px; width: 60%; }
.skel-price  { height: 24px; width: 40%; margin-top: 8px; }
@keyframes skel-shimmer { 0%{ background-position: 200% 0 } 100%{ background-position: -200% 0 } }

/* Card */
.catalog-card {
  border: 1px solid rgba(61,163,224,0.25);
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(8,25,52,0.97), rgba(5,17,36,0.94));
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.catalog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88,206,255,0.6);
  box-shadow: 0 8px 28px rgba(25,184,255,0.14);
}
.catalog-card.catalog-out { opacity: 0.75; }

/* Image */
.catalog-image {
  position: relative;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(10,28,54,0.98), rgba(6,18,36,0.95));
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
}
.catalog-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(3,10,22,0.65) 100%);
  pointer-events: none;
}
.catalog-image img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(2,9,19,0.55));
  transform: scale(1.01);
  transition: transform 260ms ease;
}
.catalog-card:hover .catalog-image img { transform: scale(1.06); }
.catalog-no-img { font-size: 48px; opacity: .25; }

/* Badges */
.catalog-offer-badge {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4444, #c01020);
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .04em;
  box-shadow: 0 3px 10px rgba(255,40,40,0.4);
}
.catalog-rupture-badge {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(30,30,40,0.85);
  border: 1px solid rgba(255,255,255,0.15);
  color: #9eb7ce;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* Body */
.catalog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px 14px 14px;
  gap: 6px;
}
.catalog-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: #e6f2ff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.catalog-link { color: inherit; text-decoration: none; }
.catalog-link:hover { color: #7de3ff; }

.catalog-desc {
  margin: 0;
  color: #7a9ab2;
  font-size: 12px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price row */
.catalog-price-row {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.catalog-price-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-price-now {
  color: #1bbeff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.catalog-price-old {
  color: #607890;
  font-size: 13px;
  text-decoration: line-through;
}
.catalog-promo-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4444, #c01020);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .03em;
}
.catalog-pay4x {
  margin-top: 4px;
  font-size: 11px;
  color: #3ddc84;
  font-weight: 600;
}

/* Footer */
.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.catalog-stock {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
}
.catalog-stock.in { color: #3ddc84; }
.catalog-stock.out { color: #e05050; }
.catalog-tags {
  font-size: 10px;
  color: #5a7898;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 130px;
}

/* CTA button */
.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 10px;
  border-radius: 9px;
  border: 1.5px solid rgba(27,190,255,0.3);
  background: rgba(27,190,255,0.06);
  color: #7dd8ff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.catalog-cta:hover {
  background: rgba(27,190,255,0.14);
  border-color: rgba(27,190,255,0.65);
  color: #c5e7ff;
}

/* Legacy — keep compat */
.catalog-assurance {
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  border: 1px solid rgba(82,188,247,0.22);
  background: rgba(9,30,56,0.5);
  font-size: 11px;
  color: #9eb7ce;
}
.catalog-assurance p { margin: 0; min-height: 0; display: block; overflow: visible; }
.catalog-assurance p + p { margin-top: 4px; }
.catalog-assurance span {
  display: inline-flex; width: 16px; height: 16px;
  align-items: center; justify-content: center; margin-right: 4px;
  border-radius: 50%; background: #33d95f; color: #fff; font-size: 11px; font-weight: 800;
}
.catalog-assurance strong { color: #ff5555; }
.product-assurance {
  margin: 10px 0 0;
  padding: 10px 12px;
}
.product-assurance p {
  font-size: 13px;
}
.product-detail-card {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 16px;
  border-radius: 14px;
  padding: 14px;
}
.product-detail-media {
  border-radius: 12px;
  border: 1px solid rgba(78, 176, 235, 0.3);
  overflow: hidden;
  background: rgba(6, 20, 36, 0.8);
  min-height: 300px;
}
.product-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-detail-content h3 {
  margin: 4px 0 8px;
}
.product-detail-price {
  margin: 0 0 8px;
}
.product-detail-content p {
  color: #b7d0e4;
  line-height: 1.45;
}
.product-detail-content ul {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.product-detail-content li {
  position: relative;
  margin-bottom: 7px;
  padding-left: 14px;
  color: #9fc0da;
  font-size: 13px;
}
.product-detail-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #25cbff;
}
.catalog-price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-price .now {
  color: #1bc6ff;
  font-size: 16px;
  font-weight: 800;
}
.catalog-price .old {
  color: #7c93aa;
  text-decoration: line-through;
  font-size: 12px;
}
.catalog-discount-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3f3f, #c6102e);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 10px rgba(255, 50, 50, 0.24);
}
.product-offer-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff3f3f, #c6102e);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 14px rgba(255, 57, 57, 0.26);
}
.catalog-state {
  margin-top: 2px;
  font-size: 12px;
  color: #8db0c9;
}
.catalog-state::before {
  content: "●";
  color: #05de7d;
  margin-right: 6px;
}
.catalog-tags {
  display: block;
  margin-top: 2px;
  color: #78a6c9;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.catalog-info-card {
  border-radius: 12px;
  padding: 16px;
}
.catalog-info-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
}
.catalog-info-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.catalog-info-card li {
  position: relative;
  margin: 0 0 8px;
  padding-left: 14px;
  color: #9fc0da;
  font-size: 13px;
}
.catalog-info-card li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: #1ec8ff;
}

@media (max-width: 1180px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .catalog-image {
    height: 190px;
  }
}

@media (max-width: 980px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-hero {
    min-height: 290px;
  }
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .catalog-content-grid {
    grid-template-columns: 1fr;
  }
  .catalog-image {
    height: 180px;
  }
  .mobile-split {
    grid-template-columns: 1fr;
  }
  .formation-pillars,
  .formation-infos {
    grid-template-columns: 1fr;
  }
  .formation-grid,
  .formation-docs {
    grid-template-columns: 1fr;
  }
  .product-detail-card {
    grid-template-columns: 1fr;
  }
  .product-detail-media {
    min-height: 240px;
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .catalog-hero {
    min-height: 250px;
  }
  .catalog-hero-inner h1 {
    font-size: clamp(32px, 12vw, 46px);
  }
  .catalog-toolbar input,
  .catalog-toolbar select {
    min-width: 100%;
  }
  .catalog-card {
    padding: 9px;
    gap: 8px;
  }
  .catalog-image {
    height: 170px;
  }
  .catalog-card h4 {
    font-size: 15px;
  }
  .mobile-panel {
    padding: 14px;
  }
  .mobile-panel h4 {
    font-size: clamp(28px, 8.2vw, 36px);
  }
  .mobile-panel p {
    font-size: 13px;
  }
  .formation-hero-content h1 {
    font-size: clamp(30px, 9vw, 42px);
  }
  .formation-cta {
    width: 100%;
    min-width: 0;
  }
  .formation-doc img {
    height: clamp(190px, 58vw, 300px);
  }
  .formation-doc-zoom {
    font-size: 11px;
    padding: 5px 9px;
    right: 8px;
    bottom: 8px;
  }
  .doc-lightbox-overlay {
    padding: 8px;
    align-items: end;
  }
  .doc-lightbox {
    max-height: calc(100vh - 12px);
    border-radius: 12px;
    padding: 10px;
  }
  .doc-lightbox-close {
    width: 32px;
    height: 32px;
  }
  .tarifs-page .block {
    margin-inline: 10px;
    padding: 12px;
  }
  .tarif-audience-card {
    padding: 12px;
  }
  .tarif-audience-card h4 {
    font-size: clamp(28px, 8.4vw, 38px);
  }
  .tarif-audience-card p,
  .tarif-audience-card li {
    font-size: 13px;
    line-height: 1.45;
  }
  .tarif-card {
    padding: 10px;
  }
  .tarif-card-head {
    margin-bottom: 8px;
  }
  .tarif-card-head h4 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1;
  }
  .tarif-card-head span {
    font-size: 12px;
  }
  .tarif-table-wrap {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }
  .tarif-table {
    min-width: 540px;
  }
  .tarif-table th,
  .tarif-table td {
    font-size: 13px;
    padding: 9px 10px;
    line-height: 1.3;
  }
  .tarif-table th {
    font-size: 11px;
    letter-spacing: 0.02em;
    white-space: normal;
    word-break: break-word;
  }
  .tarif-table td:first-child {
    width: auto;
  }
  .tarif-note {
    padding: 12px;
  }
  .tarif-note p {
    font-size: 13px;
  }
  .tarif-cta-row {
    gap: 8px;
  }
  .mobile-visual {
    height: clamp(150px, 46vw, 220px);
    margin-bottom: 10px;
  }
}

@keyframes diagBounceMobile {
  0%, 100% { transform: translateY(0) scale(1); }
  18% { transform: translateY(-5px) scale(1.01); }
  32% { transform: translateY(0) scale(1); }
  48% { transform: translateY(-3px) scale(1.005); }
  62% { transform: translateY(0) scale(1); }
}

.admin-login-overlay {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(80% 65% at 18% 15%, rgba(33, 200, 255, 0.16), transparent 62%),
    linear-gradient(165deg, #030e1f, #020812 70%);
}
.admin-login-card {
  width: min(460px, 100%);
  padding: 22px;
  border-radius: 14px;
}
.admin-login-card h1 {
  margin: 2px 0 8px;
  font-size: 34px;
}
.admin-login-card p {
  margin: 0 0 12px;
  color: #9db9d3;
}
.admin-login-card label {
  display: grid;
  gap: 5px;
  margin-bottom: 10px;
  font-size: 12px;
  color: #a8c4dc;
}
.admin-login-card input {
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(85, 185, 245, 0.3);
  background: rgba(6, 23, 46, 0.82);
  color: #def0ff;
  padding: 0 12px;
}
.admin-login-card small {
  color: #ff8f8f;
  min-height: 18px;
}

.admin-shell {
  min-height: 100vh;
  padding: 12px;
  background: linear-gradient(170deg, #031124, #020912 70%);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 12px;
  overflow-x: clip;
}
.admin-sidebar {
  border-radius: 12px;
  padding: 14px 12px;
  display: grid;
  align-content: start;
  gap: 12px;
}
.admin-logo img {
  height: 38px;
  max-width: 170px;
  width: auto;
  object-fit: contain;
}
.admin-nav {
  display: grid;
  gap: 6px;
}
.admin-nav button {
  border: 1px solid transparent;
  background: rgba(6, 22, 42, 0.58);
  color: #b7cee2;
  border-radius: 9px;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
}
.admin-nav button.active,
.admin-nav button:hover {
  border-color: rgba(65, 190, 255, 0.35);
  background: linear-gradient(180deg, rgba(30, 145, 215, 0.26), rgba(12, 51, 86, 0.34));
  color: #dff0ff;
}
.admin-logout {
  margin-top: auto;
  border: 1px solid rgba(87, 165, 220, 0.25);
  border-radius: 9px;
  min-height: 38px;
  background: rgba(5, 17, 34, 0.72);
  color: #c1d6e8;
}

.admin-main {
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
  overflow-x: hidden;
}
.admin-header h2 {
  margin: 0;
  font-size: clamp(24px, 2.4vw, 38px);
}
.admin-quick-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.admin-action-card {
  border: 1px solid rgba(82, 186, 245, 0.34);
  border-radius: 12px;
  min-height: 88px;
  background: linear-gradient(180deg, rgba(8, 28, 55, 0.86), rgba(4, 20, 40, 0.86));
  color: #dff2ff;
  text-align: left;
  padding: 12px;
  display: grid;
  align-content: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.admin-action-card:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 213, 255, 0.6);
  box-shadow: 0 0 20px rgba(28, 190, 255, 0.22);
}
.admin-action-card strong { font-size: 20px; }
.admin-action-card small { color: #8cb3cf; }

.admin-forms {
  margin-top: 10px;
}
.admin-form-wrap {
  border: 1px solid rgba(70, 174, 233, 0.28);
  border-radius: 12px;
  background: rgba(3, 16, 33, 0.66);
  padding: 12px;
}
.admin-form-wrap h3 {
  margin: 0 0 8px;
  font-size: 22px;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.admin-form-grid input,
.admin-form-grid textarea,
.admin-form-grid select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 38px;
  border: 1px solid rgba(85, 185, 245, 0.3);
  border-radius: 10px;
  background: rgba(6, 23, 46, 0.82);
  color: #def0ff;
  padding: 0 10px;
}
.admin-form-grid textarea {
  min-height: 82px;
  padding-top: 8px;
  resize: vertical;
  grid-column: span 3;
}

.admin-table-wrap {
  margin-top: 10px;
  border: 1px solid rgba(70, 174, 233, 0.28);
  border-radius: 12px;
  background: rgba(2, 14, 30, 0.74);
}
/* ── Legacy stat grid (kept for compat) ── */
.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
}
.admin-stat-card {
  border: 1px solid rgba(76, 184, 242, 0.32);
  border-radius: 12px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(8,29,53,0.9), rgba(5,19,37,0.86));
  min-height: 88px;
}
.admin-stat-card small { display:block; color:#8db4cf; font-size:12px; margin-bottom:6px; }
.admin-stat-card strong { color:#dff3ff; font-size:clamp(24px,2.2vw,34px); line-height:1.05; }

/* ── NEW DASHBOARD ───────────────────────────────────────────── */
/* KPI cards */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
  padding: 12px;
}
.dash-kpi-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border: 1px solid rgba(76,184,242,0.28);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(10,28,56,0.92), rgba(5,18,38,0.88));
  overflow: hidden;
}
.dash-kpi-card.dash-kpi-live { border-color: rgba(61,220,132,0.5); }
.dash-kpi-card.dash-kpi-alert { border-color: rgba(224,80,80,0.4); cursor: pointer; }
.dash-kpi-card.dash-kpi-alert:hover { border-color: rgba(224,80,80,0.7); }
.dash-kpi-icon { font-size: 24px; flex-shrink: 0; line-height: 1; }
.dash-kpi-body { display: flex; flex-direction: column; }
.dash-kpi-body strong { color: #dff3ff; font-size: clamp(22px,2vw,30px); line-height: 1.1; }
.dash-kpi-body small { color: #8db4cf; font-size: 11px; margin-top: 2px; line-height: 1.3; }
.dash-live-dot {
  position: absolute; right: 10px; top: 10px;
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 2px rgba(61,220,132,0.3);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 2px rgba(61,220,132,0.3); }
  50%      { box-shadow: 0 0 0 6px rgba(61,220,132,0.08); }
}
.dash-alert-badge {
  position: absolute; right: 8px; top: 8px;
  background: #e05050; color: #fff;
  border-radius: 10px; padding: 1px 6px; font-size: 11px; font-weight: 700;
}

/* Two-column layout */
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px;
  margin-top: 12px;
}
@media (max-width: 860px) { .dash-two-col { grid-template-columns: 1fr; } }

/* Panel */
.dash-panel {
  border: 1px solid rgba(66,162,220,0.2);
  border-radius: 12px;
  background: rgba(5,18,38,0.6);
  padding: 0 0 8px;
  overflow: hidden;
}
.dash-panel-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(66,162,220,0.15);
}
.dash-panel-head h3 { margin: 0; font-size: 13px; font-weight: 700; color: #c5e7ff; }
.dash-live-label {
  display: inline-block; margin-left: 6px;
  background: rgba(61,220,132,0.2); color: #3ddc84;
  font-size: 9px; font-weight: 800; padding: 1px 5px; border-radius: 4px;
  letter-spacing: .06em; vertical-align: middle;
}
.dash-empty { color: #607890; font-size: 12px; padding: 12px 14px; margin: 0; }

/* Online visitors */
.dash-online-list { padding: 6px 0; max-height: 240px; overflow-y: auto; }
.dash-online-row {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dash-online-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc84; flex-shrink: 0; margin-top: 4px;
}
.dash-online-info { display: flex; flex-direction: column; gap: 2px; }
.dash-online-page { font-size: 13px; font-weight: 600; color: #c5e7ff; }
.dash-online-meta { font-size: 11px; color: #607890; }

/* Quick actions */
.dash-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 10px 12px;
}
.dash-action-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(27,190,255,0.2);
  border-radius: 9px;
  background: rgba(10,30,60,0.5);
  color: #9eb7ce;
  font-size: 12px; font-weight: 600; cursor: pointer;
  transition: background 140ms, border-color 140ms, color 140ms;
  font-family: inherit; text-align: left;
}
.dash-action-btn:hover {
  background: rgba(27,190,255,0.1);
  border-color: rgba(27,190,255,0.5);
  color: #c5e7ff;
}

/* Referrers */
.dash-referrers { padding: 8px 14px; }
.dash-ref-row {
  display: grid; grid-template-columns: 130px 1fr 36px;
  align-items: center; gap: 8px;
  padding: 4px 0;
}
.dash-ref-label { font-size: 12px; color: #9eb7ce; }
.dash-ref-count { font-size: 11px; color: #607890; text-align: right; }

/* Bar charts */
.dash-bar-wrap {
  height: 6px; border-radius: 3px;
  background: rgba(27,190,255,0.1); overflow: hidden;
}
.dash-bar {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, rgba(27,190,255,0.7), rgba(27,190,255,0.3));
  min-width: 2px; transition: width 400ms ease;
}

/* Top pages */
.dash-pages-bars { padding: 8px 14px; }
.dash-page-row {
  display: grid; grid-template-columns: 160px 1fr 40px;
  align-items: center; gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dash-page-label { font-size: 12px; color: #c5e7ff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-page-count { font-size: 11px; color: #607890; text-align: right; }

/* Recent activity */
.dash-recent-list { padding: 4px 0; max-height: 300px; overflow-y: auto; }
.dash-recent-row {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dash-recent-time { font-size: 10px; color: #607890; min-width: 72px; flex-shrink: 0; }
.dash-recent-page { font-size: 12px; color: #c5e7ff; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-recent-meta { font-size: 13px; flex-shrink: 0; }

/* Light mode */
html[data-theme="light"] .dash-kpi-card {
  background: linear-gradient(135deg, rgba(240,248,255,0.95), rgba(228,240,252,0.9));
  border-color: rgba(12,100,175,0.2);
}
html[data-theme="light"] .dash-kpi-body strong { color: #0a2a50; }
html[data-theme="light"] .dash-kpi-body small { color: #4a7090; }
html[data-theme="light"] .dash-panel { background: rgba(240,248,255,0.7); border-color: rgba(12,100,175,0.15); }
html[data-theme="light"] .dash-panel-head h3 { color: #0a3060; }
html[data-theme="light"] .dash-online-page { color: #0a3060; }
html[data-theme="light"] .dash-online-meta { color: #607890; }
html[data-theme="light"] .dash-page-label { color: #0a3060; }
html[data-theme="light"] .dash-recent-page { color: #0a3060; }
html[data-theme="light"] .dash-action-btn {
  background: rgba(10,80,140,0.06);
  border-color: rgba(12,100,175,0.25);
  color: #2a6090;
}
html[data-theme="light"] .dash-action-btn:hover {
  background: rgba(10,80,140,0.12);
  border-color: rgba(12,100,175,0.55);
  color: #0a3060;
}
html[data-theme="light"] .dash-bar { background: linear-gradient(90deg,rgba(10,100,175,0.6),rgba(10,100,175,0.2)); }
.admin-table-head {
  padding: 10px;
  border-bottom: 1px solid rgba(66, 162, 220, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.admin-table-head h3 {
  margin: 0;
  font-size: 24px;
}
.admin-table-head input {
  min-height: 36px;
  min-width: 280px;
  border: 1px solid rgba(85, 185, 245, 0.3);
  border-radius: 10px;
  background: rgba(6, 23, 46, 0.82);
  color: #def0ff;
  padding: 0 10px;
}
.admin-head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-table-scroll {
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
}
.admin-table th,
.admin-table td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid rgba(63, 151, 206, 0.12);
  font-size: 13px;
}
.admin-table th {
  color: #89accc;
  font-weight: 700;
}
.admin-table td {
  color: #d7e9f8;
  overflow-wrap: anywhere;
  word-break: break-word;
}
#section-assistance .admin-table {
  width: 100%;
  min-width: 100%;
  table-layout: fixed;
}
#section-assistance .admin-table th,
#section-assistance .admin-table td {
  white-space: normal;
  vertical-align: top;
}
#section-assistance .admin-table td:nth-child(2) {
  word-break: break-word;
}
.admin-status {
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
}
.admin-status.on {
  color: #b9ffe2;
  background: rgba(10, 150, 95, 0.28);
}
.admin-status.off {
  color: #d2e5ff;
  background: rgba(52, 107, 164, 0.3);
}
.admin-status.wait {
  color: #ffebc2;
  background: rgba(171, 112, 28, 0.28);
}
.admin-icon-btn {
  border: 1px solid rgba(89, 170, 226, 0.34);
  border-radius: 8px;
  min-height: 30px;
  min-width: 32px;
  background: rgba(6, 22, 40, 0.82);
  color: #dff1ff;
  transition: all 180ms ease;
}
.admin-icon-btn:hover {
  border-color: rgba(112, 210, 255, 0.7);
  box-shadow: 0 0 14px rgba(45, 189, 255, 0.28);
}
.admin-price-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-price-cell strong {
  color: #24ccff;
  font-weight: 800;
}
.admin-price-cell small {
  color: #8ca5bc;
  text-decoration: line-through;
}
.is-hidden {
  display: none !important;
}
.admin-offer-pill {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  background: linear-gradient(180deg, #ff4646, #be0f28);
  box-shadow: 0 4px 12px rgba(255, 42, 42, 0.35);
}
.admin-muted {
  color: #7d9ab1;
  font-size: 12px;
}
.admin-switch {
  position: relative;
  width: 48px;
  height: 26px;
  display: inline-block;
}
.admin-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.admin-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(38, 70, 102, 0.8);
  border: 1px solid rgba(88, 156, 211, 0.45);
  transition: all 180ms ease;
}
.admin-switch span::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dbefff;
  transition: transform 180ms ease;
}
.admin-switch input:checked + span {
  background: linear-gradient(90deg, rgba(8, 197, 124, 0.9), rgba(12, 148, 108, 0.9));
  border-color: rgba(86, 244, 174, 0.7);
}
.admin-switch input:checked + span::after {
  transform: translateX(22px);
}
.admin-switch input:disabled + span {
  opacity: 0.6;
}
.admin-settings-grid {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.admin-settings-grid article {
  border-radius: 10px;
  padding: 12px;
}
.admin-settings-grid.admin-settings-grid-full {
  grid-template-columns: 1fr;
  gap: 12px;
}
.admin-settings-card {
  border: 1px solid rgba(74, 182, 239, 0.24);
  background:
    radial-gradient(75% 70% at 12% 0%, rgba(54, 201, 255, 0.14), rgba(7, 22, 40, 0)),
    linear-gradient(180deg, rgba(7, 25, 48, 0.92), rgba(5, 18, 34, 0.9));
}
.admin-settings-card h4 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #cce7fb;
}
.admin-settings-card .admin-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.admin-settings-card .admin-field-wide {
  grid-column: span 2;
}

.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 16, 0.68);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  z-index: 120;
  opacity: 0;
  transition: opacity 180ms ease;
}
.admin-modal-overlay[hidden] {
  display: none !important;
}
.admin-modal-overlay.open {
  opacity: 1;
}
.admin-modal {
  width: min(860px, calc(100% - 24px));
  max-height: 92vh;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(84, 191, 247, 0.35);
  background:
    radial-gradient(90% 90% at 12% 0%, rgba(45, 194, 255, 0.14), rgba(6, 23, 46, 0)),
    linear-gradient(180deg, rgba(8, 26, 48, 0.96), rgba(5, 18, 34, 0.94));
  transform: translateY(10px) scale(0.98);
  transition: transform 180ms ease;
}
.admin-modal-overlay.open .admin-modal {
  transform: translateY(0) scale(1);
}
.admin-modal-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(67, 164, 223, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-modal-head h3 {
  margin: 0;
  font-size: 24px;
}
.admin-modal-body {
  padding: 14px;
  overflow: auto;
  max-height: calc(92vh - 72px);
}
.admin-modal-form textarea {
  grid-column: span 3;
}
.admin-field {
  display: grid;
  gap: 6px;
}
.admin-field > span {
  color: #8fb7d7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.admin-field small {
  color: #7ea4c2;
  font-size: 11px;
}
.admin-field.admin-field-help {
  grid-column: span 3;
  border: 1px solid rgba(83, 181, 238, 0.26);
  border-radius: 10px;
  padding: 10px;
  background: rgba(8, 31, 56, 0.55);
}
.admin-field.admin-field-help strong {
  color: #a7e7ff;
  font-size: 14px;
}
.admin-field.admin-field-help span {
  color: #9fc2dc;
  font-size: 12px;
  font-weight: 500;
}
.admin-field.admin-field-wide {
  grid-column: span 3;
}
.admin-live-preview {
  grid-column: span 3;
  margin-top: 6px;
}
.admin-live-preview .preview-card {
  margin-top: 8px;
  max-width: 360px;
}
.admin-live-preview .catalog-image {
  height: 160px;
}
.admin-modal-actions {
  grid-column: span 3;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.admin-toast-stack {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 130;
  display: grid;
  gap: 8px;
  width: min(460px, calc(100% - 24px));
}
.admin-toast {
  border: 1px solid rgba(77, 188, 246, 0.38);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(8, 28, 52, 0.96), rgba(5, 18, 35, 0.95));
  color: #dff2ff;
  padding: 8px 12px;
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 220ms ease;
}
.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.admin-toast strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #78d9ff;
}
.admin-toast.error {
  border-color: rgba(255, 98, 98, 0.45);
}
.admin-toast.error strong {
  color: #ff9e9e;
}

@media (max-width: 1180px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    grid-template-columns: 1fr;
  }
  .admin-quick-actions {
    grid-template-columns: 1fr;
  }
  .admin-form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-form-grid textarea {
    grid-column: span 2;
  }
  .admin-modal-form textarea,
  .admin-field.admin-field-help,
  .admin-field.admin-field-wide,
  .admin-live-preview,
  .admin-modal-actions {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  /* Nav toujours visible en barre horizontale — pas de drawer caché */
  .admin-mobile-toggle { display: none !important; }
  .admin-sidebar-overlay { display: none !important; }
  .admin-shell {
    padding: 8px;
    gap: 8px;
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    position: static !important;
    transform: none !important;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .admin-sidebar::-webkit-scrollbar { display: none; }
  .admin-logo { flex: 0 0 auto; }
  .admin-logo img { height: 28px; }
  .admin-nav {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    flex: 1 1 auto;
    min-width: 0;
  }
  .admin-nav button {
    padding: 7px 10px;
    font-size: 12px;
    white-space: nowrap;
    border-radius: 8px;
  }
  .admin-logout {
    flex: 0 0 auto;
    margin-top: 0;
    padding: 6px 10px;
    font-size: 12px;
    min-height: unset;
  }
  .admin-theme-toggle-wrap { flex: 0 0 auto; margin: 0; }
  .admin-main,
  .admin-sidebar {
    min-width: 0;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-grid textarea {
    grid-column: span 1;
  }
  .admin-table-head {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-table-head input {
    min-width: 100%;
  }
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }
  .admin-settings-card .admin-form-grid {
    grid-template-columns: 1fr;
  }
  .admin-settings-card .admin-field-wide {
    grid-column: span 1;
  }
  .admin-modal-head h3 {
    font-size: 20px;
  }
  .admin-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .admin-modal-form textarea,
  .admin-field.admin-field-help,
  .admin-field.admin-field-wide,
  .admin-live-preview,
  .admin-modal-actions {
    grid-column: span 1;
  }
  .admin-modal-actions {
    justify-content: stretch;
    flex-direction: column;
  }
  .admin-live-preview .preview-card {
    max-width: 100%;
  }
  #section-assistance .admin-log-list { max-height: 160px; }
}

@media (max-width: 980px) {
  #section-assistance .admin-table-scroll {
    overflow: visible;
  }
  #section-assistance .admin-table {
    width: 100%;
    min-width: 100%;
    table-layout: auto;
  }
  #section-assistance .admin-table thead {
    display: none;
  }
  #section-assistance .admin-table tbody {
    display: grid;
    gap: 10px;
    padding: 10px;
  }
  #section-assistance .admin-table tr {
    display: block;
    border: 1px solid rgba(70, 174, 233, 0.22);
    border-radius: 10px;
    background: rgba(6, 21, 39, 0.74);
    padding: 10px;
  }
  #section-assistance .admin-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    border: 0;
    padding: 6px 0;
    font-size: 13px;
  }
  #section-assistance .admin-table td::before {
    content: attr(data-label);
    color: #89accc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex: 0 0 116px;
  }
  #section-assistance .admin-table td[data-label="Actions"] {
    justify-content: flex-end;
    gap: 6px;
  }
  #section-assistance .admin-table td[data-label="Actions"]::before {
    display: none;
  }
}


.admin-shell[hidden],
.admin-login-overlay[hidden],
.admin-form-wrap[hidden],
.admin-table-wrap[hidden] {
  display: none !important;
}

/* Tarifs page */
.tarifs-page {
  min-height: 100vh;
}
.tarifs-hero {
  min-height: 300px;
}
.tarifs-block {
  padding-top: 16px;
}
/* ── PAGE TARIFS — refonte 2026-05-29 ──────────────────────────── */
.tarifs-main-title {
  font-size: clamp(20px, 2.5vw, 32px);
  color: #c5e7ff;
  margin: 0 0 20px;
  text-align: center;
}
/* Intro pills */
.tarif-intro-pills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 0 0 24px;
}
.tarif-intro-pill {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(27,190,255,0.22);
  border-radius: 12px;
  background: rgba(8,25,50,0.7);
}
.tarif-intro-pill > span { font-size: 22px; flex-shrink: 0; line-height: 1.2; }
.tarif-intro-pill strong { display: block; color: #c5e7ff; font-size: 13px; }
.tarif-intro-pill small  { color: #7a9ab2; font-size: 11px; }

/* Loading */
.tarif-loading {
  text-align: center;
  color: #607890;
  padding: 32px;
  font-size: 14px;
}

/* Section grid */
.tarif-sections {
  display: grid;
  gap: 16px;
}

/* Card */
.tarif-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(70,176,236,0.28);
  background:
    radial-gradient(80% 60% at 16% 0%, rgba(51,198,255,0.1), transparent),
    linear-gradient(180deg, rgba(8,26,49,0.95), rgba(5,18,35,0.92));
}
.tarif-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px 14px;
  border-bottom: 1px solid rgba(70,176,236,0.2);
}
.tarif-card-head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tarif-card-icon { font-size: 28px; line-height: 1; flex-shrink: 0; }
.tarif-card-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 28px);
  color: #1fc9ff;
  line-height: 1.1;
}
.tarif-card-subtitle {
  margin: 2px 0 0;
  color: #7a9ab2;
  font-size: 13px;
}

/* Table wrap — responsive */
.tarif-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tarif-table {
  width: 100%;
  border-collapse: collapse;
}
.tarif-table th {
  text-align: left;
  padding: 10px 16px;
  background: rgba(7,28,54,0.85);
  color: #9ec8e0;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 1px solid rgba(68,151,206,0.22);
  white-space: nowrap;
}
.tarif-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(68,151,206,0.1);
  color: #d6e9fa;
  font-size: 15px;
  vertical-align: middle;
}
.tarif-table tbody tr:last-child td { border-bottom: none; }
.tarif-table tbody tr:hover td { background: rgba(25,83,125,0.18); }
.tarif-td-label {
  font-weight: 700;
  color: #eef6ff;
  white-space: nowrap;
  min-width: 100px;
}

/* Prix + ADF */
.tarif-price {
  display: block;
  font-weight: 700;
  color: #eef6ff;
  font-size: 16px;
}
.tarif-adf {
  display: block;
  color: #3ddc84;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
}
.tarif-adf::before { content: "→ "; }
.tarif-inline-note {
  display: block;
  color: #7a9ab2;
  font-size: 11px;
  margin-top: 3px;
}

/* Note */
.tarif-note {
  margin-top: 16px;
  border-radius: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(86,186,245,0.24);
  background: rgba(8,25,50,0.6);
}
.tarif-note p { margin: 0; color: #bdd6ea; line-height: 1.55; font-size: 14px; }
.tarif-note p + p { margin-top: 8px; }

/* CTA */
.tarif-cta-row {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.map-direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 18px;
  height: 42px;
  border-radius: 9px;
  border: 1.5px solid rgba(27,190,255,0.4);
  background: rgba(10,40,80,0.5);
  color: #9eb7ce;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 140ms, border-color 140ms, color 140ms;
}
.map-direct-btn:hover {
  background: rgba(27,190,255,0.1);
  border-color: rgba(27,190,255,0.7);
  color: #c5e7ff;
}

/* ── RESPONSIVE MOBILE < 640px ──────────────────────────────────── */
@media (max-width: 640px) {
  .tarif-intro-pills { grid-template-columns: 1fr 1fr; }

  /* Table → cartes empilées */
  .tarif-table thead { display: none; }
  .tarif-table, .tarif-table tbody, .tarif-table tr, .tarif-table td {
    display: block;
    width: 100%;
  }
  .tarif-table tr {
    border: 1px solid rgba(68,151,206,0.18);
    border-radius: 10px;
    margin: 8px 10px;
    background: rgba(10,28,54,0.6);
    padding: 4px 0;
    width: calc(100% - 20px);
  }
  .tarif-table tr:last-child { border-bottom: 1px solid rgba(68,151,206,0.18); }
  .tarif-table tbody tr:hover td { background: none; }
  .tarif-table td {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 9px 14px;
    border-bottom: 1px solid rgba(68,151,206,0.1);
    font-size: 14px;
  }
  .tarif-table td:last-child { border-bottom: none; }
  .tarif-table td::before {
    content: attr(data-label);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #607890;
    letter-spacing: .04em;
    flex-shrink: 0;
    min-width: 100px;
    padding-right: 8px;
  }
  .tarif-td-label {
    background: rgba(7,28,54,0.7);
    font-size: 15px;
    border-radius: 10px 10px 0 0;
  }
  .tarif-td-label::before { display: none; }

  .tarif-cta-row { flex-direction: column; align-items: stretch; }
  .tarif-cta-row a, .tarif-cta-row button { text-align: center; justify-content: center; }
}
@media (max-width: 400px) {
  .tarif-intro-pills { grid-template-columns: 1fr; }
}

/* ── LIGHT MODE ─────────────────────────────────────────────────── */
html[data-theme="light"] .tarif-card {
  background: linear-gradient(180deg, rgba(240,248,255,0.97), rgba(230,242,252,0.93));
  border-color: rgba(12,100,175,0.2);
}
html[data-theme="light"] .tarif-card-title { color: #0a5ca0; }
html[data-theme="light"] .tarif-card-subtitle { color: #5080a0; }
html[data-theme="light"] .tarif-card-head { border-bottom-color: rgba(12,100,175,0.15); }
html[data-theme="light"] .tarif-table th {
  background: rgba(220,238,255,0.85);
  color: #3a6080;
  border-bottom-color: rgba(12,100,175,0.15);
}
html[data-theme="light"] .tarif-table td { color: #1a3550; border-bottom-color: rgba(12,100,175,0.08); }
html[data-theme="light"] .tarif-table tbody tr:hover td { background: rgba(10,80,140,0.06); }
html[data-theme="light"] .tarif-td-label { color: #0a2040; }
html[data-theme="light"] .tarif-price { color: #0a2040; }
html[data-theme="light"] .tarif-adf { color: #1a8040; }
html[data-theme="light"] .tarif-note { background: rgba(230,244,255,0.7); border-color: rgba(12,100,175,0.18); }
html[data-theme="light"] .tarif-note p { color: #2a5070; }
html[data-theme="light"] .tarif-intro-pill { background: rgba(230,244,255,0.8); border-color: rgba(12,100,175,0.2); }
html[data-theme="light"] .tarif-intro-pill strong { color: #0a3060; }
html[data-theme="light"] .tarif-intro-pill small { color: #4a7090; }
html[data-theme="light"] .tarifs-main-title { color: #0a2040; }
html[data-theme="light"] .tarif-table tr { background: rgba(230,244,255,0.5); border-color: rgba(12,100,175,0.15); }
html[data-theme="light"] .map-direct-btn {
  background: rgba(10,80,140,0.07);
  border-color: rgba(12,100,175,0.35);
  color: #2a6090;
}
html[data-theme="light"] .map-direct-btn:hover { background: rgba(10,80,140,0.14); color: #0a3060; }

.tele-call-cta {
  margin-top: 10px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.tele-call-cta p {
  margin: 0;
  color: #9fc3dd;
  font-size: 13px;
}
/* ── TELEASSISTANCE — refonte 2026-05-29 ───────────────────────── */
.store-hero-sub {
  color: rgba(180, 215, 245, 0.82);
  font-size: clamp(14px, 1.6vw, 18px);
  margin: 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  text-align: center;
  max-width: 520px;
}
.store-hero-kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(27, 190, 255, 0.75);
  text-shadow: none;
}
.tele-section { position: relative; }
.tele-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(27,190,255,0.15);
  border: 1px solid rgba(27,190,255,0.3);
  border-radius: 20px;
  padding: 3px 12px;
  color: #1bbeff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tele-section-intro {
  color: #9eb7ce;
  font-size: 15px;
  max-width: 620px;
  margin: 0 0 20px;
  line-height: 1.55;
}

/* Download buttons */
.tele-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.tele-dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 2px solid rgba(27,190,255,0.25);
  border-radius: 14px;
  background: rgba(8,25,52,0.8);
  text-decoration: none;
  color: #c5e7ff;
  transition: background 140ms, border-color 140ms, transform 100ms;
  position: relative;
}
.tele-dl-btn:hover { background: rgba(27,190,255,0.12); border-color: rgba(27,190,255,0.6); transform: translateY(-1px); }
.tele-dl-btn.tele-dl-recommended { border-color: rgba(61,220,132,0.6); background: rgba(61,220,132,0.08); }
.tele-dl-btn.tele-dl-recommended::before {
  content: '★ Recommandé';
  position: absolute; top: -10px; left: 14px;
  background: rgba(61,220,132,0.9); color: #062a18;
  font-size: 10px; font-weight: 800; padding: 2px 8px;
  border-radius: 8px; letter-spacing: .04em;
}
.tele-dl-icon { font-size: 28px; flex-shrink: 0; line-height: 1; }
.tele-dl-btn div { flex: 1; }
.tele-dl-btn strong { display: block; font-size: 16px; }
.tele-dl-btn small { color: #7a9ab2; font-size: 12px; }
.tele-dl-arrow { font-size: 20px; color: rgba(27,190,255,0.6); flex-shrink: 0; }

/* OS badge */
.tele-os-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: rgba(8,25,52,0.6);
  border: 1px solid rgba(27,190,255,0.2);
  border-radius: 8px;
  font-size: 12px;
  color: #7a9ab2;
  margin-bottom: 20px;
}
.tele-os-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #607890;
}
.tele-os-badge.detected .tele-os-dot { background: #3ddc84; }
.tele-os-badge.detected { color: #9eb7ce; }

/* Steps list */
.tele-rustdesk-steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.tele-step-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(27,190,255,0.15);
  border-radius: 10px;
  background: rgba(8,25,52,0.5);
  font-size: 13px;
  color: #9eb7ce;
}
.tele-step-num {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(27,190,255,0.2);
  border: 1px solid rgba(27,190,255,0.4);
  color: #1bbeff;
  font-weight: 800; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}

/* Pay layout */
.tele-pay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 720px) { .tele-pay-layout { grid-template-columns: 1fr; } }

/* Info card */
.tele-info-card {
  border-radius: 14px;
  border: 1px solid rgba(79,177,234,0.25);
  padding: 20px;
  background: linear-gradient(180deg, rgba(8,28,50,0.92), rgba(5,17,33,0.88));
  display: flex; flex-direction: column; gap: 0;
}
.tele-info-card h3 { margin: 0 0 14px; font-size: clamp(16px,1.6vw,20px); color: #c5e7ff; }

.tele-tarif-list { display: flex; flex-direction: column; gap: 0; margin-bottom: 16px; }
.tele-tarif-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(27,190,255,0.1);
}
.tele-tarif-row:last-child { border-bottom: none; }
.tele-tarif-row strong { display: block; color: #c5e7ff; font-size: 14px; }
.tele-tarif-row small { color: #7a9ab2; font-size: 12px; }
.tele-tarif-price {
  font-size: 20px; font-weight: 800; color: #1bbeff;
  flex-shrink: 0;
}
.tele-info-label {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: #607890; margin: 0 0 8px;
}
.tele-info-examples { margin-bottom: 14px; }
.tele-info-examples ul {
  margin: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 8px;
}
.tele-info-examples li {
  font-size: 12px; color: #9eb7ce; padding-left: 14px; position: relative;
}
.tele-info-examples li::before {
  content: '✓'; position: absolute; left: 0; color: #3ddc84; font-size: 11px;
}
.tele-info-note {
  background: rgba(255,190,100,0.07);
  border: 1px solid rgba(255,190,100,0.2);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 14px;
}
.tele-info-note p { margin: 0; font-size: 12px; color: #c8a870; line-height: 1.45; }
.tele-call-inline { margin-top: auto; padding-top: 14px; border-top: 1px solid rgba(27,190,255,0.1); }
.tele-call-inline p { font-size: 13px; color: #7a9ab2; margin: 0 0 8px; }

/* Pay card */
.tele-pay-card {
  border-radius: 14px;
  border: 1px solid rgba(79,177,234,0.25);
  padding: 20px;
  background: linear-gradient(180deg, rgba(8,28,50,0.92), rgba(5,17,33,0.88));
}
.tele-pay-card h3 { margin: 0 0 6px; font-size: clamp(16px,1.6vw,20px); color: #c5e7ff; }
.tele-pay-intro { color: #9eb7ce; font-size: 13px; margin: 0 0 16px; line-height: 1.5; }

/* Code form */
.tele-pay-form { display: grid; gap: 10px; }
.tele-code-input-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  border: 2px solid rgba(27,190,255,0.35);
  border-radius: 12px;
  background: rgba(6,20,42,0.9);
  overflow: hidden;
  transition: border-color 150ms;
}
.tele-code-input-wrap:focus-within { border-color: rgba(27,190,255,0.75); }
.tele-code-prefix {
  display: inline-flex; align-items: center;
  min-height: 52px; padding: 0 14px;
  font-size: 15px; font-weight: 900; letter-spacing: .08em;
  color: #1bbeff;
  border-right: 1px solid rgba(27,190,255,0.2);
  background: rgba(9,30,58,0.8);
}
.tele-code-input-wrap input {
  border: 0; border-radius: 0; background: transparent;
  min-height: 52px; padding: 0 14px;
  color: #eef6ff; font-size: 18px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  width: 100%;
}
.tele-code-input-wrap input:focus { outline: none; }
.tele-code-input-wrap input::placeholder { color: #3a5a7a; font-size: 14px; letter-spacing: .05em; }

/* Status */
.tele-status {
  margin-top: 10px;
  border: 1px solid rgba(84,184,244,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  color: #c5e7ff;
  background: rgba(8,26,52,0.7);
  font-size: 14px;
  line-height: 1.5;
}
.tele-status-ok   { border-color: rgba(61,220,132,0.45); background: rgba(20,80,50,0.3); }
.tele-status-error{ border-color: rgba(255,108,108,0.5); background: rgba(80,20,20,0.3); }
.tele-status-warn { border-color: rgba(255,198,102,0.45); background: rgba(80,60,10,0.3); }

/* Code info box */
.tele-code-info { display: flex; flex-direction: column; gap: 6px; }
.tele-code-info-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}
.tele-code-info-row:last-child { border-bottom: none; }
.tele-code-info-row span { color: #7a9ab2; font-size: 12px; }
.tele-code-info-row strong { color: #c5e7ff; }
.tele-code-amount { color: #1bbeff !important; font-size: 18px !important; }
.tele-code-expires strong { color: #ffa96e !important; font-size: 12px !important; }
.tele-paid-ok { margin: 8px 0 0; color: #3ddc84; font-weight: 600; }

/* PayPal zone */
.tele-paypal-header {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 0 8px;
  font-size: 13px; color: #9eb7ce;
  border-top: 1px solid rgba(27,190,255,0.15);
  margin-top: 12px;
}
.tele-paypal-lock { font-size: 16px; }
.tele-paypal-unavailable {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(255,190,100,0.3);
  border-radius: 10px;
  background: rgba(80,60,10,0.2);
  font-size: 13px; color: #c8a870;
  display: flex; flex-direction: column; gap: 8px;
  text-align: center;
}
.tele-paypal-unavailable p { margin: 0; }

/* Success modal */
.tele-success-overlay {
  position: fixed; inset: 0;
  background: rgba(2,8,20,0.85);
  z-index: 300;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
/* IMPORTANT: forcer display:none quand l'attribut hidden est présent
   (évite que le display:flex ci-dessus écrase l'attribut HTML hidden) */
.tele-success-overlay[hidden] { display: none !important; }
.tele-success-modal {
  width: min(520px, 100%);
  border-radius: 18px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
  text-align: center;
}
.tele-success-icon { font-size: 52px; line-height: 1; }
.tele-success-modal h2 { margin: 0; font-size: clamp(20px,2.5vw,28px); color: #c5e7ff; }
.tele-success-copy { color: #9eb7ce; font-size: 14px; line-height: 1.6; margin: 0; }
.tele-success-transaction { color: #607890; font-size: 12px; margin: 0; }
.tele-success-dl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 480px) { .tele-success-dl-grid { grid-template-columns: 1fr; } }
.tele-success-dl-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 12px;
  border: 2px solid rgba(27,190,255,0.3);
  border-radius: 12px;
  background: rgba(8,28,56,0.8);
  color: #c5e7ff;
  font-weight: 700; font-size: 13px;
  text-decoration: none;
  transition: background 140ms, border-color 140ms;
  position: relative;
}
.tele-success-dl-btn:hover { background: rgba(27,190,255,0.1); border-color: rgba(27,190,255,0.6); }
.tele-success-dl-btn.recommended {
  border-color: rgba(61,220,132,0.6);
  background: rgba(20,80,50,0.3);
}
.tele-rec-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: #3ddc84; color: #062a18;
  font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 8px;
  white-space: nowrap;
}
.tele-success-contact { padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.08); }
.tele-success-contact p { color: #7a9ab2; font-size: 13px; margin: 0 0 10px; }

/* Toasts */
.tele-toast-stack {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(440px, calc(100% - 20px)); z-index: 400;
  display: grid; gap: 8px; pointer-events: none;
}
.tele-toast {
  border-radius: 10px;
  border: 1px solid rgba(77,188,246,0.35);
  background: linear-gradient(180deg, rgba(8,28,52,0.97), rgba(5,18,35,0.96));
  color: #dff2ff;
  padding: 10px 14px;
  display: grid; gap: 2px;
  opacity: 0; transform: translateY(-8px);
  transition: all 220ms ease;
  pointer-events: auto;
}
.tele-toast.show { opacity: 1; transform: translateY(0); }
.tele-toast strong { font-size: 11px; letter-spacing: .05em; color: #78d9ff; text-transform: uppercase; }
.tele-toast.error { border-color: rgba(255,98,98,0.45); }
.tele-toast.error strong { color: #ff9e9e; }
.tele-toast.warn { border-color: rgba(255,204,122,0.45); }
.tele-toast.warn strong { color: #ffd081; }
.tele-toast.ok { border-color: rgba(67,222,150,0.45); }
.tele-toast.ok strong { color: #90ffd3; }

/* Responsive */
@media (max-width: 600px) {
  .tele-download-grid { grid-template-columns: 1fr; }
  .tele-rustdesk-steps { grid-template-columns: 1fr; }
  .tele-info-examples ul { grid-template-columns: 1fr; }
  .tele-success-modal { padding: 24px 18px; }
}

/* Light mode */
html[data-theme="light"] .tele-dl-btn { background: rgba(230,244,255,0.9); border-color: rgba(12,100,175,0.2); color: #0a3060; }
html[data-theme="light"] .tele-dl-btn:hover { background: rgba(10,100,175,0.08); border-color: rgba(12,100,175,0.5); }
html[data-theme="light"] .tele-dl-btn small { color: #4a7090; }
html[data-theme="light"] .tele-dl-btn.tele-dl-recommended { background: rgba(20,160,80,0.08); border-color: rgba(20,160,80,0.5); }
html[data-theme="light"] .tele-os-badge { background: rgba(230,244,255,0.7); border-color: rgba(12,100,175,0.2); color: #4a7090; }
html[data-theme="light"] .tele-step-item { background: rgba(230,244,255,0.7); border-color: rgba(12,100,175,0.15); color: #2a5070; }
html[data-theme="light"] .tele-info-card,
html[data-theme="light"] .tele-pay-card { background: rgba(230,244,255,0.9); border-color: rgba(12,100,175,0.2); }
html[data-theme="light"] .tele-info-card h3,
html[data-theme="light"] .tele-pay-card h3,
html[data-theme="light"] .tele-tarif-row strong { color: #0a2040; }
html[data-theme="light"] .tele-tarif-price { color: #0060b0; }
html[data-theme="light"] .tele-code-input-wrap { background: #fff; border-color: rgba(12,100,175,0.4); }
html[data-theme="light"] .tele-code-prefix { background: rgba(220,238,255,0.9); color: #0060b0; border-color: rgba(12,100,175,0.2); }
html[data-theme="light"] .tele-code-input-wrap input { color: #0a2040; }
html[data-theme="light"] .tele-status { background: rgba(230,244,255,0.7); color: #0a2040; border-color: rgba(12,100,175,0.3); }
html[data-theme="light"] .tele-status-ok { background: rgba(20,160,80,0.07); border-color: rgba(20,160,80,0.4); }
html[data-theme="light"] .tele-status-error { background: rgba(200,40,40,0.06); border-color: rgba(200,40,40,0.4); }
html[data-theme="light"] .tele-success-modal { border: 1px solid rgba(12,100,175,0.2); }
html[data-theme="light"] .tele-success-dl-btn { background: rgba(230,244,255,0.9); border-color: rgba(12,100,175,0.25); color: #0a3060; }
html[data-theme="light"] .tele-toast { background: rgba(240,248,255,0.97); border-color: rgba(12,100,175,0.3); color: #0a2040; }
html[data-theme="light"] .tele-toast strong { color: #0060b0; }
.tele-toast-stack {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(440px, calc(100% - 20px));
  z-index: 160;
  display: grid;
  gap: 8px;
}
.tele-toast {
  border-radius: 10px;
  border: 1px solid rgba(77, 188, 246, 0.38);
  background: linear-gradient(180deg, rgba(8, 28, 52, 0.96), rgba(5, 18, 35, 0.95));
  color: #dff2ff;
  padding: 9px 12px;
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  transition: all 220ms ease;
}
.tele-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.tele-toast strong {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #78d9ff;
}
.tele-toast.error {
  border-color: rgba(255, 98, 98, 0.45);
}
.tele-toast.error strong {
  color: #ff9e9e;
}
.tele-toast.warn {
  border-color: rgba(255, 204, 122, 0.5);
}
.tele-toast.warn strong {
  color: #ffd081;
}
.tele-toast.ok {
  border-color: rgba(67, 222, 150, 0.45);
}
.tele-toast.ok strong {
  color: #90ffd3;
}

.tele-success-copy {
  margin: 0 0 10px;
  color: #b4d4ea;
  font-size: 15px;
  line-height: 1.45;
}
.tele-success-transaction {
  margin: 0 0 12px;
  color: #99c9e8;
  font-size: 13px;
}

.admin-assist-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-assist-tools input,
.admin-assist-tools select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  min-height: 36px;
  border: 1px solid rgba(85, 185, 245, 0.3);
  border-radius: 10px;
  background: rgba(6, 23, 46, 0.82);
  color: #def0ff;
  padding: 0 10px;
}
.admin-log-list {
  margin: 10px;
  border: 1px solid rgba(70, 174, 233, 0.24);
  border-radius: 10px;
  background: rgba(4, 18, 35, 0.72);
  max-height: 220px;
  overflow: auto;
  padding: 8px 10px;
}
.admin-log-list p {
  margin: 0 0 6px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  color: #a4c6df;
  line-height: 1.4;
  white-space: pre-wrap;
}
.call-open-btn {
  position: relative;
  overflow: hidden;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(105, 221, 255, 0.52);
  background: linear-gradient(180deg, rgba(34, 205, 255, 0.26), rgba(7, 74, 130, 0.38));
  color: #e9f9ff;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.call-open-btn::after {
  content: "";
  position: absolute;
  left: -30%;
  right: -30%;
  top: -140%;
  height: 200%;
  background: linear-gradient(180deg, transparent 0%, rgba(109, 232, 255, 0.3) 46%, transparent 100%);
  transform: translateY(-65%);
  opacity: 0;
}
.call-open-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 240, 255, 0.92);
  box-shadow: 0 0 22px rgba(53, 204, 255, 0.35);
}
.call-open-btn:hover::after {
  opacity: 1;
  animation: scanline 1.5s ease-in-out infinite;
}

.call-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(3, 10, 20, 0.72);
  backdrop-filter: blur(7px);
}
.call-modal-overlay[hidden] {
  display: none !important;
}
.call-modal {
  position: relative;
  width: min(520px, calc(100% - 26px));
  border-radius: 14px;
  border: 1px solid rgba(92, 197, 248, 0.42);
  padding: 18px;
  text-align: center;
  background:
    radial-gradient(80% 65% at 50% 0%, rgba(52, 204, 255, 0.18), rgba(8, 27, 50, 0)),
    linear-gradient(180deg, rgba(9, 29, 54, 0.97), rgba(5, 17, 34, 0.94));
}
.call-modal h3 {
  margin: 4px 0 8px;
  font-size: clamp(28px, 3.2vw, 42px);
}
.call-modal-number {
  margin: 0 0 12px;
  font-size: clamp(30px, 5.4vw, 56px);
  font-weight: 900;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: #29d0ff;
  text-shadow: 0 0 18px rgba(34, 208, 255, 0.4);
}
.call-modal-number a,
.call-modal-number a[x-apple-data-detectors],
.call-modal-number [x-apple-data-detectors] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none !important;
  border-bottom: 0 !important;
  font: inherit !important;
}
.call-modal .primary {
  min-height: 44px;
}
.call-modal-close {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(93, 186, 238, 0.5);
  background: rgba(7, 25, 46, 0.9);
  color: #dff2ff;
}

@media (max-width: 900px) {
  .tele-grid {
    grid-template-columns: 1fr;
  }
  .tarif-audience-grid {
    grid-template-columns: 1fr;
  }
  .tarif-card {
    padding: 12px;
  }
  .tarif-card-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .tarif-card-head h4 {
    font-size: clamp(22px, 8vw, 30px);
  }
  .tarif-table th,
  .tarif-table td {
    padding: 10px;
    font-size: 14px;
  }
  .tarif-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .tarif-cta-row .map-direct-btn,
  .tarif-cta-row .call-open-btn {
    width: 100%;
    justify-content: center;
  }
  .admin-assist-tools {
    width: 100%;
  }
  .admin-assist-tools input,
  .admin-assist-tools select,
  .admin-assist-tools button {
    width: 100%;
  }
  .call-modal {
    padding: 14px;
  }
  .call-modal h3 {
    font-size: clamp(24px, 7vw, 34px);
  }
}

@media (max-width: 640px) {
  .tarifs-block {
    padding-left: 12px;
    padding-right: 12px;
  }
  .tarif-card {
    padding: 10px;
  }
  .tarif-card-head {
    margin-bottom: 8px;
  }
  .tarif-card-head span {
    font-size: 12px;
  }
  .call-modal-overlay {
    padding: 10px;
    align-items: center;
    justify-items: center;
  }
  .call-modal {
    width: min(560px, 100%);
    max-width: 100%;
    padding: 16px 14px 14px;
    border-radius: 14px;
    border-color: rgba(108, 213, 255, 0.44);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  }
  .call-modal .kicker.left {
    text-align: center;
    display: block;
  }
  .call-modal h3 {
    margin-top: 2px;
    margin-bottom: 8px;
    font-size: clamp(21px, 7.2vw, 28px);
    line-height: 1.15;
  }
  .call-modal-number {
    font-size: clamp(29px, 9vw, 40px);
    line-height: 1.04;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
  }
  .call-modal .primary {
    width: 100%;
    min-height: 46px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
  }
  .call-modal-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .tarif-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }
  .tarif-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
  }
  .tarif-table thead {
    display: none;
  }
  .tarif-table tbody {
    display: grid;
    gap: 10px;
  }
  .tarif-table tbody tr {
    display: grid;
    gap: 0;
    border: 1px solid rgba(77, 171, 226, 0.28);
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 32, 58, 0.88), rgba(7, 24, 43, 0.82));
  }
  .tarif-table tbody td {
    display: grid;
    grid-template-columns: minmax(112px, 42%) 1fr;
    align-items: start;
    gap: 8px;
    padding: 9px 10px;
    border-bottom: 1px solid rgba(68, 151, 206, 0.18);
    font-size: 13px;
    line-height: 1.35;
    white-space: normal;
    word-break: break-word;
  }
  .tarif-table tbody td:last-child {
    border-bottom: 0;
  }
  .tarif-table tbody td::before {
    content: attr(data-label);
    color: #8fc0df;
    font-size: 11px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 700;
  }
  .tarif-table tbody td:first-child {
    width: auto;
    color: #ecf7ff;
  }
}

/* PRO page */
/* ═══════════════════════════════════════════════════════════════════
   PAGE PRO — refonte 2026-05-29
   ═══════════════════════════════════════════════════════════════════ */
.pro-page { min-height: 100vh; }

/* ── Hero ────────────────────────────────────────────────────────── */
.pro-hero {
  min-height: 480px;
  background:
    linear-gradient(108deg, rgba(2,10,23,0.95) 0%, rgba(2,10,23,0.78) 45%, rgba(2,10,23,0.92) 100%),
    radial-gradient(100% 70% at 8% 8%, rgba(44,205,255,0.18), transparent 58%),
    radial-gradient(80% 60% at 85% 80%, rgba(100,60,255,0.12), transparent 55%),
    url("./assets/hero-gaming-pc.jpg") center center/cover;
}
.pro-hero-content {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) clamp(16px, 2.6vw, 36px) clamp(28px, 4vw, 52px);
}
.pro-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(27,190,255,0.4);
  background: rgba(27,190,255,0.1);
  color: #7dd8ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.pro-hero-content h1 {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #eef6ff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  text-wrap: balance;
}
.pro-subtitle {
  margin: 14px 0 0;
  color: rgba(200,225,245,0.85);
  max-width: 58ch;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
}
.pro-hero-ctas {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
/* Stats clés dans le hero */
.pro-hero-stats {
  display: flex;
  gap: 0;
  margin-top: 28px;
  border: 1px solid rgba(27,190,255,0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  overflow: hidden;
  max-width: 520px;
}
.pro-hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(27,190,255,0.15);
  text-align: center;
}
.pro-hero-stat:last-child { border-right: none; }
.pro-hero-stat strong {
  display: block;
  color: #1bbeff;
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 800;
  line-height: 1;
}
.pro-hero-stat span {
  display: block;
  color: rgba(180,210,240,0.7);
  font-size: 11px;
  margin-top: 3px;
  line-height: 1.2;
}

/* ── Section titres globaux ──────────────────────────────────────── */
.pro-targets h2, .pro-services h2, .pro-process h2, .pro-why h2, .pro-cta h2 {
  margin: 0 0 16px;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.08;
  color: #eef6ff;
}

/* ── Pour qui ────────────────────────────────────────────────────── */
.pro-targets { text-align: center; }
.pro-targets > .kicker { margin-bottom: 8px; }
.pro-target-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 4px;
}
.pro-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(27,190,255,0.28);
  border-radius: 999px;
  background: rgba(8,30,58,0.7);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #c5e7ff;
  transition: transform 160ms, border-color 160ms, background 160ms;
  cursor: default;
}
.pro-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(27,190,255,0.6);
  background: rgba(27,190,255,0.12);
}

/* ── Services ────────────────────────────────────────────────────── */
.pro-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pro-service-card {
  border: 1px solid rgba(71,170,228,0.22);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(8,27,54,0.94), rgba(4,16,34,0.92));
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}
.pro-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27,190,255,0.5);
  box-shadow: 0 8px 24px rgba(0,150,255,0.12);
}
.pro-ico {
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}
.pro-service-card h3 {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #c5e7ff;
  line-height: 1.2;
}
.pro-service-card > p {
  margin: 0;
  color: #8db4ce;
  font-size: 13px;
  line-height: 1.5;
  flex: 1;
}
.pro-service-list {
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pro-service-list li {
  font-size: 12px;
  color: #7a9ab2;
  padding-left: 14px;
  position: relative;
}
.pro-service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #3ddc84;
  font-weight: 700;
  font-size: 11px;
}

/* ── Processus ───────────────────────────────────────────────────── */
.pro-process { text-align: center; }
.pro-process > .kicker { margin-bottom: 8px; }
.pro-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 16px;
  border: 1px solid rgba(27,190,255,0.2);
  border-radius: 14px;
  overflow: hidden;
}
.pro-process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 18px;
  border-right: 1px solid rgba(27,190,255,0.15);
  background: rgba(8,26,52,0.7);
  position: relative;
  text-align: left;
}
.pro-process-step:last-child { border-right: none; }
.pro-process-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27,190,255,0.3), rgba(27,190,255,0.15));
  border: 2px solid rgba(27,190,255,0.5);
  color: #1bbeff;
  font-size: 16px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pro-process-step strong {
  display: block;
  font-size: 14px;
  color: #c5e7ff;
  line-height: 1.3;
}
.pro-process-step p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #7a9ab2;
  line-height: 1.5;
}

/* ── Pourquoi nous ───────────────────────────────────────────────── */
.pro-why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.pro-why-card {
  border: 1px solid rgba(78,176,233,0.2);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(8,26,50,0.92), rgba(4,16,32,0.9));
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 160ms, box-shadow 160ms, transform 160ms;
}
.pro-why-card:hover {
  border-color: rgba(27,190,255,0.5);
  box-shadow: 0 6px 18px rgba(0,150,255,0.1);
  transform: translateY(-2px);
}
.pro-why-ico {
  font-size: 24px;
  line-height: 1;
  display: block;
}
.pro-why-card h3 {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 17px);
  color: #c5e7ff;
}
.pro-why-card p {
  margin: 0;
  color: #7a9ab2;
  font-size: 13px;
  line-height: 1.45;
}

/* ── CTA ─────────────────────────────────────────────────────────── */
.pro-cta-card {
  border-radius: 16px;
  padding: clamp(20px, 2.5vw, 32px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.pro-cta-card h2 { margin: 0 0 10px; color: #eef6ff; }
.pro-cta-card > .pro-cta-left > p {
  margin: 0;
  color: #8db4ce;
  line-height: 1.55;
  font-size: 15px;
}
.pro-cta-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.pro-cta-email {
  font-size: 13px;
  color: #7dd8ff;
  text-decoration: none;
}
.pro-cta-email:hover { color: #c5e7ff; text-decoration: underline; }
.pro-cta-right { flex-shrink: 0; }
.pro-cta-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(27,190,255,0.2);
  border-radius: 12px;
  background: rgba(8,26,52,0.6);
  min-width: 220px;
}
.pro-cta-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #9eb7ce;
}
.pro-cta-info-row span:first-child { font-size: 16px; flex-shrink: 0; }
.pro-cta-info-row a { color: #1bbeff; text-decoration: none; }
.pro-cta-info-row a:hover { color: #c5e7ff; }

/* ── Responsive ──────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pro-service-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-why-grid { grid-template-columns: repeat(3, 1fr); }
  .pro-process-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-process-step { border-right: 1px solid rgba(27,190,255,0.15); border-bottom: 1px solid rgba(27,190,255,0.1); }
  .pro-process-step:nth-child(2) { border-right: none; }
  .pro-process-step:nth-child(3) { border-bottom: none; border-right: 1px solid rgba(27,190,255,0.15); }
  .pro-process-step:last-child { border-right: none; border-bottom: none; }
}
@media (max-width: 720px) {
  .pro-service-grid { grid-template-columns: 1fr; }
  .pro-why-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-process-grid { grid-template-columns: 1fr; }
  .pro-process-step { border-right: none; border-bottom: 1px solid rgba(27,190,255,0.1); }
  .pro-process-step:last-child { border-bottom: none; }
  .pro-cta-card { grid-template-columns: 1fr; }
  .pro-cta-right { display: none; }
  .pro-hero-stats { max-width: 100%; }
}
@media (max-width: 540px) {
  .pro-why-grid { grid-template-columns: 1fr; }
  .pro-target-grid { gap: 8px; }
  .pro-chip { font-size: 13px; padding: 8px 14px; }
}

/* ── Light mode ──────────────────────────────────────────────────── */
html[data-theme="light"] .pro-hero {
  background:
    linear-gradient(108deg, rgba(250,252,255,0.96) 0%, rgba(235,247,255,0.82) 45%, rgba(215,238,255,0.5) 75%, rgba(200,230,252,0.3) 100%),
    url("./assets/hero-gaming-pc.jpg") center center/cover;
}
html[data-theme="light"] .pro-hero-badge {
  background: rgba(0,100,200,0.1);
  border-color: rgba(0,100,200,0.3);
  color: #0060b0;
}
html[data-theme="light"] .pro-hero-content h1 { color: #0c2440; text-shadow: none; }
html[data-theme="light"] .pro-subtitle { color: #3a5c7a; }
html[data-theme="light"] .pro-hero-stats {
  background: rgba(255,255,255,0.85);
  border-color: rgba(0,100,200,0.2);
  backdrop-filter: blur(6px);
}
html[data-theme="light"] .pro-hero-stat strong { color: #0060b0; }
html[data-theme="light"] .pro-hero-stat span { color: #4a6e8a; }
html[data-theme="light"] .pro-targets h2,
html[data-theme="light"] .pro-services h2,
html[data-theme="light"] .pro-process h2,
html[data-theme="light"] .pro-why h2,
html[data-theme="light"] .pro-cta h2 { color: #0c2440; }
html[data-theme="light"] .pro-chip {
  background: #fff;
  border-color: rgba(0,100,200,0.22);
  color: #0c2640;
  box-shadow: 0 2px 8px rgba(0,60,120,0.06);
}
html[data-theme="light"] .pro-chip:hover {
  background: rgba(0,100,200,0.06);
  border-color: rgba(0,100,200,0.5);
}
html[data-theme="light"] .pro-service-card {
  background: #fff;
  border-color: rgba(0,100,200,0.16);
  box-shadow: 0 2px 10px rgba(0,60,120,0.06);
}
html[data-theme="light"] .pro-service-card:hover {
  border-color: rgba(0,100,200,0.4);
  box-shadow: 0 8px 20px rgba(0,60,120,0.1);
}
html[data-theme="light"] .pro-service-card h3 { color: #0c2440; }
html[data-theme="light"] .pro-service-card > p { color: #3a5c7a; }
html[data-theme="light"] .pro-service-list li { color: #4a7090; }
html[data-theme="light"] .pro-service-list li::before { color: #1a8040; }
html[data-theme="light"] .pro-process-grid {
  background: #fff;
  border-color: rgba(0,100,200,0.18);
  box-shadow: 0 4px 16px rgba(0,60,120,0.07);
}
html[data-theme="light"] .pro-process-step {
  background: #fff;
  border-right-color: rgba(0,100,200,0.12);
  border-bottom-color: rgba(0,100,200,0.12);
}
html[data-theme="light"] .pro-process-num {
  background: rgba(0,100,200,0.12);
  border-color: rgba(0,100,200,0.4);
  color: #0060b0;
}
html[data-theme="light"] .pro-process-step strong { color: #0c2440; }
html[data-theme="light"] .pro-process-step p { color: #4a7090; }
html[data-theme="light"] .pro-why-card {
  background: #fff;
  border-color: rgba(0,100,200,0.14);
  box-shadow: 0 2px 8px rgba(0,60,120,0.05);
}
html[data-theme="light"] .pro-why-card:hover {
  border-color: rgba(0,100,200,0.4);
  box-shadow: 0 6px 16px rgba(0,60,120,0.1);
}
html[data-theme="light"] .pro-why-card h3 { color: #0c2440; }
html[data-theme="light"] .pro-why-card p { color: #3a5c7a; }
html[data-theme="light"] .pro-cta-card > .pro-cta-left > p { color: #3a5c7a; }
html[data-theme="light"] .pro-cta-email { color: #0060b0; }
html[data-theme="light"] .pro-cta-info {
  background: rgba(230,244,255,0.8);
  border-color: rgba(0,100,200,0.18);
}
html[data-theme="light"] .pro-cta-info-row { color: #3a5c7a; }
html[data-theme="light"] .pro-cta-info-row a { color: #0060b0; }

@media (max-width: 1180px) {
  .pro-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pro-why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .pro-target-grid,
  .pro-service-grid,
  .pro-why-grid {
    grid-template-columns: 1fr;
  }

  .pro-hero-content {
    padding-top: 26px;
  }
}

@media (max-width: 640px) {
  .pro-hero-content .kicker,
  .pro-hero-content h1,
  .pro-subtitle {
    text-align: left;
  }

  .pro-hero-ctas .primary,
  .pro-hero-ctas .secondary,
  .pro-cta-actions .primary,
  .pro-cta-actions .secondary {
    width: 100%;
  }

  .pro-intro h2,
  .pro-targets h2,
  .pro-services h2,
  .pro-why h2,
  .pro-cta h2 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .theme-toggle-btn {
    min-width: 42px;
    min-height: 40px;
    padding: 0 11px;
  }

  .theme-toggle-label {
    display: none;
  }
}

/* ===== Light Theme ===== */
html[data-theme="light"] {
  --bg-deep: #edf4fb;
  --line: rgba(32, 93, 152, 0.24);
  --line-soft: rgba(47, 111, 172, 0.14);
  --cyan: #007fd1;
  --text: #0d2b47;
  --muted: #4f6b84;
  --surface-0: #f2f7fc;
  --surface-1: #f9fcff;
  --surface-2: #eef5fd;
  --surface-3: #e7f0f9;
  --field-bg: #f8fbff;
  --field-border: rgba(46, 106, 165, 0.26);
  --focus-ring: rgba(0, 122, 204, 0.42);
}

html[data-theme="light"] body {
  background: linear-gradient(180deg, #eef4fb 0%, #f8fbff 100%);
  color: var(--text);
}

html[data-theme="light"] .page-shell {
  background: linear-gradient(180deg, #f4f8fd 0%, #f8fbff 100%);
}

html[data-theme="light"] .hero,
html[data-theme="light"] .hero-store,
html[data-theme="light"] .catalog-hero,
html[data-theme="light"] .tarifs-hero,
html[data-theme="light"] .pro-hero {
  border-bottom-color: rgba(44, 102, 158, 0.2);
}

html[data-theme="light"] .topbar {
  background: rgba(247, 251, 255, 0.9);
  border-bottom-color: rgba(42, 104, 162, 0.2);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .menu a,
html[data-theme="light"] .menu-dropdown-btn {
  color: #1e3f5f;
}

html[data-theme="light"] .menu a.active,
html[data-theme="light"] .menu-dropdown-btn.active,
html[data-theme="light"] .menu-dropdown:hover .menu-dropdown-btn,
html[data-theme="light"] .menu-dropdown-btn:focus-visible {
  color: #007ed1;
  border-bottom-color: #1a9ef1;
}

html[data-theme="light"] .menu-dropdown-panel {
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.99), rgba(241, 247, 254, 0.99));
  border-color: rgba(57, 123, 186, 0.28);
  box-shadow: 0 14px 32px rgba(12, 47, 81, 0.12);
}

html[data-theme="light"] .menu-dropdown-panel a {
  color: #274f70;
}

html[data-theme="light"] .menu-dropdown-panel a:hover {
  color: #066fb8;
  background: rgba(24, 149, 231, 0.12);
}

html[data-theme="light"] .menu {
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(239, 247, 254, 0.99));
  border-color: rgba(58, 126, 186, 0.28);
  box-shadow: 0 12px 28px rgba(22, 72, 114, 0.18);
}

html[data-theme="light"] .menu > a,
html[data-theme="light"] .menu-dropdown-btn {
  background: rgba(242, 248, 255, 0.9);
  border-color: rgba(65, 132, 190, 0.24);
  color: #1d4467;
}

html[data-theme="light"] .menu > a.active,
html[data-theme="light"] .menu-dropdown-btn.active,
html[data-theme="light"] .menu > a:hover,
html[data-theme="light"] .menu-dropdown-btn:hover {
  background: linear-gradient(180deg, rgba(56, 184, 255, 0.24), rgba(30, 116, 182, 0.2));
  border-color: rgba(37, 129, 199, 0.44);
  color: #0d3f61;
}

html[data-theme="light"] .menu-dropdown.open .menu-dropdown-panel {
  border-color: rgba(65, 130, 188, 0.26);
  background: rgba(237, 246, 253, 0.94);
}

html[data-theme="light"] .menu-dropdown-panel a {
  color: #2d5678;
}

html[data-theme="light"] .mini {
  border-color: rgba(50, 119, 182, 0.28);
  background: rgba(241, 248, 255, 0.9);
  color: #1d3e5f;
}

html[data-theme="light"] .theme-toggle-btn {
  border-color: rgba(43, 109, 169, 0.32);
  background: rgba(241, 248, 255, 0.96);
  color: #1f4161;
}

html[data-theme="light"] .theme-toggle-btn:hover {
  border-color: rgba(24, 121, 194, 0.52);
  box-shadow: 0 0 16px rgba(58, 149, 215, 0.2);
}

html[data-theme="light"] .glass {
  background: rgba(255,255,255,0.92);
  border-color: rgba(10,100,180,0.14);
  box-shadow: 0 4px 18px rgba(10,60,120,0.08), 0 1px 4px rgba(10,60,120,0.05);
  backdrop-filter: blur(8px);
}
html[data-theme="light"] .catalog-card-body { background: transparent; }
html[data-theme="light"] .catalog-price-now { color: #0060b0; }
html[data-theme="light"] .catalog-price-old { color: #8090a0; }
html[data-theme="light"] .catalog-title { color: #0a2040; }
html[data-theme="light"] .catalog-link:hover { color: #0060b0; }
html[data-theme="light"] .catalog-desc { color: #4a6080; }
html[data-theme="light"] .catalog-cta { border-color: rgba(12,100,175,0.35); background: rgba(10,80,140,0.06); color: #0060b0; }
html[data-theme="light"] .catalog-cta:hover { background: rgba(10,80,140,0.14); border-color: rgba(12,100,175,0.65); color: #003d80; }
html[data-theme="light"] .catalog-pay4x { color: #1a8040; }
html[data-theme="light"] .catalog-price-row { border-top-color: rgba(0,0,0,0.08); }
html[data-theme="light"] .catalog-assurance,
html[data-theme="light"] .tarif-card,
html[data-theme="light"] .tarif-note,
html[data-theme="light"] .tarif-audience-card,
html[data-theme="light"] .tele-info-card,
html[data-theme="light"] .tele-pay-card,
html[data-theme="light"] .tele-rustdesk-card,
html[data-theme="light"] .pro-chip,
html[data-theme="light"] .pro-service-card,
html[data-theme="light"] .pro-why-card,
html[data-theme="light"] .admin-sidebar,
html[data-theme="light"] .admin-main,
html[data-theme="light"] .admin-form-wrap,
html[data-theme="light"] .admin-table-wrap,
html[data-theme="light"] .admin-stat-card,
html[data-theme="light"] .admin-settings-card,
html[data-theme="light"] .admin-login-card,
html[data-theme="light"] .admin-modal,
html[data-theme="light"] .call-modal {
  border-color: rgba(54, 120, 181, 0.24) !important;
  background:
    radial-gradient(90% 70% at 12% 0%, rgba(31, 163, 237, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, rgba(251, 254, 255, 0.98), rgba(239, 246, 253, 0.98)) !important;
  box-shadow: 0 10px 24px rgba(20, 68, 109, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

html[data-theme="light"] .hero-card h2,
html[data-theme="light"] .section-title h3,
html[data-theme="light"] .news-card h4,
html[data-theme="light"] .catalog-card h4,
html[data-theme="light"] .catalog-link,
html[data-theme="light"] .admin-header h2,
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .pro-intro h2,
html[data-theme="light"] .pro-targets h2,
html[data-theme="light"] .pro-services h2,
html[data-theme="light"] .pro-why h2,
html[data-theme="light"] .pro-cta h2 {
  color: #0f304f;
}

html[data-theme="light"] .hero-card p,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .offer-meta p,
html[data-theme="light"] .news-card p,
html[data-theme="light"] .catalog-card p,
html[data-theme="light"] .tarif-note p,
html[data-theme="light"] .tele-info-card p,
html[data-theme="light"] .tele-pay-card p,
html[data-theme="light"] .pro-service-card p,
html[data-theme="light"] .pro-why-card p,
html[data-theme="light"] .admin-muted {
  color: #46657f !important;
}

html[data-theme="light"] .kicker,
html[data-theme="light"] .section-title .kicker,
html[data-theme="light"] .news-heading .kicker {
  color: #0b8ad9 !important;
}

html[data-theme="light"] .primary {
  background: linear-gradient(180deg, #35c5ff, #1f98e6);
  border-color: rgba(18, 126, 197, 0.42);
  color: #03243d;
}
html[data-theme="light"] .quote {
  background: rgba(10, 80, 140, 0.09);
  border-color: rgba(12, 100, 175, 0.45);
  color: #0a5ca0;
}
html[data-theme="light"] .quote:hover,
html[data-theme="light"] .quote:focus-visible {
  background: rgba(10, 80, 140, 0.16);
  border-color: rgba(12, 100, 175, 0.75);
  color: #083e72;
  box-shadow: 0 0 0 2px rgba(12, 100, 175, 0.12), 0 3px 10px rgba(10, 80, 140, 0.14);
}

html[data-theme="light"] .secondary {
  background: linear-gradient(180deg, #ffffff, #edf5fd);
  border-color: rgba(39, 109, 172, 0.4);
  color: #164264;
}

html[data-theme="light"] .secondary:hover,
html[data-theme="light"] .primary:hover,
html[data-theme="light"] .quote:hover {
  box-shadow: 0 0 0 3px rgba(38, 147, 219, 0.14), 0 8px 18px rgba(21, 84, 132, 0.14);
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .admin-table-head input,
html[data-theme="light"] .tele-pay-form input,
html[data-theme="light"] .tele-code-input-wrap,
html[data-theme="light"] .admin-assist-tools input,
html[data-theme="light"] .admin-assist-tools select {
  background: var(--field-bg) !important;
  color: #103352 !important;
  border-color: var(--field-border) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #6c8ca9;
}

html[data-theme="light"] .tele-code-prefix {
  color: #0e7dc7;
  border-right-color: rgba(46, 106, 165, 0.24);
  background: rgba(230, 241, 252, 0.9);
}

html[data-theme="light"] .admin-nav button,
html[data-theme="light"] .admin-logout,
html[data-theme="light"] .menu.open,
html[data-theme="light"] .menu > a,
html[data-theme="light"] .menu-dropdown-btn {
  border-color: rgba(56, 121, 179, 0.25);
}

html[data-theme="light"] .admin-nav button {
  background: rgba(245, 250, 255, 0.9);
  color: #214667;
}

html[data-theme="light"] .admin-nav button.active,
html[data-theme="light"] .admin-nav button:hover {
  background: linear-gradient(180deg, rgba(62, 185, 255, 0.24), rgba(31, 126, 196, 0.18));
  color: #0b3f64;
}

html[data-theme="light"] .admin-table,
html[data-theme="light"] .admin-table th,
html[data-theme="light"] .admin-table td,
html[data-theme="light"] .tarif-table,
html[data-theme="light"] .tarif-table th,
html[data-theme="light"] .tarif-table td {
  border-color: rgba(66, 129, 186, 0.22);
}

html[data-theme="light"] .admin-table th,
html[data-theme="light"] .tarif-table th {
  background: rgba(225, 238, 251, 0.8);
  color: #1b4568;
}

html[data-theme="light"] .admin-table td,
html[data-theme="light"] .tarif-table td {
  color: #234662;
}

html[data-theme="light"] .admin-table tr:hover td,
html[data-theme="light"] .tarif-table tbody tr:hover td {
  background: rgba(197, 223, 247, 0.34);
}

html[data-theme="light"] .admin-switch span {
  background: rgba(185, 208, 228, 0.74);
  border-color: rgba(79, 136, 185, 0.32);
}

html[data-theme="light"] .admin-switch span::after {
  background: #ffffff;
}

html[data-theme="light"] .admin-switch input:checked + span {
  background: linear-gradient(90deg, #36c7ff, #188edf);
}

html[data-theme="light"] .admin-status.on {
  background: rgba(49, 186, 118, 0.2);
  color: #0f7c42;
}

html[data-theme="light"] .admin-status.off {
  background: rgba(215, 93, 106, 0.2);
  color: #9f2e3c;
}

html[data-theme="light"] .admin-status.wait {
  background: rgba(228, 164, 63, 0.22);
  color: #935f0d;
}

html[data-theme="light"] .catalog-image,
html[data-theme="light"] .offer-card img {
  background: rgba(236, 245, 252, 0.9);
}

html[data-theme="light"] .catalog-state,
html[data-theme="light"] .offer-card .state {
  color: #1f6f43;
}

html[data-theme="light"] .catalog-discount-pill,
html[data-theme="light"] .tag.promo,
html[data-theme="light"] .tag.offre,
html[data-theme="light"] .news-badge.offer,
html[data-theme="light"] .news-badge.exceptional {
  color: #ffffff;
  box-shadow: none;
}

html[data-theme="light"] .call-modal-overlay,
html[data-theme="light"] .admin-modal-overlay {
  background: rgba(222, 236, 248, 0.68);
}

html[data-theme="light"] .tele-toast,
html[data-theme="light"] .admin-toast {
  background: linear-gradient(180deg, rgba(250, 253, 255, 0.98), rgba(236, 245, 253, 0.98));
  color: #173f61;
  border-color: rgba(56, 122, 181, 0.28);
}

html[data-theme="light"] .tele-status {
  background: rgba(239, 247, 255, 0.9);
  color: #214665;
}

html[data-theme="light"] .tele-status.ok {
  border-color: rgba(46, 180, 111, 0.4);
}

html[data-theme="light"] .tele-status.error {
  border-color: rgba(215, 90, 103, 0.45);
}

html[data-theme="light"] .tele-status.warn {
  border-color: rgba(217, 165, 67, 0.45);
}

/* ===== Light Theme (Design pass v2) ===== */
html[data-theme="light"] .topbar {
  background: linear-gradient(180deg, rgba(247, 251, 255, 0.96), rgba(235, 244, 252, 0.94));
  border-bottom-color: rgba(48, 109, 166, 0.24);
  box-shadow: 0 8px 22px rgba(28, 83, 133, 0.12);
}

html[data-theme="light"] .logo {
  filter: none;
}

html[data-theme="light"] .right-actions {
  gap: 10px;
}

html[data-theme="light"] .mini {
  color: #1e4567;
  border-color: rgba(45, 109, 168, 0.34);
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(229, 241, 252, 0.95));
}

html[data-theme="light"] .mini:hover {
  border-color: rgba(20, 117, 188, 0.58);
  box-shadow: 0 0 0 3px rgba(38, 147, 219, 0.14), 0 8px 18px rgba(21, 84, 132, 0.14);
}

@media (min-width: 981px) {
  html[data-theme="light"] .menu {
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 18px;
  }

  html[data-theme="light"] .menu > a,
  html[data-theme="light"] .menu-dropdown-btn {
    background: transparent;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: 8px 0;
    color: #214767;
  }

  html[data-theme="light"] .menu > a:hover,
  html[data-theme="light"] .menu-dropdown-btn:hover {
    color: #0f6fb3;
    border-bottom-color: rgba(22, 137, 214, 0.5);
  }

  html[data-theme="light"] .menu > a.active,
  html[data-theme="light"] .menu-dropdown-btn.active {
    color: #0d6aad;
    border-bottom-color: #1a9ef1;
  }
}

/* ══════════════════════════════════════════════════════════════════
   LIGHT MODE — HERO ACCUEIL — refonte complète
   ══════════════════════════════════════════════════════════════════ */

/* Fond hero : plus lumineux, dégradé vers le blanc à gauche */
html[data-theme="light"] .hero {
  background:
    linear-gradient(105deg,
      rgba(255,255,255,0.97) 0%,
      rgba(240,249,255,0.88) 32%,
      rgba(220,239,255,0.55) 55%,
      rgba(200,228,250,0.35) 72%,
      rgba(185,218,245,0.28) 100%),
    radial-gradient(100% 75% at 0% 15%, rgba(100,180,255,0.14), transparent 55%),
    url("./assets/hero-gaming-pc.jpg") center center/cover;
}

/* Carte hero principale */
html[data-theme="light"] .hero-card {
  border-color: rgba(10,100,180,0.14);
  background: rgba(255,255,255,0.92);
  box-shadow: 0 20px 50px rgba(10,60,120,0.12), 0 2px 8px rgba(10,60,120,0.06);
  backdrop-filter: blur(12px);
}

html[data-theme="light"] .hero-card h1,
html[data-theme="light"] .hero-card h2 {
  color: #0c2a45;
  text-shadow: none;
}

html[data-theme="light"] .hero-card > p {
  color: #3a5570;
}

/* Logo MSI dans le hero */
html[data-theme="light"] .hero-brand-logo,
html[data-theme="light"] .hero-brand-logo-full {
  filter: none;
}

/* Pills — fond clair avec icônes colorées */
html[data-theme="light"] .pills {
  border-color: rgba(10,100,180,0.16);
  background: linear-gradient(135deg, rgba(235,247,255,0.95), rgba(218,239,254,0.92));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
html[data-theme="light"] .pill-item + .pill-item {
  border-left-color: rgba(10,100,180,0.14);
}
html[data-theme="light"] .pills strong {
  color: #0d2d48;
  font-weight: 700;
}
html[data-theme="light"] .pills small {
  color: #4a6e8a;
}
html[data-theme="light"] .pill-ico {
  color: #0080d0;
  text-shadow: none;
  filter: none;
}

/* CTA row */
html[data-theme="light"] .cta-row .secondary {
  border-color: rgba(10,100,180,0.3);
  background: rgba(255,255,255,0.85);
  color: #0a5ca0;
}
html[data-theme="light"] .cta-row .secondary:hover {
  border-color: rgba(10,100,180,0.6);
  background: rgba(235,247,255,0.95);
  color: #083e72;
}

/* Diag "Nous contacter" */
html[data-theme="light"] .diag {
  border-color: rgba(10,100,180,0.18);
  background: rgba(255,255,255,0.94);
  box-shadow: 0 16px 36px rgba(10,60,120,0.1), 0 2px 6px rgba(10,60,120,0.06);
  backdrop-filter: blur(10px);
}
html[data-theme="light"] .diag strong {
  color: #0c2a45;
}
html[data-theme="light"] .diag small {
  color: #4a6e8a;
}
html[data-theme="light"] .diag-call-btn {
  background: linear-gradient(135deg, #0080d0, #005fb0);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,100,200,0.3);
}
html[data-theme="light"] .diag-call-btn:hover {
  background: linear-gradient(135deg, #0090e8, #0070c8);
}

/* Hours dropdown */
html[data-theme="light"] .hours-toggle {
  border-color: rgba(10,100,180,0.2);
  background: linear-gradient(180deg, rgba(245,251,255,0.99), rgba(228,243,253,0.98));
  color: #0c2d4a;
}
html[data-theme="light"] .hours-label { color: #3a6080; }
html[data-theme="light"] .hours-today-line { color: #0c2a45; }
html[data-theme="light"] .hours-live-state.is-open { color: #0a8a50; }
html[data-theme="light"] .hours-live-state.is-closed { color: #c0203a; }
html[data-theme="light"] .hours-chevron { color: #0080c8; }
html[data-theme="light"] .hours-panel {
  border-color: rgba(10,100,180,0.18);
  background: rgba(250,254,255,0.99);
  box-shadow: 0 12px 24px rgba(10,60,120,0.12);
}
html[data-theme="light"] .hours-row { color: #274d6a; }
html[data-theme="light"] .hours-time { color: #4a7090; }
html[data-theme="light"] .hours-row.is-today {
  background: rgba(0,130,220,0.08);
  border-color: rgba(0,130,220,0.25);
  color: #0c3560;
}
html[data-theme="light"] .hours-row.is-today .hours-time { color: #0a3260; }
html[data-theme="light"] .hours-note {
  border-top-color: rgba(10,100,180,0.14);
  color: #8a6000;
}

html[data-theme="light"] .hours-toggle {
  border-color: rgba(48, 114, 172, 0.36);
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.98), rgba(233, 243, 252, 0.97));
  color: #193f60;
}

html[data-theme="light"] .hours-label {
  color: #3f6b8d;
}

html[data-theme="light"] .hours-today-line {
  color: #123b5d;
}

html[data-theme="light"] .hours-live-state.is-open {
  color: #0a9f5f;
}

html[data-theme="light"] .hours-live-state.is-closed {
  color: #bd3448;
}

html[data-theme="light"] .hours-chevron {
  color: #1d87ce;
}

html[data-theme="light"] .hours-panel {
  border-color: rgba(56, 122, 183, 0.28);
  background: linear-gradient(180deg, rgba(250, 254, 255, 0.99), rgba(238, 247, 253, 0.98));
  box-shadow: 0 10px 20px rgba(17, 69, 109, 0.14);
}

html[data-theme="light"] .hours-row {
  color: #315676;
}

html[data-theme="light"] .hours-time {
  color: #567592;
}

html[data-theme="light"] .hours-row.is-today {
  background: rgba(49, 164, 233, 0.13);
  border-color: rgba(37, 132, 194, 0.32);
  color: #123f63;
}

html[data-theme="light"] .hours-row.is-today .hours-time {
  color: #0f3d62;
}

html[data-theme="light"] .hours-note {
  border-top-color: rgba(59, 130, 187, 0.24);
  color: #a77400;
}

/* ── Sections / Blocs ───────────────────────────────────────────── */
html[data-theme="light"] body,
html[data-theme="light"] .page-shell {
  background: #f0f7ff;
}
html[data-theme="light"] .block {
  background: #f0f7ff;
  border-color: rgba(10,100,180,0.1);
}
/* Alternance légère entre blocs */
html[data-theme="light"] .block:nth-child(even) {
  background: #e8f3fd;
}

html[data-theme="light"] .section-title h3,
html[data-theme="light"] .block h3,
html[data-theme="light"] .head h3 {
  color: #0c2640;
}
html[data-theme="light"] .kicker {
  color: #0060b0;
  opacity: 1;
}
html[data-theme="light"] .head > a {
  color: #0070c8;
}
html[data-theme="light"] .head > a:hover { color: #004e9a; }

html[data-theme="light"] .service-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .catalog-card {
  border-color: rgba(10,100,180,0.16) !important;
  background: #ffffff !important;
  box-shadow: 0 2px 12px rgba(10,60,120,0.07), 0 1px 3px rgba(10,60,120,0.05) !important;
}
html[data-theme="light"] .service-card:hover,
html[data-theme="light"] .offer-card:hover,
html[data-theme="light"] .catalog-card:hover {
  border-color: rgba(10,100,180,0.4) !important;
  box-shadow: 0 8px 24px rgba(10,60,120,0.14), 0 2px 6px rgba(10,60,120,0.08) !important;
  transform: translateY(-3px) !important;
}

html[data-theme="light"] .service-card .icon,
html[data-theme="light"] .catalog-image {
  background: linear-gradient(180deg, rgba(230,244,255,0.8), rgba(215,236,252,0.6));
}

/* Light mode: remove icon square backgrounds (requested) */
html[data-theme="light"] .service-card .icon {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-theme="light"] .service-card h4,
html[data-theme="light"] .offer-card h4,
html[data-theme="light"] .news-card h4,
html[data-theme="light"] .catalog-card h4,
html[data-theme="light"] .catalog-title {
  color: #0c2640;
}
html[data-theme="light"] .service-card p,
html[data-theme="light"] .offer-card p,
html[data-theme="light"] .news-card p,
html[data-theme="light"] .catalog-card p,
html[data-theme="light"] .catalog-desc {
  color: #3a5c7a !important;
}
html[data-theme="light"] .offer-card .tag { filter: saturate(0.8) brightness(1.1); }

html[data-theme="light"] .service-card a,
html[data-theme="light"] .news-link,
html[data-theme="light"] .head > a {
  color: #0a84d4;
}

html[data-theme="light"] .service-card a:hover,
html[data-theme="light"] .news-link:hover,
html[data-theme="light"] .head > a:hover {
  color: #066cae;
}

html[data-theme="light"] .offer-card .now,
html[data-theme="light"] .catalog-price .now {
  color: #0082d4;
}

/* light quote rules merged above */

html[data-theme="light"] .secondary {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.76);
}

@media (max-width: 980px) {
  html[data-theme="light"] .menu {
    background: linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(239, 247, 254, 0.99));
    border-color: rgba(58, 126, 186, 0.28);
    box-shadow: 0 14px 30px rgba(16, 63, 103, 0.18);
  }

  html[data-theme="light"] .menu-dropdown.open .menu-dropdown-panel {
    background: rgba(236, 246, 254, 0.96);
  }

  html[data-theme="light"] .menu-toggle,
  html[data-theme="light"] .theme-toggle-mobile {
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(232, 243, 253, 0.95));
    border-color: rgba(47, 114, 175, 0.34);
    color: #1f4566;
  }
}

/* ===== Light Theme (Global polish v3) ===== */
html[data-theme="light"] .block,
html[data-theme="light"] .trust,
html[data-theme="light"] .contact,
html[data-theme="light"] .quali-footer {
  border-color: rgba(56, 122, 182, 0.2);
}

html[data-theme="light"] .head > a,
html[data-theme="light"] .news-link,
html[data-theme="light"] .service-card a {
  font-weight: 800;
  letter-spacing: 0.01em;
}

html[data-theme="light"] .service-card {
  box-shadow: 0 10px 24px rgba(19, 72, 115, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

html[data-theme="light"] .service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(35, 127, 196, 0.35) !important;
  box-shadow: 0 16px 34px rgba(22, 86, 136, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .service-card .icon svg {
  color: #10a3ea;
}

html[data-theme="light"] .offer-card:hover,
html[data-theme="light"] .news-card:hover,
html[data-theme="light"] .catalog-card:hover {
  border-color: rgba(31, 120, 188, 0.34) !important;
  box-shadow: 0 16px 34px rgba(23, 82, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

/* ── Trust bar ──────────────────────────────────────────────────── */
html[data-theme="light"] .trust {
  background: #fff;
  border-top: 1px solid rgba(10,100,180,0.1);
  border-bottom: 1px solid rgba(10,100,180,0.1);
}
html[data-theme="light"] .trust strong { color: #0c2640; }
html[data-theme="light"] .trust small { color: #4a6e8a; }

html[data-theme="light"] .left-card,
html[data-theme="light"] .map,
html[data-theme="light"] .access {
  border-color: rgba(56, 122, 182, 0.24);
}

html[data-theme="light"] .left-card {
  background: #ffffff;
  border-color: rgba(10,100,180,0.14);
  box-shadow: 0 4px 16px rgba(10,60,120,0.08);
}
html[data-theme="light"] .left-card h3 { color: #0c2640; }
html[data-theme="light"] .left-card p,
html[data-theme="light"] .left-card li { color: #3a5570; }
html[data-theme="light"] .left-card a { color: #0060b0; }

html[data-theme="light"] .map {
  background: #dce8f3;
}

html[data-theme="light"] .map-frame {
  filter: saturate(1) contrast(1) brightness(1) hue-rotate(0deg);
}

html[data-theme="light"] .access {
  background: linear-gradient(180deg, rgba(250, 253, 255, 0.96), rgba(236, 245, 252, 0.96));
}

html[data-theme="light"] .access strong {
  color: #1178be;
}

html[data-theme="light"] .access small {
  color: #54718a;
}

html[data-theme="light"] .quali-footer {
  background: #e4f1fb;
  border-top: 1px solid rgba(10,100,180,0.12);
}
html[data-theme="light"] .quali-footer p { color: #3a5c7a; }

html[data-theme="light"] .admin-shell {
  background: linear-gradient(180deg, rgba(240, 247, 254, 0.98), rgba(231, 242, 252, 0.98));
}

html[data-theme="light"] .admin-logo img {
  filter: drop-shadow(0 1px 8px rgba(0, 80, 160, 0.22));
}

html[data-theme="light"] .admin-table-head input {
  background: linear-gradient(180deg, #fbfdff, #eff5fc) !important;
}

html[data-theme="light"] .admin-icon-btn {
  border-color: rgba(53, 122, 184, 0.3);
  color: #204567;
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(233, 243, 252, 0.95));
}

html[data-theme="light"] .admin-icon-btn:hover {
  border-color: rgba(25, 120, 192, 0.56);
  box-shadow: 0 0 0 3px rgba(38, 147, 219, 0.14), 0 8px 16px rgba(19, 79, 125, 0.12);
}

html[data-theme="light"] .call-modal-number {
  color: #0a84d4;
  text-shadow: 0 0 14px rgba(58, 170, 240, 0.32);
}

html[data-theme="light"] .tele-info-card li,
html[data-theme="light"] .tele-pay-card p,
html[data-theme="light"] .tele-rustdesk-card p,
html[data-theme="light"] .tarif-audience-card li,
html[data-theme="light"] .tarif-audience-card p {
  color: #4b6883;
}

html[data-theme="light"] .tele-info-card h4,
html[data-theme="light"] .tele-pay-card h4,
html[data-theme="light"] .tele-rustdesk-head h4,
html[data-theme="light"] .tarif-card-head h4,
html[data-theme="light"] .tarif-audience-card h4 {
  color: #163d5f;
}

html[data-theme="light"] .tele-rustdesk-label,
html[data-theme="light"] .tele-paypal-note {
  color: #5c7891;
}

@media (max-width: 1180px) {
  html[data-theme="light"] .hero-card {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  html[data-theme="light"] .topbar {
    box-shadow: 0 8px 18px rgba(25, 82, 130, 0.14);
  }

  html[data-theme="light"] .menu > a,
  html[data-theme="light"] .menu-dropdown-btn {
    color: #1e4465;
  }

  html[data-theme="light"] .menu-dropdown-panel a {
    color: #285375;
  }

  html[data-theme="light"] .hero {
    background-position: 68% center;
  }

  html[data-theme="light"] .hero-card {
    border-radius: 16px;
  }

  html[data-theme="light"] .pills {
    background: linear-gradient(180deg, rgba(70, 96, 128, 0.9), rgba(84, 110, 142, 0.92));
  }
}

@media (max-width: 640px) {
  html[data-theme="light"] .page-shell {
    background: linear-gradient(180deg, #f6faff 0%, #eef6fd 100%);
  }

  html[data-theme="light"] .menu {
    border-radius: 14px;
  }

  html[data-theme="light"] .theme-toggle-mobile {
    box-shadow: 0 4px 10px rgba(26, 86, 133, 0.13);
  }

  html[data-theme="light"] .hero-card h1,
  html[data-theme="light"] .hero-card h2 {
    color: #173d5f;
  }

  html[data-theme="light"] .hero-card p {
    color: #476680;
  }

  html[data-theme="light"] .service-card h4,
  html[data-theme="light"] .service-card p {
    text-align: center;
  }

  html[data-theme="light"] .left-card,
  html[data-theme="light"] .map,
  html[data-theme="light"] .access {
    border-color: rgba(59, 127, 186, 0.24);
  }
}

/* ===== Light Theme Header Fixes (final override) ===== */
html[data-theme="light"] .topbar {
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(240, 247, 254, 0.95)) !important;
}

/* Keep menu clean in light mode: no boxed buttons around each item */
html[data-theme="light"] .menu > a,
html[data-theme="light"] .menu-dropdown-btn {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html[data-theme="light"] .menu > a:hover,
html[data-theme="light"] .menu-dropdown-btn:hover,
html[data-theme="light"] .menu > a.active,
html[data-theme="light"] .menu-dropdown-btn.active,
html[data-theme="light"] .menu-dropdown:hover .menu-dropdown-btn,
html[data-theme="light"] .menu-dropdown-btn:focus-visible {
  background: transparent !important;
  color: #0f6fb3 !important;
  border-bottom-color: #1a9ef1 !important;
}

/* Theme switch must always show text label */
html[data-theme="light"] .theme-toggle-btn,
html[data-theme="dark"] .theme-toggle-btn {
  min-width: 132px;
}

html[data-theme="light"] .theme-toggle-label,
html[data-theme="dark"] .theme-toggle-label {
  display: inline !important;
  white-space: nowrap;
}

/* Mobile: keep text visible, without overflowing the header */
@media (max-width: 640px) {
  html[data-theme="light"] .theme-toggle-btn,
  html[data-theme="dark"] .theme-toggle-btn {
    min-width: 114px;
    min-height: 38px;
    padding: 0 10px;
    gap: 6px;
  }

  html[data-theme="light"] .theme-toggle-label,
  html[data-theme="dark"] .theme-toggle-label {
    display: inline !important;
    font-size: 11px;
  }
}

/* ===== Light Mode Cross-page hardening (v4) ===== */
html[data-theme="light"] .menu,
html[data-theme="light"] .menu.open {
  color: #1e4669;
}

html[data-theme="light"] .menu-dropdown-panel {
  color: #244d70;
}

html[data-theme="light"] .menu-dropdown-panel a {
  color: #245072 !important;
}

html[data-theme="light"] .menu-dropdown-panel a:hover,
html[data-theme="light"] .menu-dropdown-panel a:focus-visible {
  color: #0d6fb2 !important;
  background: rgba(24, 149, 231, 0.12) !important;
}

html[data-theme="light"] .theme-toggle-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-color: rgba(44, 114, 175, 0.36) !important;
  background: linear-gradient(180deg, rgba(247, 252, 255, 0.98), rgba(233, 244, 253, 0.96)) !important;
  color: #163d5f !important;
  box-shadow: 0 4px 12px rgba(20, 85, 133, 0.12);
}

html[data-theme="dark"] .theme-toggle-btn {
  display: inline-flex !important;
}

html[data-theme="light"] .theme-toggle-label,
html[data-theme="dark"] .theme-toggle-label {
  display: inline !important;
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-theme="light"] .theme-toggle-icon,
html[data-theme="dark"] .theme-toggle-icon {
  opacity: 1 !important;
}

html[data-theme="light"] .hero-card,
html[data-theme="light"] .block,
html[data-theme="light"] .service-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .catalog-card,
html[data-theme="light"] .tarif-card,
html[data-theme="light"] .tele-info-card,
html[data-theme="light"] .tele-pay-card,
html[data-theme="light"] .tele-rustdesk-card,
html[data-theme="light"] .admin-form-wrap,
html[data-theme="light"] .admin-table-wrap,
html[data-theme="light"] .admin-modal,
html[data-theme="light"] .call-modal {
  color: #183f61;
}

html[data-theme="light"] .hero-card p,
html[data-theme="light"] .block p,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .offer-card p,
html[data-theme="light"] .news-card p,
html[data-theme="light"] .catalog-card p,
html[data-theme="light"] .tarif-card p,
html[data-theme="light"] .tele-info-card p,
html[data-theme="light"] .tele-pay-card p,
html[data-theme="light"] .tele-rustdesk-card p,
html[data-theme="light"] .admin-muted,
html[data-theme="light"] .muted {
  color: #4f6b84 !important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select {
  color: #1d4568;
  background: #f8fcff;
  border-color: rgba(46, 106, 165, 0.3);
}

html[data-theme="light"] input:focus,
html[data-theme="light"] textarea:focus,
html[data-theme="light"] select:focus {
  border-color: #2998dd;
  box-shadow: 0 0 0 3px rgba(41, 152, 221, 0.18);
}

@media (max-width: 980px) {
  html[data-theme="light"] .menu {
    background: linear-gradient(180deg, rgba(250, 254, 255, 0.995), rgba(238, 247, 254, 0.995)) !important;
    border-color: rgba(59, 127, 186, 0.3) !important;
    box-shadow: 0 14px 30px rgba(16, 63, 103, 0.16) !important;
  }

  html[data-theme="light"] .menu > a,
  html[data-theme="light"] .menu-dropdown-btn {
    color: #1f4668 !important;
  }

  html[data-theme="light"] .menu-dropdown.open .menu-dropdown-panel {
    background: rgba(239, 248, 255, 0.96) !important;
    border-color: rgba(65, 130, 188, 0.3) !important;
  }

  html[data-theme="light"] .menu-toggle,
  html[data-theme="light"] .theme-toggle-mobile {
    color: #1d4668 !important;
    border-color: rgba(47, 114, 175, 0.34) !important;
    background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(232, 243, 253, 0.95)) !important;
  }
}

@media (max-width: 640px) {
  html[data-theme="light"] .theme-toggle-mobile-wrap {
    margin-left: 6px;
    max-width: calc(100vw - 200px);
    overflow: hidden;
  }

  html[data-theme="light"] .theme-toggle-btn,
  html[data-theme="dark"] .theme-toggle-btn {
    min-width: 104px;
    max-width: 100%;
    padding: 0 8px;
    gap: 5px;
  }

  html[data-theme="light"] .theme-toggle-label,
  html[data-theme="dark"] .theme-toggle-label {
    font-size: 10px;
    line-height: 1;
  }
}

/* ===== Light Mode Readability Pass (v5) ===== */
html[data-theme="light"] {
  --text-main-light: #173e60;
  --text-soft-light: #476782;
  --text-strong-light: #0f3556;
  --line-light-strong: rgba(48, 112, 170, 0.34);
}

html[data-theme="light"] body,
html[data-theme="light"] .page-shell,
html[data-theme="light"] .block,
html[data-theme="light"] .service-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .catalog-card,
html[data-theme="light"] .tarif-card,
html[data-theme="light"] .tele-info-card,
html[data-theme="light"] .tele-pay-card,
html[data-theme="light"] .tele-rustdesk-card,
html[data-theme="light"] .pro-service-card,
html[data-theme="light"] .pro-why-card,
html[data-theme="light"] .admin-main,
html[data-theme="light"] .admin-form-wrap,
html[data-theme="light"] .admin-table-wrap,
html[data-theme="light"] .admin-settings-card,
html[data-theme="light"] .admin-modal,
html[data-theme="light"] .call-modal {
  color: var(--text-main-light);
}

html[data-theme="light"] h1,
html[data-theme="light"] h2,
html[data-theme="light"] h3,
html[data-theme="light"] h4,
html[data-theme="light"] h5,
html[data-theme="light"] .section-title h3,
html[data-theme="light"] .head h3,
html[data-theme="light"] .hero-card h1,
html[data-theme="light"] .hero-card h2,
html[data-theme="light"] .admin-header h2,
html[data-theme="light"] .tarif-card-head h4,
html[data-theme="light"] .tele-rustdesk-head h4 {
  color: var(--text-strong-light) !important;
}

html[data-theme="light"] p,
html[data-theme="light"] li,
html[data-theme="light"] td,
html[data-theme="light"] th,
html[data-theme="light"] label,
html[data-theme="light"] .muted,
html[data-theme="light"] .admin-muted,
html[data-theme="light"] small,
html[data-theme="light"] .tele-paypal-note,
html[data-theme="light"] .tele-rustdesk-label,
html[data-theme="light"] .left-card p,
html[data-theme="light"] .left-card li,
html[data-theme="light"] .catalog-meta,
html[data-theme="light"] .catalog-desc {
  color: var(--text-soft-light) !important;
}

html[data-theme="light"] .service-card a,
html[data-theme="light"] .news-link,
html[data-theme="light"] .head > a,
html[data-theme="light"] .catalog-link {
  color: #0a7dcc !important;
}

html[data-theme="light"] .service-card a:hover,
html[data-theme="light"] .news-link:hover,
html[data-theme="light"] .head > a:hover,
html[data-theme="light"] .catalog-link:hover {
  color: #005f9f !important;
}

html[data-theme="light"] .service-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .catalog-card,
html[data-theme="light"] .tarif-card,
html[data-theme="light"] .tele-info-card,
html[data-theme="light"] .tele-pay-card,
html[data-theme="light"] .tele-rustdesk-card,
html[data-theme="light"] .admin-stat-card,
html[data-theme="light"] .admin-settings-card,
html[data-theme="light"] .admin-table-wrap,
html[data-theme="light"] .admin-form-wrap {
  border-color: var(--line-light-strong) !important;
}

html[data-theme="light"] input,
html[data-theme="light"] textarea,
html[data-theme="light"] select,
html[data-theme="light"] .tele-code-input-wrap,
html[data-theme="light"] .admin-table-head input {
  color: #173f61 !important;
  background: #f8fcff !important;
  border-color: rgba(54, 119, 177, 0.34) !important;
}

html[data-theme="light"] input::placeholder,
html[data-theme="light"] textarea::placeholder {
  color: #7390a8 !important;
}

html[data-theme="light"] .tarif-table th,
html[data-theme="light"] .admin-table th {
  color: #154060 !important;
  background: rgba(225, 239, 251, 0.9);
}

html[data-theme="light"] .tarif-table td,
html[data-theme="light"] .admin-table td {
  color: #355777 !important;
}

/* Teleassistance pop notifications readability fix */
html[data-theme="light"] .tele-toast-stack {
  z-index: 2200;
}

html[data-theme="light"] .tele-toast,
html[data-theme="light"] .admin-toast {
  border: 1px solid rgba(52, 116, 175, 0.36) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.98)) !important;
  color: #173f61 !important;
  box-shadow: 0 10px 24px rgba(16, 66, 108, 0.18);
}

html[data-theme="light"] .tele-toast strong,
html[data-theme="light"] .admin-toast strong {
  color: #0e5f99 !important;
  font-size: 13px;
}

html[data-theme="light"] .tele-toast span,
html[data-theme="light"] .admin-toast span {
  color: #244f73 !important;
  font-size: 13px;
  line-height: 1.4;
}

html[data-theme="light"] .tele-toast.ok {
  border-color: rgba(39, 168, 107, 0.5) !important;
  background: linear-gradient(180deg, rgba(241, 255, 249, 0.99), rgba(231, 252, 243, 0.99)) !important;
}

html[data-theme="light"] .tele-toast.ok strong {
  color: #137345 !important;
}

html[data-theme="light"] .tele-toast.warn {
  border-color: rgba(206, 147, 36, 0.56) !important;
  background: linear-gradient(180deg, rgba(255, 251, 241, 0.99), rgba(255, 246, 225, 0.99)) !important;
}

html[data-theme="light"] .tele-toast.warn strong {
  color: #8f5a09 !important;
}

html[data-theme="light"] .tele-toast.error {
  border-color: rgba(201, 72, 95, 0.56) !important;
  background: linear-gradient(180deg, rgba(255, 245, 247, 0.99), rgba(255, 232, 237, 0.99)) !important;
}

html[data-theme="light"] .tele-toast.error strong {
  color: #9b1f34 !important;
}

html[data-theme="light"] .tele-status {
  border-color: rgba(52, 116, 175, 0.42) !important;
  background: rgba(241, 248, 255, 0.96) !important;
  color: #204c70 !important;
}

html[data-theme="light"] .tele-status h5,
html[data-theme="light"] .tele-status p,
html[data-theme="light"] .tele-status li,
html[data-theme="light"] .tele-status strong,
html[data-theme="light"] .tele-status b {
  color: #204c70 !important;
}

@media (max-width: 640px) {
  html[data-theme="light"] .tele-toast-stack {
    top: 10px;
    width: calc(100% - 12px);
  }

  html[data-theme="light"] .tele-toast,
  html[data-theme="light"] .admin-toast {
    border-radius: 11px;
    padding: 10px 11px;
  }

  html[data-theme="light"] .tele-toast strong,
  html[data-theme="light"] .admin-toast strong {
    font-size: 12px;
  }

  html[data-theme="light"] .tele-toast span,
  html[data-theme="light"] .admin-toast span {
    font-size: 12px;
  }
}

/* ===== Light Mode Contrast Stabilizer (v6) ===== */
html[data-theme="light"] .pills strong,
html[data-theme="light"] .pill-item strong,
html[data-theme="light"] .service-card h4,
html[data-theme="light"] .store-service-card h4,
html[data-theme="light"] .mobile-panel h4,
html[data-theme="light"] .offer-card h4,
html[data-theme="light"] .news-card h4,
html[data-theme="light"] .catalog-card h4,
html[data-theme="light"] .left-card h3,
html[data-theme="light"] .access strong,
html[data-theme="light"] .tarif-card h4,
html[data-theme="light"] .tarif-audience-card h4,
html[data-theme="light"] .tele-info-card h4,
html[data-theme="light"] .tele-pay-card h4,
html[data-theme="light"] .tele-rustdesk-head h4,
html[data-theme="light"] .admin-action-card strong,
html[data-theme="light"] .admin-stat-card strong,
html[data-theme="light"] .admin-table td,
html[data-theme="light"] .admin-table th {
  color: #123b5d !important;
  text-shadow: none !important;
}

html[data-theme="light"] .pills small,
html[data-theme="light"] .pill-item small,
html[data-theme="light"] .service-card p,
html[data-theme="light"] .store-service-card p,
html[data-theme="light"] .mobile-panel p,
html[data-theme="light"] .mobile-panel li,
html[data-theme="light"] .offer-meta p,
html[data-theme="light"] .state,
html[data-theme="light"] .news-card p,
html[data-theme="light"] .catalog-card p,
html[data-theme="light"] .catalog-meta,
html[data-theme="light"] .catalog-desc,
html[data-theme="light"] .left-card p,
html[data-theme="light"] .left-card li,
html[data-theme="light"] .access small,
html[data-theme="light"] .trust small,
html[data-theme="light"] .tarif-note p,
html[data-theme="light"] .tarif-audience-card p,
html[data-theme="light"] .tarif-audience-card li,
html[data-theme="light"] .tele-info-card p,
html[data-theme="light"] .tele-info-card li,
html[data-theme="light"] .tele-pay-card p,
html[data-theme="light"] .tele-rustdesk-card p,
html[data-theme="light"] .tele-rustdesk-label,
html[data-theme="light"] .tele-paypal-note,
html[data-theme="light"] .admin-login-card p,
html[data-theme="light"] .admin-muted,
html[data-theme="light"] .admin-table td,
html[data-theme="light"] .admin-status,
html[data-theme="light"] .admin-price-cell small {
  color: #4a6983 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .trust strong,
html[data-theme="light"] .left-card a,
html[data-theme="light"] .service-card a,
html[data-theme="light"] .head > a,
html[data-theme="light"] .news-link,
html[data-theme="light"] .catalog-link {
  color: #0a78c3 !important;
}

html[data-theme="light"] .trust,
html[data-theme="light"] .left-card,
html[data-theme="light"] .map,
html[data-theme="light"] .access,
html[data-theme="light"] .mobile-panel,
html[data-theme="light"] .store-service-card,
html[data-theme="light"] .service-card,
html[data-theme="light"] .offer-card,
html[data-theme="light"] .news-card,
html[data-theme="light"] .catalog-card,
html[data-theme="light"] .tarif-card,
html[data-theme="light"] .tarif-note,
html[data-theme="light"] .tele-info-card,
html[data-theme="light"] .tele-pay-card,
html[data-theme="light"] .tele-rustdesk-card,
html[data-theme="light"] .admin-login-card,
html[data-theme="light"] .admin-form-wrap,
html[data-theme="light"] .admin-table-wrap,
html[data-theme="light"] .admin-settings-card,
html[data-theme="light"] .admin-stat-card,
html[data-theme="light"] .admin-action-card {
  border-color: rgba(53, 118, 176, 0.34) !important;
}

html[data-theme="light"] .tele-status,
html[data-theme="light"] .tele-status h5,
html[data-theme="light"] .tele-status p,
html[data-theme="light"] .tele-status li,
html[data-theme="light"] .tele-status strong,
html[data-theme="light"] .tele-status b {
  color: #17466d !important;
}

html[data-theme="light"] .tele-toast,
html[data-theme="light"] .tele-toast span,
html[data-theme="light"] .tele-toast strong,
html[data-theme="light"] .admin-toast,
html[data-theme="light"] .admin-toast span,
html[data-theme="light"] .admin-toast strong {
  text-shadow: none !important;
  -webkit-text-fill-color: currentColor !important;
}

html[data-theme="light"] .tele-toast span,
html[data-theme="light"] .admin-toast span {
  color: #1f4d73 !important;
  font-weight: 600;
}

html[data-theme="light"] .tele-toast strong,
html[data-theme="light"] .admin-toast strong {
  color: #0a5f98 !important;
  font-weight: 800;
}

@media (max-width: 980px) {
  html[data-theme="light"] .menu > a,
  html[data-theme="light"] .menu-dropdown-btn,
  html[data-theme="light"] .menu-dropdown-panel a {
    color: #1a4568 !important;
  }
}

/* ===== Light Mode Home Hero Pills Contrast Fix (v7) ===== */
html[data-theme="light"] .hero-card .pills {
  background: linear-gradient(180deg, rgba(78, 103, 136, 0.94), rgba(92, 115, 144, 0.94)) !important;
  border-color: rgba(137, 170, 205, 0.44) !important;
}

html[data-theme="light"] .hero-card .pill-item + .pill-item {
  border-left-color: rgba(173, 199, 226, 0.38) !important;
}

html[data-theme="light"] .hero-card .pills strong,
html[data-theme="light"] .hero-card .pill-item strong {
  color: #f2f8ff !important;
}

html[data-theme="light"] .hero-card .pills small,
html[data-theme="light"] .hero-card .pill-item small {
  color: #d7e6f5 !important;
}

html[data-theme="light"] .hero-card .pill-ico {
  color: #79dcff !important;
  text-shadow: 0 0 8px rgba(70, 188, 247, 0.35) !important;
}

/* ===== Light Mode PRO page readability fix (v8) ===== */
html[data-theme="light"] .pro-chip {
  background: linear-gradient(180deg, rgba(250, 254, 255, 0.98), rgba(239, 247, 254, 0.98)) !important;
  border-color: rgba(61, 125, 184, 0.34) !important;
  color: #143d60 !important;
  text-shadow: none !important;
}

html[data-theme="light"] .pro-chip:hover {
  border-color: rgba(25, 126, 198, 0.52) !important;
  box-shadow: 0 8px 18px rgba(23, 82, 128, 0.14) !important;
  color: #0c3557 !important;
}

/* ===== Light Mode PRO full readability pass (v9) ===== */
html[data-theme="light"] .pro-page .kicker,
html[data-theme="light"] .pro-page .kicker.left {
  color: #1a5f8f !important;
}

html[data-theme="light"] .pro-hero-content h1 {
  color: #0f3556 !important;
}

html[data-theme="light"] .pro-subtitle,
html[data-theme="light"] .pro-intro p,
html[data-theme="light"] .pro-cta-card p,
html[data-theme="light"] .pro-service-card p,
html[data-theme="light"] .pro-why-card p {
  color: #496b86 !important;
}

html[data-theme="light"] .pro-targets h2,
html[data-theme="light"] .pro-services h2,
html[data-theme="light"] .pro-why h2,
html[data-theme="light"] .pro-cta h2,
html[data-theme="light"] .pro-service-card h3,
html[data-theme="light"] .pro-why-card h3 {
  color: #10395b !important;
}

html[data-theme="light"] .pro-service-card,
html[data-theme="light"] .pro-why-card,
html[data-theme="light"] .pro-cta-card,
html[data-theme="light"] .pro-intro,
html[data-theme="light"] .pro-targets,
html[data-theme="light"] .pro-services,
html[data-theme="light"] .pro-why,
html[data-theme="light"] .pro-cta {
  border-color: rgba(59, 123, 182, 0.34) !important;
}

html[data-theme="light"] .pro-ico {
  border-color: rgba(61, 129, 188, 0.44) !important;
  background: rgba(225, 238, 249, 0.9) !important;
  color: #1795da !important;
}

html[data-theme="light"] .pro-chip {
  color: #133f62 !important;
  background: linear-gradient(180deg, rgba(249, 253, 255, 0.99), rgba(240, 248, 255, 0.99)) !important;
}

html[data-theme="light"] .pro-chip:hover {
  color: #0d3658 !important;
  background: linear-gradient(180deg, rgba(237, 247, 255, 0.99), rgba(229, 241, 251, 0.99)) !important;
}

@media (max-width: 980px) {
  html[data-theme="light"] .pro-chip,
  html[data-theme="light"] .pro-service-card,
  html[data-theme="light"] .pro-why-card {
    box-shadow: 0 6px 14px rgba(20, 78, 122, 0.1) !important;
  }
}

/* ===== Responsive Pass v10 — 2026-05-27 ===== */

/* Admin sidebar: horizontal scrollable nav at medium screens */
@media (min-width: 761px) and (max-width: 1180px) {
  .admin-sidebar {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
    position: static !important;
    transform: none !important;
  }
  .admin-logo { flex: 0 0 auto; }
  .admin-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto;
  }
  .admin-nav button {
    padding: 8px 12px;
    white-space: nowrap;
  }
  .admin-logout {
    flex: 0 0 auto;
    margin-top: 0;
  }
  .admin-theme-toggle-wrap {
    flex: 0 0 auto;
    margin: 0;
  }
}

/* Mobile: show right-actions inside the nav menu */
@media (max-width: 980px) {
  .menu-mobile-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 12px 4px;
    border-top: 1px solid rgba(80, 157, 210, 0.2);
    margin-top: 6px;
  }
  .menu-mobile-cta .quote {
    display: inline-flex !important;
    flex: 1 1 auto;
    justify-content: center;
    height: 46px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
  }
}

/* Trust section: 6 items responsive tweaks */
@media (max-width: 480px) {
  .trust {
    grid-template-columns: repeat(2, 1fr);
    margin: 10px 8px;
    gap: 8px;
    padding: 10px 8px;
  }
  .trust > div {
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(64,172,237,0.18);
    background: rgba(6,22,43,0.55);
  }
  .trust strong { font-size: 13px; }
  .trust small   { font-size: 11px; }
}
/* Light mode trust items sur mobile */
@media (max-width: 480px) {
  html[data-theme="light"] .trust > div {
    background: #fff;
    border-color: rgba(10,100,180,0.18);
    box-shadow: 0 1px 6px rgba(10,60,120,0.07);
  }
  html[data-theme="light"] .trust strong { color: #0c2640; }
  html[data-theme="light"] .trust small  { color: #4a7090; }
}

/* Pay3x hero badge mobile */
@media (max-width: 640px) {
  .pay3x-hero {
    justify-content: center;
  }
}

/* Hero brand logo size in hero card: ensure no white bg shows */
.hero-brand-logo, .hero-brand-logo-full {
  background: transparent;
}
.logo {
  background: transparent;
}

/* Logo in topbar: better containment on all screen sizes */
@media (max-width: 400px) {
  .logo {
    height: 26px;
    max-width: 130px;
  }
  .logo-link {
    max-width: 40vw;
    overflow: hidden;
  }
}

/* Admin table — cards on mobile for main tables too */
@media (max-width: 640px) {
  .admin-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-table {
    min-width: 520px;
  }
  #section-dashboard .admin-table {
    min-width: 420px;
  }
}

/* Teleassistance: ensure pay card is readable on small screens */
@media (max-width: 480px) {
  .tele-pay-card,
  .tele-info-card {
    padding: 12px;
  }
  .tele-code-input-wrap {
    flex-wrap: wrap;
  }
}

/* Light mode: trust 3x/4x badge */
html[data-theme="light"] .trust > div strong {
  color: #0a78c3 !important;
}
html[data-theme="light"] .trust > div {
  border-color: rgba(48, 112, 170, 0.22) !important;
}

/* ===================================================================
   NOUVELLES FEATURES — 2026-05-27
   =================================================================== */

/* ── 1. QualiRépar badge topbar ─────────────────────────────── */
.topbar-quali {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 4px;
  border-radius: 999px;
  border: 1px solid rgba(52, 214, 163, 0.38);
  background: rgba(12, 100, 76, 0.14);
  text-decoration: none;
  flex-shrink: 0;
  transition: border-color 180ms ease, background 180ms ease;
}
.topbar-quali:hover,
.topbar-quali:focus-visible {
  border-color: rgba(52, 214, 163, 0.65);
  background: rgba(12, 100, 76, 0.26);
}
.topbar-quali img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
.topbar-quali-label {
  font-size: 10px;
  font-weight: 800;
  color: #3fffc8;
  white-space: nowrap;
  letter-spacing: 0.04em;
}
html[data-theme="light"] .topbar-quali {
  border-color: rgba(16, 148, 106, 0.38) !important;
  background: rgba(220, 250, 242, 0.88) !important;
}
html[data-theme="light"] .topbar-quali-label { color: #0a6040 !important; }
@media (max-width: 760px) {
  .topbar-quali-label { display: none; }
  .topbar-quali img { height: 24px; }
}
@media (max-width: 480px) {
  .topbar-quali { padding: 2px 4px; }
  .topbar-quali img { height: 20px; }
}

/* ── 2. Paiement 4× sans frais ──────────────────────────────── */
/* Hero accueil */
.pay4x-hero {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 4px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pay4x-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(52, 214, 163, 0.54);
  background: linear-gradient(180deg, rgba(28, 200, 155, 0.22), rgba(12, 130, 100, 0.28));
  color: #3fffc8;
  font-size: 12px;
  font-weight: 800;
}
.pay4x-badge::before { content: "✓"; font-size: 11px; color: #4effd0; }
.pay4x-note {
  font-size: 12px;
  color: #85b8a8;
}
.pay4x-legal {
  font-size: 10px;
  color: #5d8a7c;
  font-style: italic;
}
html[data-theme="light"] .pay4x-badge {
  border-color: rgba(16, 148, 106, 0.46) !important;
  background: linear-gradient(180deg, rgba(220, 250, 242, 0.96), rgba(199, 244, 233, 0.96)) !important;
  color: #0d6b4e !important;
}
html[data-theme="light"] .pay4x-note,
html[data-theme="light"] .pay4x-legal { color: #3d7a62 !important; }
@media (max-width: 640px) {
  .pay4x-hero { align-items: center; }
}

/* Sur fiche produit */
.pay4x-product {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin: 10px 0;
  padding: 9px 14px;
  border-radius: 10px;
  border: 1px solid rgba(52, 214, 163, 0.3);
  background: rgba(12, 70, 52, 0.18);
}
.pay4x-badge-sm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 800;
  color: #3fffc8;
}
.pay4x-badge-sm::before { content: "✓"; font-size: 11px; color: #4effd0; }
html[data-theme="light"] .pay4x-product {
  border-color: rgba(16, 140, 100, 0.34) !important;
  background: rgba(220, 250, 242, 0.7) !important;
}
html[data-theme="light"] .pay4x-badge-sm { color: #0a6040 !important; }

/* ── 3. UI produits — titres + images ───────────────────────── */
.catalog-card h4 {
  font-size: 13px !important;
  line-height: 1.3 !important;
  min-height: 34px !important;
  margin: 2px 0 !important;
}
.offer-card h4 {
  font-size: 13px !important;
  line-height: 1.3 !important;
}
.catalog-image img {
  object-fit: contain !important;
  object-position: center center !important;
  width: 88% !important;
  height: 88% !important;
}
.offer-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: rgba(6, 22, 44, 0.7);
  border-radius: 8px 8px 0 0;
}
.product-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 20, 40, 0.6);
  border-radius: 12px;
  overflow: hidden;
  min-height: 260px;
}
.product-detail-media img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ── 4. Facebook embed ──────────────────────────────────────── */
.fb-embed-wrap {
  width: 100%;
}
.fb-embed-raw {
  background: rgba(7, 22, 44, 0.55);
  border: 1px solid rgba(63, 163, 220, 0.22);
  border-radius: 12px;
  overflow: hidden;
  min-height: 200px;
}
.fb-embed-raw iframe,
.fb-embed-wrap iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  border-radius: 12px;
  display: block;
}
@media (max-width: 640px) {
  .fb-embed-raw iframe,
  .fb-embed-wrap iframe { min-height: 360px; }
}

/* ── 5. Bloc partenaires ────────────────────────────────────── */
.partners-block {
  padding: 30px clamp(12px, 2.4vw, 36px);
  border-top: 1px solid rgba(63, 163, 220, 0.16);
  text-align: center;
}
.partners-block .kicker { margin-bottom: 4px; }
.partners-block > h3 {
  margin: 0 0 22px;
  font-size: clamp(16px, 1.8vw, 22px);
}
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.partner-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border-radius: 12px;
  border: 1px solid rgba(63, 163, 220, 0.22);
  background: rgba(7, 22, 44, 0.55);
  text-decoration: none;
  transition: border-color 180ms, background 180ms, transform 200ms;
  min-width: 96px;
  min-height: 62px;
}
.partner-card:hover,
.partner-card:focus-visible {
  border-color: rgba(63, 200, 255, 0.52);
  background: rgba(12, 38, 70, 0.72);
  transform: translateY(-2px);
}
.partner-card img {
  max-height: 46px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%) brightness(1.05);
  transition: filter 180ms;
  display: block;
}
.partner-card:hover img { filter: grayscale(0%) brightness(1.15); }
.partner-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #a8c4d8;
}
html[data-theme="light"] .partners-block { border-color: rgba(50, 120, 180, 0.2) !important; }
html[data-theme="light"] .partner-card {
  background: rgba(240, 247, 255, 0.88) !important;
  border-color: rgba(60, 130, 185, 0.25) !important;
}
html[data-theme="light"] .partner-card:hover {
  background: rgba(222, 238, 252, 0.96) !important;
}
html[data-theme="light"] .partner-card-name { color: #1a4d70 !important; }

/* ── 6. Modal contact ───────────────────────────────────────── */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(1, 7, 20, 0.82);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.contact-modal-overlay:not([hidden]) {
  display: flex;
}
.contact-modal-overlay[hidden] {
  display: none !important;
}
.contact-modal {
  width: min(520px, 100%);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  max-height: 92vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-modal > .kicker { margin: 0; }
.contact-modal > h3 { margin: 0; font-size: clamp(17px, 2vw, 22px); }
.contact-modal > p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-form-grid { display: grid; gap: 11px; }
.contact-field { display: grid; gap: 5px; }
.contact-field > span {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid var(--field-border);
  background: var(--field-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 180ms, box-shadow 180ms;
}
.contact-field input:focus,
.contact-field textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.contact-field textarea {
  min-height: 96px;
  resize: vertical;
}
.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid rgba(100, 170, 220, 0.28);
  background: transparent;
  color: var(--muted);
  font-size: 16px;
  cursor: pointer;
  transition: background 150ms, color 150ms;
}
.contact-modal-close:hover { background: rgba(255, 70, 70, 0.14); color: #ff6060; }
.contact-error {
  font-size: 13px;
  color: #ff7070;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 50, 50, 0.1);
  border: 1px solid rgba(255, 50, 50, 0.28);
  display: none;
}
.contact-error.visible { display: block; }
.contact-success {
  display: none;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
  padding: 18px 8px;
}
.contact-success.visible { display: flex; }
.contact-success .success-icon { font-size: 42px; line-height: 1; }
.contact-success h4 { margin: 0; font-size: 18px; color: #4effd0; }
.contact-success p { margin: 0; color: var(--muted); font-size: 14px; }
.contact-honeypot { display: none !important; visibility: hidden !important; }
.contact-captcha-note { font-size: 11px; color: var(--muted); text-align: center; margin: 0; }
html[data-theme="light"] .contact-field input,
html[data-theme="light"] .contact-field textarea {
  background: rgba(240, 248, 255, 0.92) !important;
  border-color: rgba(70, 140, 200, 0.36) !important;
  color: #0e2d4a !important;
}
html[data-theme="light"] .contact-field > span { color: #4a6d88 !important; }
@media (max-width: 480px) {
  .contact-modal { padding: 20px; gap: 11px; }
}

/* ── 7. Admin — Switch saisons ──────────────────────────────── */
.admin-season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
.admin-season-card {
  border-radius: 12px;
  padding: 16px;
  border: 2px solid rgba(77, 160, 220, 0.22);
  background: rgba(7, 22, 44, 0.65);
  transition: border-color 180ms, background 180ms;
  position: relative;
  cursor: pointer;
}
.admin-season-card.active {
  border-color: #1bbeff;
  background: rgba(14, 50, 90, 0.8);
}
.admin-season-emoji { font-size: 26px; margin-bottom: 5px; display: block; }
.admin-season-card h4 { margin: 0 0 8px; font-size: 15px; }
.admin-season-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: #9eb7ce;
  margin-bottom: 8px;
  cursor: pointer;
}
.admin-season-label input[type="radio"] { accent-color: #1bbeff; }
.admin-season-img-input {
  width: 100%;
  margin-top: 4px;
  padding: 7px 10px;
  border: 1px solid rgba(78, 162, 222, 0.3);
  border-radius: 8px;
  background: rgba(4, 15, 30, 0.7);
  color: #d4e7f8;
  font-size: 12px;
  outline: none;
}
.admin-season-img-input::placeholder { color: #607890; }
.admin-season-img-input:focus {
  border-color: #1bbeff;
  box-shadow: 0 0 0 2px rgba(30, 187, 255, 0.25);
}
.admin-season-active-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1bbeff;
  color: #001928;
  font-size: 10px;
  font-weight: 800;
  display: none;
}
.admin-season-card.active .admin-season-active-pill { display: block; }

/* ── 8. Admin — Partenaires + Formation docs ────────────────── */
.admin-doc-preview {
  max-width: 72px;
  max-height: 54px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(77, 160, 220, 0.28);
  background: rgba(5, 18, 36, 0.7);
}
.admin-partner-logo-preview {
  max-width: 80px;
  max-height: 46px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(77, 160, 220, 0.28);
}
.admin-contact-message {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #9eb7ce;
  font-size: 12px;
}

/* ── 9. Formation page — section docs dynamiques ────────────── */
.formation-dynamic-docs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.formation-dynamic-doc {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(63, 163, 220, 0.25);
  background: rgba(7, 22, 44, 0.6);
  transition: border-color 180ms;
}
.formation-dynamic-doc:hover { border-color: rgba(63, 200, 255, 0.5); }
.formation-dynamic-doc img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  object-position: center;
  background: rgba(5, 16, 34, 0.8);
  display: block;
}
.formation-dynamic-doc-info {
  padding: 10px 12px;
}
.formation-dynamic-doc-info h5 {
  margin: 0;
  font-size: 14px;
  color: #d8eafb;
}
html[data-theme="light"] .formation-dynamic-doc {
  background: rgba(240, 247, 255, 0.88) !important;
  border-color: rgba(60, 130, 185, 0.25) !important;
}
html[data-theme="light"] .formation-dynamic-doc-info h5 { color: #0e2d4a !important; }

/* ── Admin upload row (partenaires + formation docs + saisons) ── */
.admin-upload-field { gap: 6px; }
.admin-upload-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.admin-upload-row input[type="url"],
.admin-upload-row input[type="text"] { flex: 1; min-width: 0; }
.admin-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 12px;
  background: rgba(27, 190, 255, 0.12);
  border: 1px solid rgba(27, 190, 255, 0.3);
  border-radius: 8px;
  color: #1bbeff;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 160ms;
  flex-shrink: 0;
}
.admin-upload-btn:hover { background: rgba(27, 190, 255, 0.22); }
.admin-upload-preview {
  margin-top: 8px;
  max-width: 160px;
  max-height: 90px;
  border-radius: 6px;
  border: 1px solid rgba(27, 190, 255, 0.2);
  object-fit: contain;
  background: rgba(5, 16, 34, 0.6);
}
.admin-upload-drop-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed rgba(27, 190, 255, 0.35);
  border-radius: 10px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms, background 160ms;
  background: rgba(10, 30, 60, 0.4);
  color: #8bb8d8;
  font-size: 13px;
  min-height: 80px;
}
.admin-upload-drop-zone:hover,
.admin-upload-drop-zone.drag-over {
  border-color: rgba(27, 190, 255, 0.7);
  background: rgba(27, 190, 255, 0.08);
  color: #c5e7ff;
}
.admin-upload-drop-zone .drop-icon { font-size: 24px; line-height: 1; }
.admin-upload-drop-zone .drop-or { margin: 4px 0 0; font-size: 11px; color: #607890; }
/* hCaptcha widget wrap dans contact modal */
#hcaptcha-widget-wrap { margin: 4px 0; }

/* ── Admin tarifs ──────────────────────────────────────────────── */
.admin-tarif-settings-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 12px;
  border-bottom: 1px solid rgba(66,162,220,0.15);
}
.admin-tarif-settings-group {
  background: rgba(5,18,38,0.5);
  border: 1px solid rgba(66,162,220,0.15);
  border-radius: 10px;
  padding: 12px;
}
.admin-group-label {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  color: #6090b0;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.admin-tarif-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 800px) { .admin-tarif-col-grid { grid-template-columns: 1fr; } }
.admin-tarif-col-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border: 1px solid rgba(66,162,220,0.15);
  border-radius: 8px;
}
.admin-tarif-col-section > strong {
  font-size: 12px;
  color: #9eb7ce;
  margin-bottom: 4px;
}
.admin-tarif-sections-view {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.admin-tarif-section-block {
  border-bottom: 1px solid rgba(66,162,220,0.15);
}
.admin-tarif-section-block:last-child { border-bottom: none; }
.admin-tarif-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(8,25,50,0.6);
  font-size: 13px;
  font-weight: 700;
  color: #c5e7ff;
}
html[data-theme="light"] .admin-tarif-settings-group { background: rgba(230,244,255,0.5); }
html[data-theme="light"] .admin-tarif-section-head { background: rgba(220,238,255,0.5); color: #0a3060; }

/* ── Admin Horaires ───────────────────────────────────────────── */
.admin-hours-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.admin-hours-day {
  border: 1px solid rgba(27,190,255,0.15);
  border-radius: 10px;
  overflow: hidden;
}
.admin-hours-day-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(8,24,50,0.7);
}
.admin-hours-day-name {
  flex: 1;
  font-size: 13px;
  color: #c5e7ff;
}
.admin-hours-slots {
  padding: 8px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(5,15,36,0.4);
  border-top: 1px solid rgba(27,190,255,0.1);
}
.admin-hours-slots.is-hidden { display: none; }
.admin-hours-slot {
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-hours-input {
  padding: 4px 8px;
  border: 1px solid rgba(27,190,255,0.3);
  border-radius: 7px;
  background: rgba(8,26,52,0.8);
  color: #c5e7ff;
  font-size: 13px;
  font-family: inherit;
  height: 32px;
  min-width: 0;
  flex: 1;
  max-width: 110px;
}
.admin-hours-input:focus { outline: none; border-color: rgba(27,190,255,0.7); }
html[data-theme="light"] .admin-hours-day { border-color: rgba(10,100,180,0.18); }
html[data-theme="light"] .admin-hours-day-header { background: rgba(220,238,255,0.6); }
html[data-theme="light"] .admin-hours-day-name { color: #0c2440; }
html[data-theme="light"] .admin-hours-slots { background: rgba(240,249,255,0.5); border-top-color: rgba(10,100,180,0.12); }
html[data-theme="light"] .admin-hours-input { background: #fff; border-color: rgba(10,100,180,0.3); color: #0c2440; }

/* ── Category chips (modal produit) ──────────────────────────────── */
.admin-cat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.admin-cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1.5px solid rgba(27,190,255,0.25);
  background: rgba(10,40,70,0.5);
  color: #8bb8d8;
  font-size: 12px;
  cursor: pointer;
  transition: background 120ms, border-color 120ms, color 120ms;
  font-family: inherit;
}
.admin-cat-chip:hover {
  border-color: rgba(27,190,255,0.55);
  color: #c5e7ff;
}
.admin-cat-chip.active {
  background: rgba(27,190,255,0.18);
  border-color: rgba(27,190,255,0.7);
  color: #1bbeff;
  font-weight: 600;
}
html[data-theme="light"] .admin-cat-chip {
  background: rgba(10,80,140,0.07);
  border-color: rgba(12,100,175,0.3);
  color: #2a6090;
}
html[data-theme="light"] .admin-cat-chip.active {
  background: rgba(10,80,140,0.15);
  border-color: rgba(12,100,175,0.7);
  color: #0a5ca0;
}

/* Admin mobile toggle button */
.admin-mobile-toggle {
  display: none;
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 300;
  background: linear-gradient(135deg, #0e4a7a, #0a2e50);
  border: 1px solid rgba(65,190,255,0.4);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  font-size: 22px;
  color: #dff2ff;
  box-shadow: 0 4px 18px rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.admin-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 199;
}

html[data-theme="light"] .admin-upload-btn {
  background: rgba(0, 110, 180, 0.08);
  border-color: rgba(0, 110, 180, 0.25);
  color: #005fa3;
}
html[data-theme="light"] .admin-upload-preview {
  border-color: rgba(0, 110, 180, 0.2);
  background: #f0f7ff;
}
html[data-theme="light"] .admin-upload-drop-zone {
  border-color: rgba(0, 100, 180, 0.35);
  background: rgba(0, 100, 180, 0.04);
  color: #3a6a90;
}
html[data-theme="light"] .admin-upload-drop-zone:hover {
  border-color: rgba(0, 100, 180, 0.6);
  background: rgba(0, 100, 180, 0.08);
}


/* ── Light mode mobile — corrections responsives globales ──────── */
@media (max-width: 640px) {
  /* Fond de page unifié */
  html[data-theme="light"] .page-shell {
    background: #eef5fc;
  }
  /* Hero : overlay plus opaque pour que la carte ressorte */
  html[data-theme="light"] .hero {
    background:
      linear-gradient(105deg,
        rgba(255,255,255,0.97) 0%,
        rgba(235,247,255,0.92) 35%,
        rgba(210,235,255,0.7) 60%,
        rgba(195,225,250,0.4) 100%),
      url("./assets/hero-gaming-pc.jpg") center center/cover;
  }
  /* Hero card : fond blanc, texte bien visible */
  html[data-theme="light"] .hero-card {
    background: rgba(255,255,255,0.96) !important;
    border-color: rgba(10,100,180,0.15) !important;
    box-shadow: 0 4px 20px rgba(10,60,120,0.1) !important;
  }
  html[data-theme="light"] .hero-card h2 { color: #0c2440 !important; }
  html[data-theme="light"] .hero-card > p { color: #3a5570 !important; }
  /* Pills en light mode mobile */
  html[data-theme="light"] .pills {
    background: linear-gradient(135deg, rgba(230,244,255,0.97), rgba(215,236,252,0.94)) !important;
    border-color: rgba(10,100,180,0.18) !important;
  }
  html[data-theme="light"] .pills strong { color: #0c2640 !important; }
  html[data-theme="light"] .pills small  { color: #4a6e8a !important; }
  html[data-theme="light"] .pill-ico { color: #0060b0 !important; }
  /* Blocs sections */
  html[data-theme="light"] .block { background: #f0f7ff; }
  html[data-theme="light"] .block:nth-child(even) { background: #e8f3fd; }
  /* Cartes service / offre / news */
  html[data-theme="light"] .service-card,
  html[data-theme="light"] .offer-card,
  html[data-theme="light"] .news-card {
    background: #fff !important;
    border-color: rgba(10,100,180,0.16) !important;
  }
  html[data-theme="light"] .service-card h4 { color: #0c2640; }
  html[data-theme="light"] .service-card p  { color: #3a5c7a !important; }
}
