/* L'en-tête d'une section de page, le même partout (Soutenir, Ma ruche…) : l'indice doré (« 01 / … »), le grand titre,
   la note à droite (.lpa-note), un filet doré dessous. Une troisième colonne facultative (un chiffre, un bouton). */

.section-index {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font: 700 var(--fs-kicker)/1 Roboto, sans-serif;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-index:before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 17px;
  margin-right: 11px;
  vertical-align: -4px;
  background: var(--gold);
}

.section-head {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 540px) auto;
  align-items: end;
  gap: 36px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-gold);
}
.section-head:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 115px;
  height: 2px;
  background: linear-gradient(90deg, #d7993d, transparent);
}
.section-head h2 {
  margin: 0;
  color: var(--parchment);
  font: 900 var(--fs-display) / 0.95 "Roboto Condensed", sans-serif;
  text-transform: uppercase;
}
.section-head strong {
  color: var(--parchment);
}

/* La note et un bouton côte à côte, le bouton à la hauteur de la note (Mes dons : « Faire un don ») */
.section-head:has(> .section-head__side) {
  grid-template-columns: 1fr minmax(280px, 720px);
}
.section-head__side {
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.section-head__side .lpa-note {
  flex: 1;
  margin: 0;
}
.section-head__side > a {
  flex: none;
}

@media (max-width: 1050px) {
  .section-head {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 760px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .section-head:has(> .section-head__side) {
    grid-template-columns: 1fr;
  }
  .section-head__side {
    flex-direction: column;
  }
  .section-head__side > a {
    min-height: 46px;
  }
}
