/* ==========================================================================
   Daytona ANIMA — daytona-home-v1.0.0.css
   Page d'accueil : grille "Produits phares" en 3 cartes blanches encadrees
   avec ombre + hover orange. Cible #Top .products_sec .daytona-featured-grid.
   ========================================================================== */

/* Section produits : respiration avant le footer */
#Top .products_sec {
  padding: 60px 0 80px;
  background: #fafafa;
}
#Top .products_sec .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Titre de section */
#Top .products_sec .sec_ttl {
  font-family: 'Khand', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: #000;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 14px;
}
#Top .products_sec .sec_ttl::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: #eb6100;
}

/* Grille : 3 colonnes egales */
#Top .daytona-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#Top .daytona-featured-grid > li {
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
}

/* Carte */
#Top .daytona-featured-grid > li > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
#Top .daytona-featured-grid > li > a:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(235,97,0,0.18);
  border-color: #eb6100;
}

/* Image cadree */
#Top .daytona-featured-grid figure {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f4f4f4;
  overflow: hidden;
}
#Top .daytona-featured-grid figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
#Top .daytona-featured-grid > li > a:hover figure img {
  transform: scale(1.05);
}

/* Libelle categorie (orange) */
#Top .daytona-featured-grid .featured-cat {
  display: block;
  font-family: 'Khand', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  color: #eb6100;
  padding: 18px 20px 0;
}

/* Titre produit */
#Top .daytona-featured-grid p {
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 6px 0 0;
  padding: 0 20px 22px;
}

/* Responsive : 1 colonne sur mobile, 2 sur tablette */
@media (max-width: 900px) {
  #Top .daytona-featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  #Top .daytona-featured-grid { grid-template-columns: 1fr; gap: 20px; }
  #Top .products_sec { padding: 40px 0 50px; }
  #Top .products_sec .sec_ttl { font-size: 24px; }
}

/* ==========================================================================
   v1.1.0 : CORRECTIF SLIDER HERO
   Le style.css cible "#Top main .mv_sec" (main imbrique) qui n'existe pas
   dans index.tpl -> regles non appliquees (hauteur 49px, fond absent).
   On re-cible avec le bon selecteur "#Top .mv_sec". CSS pur : meme sans le
   swiper JS, la 1ere slide s'affiche en grand bandeau.
   ========================================================================== */
#Top .mv_sec {
  height: 590px;
  position: relative;
  overflow: hidden;
}
#Top .mv_sec .swiper {
  width: 100%;
  height: 540px;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  top: 0;
}
#Top .mv_sec .swiper .swiper-wrapper { height: 100%; }
#Top .mv_sec .swiper .swiper-wrapper .swiper-slide { height: 100%; }
#Top .mv_sec .swiper .swiper-slide .img_wrap {
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
#Top .mv_sec .swiper-slide .img_wrap.img01 { background-image: url('../img/top/main01.jpg'); }
#Top .mv_sec .swiper-slide .img_wrap.img02 { background-image: url('../img/top/main02.jpg'); }
#Top .mv_sec .swiper-slide .img_wrap.img03 { background-image: url('../img/top/main03.jpg'); }
#Top .mv_sec .swiper-slide .img_wrap.img04 { background-image: url('../img/top/main04.jpg'); }

/* Sans swiper JS : empiler masque tout sauf la 1ere slide (effet bandeau fixe) */
#Top .mv_sec .swiper:not(.swiper-initialized) .swiper-wrapper {
  display: block;
}
#Top .mv_sec .swiper:not(.swiper-initialized) .swiper-slide {
  display: none;
}
#Top .mv_sec .swiper:not(.swiper-initialized) .swiper-slide:first-child {
  display: block;
}

/* Fleche de scroll bien positionnee */
#Top .mv_sec #scrollArrow {
  position: absolute;
  right: 40px;
  bottom: 30px;
  z-index: 5;
}
#Top .mv_sec #scrollArrow img { width: 24px; height: auto; }

@media (max-width: 768px) {
  #Top .mv_sec { height: 380px; }
  #Top .mv_sec .swiper { height: 340px; }
}
