/* =========================================================
   ===============   SECTION HERO (DESKTOP)   ===============
   ========================================================= */

.home_hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.home_hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.home_hero_overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 5%;
}

.home_hero_content {
  color: #fff;
  max-width: 700px;
  z-index: 2;
}

.home_hero_content h1 {
  font-size: 2.6em;
  margin-bottom: 10px;
  font-weight: 800;
}

.home_hero_content p {
  font-size: 1.2em;
  line-height: 1.6;
}


/* =========================================================
   ===============   SECTION À PROPOS   ====================
   ========================================================= */

.home_about {
  background: #fff;
  padding: 30px 20px 10px;
  position: relative;
  z-index: 5;
}

.home_about_box {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  gap: 0px 12px;
  max-width: 1100px;
  margin: -60px auto 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
  padding: 40px;
}

.home_about_titles {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
}

.home_about_titles h2 {
  font-size: 0.9em;
  color: #333;
  margin: 0 0 2px;
  font-weight: 700;
}

.home_about_titles h3 {
  font-size: 1.4em;
  color: #222;
  margin: 0 0 8px;
  font-weight: 800;
}

.home_about_image {
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  align-self: start;
}

.home_about_image img {
  width: 120px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.home_about_text {
  grid-column: 1;
  grid-row: 2;
  font-size: 1.05em;
  line-height: 1.6;
  color: #444;
  margin: 0;
  align-self: start;
}

.home_about_cta {
  grid-column: 1;
  grid-row: 3;
  text-align: left;
  margin-top: 8px;
  align-self: start;
}

.btn {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
}


/* =========================================================
   ===============   SECTION SLIDER PRODUITS   =============
   ========================================================= */

.home_shop {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
  margin-top: 10px;
  position: relative;
  z-index: 5;
}

.home_shop_title {
  font-size: 2.2em;
  font-weight: 800;
  color: #111;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home_shop_slider_wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.home_shop_slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.home_shop_slider::-webkit-scrollbar {
  display: none;
}

.auction_card {
  flex: 0 0 auto;
  width: 220px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  scroll-snap-align: start;
}

.auction_image {
  width: 220px;
  height: 300px;
  background: #fafafa;
  overflow: hidden;
}

.auction_image img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

.auction_info {
  width: 100%;
  text-align: left;
}

.auction_title {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}

.auction_price {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.slide_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #111;
  border: 1px solid #ccc;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10;
}

.slide_btn.left  { left: 10px; }
.slide_btn.right { right: 10px; }
.slide_btn:hover { background: #f0f0f0; }

.home_shop_separator {
  border: none;
  border-top: 1px solid #ddd;
  margin: 40px auto 0;
  max-width: 1000px;
}


/* =========================================================
   ===============   SECTION ÉVÉNEMENTS HOME   ==============
   ========================================================= */

.home_events {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
  margin-top: 10px;
  position: relative;
  z-index: 5;
}

.home_events_title {
  font-size: 2.2em;
  font-weight: 800;
  color: #111;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.home_events_grid {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto 24px;
}

.home_event_card {
  flex: 0 0 auto;
  width: 220px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.home_event_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.home_event_img {
  position: relative;
  width: 220px;
  height: 300px;
  overflow: hidden;
  background: #fafafa;
}

.home_event_img img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.home_event_card:hover .home_event_img img {
  transform: scale(1.04);
}

.home_event_noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #9ca3af;
}

.home_event_badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #111;
  color: #fff;
  border-radius: 6px;
  padding: 5px 9px;
  text-align: center;
  min-width: 44px;
}

.home_event_day {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.home_event_month {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 2px;
}

.home_event_body {
  padding: 6px 0 0;
}

.home_event_name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 0 0 2px;
}

.home_event_lieu {
  font-size: 12px;
  color: #666;
  margin: 0;
}

.home_events_cta {
  margin-top: 20px;
  text-align: center;
}


/* =========================================================
   ===============   VERSION MOBILE (≤ 768px)   =============
   ========================================================= */

@media (max-width: 768px) {

  /* ---------- HERO ---------- */
  .home_hero {
    padding-top: 20px;
    padding-bottom: 30px;
  }

  .home_hero_overlay {
    padding: 0 5% 16px;
  }

  .home_hero_content h1 {
    font-size: 1.2em;
    margin-bottom: 8px;
  }

  .home_hero_content p {
    font-size: 0.95em;
    line-height: 1.4;
  }

  /* ---------- À PROPOS ---------- */
  .home_about {
    padding: 20px 12px 10px;
  }

  .home_about_box {
    max-width: 100%;
    margin-top: -60px;
    padding: 20px;
    gap: 0px 10px;
  }

  .home_about_titles h2 {
    font-size: 1em;
  }

  .home_about_titles h3 {
    font-size: 1.2em;
    margin-bottom: 8px;
  }

  .home_about_image img {
    width: 65px;
  }

  .home_about_text {
    font-size: 0.95em;
  }

  .home_about_cta {
    text-align: center;
  }

  /* ---------- SLIDER ---------- */
  .home_shop {
    margin-top: 10px !important;
    padding: 20px 12px !important;
    background-color: #fff;
  }

  .home_shop_title {
    font-size: 1.4em;
    margin-bottom: 12px;
  }

  .auction_card {
    width: 160px;
    min-height: 260px;
    padding-bottom: 0 !important;
  }

  .auction_image {
    width: 160px;
    height: 200px;
  }

  .auction_image img {
    width: 160px;
    height: 200px;
  }

  .auction_title { font-size: 12px; }
  .auction_price { font-size: 16px; }

  .home_shop_separator {
    margin: 10px auto 0 !important;
  }

  .home_shop_slider,
  .home_shop_slider_wrapper,
  .auction_card {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  /* ---------- ÉVÉNEMENTS ---------- */
  .home_events {
    margin-top: 10px !important;
    padding: 20px 12px !important;
    background-color: #fff;
  }

  .home_events_title {
    font-size: 1.4em;
    margin-bottom: 12px;
  }

  .home_event_card {
    width: 160px;
  }

  .home_event_img,
  .home_event_img img {
    width: 160px;
    height: 200px;
  }

  .home_event_name { font-size: 12px; }
  .home_event_lieu { font-size: 11px; }
}