.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  background-image: url('../img/bg_haut_Atlas.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zoomHero 20s ease-in-out infinite;
}


@keyframes zoomHero {
  0%   { background-size: 100%; }
  50%  { background-size: 110%; }
  100% { background-size: 100%; }
}


.hero-overlay {
  background-color: rgba(0, 0, 0, 0.45); /* ✅ overlay sombre */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  padding: 2em;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  font-family: 'Montserrat', sans-serif;
  color : #FFF;
  text-transform: uppercase;
  font-weight: 900;
  line-height: 1em;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 1.5em;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  background-color: var(--vert-fonce);
  color: white;
  padding: 0.8em 1.4em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #1e4d3a;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--vert-fonce);
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  .hero {
    height: 60vh;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
  }

  .hero-content h1 {
    font-size: 1.8em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8em;
  }
}

.bloc-presentation {
  padding: 0em 1em 2em;
  background-color: none;
  border-bottom: 1px solid var(--vert-clair);
  margin: 1em auto;
}

.presentation-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  max-width: 1240px;
  margin: auto;
  flex-wrap: wrap;
}

.presentation-text {
  flex: 1 1 400px;
}

.presentation-text h2 {
  font-size: 2em;
  margin-bottom: 0.5em;
  color: var(--vert-fonce);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

.presentation-text p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 1.5em;
  color: #333;
}

.presentation-text .btn {
  background-color: var(--vert-fonce);
  color: white;
  padding: 0.8em 1.4em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.presentation-text .btn:hover {
  background-color: #1e4d3a;
}

.presentation-image {
  flex: 1 1 400px;
  text-align: center;
}

.presentation-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  .bloc-presentation {
    padding: 2em 1em;
  }
  .presentation-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .presentation-image {
    flex: 1 1 auto;
    text-align: center;
  }

  .presentation-text {
    flex: 1 1 auto;
  }


  .presentation-text h2 {
    font-size: 1.6em;
  }

  .presentation-text p {
    font-size: 1em;
  }

  .presentation-text .btn {
    margin-top: 1em;
  }
}

.bloc-actualites {
  padding: 1em 1em 2em;
  background-color: #f4f4f4;
  border-bottom: 1px solid var(--gris-fonce);
  margin: 1em auto;
}

.actualites-wrapper {
  max-width: 1240px;
  margin: auto;
}

.bloc-actualites h2 {
  font-size: 2em;
  margin-bottom: 1.5em;
  color: var(--vert-fonce);
  text-align: center;
}

.actualites-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
}

.actualite-card {
  background-color: white;
  border-radius: 6px;
  padding: 1.5em;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 360px;
}

.actualite-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1em;
}

.actualite-card h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
}

.actualite-card p {
  font-size: 1em;
  color: #444;
  margin-bottom: 1em;
}

.update-date {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 0.5em;
}

.actualites-button {
  text-align: center;
  margin-top: 2em;
}

.actualites-button .btn {
  background-color: var(--vert-fonce);
  color: white;
  padding: 0.8em 1.4em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  .actualites-grid {
    flex-direction: column;
    align-items: center;
  }

  .actualite-card {
    width: 90%;
    margin:auto auto;
    padding: 1em;
  }
}
.bloc-secteurs {
  padding: 4em 1em;
  background-color: #fff;
}

.secteurs-wrapper {
  max-width: 1240px;
  margin: auto;
}

.bloc-secteurs h2 {
  font-size: 2em;
  margin-bottom: 1.5em;
  color: var(--vert-fonce);
  text-align: center;
}

.secteurs-grid {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
  justify-content: center;
}

.secteur-card {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 1.5em;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 360px;
  text-align: center;
}

.secteur-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1em;
}

.secteur-card h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: var(--vert-fonce);
}

.secteur-card p {
  font-size: 1em;
  color: #444;
}

.secteurs-button {
  text-align: center;
  margin-top: 2em;
}

.secteurs-button .btn {
  background-color: var(--vert-fonce);
  color: white;
  padding: 0.8em 1.4em;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  .secteurs-grid {
    flex-direction: column;
    align-items: center;
  }

  .secteur-card {
    max-width: 100%;
  }
}
.secteur-icon {
  font-size: 3em;
  color: var(--vert-fonce);
  margin-bottom: 0.6em;
}

.secteur-card {
  background-color: #f9f9f9;
  border-radius: 6px;
  padding: 2em 1.5em;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  flex: 1 1 300px;
  max-width: 360px;
  text-align: center;
}

.secteur-card h3 {
  font-size: 1.2em;
  margin-bottom: 0.5em;
  color: var(--vert-fonce);
}

.secteur-card p {
  font-size: 1em;
  color: #444;
}.bloc-newsletter {
  padding: 3em 1em;
  background-color: var(--vert-clair);
  color: white;
}

.newsletter-horizontal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
  max-width: 1240px;
  margin: auto;
  flex-wrap: wrap;
}

.newsletter-icon {
  font-size: 4em;
  color: white;
  flex: 0 0 auto;
}

.newsletter-text {
  flex: 1 1 400px;
  min-width: 250px;
}

.newsletter-text h2 {
  font-size: 1.8em;
  margin-bottom: 0.3em;
  font-family: 'Montserrat', sans-serif;
  color: white;
}

.newsletter-text p {
  font-size: 1.1em;
  color: white;
}

.newsletter-form {
  flex: 0 0 auto;
  display: flex;
  gap: 0.5em;
  flex-wrap: nowrap;
}

.newsletter-form input[type="email"] {
  padding: 0.8em;
  border: none;
  border-radius: 4px;
  width: 240px;
  font-size: 1em;
}

.newsletter-form button {
  padding: 0.8em 1.2em;
  background-color: white;
  color: var(--vert-fonce);
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #eee;
}

/* 📱 Responsive */
@media screen and (max-width: 768px) {
  .newsletter-horizontal {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-icon {
    font-size: 3em;
    margin-bottom: 1em;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
    max-width: 320px;
  }
}
