/* Les modèles de sections.

   Cette feuille ne connaît rien d'Enfold : elle se suffit à elle-même,
   mais parle la même langue que le reste du site — la police Sen, les
   titres de 50 px, les boutons carrés, le bleu franc. Une section neuve
   posée au milieu d'une page reprise du WordPress doit passer inaperçue.

   Tout est préfixé « bloc- » : aucun risque de croiser une classe du
   thème. */

:root {
  --bloc-bleu: #0000ff;
  --bloc-noir: #000;
  --bloc-blanc: #fff;
  --bloc-gris: #f3f4f6;
  --bloc-gris-trait: #e2e4e9;
  --bloc-encre: #000;
  --bloc-police: sen-regular, Helvetica, Arial, sans-serif;
  --bloc-large: 1310px;
  --bloc-tres-large: 1600px;
}

.bloc {
  position: relative;
  font-family: var(--bloc-police);
  color: var(--bloc-encre);
  background: var(--bloc-blanc);
}

.bloc-dedans {
  max-width: var(--bloc-large);
  margin: 0 auto;
  padding: 0 24px;
}

.bloc--largeur-large > .bloc-dedans {
  max-width: var(--bloc-tres-large);
}

.bloc--largeur-pleine > .bloc-dedans {
  max-width: none;
  padding: 0;
}

/* --- fonds ---------------------------------------------------------- */

.bloc--fond-clair {
  background: var(--bloc-blanc);
  color: var(--bloc-noir);
}

.bloc--fond-gris {
  background: var(--bloc-gris);
  color: var(--bloc-noir);
}

.bloc--fond-sombre {
  background: var(--bloc-noir);
  color: var(--bloc-blanc);
}

.bloc--fond-bleu {
  background: var(--bloc-bleu);
  color: var(--bloc-blanc);
}

.bloc--fond-sombre a,
.bloc--fond-bleu a {
  color: inherit;
}

/* --- espacement ----------------------------------------------------- */

.bloc--esp-petit > .bloc-dedans {
  padding-top: 30px;
  padding-bottom: 30px;
}

.bloc--esp-normal > .bloc-dedans {
  padding-top: 70px;
  padding-bottom: 70px;
}

.bloc--esp-grand > .bloc-dedans {
  padding-top: 130px;
  padding-bottom: 130px;
}

/* --- titres et textes ----------------------------------------------- */

.bloc-surtitre {
  margin: 0 0 .6rem;
  font-size: 15px;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .72;
}

.bloc-titre {
  margin: 0 0 .5em;
  font-size: 50px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  color: inherit;
}

h3.bloc-titre {
  font-size: 32px;
}

.bloc-texte {
  font-size: 24px;
  line-height: 1.65;
}

.bloc-texte > :first-child {
  margin-top: 0;
}

.bloc-texte > :last-child {
  margin-bottom: 0;
}

.bloc--align-centre .bloc-colonne-unique {
  max-width: 50em;
  margin: 0 auto;
  text-align: center;
}

.bloc--align-gauche .bloc-colonne-unique {
  max-width: 50em;
}

.bloc-vide {
  padding: 2rem 0;
  font-size: 18px;
  opacity: .6;
}

/* --- boutons -------------------------------------------------------- */

.bloc-boutons {
  margin: 2rem 0 0;
}

.bloc-bouton {
  display: inline-block;
  padding: 15px 30px 13px;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  background: var(--bloc-bleu);
  color: var(--bloc-blanc);
  transition: background .18s ease, color .18s ease;
}

.bloc-bouton:hover,
.bloc-bouton:focus-visible {
  background: var(--bloc-noir);
  color: var(--bloc-blanc);
}

.bloc--fond-bleu .bloc-bouton,
.bloc--fond-sombre .bloc-bouton {
  background: var(--bloc-blanc);
  color: var(--bloc-bleu);
}

.bloc--fond-bleu .bloc-bouton:hover,
.bloc--fond-sombre .bloc-bouton:hover {
  background: transparent;
  color: var(--bloc-blanc);
  border-color: currentColor;
}

/* --- colonnes ------------------------------------------------------- */

.bloc-grille {
  display: grid;
  gap: 48px;
}

.bloc--colonnes-2 .bloc-grille {
  grid-template-columns: repeat(2, 1fr);
}

.bloc--colonnes-3 .bloc-grille {
  grid-template-columns: repeat(3, 1fr);
}

.bloc--colonnes-4 .bloc-grille {
  grid-template-columns: repeat(4, 1fr);
}

.bloc-colonne-image {
  margin: 0 0 1.2rem;
}

.bloc-colonne-image img {
  display: block;
  width: 100%;
  height: auto;
}

.bloc-colonne-titre {
  margin: 0 0 .6rem;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
}

.bloc-colonne .bloc-texte {
  font-size: 18px;
}

.bloc-colonne .bloc-boutons {
  margin-top: 1.2rem;
}

/* --- fond image ou vidéo -------------------------------------------- */

.bloc--fond {
  overflow: hidden;
  color: var(--bloc-blanc);
  background: var(--bloc-noir);
}

/* Le fond doit couvrir toute la bande, pas la seule colonne de texte :
   l'enveloppe s'ouvre donc en pleine largeur, et c'est le bloc de propos
   qui se recentre. */
.bloc--fond > .bloc-dedans {
  position: relative;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.bloc--fond.bloc--haut-petite > .bloc-dedans {
  min-height: 42vh;
}

.bloc--fond.bloc--haut-moyenne > .bloc-dedans {
  min-height: 62vh;
}

.bloc--fond.bloc--haut-plein > .bloc-dedans {
  min-height: 92vh;
}

.bloc-fond-image,
.bloc-fond-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloc-fond-voile {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
}

.bloc--voile-aucun .bloc-fond-voile {
  opacity: 0;
}

.bloc--voile-leger .bloc-fond-voile {
  opacity: .22;
}

.bloc--voile-moyen .bloc-fond-voile {
  opacity: .42;
}

.bloc--voile-fort .bloc-fond-voile {
  opacity: .62;
}

.bloc-fond-propos {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--bloc-large);
  margin: 0 auto;
  padding: 0 24px;
}

.bloc--pose-centre .bloc-fond-propos {
  text-align: center;
}

.bloc--pose-centre .bloc-fond-propos .bloc-texte,
.bloc--pose-centre .bloc-fond-propos .bloc-titre {
  max-width: 44em;
  margin-left: auto;
  margin-right: auto;
}

.bloc--pose-gauche .bloc-fond-propos .bloc-texte {
  max-width: 40em;
}

/* Sur une image, le bouton blanc se détache mieux que le bleu. */
.bloc--fond .bloc-bouton {
  background: var(--bloc-blanc);
  color: var(--bloc-bleu);
}

.bloc--fond .bloc-bouton:hover,
.bloc--fond .bloc-bouton:focus-visible {
  background: transparent;
  color: var(--bloc-blanc);
  border-color: currentColor;
}

.bloc--pose-bas > .bloc-dedans {
  justify-content: flex-end;
}

/* --- diaporama ------------------------------------------------------ */

.bloc-diaporama {
  position: relative;
  overflow: hidden;
}

.bloc-diaporama-piste {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform .5s ease;
}

.bloc-diapo {
  flex: 0 0 100%;
  position: relative;
}

.bloc-diapo img {
  display: block;
  width: 100%;
  height: auto;
}

.bloc-diapo-legende {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1rem 1.4rem;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65));
}

.bloc-diaporama-fleche {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: rgba(0, 0, 0, .45);
  color: #fff;
}

.bloc-diaporama-fleche:hover {
  background: var(--bloc-bleu);
}

.bloc-diaporama-fleche svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bloc-diaporama-fleche--avant {
  left: 12px;
}

.bloc-diaporama-fleche--apres {
  right: 12px;
}

.bloc-diaporama-points {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloc-diaporama-points button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(255, 255, 255, .55);
}

.bloc-diaporama-points button[aria-current="true"] {
  background: #fff;
}

/* --- listes de contenus --------------------------------------------- */

.bloc-cartes {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloc--colonnes-2 .bloc-cartes {
  grid-template-columns: repeat(2, 1fr);
}

.bloc--colonnes-3 .bloc-cartes {
  grid-template-columns: repeat(3, 1fr);
}

.bloc--colonnes-4 .bloc-cartes {
  grid-template-columns: repeat(4, 1fr);
}

.bloc-carte-lien {
  display: block;
  color: inherit;
  text-decoration: none;
}

.bloc-carte-image {
  display: block;
  overflow: hidden;
  background: var(--bloc-gris);
  aspect-ratio: 3 / 2;
}

.bloc-carte-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.bloc-carte-lien:hover .bloc-carte-image img {
  transform: scale(1.04);
}

.bloc-carte-propos {
  display: block;
  padding-top: 1rem;
}

.bloc-carte-date {
  display: block;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .66;
}

.bloc-carte-titre {
  display: block;
  margin-top: .25rem;
  font-size: 22px;
  line-height: 1.25;
}

.bloc-carte-extrait {
  display: block;
  margin-top: .45rem;
  font-size: 16px;
  line-height: 1.5;
  opacity: .8;
}

/* --- logos ---------------------------------------------------------- */

.bloc-logos {
  display: grid;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloc--logos-4 .bloc-logos {
  grid-template-columns: repeat(4, 1fr);
}

.bloc--logos-5 .bloc-logos {
  grid-template-columns: repeat(5, 1fr);
}

.bloc--logos-6 .bloc-logos {
  grid-template-columns: repeat(6, 1fr);
}

.bloc-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.bloc--teinte-gris .bloc-logo img {
  filter: grayscale(1);
  opacity: .72;
  transition: filter .25s ease, opacity .25s ease;
}

.bloc--teinte-gris .bloc-logo:hover img {
  filter: none;
  opacity: 1;
}

/* --- galerie -------------------------------------------------------- */

.bloc-galerie {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bloc--galerie-grille .bloc-galerie {
  display: grid;
  gap: 12px;
}

.bloc--galerie-grille.bloc--colonnes-2 .bloc-galerie {
  grid-template-columns: repeat(2, 1fr);
}

.bloc--galerie-grille.bloc--colonnes-3 .bloc-galerie {
  grid-template-columns: repeat(3, 1fr);
}

.bloc--galerie-grille.bloc--colonnes-4 .bloc-galerie {
  grid-template-columns: repeat(4, 1fr);
}

.bloc--galerie-grille .bloc-galerie-case img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* La mosaïque garde les proportions de chaque photo : des colonnes qui
   se remplissent, sans recadrer. */
.bloc--galerie-mosaique .bloc-galerie {
  column-gap: 12px;
}

.bloc--galerie-mosaique.bloc--colonnes-2 .bloc-galerie {
  columns: 2;
}

.bloc--galerie-mosaique.bloc--colonnes-3 .bloc-galerie {
  columns: 3;
}

.bloc--galerie-mosaique.bloc--colonnes-4 .bloc-galerie {
  columns: 4;
}

.bloc--galerie-mosaique .bloc-galerie-case {
  break-inside: avoid;
  margin-bottom: 12px;
}

.bloc--galerie-mosaique .bloc-galerie-case img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- citation ------------------------------------------------------- */

.bloc-citation {
  max-width: 44em;
  margin: 0 auto;
  text-align: center;
}

.bloc-citation blockquote {
  margin: 0;
  padding: 0;
  font-size: 34px;
  line-height: 1.35;
  font-style: italic;
  border: 0;
}

.bloc-citation blockquote p {
  margin: 0;
}

.bloc-citation blockquote::before {
  content: "«\00a0";
}

.bloc-citation blockquote::after {
  content: "\00a0»";
}

.bloc-citation figcaption {
  margin-top: 1.4rem;
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .72;
}

.bloc-citation-source::before {
  content: " · ";
}

/* --- sous-menu d'ancres --------------------------------------------- */

.bloc-ancres {
  position: relative;
  z-index: 300;
  background: var(--bloc-noir);
  font-family: var(--bloc-police);
}

.bloc-ancres--collant.bloc-ancres--pose {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.bloc-ancres-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: var(--bloc-large);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

.bloc-ancres--centre .bloc-ancres-liste {
  justify-content: center;
}

.bloc-ancres-entree a {
  display: block;
  padding: 16px 22px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  opacity: .78;
}

.bloc-ancres-entree a:hover,
.bloc-ancres-entree a:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, .1);
}

.bloc-ancres-cale {
  height: 0;
}

/* --- écrans étroits -------------------------------------------------- */

@media (max-width: 989px) {
  .bloc-titre {
    font-size: 38px;
  }

  .bloc-texte {
    font-size: 20px;
  }

  .bloc--colonnes-3 .bloc-grille,
  .bloc--colonnes-3 .bloc-cartes,
  .bloc--colonnes-4 .bloc-cartes {
    grid-template-columns: repeat(2, 1fr);
  }

  .bloc--logos-5 .bloc-logos,
  .bloc--logos-6 .bloc-logos {
    grid-template-columns: repeat(4, 1fr);
  }

  .bloc--esp-grand > .bloc-dedans {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (max-width: 767px) {
  .bloc-titre {
    font-size: 30px;
  }

  .bloc-citation blockquote {
    font-size: 24px;
  }

  .bloc-grille,
  .bloc-cartes,
  .bloc--colonnes-2 .bloc-grille,
  .bloc--colonnes-3 .bloc-grille,
  .bloc--colonnes-2 .bloc-cartes,
  .bloc--colonnes-3 .bloc-cartes,
  .bloc--colonnes-4 .bloc-cartes {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .bloc--logos-4 .bloc-logos,
  .bloc--logos-5 .bloc-logos,
  .bloc--logos-6 .bloc-logos {
    grid-template-columns: repeat(3, 1fr);
  }

  .bloc--galerie-mosaique.bloc--colonnes-3 .bloc-galerie,
  .bloc--galerie-mosaique.bloc--colonnes-4 .bloc-galerie {
    columns: 2;
  }

  .bloc--esp-normal > .bloc-dedans {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bloc-diaporama-piste,
  .bloc-carte-image img {
    transition: none;
  }
}

/* ===================================================================
   Le gabarit unique des actualités et des fiches d'équipe.

   Une seule mise en page pour les soixante-quatre fiches : image,
   titre, rôle ou date, texte, liens, vidéo, galerie. Toujours dans cet
   ordre, toujours au même endroit.
   =================================================================== */

.fiche-fond {
  background: var(--bloc-blanc);
  color: var(--bloc-encre);
}

.fiche {
  max-width: 820px;
  margin: 0 auto;
  padding: 70px 24px 90px;
  font-family: var(--bloc-police);
  color: var(--bloc-encre);
}

.fiche--article {
  max-width: 900px;
}

.fiche-image {
  margin: 0 0 2.4rem;
}

.fiche-image img {
  display: block;
  width: 100%;
  height: auto;
}

.fiche--people .fiche-image {
  max-width: 420px;
}

.fiche-tete {
  margin-bottom: 2rem;
}

.fiche-date {
  margin: 0 0 .6rem;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #6b7280;
}

.fiche-date span + span::before {
  content: " · ";
}

.fiche-titre {
  margin: 0;
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
}

.fiche-role {
  margin: .7rem 0 0;
  font-size: 16px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bloc-bleu);
}

.fiche-role:empty {
  display: none;
}

.fiche-chapo {
  margin: 1rem 0 0;
  font-size: 22px;
  line-height: 1.5;
  color: #374151;
}

.fiche-corps {
  font-size: 20px;
  line-height: 1.7;
}

.fiche-corps h2 {
  margin: 2.2rem 0 .8rem;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
}

.fiche-corps img {
  max-width: 100%;
  height: auto;
}

.fiche-corps a {
  color: var(--bloc-bleu);
}

.fiche-liens {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 2.4rem 0 0;
  padding: 0;
  list-style: none;
}

.fiche-lien {
  display: inline-block;
  padding: 11px 20px 9px;
  font-size: 16px;
  text-decoration: none;
  border: 1px solid var(--bloc-bleu);
  color: var(--bloc-bleu);
  background: transparent;
  transition: background .18s ease, color .18s ease;
}

.fiche-lien:hover,
.fiche-lien:focus-visible {
  background: var(--bloc-bleu);
  color: #fff;
}

.fiche-video {
  margin: 2.6rem 0 0;
  aspect-ratio: 16 / 9;
  background: #000;
}

.fiche-video iframe,
.fiche-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.fiche-galerie {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 2.6rem 0 0;
  padding: 0;
  list-style: none;
}

.fiche-galerie img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (max-width: 767px) {
  .fiche {
    padding: 40px 20px 60px;
  }

  .fiche-titre {
    font-size: 32px;
  }

  .fiche-corps {
    font-size: 18px;
  }

  .fiche-galerie {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===================================================================
   Les pages entières en modèles (novembre 2026).

   Toutes les pages sont désormais faites de ces sections. Les règles
   ci-dessous reprennent la typographie et les boutons de la version
   Symfony telle qu'on la voyait : titres de 50, 34 et 24 px, texte de
   18 px (24 px pour un texte d'ouverture), boutons blancs à lettres
   bleues, filets pointillés sur les images.
   =================================================================== */

/* --- titres : trois tailles, celles du site ------------------------- */

.bloc-titre,
.bloc-titre--h2 {
  font-size: 34px;
  line-height: 1.1;
}

.bloc-titre--h1 {
  font-size: 50px;
}

.bloc-titre--h3,
h3.bloc-titre {
  font-size: 24px;
  letter-spacing: normal;
}

.bloc-surtitre {
  font-size: 15px;
  letter-spacing: normal;
  opacity: 1;
}

.bloc-texte {
  font-size: 18px;
  line-height: 1.65;
}

.bloc--texte-grande .bloc-texte {
  font-size: 24px;
}

.bloc-entete {
  margin-bottom: 30px;
}

.bloc-entete .bloc-titre {
  margin-bottom: 0;
}

/* Un champ vide ne prend aucune place tant qu'on ne modifie pas. */
html:not(.en-edition) .bloc [data-champ]:empty {
  display: none;
}

/* --- boutons : blancs, lettres bleues ; pointillés sur une image ----- */

.bloc-boutons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 1.6rem 0 0;
}

.bloc--align-centre .bloc-boutons,
.bloc--pose-centre .bloc-boutons {
  justify-content: center;
}

.bloc-bouton {
  padding: 15px 30px 13px;
  font-size: 18px;
  background: var(--bloc-blanc);
  color: var(--bloc-bleu);
  border: 1px solid var(--bloc-bleu);
}

.bloc-bouton:hover,
.bloc-bouton:focus-visible {
  background: var(--bloc-bleu);
  color: var(--bloc-blanc);
  border-color: var(--bloc-bleu);
}

.bloc--fond-bleu .bloc-bouton,
.bloc--fond-sombre .bloc-bouton,
.bloc--encre-clair .bloc-bouton {
  background: var(--bloc-blanc);
  color: var(--bloc-bleu);
  border-color: var(--bloc-blanc);
}

.bloc--fond-bleu .bloc-bouton:hover,
.bloc--fond-sombre .bloc-bouton:hover,
.bloc--encre-clair .bloc-bouton:hover {
  background: transparent;
  color: var(--bloc-blanc);
  border-color: currentColor;
}

.bloc--fond .bloc-bouton {
  background: transparent;
  color: var(--bloc-blanc);
  border: 0;
  border-top: 1px dashed currentColor;
  border-bottom: 1px dashed currentColor;
  margin: 0 3px;
}

.bloc--fond .bloc-bouton:hover,
.bloc--fond .bloc-bouton:focus-visible {
  background: rgba(255, 255, 255, .14);
  color: var(--bloc-blanc);
}

/* --- couleur de fond libre ------------------------------------------ */

.bloc--couleur {
  background: var(--bloc-fond-perso);
}

.bloc--encre-clair {
  color: var(--bloc-blanc);
}

.bloc--encre-fonce {
  color: var(--bloc-noir);
}

.bloc--encre-clair a {
  color: inherit;
}

/* --- titre et texte : une image facultative -------------------------- */

.bloc-image {
  margin: 1.6rem 0 0;
}

.bloc-image img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* --- colonnes : jusqu'à quatre, ou une large et une étroite ---------- */

.bloc-grille {
  gap: 40px 48px;
}

.bloc--dispo-large .bloc-grille {
  grid-template-columns: 2fr 1fr;
}

.bloc--align-centre .bloc-colonne,
.bloc--align-centre .bloc-entete {
  text-align: center;
}

.bloc-colonne {
  position: relative;
}

.bloc-colonne-titre {
  font-size: 24px;
}

.bloc-colonne .bloc-surtitre {
  margin-bottom: .3rem;
}

.bloc-colonne-image img {
  width: auto;
  max-width: 100%;
}

.bloc--align-centre .bloc-colonne-image img {
  margin: 0 auto;
}

/* Toute la colonne mène quelque part : un lien étendu sur sa surface. */
.bloc-colonne-cible {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.bloc-colonne--lien:hover .bloc-colonne-titre {
  text-decoration: underline;
}

/* --- fond image ou vidéo --------------------------------------------- */

.bloc--fond.bloc--haut-grande > .bloc-dedans {
  min-height: 75vh;
}

.bloc--fond.bloc--haut-plein > .bloc-dedans {
  min-height: 100vh;
}

.bloc--fond .bloc-titre {
  font-size: 50px;
}

.bloc--fond .bloc-titre--h3 {
  font-size: 24px;
}

.bloc--fond .bloc-surtitre {
  margin-bottom: 4px;
}

.bloc-fond-logo {
  margin: 0 auto 30px;
}

.bloc-fond-logo img {
  display: inline-block;
  width: auto;
  max-width: min(300px, 60vw);
  height: auto;
}

/* Le « monochrome bleu » du site : l'image passe en gris, puis le bleu
   s'y fond en mode écran — les noirs deviennent bleus, les blancs
   restent blancs. */
.bloc--teinte-bleue .bloc-fond-image,
.bloc--teinte-bleue .bloc-fond-video {
  filter: grayscale(1);
}

.bloc--teinte-bleue .bloc-fond-voile {
  opacity: 1;
  background: var(--bloc-bleu);
  mix-blend-mode: screen;
}

.bloc-fond-fleche {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.bloc-fond-fleche:hover {
  transform: rotate(45deg) translate(6px, 6px);
}

.bloc-fond-cible {
  position: absolute;
  bottom: 0;
}

/* --- vidéo ------------------------------------------------------------ */

.bloc-video-cadre {
  position: relative;
}

.bloc-video-cadre iframe,
.bloc-video-cadre video {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

.bloc--video .bloc-titre {
  margin-bottom: 20px;
}

.bloc--video .bloc-texte {
  margin-top: 1.4rem;
}

.bloc-colonne .bloc-video-cadre {
  margin-bottom: 1.2rem;
}

/* --- liste en mosaïque : la grille du site, dans l'enveloppe ---------- */

.bloc--liste-mosaique.bloc--largeur-pleine .bloc-entete {
  max-width: var(--bloc-large);
  margin: 0 auto 30px;
  padding: 0 24px;
}

.bloc-mosaique .av-masonry {
  background: transparent;
}

/* --- grilles à cinq et six colonnes ---------------------------------- */

.bloc--colonnes-5 .bloc-cartes {
  grid-template-columns: repeat(5, 1fr);
}

.bloc--colonnes-6 .bloc-cartes {
  grid-template-columns: repeat(6, 1fr);
}

@media (max-width: 989px) {
  .bloc-titre--h1,
  .bloc--fond .bloc-titre {
    font-size: 38px;
  }

  .bloc--colonnes-4 .bloc-grille,
  .bloc--dispo-large .bloc-grille {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .bloc-titre,
  .bloc-titre--h2 {
    font-size: 28px;
  }

  .bloc-titre--h1,
  .bloc--fond .bloc-titre {
    font-size: 34px;
  }

  .bloc--texte-grande .bloc-texte {
    font-size: 20px;
  }

  .bloc--colonnes-4 .bloc-grille,
  .bloc--dispo-large .bloc-grille {
    grid-template-columns: 1fr;
  }

  .bloc--fond .bloc-bouton {
    margin: 0;
  }
}

/* Une colonne à fond propre : un panneau coloré, avec sa marge. */
.bloc-colonne--couleur {
  padding: 30px;
  background: var(--bloc-fond-perso);
}

/* Plein écran : sous l'en-tête transparent des pages intérieures, la
   bande s'arrête où s'arrêtait celle du thème (l'écran moins l'en-tête) ;
   l'accueil, lui, n'a pas d'en-tête et prend tout l'écran. */
.bloc--fond.bloc--haut-plein > .bloc-dedans {
  min-height: calc(100vh - 129px);
}

.home .bloc--fond.bloc--haut-plein > .bloc-dedans,
.avia-blank .bloc--fond.bloc--haut-plein > .bloc-dedans {
  min-height: 100vh;
}

/* Le monochrome bleu du thème est sombre : l'image ne fait que
   transparaître dans le bleu. */
.bloc--teinte-bleue .bloc-fond-image,
.bloc--teinte-bleue .bloc-fond-video {
  filter: grayscale(1) brightness(.62);
}

/* La grille et l'agenda du thème gardent leur jeu de couleurs, mais
   c'est la section qui donne le fond. */
.bloc-mosaique.main_color,
.bloc-mosaique.footer_color,
.bloc-mosaique.alternate_color,
.bloc-calendrier.main_color,
.bloc-calendrier.footer_color,
.bloc-calendrier.alternate_color {
  background: transparent;
}

.bloc-fond-logo img {
  max-width: min(340px, 60vw);
}

/* Le conteneur du thème n'est là que pour que ses règles de couleur
   s'appliquent : il ne pose ni largeur ni marge. */
.bloc-mosaique > .container,
.bloc-calendrier > .container {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.bloc-mosaique .template-page,
.bloc-calendrier .template-page {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
}

/* Le dégradé des pages KnowNess : violet, sable, bleu canard. */
.bloc--fond-degrade {
  background: linear-gradient(100deg, #ae50fe 0%, #e8e3c2 50%, #009ba8 100%);
  color: var(--bloc-noir);
}

.bloc-entete .bloc-texte h3 {
  margin: .3em 0 0;
  font-size: 24px;
  font-weight: 400;
}

.bloc--largeur-etroite > .bloc-dedans {
  max-width: 540px;
}

.bloc-surtitre {
  text-transform: none;
}

.bloc-fond-logo img {
  width: min(300px, 60vw);
  max-width: none;
}

.bloc-colonne-titre.bloc-titre--h1 {
  font-size: 50px;
  letter-spacing: 1px;
}

.bloc-colonne-titre.bloc-titre--h2 {
  font-size: 34px;
}

@media (max-width: 767px) {
  .bloc-colonne-titre.bloc-titre--h1 {
    font-size: 34px;
  }
}

/* --- le slider plein écran des spectacles ----------------------------- */

.bloc--diaporama-plein > .bloc-dedans {
  max-width: none;
  padding: 0;
}

.bloc--diaporama-plein .bloc-diapo {
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: #000;
}

.bloc--diaporama-plein .bloc-diapo-fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bloc--diaporama-plein .bloc-diapo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .6));
  pointer-events: none;
}

.bloc-diapo-propos {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 120px;
  z-index: 2;
  padding: 0 24px;
  text-align: center;
  color: #fff;
}

.bloc-diapo-surtitre {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.bloc-diapo-titre {
  margin: 0 0 18px;
  font-size: clamp(44px, 7vw, 104px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 2px;
  color: #fff;
}

.bloc-diapo-accroche {
  max-width: 38em;
  margin: 0 auto 28px;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.45;
  color: #fff;
}

.bloc--diaporama-plein .bloc-bouton {
  background: transparent;
  color: #fff;
  border: 0;
  border-top: 1px dashed #fff;
  border-bottom: 1px dashed #fff;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bloc--diaporama-plein .bloc-bouton:hover {
  background: rgba(255, 255, 255, .14);
}

.bloc--diaporama-plein .bloc-diaporama-fleche {
  width: 56px;
  height: 56px;
  background: transparent;
  border-top: 1px dashed #fff;
  border-bottom: 1px dashed #fff;
}

.bloc--diaporama-plein .bloc-diaporama-fleche--avant {
  left: 34px;
}

.bloc--diaporama-plein .bloc-diaporama-fleche--apres {
  right: 34px;
}

.bloc--diaporama-plein .bloc-diaporama-points {
  bottom: 44px;
}

.bloc--diaporama-plein .bloc-diaporama-points button {
  width: 12px;
  height: 12px;
  border: 1px solid #fff;
  background: transparent;
}

.bloc--diaporama-plein .bloc-diaporama-points button[aria-current="true"] {
  background: #fff;
}

/* --- le formulaire de contact ---------------------------------------- */

.bloc-formulaire {
  margin-top: 1.6rem;
  font-size: 16px;
}

.bloc-formulaire p {
  margin: 0 0 16px;
}

.bloc-formulaire label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.bloc-formulaire input,
.bloc-formulaire select,
.bloc-formulaire textarea {
  width: 100%;
  padding: 11px 12px;
  font: 16px var(--bloc-police);
  color: var(--bloc-noir);
  background: #fff;
  border: 1px solid currentColor;
  border-radius: 0;
}

.bloc--fond-bleu .bloc-formulaire input,
.bloc--fond-bleu .bloc-formulaire select,
.bloc--fond-bleu .bloc-formulaire textarea {
  border-color: #fff;
}

.bloc-formulaire .form-piege {
  position: absolute;
  left: -9999px;
}

.bloc-message {
  margin: 1rem 0;
  padding: 12px 16px;
  font-size: 16px;
  background: rgba(255, 255, 255, .15);
  border-left: 3px solid currentColor;
}

/* ===================================================================
   L'arborescence de novembre : menu secondaire et pied de page.
   =================================================================== */

.menu-secondaire {
  position: absolute;
  top: 10px;
  right: 34px;
  z-index: 600;
  font-family: var(--bloc-police);
}

.html_header_top .menu-secondaire,
#header .menu-secondaire {
  top: 8px;
}

.a-barre .menu-secondaire {
  margin-top: var(--ba-hauteur, 0px);
}

/* sur l'accueil, il flotte au-dessus de la vidéo */
body > .menu-secondaire,
#wrap_all > .menu-secondaire {
  position: absolute;
}

.menu-secondaire ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-secondaire a {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  opacity: .9;
}

.menu-secondaire a:hover,
.menu-secondaire a[aria-current="page"] {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.pied {
  clear: both;
  padding: 50px 24px 20px;
  background: #fff;
  font-family: var(--bloc-police);
  color: var(--bloc-bleu);
  border-top: 8px solid #000;
}

.pied-dedans {
  display: grid;
  grid-template-columns: 150px 1fr auto auto;
  gap: 40px;
  align-items: start;
  max-width: var(--bloc-large);
  margin: 0 auto;
}

.pied-logo img {
  display: block;
  width: 120px;
  height: auto;
}

.pied-coordonnees {
  font-size: 15px;
  line-height: 1.6;
}

.pied-coordonnees p {
  margin: 0 0 6px;
}

.pied a {
  color: var(--bloc-bleu);
}

.pied-reseaux,
.pied-liens {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.9;
}

.pied-liens a,
.pied-reseaux a {
  text-decoration: none;
}

.pied-liens a:hover,
.pied-reseaux a:hover {
  text-decoration: underline;
}

.pied-copyright {
  max-width: var(--bloc-large);
  margin: 40px auto 0;
  font-size: 11px;
  opacity: .8;
}

@media (max-width: 767px) {
  .pied-dedans {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .menu-secondaire {
    right: 70px;
    top: 14px;
  }

  .menu-secondaire ul {
    gap: 12px;
  }

  .menu-secondaire a {
    font-size: 11px;
    letter-spacing: .06em;
  }
}

/* --- Dates (modèle « Dates ») ----------------------------------------- */
.bloc--dates .dates-liste { list-style: none; margin: 0 0 1.5em; padding: 0; border-top: 1px solid currentColor; }
.bloc--dates .date { display: grid; grid-template-columns: minmax(11em, 1fr) 1.3fr 1.7fr 7em; gap: .4em 1.5em;
  align-items: baseline; margin: 0; padding: .9em 0; border-bottom: 1px solid rgba(127, 127, 127, .35); }
.bloc--dates .date[hidden] { display: none; }
.bloc--dates .date-quand { font-weight: 600; }
.bloc--dates .date-quoi, .bloc--dates .date-ou { display: flex; flex-wrap: wrap; gap: .2em .6em; }
.bloc--dates .date-piece { font-weight: 600; }
.bloc--dates .date-ville { opacity: .75; }
.bloc--dates .date-ville::before { content: "· "; }
.bloc--dates .date-lien { white-space: nowrap; justify-self: end; }
.bloc--dates .dates-annee { margin: 1.4em 0 .5em; font-size: 24px; }
.bloc--dates .dates-filtres { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 1.5em; }
.bloc--dates .dates-filtre { font: inherit; padding: .35em .9em; border: 1px solid currentColor; border-radius: 2em;
  background: transparent; color: inherit; cursor: pointer; }
.bloc--dates .dates-filtre--actif { background: #00008b; border-color: #00008b; color: #fff; }
@media (max-width: 767px) {
  .bloc--dates .date { grid-template-columns: 1fr; gap: .15em; }
  .bloc--dates .date-lien { justify-self: start; }
}

/* Une section cachée (ou vide) se voit en mode édition, estompée */
.bloc--cachee { opacity: .55; outline: 2px dashed #b0b0b0; outline-offset: -6px; }
.bloc--cachee::before { content: "Section cachée aux visiteurs"; display: block; position: relative; z-index: 2;
  margin: 0 auto; width: max-content; padding: .2em .8em; background: #555; color: #fff; font-size: 13px; }

/* --- Fiche pratique, tableau de crédits, liste de partenaires --------- */
.bloc-fiche { display: grid; gap: 0; margin: 0; }
.bloc-fiche > div { padding: .7em 0; border-bottom: 1px solid rgba(127, 127, 127, .35); }
.bloc-fiche > div:first-child { border-top: 1px solid rgba(127, 127, 127, .35); }
.bloc-fiche dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin: 0 0 .15em; }
.bloc-fiche dd { margin: 0; font-size: 18px; }
.bloc .bloc-tableau { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; background: transparent; border: 0; box-shadow: none; }
.bloc .bloc-tableau tr { border: 0; background: transparent; }
.bloc .bloc-tableau th, .bloc .bloc-tableau td { border-left: 0; border-right: 0; border-top: 0; text-align: left; vertical-align: top; padding: .65em 1em .65em 0;
  border: 0; border-bottom: 1px solid rgba(127, 127, 127, .35); background: transparent; font-size: 17px; }
.bloc-tableau tbody th { width: 34%; font-weight: 600; text-transform: none; letter-spacing: 0; color: inherit; }
.bloc-tableau a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.bloc-partenaires { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5em .8em; }
.bloc-partenaires li { margin: 0; padding: .4em .9em; border: 1px solid rgba(127, 127, 127, .45); border-radius: 2em; }
@media (max-width: 767px) {
  .bloc-tableau, .bloc-tableau tbody, .bloc-tableau tr, .bloc-tableau th, .bloc-tableau td { display: block; width: 100%; }
  .bloc-tableau tbody th { width: 100%; border-bottom: 0; padding-bottom: 0; }
  .bloc-tableau td { padding-top: .1em; }
}

/* --- Fil des actus --------------------------------------------------- */
.bloc--dates .actus-liste { list-style: none; margin: 0 0 2em; padding: 0; display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2em 1.6em; }
.bloc--dates .actu { display: block; padding: 0; border: 0; }
.bloc--dates .actu[hidden] { display: none; }
.actu-lien { display: flex; flex-direction: column; gap: .8em; color: inherit; text-decoration: none; height: 100%; }
.actu-lien:hover .actu-titre { text-decoration: underline; text-underline-offset: .15em; }
.actu-image { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: rgba(127, 127, 127, .15); }
.actu-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.actu-texte { display: flex; flex-direction: column; gap: .35em; }
.actu-quand { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.actu-titre { font-size: 21px; line-height: 1.25; font-weight: 500; }
.actu-extrait { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.actu-etiquettes { display: flex; flex-wrap: wrap; gap: .4em; margin-top: .2em; }
.actu-etiquette { font-size: 13px; padding: .15em .7em; border: 1px solid currentColor; border-radius: 2em; }
.actu-etiquette--type { opacity: .7; }
.bloc--actus-une .actus-liste { grid-template-columns: 1fr; }
.bloc--actus-une .actu-lien { display: grid; grid-template-columns: 3fr 2fr; gap: 2em; align-items: center; }
.bloc--actus-une .actu-titre { font-size: 30px; }
.bloc--actus-une .actu-extrait { -webkit-line-clamp: 3; font-size: 18px; }
@media (max-width: 989px) { .bloc--dates .actus-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .bloc--dates .actus-liste { grid-template-columns: 1fr; }
  .bloc--actus-une .actu-lien { grid-template-columns: 1fr; gap: 1em; }
}

/* --- Contact : trois lignes, en grand -------------------------------- */
.contact-mot { font-size: clamp(34px, 5vw, 56px); line-height: 1.1; margin: 0 0 .5em; }
.contact-courriel { font-size: clamp(22px, 3vw, 34px); margin: 0 0 .6em; }
.contact-courriel a { user-select: all; }
.contact-reseau { font-size: 22px; margin: 0; }

/* Colonnes en cartes : des images cadrées à la même taille */
.bloc--images-cadrees .bloc-colonne-image img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Crédit photo, sous l'image */
.bloc-galerie-case, .fiche-galerie li { position: relative; }
.bloc-galerie-credit, .fiche-credit { display: block; margin: 4px 0 0; font-size: 12px; line-height: 1.3; opacity: .7; }
.fiche-credit { text-align: right; }

/* Le menu en deux lignes : des barres obliques entre les entrées, comme
   sur la maquette de Solen (la petite ligne pour les démarches, la
   grande pour découvrir la compagnie). */
.menu-secondaire ul { gap: 0; }
.menu-secondaire li + li::before { content: "/"; margin: 0 .8em; color: #fff; opacity: .6; font-size: 13px; }
@media only screen and (min-width: 990px) {
  #avia-menu > li.menu-item-top-level + li.menu-item-top-level > a::before {
    content: "/"; position: absolute; left: -2px; top: 50%; transform: translateY(-50%);
    opacity: .5; font-weight: 400; pointer-events: none;
  }
  #avia-menu > li.menu-item-top-level > a { position: relative; }
}
@media only screen and (max-width: 767px) {
  .menu-secondaire { right: 14px; top: 8px; }
  .menu-secondaire a, .menu-secondaire li + li::before { font-size: 11px; letter-spacing: .06em; }
  .menu-secondaire li + li::before { margin: 0 .5em; }
}
