/* =====================================================
   BANNER
===================================================== */
.banner {
  background-color: #ffd700;
  color: #0f2430;
  padding: 12px 0;
  font-weight: 700;
  font-size: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  white-space: nowrap;
}

.banner-track {
  display: inline-flex;
  width: max-content;
  animation: marquee 18s linear infinite;
}

.banner-track span {
  padding-right: 60px;
}

.banner:hover .banner-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .banner {
    font-size: 14px;
    padding: 10px 0;
  }
  .banner-track {
    animation-duration: 12s;
  }
}

/* =====================================================
   BASE
===================================================== */
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans", sans-serif;
  background-color: #ffffff;
  overflow-x: hidden;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =====================================================
   HEADER
===================================================== */
.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  flex-shrink: 0;
}

.brand-name {
  font-size: 28px;
  font-weight: 800;
  color: #1f2937;
  margin: 0;
  line-height: 1;
}

.brand-location {
  font-size: 13px;
  color: #d97706;
  font-weight: 500;
  margin: 4px 0 0 0;
}

.header-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.header-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-item:hover {
  color: #d97706;
}

.nav-item.active {
  color: #d97706;
  font-weight: 600;
  position: relative;
}

.nav-item.active:after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #d97706;
}

.mobile-btn {
  font-size: 28px;
  background: none;
  border: none;
  color: #374151;
  cursor: pointer;
  display: none;
}

/* Menu mobile */
@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .mobile-btn {
    display: block;
  }

  .header-inner {
    justify-content: space-between;
  }

  .header-nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    gap: 15px;
    z-index: 1000;
  }

  .header-nav.active .nav-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-size: 1.1rem;
  }
}

@media (max-width: 1024px) {
  .header-inner {
    padding: 16px 20px;
  }
  .header-logo {
    height: 52px;
  }
}

/* =====================================================
   HERO ARTICLE (corrigé)
===================================================== */
.article-hero {
  min-height: 260px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
}

.article-hero .hero-overlay {
  width: 100%;
  max-width: 900px;
  padding: 40px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Fil d'Ariane centré */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  opacity: 0.9;
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb span {
  color: rgba(255,255,255,0.6);
}

/* Titre centré */
.hero-title {
  text-align: center;
  margin: 0 0 16px 0;
  font-size: 2.4rem;
  line-height: 1.25;
  font-weight: 700;
  color: #fff;
}

/* Metas centrées */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 0.95rem;
  opacity: 0.95;
  margin-top: 4px;
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-meta i {
  opacity: 0.8;
}

/* =====================================================
   CONTAINER ARTICLE
===================================================== */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 20px 90px;   /* espace réduit entre hero et image */
}

/* Image principale */
.article-featured-image {
  margin-bottom: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin: 12px 0 30px;
  font-style: italic;
}

/* =====================================================
   CHAPÔ + PARTAGE
===================================================== */
.article-lead {
  font-size: 1.35rem;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.65;
  margin-bottom: 30px;
  text-align: justify;
  text-justify: inter-word;
}

.share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.share-label {
  font-size: 0.9rem;
  color: #666;
  margin-right: 4px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  font-size: 0.95rem;
}

.share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.twitter  { background: #000; }
.share-btn.copy-link { background: #555; }

/* =====================================================
   CONTENU ARTICLE (texte justifié)
===================================================== */
.article-content {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #333;
  text-align: justify;
  text-justify: inter-word;
}

.article-content h2 {
  margin: 42px 0 16px;
  font-size: 1.55rem;
  color: #111;
  text-align: left;          /* titres restent à gauche */
}

.article-content p {
  margin-bottom: 20px;
  text-align: justify;
  text-justify: inter-word;
}

.article-quote {
  margin: 45px 0;
  padding: 28px 32px;
  background: #f8f5f0;
  border-left: 5px solid #c9a227;
  font-style: italic;
  font-size: 1.25rem;
  color: #444;
  border-radius: 0 12px 12px 0;
  text-align: left;
}

.article-quote cite {
  display: block;
  margin-top: 14px;
  font-size: 0.95rem;
  font-style: normal;
  color: #777;
}

/* =====================================================
   TITRES DE SECTION
===================================================== */
.section-title {
  font-size: 1.6rem;
  margin-bottom: 28px;
  color: #111;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #c9a227;
  border-radius: 2px;
}

/* =====================================================
   GALERIE
===================================================== */
.article-gallery {
  margin: 55px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* =====================================================
   STATS
===================================================== */
.stats-block {
  margin: 55px 0;
  padding: 40px 30px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  color: #fff;
}

.stats-block .section-title {
  color: #fff;
  text-align: center;
}

.stats-block .section-title::after {
  left: 50%;
  transform: translateX(-50%);
  background: #c9a227;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}

.stat-card {
  text-align: center;
  padding: 20px 10px;
}

.stat-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
  color: #c9a227;
  line-height: 1.2;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 6px;
}

/* =====================================================
   TÉMOIGNAGES
===================================================== */
.testimonials {
  margin: 55px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial-card {
  background: #fafafa;
  border-radius: 16px;
  padding: 28px 24px;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.testimonial-stars {
  color: #c9a227;
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  color: #111;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: #777;
}

/* =====================================================
   VIDÉO
===================================================== */
.video-section {
  margin: 55px 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  margin-top: 14px;
  font-style: italic;
}

/* =====================================================
   PARTENAIRES
===================================================== */
.partners-section {
  margin: 55px 0;
  text-align: center;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.partner-logo {
  width: 140px;
  height: 70px;
  background: #f5f5f5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #555;
  font-size: 0.9rem;
}

/* =====================================================
   CTA
===================================================== */
.cta-block {
  margin: 60px 0;
  padding: 50px 40px;
  background: linear-gradient(135deg, #c9a227 0%, #e8c547 100%);
  border-radius: 20px;
  text-align: center;
  color: #1a1a1a;
}

.cta-block h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.cta-block p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: #1a1a1a;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 600;
  border: 2px solid #1a1a1a;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #1a1a1a;
  color: #fff;
}

/* =====================================================
   ARTICLES SIMILAIRES
===================================================== */
.related-articles {
  margin: 60px 0 40px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.related-card {
  display: block;
  text-decoration: none;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee;
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.related-content {
  padding: 18px;
}

.related-date {
  font-size: 0.8rem;
  color: #c9a227;
  font-weight: 600;
}

.related-content h3 {
  font-size: 1.05rem;
  color: #111;
  margin: 6px 0 8px;
}

.related-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* =====================================================
   BOUTON RETOUR
===================================================== */
.article-actions {
  margin-top: 50px;
  text-align: center;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: #1a1a1a;
  color: white;
  text-decoration: none;
  border-radius: 40px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-back:hover {
  background: #c9a227;
  color: #111;
  transform: translateY(-2px);
}

/* =====================================================
   FOOTER
===================================================== */
.main-footer {
  background-color: #111827;
  color: #9ca3af;
  padding: 70px 0 30px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4,
.footer-col h5 {
  color: white;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
}

.footer-brand {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer-description {
  font-size: 15px;
  line-height: 1.5;
}

.footer-link {
  display: block;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-link:hover {
  color: #fbbf24;
}

.social-icons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.social-icon {
  color: #9ca3af;
  font-size: 24px;
  transition: all 0.3s;
}

.social-icon:hover {
  color: #fbbf24;
  transform: translateY(-3px);
}

.footer-contact {
  font-size: 15px;
  color: #d1d5db;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid #374151;
  font-size: 14px;
  color: #6b7280;
}

/* =====================================================
   RESPONSIVE GLOBAL
===================================================== */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid,
  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }
}

@media (max-width: 600px) {
  .article-hero {
    min-height: 220px;
  }

  .article-hero .hero-overlay {
    padding: 30px 16px 20px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-meta {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .article-container {
    padding: 20px 16px 70px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .testimonials-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-block {
    padding: 35px 24px;
  }

  .share-bar {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}