/* ===================================================== */
/* ================= PAGE EXPERTISES ==================== */
/* ===================================================== */

/* ===== HERO ===== */

.hero-expertise {
  position: relative;
  background-image: url("../images/expertise.png");
  background-size: 130%;
  background-position: center-top 100%;
  background-repeat: no-repeat;
  padding: 100px 20px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay premium (comme équipe/blog) */
.hero-expertise::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.35)
  );
}

/* Contenu */
.hero-expertise-contenu {
  position: relative;
  max-width: 800px;
  animation: fadeInUp 0.9s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Titre */
.hero-expertise h1 {
  font-size: 2.8em;
  color: #ffffff;
  font-family: verdana;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* Texte */
.hero-expertise p {
  font-size: 1.1em;
  color: #f5f1eb;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  text-align: center;
  max-width: 700px;
  margin: auto;
}


.hero-expertise a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
}

/* ===== BLOCS ===== */

.alt {
  background-color: #e6dccf;
  border-radius: 14px;
}


/* ===== CARDS EXPERTISE ===== */

.card ul {
  padding-left: 18px;
  margin-top: 10px;
  line-height: 1.6;
}

.card li {
  margin-bottom: 8px;
}

/* Liens dans cards */
.card a {
  font-weight: 600;
}

.card a:hover {
  text-decoration: underline;
}

.card h3 {
  margin-bottom: 15px;
}


/* ===================================================== */
/* ======================== MOBILE ====================== */
/* ===================================================== */

@media (max-width: 768px) {

  /* HERO */
  .hero-expertise {
    padding: 90px 20px;
    background-size: cover;
    background-position: center;
  }

  .hero-expertise h1 {
    font-size: 1.9em;
  }

  .hero-expertise p {
    font-size: 1em;
  }

  /* SECTION */
  section {
    padding: 40px 15px;
  }

}