:root {
  --accent: #C40D35;
  --encre: #171314;
  --papier: #FBF8F2;
  --creme: #FFE9C7;
  --ardoise: #1F2A24;
  --craie: #F3EFE6;
  --sable: #EDE6D8;
  --gris: #3E3833;
  --affiche: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --main: Caveat, 'Comic Sans MS', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: Karla, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 17px; line-height: 1.55;
  color: var(--encre); background: var(--papier);
}
img { max-width: 100%; }
p { margin: 0; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; }
[hidden] { display: none !important; }
[data-t] { white-space: pre-line; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.points { background-image: radial-gradient(rgba(0,0,0,.14) 1.4px, transparent 1.6px); background-size: 14px 14px; }
.ardoise { background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.2px); background-size: 6px 6px; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 12px 24px; border: 2px solid var(--encre); border-radius: 4px;
  font-family: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--noir { background: var(--encre); color: #fff; }
.btn--blanc { background: #fff; color: var(--encre); }
.btn--ombre { box-shadow: 4px 4px 0 var(--encre); }
.btn--grand { font-size: 19px; padding: 16px 28px; }
.btn:hover { filter: brightness(1.08); }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.boutons--bas { margin-top: auto; }

/* Bandeau d'annonce */
.annonce { background: var(--encre); color: #fff; text-align: center; padding: 10px 24px; font-weight: 700; }

/* En-tête */
.entete { border-bottom: 3px solid var(--encre); background: var(--papier); }
.entete__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.entete__logo img { display: block; height: 72px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; font-family: var(--affiche); font-size: 22px; letter-spacing: .04em; }
.nav > a:not(.btn) { color: var(--encre); text-decoration: none; }
.nav .btn { font-family: var(--affiche); font-size: 22px; font-weight: 400; padding: 8px 18px; box-shadow: 3px 3px 0 var(--encre); }
.nav__reseaux { display: flex; gap: 8px; }
.rond { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--encre); border-radius: 99px; color: var(--encre); }

/* Accueil */
.hero { background-color: var(--accent); color: #fff; border-bottom: 3px solid var(--encre); }
.hero__in { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero__texte { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.surtitre-affiche { font-family: var(--affiche); font-size: 24px; letter-spacing: .12em; color: var(--creme); }
.hero__titre { margin: 0; font-family: var(--affiche); font-weight: 400; font-size: clamp(56px, 9vw, 104px); line-height: .9; }
.hero__accroche { font-size: 20px; max-width: 34em; }

.ticket { flex: 1 1 320px; max-width: 420px; background: var(--papier); color: var(--encre); border: 3px solid var(--encre); border-radius: 6px; box-shadow: 8px 8px 0 var(--encre); transform: rotate(1.5deg); }
.ticket__haut { background: var(--encre); color: #fff; padding: 10px 20px; font-family: var(--affiche); font-size: 22px; letter-spacing: .1em; }
.ticket__corps { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; border-bottom: 2px dashed var(--encre); }
.ticket__date { font-family: var(--affiche); font-size: 30px; color: var(--accent); }
.ticket__titre { margin: 0; font-family: var(--affiche); font-weight: 400; font-size: 52px; line-height: .95; }
.ticket__texte { font-size: 16px; }
.ticket__bas { padding: 16px 24px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-weight: 700; }
.ticket--copinage { border-color: #8E102C; box-shadow: 8px 8px 0 #8E102C; }
.ticket--copinage .ticket__haut { background: #8E102C; }
.ticket__copinage { display: inline-block; align-self: flex-start; margin: 0; padding: 6px 9px; background: #FFE9C7; border: 2px solid #8E102C; color: #8E102C; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.ticket__lieu { padding: 10px 12px; background: #FFE9C7; border-left: 4px solid #8E102C; font-weight: 700; }

/* Bandeau des styles */
.bandeau-styles { background: var(--encre); color: var(--papier); }
.bandeau-styles__in { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 28px; padding-top: 14px; padding-bottom: 14px; font-family: var(--affiche); font-size: 24px; letter-spacing: .08em; }
.bandeau-styles__label { color: #BDB5A8; font-size: 18px; }
.bandeau-styles__liste { display: contents; }
.bandeau-styles__etoile { color: var(--accent); margin-right: 28px; }

/* Sections */
.bloc { padding-top: 88px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 36px; }
.bloc__tete { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.craie { font-family: var(--main); font-size: 30px; color: var(--accent); }
.craie--rose { color: #F7C9D3; font-size: 34px; }
.titre-section { margin: 0; font-family: var(--affiche); font-weight: 400; font-size: clamp(48px, 7vw, 76px); line-height: .95; }
.titre-section--m { font-size: clamp(40px, 6vw, 64px); }

.filtres { display: flex; flex-wrap: wrap; gap: 10px; }
.filtre { font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 8px 16px; border: 2px solid var(--encre); border-radius: 99px; background: #fff; color: var(--encre); cursor: pointer; }
.filtre[aria-pressed="true"] { background: var(--encre); color: #fff; }

.cartes { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.carte { flex: 1 1 320px; align-self: flex-start; min-width: 0; max-width: 100%; background: #fff; border: 2px solid var(--encre); border-radius: 6px; box-shadow: 5px 5px 0 var(--encre); display: flex; flex-direction: column; overflow: hidden; }
.carte--copinage { border: 4px solid #8E102C; background: #FFF8EC; box-shadow: 5px 5px 0 #8E102C; }
.carte__copinage { padding: 11px 14px; background: #8E102C; color: #fff; text-align: center; font-weight: 900; font-size: 15px; letter-spacing: .08em; }
.carte__lieu { margin: 0 0 4px; padding: 10px 12px; background: #FFE9C7; border: 2px solid #8E102C; color: #54101E; font-weight: 800; }
.carte__visuel { aspect-ratio: 1 / 1; background: var(--sable); border-bottom: 2px solid var(--encre); display: flex; align-items: center; justify-content: center; color: #6B6358; font-size: 15px; }
.carte__visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carte__corps { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.carte__ligne { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.carte__date { font-family: var(--affiche); font-size: 24px; color: var(--accent); }
.carte__style { font-size: 13px; font-weight: 700; letter-spacing: .06em; border: 1.5px solid var(--encre); border-radius: 99px; padding: 2px 10px; }
.carte__titre { margin: 0; font-family: var(--affiche); font-weight: 400; font-size: 36px; line-height: 1; }
.carte__accroche { color: var(--gris); font-size: 16px; white-space: pre-line; }
.carte__developpe-bouton { align-self: flex-start; margin-top: 4px; padding: 9px 13px; border: 2px solid #8E102C; border-radius: 4px; background: transparent; color: #8E102C; font: inherit; font-weight: 800; cursor: pointer; transition: color .2s ease, background .2s ease, transform .2s ease, box-shadow .2s ease, opacity .2s ease, padding .2s ease, font-size .2s ease; }
.carte__developpe-bouton:hover, .carte__developpe-bouton:focus-visible { background: #8E102C; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 0 #54101E; filter: drop-shadow(0 4px 7px #8E102C66); }
.carte__developpe-bouton--lu { padding: 5px 9px; border-color: #8E102C80; color: #8E102C; font-size: 13px; opacity: .62; }
.carte__developpe-bouton--lu:hover, .carte__developpe-bouton--lu:focus-visible { opacity: 1; }
.developpe-dialog { width: min(680px, calc(100vw - 28px)); max-width: none; max-height: min(84vh, 850px); padding: 0; overflow: auto; border: 3px solid var(--encre); border-radius: 8px; background: var(--papier); color: var(--encre); box-shadow: 0 20px 70px #0008; }
.developpe-dialog::backdrop { background: #171314B8; backdrop-filter: blur(5px); }
.developpe-dialog__panneau { animation: developpe-reveal .32s ease both; }
.developpe-dialog__entete { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #8E102C; color: #fff; }
.developpe-dialog__titre { margin: 0; font-family: var(--affiche); font-size: clamp(26px, 5vw, 38px); font-weight: 400; line-height: 1.05; }
.developpe-dialog__fermer { flex: none; min-height: 40px; padding: 6px 11px; border: 1px solid #ffffffb0; border-radius: 4px; background: transparent; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.developpe-dialog__fermer:hover, .developpe-dialog__fermer:focus-visible { background: #fff; color: #8E102C; }
.developpe-dialog__copinage { padding: 10px 20px; background: #8E102C; color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .08em; }
.developpe-dialog__lieu { margin: 16px 20px 0; padding: 10px 12px; border: 2px solid #8E102C; background: #FFE9C7; color: #54101E; font-weight: 800; }
.developpe-dialog__texte { padding: 22px 24px; color: var(--gris); font-size: 16px; line-height: 1.65; white-space: pre-line; }
.developpe-dialog__texte p { margin: 0 0 16px; }
@keyframes developpe-reveal { from { filter: blur(8px); opacity: .2; transform: translateY(8px); } to { filter: blur(0); opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .developpe-dialog__panneau { animation: none; } .carte__developpe-bouton { transition: none; } }
.carte__bas { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; font-weight: 700; }
.vide { font-size: 18px; }

/* Soutien */
.soutien { background-color: var(--creme); border-top: 3px solid var(--encre); border-bottom: 3px solid var(--encre); }
.soutien__in { display: flex; flex-wrap: wrap; gap: 36px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.soutien__texte { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.soutien__message { font-size: 19px; max-width: 36em; white-space: pre-line; }
.soutien__fin { font-weight: 700; }
.soutien__action { flex: 1 1 280px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.soutien__note { font-size: 14px; color: var(--gris); }

/* Association */
.asso { background-color: var(--ardoise); color: var(--craie); border-bottom: 3px solid var(--encre); }
.asso__in { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 88px; padding-bottom: 88px; }
.asso__texte { flex: 999 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 19px; }
.asso__cote { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.asso__photo { width: 100%; max-width: 100%; min-width: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 3px solid var(--craie); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #C9C3B6; transform: rotate(-2deg); text-align: center; padding: 0; }
.asso__photo img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.chiffres { display: flex; gap: 16px; }
.chiffres > div { flex: 1; border-top: 2px solid var(--craie); padding-top: 10px; font-size: 15px; }
.chiffre { font-family: var(--affiche); font-size: 44px; line-height: 1; }

/* Contact */
.duo { display: flex; flex-wrap: wrap; gap: 28px; }
.encart { flex: 1 1 340px; border: 2px solid var(--encre); border-radius: 6px; padding: 28px; background: #fff; display: flex; flex-direction: column; gap: 12px; }
.encart--creme { background: var(--creme); }
.titre-encart { margin: 0; font-family: var(--affiche); font-weight: 400; font-size: 38px; }

/* Infos */
.infos { background: #fff; border-top: 3px solid var(--encre); }
.infos__in { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 88px; padding-bottom: 88px; }
.infos__liste { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.info { display: flex; gap: 16px; align-items: flex-start; }
.info svg { width: 28px; height: 28px; flex: none; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info__titre { font-weight: 700; }
.infos__carte { flex: 1 1 420px; min-width: 0; min-height: 300px; border: 3px solid var(--encre); border-radius: 6px; background-color: var(--sable); background-image: url('../img/carte-acces.png'); background-position: center; background-size: cover; display: grid; place-items: center; text-align: center; padding: 20px; box-shadow: 6px 6px 0 var(--encre); }
.infos__carte-in { width: min(100%, 390px); display: flex; flex-direction: column; gap: 12px; align-items: center; padding: 22px 24px; border: 2px solid #171314; border-radius: 6px; background: #FBF8F2E8; box-shadow: 0 5px 18px #17131430; backdrop-filter: blur(3px); }
.infos__carte-pin { width: 44px; height: 44px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.infos__carte-label { margin: 0; color: var(--accent); font-family: var(--affiche); font-size: 24px; letter-spacing: .08em; text-transform: uppercase; }
.infos__carte-adresse { margin: 0 0 6px; color: var(--encre); font-size: clamp(18px, 2.2vw, 22px); font-style: normal; font-weight: 700; line-height: 1.6; white-space: pre-line; }

/* Pied */
.pied { background: var(--encre); color: var(--papier); }
.pied__in { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 32px; }
.pied__nom { font-family: var(--affiche); font-size: 48px; line-height: 1; color: #fff; }
.pied__desc { color: #D8D1C4; margin-top: 12px; }
.pied__liens { display: flex; flex-direction: column; min-width: 220px; }
.pied__liens a { color: var(--papier); display: flex; align-items: center; min-height: 44px; }
.pied__titre { font-family: var(--affiche); font-size: 24px; letter-spacing: .06em; margin-bottom: 4px; }
.pied__bas { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 18px; padding-bottom: 28px; border-top: 1px solid #4A4342; font-size: 14px; color: #BDB5A8; }
.pied__admin { color: #6E6766; text-decoration: none; min-width: 24px; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 600px) {
  .entete__logo img { height: 56px; }
  .hero__in { padding-top: 48px; padding-bottom: 56px; }
  .ticket { transform: none; }
  .asso__photo { transform: none; }
  .carte__developpe-bouton { width: 100%; min-height: 46px; text-align: center; }
  .carte__developpe-bouton--lu { width: auto; min-height: 34px; text-align: left; }
  .developpe-dialog { width: calc(100vw - 20px); max-height: 88vh; }
  .developpe-dialog__entete { align-items: flex-start; padding: 14px; }
  .developpe-dialog__texte { padding: 18px; }
}
