/* ============================================================
   fiche-produit.css — styles pour fiche-produit.php
   Affuteuse Diffusion
   ============================================================ */

.btn,
.btn-outline-white,
.btn-blue,
.hero-nav-btn,
.btn-black,
.btn-outline-black-header {
  width: fit-content;
  color: #ffffff !important;
  background-color: #05205e !important;
  border: 1px solid #ffffff !important;
  border-radius: 15px !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* ── Dropdown menu ─────────────────────────────────────────── */
.dropdown-menu {
  border-radius: 0;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 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, 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, 0.12);
  animation: gear-rotate 40s linear infinite;
}
.page-hero-blog::before {
  left: -100px;
  bottom: -100px;
  width: 450px;
  height: 450px;
  mask-image: url("../../assets/svg/fraise2.svg");
  -webkit-mask-image: url("../../assets/svg/fraise2.svg");
}
.page-hero-blog::after {
  right: -50px;
  top: -15%;
  width: 400px;
  height: 400px;
  mask-image: url("../../assets/svg/fraise1.svg");
  -webkit-mask-image: url("../../assets/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: 0.5rem;
  position: relative;
  z-index: 1;
}
.page-hero-blog p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}
.breadcrumb-blog {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}
.breadcrumb-blog a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}
.breadcrumb-blog a:hover {
  color: #fff;
}

/* ── Image principale (type 1) ──────────────────────────────── */
.product-main-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s;
}

/* ── Galerie vignettes ──────────────────────────────────────── */
.product-gallery .thumb {
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}
.product-gallery .thumb:hover,
.product-gallery .thumb.active {
  border-color: #111;
}
.product-gallery .thumb img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

/* Image principale (type 2) */
#main-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: opacity 0.3s;
}

/* ── Points forts ───────────────────────────────────────────── */
.points-forts-list li {
  font-size: 0.97rem;
  line-height: 1.6;
  color: #333;
}
.points-forts-list .fas.fa-check {
  color: #05205e;
  margin-right: 0.5rem;
}

/* ── Description longue (type 2) ───────────────────────────── */
.desc-longue {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
}
.desc-longue p {
  margin-bottom: 1rem;
}

/* ── Tableau données techniques ─────────────────────────────── */
.bg-custom-blue {
  background-color: #05205e !important;
}

/* ── Cards équipements (type 2) ─────────────────────────────── */
.equip-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  padding: 1.5rem;
  height: 100%;
  transition: box-shadow 0.2s;
}
.equip-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.equip-card h6 {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.equip-card p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}
.equip-card .equip-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1rem;
}

/* ── Révélation au scroll ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.d-flex.flex-wrap.gap-4 {
  gap: 1.5rem !important; /* ajustez la valeur selon vos besoins */
}