
/* SECTION SERVICES */
.services-section {
  max-width: 1200px;
  margin: 60px auto 80px;
  padding: 0 20px;
}

.services-heading {
  font-size: 32px;
  text-align: center;
  margin: 0 0 30px;
  color: #4c4c30;
}

/* ========================= */
/* INTRO PRESTATIONS         */
/* ========================= */
.services-intro{
  max-width: 1200px;
  margin: 0 auto 35px;
  padding: 0 20px;
}

.services-intro-card{
  background: #4c4c30;
  border-radius: 10px;
  padding: 26px 24px 22px;
  box-shadow: rgba(50, 50, 93, 0.25) 0 40px 70px -20px,
              rgba(0, 0, 0, 0.3) 0 25px 50px -30px,
              rgba(10, 37, 64, 0.35) 0 -2px 6px 0 inset;
  color: #f4decb;
  text-align: center;
}

.services-intro-head{
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.services-intro-title{
  margin: 0;
  font-size: 20px;
  color: #ca5900;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.services-intro-text{
  max-width: 900px;
  margin: 18px auto 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.7;
}

.services-intro-text p{
  margin: 0 0 12px;
}

.services-intro-quote{
  margin: 14px 0;
  color: #ca5900;
  font-style: italic;
}

.services-intro-foot{
  margin-top: 16px;
  color: #f4decb;
}

.services-intro-foot strong{ color: #d26d1b; }
.services-intro-foot small{
  display: block;
  margin-top: 6px;
  opacity: .9;
  font-size: 13px;
}

/* GRID DES CARTES */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

/* CARTE */
.service-card{
  width: 350px;
  background-color: #4c4c30;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: rgba(50, 50, 93, 0.25) 0 40px 70px -20px,
              rgba(0, 0, 0, 0.3) 0 25px 50px -30px,
              rgba(10, 37, 64, 0.35) 0 -2px 6px 0 inset;
  display: flex;
  flex-direction: column;
}

/* Image en haut */
.service-image{
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
.service-image img{
  width: 90%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-image img{
  transform: scale(1.03);
}

/* Contenu */
.service-body{
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  color: #f4decb;
  gap: 12px;
  min-height: 0; /* important pour scroll */
}

/* Titre: 2 lignes max */
.service-title{
  font-size: 20px;
  color: #d26d1b;
  margin: 0;
  line-height: 1.15;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(2 * 1.15em);
}

/* TEXTE: zone maîtrisée */
.service-text{
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-right: 8px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  font-size: 14px;
  line-height: 1.55;
}
.service-text p{ margin: 0; }

/* Scrollbar */
.service-text::-webkit-scrollbar{ width: 8px; }
.service-text::-webkit-scrollbar-track{ background:#3b3b27; border-radius:10px; }
.service-text::-webkit-scrollbar-thumb{ background:#ca5900; border-radius:10px; }
.service-text::-webkit-scrollbar-thumb:hover{ background:#e06c09; }

/* Footer collé en bas */
.service-footer{
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-actions{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start; 
}

.service-prices{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-price-line{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.service-price-label{
  font-size: 12px;
  opacity: .85;
  letter-spacing: .02em;
}

.service-price{
  background-color: #d26d1b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.service-price--sub{
  background-color: #ca5900;
}

.service-price-note{
  font-size: 12px;
  opacity: .75;
}

.service-duration{
  display: inline-flex;
  align-items: center;
  height: 28px;     
  margin-top: 2px;   
  white-space: nowrap;
}


.boxbutton{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 0;
}

.btn-prestations-services{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 40px;
  background: none;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.4s ease;
  width: 200px;
}

.btn-prestations-services::before{
  content: "";
  position: absolute;
  left: 22%;
  top: 50%;
  width: 15px;
  height: 15px;
  background: #ca5900;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(3);
  transition: all 2s ease;
  z-index: 0;
}

.highlight-services{ font-size: 18px; color: white; }

.btn-prestations-services:hover::before{
  width: 600%;
  height: 600%;
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
}

.btn-prestations-services .text,
.btn-prestations-services .arrow{
  position: relative;
  z-index: 2;
}

.btn-prestations-services:hover{ color:#fff; }

.btn-prestations-services .arrow{
  font-size: 20px;
  transition: transform 0.4s ease;
}
.btn-prestations-services:hover .arrow{
  transform: translateX(5px);
}

/* Responsive clean */
@media (max-width: 700px){
  .services-intro-card{ padding: 20px 16px 18px; }
  .services-intro-title{ font-size: 16px; }
  .services-intro-text{ font-size: 14px; line-height: 1.6; }

  .service-card{ width: min(420px, 100%); }
}
