/* ============================================================
   Box Plus - Template de page service
   Classes bp-svc-* reutilisables sur toutes les pages services
   Compatible navigateurs modernes, degradation propre sur IE11
   ============================================================ */

/* --- Encadre "L'essentiel" --- */
.bp-svc-essentiel {
  background: #f9f9f9;
  border-left: 4px solid #000;
  padding: 20px 24px;
  margin: 0 0 30px;
}

.bp-svc-essentiel strong {
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}

.bp-svc-essentiel p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

/* --- Chapeau introductif --- */
.bp-svc-intro {
  margin: 0 0 30px;
}

.bp-svc-tag {
  display: inline-block;
  background: #fcf06b;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  margin-bottom: 14px;
}

.bp-svc-intro h2 {
  margin: 0 0 12px;
  line-height: 1.3;
}

/* --- Bande de chiffres cles --- */
.bp-svc-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0 0 34px;
}

.bp-svc-stat {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 18px 16px;
  text-align: center;
}

.bp-svc-stat__number {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.bp-svc-stat__label {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #777;
  line-height: 1.4;
}

/* --- Titres de section --- */
.bp-svc-section-title {
  margin: 40px 0 6px;
  line-height: 1.3;
}

.bp-svc-section-sub {
  margin: 0 0 20px;
  color: #777;
  font-size: 15px;
}

/* --- Grille de benefices --- */
.bp-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 30px;
}

.bp-svc-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 20px 22px;
}

.bp-svc-card h4 {
  margin: 0 0 8px;
  font-size: 17px;
}

.bp-svc-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* --- Tableau --- */
.bp-svc-tableau-wrap {
  overflow-x: auto;
  margin: 24px 0 30px;
  -webkit-overflow-scrolling: touch;
}

.bp-svc-tableau {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.bp-svc-tableau th,
.bp-svc-tableau td {
  border: 1px solid #000;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.bp-svc-tableau thead {
  background: #000;
  color: #fcf06b;
}

.bp-svc-tableau thead th {
  font-weight: 700;
}

.bp-svc-tableau tbody tr:nth-child(even) {
  background: #f9f9f9;
}

.bp-svc-tableau tbody tr:hover {
  background: #fcf06b;
  color: #000;
}

/* --- Liste des centres --- */
.bp-svc-centres {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 30px;
}

.bp-svc-centre {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 18px 20px;
}

.bp-svc-centre__zone {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #777;
  margin-bottom: 4px;
}

.bp-svc-centre__nom {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
}

.bp-svc-centre__adresse {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 10px;
}



/* --- Bloc d'appel a l'action --- */
.bp-svc-cta {
  background: #000;
  color: #fff;
  padding: 28px 30px;
  margin: 34px 0;
}

.bp-svc-cta h3 {
  margin: 0 0 10px;
  color: #fcf06b;
  font-size: 21px;
}

.bp-svc-cta p {
  margin: 0 0 18px;
  color: #ddd;
  font-size: 15px;
  line-height: 1.6;
}

.bp-svc-cta__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bp-svc-btn {
  display: inline-block;
  background: #fcf06b;
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  text-decoration: none;
}

.bp-svc-btn:hover {
  background: #fff;
}

.bp-svc-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.bp-svc-btn--ghost:hover {
  background: #fff;
  color: #000;
}

/* --- FAQ accordeon --- */
.bp-svc-faq {
  margin: 24px 0 30px;
}

.bp-svc-faq details {
  border: 1px solid #e0e0e0;
  margin-bottom: 10px;
  background: #fff;
}

.bp-svc-faq summary {
  cursor: pointer;
  padding: 14px 44px 14px 18px;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
}

.bp-svc-faq summary::-webkit-details-marker {
  display: none;
}

.bp-svc-faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  margin-top: -12px;
  font-size: 22px;
  line-height: 24px;
  font-weight: 400;
  color: #000;
}

.bp-svc-faq details[open] summary::after {
  content: "\2013";
}

.bp-svc-faq details[open] summary {
  border-bottom: 1px solid #e0e0e0;
}

.bp-svc-faq details p {
  margin: 0;
  padding: 14px 18px;
  line-height: 1.65;
  font-size: 15px;
}

/* --- Mobile --- */
@media screen and (max-width: 980px) {
  .bp-svc-centres {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .bp-svc-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .bp-svc-grid,
  .bp-svc-centres {
    grid-template-columns: 1fr;
  }
  .bp-svc-essentiel,
  .bp-svc-cta {
    padding: 16px 18px;
  }
  .bp-svc-tableau {
    font-size: 14px;
  }
  .bp-svc-tableau th,
  .bp-svc-tableau td {
    padding: 8px 10px;
  }
  .bp-svc-faq summary {
    font-size: 15px;
    padding: 12px 40px 12px 14px;
  }
  .bp-svc-faq details p {
    padding: 12px 14px;
  }
  .bp-svc-cta__btns {
    flex-direction: column;
  }
  .bp-svc-btn {
    text-align: center;
  }
}

/* question de FAQ en H3 dans le summary : garde le rendu du summary */
.bp-svc-faq summary .bp-svc-faq__q {
  display: inline;
  margin: 0;
  font: inherit;
  text-transform: none;
  letter-spacing: normal;
  color: inherit;
}
