 /* ========== BASE RESET ========== */
.hero-text h1 strong {
  font-weight: 700;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.btn-red {
  background: #e53935;
  color: #fff;
  padding: 10px 28px;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s;
}

.btn-red:hover {
  background: #b71c1c;
}

.hero-actions {
  position: absolute;
  top: 40px;
  right: 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 2;
}

.hero-actions button {
  background: #1976d2;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  text-align: left;
  transition: background .2s;
}

.hero-actions button:hover {
  background: #0d47a1;
}

main {
  padding: 40px 0 0 0;
  margin-top: -47px;
}

.news {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.news-title {
  color: #e53935;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 18px;
  border-left: 5px solid #e53935;
  padding-left: 10px;
  border-bottom: none;
}

.news-title span {
  border-bottom: 4px solid #e53935;
  padding-bottom: 2px;
}

.main-news {
  display: flex;
  background: #222;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 30px;
  min-height: 320px;
}

.main-news img {
  width: 630px;
  height: 480px;
  object-fit: cover;
}

.main-news-text {
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.main-news-text h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.main-news-text p {
  font-size: 1rem;
  margin-bottom: 18px;
}

.btn-yellow {
  background: #ffe600;
  color: #222;
  padding: 8px 18px;
  border: none;
  border-radius: 3px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: background .2s;
}

.btn-yellow:hover {
  background: #ffd600;
}

.news-list {
  display: flex;
  gap: 24px;
  margin-top: 18px;
}

.news-item {
  background: #f5f5f5;
  border-radius: 6px;
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.news-item h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 12px 0 6px 0;
  padding: 0 12px;
}

.news-item p {
  font-size: 0.95rem;
  padding: 0 12px 8px 12px;
  color: #444;
}

.newsletter p {
  color: #444;
  margin-bottom: 18px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  max-width: 400px;
  margin: 0;
}

.newsletter-form input {
  width: 220px;
  padding: 14px;
  border: 1px solid #bbb;
  border-radius: 4px 0 0 4px;
  font-size: 1.1rem;
}

.newsletter-form button {
  background: #1976d2;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 0 4px 4px 0;
  font-size: 1.1rem;
  cursor: pointer;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.barre-flag {
  width: 100%;
  display: block;
  margin: 0 auto;
  border: none;
}

.btn-main-news,
.btn-yellow.main-btn {
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 10px 28px;
  margin-top: 12px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.12);
  transition: background 0.2s;
  width: auto !important;
  min-width: 0 !important;
  display: inline-block;
}

.btn-main-news:hover,
.btn-yellow.main-btn:hover {
  background: #0d47a1;
  box-shadow: 0 4px 16px rgba(255, 230, 0, 0.18);
  transform: translateY(-2px) scale(1.04);
}

.dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e0e0e0;
  display: inline-block;
  transition: background 0.2s;
  cursor: pointer;
}

.dot.active {
  background: #1976d2;
}

/* ======= RESPONSIVE 900px ======= */
@media (max-width: 900px) {
  .header-content, .footer-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
  }
  .hero-text, .hero-actions {
    position: static;
    margin: 18px 0;
  }
  .main-news {
    flex-direction: column;
  }
  .main-news img {
    width: 100%;
    height: 180px;
  }
  .news-list {
    flex-direction: column;
    gap: 18px;
  }
}

/* ======= RESPONSIVE MOBILE 600px ======= */
@media (max-width: 600px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }
  .hero-text p {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  .btn-red,
  .btn-yellow,
  .btn-main-news {
    padding: 10px 16px;
    font-size: 0.95rem;
    width: 100%;
    text-align: center;
  }
  .hero-actions {
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 20px;
  }
  .main-news {
    flex-direction: column;
    min-height: auto;
  }
  .main-news img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }
  .main-news-text {
    padding: 20px;
  }
  .main-news-text h4 {
    font-size: 1.2rem;
  }
  .main-news-text p {
    font-size: 0.95rem;
  }
  .news-title {
    font-size: 1.3rem;
    padding-left: 8px;
  }
  .news-list {
    flex-direction: column;
    gap: 12px;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    border-radius: 4px;
  }
  .newsletter-form button {
    margin-top: 8px;
  }
}

  .btn-readmore {
  display: inline-block;
  background-color: #1976d2; /* rouge vif */
  color: #fff;
  padding: 8px 12px; /* réduit horizontalement */
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 10px;
  text-align: center;
   width: 70%;
   max-width: 150px;
    
}

/* Effet au survol */
.btn-readmore:hover {
  /*background-color: #b71c1c;*/
  transform: scale(1.08);
   text-decoration: none;
    color: yellow;
}

/* ✅ Responsive mobile (≤ 600px) avec largeur limitée */
@media (max-width: 600px) {
  .btn-readmore {
    display: block;
    width: 70%;
    max-width: 150px;
    /*margin-left: auto;
    margin-right: auto;*/
  }
}


  .btn-readmore1 {
  display: inline-block;
  background-color: yellow;
  color: #060505;
  padding: 8px 12px; /* réduit horizontalement */
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 10px;
  text-align: center;
   width: 70%;
   max-width: 150px;
    
}

/* Effet au survol */
.btn-readmore1:hover {
  /*background-color: #b71c1c;*/
  transform: scale(1.03);
   text-decoration: none;
}

/* ✅ Responsive mobile (≤ 600px) avec largeur limitée */
@media (max-width: 600px) {
  .btn-readmore1 {
    display: block;
    width: 70%;
    max-width: 150px;
    /*margin-left: auto;
    margin-right: auto;*/
  }
}
