/*===================================================================================================
          SECTION HERO
====================================================================================================*/
.hero-home {
  position: relative;
  height: 70vh;
  width: 100%;
  display: flex;
  background: url("../img/agniTabouretroyal.jpeg") no-repeat center center /
    cover;
  padding: 0rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 0, 0, 1);
  opacity: 0.5;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
}

/* Positionne le titre et le texte au premier tiers de l'image */
.hero-top {
  margin-top: 20px;
}

.hero-header-label {
  padding: 0rem;
  padding-left: 1rem;
  text-align: center;
  color: rgba(255, 255, 0, 1);
  font-size: 1.1rem;
  font-weight: bold;
}

.hero-center-text {
  margin-top: 5rem;
}

.city-name {
  color: var(--blanc-pur);
  font-size: 2.7rem; /* H1 bien large */
  font-weight: 700;
  line-height: 1.1;
}

.city-slogan {
  font-size: 1.1rem;
  text-decoration: italic;
  padding-top: -20rem;
  color: aliceblue;
}

.hero-text {
  color: var(--blanc-pur);
  font-size: 1.1rem;
  font-weight: 400;
  max-width: 80%;
  margin: 0 auto;
}

/* LA MAGIE ICI : pousse le bloc suivant tout en bas */
.hero-spacer {
  flex: 2;
}

.hero-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 10px; /* Petit décalage du bord de l'écran */
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--or-fonce);
  background-color: rgba(235, 84, 6, 0.3);
  color: var(--blanc-pur);
  padding: 0rem 1rem;
  height: 2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-hero span {
  font-size: 0.85rem;
  margin-left: 00.5rem;
}

/*===================================================================================================
          FIN SECTION HERO
====================================================================================================*/

/*===================================================================================================
          SECTION PRESENTATION
====================================================================================================*/
.presentation-ville {
  padding: 1rem;
  margin-top: 3rem;
  /*text-align: center; /* Centre le titre et le texte pour un look mobile harmonieux */
}

.section-title {
  text-align: left;
  margin-left: 2rem;
  color: rgba(180, 140, 0, 1);
  font-size: 2rem;
  font-weight: 700;
}

.intro-text {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  color: rgba(60, 60, 60, 1);
  text-align: left; /* Garde le texte aligné à gauche pour la lisibilité */
  margin-bottom: 2rem;
}

.container-btn {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-discover {
  display: inline-block;
  background-color: #004d40; /* Vert foncé demandé */
  color: #ffffff;
  padding: 10px 32px;
  text-decoration: none;
  border-radius: 50px; /* Bouton bien arrondi */
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-discover .arrow {
  margin-left: 8px;
  font-size: 1.1rem;
}

/* Interaction tactile mobile */
.btn-discover:active {
  background-color: #00251a;
  transform: scale(0.95); /* Effet d'enfoncement au clic */
}

/*===================================================================================================
          FIN SECTION PRESENTATION
====================================================================================================*/
/*===================================================================================================
          SECTION ACTUALITES
====================================================================================================*/

.section-actualites {
  padding: 2rem 0;
}

.entete-actu h2 {
  text-align: left;
  margin-left: 2rem;
  color: rgba(180, 140, 0, 1);
  font-size: 2rem;
  font-weight: 700;
}

/* Le conteneur de défilement horizontal */
.flux-actualites {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem; /* Espace entre les articles */
  padding: 0 1.5rem 2rem 1.5rem; /* Marges pour respirer sur les côtés */
  scroll-snap-type: x mandatory; /* Aligne l'article automatiquement */
  scrollbar-width: none; /* Cache la barre de défilement */
}

.flux-actualites::-webkit-scrollbar {
  display: none;
}

/* La carte : largeur réglée pour ne pas être trop large */
.carte-actu {
  flex: 0 0 80vw; /* L'article occupe 80% de la largeur du téléphone */
  scroll-snap-align: start; /* Se cale au bord gauche lors du scroll */
  background: #ffffff;
  border-radius: 0.8rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* Image forcée en 4:3 */
.image-conteneur {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0.8rem 0.8rem 0 0;
}

.image-conteneur img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corps-actu {
  padding: 1rem;
}

.date-actu {
  font-size: 0.8rem;
  color: #777;
}

.titre-actu {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #222;
}

.extrait-actu {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.lien-actu {
  color: rgba(235, 84, 6, 1);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Bouton du bas */
.pied-actu {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.bouton-archives {
  width: 90%;
  display: inline-block;
  background-color: #004d40; /* Vert foncé demandé */
  color: #ffffff;
  padding: 10px 32px;
  text-decoration: none;
  border-radius: 50px; /* Bouton bien arrondi */
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/*===================================================================================================
          FIN SECTION ACTUALITES
====================================================================================================*/
