/* ============================================================
   AVENUE BELMONT — PAGE SERVICES (accueil FAQ)
   ============================================================ */

.ab-services {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}
/* Le titre garde une marge ; la grille, elle, colle au bord gauche */
.ab-services__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding-left: clamp(1.25rem, 5vw, 3rem);
}
.ab-services__title {
  font-family: var(--font-heading, 'Red Rose', serif);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 500;
  color: #290B0B;
  margin: 0;
  line-height: 1.1;
}

/* Layout : grille ~3/4 (collée à gauche) + colonne FAQ ~1/4 */
.ab-services__layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  padding-right: clamp(1.25rem, 5vw, 3rem); /* marge à droite seulement */
}

/* ── Grille des 6 domaines (2 colonnes × 3 lignes, bord à bord, ras du bord gauche) ── */
.ab-services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  /* Bordures partagées : seules les bordures haute de la grille + droite/bas des cases s'affichent */
  border-top: 0.5px solid rgba(0, 0, 0, 0.12);
}
.ab-faq-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  min-height: 200px;
  padding: 2rem 1.5rem;
  background: #fff;
  border-right: 0.5px solid rgba(0, 0, 0, 0.12);
  border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
  color: #290B0B;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.ab-faq-card:hover { background: rgba(199, 199, 199, 0.35); }
.ab-faq-card__icon {
  flex-shrink: 0;
  color: #51161F;
  display: inline-flex;
  transition: color 0.25s ease;
}
.ab-faq-card:hover .ab-faq-card__icon { color: #290B0B; }
.ab-faq-card__title {
  font-family: var(--font-body, 'Hauora', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
}

/* ── Colonne questions fréquentes ── */
.ab-services__faq-title {
  font-family: var(--font-heading, 'Red Rose', serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: #290B0B;
  margin: 0 0 1.25rem;
}
.ab-faq-acc__item { border-bottom: 1px solid var(--color-grey-200, #e5e5e5); }
.ab-faq-acc__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body, 'Hauora', sans-serif);
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  line-height: 1.4;
}
.ab-faq-acc__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: 300;
  color: #51161F;
  transition: transform 0.3s ease;
  line-height: 1;
}
.ab-faq-acc__item.is-open .ab-faq-acc__icon { transform: rotate(45deg); }
.ab-faq-acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.ab-faq-acc__panel-inner { padding: 0 0 1rem; }
.ab-faq-acc__panel-inner p {
  font-family: var(--font-body, 'Hauora', sans-serif);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-grey-700, #555);
  margin: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── Tablette (≤ 980px) : colonne FAQ sous la grille ── */
@media (max-width: 980px) {
  .ab-services__layout {
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 6vw, 3.5rem);
    padding-right: 0;            /* la grille reprend toute la largeur, bord à bord */
  }
  /* La colonne FAQ retrouve une marge symétrique (alignée sur le titre) */
  .ab-services__faq {
    padding-inline: clamp(1.25rem, 5vw, 3rem);
  }
  /* La grille touche les deux bords ; on rétablit la bordure gauche pour fermer le cadre */
  .ab-services__grid {
    border-left: 0.5px solid rgba(0, 0, 0, 0.12);
  }
  .ab-faq-card { min-height: 168px; }
}

/* ── Mobile (≤ 560px) : grille en 1 colonne, pleine largeur ── */
@media (max-width: 560px) {
  .ab-services { padding-block: clamp(2rem, 8vw, 3rem); }
  .ab-services__grid { grid-template-columns: 1fr; }
  .ab-faq-card {
    flex-direction: row;          /* icône à gauche du titre, plus compact en ligne */
    justify-content: flex-start;
    text-align: left;
    gap: 1rem;
    min-height: 0;
    padding: 1.4rem clamp(1.25rem, 5vw, 1.75rem);
  }
  .ab-faq-card__icon svg { width: 28px; height: 28px; }
  .ab-faq-card__title { font-size: 0.9rem; }
}
