/* ==========================================================================
   PAGE : DÉTAIL D'UNE OFFRE (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);
}

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

.container {
  max-width: 1000px; /* Plus étroit pour un confort de lecture optimal */
  margin: 0 auto;
  padding: 0 40px;
}

/* --- EN-TÊTE DE L'ARTICLE --- */
.article-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.article-title {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  color: var(--text-dark);
  font-weight: 400;
  line-height: 1.2;
  max-width: 850px;
  margin: 0 auto;
}

/* --- IMAGE PRINCIPALE --- */
.article-hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  background-color: #eee;
  margin-bottom: 60px;
  overflow: hidden;
}

.article-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- CONTENU DE L'ARTICLE --- */
.article-content {
  max-width: 750px;
  margin: 0 auto;
  font-family: "Roboto", sans-serif;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.article-content p {
  margin-bottom: 25px;
}

.article-content h2,
.article-content h3 {
  font-family: "Playfair Display", serif;
  color: var(--text-dark);
  margin: 40px 0 20px 0;
  font-weight: 400;
}

.article-content ul,
.article-content ol {
  margin-bottom: 25px;
  padding-left: 20px;
}

.article-content li {
  margin-bottom: 10px;
}

.article-content strong {
  color: var(--text-dark);
  font-weight: 500;
}

/* --- BOUTON D'ACTION --- */
.article-action {
  text-align: center;
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px dashed var(--border-light);
}

.article-btn {
  display: inline-block;
  padding: 16px 45px;
  background-color: var(--text-dark);
  color: #ffffff;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s;
}

.article-btn:hover {
  background-color: var(--color-accent);
}

/* --- LIEN RETOUR --- */
.back-link-wrapper {
  text-align: center;
  margin-top: 60px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  font-family: "Roboto", sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.back-link svg {
  width: 18px;
  height: 18px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.back-link:hover {
  color: var(--text-dark);
}

.back-link:hover svg {
  transform: translateX(-5px);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .article-main {
    padding: 100px 0 60px 0;
  }
  .article-title {
    font-size: 36px;
  }
  .article-hero-image {
    aspect-ratio: 4 / 3;
    margin-bottom: 40px;
  }
}
