/* ==========================================================================
   PAGE : OFFRES & NOUVEAUTÉS (Design Éditorial)
   ========================================================================== */

:root {
  --color-accent: #c49d79;
  --color-plum: #9a1c6a;
  --color-pink: #b82b70;
  --bg-light: #fdfbf7;
  --text-dark: #1a1614;
  --text-muted: #666666;
  --border-light: rgba(0, 0, 0, 0.08);
}

.offres-main {
  background-color: var(--bg-light);
  min-height: calc(100vh - 100px);
  padding: 140px 0 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- EN-TÊTE DE LA PAGE --- */
.page-title-section {
  text-align: center;
  margin-bottom: 80px;
}

.section-surtitle {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: block;
}

.page-title-section h1 {
  font-family: "Playfair Display", serif;
  font-size: 54px;
  color: var(--text-dark);
  font-weight: 300;
  margin-bottom: 15px;
}

.page-title-section p {
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- GRILLE DES OFFRES --- */
.actu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px 50px;
}

/* --- CARTE OFFRE (Style Editorial) --- */
.actu-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.actu-image-wrapper {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 25px;
  background-color: #eee;
}

.actu-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.actu-card:hover .actu-image-wrapper img {
  transform: scale(1.05);
}

/* Badges (Promo, Nouveau, etc.) */
.actu-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  color: white;
  padding: 6px 14px;
  font-family: "Roboto", sans-serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

/* Méta (Date) */
.actu-meta {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

/* Titre */
.actu-title {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  color: var(--text-dark);
  margin: 0 0 15px 0;
  line-height: 1.3;
  font-weight: 400;
}

/* Description courte */
.actu-desc {
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 14.5px;
  margin: 0 0 25px 0;
  flex-grow: 1;
}

/* Lien de lecture */
.actu-readmore {
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s;
  font-weight: 500;
}

.actu-readmore::after {
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  background-color: var(--text-dark);
  transition: width 0.3s;
}

.actu-card:hover .actu-readmore {
  color: var(--color-accent);
}

.actu-card:hover .actu-readmore::after {
  width: 50px;
  background-color: var(--color-accent);
}

/* --- MESSAGE VIDE --- */
.empty-message {
  text-align: center;
  grid-column: 1 / -1;
  padding: 80px 40px;
  background-color: #ffffff;
  border: 1px dashed var(--border-light);
}

.empty-message p {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-message a {
  color: var(--color-accent);
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--color-accent);
}

/* --- BOUTON SCROLL TOP --- */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  width: 45px;
  height: 45px;
  border: 1px solid var(--border-light);
  background-color: #ffffff;
  color: var(--text-dark);
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

#myBtn:hover {
  background-color: var(--text-dark);
  color: #ffffff;
  border-color: var(--text-dark);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .offres-main {
    padding: 100px 0 60px 0;
  }
  .page-title-section h1 {
    font-size: 42px;
  }
  .actu-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}
