/* ═══════════════════════════════════════════════
   OXLUM GROUP — style.css corrigé
   Version mère multi-pages
   Design principal + corrections lancement
   ═══════════════════════════════════════════════ */

/* RESET */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --blue: #1565ff;
  --blue-light: #4da3ff;
  --blue-dark: #0d3db5;

  --bg-deep: #050d1a;
  --bg-dark: #0a1628;
  --bg-card: #0e1d35;
  --bg-card-2: #111f3a;

  --white: #ffffff;
  --text: #e8edf5;
  --text-muted: #7a8ba8;

  --border: rgba(21, 101, 255, 0.18);
  --border-light: rgba(255, 255, 255, 0.08);

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --radius: 18px;
  --radius-sm: 12px;

  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --glow: 0 0 40px rgba(21, 101, 255, 0.35);

  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;

  --transition: 0.3s ease;
}

/* BASE */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 15%, rgba(21, 101, 255, 0.18), transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(77, 163, 255, 0.12), transparent 32%),
    radial-gradient(circle at 50% 90%, rgba(21, 101, 255, 0.10), transparent 36%),
    var(--bg-deep);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 80%);
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

main {
  width: 100%;
}

/* UTILITAIRES */
.section {
  padding: 110px 6%;
}

.section-header {
  max-width: 850px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-header span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-light);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto;
}

.center-btn {
  display: flex;
  justify-content: center;
  margin-top: 38px;
}

/* BOUTONS */
.btn-primary,
.btn-secondary,
.btn-login,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  padding: 13px 24px;
  box-shadow: 0 12px 35px rgba(21, 101, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(21, 101, 255, 0.42);
}

.btn-secondary {
  color: var(--text);
  padding: 13px 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
}

.btn-secondary:hover {
  border-color: rgba(77, 163, 255, 0.55);
  color: var(--white);
  background: rgba(21, 101, 255, 0.12);
}

.btn-login {
  color: var(--text-muted);
  padding: 10px 16px;
}

.btn-login:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.lang-btn {
  color: var(--blue-light);
  border: 1px solid var(--border);
  padding: 9px 13px;
  background: rgba(255,255,255,0.03);
}

.lang-btn:hover {
  background: rgba(21, 101, 255, 0.12);
}

/* NAVBAR */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(5, 13, 26, 0.78);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-light);
}

.navbar.scrolled {
  background: rgba(5, 13, 26, 0.96);
  box-shadow: 0 8px 35px rgba(0,0,0,0.35);
}

.nav-container {
  width: min(1280px, 92%);
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: visible;
}

.nav-logo {
  display: flex;
  align-items: center;
  width: auto;
  max-width: 130px;
  min-width: 0;
  flex-shrink: 0;
  overflow: hidden;
}

.nav-logo img {
  width: auto;
  height: 34px;
  max-width: 120px;
  max-height: 34px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.nav-menu a {
  color: var(--text-muted);
  font-size: 0.91rem;
  font-weight: 600;
  padding: 9px 12px;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  z-index: 20;
}

.nav-actions .btn-login,
.nav-actions .btn-primary,
.nav-actions .lang-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
}

/* Sélecteur créé par language.js */
#languageSelector {
  width: auto;
  min-width: 110px;
  max-width: 150px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 800;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.burger.open span:nth-child(1),
.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2),
.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3),
.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* MENU MOBILE */
.mobile-menu {
  display: none;
  width: min(1280px, 92%);
  margin: 0 auto 18px;
  padding: 18px;
  background: rgba(14, 29, 53, 0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.mobile-menu.open,
.mobile-menu.active,
.mobile-menu.ox-open {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.mobile-menu a {
  padding: 13px 15px;
  border-radius: 12px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: rgba(21, 101, 255, 0.12);
  color: var(--white);
}

.mobile-menu .mobile-cta {
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: var(--white);
  text-align: center;
}

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 145px 6% 90px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(21,101,255,0.25), transparent 28%),
    radial-gradient(circle at 80% 45%, rgba(77,163,255,0.12), transparent 28%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(21, 101, 255, 0.12);
  border: 1px solid rgba(77, 163, 255, 0.28);
  color: var(--blue-light);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
  margin-bottom: 28px;
}

.hero p {
  color: var(--text-muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  max-width: 620px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-card {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(430px, 100%);
  min-height: 430px;
  padding: 38px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
  border: 1px solid rgba(77, 163, 255, 0.22);
  box-shadow: var(--shadow), var(--glow);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.05);
  pointer-events: none;
}

.hero-card img {
  width: auto;
  max-width: 190px;
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(21,101,255,0.28));
}

.hero-card p {
  margin: 0;
  text-align: center;
  color: var(--text);
  font-size: 0.95rem;
}
/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(255,255,255,0.02);
}

.stat-card {
  padding: 45px 25px;
  text-align: center;
  border-right: 1px solid var(--border-light);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card h2 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 8px;
}

.stat-card p {
  color: var(--text-muted);
  font-weight: 600;
}

/* GRILLES */
.grid-4,
.grid-3 {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARTES GÉNÉRALES */
.platform-card,
.service-card,
.security-card {
  position: relative;
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  box-shadow: 0 20px 45px rgba(0,0,0,0.18);
  transition: var(--transition);
  overflow: hidden;
}

.platform-card::before,
.service-card::before,
.security-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(77,163,255,0.18), transparent 35%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.platform-card:hover,
.service-card:hover,
.security-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77,163,255,0.55);
  box-shadow: 0 25px 70px rgba(21,101,255,0.18);
}

.platform-card:hover::before,
.service-card:hover::before,
.security-card:hover::before {
  opacity: 1;
}

.platform-card img,
.service-card img,
.security-card img {
  width: auto;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.platform-card h3,
.service-card h3,
.security-card h3 {
  position: relative;
  z-index: 2;
  font-family: var(--font-head);
  font-size: 1.28rem;
  margin-bottom: 12px;
}

.platform-card p,
.service-card p,
.security-card p {
  position: relative;
  z-index: 2;
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 20px;
}

.platform-card strong,
.service-card strong,
.security-card strong {
  position: relative;
  z-index: 2;
  color: var(--blue-light);
  font-weight: 800;
}

/* SERVICES PREVIEW */
.services-preview {
  background: rgba(10,22,40,0.42);
}

.service-card {
  min-height: 210px;
}

/* SERVICES OXLUM GROUP — CORRECTION LANCEMENT */
.ox-services-section,
.services-section {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(21,101,255,0.13), transparent 34%),
    rgba(10, 22, 40, 0.50);
}

.ox-services-grid,
.services-grid {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ox-service-card,
.service-detail,
.service-link,
.contact-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.026));
  border: 1px solid rgba(21,101,255,0.22);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
  transition: var(--transition);
  overflow: hidden;
}

.ox-service-card::before,
.service-detail::before,
.service-link::before,
.contact-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(77,163,255,0.18), transparent 38%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.ox-service-card:hover,
.service-detail:hover,
.service-link:hover,
.contact-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77,163,255,0.55);
  box-shadow: 0 28px 75px rgba(21,101,255,0.18);
}

.ox-service-card:hover::before,
.service-detail:hover::before,
.service-link:hover::before,
.contact-service-card:hover::before {
  opacity: 1;
}

.ox-service-card > *,
.service-detail > *,
.service-link > *,
.contact-service-card > * {
  position: relative;
  z-index: 2;
}

.ox-service-icon,
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(21,101,255,0.14);
  border: 1px solid rgba(77,163,255,0.25);
  color: var(--white);
  font-size: 1.6rem;
}

.ox-service-card h3,
.service-detail h3,
.service-link h3,
.contact-service-card h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--white);
}

.ox-service-card p,
.service-detail p,
.service-link p,
.contact-service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.ox-price,
.service-price,
.price {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  margin-bottom: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(34,197,94,0.10);
  border: 1px solid rgba(34,197,94,0.25);
  color: #86efac;
  font-weight: 900;
  font-size: 0.88rem;
}

.ox-service-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.ox-service-card .btn-primary,
.ox-service-card .btn-secondary,
.service-detail .btn-primary,
.service-detail .btn-secondary {
  padding: 11px 16px;
  font-size: 0.9rem;
}

/* Cache les anciennes cartes vides “Service” */
.ox-service-card:empty,
.service-card:empty,
.service-detail:empty,
.contact-service-card:empty {
  display: none !important;
}

/* Si un ancien bloc vide contient seulement un titre Service sans contenu utile */
.service-card h3:only-child,
.ox-service-card h3:only-child {
  display: none;
}

/* DÉMO CONAKRY TECH STORE */
.demo-preview,
.ox-demo-section {
  background:
    radial-gradient(circle at 80% 20%, rgba(77,163,255,0.16), transparent 34%),
    rgba(5,13,26,0.96);
}

.ox-demo-card,
.demo-card,
.store-demo-card {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 34px;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(21,101,255,0.16), rgba(14,29,53,0.94));
  border: 1px solid rgba(77,163,255,0.34);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 30px;
  align-items: center;
}

.ox-demo-card h3,
.demo-card h3,
.store-demo-card h3 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 14px;
}

.ox-demo-card p,
.demo-card p,
.store-demo-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.demo-products,
.ox-demo-products {
  display: grid;
  gap: 12px;
}

.demo-product,
.ox-demo-product {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.065);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--text);
  font-weight: 700;
}

.demo-product span,
.ox-demo-product span {
  color: var(--blue-light);
  font-weight: 900;
}

/* TABLEAU ACTUALITÉS */
.news-section {
  background:
    linear-gradient(180deg, rgba(10,22,40,0.55), rgba(5,13,26,0.95));
}

.news-table-wrapper {
  width: min(1200px, 92%);
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(14, 29, 53, 0.72);
  box-shadow: var(--shadow);
}

.news-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}

.news-table th {
  text-align: left;
  padding: 20px 22px;
  color: var(--blue-light);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  background: rgba(21,101,255,0.08);
}

.news-table td {
  padding: 20px 22px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.94rem;
}

.news-table tr:last-child td {
  border-bottom: none;
}

.news-table td:nth-child(3) {
  color: var(--text);
  font-weight: 600;
}

.news-table a {
  color: var(--blue-light);
  font-weight: 700;
}

.news-table a:hover {
  color: var(--white);
}

.status {
  display: inline-flex;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
}

.status.published {
  background: rgba(34,197,94,0.12);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.25);
}

.status.progress {
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.25);
}

.status.planned {
  background: rgba(77,163,255,0.12);
  color: var(--blue-light);
  border: 1px solid rgba(77,163,255,0.25);
}

/* VISION */
.vision-preview {
  background: rgba(255,255,255,0.015);
}

.timeline {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.timeline div {
  padding: 22px 18px;
  border-radius: 18px;
  background: rgba(14,29,53,0.78);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.timeline div:hover {
  transform: translateY(-4px);
  border-color: rgba(77,163,255,0.55);
}

.timeline strong {
  display: block;
  color: var(--blue-light);
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.timeline p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* SÉCURITÉ */
.security-preview {
  background:
    radial-gradient(circle at 50% 0%, rgba(21,101,255,0.13), transparent 35%),
    rgba(10,22,40,0.7);
}

.security-card {
  min-height: 230px;
}

.security-card h3::before {
  content: "🛡️ ";
}

/* FAQ */
.faq-preview {
  background: rgba(5,13,26,0.95);
}

.faq-list {
  width: min(900px, 92%);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-list details {
  background: rgba(14, 29, 53, 0.78);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px 24px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--text);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--blue-light);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-list details[open] {
  border-color: rgba(77,163,255,0.52);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin-top: 12px;
  color: var(--text-muted);
}

/* CONTACT PREVIEW */
.contact-preview {
  padding-top: 70px;
  padding-bottom: 90px;
}

.contact-box {
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 44px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(21,101,255,0.20), rgba(14,29,53,0.95));
  border: 1px solid rgba(77,163,255,0.35);
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
}

.contact-box span {
  color: var(--blue-light);
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.contact-box h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.3rem);
  margin: 10px 0;
}

.contact-box p {
  color: var(--text-muted);
  max-width: 620px;
}
/* FOOTER */
.footer {
  background: #03080f;
  border-top: 1px solid var(--border);
  padding: 70px 6% 26px;
}

.footer-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr));
  gap: 34px;
}

.footer-brand img {
  width: auto;
  max-width: 130px;
  max-height: 60px;
  object-fit: contain;
  margin-bottom: 18px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-head);
  margin-bottom: 16px;
}

.footer a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer a:hover {
  color: var(--blue-light);
  transform: translateX(3px);
}

.footer-bottom {
  width: min(1280px, 100%);
  margin: 45px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
  text-align: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* WHATSAPP FLOTTANT */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: var(--transition);
  animation: waPulse 2.4s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 45px rgba(37, 211, 102, 0.65);
}

@keyframes waPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  }

  50% {
    box-shadow:
      0 10px 34px rgba(37, 211, 102, 0.75),
      0 0 0 10px rgba(37, 211, 102, 0.12);
  }
}

/* TOAST + PWA */
.oxlum-toast {
  position: fixed;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%) translateY(30px);
  z-index: 2000;
  background: rgba(14, 29, 53, 0.96);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 13px 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
  font-size: 0.9rem;
  max-width: 92%;
  text-align: center;
}

.oxlum-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.install-banner {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 1999;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(14, 29, 53, 0.96);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text);
  font-size: 0.88rem;
}

.install-banner button {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 700;
}

#closeInstallBanner {
  background: rgba(255,255,255,0.08);
}

/* SÉLECTEUR DE LANGUE */
#languageSelector {
  min-width: 110px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}

#languageSelector option {
  background: var(--bg-card);
  color: var(--white);
}

/* RTL — arabe */
html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav-menu,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .contact-box,
html[dir="rtl"] .footer-grid {
  direction: rtl;
}

html[dir="rtl"] .footer a:hover {
  transform: translateX(-3px);
}

/* NOTIFICATIONS OXLUM */
.notification-button {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 1200;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  color: white;
  font-size: 1.35rem;
  box-shadow: 0 12px 35px rgba(21,101,255,0.42);
  transition: var(--transition);
}

.notification-button:hover {
  transform: scale(1.08);
}

.notification-panel {
  position: fixed;
  right: 24px;
  bottom: 155px;
  z-index: 1200;
  width: 360px;
  max-width: calc(100vw - 36px);
  background: rgba(14, 29, 53, 0.98);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.notification-panel.hidden {
  display: none !important;
}

.notification-header {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.notification-header h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
}

.notification-header button {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.notification-list {
  max-height: 360px;
  overflow-y: auto;
}

.notification-item {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.notification-item.unread {
  background: rgba(21,101,255,0.08);
}

.notification-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.notification-item p {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.notification-item span {
  display: block;
  margin-top: 8px;
  color: var(--blue-light);
  font-size: 0.76rem;
  font-weight: 700;
}

.notification-actions {
  padding: 16px 20px;
}

.notification-actions button {
  width: 100%;
  padding: 12px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 800;
}

/* BADGE NOTIFICATION */
.notification-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--danger);
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  border: 2px solid var(--bg-deep);
}

/* FORMULAIRES SIMPLES */
.form-group {
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(5,13,26,0.72);
  color: var(--white);
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.42);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(77,163,255,0.55);
  box-shadow: 0 0 0 4px rgba(21,101,255,0.12);
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.hero-card,
.stat-card,
.platform-card,
.service-card,
.ox-service-card,
.service-detail,
.news-table-wrapper,
.timeline div,
.security-card,
.faq-list details,
.contact-box,
.ox-demo-card {
  animation: fadeUp 0.7s ease both;
}

.platform-card:nth-child(2),
.service-card:nth-child(2),
.ox-service-card:nth-child(2),
.timeline div:nth-child(2) {
  animation-delay: 0.08s;
}

.platform-card:nth-child(3),
.service-card:nth-child(3),
.ox-service-card:nth-child(3),
.timeline div:nth-child(3) {
  animation-delay: 0.14s;
}

.platform-card:nth-child(4),
.service-card:nth-child(4),
.ox-service-card:nth-child(4),
.timeline div:nth-child(4) {
  animation-delay: 0.20s;
}

.platform-card:nth-child(5),
.service-card:nth-child(5),
.ox-service-card:nth-child(5) {
  animation-delay: 0.26s;
}

.platform-card:nth-child(6),
.service-card:nth-child(6),
.ox-service-card:nth-child(6) {
  animation-delay: 0.32s;
}
/* RESPONSIVE TABLETTE */
@media (max-width: 1100px) {
  .nav-menu {
    display: none;
  }

  .nav-actions {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-container {
    height: 70px;
  }

  .nav-logo img {
    height: 34px;
    max-width: 115px;
    max-height: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 130px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-card {
    min-height: 330px;
  }

  .grid-4,
  .ox-services-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ox-demo-card,
  .demo-card,
  .store-demo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-box {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* RESPONSIVE MOBILE */
@media (max-width: 720px) {
  html {
    font-size: 15px;
  }

  .nav-container {
    width: 92%;
    height: 66px;
    gap: 10px;
  }

  .nav-logo {
    max-width: 115px;
  }

  .nav-logo img {
    height: 32px;
    max-width: 110px;
    max-height: 32px;
  }

  .burger {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    width: 92%;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .hero {
    padding: 115px 5% 70px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
    letter-spacing: -0.05em;
  }

  .hero-card {
    min-height: 270px;
    padding: 26px;
    border-radius: 26px;
  }

  .hero-card img {
    max-width: 160px;
    max-height: 160px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-card {
    padding: 34px 18px;
  }

  .stat-card:nth-child(2) {
    border-right: none;
  }

  .stat-card:nth-child(1),
  .stat-card:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }

  .section {
    padding: 78px 5%;
  }

  .section-header {
    margin-bottom: 42px;
  }

  .section-header h2 {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .grid-4,
  .grid-3,
  .ox-services-grid,
  .services-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .platform-card,
  .service-card,
  .security-card,
  .ox-service-card,
  .service-detail,
  .service-link,
  .contact-service-card {
    min-height: auto;
    padding: 26px;
  }

  .ox-service-actions,
  .service-actions {
    flex-direction: column;
  }

  .ox-service-actions .btn-primary,
  .ox-service-actions .btn-secondary,
  .service-actions .btn-primary,
  .service-actions .btn-secondary {
    width: 100%;
  }

  .ox-demo-card,
  .demo-card,
  .store-demo-card {
    width: 100%;
    padding: 26px;
    border-radius: 26px;
  }

  .demo-product,
  .ox-demo-product {
    flex-direction: column;
    text-align: left;
  }

  .news-table-wrapper {
    width: 100%;
  }

  .news-table {
    min-width: 720px;
  }

  .timeline {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .contact-box {
    width: 100%;
    padding: 30px 24px;
  }

  .contact-box .btn-primary,
  .contact-box .btn-secondary {
    width: 100%;
  }

  .footer {
    padding: 55px 5% 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand img {
    max-width: 120px;
    max-height: 58px;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .notification-button {
    right: 18px;
    bottom: 86px;
  }

  .notification-panel {
    right: 18px;
    bottom: 145px;
    width: calc(100vw - 36px);
  }

  .install-banner {
    width: 92%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* TRÈS PETITS ÉCRANS */
@media (max-width: 420px) {
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .mobile-menu {
    width: 94%;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-card {
    padding: 22px;
  }

  .stat-card {
    padding: 28px 14px;
  }

  .section {
    padding: 68px 5%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .ox-service-card,
  .service-detail,
  .service-link,
  .contact-service-card,
  .platform-card,
  .service-card,
  .security-card {
    padding: 22px;
    border-radius: 20px;
  }

  .ox-demo-card,
  .demo-card,
  .store-demo-card {
    padding: 22px;
    border-radius: 22px;
  }

  .news-table {
    min-width: 720px;
  }

  .footer {
    padding-bottom: 90px;
  }
}

/* CORRECTIONS FINALES DE SÉCURITÉ VISUELLE */

/* Empêche le logo de devenir énorme sur FAQ, pages internes ou footer */
.nav-logo img,
.footer-brand img,
.hero-card img,
.auth-logo img,
.auth-card-header img,
.error-logo {
  width: auto;
  object-fit: contain;
}

/* Corrige les cartes sans contenu venant d’anciens blocs */
.service-card:empty,
.platform-card:empty,
.security-card:empty,
.ox-service-card:empty,
.service-detail:empty,
.contact-service-card:empty {
  display: none !important;
}

/* Force l’affichage propre de Conakry Tech Store */
.demo-preview,
.ox-demo-section,
.ox-demo-card,
.demo-card,
.store-demo-card {
  visibility: visible;
}

/* Empêche les boutons de sortir de l’écran */
.hero-actions,
.ox-service-actions,
.service-actions,
.error-actions,
.page-actions {
  max-width: 100%;
}

/* Accessibilité clavier */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(77, 163, 255, 0.65);
  outline-offset: 3px;
}

/* ACCESSIBILITÉ — réduction des animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}