/* AGORA — feuille de style
   Direction : affiche risographiée. Encre noire sur papier blanc, une seule encre
   d'accompagnement (rose fluo), décalée comme un tirage mal calé : c'est le seul effet. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --encre: #000000;
  --papier: #ffffff;
  --rose: #ff3ea5;
  --rose-pale: #ffe1f0;
  --gris: #5c5c5c;

  --affiche: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --texte: "Archivo", system-ui, sans-serif;

  --trait: 2px solid var(--encre);
  --decalage: 0.06em;
  --marge: clamp(1.25rem, 4vw, 2.5rem);
  --largeur: 76rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }

.evitement {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--encre);
  color: var(--papier);
  font-weight: 700;
}
.evitement:focus { top: 1rem; }

/* ---------- Boutons ---------- */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.3rem;
  border: var(--trait);
  background: var(--encre);
  color: var(--papier);
  font: 700 1rem/1.2 var(--texte);
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.bouton:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--encre); }
.bouton:active { transform: none; box-shadow: none; }
.bouton--rose { background: var(--rose); color: var(--encre); }
.bouton--rose:focus-visible { outline-color: var(--encre); }
.bouton--contour { background: transparent; color: var(--encre); }
.bouton--petit { padding: 0.45rem 0.9rem; font-size: 0.95rem; }
.bouton--grand { padding: 1rem 1.6rem; font-size: 1.125rem; }

.lien-fort { font-weight: 700; text-underline-offset: 0.2em; text-decoration-thickness: 2px; }

/* ---------- En-tête ---------- */

.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--papier);
  border-bottom: var(--trait);
}
.entete__barre {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: var(--largeur);
  margin: 0 auto;
  padding: 0.6rem var(--marge);
}
.entete__marque {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  text-decoration: none;
  font: 900 1.75rem/1 var(--affiche);
  letter-spacing: 0.02em;
}
.entete__marque img { width: 40px; height: 40px; }
.entete__menu {
  display: none;
  padding: 0.45rem 0.9rem;
  border: var(--trait);
  background: var(--papier);
  font: 700 0.95rem/1.2 var(--texte);
  cursor: pointer;
}
.navigation { display: flex; align-items: center; gap: 1.4rem; }
.navigation a:not(.bouton) { font-weight: 600; text-decoration: none; }
.navigation a:not(.bouton):hover,
.navigation a[aria-current="true"]:not(.bouton) { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

@media (max-width: 820px) {
  .entete__menu { display: inline-block; }
  .navigation {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--papier);
    border-bottom: var(--trait);
  }
  .navigation.est-ouverte { display: flex; }
  .navigation a:not(.bouton) { padding: 0.9rem var(--marge); border-top: 1px solid #d9d9d9; }
  .navigation .bouton { margin: 0.9rem var(--marge) 1.1rem; }
}

/* ---------- Affiche (haut de page) ---------- */

.affiche {
  display: grid;
  grid-template-columns: minmax(15rem, 0.85fr) 1.15fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 6rem) var(--marge) clamp(3rem, 8vw, 6.5rem);
}

/* Le logo est « imprimé » deux fois : un disque rose décalé derrière l'encre noire */
.affiche__logo { position: relative; max-width: 30rem; justify-self: center; width: 100%; }
.affiche__logo::before {
  content: "";
  position: absolute;
  left: 9%;
  top: 4%;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--rose);
  transform: translate(8%, 6%);
}
.affiche__logo picture { position: relative; display: block; }

.affiche__etiquette {
  display: inline-block;
  margin-bottom: 1.1rem;
  padding: 0.2rem 0.7rem;
  border: var(--trait);
  background: var(--rose);
  font: 800 1.35rem/1.2 var(--affiche);
  transform: rotate(-3deg);
}

.affiche__titre {
  font: 900 clamp(3.4rem, 9.5vw, 8.25rem)/0.96 var(--affiche);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-shadow: var(--decalage) calc(var(--decalage) * 0.7) 0 var(--rose);
  animation: calage 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 150ms both;
}
@keyframes calage {
  from { text-shadow: 0 0 0 var(--rose); }
  to { text-shadow: var(--decalage) calc(var(--decalage) * 0.7) 0 var(--rose); }
}

.affiche__quand {
  margin-top: 1.4rem;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
}
.affiche__accroche { margin-top: 1.4rem; max-width: 34rem; font-size: clamp(1.1rem, 2vw, 1.3rem); }
.affiche__description { margin-top: 0.8rem; max-width: 36rem; color: var(--gris); }
.affiche__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.2rem; margin-top: 2rem; }
.affiche__note { color: var(--gris); font-size: 0.95rem; max-width: 22rem; }

@media (max-width: 860px) {
  .affiche { grid-template-columns: 1fr; text-align: left; }
  .affiche__logo { max-width: 17rem; justify-self: start; }
}

/* ---------- Blocs ---------- */

.bloc {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--marge);
  border-top: var(--trait);
}
.bloc__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}
.bloc__titre { font: 900 clamp(2.5rem, 6vw, 4.25rem)/0.95 var(--affiche); }
.bloc__note { max-width: 38ch; color: var(--gris); }

/* ---------- Billets (soirées en vente) ---------- */

.billets { display: grid; gap: 1.25rem; }
.billet {
  position: relative;
  display: grid;
  grid-template-columns: 8rem 1fr auto;
  align-items: stretch;
  border: var(--trait);
  background: var(--papier);
}
.billet__date {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem 0.5rem;
  background: var(--rose);
  border-right: 2px dashed var(--encre);
  text-align: center;
}
/* Encoches de la ligne prédécoupée */
.billet__date::before,
.billet__date::after {
  content: "";
  position: absolute;
  right: -12px;
  width: 22px;
  height: 22px;
  border: var(--trait);
  border-radius: 50%;
  background: var(--papier);
}
.billet__date::before { top: -12px; }
.billet__date::after { bottom: -12px; }
.billet__jour-semaine { font-size: 0.9rem; font-weight: 600; }
.billet__jour { font: 900 3.4rem/0.9 var(--affiche); }
.billet__mois { font-weight: 700; }
.billet__date--inconnue .billet__jour { font-size: 1.6rem; line-height: 1; }

.billet__corps { padding: 1.2rem 1.5rem; }
.billet__titre { font: 800 clamp(1.7rem, 3.4vw, 2.2rem)/1 var(--affiche); }
.billet__infos { margin-top: 0.5rem; font-weight: 600; }
.billet__description { margin-top: 0.4rem; color: var(--gris); max-width: 60ch; }
.billet__action { display: flex; align-items: center; padding: 1.2rem 1.5rem 1.2rem 0; }

@media (max-width: 640px) {
  .billet { grid-template-columns: 5.75rem 1fr; }
  .billet__jour { font-size: 2.6rem; }
  .billet__corps { padding: 1rem 1.1rem; }
  .billet__date { grid-row: span 2; }
  .billet__action { grid-column: 2; padding: 0 1.1rem 1.1rem; }
}

/* ---------- Actus ---------- */

.actus { display: grid; }
.actu {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.5rem 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid #cfcfcf;
}
.actu:first-child { border-top: 0; padding-top: 0; }
.actu__date { color: var(--gris); font-weight: 600; }
.actu__titre { font-size: 1.3rem; font-weight: 700; line-height: 1.25; }
.actu__texte { margin-top: 0.4rem; max-width: 65ch; white-space: pre-line; }
.actu__lien { display: inline-block; margin-top: 0.6rem; }
.actu__image { margin-top: 1rem; max-width: 26rem; border: var(--trait); }
.actu--epinglee,
.actu--epinglee:first-child {
  margin-bottom: 0.5rem;
  padding: 1.4rem 1.5rem;
  border: var(--trait);
  background: var(--rose-pale);
}
.actu--epinglee + .actu { border-top: 0; }
.actu__epingle { font-weight: 700; color: var(--encre); }

@media (max-width: 640px) {
  .actu { grid-template-columns: 1fr; }
}

/* ---------- Récaps ---------- */

.recaps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}
.recap { position: relative; aspect-ratio: 4 / 3; }
.recap:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.recap__bouton {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: var(--trait);
  background: var(--encre);
  cursor: pointer;
  text-align: left;
  color: var(--papier);
  overflow: hidden;
}
.recap__bouton img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.recap__bouton:hover img { transform: scale(1.03); }
.recap__legende {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.8rem 1rem;
  background: var(--encre);
}
.recap__titre { display: block; font: 800 1.6rem/1 var(--affiche); }
.recap__date { display: block; margin-top: 0.2rem; font-size: 0.9rem; color: #d6d6d6; }
.recap__nombre { color: var(--rose); font-weight: 700; }

@media (max-width: 640px) {
  .recap:first-child { aspect-ratio: 4 / 3; }
}

/* ---------- Instagram ---------- */

.insta { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: 0.6rem; }
.insta a { display: block; aspect-ratio: 1; border: var(--trait); overflow: hidden; background: var(--rose-pale); }
.insta img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Adhésion ---------- */

.adhesion {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3.5rem, 8vw, 6.5rem) max(var(--marge), calc((100% - var(--largeur)) / 2 + var(--marge)));
  background: var(--encre);
  color: var(--papier);
}
.adhesion__titre { font: 900 clamp(2.5rem, 6vw, 4.25rem)/0.95 var(--affiche); }
.adhesion__montant {
  margin-top: 1rem;
  font: 900 clamp(5rem, 14vw, 10rem)/0.85 var(--affiche);
  color: var(--rose);
}
.adhesion__duree { margin-top: 0.6rem; color: #d6d6d6; }
.adhesion__avantages { display: grid; gap: 1rem; margin-bottom: 2.2rem; font-size: 1.15rem; }
.adhesion__avantages li { position: relative; padding-left: 1.8rem; max-width: 46ch; }
.adhesion__avantages li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.8rem;
  height: 0.8rem;
  background: var(--rose);
}
.adhesion .bouton--rose { border-color: var(--rose); }
.adhesion .bouton:hover { box-shadow: 4px 4px 0 var(--papier); }

@media (max-width: 760px) {
  .adhesion { grid-template-columns: 1fr; }
}

/* ---------- Bureau ---------- */

.bureau { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 42vw), 1fr)); gap: 2rem 1rem; }
.membre__photo {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  border: var(--trait);
  filter: grayscale(1) contrast(1.08);
}
.membre__initiales {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: var(--trait);
  background: var(--rose);
  font: 900 clamp(2.2rem, 8vw, 3.2rem)/1 var(--affiche);
}
.membre__nom { margin-top: 0.7rem; font-weight: 700; line-height: 1.3; }
.membre__role { color: var(--gris); line-height: 1.35; }

/* ---------- Partenaires ---------- */

.partenaires {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr));
  border-top: var(--trait);
  border-left: var(--trait);
}
.partenaires li { border-right: var(--trait); border-bottom: var(--trait); }
.partenaires a, .partenaires span {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 7rem;
  padding: 1.2rem;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
}
.partenaires img { max-height: 4rem; width: auto; object-fit: contain; filter: grayscale(1); }
.partenaires a:hover img { filter: none; }
.partenaires__appel { max-width: 60ch; margin-top: 1.5rem; }
.partenaires__appel a { font-weight: 700; }

/* ---------- Contact ---------- */

.contact {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) var(--marge);
  border-top: var(--trait);
}
.contact__liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 1.5rem 3rem;
  margin-top: 2rem;
}
.contact__liste dt { color: var(--gris); }
.contact__liste dd { margin-top: 0.2rem; font-size: clamp(1.2rem, 2.6vw, 1.6rem); font-weight: 700; overflow-wrap: anywhere; }
.contact__liste a { text-underline-offset: 0.18em; text-decoration-thickness: 2px; }
.reseaux { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.2rem; }

/* ---------- Pied de page ---------- */

.pied {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
  padding: 3rem max(var(--marge), calc((100% - var(--largeur)) / 2 + var(--marge)));
  background: var(--encre);
  color: var(--papier);
}
.pied__logo { width: 8.5rem; }
.pied__texte { display: grid; gap: 0.5rem; color: #d6d6d6; max-width: 46ch; }
.pied__texte a { color: var(--papier); font-weight: 600; }

/* ---------- Galerie (récap ouvert) ---------- */

.galerie {
  width: min(70rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: var(--trait);
  background: var(--papier);
  color: var(--encre);
}
.galerie::backdrop { background: rgba(0, 0, 0, 0.78); }
.galerie__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.galerie__titre { font: 900 clamp(2rem, 5vw, 3.25rem)/0.95 var(--affiche); }
.galerie__fermer { flex: none; padding: 0.45rem 0.9rem; border: var(--trait); background: var(--papier); font: 700 0.95rem/1.2 var(--texte); cursor: pointer; }
.galerie__date { margin-top: 0.5rem; color: var(--gris); font-weight: 600; }
.galerie__texte { margin-top: 1rem; max-width: 65ch; white-space: pre-line; }
.galerie__photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 0.6rem; margin-top: 1.5rem; }
.galerie__photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: var(--trait); }

/* ---------- Paiement HelloAsso intégré ---------- */

.paiement { width: min(46rem, calc(100% - 2rem)); }
.paiement__cadre { margin-top: 1.25rem; border: var(--trait); }
.paiement__cadre iframe { display: block; width: 100%; height: 70vh; min-height: 32rem; border: 0; }
.paiement__merci { margin-top: 1rem; padding: 1rem 1.2rem; border: var(--trait); background: var(--rose-pale); font-weight: 700; }
.paiement__secours { margin-top: 0.8rem; font-size: 0.95rem; color: var(--gris); }

/* ---------- Mentions légales ---------- */

.page-texte { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--marge) 5rem; }
.page-texte h1 { font: 900 clamp(2.8rem, 7vw, 4.5rem)/0.95 var(--affiche); margin-bottom: 2rem; }
.page-texte h2 { font: 800 1.9rem/1.05 var(--affiche); margin: 2.4rem 0 0.7rem; }
.page-texte p + p { margin-top: 0.8rem; }

/* ---------- Mouvement réduit ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
