/* ============================================================
   solutions.css — Styles pour solutions.php v2
   Affuteuse Diffusion
   ============================================================ */

/* Dropdown menu */
.dropdown-menu {
  border-radius: 0; border: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: 10px 0; margin-top: 0;
  background: #fff;
}
.dropdown-item {
  padding: 10px 25px; font-size: 14px; color: #333;
  position: relative; display: flex;
  justify-content: space-between; align-items: center;
}
.dropdown-item:hover { background: #f8f9fa; color: #05205e; }
.dropdown-item.active, .dropdown-item:active { color: #05205e; }
.nav-item.dropdown:hover > .dropdown-menu { display: block; }
.submenu-container { position: relative; }
.dropdown-submenu {
  display: none; position: absolute; left: 100%; top: 0;
  background: #fff; min-width: 220px;
  box-shadow: 8px 8px 24px rgba(0,0,0,.12);
  border-left: 2px solid #05205e; z-index: 1000;
}
.submenu-container:hover > .dropdown-submenu { display: block; }
@media (max-width: 991px) {
  .dropdown-submenu {
    position: static; display: none; box-shadow: none;
    border-left: none; padding-left: 20px; background: #fdfdfd;
  }
  .submenu-container:hover > .dropdown-submenu { display: block; }
  .dropdown-item i { transform: rotate(90deg); }
}

/* Hero */
.page-hero-blog {
  background: var(--blue);
  padding: 2rem 0 3rem;
  position: relative; overflow: hidden; text-align: left !important;
}
.page-hero-blog .container {
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 1.2);
}
.page-hero-blog::before, .page-hero-blog::after {
  content: ""; position: absolute; pointer-events: none;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-position: center; mask-position: center;
  background-color: rgba(255,255,255,.12);
  animation: gear-rotate 40s linear infinite;
}
.page-hero-blog::before {
  left: -100px; bottom: -100px; width: 450px; height: 450px;
  mask-image: url("../svg/fraise2.svg");
  -webkit-mask-image: url("../svg/fraise2.svg");
}
.page-hero-blog::after {
  right: -50px; top: -15%; width: 400px; height: 400px;
  mask-image: url("../svg/fraise1.svg");
  -webkit-mask-image: url("../svg/fraise1.svg");
   animation-duration: 60s;
}
@keyframes gear-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.page-hero-blog h1 {
  color: #fff; font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; margin-bottom: .5rem;
  position: relative; z-index: 1;
}
.page-hero-blog p {
  color: rgba(255,255,255,.7); font-size: 1.05rem;
  position: relative; z-index: 1;
}

/* Breadcrumb */
.breadcrumb-blog { font-size: .8rem; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.breadcrumb-blog a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb-blog a:hover { color: #fff; }

/* Section filtres */
.search-filter-section {
  background: #f4f6fa;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.filter-label {
  display: block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  color: #555; margin-bottom: .4rem;
}
.search-input-wrap { position: relative; }
.search-icon {
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%); color: #999; font-size: .85rem;
  pointer-events: none; z-index: 2;
}
.filter-input {
  border: 1px solid #dde0e6 !important;
  border-radius: 15px !important; font-size: .9rem !important;
  background: #fff !important; color: #333 !important;
  transition: border-color .2s, box-shadow .2s;
  height: 55px !important;
}
.filter-input:focus {
  border-color: #05205e !important;
  box-shadow: 0 0 0 3px rgba(5,32,94,.1) !important; outline: none;
}
.btn-blue {
  background: var(--blue, #05205e); color: #fff;
  border: none; border-radius: 15px; height: 55px;
  font-size: .9rem; transition: background .2s;
}
.btn-blue:hover { background: #031540; color: #fff; }

/* Filtres actifs */
.filter-active-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  font-size: .82rem; padding-top: .5rem;
}
.filter-active-label { font-weight: 700; color: #555; }
.filter-tag {
  background: #05205e; color: #fff;
  padding: .2rem .7rem; border-radius: 20px; font-size: .8rem;
}
.filter-count {
  margin-left: auto; font-weight: 600; color: #777; font-size: .82rem;
}

/* Section intro marque */
.intro-brand-section .lead {
  color: var(--dark); font-weight: 500;
  font-size: 1.15rem; line-height: 1.7; margin-bottom: 0;
}
.brand-section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 900;
  color: var(--blue); margin-bottom: .4rem;
}
.brand-section-divider {
  width: 60px; height: 4px; background: var(--blue);
  border: none; border-radius: 2px; margin: 0 0 1.5rem; opacity: 1;
}

/* Cartes machines */
.machine-card {
  display: block; background: #fff; border-radius: 15px;
  padding: 25px; height: 100%;
  text-decoration: none !important; color: inherit !important;
  box-shadow: 0 4px 20px rgba(5, 32, 94, 0.08);
  transition: all .3s ease;
}
.machine-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(5, 32, 94, 0.16);
}
.machine-card img {
  width: 100%; height: auto; border-radius: 15px;
  margin-bottom: 20px; object-fit: cover; aspect-ratio: 4/3;
}
.machine-card h5 { font-weight: 800; font-size: 1.15rem; margin-bottom: 12px; color: #111; }
.machine-card p { font-size: .95rem; line-height: 1.6; color: #666; margin-bottom: 12px; }
.machine-card-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .85rem; font-weight: 700; color: var(--blue);
  margin-top: auto;
}
.machine-card-cta i { font-size: .75rem; transition: transform .2s; }
.machine-card:hover .machine-card-cta i { transform: translateX(4px); }

/* Section liste */
.section-list { background: #fcfcfc; }

/* Séparateur marque */
.brand-separator {
  border: none; border-top: 2px solid rgba(0,0,0,.06);
  margin: 2rem 0 3rem;
}

/* Aucun résultat */
.no-results-box {
  padding: 4rem 2rem; max-width: 480px; margin: 0 auto;
}
.no-results-icon {
  font-size: 3.5rem; color: #ccc; display: block; margin-bottom: 1.5rem;
}
.no-results-box h3 { font-weight: 800; color: #333; margin-bottom: .75rem; }
.no-results-box p { color: #777; }
.no-results-box a { color: var(--blue); font-weight: 600; }

/* Espaceur footer */
.footer-spacer { height: 7rem; background: #fff; width: 100%; }

/* Liens footer*/
.footer-phone-link { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-legal-link { color: rgba(255,255,255,.45); text-decoration: none; }

/* Animation reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: all .6s ease-out; }
.reveal.visible { opacity: 1; transform: translateY(0); }