



/* ========================= */

/* SERVICES SECTION */

/* ========================= */



.services {

  padding: 100px 0;

  background: #0f0f0f;

  color: white;

}



h2 {

  font-family: 'Georgia', serif;

  font-style: italic;

  font-weight: 700;

  color: #d60000;

  -webkit-text-stroke: 1px black;

  text-shadow: 2px 2px 4px rgba(0,0,0,0.4);

  letter-spacing: 1px;

}



/* INTRO */

.services-intro {

  text-align: center;

  max-width: 600px;

  margin: 0 auto 60px;

  padding: 2rem;

}



.services-intro h2 {

  font-size: 2.5rem;

  margin-bottom: 10px;

  margin-left: -5rem;

}



.services-intro p {

  color: #aaa;

  font-size: 1rem;

  margin-left: -5rem;

}



/* GRID */

.services-grid {

  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 25px;

}



/* CARD */

.service-card {

  background: #1a1a1a;

  border-radius: 10px;

  overflow: hidden;

  transition: 0.3s;

}



.service-card {

  display: flex;

  flex-direction: column;

}



.service-card {

  cursor: pointer;

}



.service-card img {

  width: 100%;

  height: 200px;

  object-fit: cover;

  background-color: #fff;

}



/* CONTENT */

.service-content {

  padding: 20px;



  display: flex;

  flex-direction: column;

  flex: 1;

}



.service-content {

    padding: 15px;

    color: #fff;

    background-color: #3c444c;

}



.service-content h3 {

  margin: 0 0 10px;

}



.service-content p {

  font-size: 0.9rem;

  color: #ccc;

}



/* HOVER CARD */

.service-card:hover {

  transform: translateY(-5px);

  background: #222;

}



/* ========================= */

/* BUTTON (ALIGNÉ + EFFET CHUTE) */

/* ========================= */



.service-btn {

  margin-top: auto;



  padding: 8px 14px;

  background: #e60000;

  color: #fff!important;

  text-decoration: none;



  font-size: 0.8rem;

  font-weight: 600;



  display: inline-block;

  width: fit-content;



  border-radius: 0;



  /* 👇 plus léger */

  transform: translateY(-15px);

  opacity: 0;



  transition: transform 0.3s ease, opacity 0.3s ease;

}



.service-card:hover .service-btn {

  transform: translateY(0);

  opacity: 1;

}



/* 🔥 apparition avec chute */





/* hover bouton */

.service-btn:hover {

  background: #b30000;

}



/* ========================= */

/* RESPONSIVE */

/* ========================= */



/* TABLET */

@media (max-width: 900px) {

  .services-grid {

    grid-template-columns: repeat(2, 1fr);

  }

}



/* MOBILE */

@media (max-width: 768px) {



  .services-intro h2,

  .services-intro p {

    margin-left: 0 !important;

  }



  .container {

    display: block;

  }

}



/* SMALL MOBILE */

@media (max-width: 500px) {

  .services-grid {

    grid-template-columns: 1fr;

  }

}





.services-dots span {

  display: inline-block;

  width: 10px;

  height: 10px;

  background: #e53935!important; /* 🔴 rouge */

  border-radius: 50%;

  margin: 5px;

  cursor: pointer;

  opacity: 0.4;

}



.services-dots span.active {

  background: #e53935!important; /* 🔴 rouge actif */

  opacity: 1;

  transform: scale(1.2);

}