/* landing.css — Ludotheca, styles partagés + landing page */

/* ------------------------------------------------
   Variables — partagées sur toutes les pages du thème
------------------------------------------------ */
.accueil,
.mentions-legales {
  --c-primary: #1565c0;
  --c-primary-dark: #0d47a1;
  --c-text: #1a1a2e;
  --c-text-muted: #5a6070;
  --c-bg: #ffffff;
  --c-bg-alt: #f5f7fa;
  --c-border: #e8ebf0;
}

/* ------------------------------------------------
   Header — partagé
------------------------------------------------ */
.accueil .header,
.mentions-legales .header {
  box-shadow: 0 1px 0 var(--c-border);
}

.accueil .m-logo,
.mentions-legales .m-logo {
  flex-direction: row;
  gap: 0px;
}

.accueil .m-logo__title,
.mentions-legales .m-logo__title {
  font-family: "Supreme-Bold";
  font-size: 18px;
  color: var(--c-text);
  margin: 0;
}

/* ------------------------------------------------
   Primary button — partagé
------------------------------------------------ */
.accueil .m-primary-btn,
.mentions-legales .m-primary-btn {
  background-color: var(--c-primary);
  color: #ffffff;
  border: none;
  border-radius: 100px;
  font-family: "Supreme-Medium";
  font-size: 14px;
  letter-spacing: 0.1px;
  text-transform: none;
  transition:
    background-color 0.2s,
    box-shadow 0.2s;
}

.accueil .m-primary-btn:hover,
.mentions-legales .m-primary-btn:hover {
  background-color: color-mix(in srgb, var(--c-primary) 92%, white 8%);
  color: #ffffff;
  transform: none;
  border: none;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.2),
    0 1px 3px 1px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------------
   Footer — partagé
------------------------------------------------ */
.accueil .m-footer__banner,
.mentions-legales .m-footer__banner {
  background-color: var(--c-primary);
}

.accueil .m-footer__banner__title,
.mentions-legales .m-footer__banner__title {
  font-family: "Supreme-Bold";
  font-size: 28px;
}

.accueil .m-footer__banner__text,
.mentions-legales .m-footer__banner__text {
  font-size: 17px;
}

/* ------------------------------------------------
   Hero — landing uniquement
------------------------------------------------ */
.accueil .m-hero,
.accueil .m-hero .wrapper {
  height: auto !important;
}

.accueil .m-hero {
  background-color: var(--c-bg);
  padding: 80px 0;
}

.accueil .m-hero__text {
  font-family: "Supreme-Extrabold";
  color: var(--c-text);
  text-align: center;
  font-size: 38px;
  line-height: 1.18;
  max-width: 700px;
  margin: 0;
}

.accueil .m-hero__img--1,
.accueil .m-hero__img--2 {
  display: none !important;
}

/* ------------------------------------------------
   CTA section — landing uniquement
------------------------------------------------ */
.accueil .section-cta {
  background-color: var(--c-bg-alt);
}

.accueil .m-cta {
  margin-top: 0;
  padding: 48px 0;
}

.accueil .m-cta__text {
  font-family: "Supreme-Light";
  font-size: 19px;
  line-height: 30px;
  color: var(--c-text-muted);
  max-width: 580px;
  margin: 0 auto 32px;
}

.accueil .m-cta__btn {
  font-family: "Supreme-Medium";
  margin-top: 0;
}

/* ------------------------------------------------
   Arguments — landing uniquement
------------------------------------------------ */
.accueil .m-arguments {
  margin-top: 0;
  padding: 80px 0;
}

.accueil .m-arguments__argument__img {
  width: auto;
  min-width: 48px;
  margin-bottom: 0;
}

.accueil .m-arguments__argument__img img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.accueil .m-arguments__argument__title {
  font-family: "Supreme-Bold";
  font-size: 17px;
  line-height: 24px;
  color: var(--c-text);
  margin: 0 0 6px;
}

.accueil .m-arguments__argument__text {
  font-family: "Supreme-Regular";
  font-size: 15px;
  line-height: 23px;
  color: var(--c-text-muted);
  margin: 0;
}

/* ------------------------------------------------
   Mentions légales — contenu
------------------------------------------------ */
.mentions-legales .m-legal {
  padding: 0 16px;
  color: var(--c-text);
  font-family: "Supreme-Regular";
  font-size: 16px;
  line-height: 26px;
}

.mentions-legales .m-legal h1,
.mentions-legales .m-legal h2,
.mentions-legales .m-legal h3 {
  font-family: "Supreme-Bold";
  color: var(--c-text);
}

.mentions-legales .m-legal h1 {
  font-size: 28px;
  margin-bottom: 32px;
}

.mentions-legales .m-legal h2 {
  font-size: 20px;
  margin-top: 40px;
  margin-bottom: 12px;
}

.mentions-legales .m-legal p {
  color: var(--c-text-muted);
  margin-top: 0;
  margin-bottom: 16px;
}

.mentions-legales .m-legal a {
  color: var(--c-primary);
}

/* ------------------------------------------------
   Responsive
------------------------------------------------ */
@media (min-width: 768px) {
  .accueil .m-hero {
    padding: 100px 0;
  }

  .accueil .m-hero__text {
    font-size: 52px;
  }
}

@media (min-width: 1024px) {
  .accueil .m-hero {
    padding: 120px 0;
  }

  .accueil .m-hero__text {
    font-size: 64px;
  }
}
