/* =======================================================
   Mecaloc33 — ajustements (coup de neuf, sans tout changer)
   ======================================================= */

/* ---- Section "Que faisons-nous" : plus lisible ---- */
#about p { font-size: 16px; line-height: 1.7; }
#about ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 24px;
}
#about ul li {
  position: relative;
  padding-left: 26px;
  line-height: 1.6;
}
#about ul li::before {
  content: "\f058"; /* fa-check-circle */
  font-family: "Font Awesome 6 Free", "FontAwesome";
  font-weight: 900;
  color: #f5a623;
  position: absolute;
  left: 0;
  top: 1px;
}
@media (max-width: 600px){ #about ul { grid-template-columns: 1fr; } }

/* ---- Boutons hero : petit polish (hover) ---- */
.pur_button a, .pur_button-white a, .btn-light {
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.pur_button a:hover, .pur_button-white a:hover, .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

/* ---- Barre d'actions flottante (mobile) ---- */
.floating-actions { display: none; }
@media (max-width: 767px){
  .floating-actions{
    display: flex;
    position: fixed;
    left: 10px; right: 10px; bottom: 10px;
    z-index: 9999;
    gap: 10px;
  }
  .floating-actions a{
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 8px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
  }
  .floating-actions .fab-call  { background: #1e9e54; }
  .floating-actions .fab-quote { background: #f5a623; }
  .floating-actions i { font-size: 16px; }
  /* évite que la barre masque le bas du footer */
  body { padding-bottom: 76px; }
}

/* =======================================================
   Header — refonte légère (top bar + navigation)
   ======================================================= */

/* ---- Top bar (disposition propre, classes dédiées) ---- */
.mc-topbar-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.mc-logo { flex: 0 0 auto; line-height: 0; }
.mc-logo img { height: 84px; width: auto; display: block; }
.mc-info { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: 1 1 0; }
.mc-info-right { justify-content: flex-end; }
.mc-info-ic {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%;
  background: #f5a623; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(245,166,35,.35); transition: transform .2s ease;
}
.mc-info-ic i { color: #1f2430; font-size: 19px; line-height: 1; }
.mc-info:hover .mc-info-ic { transform: translateY(-2px); }
.mc-info-txt { display: flex; flex-direction: column; line-height: 1.3; }
.mc-info-txt b { color: #2b2f3a; font-size: 16px; font-weight: 700; }
.mc-info-txt small { color: #7b818f; font-size: 13px; }
.mc-txt-right { text-align: right; }
@media (max-width: 767px) {
  .mc-topbar-grid { flex-direction: column; gap: 14px; padding: 14px 0; }
  .mc-info, .mc-info-right { justify-content: center; flex: 0 0 auto; }
  .mc-txt-right { text-align: center; }
  .mc-logo { order: -1; }
  .mc-logo img { height: 72px; }
}

/* ---- Menu sticky : bande unifiée (même couleur que le pill) ---- */
#navigation.affix, #navigation.affix-bottom { background-color: rgb(36,36,44) !important; box-shadow: 0 2px 12px rgba(0,0,0,.28); }
#navigation.affix .navbar, #navigation.affix-bottom .navbar { border-radius: 0 !important; box-shadow: none !important; }

/* ---- Couleur unifiée : menu + sections foncées = rgb(36,36,44) ---- */
#navigation .navbar, #navigation .navbar-default,
#navigation .navbar.top-nav-collapse, #navigation .navbar.default, #navigation nav.navbar {
  background-color: rgb(36,36,44) !important; background-image: none !important;
}
#index1-recent { background-color: rgb(36,36,44) !important; }
#index1-contact { background-image: none !important; background-color: rgb(36,36,44) !important; }

/* ---- Navigation : barre plus nette, liens centrés, soulignement animé ---- */
@media (min-width: 768px) {
  #navigation .navbar,
  #navigation .navbar-default {
    background: rgb(36,36,44) !important; border: 0; border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0,0,0,.20); margin-bottom: 0; min-height: 0;
  }
  #navigation .navbar-nav { float: none; text-align: center; margin: 0; }
  #navigation .navbar-nav > li { float: none; display: inline-block; }
  #navigation .navbar-nav > li > a {
    color: #e8eaf0; text-transform: uppercase; letter-spacing: .6px;
    font-weight: 600; font-size: 14px; padding: 20px 24px;
    position: relative; background: transparent; transition: color .2s ease;
  }
  #navigation .navbar-nav > li > a::after {
    content: ""; position: absolute; left: 24px; right: 24px; bottom: 12px;
    height: 2px; background: #f5a623; transform: scaleX(0);
    transform-origin: left; transition: transform .22s ease;
  }
  #navigation .navbar-nav > li > a:hover { color: #fff; background: transparent; }
  #navigation .navbar-nav > li > a:hover::after { transform: scaleX(1); }
  #navigation .navbar-nav > li.active > a,
  #navigation .navbar-nav > li.active > a:hover {
    color: #1f2430; background: #f5a623; border-radius: 6px;
  }
  #navigation .navbar-nav > li.active > a::after { display: none; }
}

/* ---- Titre des pages légales en H1, même rendu que les H2 de section ---- */
.page-block h1.page-title { font-family: ralewaybold, sans-serif; font-size: 32px; font-weight: 400; line-height: 1.4; letter-spacing: 1px; color: #111; margin: 20px 0 10px; }
@media (max-width: 767px) { .page-block h1.page-title { font-size: 22px; } }
