/*
 * Maison de l'Europe — Pages du footer / "Notre société"
 * V1 laboratoire — 03/10/2026
 *
 * Mise en peinture uniquement.
 * Aucun texte, aucun lien, aucune logique PrestaShop n'est modifié.
 *
 * Couvre :
 * - pages CMS (Livraison, Mentions légales, Conditions d'utilisation,
 *   Paiement sécurisé, et temporairement les autres pages CMS du labo)
 * - Plan du site
 * - Notre magasin / Stores
 * - enveloppe générale de Contactez-nous
 *
 * Le formulaire Contact lui-même reste piloté par mde-forms.css.
 */

body#cms,
body#sitemap,
body#stores,
body#contact {
  --mde-blue: #1B537E;
  --mde-blue-dark: #123D60;
  --mde-yellow: #FFD25F;
  --mde-cream: #FFFEF1;
  --mde-pale-blue: #E5EFEF;
  --mde-ink: #2F3D49;
  --mde-muted: #667684;
  --mde-line: rgba(27, 83, 126, .18);
  --mde-radius: 12px;
  --mde-shadow: 0 8px 22px rgba(47, 61, 73, .05);

  color: var(--mde-ink);
  font-family: Arial, Helvetica, sans-serif;
}

/* =========================================================
   Base commune
   ========================================================= */

body#cms #wrapper,
body#sitemap #wrapper,
body#stores #wrapper,
body#contact #wrapper {
  background: #f7f8f5;
}

body#cms #wrapper > .container,
body#sitemap #wrapper > .container,
body#stores #wrapper > .container,
body#contact #wrapper > .container {
  padding-top: 1.15rem;
  padding-bottom: 2rem;
}

body#cms .breadcrumb,
body#sitemap .breadcrumb,
body#stores .breadcrumb,
body#contact .breadcrumb {
  margin-bottom: 1rem;
  color: var(--mde-muted);
  font-size: .9rem;
  background: transparent;
}

body#cms .breadcrumb a,
body#sitemap .breadcrumb a,
body#stores .breadcrumb a,
body#contact .breadcrumb a {
  color: var(--mde-blue);
}

body#cms .breadcrumb a:hover,
body#sitemap .breadcrumb a:hover,
body#stores .breadcrumb a:hover,
body#contact .breadcrumb a:hover {
  color: var(--mde-blue-dark);
}

/* Titre de page */
body#cms #main .page-header h1,
body#cms #main > h1,
body#sitemap #main .page-header h1,
body#sitemap #main > h1,
body#stores #main .page-header h1,
body#stores #main > h1,
body#contact #main .page-header h1,
body#contact #main > h1 {
  margin-bottom: 1rem;
  color: var(--mde-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  text-transform: none;
}

/* Liens */
body#cms #main a,
body#sitemap #main a,
body#stores #main a,
body#contact #main a {
  color: var(--mde-blue);
}

body#cms #main a:hover,
body#sitemap #main a:hover,
body#stores #main a:hover,
body#contact #main a:hover {
  color: var(--mde-blue-dark);
}

/* =========================================================
   Pages CMS
   Livraison / Mentions légales / Conditions / Paiement...
   ========================================================= */

body#cms #content.page-content.page-cms,
body#cms .page-content.page-cms {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.65rem;
  border: 3px solid var(--mde-yellow);
  border-radius: var(--mde-radius);
  background: var(--mde-cream);
  box-shadow: var(--mde-shadow);
  color: var(--mde-ink);
  line-height: 1.52;
}

/* Pas de seconde "boîte" Classic dans la grande carte. */
body#cms .page-content.page-cms .card,
body#cms .page-content.page-cms .card-block {
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Titres internes : MDE, mais sans toucher aux alertes/couleurs
   explicitement présentes dans les contenus de la boutique. */
body#cms .page-content.page-cms h2,
body#cms .page-content.page-cms h3,
body#cms .page-content.page-cms h4,
body#cms .page-content.page-cms h5,
body#cms .page-content.page-cms h6 {
  color: var(--mde-blue-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  text-transform: none;
}

body#cms .page-content.page-cms h2 {
  margin-top: .15rem;
  margin-bottom: .85rem;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--mde-blue);
  font-size: 1.45rem;
  font-weight: 400;
}

body#cms .page-content.page-cms h3 {
  margin-top: 1.2rem;
  margin-bottom: .45rem;
  font-size: 1.08rem;
}

body#cms .page-content.page-cms p {
  margin-bottom: .9rem;
}

body#cms .page-content.page-cms ul,
body#cms .page-content.page-cms ol {
  margin-bottom: 1rem;
}

body#cms .page-content.page-cms img {
  max-width: 100%;
  height: auto;
}

body#cms .page-content.page-cms {
  overflow-wrap: anywhere;
}

/* =========================================================
   Plan du site
   ========================================================= */

body#sitemap #main .sitemap,
body#sitemap .sitemap {
  margin: 0 0 1.5rem;
  padding: 1.4rem 1.5rem 1.55rem;
  border: 3px solid var(--mde-yellow);
  border-radius: var(--mde-radius);
  background: var(--mde-cream);
  box-shadow: var(--mde-shadow);
}

body#sitemap #sitemap-box {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body#sitemap .sitemap h2,
body#sitemap .sitemap h3,
body#sitemap .sitemap .h2,
body#sitemap .sitemap .h3,
body#sitemap #sitemap-box h2,
body#sitemap #sitemap-box h3 {
  margin-bottom: .7rem;
  padding-bottom: .55rem;
  border-bottom: 1px solid rgba(27, 83, 126, .34);
  color: var(--mde-blue-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 400;
  text-transform: none;
}

body#sitemap .sitemap ul,
body#sitemap #sitemap-box ul {
  margin-bottom: .75rem;
}

body#sitemap .sitemap li,
body#sitemap #sitemap-box li {
  margin-bottom: .38rem;
  line-height: 1.4;
}

body#sitemap .sitemap ul ul,
body#sitemap #sitemap-box ul ul {
  margin-top: .35rem;
  margin-left: 1rem;
}

/* =========================================================
   Notre magasin / Stores
   ========================================================= */

body#stores #content.page-content.page-stores,
body#stores .page-content.page-stores,
body#stores #content.page-stores,
body#stores .page-stores {
  margin-bottom: 1.5rem;
  padding: 1.25rem 1.35rem;
  border: 3px solid var(--mde-yellow);
  border-radius: var(--mde-radius);
  background: var(--mde-cream);
  box-shadow: var(--mde-shadow);
}

body#stores .store-item {
  margin: 0;
  padding: 1.15rem .75rem;
  border: 0;
  border-bottom: 1px solid var(--mde-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body#stores .store-item:last-child {
  border-bottom: 0;
}

body#stores .store-item img,
body#stores .store-picture img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

body#stores .store-item .store-name,
body#stores .store-item h2,
body#stores .store-item h3,
body#stores .store-item .h3 {
  color: var(--mde-blue);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: none;
}

body#stores .store-item strong,
body#stores .store-item b {
  color: var(--mde-blue-dark);
}

body#stores .store-item .store-address,
body#stores .store-item .store-opening-hours,
body#stores .store-item .store-contact {
  color: var(--mde-ink);
}

body#stores .store-item .store-opening-hours {
  border-left-color: var(--mde-line);
}

body#stores .store-item-footer,
body#stores .store-contact {
  border-top-color: var(--mde-line);
}

/* =========================================================
   Contactez-nous
   Le formulaire lui-même reste dessiné par mde-forms.css.
   ========================================================= */

body#contact #main {
  margin-bottom: 1.5rem;
}

body#contact .contact-form {
  background: var(--mde-cream);
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 767px) {
  body#cms #content.page-content.page-cms,
  body#cms .page-content.page-cms,
  body#sitemap #main .sitemap,
  body#sitemap .sitemap,
  body#stores #content.page-content.page-stores,
  body#stores .page-content.page-stores,
  body#stores #content.page-stores,
  body#stores .page-stores {
    padding: 1rem;
    border-width: 3px;
    border-radius: 10px;
  }

  body#cms .page-content.page-cms {
    line-height: 1.48;
  }

  body#sitemap .sitemap > [class*="col-"] {
    margin-bottom: 1rem;
  }

  body#stores .store-item {
    padding: 1rem .25rem;
  }
}
