/* MemoJeuxTV — OpenCart 4.1.0.3
   Option C : fond bleu-violet, menu bleu nuit, cartes blanches.
   Feuille complète de remplacement : memojeuxtv-home.css
*/

/* Fond général bleu-violet profond */
html,
body {
  background: linear-gradient(135deg, #111846 0%, #202aab 52%, #45218e 100%) !important;
  color: #202345;
  min-height: 100%;
}

/* Menu principal bleu nuit : conserver le fonctionnement OpenCart */
body #menu,
body nav#menu,
body #menu.navbar,
body nav.navbar,
body .navbar.bg-primary,
body .navbar.navbar-expand-lg.bg-primary {
  background: #101846 !important;
  background-color: #101846 !important;
  border-color: #101846 !important;
}

body #menu .navbar-nav,
body #menu .container,
body nav#menu .container {
  background-color: #101846 !important;
}

body #menu a,
body #menu .nav-link,
body nav#menu a,
body .navbar.bg-primary a,
body .navbar.navbar-expand-lg.bg-primary a {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
}

body #menu a:hover,
body #menu a:focus,
body #menu .nav-link:hover,
body #menu .nav-link:focus,
body nav#menu a:hover,
body nav#menu a:focus {
  background-color: #263477 !important;
  color: #ffe16b !important;
}

/* Conteneur de la page d'accueil */
#common-home.mjt-home {
  margin: 0 auto 48px;
  max-width: 1440px;
  color: #202345;
  background: transparent !important;
}

.mjt-home * {
  box-sizing: border-box;
}

/* Grand bandeau d'accueil */
.mjt-home .mjt-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 34px;
  padding: clamp(48px, 8vw, 100px) 24px;
  text-align: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 86, 180, .55), transparent 28%),
    radial-gradient(circle at 15% 85%, rgba(255, 203, 66, .28), transparent 25%),
    linear-gradient(135deg, #111b67 0%, #263fe1 48%, #5a2db8 100%);
  border-radius: 0 0 26px 26px;
  isolation: isolate;
}

.mjt-home .mjt-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: auto;
}

.mjt-home .mjt-kicker {
  margin: 0 0 12px;
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #ffe16b;
}

.mjt-home .mjt-hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(40px, 7.5vw, 86px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: .025em;
  text-shadow: 0 5px 0 rgba(0, 0, 0, .12);
}

.mjt-home .mjt-slogan {
  margin: 16px 0 12px;
  font-size: clamp(24px, 3.4vw, 38px);
  line-height: 1.25;
  font-weight: 800;
  color: #ffffff;
}

.mjt-home .mjt-intro {
  max-width: 690px;
  margin: 0 auto 28px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
  color: #f4f5ff;
}

.mjt-home .mjt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 27px;
  border: 3px solid #ffe16b;
  border-radius: 999px;
  background: #ffe16b;
  color: #18236f !important;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 0 rgba(5, 10, 60, .2);
  transition: transform .15s ease, box-shadow .15s ease;
}

.mjt-home .mjt-button:hover,
.mjt-home .mjt-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 0 rgba(5, 10, 60, .2);
  text-decoration: none;
}

.mjt-home .mjt-orbit {
  position: absolute;
  z-index: 1;
  border: 2px solid rgba(255, 255, 255, .15);
  border-radius: 50%;
  pointer-events: none;
}

.mjt-home .mjt-orbit-one {
  width: 300px;
  height: 300px;
  right: -90px;
  top: -110px;
}

.mjt-home .mjt-orbit-two {
  width: 220px;
  height: 220px;
  left: -70px;
  bottom: -100px;
}

/* Trois cartes blanches, très lisibles */
.mjt-home .mjt-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0 24px 42px;
}

.mjt-home .mjt-benefit {
  padding: 28px 24px;
  border: 1px solid #e2e5ff;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(8, 13, 65, .18);
}

.mjt-home .mjt-symbol {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border-radius: 15px;
  background: #eef0ff;
  color: #4534cb;
  font-size: 29px;
  font-weight: 900;
}

.mjt-home .mjt-benefit h2 {
  margin: 0 0 10px;
  color: #202b83;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 850;
}

.mjt-home .mjt-benefit p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #343852;
}

/* Zone catalogue claire pour bien contraster avec le fond */
.mjt-home .mjt-catalogue {
  padding: 42px 24px;
  background: #ffffff;
  border: 1px solid rgba(226, 229, 255, .9);
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(8, 13, 65, .16);
}

.mjt-home .mjt-section-heading {
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

.mjt-home .mjt-section-heading h2 {
  margin: 0 0 12px;
  color: #202b83;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.2;
  font-weight: 900;
}

.mjt-home .mjt-section-heading > p:last-child {
  font-size: 19px;
  line-height: 1.6;
  color: #343852;
}

.mjt-home .mjt-catalogue-notice {
  max-width: 850px;
  margin: 22px auto 0;
  padding: 26px;
  border: 2px dashed #aeb7ff;
  border-radius: 16px;
  background: #f7f8ff;
  text-align: center;
}

.mjt-home .mjt-catalogue-notice strong {
  display: block;
  margin-bottom: 8px;
  color: #282c91;
  font-size: 22px;
  line-height: 1.35;
}

.mjt-home .mjt-catalogue-notice p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #343852;
}

/* Liens généraux : contraste renforcé */
.mjt-home a:not(.mjt-button) {
  color: #2939b8;
  font-weight: 700;
}

.mjt-home a:not(.mjt-button):hover,
.mjt-home a:not(.mjt-button):focus {
  color: #5a2db8;
  text-decoration: underline;
}

/* Affichage tablette et téléphone */
@media (max-width: 767px) {
  .mjt-home .mjt-benefits {
    grid-template-columns: 1fr;
    padding: 0 12px 28px;
    gap: 12px;
  }

  .mjt-home .mjt-hero {
    border-radius: 0 0 18px 18px;
    padding: 52px 18px;
  }

  .mjt-home .mjt-catalogue {
    padding: 30px 14px;
  }

  .mjt-home .mjt-button {
    font-size: 18px;
    padding: 15px 22px;
  }

  .mjt-home .mjt-benefit {
    padding: 22px;
  }

  body #menu a,
  body #menu .nav-link,
  body nav#menu a {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mjt-home .mjt-button {
    transition: none;
  }
}
