/*
Theme Name: Amis du Musée du Génie
Description: Thème de l’Association des Amis du Musée du Génie (Angers). Reprend à l’identique l’ancien site statique : rouge et noir, couleurs traditionnelles de l’arme du Génie.
Version: 1.2.3
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: amg
*/

/* Les règles propres à WordPress (boutons de l’éditeur, barre d’administration)
   sont regroupées à la fin du fichier. */

@font-face { font-family: "Teko"; src: url(assets/fonts/teko.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(assets/fonts/poppins-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(assets/fonts/poppins-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url(assets/fonts/poppins-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --rouge: #b22034;
  --rouge-fonce: #871827;
  --encre: #0b0b0b;
  --texte: #2a2a2a;
  --texte-doux: #5a5a5a;
  --papier: #ffffff;
  --gris: #eeeeee;
  --gris-chaud: #f6f4f1;
  --trait: #dcd8d2;
  --titre: "Teko", "Arial Narrow", sans-serif;
  --corps: "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --rayon: 6px;
  --ombre: 0 1px 2px rgba(11, 11, 11, .06), 0 8px 24px rgba(11, 11, 11, .08);
  --largeur: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--papier); color: var(--texte);
  font: 400 1.125rem/1.7 var(--corps);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rouge); text-underline-offset: .18em; }
a:hover { color: var(--rouge-fonce); }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; border-radius: 2px; }
address { font-style: normal; }

h1, h2, h3 { font-family: var(--titre); font-weight: 500; color: var(--encre); line-height: 1.02; margin: 0 0 .4em; letter-spacing: .01em; text-transform: uppercase; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3rem); }
h3 { font-size: 1.7rem; line-height: 1.1; }
p { margin: 0 0 1em; }

.conteneur { width: min(100% - 2rem, var(--largeur)); margin-inline: auto; }
.centre { text-align: center; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: .6rem 1rem; z-index: 100; }
.evitement:focus { left: 0; }

.surtitre {
  font: 600 .85rem/1.2 var(--corps); letter-spacing: .16em; text-transform: uppercase;
  color: var(--rouge); margin: 0 0 .9rem; display: flex; align-items: center; gap: .7rem;
}
.surtitre::before { content: ""; width: 2.2rem; height: 2px; background: currentColor; }
.titre-section { margin-bottom: 1.4rem; }
.intro { max-width: 42em; margin-bottom: 2rem; }

/* ------------------------------------------------------------ boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .55rem 1.35rem; border-radius: var(--rayon);
  font: 600 1rem/1.2 var(--corps); text-decoration: none; border: 2px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-grand { min-height: 56px; padding-inline: 1.8rem; font-size: 1.0625rem; }
.btn-plein { background: var(--rouge); color: #fff; }
.btn-plein:hover { background: var(--rouge-fonce); color: #fff; }
.btn-contour { border-color: var(--encre); color: var(--encre); background: transparent; }
.btn-contour:hover { background: var(--encre); color: #fff; }
.btn-clair { background: #fff; color: var(--encre); }
.btn-clair:hover { background: var(--gris); color: var(--encre); }

:is(a.lien-fleche, .lien-fleche a) { font-weight: 600; text-decoration: none; }
:is(a.lien-fleche, .lien-fleche a)::after { content: " →"; transition: margin .15s; }
:is(a.lien-fleche, .lien-fleche a):hover::after { margin-left: .3rem; }

/* ------------------------------------------------------------ en-tête */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.entete-ligne { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.marque { display: flex; align-items: center; flex: none; text-decoration: none; }
/* Le logo contient le nom de l'association ; plus petit sur téléphone pour laisser la place au bouton Menu */
.marque-logo { height: clamp(34px, 10vw, 50px); width: auto; flex: none; }

.menu { display: flex; align-items: center; gap: 1rem; }
.menu ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.menu li a {
  display: block; padding: .6rem .5rem; color: var(--encre); text-decoration: none;
  font-weight: 500; font-size: .95rem; border-bottom: 3px solid transparent;
}
.menu li a:hover { color: var(--rouge); }
.menu li a[aria-current="page"] { border-bottom-color: var(--rouge); color: var(--rouge); }
.menu-bouton { display: none; }

@media (max-width: 1200px) {
  .menu-bouton {
    display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: 0 1rem;
    background: none; border: 2px solid var(--encre); border-radius: var(--rayon);
    font: 600 1rem var(--corps); color: var(--encre); cursor: pointer;
  }
  .menu-bouton-barres, .menu-bouton-barres::before, .menu-bouton-barres::after { display: block; width: 20px; height: 2px; background: currentColor; content: ""; position: relative; }
  .menu-bouton-barres::before { position: absolute; top: -6px; }
  .menu-bouton-barres::after { position: absolute; top: 6px; }
  .menu {
    display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1.2rem;
    border-bottom: 1px solid var(--trait); box-shadow: var(--ombre);
  }
  .menu.ouvert { display: flex; }
  .menu ul { flex-direction: column; }
  .menu li a { padding: .95rem .25rem; font-size: 1.125rem; border-bottom: 1px solid var(--gris); }
  .menu li a[aria-current="page"] { border-bottom-color: var(--gris); }
  .menu-adherer { margin-top: 1rem; }
}

/* ------------------------------------------------------------ accueil */
.hero { background: var(--encre); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--rouge); }
.hero-grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 2rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 5.6rem); font-weight: 400; }
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); letter-spacing: .04em; }
.hero h1 strong { font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: .01em; margin-top: .08em; display: block; font-weight: 600; color: #fff; box-shadow: inset 0 -.14em 0 var(--rouge); width: fit-content; }
.hero .surtitre { color: #fff; }
.hero .surtitre::before { background: var(--rouge); }
.hero-chapo { font-size: clamp(1.15rem, 2vw, 1.35rem); color: #d9d6d2; max-width: 34em; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }
.hero-texte { position: relative; z-index: 1; }
/* Le plan déborde de sa colonne surtout vers la droite : il ne passe pas sous le texte. */
.hero-grille::after {
  content: ""; aspect-ratio: 1; width: calc(100% + 6rem); translate: 1.5rem 0; justify-self: center; opacity: .5;
  background: url(assets/vauban.svg) center/contain no-repeat; animation: rotation 240s linear infinite;
}
@keyframes rotation { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-grille::after { animation: none; } html { scroll-behavior: auto; } }
@media (max-width: 820px) {
  .hero-grille { grid-template-columns: 1fr; }
  .hero-grille::after { position: absolute; right: -35%; top: 50%; translate: 0 -50%; width: 95%; opacity: .16; }
}

.chiffres { border-bottom: 1px solid var(--trait); }
.chiffres-grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.chiffres-grille p { margin: 0; padding: 1.8rem 1rem; text-align: center; border-left: 1px solid var(--trait); font-size: .95rem; line-height: 1.9125rem; color: var(--texte-doux); }
.chiffres-grille p:first-child { border-left: 0; }
.chiffres-grille strong { display: block; font: 500 clamp(2.6rem, 5vw, 3.6rem)/1 var(--titre); color: var(--rouge); }
@media (max-width: 700px) {
  .chiffres-grille { grid-template-columns: repeat(2, 1fr); }
  .chiffres-grille p:nth-child(odd) { border-left: 0; }
  .chiffres-grille p:nth-child(n+3) { border-top: 1px solid var(--trait); }
}

/* ------------------------------------------------------------ sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-grise {
  background-color: var(--gris-chaud);
  background-image: linear-gradient(var(--trait) 1px, transparent 1px), linear-gradient(90deg, var(--trait) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
  position: relative;
}
.section-grise::before { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--gris-chaud) 0%, rgba(246, 244, 241, .82) 100%); }
.section-grise > * { position: relative; }

.bandeau { background: var(--encre); color: #fff; padding-block: clamp(2.8rem, 6vw, 4.5rem); position: relative; overflow: hidden; }
.bandeau::before { content: ""; position: absolute; right: -120px; top: 50%; translate: 0 -50%; width: 460px; aspect-ratio: 1; background: url(assets/vauban.svg) center/contain no-repeat; opacity: .22; }
.bandeau::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--rouge); }
.bandeau .conteneur { position: relative; }
.bandeau h1 { color: #fff; margin-bottom: .2em; }
.bandeau .surtitre { color: #fff; }
.bandeau .surtitre::before { background: var(--rouge); }
.bandeau-chapo { font-size: 1.25rem; color: #d9d6d2; max-width: 38em; margin: 0; }
/* Photo du bandeau (image mise en avant de la page) : à droite, fondue dans le noir, à la place du plan */
.bandeau-avec-photo::before { display: none; }
.bandeau-photo {
  position: absolute; top: 0; right: 0; width: 45%; height: calc(100% - 6px); object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 40%); mask-image: linear-gradient(to right, transparent, #000 40%);
}
.bandeau-avec-photo .conteneur { padding-right: 40%; }
@media (max-width: 820px) {
  .bandeau-photo { width: 100%; object-position: center; opacity: .3; -webkit-mask-image: none; mask-image: none; }
  .bandeau-avec-photo .conteneur { padding-right: 0; }
}

.grille-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.grille-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.mission, .voie, .contact { background: #fff; border: 1px solid var(--trait); border-top: 4px solid var(--rouge); border-radius: var(--rayon); padding: 1.8rem; }
.mission > :last-child, .contact > :last-child { margin-bottom: 0; }
.mission-num { font: 500 1.4rem/1 var(--titre); color: var(--rouge); letter-spacing: .1em; display: block; margin-bottom: .8rem; }

.colonnes { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .colonnes { grid-template-columns: 1fr; } }
.prose { max-width: 42em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.liste-coches { list-style: none; padding: 0; margin: 0 0 1.4em; }
.liste-coches li { padding: .55rem 0 .55rem 2.2rem; position: relative; border-bottom: 1px solid var(--gris); }
.liste-coches li::before { content: ""; position: absolute; left: .2rem; top: 1.1rem; width: 1rem; height: .5rem; border: solid var(--rouge); border-width: 0 0 3px 3px; rotate: -45deg; }

.encart { background: var(--gris-chaud); border-left: 4px solid var(--rouge); border-radius: var(--rayon); padding: 2rem; }
.encart h2 { font-size: 2rem; }
.encart > :last-child { margin-bottom: 0; }
.encart-fort { background: var(--rouge); color: #fff; border-left: 0; }
.encart-fort h2 { color: #fff; }

.appel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.appel h2 { margin-bottom: .2em; }
.appel p { margin: 0; }

.note { margin-top: 2.5rem; padding: 1.1rem 1.4rem; background: var(--gris-chaud); border-radius: var(--rayon); font-size: 1rem; color: var(--texte-doux); }
.a-completer { margin-top: 2rem; padding: 1.5rem 1.8rem; border: 2px dashed var(--trait); border-radius: var(--rayon); background: #fff; }
.a-completer p { margin: 0; }

/* ------------------------------------------------------------ frise */
.frise { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; counter-reset: etape; }
.frise > * { position: relative; padding: 2.2rem 1.5rem 0 0; border-top: 2px solid var(--encre); }
.frise > *::before { content: ""; position: absolute; top: -9px; left: 0; width: 16px; height: 16px; background: var(--rouge); rotate: 45deg; }
.frise-date { font: 500 1.5rem/1 var(--titre); color: var(--rouge); letter-spacing: .04em; text-transform: uppercase; margin-bottom: .5rem; }
.frise h3 { font-size: 1.6rem; }
.frise p:last-child { font-size: 1rem; }
@media (max-width: 560px) {
  .frise { grid-template-columns: 1fr; }
  .frise > * { border-top: 0; border-left: 2px solid var(--encre); padding: 0 0 1.6rem 1.8rem; }
  .frise > *::before { top: 0; left: -9px; }
}

/* ------------------------------------------------------------ bureau */
.grille-bureau { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.5rem; }
.membre { background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.8rem 1.5rem; text-align: center; transition: box-shadow .2s, translate .2s; }
.membre:hover { box-shadow: var(--ombre); translate: 0 -2px; }
.membre-portrait { width: 112px; height: 112px; margin: 0 auto 1.2rem; border-radius: 50%; overflow: hidden; background: var(--encre); color: #fff; display: grid; place-items: center; font: 500 2.6rem/1 var(--titre); letter-spacing: .05em; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--rouge); padding-top: .15em; }
.membre-portrait img { width: 100%; height: 100%; object-fit: cover; margin-top: -.15em; }
.membre-role { font: 600 .8rem/1.3 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin-bottom: .4rem; }
.membre-nom { font-size: 1.75rem; margin: 0; text-transform: none; }

/* ------------------------------------------------------------ documents */
.filtres { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.chip { min-height: 44px; padding: 0 1.2rem; border-radius: 999px; border: 2px solid var(--trait); background: #fff; font: 500 1rem var(--corps); color: var(--encre); cursor: pointer; }
.chip:hover { border-color: var(--encre); }
.chip[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: #fff; }

.annee { margin-bottom: 3rem; }
.annee[hidden] { display: none; }
.annee-titre { display: flex; align-items: center; gap: 1rem; color: var(--rouge); font-size: 2.4rem; margin-bottom: 1.4rem; }
.annee-titre::after { content: ""; flex: 1; height: 1px; background: var(--trait); }

.grille-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 1.5rem; }
.grille-docs-seule { grid-template-columns: minmax(0, 560px); }
.doc { display: grid; grid-template-columns: 150px 1fr; gap: 1.5rem; background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon); padding: 1.3rem; transition: box-shadow .2s, translate .2s; }
.doc:hover { box-shadow: var(--ombre); translate: 0 -2px; }
.doc-couverture { display: block; align-self: start; border: 1px solid var(--trait); box-shadow: 4px 4px 0 var(--gris); background: var(--gris); }
.doc-couverture img { width: 100%; aspect-ratio: 210 / 297; object-fit: cover; object-position: top; }
.couverture-vide { display: grid; place-items: center; aspect-ratio: 210 / 297; padding: .8rem; background: var(--rouge); color: #fff; font: 500 1.3rem/1.1 var(--titre); text-transform: uppercase; text-align: center; }
.doc-corps { display: flex; flex-direction: column; min-width: 0; }
.doc-etiquette { font: 600 .8rem/1.3 var(--corps); letter-spacing: .14em; text-transform: uppercase; color: var(--rouge); margin-bottom: .4rem; }
.doc-titre { font-size: 1.8rem; margin-bottom: .3rem; text-transform: none; }
.doc-titre a { color: inherit; text-decoration: none; }
.doc-titre a:hover { color: var(--rouge); }
.doc-meta { font-size: .95rem; color: var(--texte-doux); margin-bottom: .8rem; }
.doc-resume { font-size: 1rem; }
.doc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: auto 0 0; padding-top: .4rem; }
@media (max-width: 520px) {
  .doc { grid-template-columns: 96px 1fr; gap: 1rem; padding: 1rem; }
  .doc-titre { font-size: 1.5rem; }
  .doc-actions .btn { flex: 1 1 auto; }
}

.une { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.une-couverture { display: block; rotate: -2deg; border: 1px solid var(--trait); box-shadow: 14px 14px 0 var(--rouge); transition: rotate .25s; }
.une-couverture:hover { rotate: 0deg; }
.une-corps { max-width: 34em; }
.une-corps .doc-actions { margin-top: 1.6rem; }
@media (max-width: 700px) {
  .une { grid-template-columns: 1fr; }
  .une-couverture { max-width: 240px; box-shadow: 10px 10px 0 var(--rouge); }
}

/* ------------------------------------------------------------ adhésion, contact */
.voie h3 { font-size: 2rem; }
.voie-actions { display: flex; flex-direction: column; gap: .8rem; margin: 1.5rem 0 0; }
.etapes { padding-left: 1.3rem; margin: 0; }
.etapes li { padding: .3rem 0 .3rem .3rem; }
.etapes li::marker { color: var(--rouge); font-weight: 600; }
.contact h2 { font-size: 2rem; }
.contact-gros { font: 500 2.6rem/1.1 var(--titre); text-decoration: none; letter-spacing: .03em; white-space: nowrap; }
.contact-moyen { font-weight: 500; overflow-wrap: anywhere; }
.reseau { text-align: center; }
.reseau-icone { display: block; width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--rouge); }

/* ------------------------------------------------------------ lecteur */
.lecteur { padding-block: 2rem 4rem; }
.fil { margin-bottom: 1.5rem; }
.fil a { text-decoration: none; font-weight: 500; }
.lecteur-entete { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.2rem; margin-bottom: 1.5rem; }
.lecteur-entete h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: none; margin-bottom: .1em; }
.lecteur-entete .doc-meta, .lecteur-entete .doc-actions { margin: 0; padding: 0; }
.lecteur-cadre { display: block; width: 100%; height: min(85vh, 1100px); min-height: 480px; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--gris); }
.lecteur-secours { padding: 3rem 1.5rem; text-align: center; }

/* ------------------------------------------------------------ pied de page */
.pied { background: var(--encre); color: #cfccc8; font-size: 1rem; }
.treillis {
  height: 28px; background-color: var(--rouge);
  background-image:
    linear-gradient(135deg, transparent 46%, rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, .55) 54%, transparent 54%),
    linear-gradient(45deg, transparent 46%, rgba(255, 255, 255, .55) 46%, rgba(255, 255, 255, .55) 54%, transparent 54%);
  background-size: 28px 28px;
  border-block: 3px solid rgba(255, 255, 255, .55);
}
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: 3.5rem; }
@media (max-width: 760px) { .pied-grille { grid-template-columns: 1fr; gap: 1.8rem; } }
.pied-titre { font: 500 1.5rem/1.1 var(--titre); text-transform: uppercase; color: #fff; letter-spacing: .04em; margin-bottom: .7rem; }
.pied a { color: #fff; }
.pied a:hover { color: #fff; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; }
.pied-liens { list-style: none; margin: 0; padding: 0; }
.pied-liens li { padding: .2rem 0; }
.pied :focus-visible, .hero :focus-visible, .bandeau :focus-visible, .encart-fort :focus-visible { outline-color: #fff; }

@media print {
  .entete, .pied, .filtres, .doc-actions, .wp-block-buttons, .hero-grille::after { display: none; }
}

/* ------------------------------------------------------------ propre à WordPress */

/* Barre d'administration (visible seulement une fois connecté) */
.admin-bar .entete { top: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .entete { top: 0; } }

.contact-gros a { text-decoration: none; }

/* Adresse postale : paragraphe sans marge, comme l'élément <address> du site statique */
.adresse { margin: 0; }

/* Boutons de l'éditeur de blocs, mêmes styles que .btn.
   Style par défaut = .btn-plein ; style « Contour » = .btn-contour ; style « Clair » = .btn-clair ;
   classe CSS additionnelle « bouton-grand » = .btn-grand. */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0 0 1em; }
.wp-block-buttons:last-child { margin-bottom: 0; }
.wp-block-buttons > .wp-block-button { display: flex; margin: 0; }
.wp-block-buttons .wp-block-button .wp-block-button__link {
  display: inline-flex; flex: 1 1 auto; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .55rem 1.35rem; border-radius: var(--rayon);
  font: 600 1rem/1.2 var(--corps); text-decoration: none; border: 2px solid transparent;
  background: var(--rouge); color: #fff; text-align: start;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.wp-block-buttons .wp-block-button .wp-block-button__link:hover { background: var(--rouge-fonce); color: #fff; }
.wp-block-buttons .wp-block-button .wp-block-button__link:active { transform: translateY(1px); }
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link { border-color: var(--encre); color: var(--encre); background: transparent; }
.wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--encre); color: #fff; }
.wp-block-buttons .wp-block-button.is-style-clair .wp-block-button__link { background: #fff; color: var(--encre); }
.wp-block-buttons .wp-block-button.is-style-clair .wp-block-button__link:hover { background: var(--gris); color: var(--encre); }
.wp-block-buttons .wp-block-button.bouton-grand .wp-block-button__link { min-height: 56px; padding-inline: 1.8rem; font-size: 1.0625rem; }

.wp-block-buttons.hero-actions { gap: .9rem; margin: 0; }
.wp-block-buttons.centre { justify-content: center; }
.wp-block-buttons.voie-actions { flex-direction: column; align-items: stretch; gap: .8rem; margin: 1.5rem 0 0; }
