/* ===== Map Branding -> Prestations ===== */
:root{
  --presta-primary: var(--bruce-primary, var(--color-primary, #26547C)); /* bleu */
  --presta-accent:  var(--bruce-accent,  var(--color-accent,  #FFC400)); /* jaune */
  --presta-surface: var(--bruce-light,   var(--color-surface, #F6F8FB));
  --presta-border:  var(--bruce-light,   var(--color-border,  #E5E1EE));
  --presta-text:    var(--bruce-dark,    var(--color-text,    #061826));
}

/* ===== Affichage responsive (tableau desktop / cartes mobile) ===== */
.prestations__table-wrap{display:none}
.prestations__cards{display:grid;gap:20px}


/* ===== Tableau (desktop) ===== */
.prestations__table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
  color:var(--presta-text);
  font:inherit;
}
.prestations__table thead th{
	font-weight:600;
	text-align:center;
	font-size: .9rem;
	line-height: 1;
	padding:8px 12px;
}
.prestations__table tbody td{
  padding:12px;
	text-align:center;
	font-size: .9rem;
	line-height: 1;
	border-bottom: 1px solid var(--color-primary);
}

.prestations__table tbody td+td{border-radius:0}
.prestations__table tbody tr:last-child td{
  border: none;
}

/* ===== Cartes (mobile) ===== */
.presta-card{
  background:#fff;
  border-radius:16px;
  padding:16px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  color:var(--presta-text);
}
.presta-card__subtitle{opacity:.8;}
.presta-card__features{margin:12px 0 0}
.presta-card__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  padding:8px 0;
	align-items: center;
  border-bottom:1px solid var(--presta-border);
}
.presta-card__row:last-child{border-bottom:none}

/* ===== Cellules texte + symbole (glyphes Montserrat) ===== */

.presta-feature {
    display: flex;
    gap: 1rem;
    flex-direction: row;
    min-width: none;
	max-width: 175px;
    align-items: center;
	justify-content: right;
	line-height: 1;
}
.presta-feature__text { text-align: right;}
.presta-feature__glyph{
  font-family:"Montserrat", var(--font-sans, system-ui, -apple-system, Segoe UI, Roboto, Arial);
  font-weight:800;
  font-size:18px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.presta-feature.is-ok .presta-feature__glyph{ color:var(--presta-primary); } /* ✓ */
.presta-feature.is-no .presta-feature__glyph{ color:var(--presta-accent);  } /* ✗ */

/* (option) version pastille : ajouter la classe .presta-feature__glyph--disc dans le HTML */
.presta-feature__glyph--disc{
  width:22px;height:22px;border-radius:999px;color:#000;
}
.presta-feature.is-ok .presta-feature__glyph--disc{ background:var(--presta-primary); }
.presta-feature.is-no .presta-feature__glyph--disc{ background:var(--presta-accent);  }

/* ===== CTA “Voir les tarifs” ===== */
/*.presta-price-btn{
  border:0;
  border-radius:999px;
  padding:10px 14px;
  cursor:pointer;
  background:var(--presta-accent);
  color:#000;
  font-weight:700;
}*/
.presta-price-btn{
  white-space: nowrap;
}

/* ===== Modale prix ===== */
.presta-modal[aria-hidden="true"]{display:none}
.presta-modal{position:fixed;inset:0;z-index:9999}
.presta-modal__overlay{position:absolute;inset:0;background:rgba(0,0,0,.4)}
.presta-modal__content{
  position:relative;
  max-width:540px;
  margin:10vh auto 0;
  background:#fff;
  border-radius:16px;
  padding:24px;
  box-shadow:0 12px 40px rgba(0,0,0,.2)
}
.presta-modal__close{
  position:absolute;top:10px;right:12px;
  border:0;background:transparent;font-size:24px;cursor:pointer;color:var(--presta-text)
}
.presta-modal__title{margin:0 0 8px;color:var(--presta-text)}
.presta-modal__title small{display:block;opacity:.8}
.presta-modal__price{font-size:28px;font-weight:800;margin:8px 0 0;color:var(--presta-primary)}

@media(min-width:350px){
	.presta-feature {
		min-width: none;
		max-width: none;
	}
}

@media(min-width:992px){
	.prestations__table-wrap{display:block}
	.prestations__cards{display:none}
	.presta-feature{
		flex-direction: column-reverse;
		min-width: inherit;
	}
	.presta-feature__text { text-align: center;}
}
