/* =====================================================================
   Ameliorations visuelles — Les Enfants du Jeu
   Feuille additionnelle chargee APRES style.css / responsive.css.
   Non destructive : n'ecrase que des details visuels (typo, ombres,
   survols, cartes, mobile). Aucune modification de structure HTML.
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --lej-primary: #0288d1;
  --lej-primary-dark: #01579b;
  --lej-accent: #febd00;        /* jaune de marque */
  --lej-accent-dark: #e0a800;
  --lej-ink: #1f2937;
  --lej-muted: #6b7280;
  --lej-bg-soft: #f6f9fc;
  --lej-radius: 16px;
  --lej-shadow: 0 6px 22px rgba(17, 24, 39, .07);
  --lej-shadow-hover: 0 18px 40px rgba(17, 24, 39, .14);
  --lej-heading-font: 'Poppins', 'Roboto', sans-serif;
}

/* ------- Base / typographie ------- */
html { scroll-behavior: smooth; }
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
p { line-height: 1.7; }
a { transition: color .25s ease; }
img { max-width: 100%; }

/* Titres en Poppins (texte courant conserve en Roboto) */
h1, h2, h3, h4, h5, h6,
.section-title, .page-title, .slider-content .title2, .pro-title {
  font-family: var(--lej-heading-font);
  letter-spacing: .2px;
}

/* ------- En-tete / navigation ------- */
.header-bottom {
  transition: box-shadow .3s ease, background-color .3s ease;
}
.header-bottom.stick,
#sticky-div.stick {
  box-shadow: 0 3px 16px rgba(0, 0, 0, .10);
  backdrop-filter: saturate(1.1);
}
.primary-menu ul li a {
  position: relative;
  transition: color .25s ease;
}
.primary-menu ul li a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: var(--lej-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s ease;
}
.primary-menu ul li a:hover::after,
.primary-menu ul li.active > a::after {
  transform: scaleX(1);
}

/* ------- Titres de section ------- */
.section-title {
  font-weight: 700;
  position: relative;
  letter-spacing: .3px;
}
.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, var(--lej-primary), var(--lej-accent));
  border-radius: 4px;
}

/* ------- Slider / hero (accueil) ------- */
.slider-content .title2 {
  font-family: var(--lej-heading-font) !important;
  font-weight: 800 !important;
  font-size: 44px !important;
  letter-spacing: .5px;
  text-shadow: 0 3px 14px rgba(0, 0, 0, .45);
}
.slider-content .title3 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
  max-width: 720px;
  line-height: 1.6;
}
.slider-content .title3 {
  margin-left: auto;
}
.slider-two .slider-content .title3 { margin-left: 0; }

/* ------- Cartes produit / services ------- */
.single-product {
  background: #fff;
  border-radius: var(--lej-radius);
  overflow: hidden;
  box-shadow: var(--lej-shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.single-product:hover {
  transform: translateY(-6px);
  box-shadow: var(--lej-shadow-hover);
}
/* Neutralise l'imbrication .single-product > .single-product (double ombre) */
.single-product .single-product {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
  transform: none;
}
.single-product .single-product:hover { transform: none; }

.pro-thumb {
  overflow: hidden;
  position: relative;
}
.pro-thumb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.single-product:hover .pro-thumb img { transform: scale(1.06); }

.pro-info { padding: 16px 18px 20px; }
.pro-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--lej-ink);
  margin-bottom: 6px;
}
.pro-category {
  color: var(--lej-primary);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 4px;
}

/* ------- Page catalogue : en-tete & barre laterale ------- */
.page-header-v1 .page-title,
.page-header-v1 .page-category {
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}
.page-header-v1 .page-title { font-weight: 800; }

.widget-menu > li > a {
  transition: color .2s ease, padding-left .2s ease;
  border-radius: 6px;
}
.widget-menu > li > a:hover {
  color: var(--lej-primary);
  padding-left: 6px;
}

/* ------- Galerie / partenaires (accueil) ------- */
.gallery-grid img,
.intro-img img {
  transition: transform .45s ease, box-shadow .3s ease;
}
.gallery-grid img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

/* ------- Boutons ------- */
.btn,
.theme-btn,
button,
input[type="submit"],
input[type="button"] {
  border-radius: 8px;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.btn:hover,
.theme-btn:hover,
input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(3, 169, 244, .28);
}

/* ------- Liens footer ------- */
.footer-bottom-area a,
footer a { transition: color .2s ease, opacity .2s ease; }
.footer-bottom-area a:hover,
footer a:hover { color: var(--lej-primary); opacity: .95; }

/* ------- Boutons modernises (accent jaune de marque) ------- */
.estut-btn-v2,
a.estut-btn-v2,
.estut-btn-v2.default-color {
  display: inline-block;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  font-family: var(--lej-heading-font);
  font-weight: 600;
  letter-spacing: .3px;
  color: #1f2937 !important;
  background: linear-gradient(135deg, #ffd54a, var(--lej-accent)) !important;
  box-shadow: 0 8px 20px rgba(254, 189, 0, .35);
  border: 0;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}
.estut-btn-v2:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(254, 189, 0, .45);
  filter: brightness(1.02);
  color: #1f2937 !important;
}

/* ------- Bouton d'action du hero ------- */
.slider-content .layer-2-4 { margin-top: 22px; }
.lej-hero-btn {
  display: inline-block;
  padding: 15px 38px;
  border-radius: 999px;
  font-family: var(--lej-heading-font);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: #1f2937;
  background: linear-gradient(135deg, #ffd54a, var(--lej-accent));
  box-shadow: 0 10px 26px rgba(254, 189, 0, .4);
  transition: transform .22s ease, box-shadow .22s ease;
}
.lej-hero-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(254, 189, 0, .5);
  color: #1f2937;
}

/* ------- Sections accueil aerees ------- */
.online-shopping-area { background: var(--lej-bg-soft); }
.online-shopping-area.padding100 { padding-top: 80px; padding-bottom: 80px; }
.area-headding p,
.area-headding-pb0 p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  color: var(--lej-muted);
}
.intro-caption.padding50 p { color: #374151; }
.intro-img img {
  border-radius: var(--lej-radius);
  box-shadow: var(--lej-shadow);
}

/* ------- Polissage mobile ------- */
@media (max-width: 991px) {
  .pro-thumb img { height: 210px; }
}
@media (max-width: 767px) {
  .slider-content .title2 { font-size: 26px !important; line-height: 1.25; }
  .slider-content .title3 { font-size: 15px !important; line-height: 1.5; }
  .section-title { font-size: 22px; }
  .section-title::after { margin-top: 10px; }
  .page-header-v1 .page-title { font-size: 24px !important; }
  .page-header-v1 .page-category { font-size: 14px !important; }
  .page-content { padding-left: 15px; padding-right: 15px; }
  .single-product { margin-bottom: 22px; }
  .pro-thumb img { height: 190px; }
  .pro-info { padding: 14px 14px 16px; }
  /* Confort tactile sur les liens de menu mobile */
  #mobile-menu ul li a,
  .mobile-menu-area a { padding-top: 12px; padding-bottom: 12px; }
  /* Bouton hero adapte */
  .lej-hero-btn { padding: 12px 26px; font-size: 13px; }
  .slider-content .layer-2-4 { margin-top: 14px; }
}
@media (max-width: 480px) {
  .slider-content .title2 { font-size: 22px !important; }
  .pro-thumb img { height: 175px; }
}
