/* MODELCO Distribution – personnalisation de Cassiopeia */
:root {
  --modelco-orange: #ff7e00;
  --modelco-orange-fonce: #d96a00;
  --modelco-noir: #1a171b;
  --cassiopeia-color-primary: #1a171b;
  --cassiopeia-color-link: #c25f00;
  --cassiopeia-color-hover: #ff7e00;
}

/* En-tête blanc avec liseré orange (le logo est noir et orange) */
.container-header {
  background: #fff;
  background-image: none;
  border-bottom: 4px solid var(--modelco-orange);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}
.container-header .navbar-brand { color: var(--modelco-noir); }
.container-header .brand-logo img { max-height: 70px; width: auto; }
.container-header .site-description { color: #555; font-size: .95rem; }
.container-header .navbar-toggler { color: var(--modelco-noir); border-color: var(--modelco-noir); }
.container-header .metismenu > li > a,
.container-header .metismenu > li > button,
.container-header .mod-menu > li > a { color: var(--modelco-noir); font-weight: 600; }
.container-header .metismenu > li.active > a,
.container-header .metismenu > li > a:hover,
.container-header .metismenu > li > button:hover { color: var(--modelco-orange-fonce); }
.container-header .metismenu > li > a::after { background: var(--modelco-orange); }
.container-header .metismenu .mm-collapse { background: #fff; border: 1px solid #eee; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); }
.container-header .metismenu .mm-collapse a { color: var(--modelco-noir); }
.container-header .metismenu .mm-collapse a:hover { color: var(--modelco-orange-fonce); background: #fff4e8; }

/* Boutons */
.btn-primary { background: var(--modelco-orange); border-color: var(--modelco-orange); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--modelco-orange-fonce); border-color: var(--modelco-orange-fonce); color: #fff; }
.btn-secondary { background: var(--modelco-noir); border-color: var(--modelco-noir); color: #fff; }
.btn-secondary:hover { background: #3a353b; border-color: #3a353b; color: #fff; }

/* Accueil */
.hero { background-size: cover; background-position: center; border-radius: .5rem; margin-bottom: 2.5rem; }
.hero-inner { background: rgba(26, 23, 27, .68); color: #fff; padding: 4.5rem 2rem; border-radius: .5rem; }
.hero-inner h1 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.hero-inner p { font-size: 1.15rem; max-width: 46rem; }
.bloc { margin: 3rem 0; }
.bloc h2 { margin-bottom: 1.5rem; }
.carte-gamme { display: flex; flex-direction: column; height: 100%; border: 1px solid #e5e5e5; border-radius: .5rem;
  overflow: hidden; text-decoration: none; color: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
.carte-gamme:hover { border-color: var(--modelco-orange); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
.carte-gamme img { width: 100%; height: 190px; object-fit: contain; padding: 1rem; background: #fff; }
.carte-gamme .titre { display: block; padding: 0 1rem; font-weight: 700; font-size: 1.15rem; color: var(--modelco-noir); }
.carte-gamme .desc { display: block; padding: .3rem 1rem 1.1rem; color: #666; font-size: .92rem; }
.partenaires img { max-height: 80px; object-fit: contain; }
.cta { background: #fff4e8; padding: 2.5rem 1rem; border-radius: .5rem; }
.cta .tel { display: inline-block; margin-left: .5rem; }

/* Listes de produits (blog des catégories) */
.blog-items .blog-item .item-image { text-align: center; background: #fff; }
.blog-items .blog-item .item-image img { width: 100%; height: 210px; object-fit: contain; padding: .75rem; }
.blog-items .blog-item h2 { font-size: 1.15rem; }
.blog-items .blog-item .readmore .btn { background: var(--modelco-orange); border-color: var(--modelco-orange); color: #fff; }

/* Fiche produit */
.produit-photo { max-height: 440px; width: auto; }
.specs th { width: 45%; font-weight: 600; }
.galerie img { border: 1px solid #eee; border-radius: .25rem; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; }
.actions-produit { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 1rem; }

/* Contact */
.coordonnees { background: #f7f7f7; padding: 1.5rem; border-radius: .5rem; height: 100%; }
.carte iframe { width: 100%; height: 380px; border: 0; border-radius: .5rem; }

/* Pied de page */
.footer { background: var(--modelco-noir); background-image: none; }
.footer a { color: #ffb066; }
.footer .pied { font-size: .95rem; line-height: 1.7; }
.footer .copyright { margin: 1.5rem 0 0; opacity: .7; font-size: .85rem; }
