/* ============================================================
   CSS SPÉCIFIQUE PAGES SERVICES
   Chargé APRÈS css/style.css (surcharges uniquement).
   À définir dans chaque page : $cssExtra = 'css/services.css';
   ============================================================ */

/* ----- TITRE + INTRO SOUS LE TITRE ----- */
#pagetitle h1 {
  font-size: clamp(3rem, 6vw, 8rem);
}

/* ----- FAQ : rangées de 2 colonnes centrées ----- */
#faq .row {
  justify-content: center;
}

/* ----- PROJETS : une seule ligne (desktop) ----- */
@media screen and (min-width: 1025px) {
  #projets .row {
    flex-wrap: nowrap;
  }
  #projets .column2 {
    flex: 1 1 0;
    max-width: 100%;
  }
}

/* ----- COMPARAISON LOTTIE vs GIF ----- */
#comparaison {
  width: 100%;
  padding-top: 6vh;
  padding-bottom: 6vh;
}

#comparaison article {
  width: 95%;
  margin: auto;
}

#comparaison h1,
#comparaison .sectiontitle {
  text-align: center;
}

#comparaison p.intro,
#comparaison p.conclusion {
  font-weight: 100;
  letter-spacing: 0.05rem;
  line-height: 1.4em;
  text-align: center;
  width: 75%;
  margin: 1vh auto 0 auto;
}

#comparaison .table-wrap {
  overflow-x: auto;
  margin-top: 4vh;
}

#comparaison table {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 2px solid #e7373c;
  border-radius: 40px;
  overflow: hidden;
}

#comparaison th,
#comparaison td {
  padding: 1.2em 1.5em;
  text-align: left;
  border-bottom: 1px solid #efefef;
  font-weight: 100;
}

#comparaison tr:last-child th,
#comparaison tr:last-child td {
  border-bottom: none;
}

#comparaison th:not(:last-child),
#comparaison td:not(:last-child) {
  border-right: 2px solid #e7373c;
}

#comparaison th {
  background-color: #efefef;
  font-weight: 900;
  font-size: 1.4em;
  text-align: center;
}

#comparaison td:first-child {
  font-weight: 900;
}

#comparaison td.gagnant {
  background-color: #FFF8CC;
}

/* ----- Ligne démo : média à taille identique ----- */
#comparaison tr.demo td {
  text-align: center;
  vertical-align: middle;
}

#comparaison tr.demo dotlottie-player,
#comparaison tr.demo img {
  height: 180px;
  width: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: contain;
}

#comparaison tr.demo em {
  display: block;
  font-weight: 600;
  margin-top: 0.6em;
}

/* ----- SECTIONS ÉDITORIALES SERVICES ----- */
.edito-section {
  width: 100%;
  padding-top: 6vh;
  padding-bottom: 6vh;
}

.edito-section article {
  width: 95%;
  margin: auto;
}

.edito-section h1,
.edito-section .sectiontitle,
#etapes h1,
#etapes .sectiontitle {
  text-align: center;
}

.edito-section .row,
#etapes .row {
  justify-content: center;
}

.edito-section .edito-intro,
.edito-section .edito-conclusion {
  font-weight: 100;
  letter-spacing: 0.05rem;
  line-height: 1.4em;
  text-align: center;
  width: 75%;
  margin: 1vh auto 0 auto;
}

.edito-section .benefices h2 {
  font-size: 1.75em;
  font-weight: 900;
  text-align: center;
  width: 100%;
}

.edito-section .benefices p {
  letter-spacing: 0.05rem;
  line-height: 1.4em;
  font-weight: 100;
  width: 100%;
  padding: 5%;
  text-align: left;
}

.edito-section a {
  font-weight: 900;
  background-color: #FFDC2E;
  padding: 0 10px;
  border-radius: 20px;
}
