:root {
  --header:#0b0b0f;
  --bg-gradient:linear-gradient(180deg,#111111 0%,#090909 100%);
  --text:#eeeeee;
  --muted:#cccccc;
  --violet:#7a4eb2;
  --violet-hover:#9a64d6;
  --panel:#161616;
  --line:#2a2a2a;
  --socialbar-h: 48px; /* hauteur de la barre réseaux en mobile/paysage */
}

:root { color-scheme: dark; }  /* iOS teinte correctement les barres */
html { background: var(--header); }      /* couleur de fond “autour” de la page */

/* ===== RESET ===== */
*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family:"Segoe UI",Roboto,Arial,sans-serif;
  background:var(--bg-gradient);
  color:var(--text);
  line-height:1.6;
  min-height:100vh;
}

/* ===== NAV ===== */
.topnav{
  background:#000;
  border-bottom:1px solid #222;
  position:sticky;
  top:0;
  z-index:100;
}
.nav-container{
  max-width:1100px;
  margin:auto;
  padding:10px 16px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.menu{
  list-style:none;
  display:flex;
  align-items:center;
  gap:10px;
}
.pill{
  display:inline-block;
  padding:8px 16px;
  background:#0e0e13;
  border:1px solid var(--line);
  color:#fff;
  border-radius:999px;
  text-decoration:none;
  transition:background .15s,border-color .15s,transform .02s,box-shadow .2s;
}
.pill:hover{
  background:var(--violet-hover);
  border-color:transparent;
  box-shadow:0 0 8px rgba(109,64,144,.6);
}
.pill.active{
  background:var(--violet);
  border-color:transparent;
}

/* ===== SOUS-MENU ===== */
.has-sub { position: relative; display: inline-block; }

/* Bouton "Nos groupes" : même liseré que "Accueil" */
.has-sub summary{
  list-style:none;
  cursor:pointer;
  display:inline-block;
  padding:8px 16px;
  background:#0e0e13;
  border:1px solid var(--line);
  color:#fff;
  border-radius:999px;
  transition:background .15s, border-color .15s, color .15s, box-shadow .2s;
}
.has-sub summary::-webkit-details-marker{display:none;}
.has-sub summary:hover{
  background:#15151b;
  border-color:#3a3a3a;
  box-shadow:0 0 8px rgba(109,64,144,.5);
}

/* État ouvert / actif */
.has-sub details[open] > summary{
  background:var(--violet);
  border-color:transparent;
  color:#fff;
}

/* Liste */
.submenu{
  list-style:none;
  margin:0; padding:8px;
  position:absolute; left:0; top:100%; /* pas de gap */
  margin-top:6px;                      /* spacing visuel sans "trou" */
  min-width:220px;
  background:#0f0f14;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:0 8px 24px rgba(0,0,0,.45);
  opacity:0; transform:translateY(10px);
  pointer-events:none;
  display:flex; flex-direction:column; gap:6px;
  transition:opacity .22s ease, transform .22s ease;
  z-index:50;
}
.has-sub details[open] .submenu{
  opacity:1; transform:translateY(0); pointer-events:auto;
}
.submenu a{
  display:block; padding:8px 12px; border-radius:10px;
  text-decoration:none; color:#fff; transition:background .2s;
}
.submenu a:hover{ background:#16161c; }

/* Mobile : le sous-menu est statique sous le summary (comportement OK) */
@media(max-width:800px){
  .submenu{ position:static; margin-top:8px; box-shadow:none; transform:none !important; opacity:1 !important; pointer-events:auto; }
}

/* Bouton "Nos groupes" sur page active (sans ouvrir le menu) */
.has-sub details:has(.submenu a[aria-current="page"], .submenu a.active) > summary {
  background: var(--violet);
  border-color: transparent;
  color: #fff;
}

/* Fallback JS : si on ajoute .is-active au summary */
.has-sub summary.is-active {
  background: var(--violet);
  border-color: transparent;
  color: #fff;
}

/* ======== ÉTAT ACTIF DU BOUTON "NOS GROUPES" ======== */

/* ✅ Version moderne (navigateurs avec support du sélecteur :has) */
.has-sub details:has(.submenu a[aria-current="page"], .submenu a.active) > summary {
  background: var(--violet);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 10px rgba(81,48,104,.6);
}

/* ✅ Fallback JS : si :has() n’est pas pris en charge */
.has-sub summary.is-active {
  background: var(--violet);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 10px rgba(81,48,104,.6);
}

/* Responsive nav */
.nav-toggle{display:none;}
.burger{display:none;}

/* (mobile nav bloc) — s'applique maintenant jusqu'à 700px */
@media(max-width:700px){
  .burger{
    display:block;
    font-size:1.5rem;
    padding:4px 8px;
    border:1px solid var(--line);
    border-radius:10px;
    margin-right:12px;
    background:#0e0e13;
    cursor:pointer;
  }
  .menu{display:none;flex-direction:column;align-items:stretch;width:100%;}
  .nav-toggle:checked~.menu{display:flex;margin-top:10px;}
  .submenu{position:static;box-shadow:none;}
}

/* ===== HEADER ===== */
.header {
  background: radial-gradient(circle at center, var(--header) 0%, #070707 100%);
  color: #fff;
  padding: 35px 20px 40px; /* ↓ haut et bas resserrés */
  box-shadow: inset 0 -8px 25px rgba(81,48,104,0.25);
  transition: padding .3s ease;
}

.header-content {
  max-width: 1000px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  animation: ui-fade-rise .7s ease both .1s;
  flex-wrap: wrap;
}

/* Ligne titre + CTA dans le header */
.title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width:700px){
  .title-row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
}

/* Bouton booking */
.btn-booking{
  display:inline-block;
  padding:10px 16px;
  border-radius:999px;
  background:var(--violet);
  color:#fff;
  font-weight:700;
  text-decoration:none;
  border:1px solid transparent;
  box-shadow:0 0 10px color-mix(in srgb, var(--violet) 60%, transparent);
  transition:transform .15s ease, box-shadow .2s ease, background .15s ease;
}
.btn-booking:hover{
  background:var(--violet-hover);
  box-shadow:0 0 14px color-mix(in srgb, var(--violet) 70%, transparent);
  transform: translateY(-1px);
}
.btn-booking:active{ transform: translateY(0); }

/* Mobile : CTA passe sous le titre pour rester lisible */
@media (max-width:700px){
  .title-row{ gap:12px; }
  .btn-booking{ padding:9px 14px; }
}

/* Logo à gauche */
.logo {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4))
          drop-shadow(0 0 20px rgba(122,78,178,0.6));
  flex-shrink: 0;
  animation: logo-glow 4s ease-in-out infinite alternate;
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 5;
}
.logo:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(122,78,178,0.5);
}
@keyframes logo-glow {
  0%   { filter: drop-shadow(0 0 6px rgba(255,255,255,0.3))
                 drop-shadow(0 0 16px rgba(122,78,178,0.4)); }
  100% { filter: drop-shadow(0 0 10px rgba(255,255,255,0.5))
                 drop-shadow(0 0 30px rgba(122,78,178,0.8)); }
}

/* Texte à droite */
.header-text {
  flex: 1;
  text-align: left;
  min-width: 260px;
}

.main-title {
  font-size: 2.8rem;
  letter-spacing: 1px;
  color: var(--violet);
  text-shadow: 0 0 12px rgba(81,48,104,.6), 0 0 24px rgba(81,48,104,.3);
  margin-bottom: 6px;
}

.tagline {
  color: var(--muted);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ===== Version mobile : centré ===== */
@media (max-width: 700px) {
  .header-content { flex-direction: column; text-align: center; }
  .header-text { text-align: center; }
  .main-title { font-size: 2.2rem; }
}

/* Bloc logo principal + powered by */
.logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.logo-block .logo {
  width: 160px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.4))
          drop-shadow(0 0 20px rgba(122,78,178,0.6));
  animation: logo-glow 4s ease-in-out infinite alternate;
  transition: transform .3s ease, box-shadow .3s ease;
  z-index: 5;
}
.logo-block .logo:hover {
  transform: scale(1.06);
  box-shadow: 0 0 25px rgba(122,78,178,0.5);
}

/* ===== POWERED BY — VERSION GAUCHE CHEVAUCHANT LE LOGO ===== */
.logo-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.logo-block .logo { position: relative; z-index: 2; }
.logo-block { position: relative; }
.logo-block .powered-by {
  position: absolute;
  bottom: -30px;
  left: -17px;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  opacity: 0.95;
  white-space: nowrap;
  z-index: 10;
}
.logo-block .powered-logo {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--violet);
  background: #0d0d0d;
  padding: 4px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(122,78,178,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-block .powered-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(122,78,178,0.6);
}
.logo-block .powered-by span {
  font-size: 0.7em;
  color: #aaa;
  font-style: italic;
  letter-spacing: 0.4px;
  position: relative;
  top: 3px;
}
/* --- Mobile --- */
@media (max-width: 700px) {
  .logo-block .powered-by {
    position: static;
    margin-top: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }
}
/* Responsive : bloc centré sur petit écran */
@media (max-width: 700px) {
  .header-content { flex-direction: column; }
  .logo-block { margin-bottom: 20px; }
}

/* ===== MAIN ===== */
main {
  padding: 8px 40px 80px;
  max-width: 1000px;
  margin: 0 auto;
}
h2 {
  color: var(--violet);
  border-bottom: 2px solid color-mix(in srgb, var(--violet) 60%, transparent);
  margin-top: 20px;
  margin-bottom: 14px;
  padding-bottom: 4px;
  text-shadow: 0 0 6px color-mix(in srgb, var(--violet) 50%, transparent);
  font-size: 1.6rem;
}
main > section:first-of-type { margin-top: 0; padding-top: 8px; }

/* ===== PAGE 4 STEALERS — À PROPOS ===== */
#apropos { padding-top: 20px; padding-bottom: 30px; margin-bottom: 0; }
main > section:first-of-type h2 { margin-top: 6px; }
ul{list-style:square;padding-left:24px;}

/* ===== CONTACT ===== */
.contact-form {
  display: grid;
  gap: 16px;
  background: var(--panel);
  padding: 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  max-width: 820px;
  margin-top: 20px;
}
.contact-form label {
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto auto;
  align-items: start;
  gap: 12px;
  position: relative;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  background: #0b0b0f;
  color: var(--text);
  border-radius: 8px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--violet);
  box-shadow: 0 0 6px rgba(81,48,104,.6);
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form button {
  justify-self: start;
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  background: var(--violet);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.contact-form button:hover {
  background: var(--violet-hover);
  box-shadow: 0 0 10px rgba(81,48,104,.6);
  transform: translateY(-1px);
}
button[disabled],
button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
  box-shadow: none !important;
  transform: none !important;
  transition: opacity .2s ease, filter .2s ease;
}

/* ===== NOTE FORMULAIRE ===== */
.email-note {
  font-size: 0.85em;
  color: #777;
  margin-top: 8px;
  font-style: italic;
  text-align: left;
  opacity: 0.8;
}
/* Messages d’erreur sous le champ */
.error-msg {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  color: #ff4b4b;
  font-size: .85em;
  margin-top: 4px;
  font-style: italic;
}
input.invalid, textarea.invalid { border-color: #ff4b4b !important; }

/* Mobile : 1 colonne */
@media (max-width: 640px) {
  .contact-form label { grid-template-columns: 1fr; }
  .error-msg { grid-column: 1 / 2; }
}

/* ===== FOOTER ===== */
footer{
  margin-top:40px;
  text-align:center;
  padding:22px 16px;
  background:#000;
  color:#888;
  border-top:1px solid #222;
  font-size:.92em;
  letter-spacing:.3px;
}

/* ===== ANIMATIONS ===== */
@keyframes ui-fade-rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-enter main{animation:ui-fade-rise .6s ease both .2s;}
.page-enter footer{animation:ui-fade-rise .6s ease both .4s;}

/* ===== RESPONSIVE ===== */
@media(max-width:640px){
  .contact-form label{grid-template-columns:1fr;}
  .main-title{font-size:2.2rem;}
  .tagline{font-size:1rem;}
}

/* ===== SECTION MEMBRES ===== */
#membres{ padding:40px 0 35px; text-align:left; }
#membres .container{ max-width:none !important; width:auto !important; margin:0 !important; padding:0 !important; }
#membres h2{
  margin:0 0 30px 0;
  text-align:left;
  font-size: 1.6rem;
  color:var(--violet);
  border-bottom:2px solid color-mix(in srgb, var(--violet) 60%, transparent);
  padding-bottom:4px;
}
.membres-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:30px;
  margin:0;
  max-width:none;
}
.membre-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.membre-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(122,78,178,0.4);
  border-color: var(--violet);
}
.membre-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid var(--violet);
  box-shadow: 0 0 10px rgba(81,48,104,0.4);
}
.membre-card h3 {
  margin: 10px 0 4px;
  font-size: 1.2rem;
  color: var(--violet);
}
.membre-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}
/* Responsive */
@media (max-width: 900px) { .membres-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .membres-grid { grid-template-columns: 1fr; }
  .membre-card img { width: 100px; height: 100px; }
}

/* ===== SECTION DATES & CONCERTS ===== */
#dates { padding: 20px 0 35px; text-align: left; margin-top: -10px; }
#dates h2 {
  margin: 0 0 40px 0;
  font-size: 1.6rem;
  color: var(--violet);
  border-bottom: 2px solid color-mix(in srgb, var(--violet) 60%, transparent);
  padding-bottom: 4px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 30px;
  margin: 0;
}
.event-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
.event-card.upcoming:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(122,78,178,0.4);
  border-color: var(--violet);
}
.event-date {
  background: var(--violet);
  color: #fff;
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 0 10px rgba(81,48,104,0.4);
  transition: all 0.3s ease;
}
.event-card.upcoming:hover .event-date {
  box-shadow: 0 0 25px rgba(122,78,178,0.7), 0 0 40px rgba(122,78,178,0.3);
  transform: scale(1.05);
}
.event-date .day { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event-date .month { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px; }
.event-date .year { font-size: 0.75rem; opacity: 0.9; }
.event-info h3 { margin: 0 0 4px; color: var(--text); font-size: 1.1rem; }
.event-info p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.event-status { display: inline-block; margin-top: 8px; font-size: 0.8rem; font-style: italic; opacity: 0.8; }
.event-card.past { opacity: 0.6; background: #1a1a1a; border-color: #333; }
.event-card.past .event-date { background: #444; color: #bbb; box-shadow: none; }
.event-card.past .event-status { color: #999; }
/* Responsive */
@media (max-width: 700px) {
  .events-grid { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-date { flex-direction: row; gap: 8px; border-radius: 8px; padding: 6px 12px; min-width: auto; }
}
@media (max-width: 600px) {
  .event-card { flex-direction: column; align-items: flex-start; }
  .event-date { flex-direction: row; gap: 8px; border-radius: 8px; padding: 6px 12px; min-width: auto; }
}

/* ===== BANDE LATERALE SIMPLE ET CENTRÉE ===== */
.side-band {
  position: fixed;
  top: 0px;
  right: 0;
  width: 90px;
  height: 100vh;
  background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
  box-shadow: -4px 0 12px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  overflow-y: auto;
  z-index: 3001;
  padding-top: 5px;
}
.band-title {
  font-size: 0.9rem;
  color: var(--violet);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 6px;
  margin-bottom: 10px;
  text-align: center;
  border-bottom: 1px solid #222;
  padding-bottom: 6px;
}
.side-band .band-item img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid transparent;
  object-fit: cover;
  background: transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 0 8px rgba(122,78,178,0.3);
  cursor: pointer;
}
.side-band .band-item img:hover { transform: scale(1.12); box-shadow: 0 0 18px rgba(122,78,178,0.6); }
.side-band::-webkit-scrollbar { width: 6px; }
.side-band::-webkit-scrollbar-thumb { background: var(--violet); border-radius: 4px; }
.side-band::-webkit-scrollbar-track { background: transparent; }
/* Mobile : on masque */
@media (max-width: 700px) { .side-band { display: none; } }

/* ===== RESEAUX SOCIAUX ===== */
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 15px 0 5px;
}
.social-link {
  color: var(--violet);
  font-size: 1.6rem;
  transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
  text-decoration: none;
}
.social-link:hover { color: var(--violet-hover); transform: scale(1.2); text-shadow: 0 0 10px rgba(122,78,178,0.6); }
.social-link i { display: inline-block; }
/* Version sombre propre sur mobile */
@media (max-width: 600px) {
  .socials { gap: 18px; margin-bottom: 30px; }
  .social-link { font-size: 1.4rem; }
}

/* === SOCIALS — mobile-first: pilule centrée en bas === */
:root { --social-pill-h: 56px; }
.socials-fixed{
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: var(--social-pill-h);
  padding: 8px 22px;
  min-width: 340px;
  border-radius: 999px;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(122,78,178,.35);
  box-shadow: 0 4px 16px rgba(0,0,0,.5), 0 0 12px rgba(122,78,178,.35) inset;
  backdrop-filter: blur(4px);
}
.socials-fixed .socials-label{ display:none; }
.socials-fixed .social-link{
  color: var(--violet);
  font-size: 1.35rem;
  text-decoration: none;
  transition: transform .25s ease, color .25s ease, text-shadow .25s ease;
}
.socials-fixed .social-link:hover{
  color: var(--violet-hover);
  transform: scale(1.15);
  text-shadow: 0 0 10px rgba(122,78,178,.55);
}
.socials-fixed .social-link i{ padding:0; background:transparent; box-shadow:none; }
/* Réserve en bas pour ne pas masquer le copyright */
body{ padding-bottom: calc(var(--social-pill-h) + 18px + env(safe-area-inset-bottom, 0px)); }
footer{ position: relative; z-index: 1; }
/* Paysage étroit */
@media (orientation: landscape) and (max-height: 580px){
  .socials-fixed{
    left: 50%; right: auto; bottom: max(12px, env(safe-area-inset-bottom, 0px)); top: auto;
    transform: translateX(-50%);
    min-width: 340px; height: var(--social-pill-h); padding: 8px 22px; border-radius: 999px;
    background: rgba(0,0,0,.55); border: 1px solid rgba(122,78,178,.35); box-shadow: 0 4px 16px rgba(0,0,0,.5), 0 0 12px rgba(122,78,178,.35) inset;
  }
  body{ padding-bottom: calc(var(--social-pill-h) + 18px + env(safe-area-inset-bottom, 0px)); }
}
/* Grand desktop : colonne à droite */
@media (min-width: 1024px){
  .socials-fixed{
    top: 65%; right: 20px; left: auto; bottom: auto; transform: translateY(-50%);
    flex-direction: column; gap: 18px;
    height: auto; min-width: 0; padding: 0;
    background: transparent; border: 0; box-shadow: none; backdrop-filter: none;
  }
  .socials-fixed .socials-label{
    display:block; writing-mode: vertical-rl; transform: rotate(180deg);
    font-size: .8rem; color: var(--violet); letter-spacing: 2px; text-transform: uppercase; opacity: .8; margin-bottom: 10px; user-select: none;
    text-shadow: 0 0 8px rgba(122,78,178,.4);
  }
  .socials-fixed .social-link i{
    padding: 10px; background: rgba(0,0,0,.35); border-radius: 50%; box-shadow: 0 0 8px rgba(122,78,178,.3);
  }
  body{ padding-bottom: 0; }
}

/* ===== HEADER MOBILE — centrage parfait + espacement ajusté ===== */
@media (max-width: 700px){
  .header-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
  .logo-block{ align-items: center; margin-bottom: 0; }
  .logo-block .powered-by{
    position: static !important;
    margin-top: 4px;
    display: flex; align-items: center; gap: 8px; opacity: 0.95;
  }
  .header-text{
    display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; margin-top: 0;
  }
  .title-row{ display: contents; }
  .main-title{ order: 1; margin: 2px 0 4px; }
  .tagline{ order: 2; margin-top: 0; }
  .btn-booking{ order: 3; margin-top: 16px; }
}
@media (max-width: 700px){
  footer{ padding: 5px 0; font-size: .85em; margin-top: 10px; }
}

/* ===== Accueil : masquer la bande "Nos groupes" en paysage mobile ===== */
@media (orientation: landscape) and (hover: none) and (pointer: coarse),
       (orientation: landscape) and (max-height: 580px) {
  .side-band { display: none !important; }
}

/* ========= MOBILE (≤700px) =========
   Burger en haut-gauche, pas de bande noire,
   contenu remonté, menu flottant compact
=====================================*/
@media (max-width:700px){
  .topnav{ background: transparent !important; border: 0 !important; height: 0 !important; padding: 0 !important; }
  .nav-container{ padding: 0 !important; margin: 0 !important; height: 0 !important; }
}

/* === BOUTON BURGER + PANNEAU (≤700px) === */
@media(max-width:700px){
  /* Bouton burger fixé en haut-gauche */
  .burger{
    display:flex !important;
    align-items:center; justify-content:center;
    position: fixed;
    top: 12px; left: 12px;
    z-index: 1001;
    width: 48px; height: 48px;
    color:#fff; background: var(--violet);
    border: 1px solid color-mix(in srgb, var(--violet) 40%, #000 60%);
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,.45), 0 0 10px rgba(122,78,178,.35) inset;
    cursor: pointer; line-height: 0; padding: 0;
  }
  /* icône 3 barres */
  .burger i{
    display:block; position:relative; width:24px; height:3px; background:#fff; border-radius:2px; transition: background .25s ease; font-size:0; line-height:0;
  }
  .burger i::before, .burger i::after{
    content:""; position:absolute; left:0; width:24px; height:3px; background:#fff; border-radius:2px; transform-origin:50% 50%; transition: transform .3s ease, top .3s ease;
  }
  .burger i::before{ top:-7px; }
  .burger i::after { top:  7px; }
  /* état ouvert = croix */
  .nav-toggle:checked ~ .burger i{ background:transparent; }
  .nav-toggle:checked ~ .burger i::before{ top:0; transform:rotate(45deg); }
  .nav-toggle:checked ~ .burger i::after{ top:0; transform:rotate(-45deg); }

  /* Panneau du menu — juste à DROITE du bouton, même niveau */
  .menu{
    position: fixed;
    top: 4px; /* même Y que le burger */
    left: calc(12px + 48px + 8px); /* collé à droite du bouton */
    right: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 240px; /* panneau fixe */
    padding: 12px;
    border-radius: 14px;
    background: rgba(14,14,19,.96);
    border: 1px solid var(--line);
    box-shadow: 0 12px 28px rgba(0,0,0,.45);
    backdrop-filter: blur(2px);
    z-index: 1000;
  }
  .menu .pill{ width: 100%; text-align: left; font-size: 1rem; padding: 10px 14px; border-radius: 10px; }
  .nav-toggle:checked ~ .menu{ display:flex; }

  /* s'assurer que le conteneur nav reste à gauche, même à 701 */
  .nav-container{ position:relative; justify-content:flex-start !important; }
}

/* S'assurer que le fond couvre toute la hauteur utile */
html, body{ background: var(--bg-gradient); min-height: 100svh; }
@supports not (height: 100svh){ html, body{ min-height: 100vh; } }

/* iPhone : tenir compte des zones de sécurité (haut/bas) */
@supports (env(safe-area-inset-bottom)){
  body::after{
    content:""; position: fixed; left:0; right:0; bottom:0;
    height: env(safe-area-inset-bottom); background:#000; pointer-events:none; z-index: 9999;
  }
  .header::before{
    content:""; position: fixed; top:0; left:0; right:0;
    height: env(safe-area-inset-top); background: var(--header); pointer-events:none; z-index: 9999;
  }
  body{ padding-top: 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .socials-fixed, .follow-fixed{ bottom: calc(env(safe-area-inset-bottom) + 12px); }
}

/* ===== Dates & concerts – grille propre ===== */
.events-grid{ display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 900px){ .events-grid{ grid-template-columns: 1fr 1fr; gap: 16px 18px; } }
.events-subtitle{
  grid-column: 1 / -1; margin: 22px 0 6px; padding: 6px 0; font-size: 0.95rem; font-weight: 700; letter-spacing: .02em;
  color: var(--muted); border-bottom: 1px solid var(--line); text-transform: uppercase;
}
.events-grid .events-subtitle:first-child{ margin-top: 0; }
.event-card.past{ opacity: .72; }
.event-card.upcoming{ opacity: 1; }

/* ===== FIX iOS : barres Safari haut/bas = #0e0e10 ===== */
@supports (env(safe-area-inset-top)){
  body::before{ content:""; position: fixed; top:0; left:0; right:0; height: env(safe-area-inset-top); background:#0e0e10 !important; pointer-events:none; z-index:9999; }
  body::after{  content:""; position: fixed; left:0; right:0; bottom:0; height: env(safe-area-inset-bottom); background:#0e0e10 !important; pointer-events:none; z-index:9999; }
  body{ padding-top:0 !important; }
  .header{ padding-top: calc(35px + env(safe-area-inset-top)) !important; }
}
@media (max-width:700px){
  .header{ padding-top: max(16px, calc(16px + env(safe-area-inset-top))) !important; }
}
html{ background: #0e0e10 !important; }

/* ===== NAV + HEADER : desktop dès 701px ===== */
@media (min-width:701px){
  .topnav .menu{
    display:flex !important;
    flex-wrap:nowrap !important;
    justify-content:center;
    align-items:center;
    gap:12px;
    white-space:nowrap;
    margin:0 auto;
  }
  .topnav .burger{ display:none !important; }
  .nav-container{ display:flex; justify-content:center !important; align-items:center; }
  .topnav{ z-index:3000; position:relative; }
  body:has(.side-band) main{ padding-right:114px; box-sizing:border-box; }
  /* éviter que le header passe sous la side-band sur desktop */
  body:has(.side-band) .header-content{ padding-right:114px; box-sizing:border-box; }
}
/* Dropdown flottant sous "Nos groupes" (desktop-like) */
@media (min-width:701px){
  .topnav .menu > li{ position:relative; }
  .topnav .has-sub{ position:relative; }
  .topnav .has-sub details{ position:static; }
  .topnav .has-sub .submenu{
    position:absolute;
    top:100%; left:0;
    display:none;
    background:var(--header, #0b0b0f);
    border:1px solid var(--line, #2a2a2a);
    border-radius:10px;
    padding:10px;
    min-width:200px;
    z-index:4000;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
  }
  .topnav .has-sub details[open] .submenu{ display:block; }
}
/* HEADER aligné comme en desktop dès 701px */
@media (min-width:701px){
  .header-content{
    display:flex;
    align-items:center;
    gap:24px;
  }
  .header-content .logo{ flex:0 0 auto; }
  .header-content .titles,
  .header-content .text{ flex:1 1 auto; }
}

/* ===== ≥701px : desktop (menu visible), plus de burger/checkbox ===== */
@media (min-width:701px){
  .topnav .menu{ display:flex !important; }
  .topnav .burger{ display:none !important; }
  .nav-toggle{ display:none !important; }
}

/* ===== MOBILE (≤800px) : pilule + bouton, centrés et entrée identique ===== */
@keyframes combo-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width:800px){

  /* Masquer le CTA du header en mobile */
  .header .btn-booking{ display: none !important; }

  /* Wrapper fixe : centrage responsive SANS translateX, animation en Y */
  .socials-combo{
    position: fixed;
    left: 0;                   /* pleine largeur */
    right: 0;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
    z-index: 2147483647;

    width: max-content;        /* prend juste la place nécessaire */
    max-width: calc(100vw - 24px);
    margin: 0 auto;            /* centre horizontalement */
    padding-inline: 0;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;           /* si étroit, passe sur 2 lignes */

    pointer-events: none;      /* clics activés sur les enfants */

    /* Animation d'entrée (Y uniquement => pas de dérive horizontale) */
    opacity: 0;
    transform: translateY(10px);
    animation: combo-in .45s ease both .22s;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }

  /* Les enfants sont cliquables et peuvent se rétrécir un peu si besoin */
  .socials-combo .socials-fixed,
  .socials-combo .btn-social-contact{
    pointer-events: auto;
    flex: 0 1 auto;
    min-width: 0;
  }

  /* Neutraliser tout positionnement/animation hérités par la pilule globale */
  .socials-combo .socials-fixed{
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
  }

  /* Rendu homogène (glow/contour) pour pilule ET bouton, sans fade individuel */
  .socials-combo .socials-fixed,
  .socials-combo .btn-social-contact{
    box-shadow:
      0 0 16px rgba(122,78,178,0.55),
      inset 0 0 14px rgba(122,78,178,0.4);
    border: 1px solid rgba(150,100,210,0.45);
    backdrop-filter: blur(6px);
    opacity: 1;           /* l’animation est au niveau du wrapper */
    filter: none;
    transition: none;     /* évite les micro-sauts au chargement */
  }

  /* === Pilule réseaux === */
  .socials-combo .socials-fixed{
    height: 45px;
    padding: 6px 16px;
    min-width: max-content;
    border-radius: 999px;
    background: rgba(20,20,20,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
  }
  .socials-combo .socials-fixed .socials-label{ display:none; }
  .socials-combo .socials-fixed .social-link{
    color: var(--violet);
    font-size: 1.35rem;
    text-decoration: none;
    transition: transform .25s ease, color .25s ease, text-shadow .25s ease;
  }
  .socials-combo .socials-fixed .social-link:hover{
    color: var(--violet-hover);
    transform: scale(1.15);
    text-shadow: 0 0 12px rgba(150,100,210,.7);
  }

  /* === Bouton "Nous contacter" === */
  @keyframes fade-sync { from { opacity: 0; } to { opacity: 1; } }

  .socials-combo .btn-social-contact{
    position: static;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;                /* même hauteur que la pilule */
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1rem;
    white-space: nowrap;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, rgba(154,100,214,0.9), rgba(122,78,178,0.8));
    text-shadow: 0 0 8px rgba(255,255,255,0.45), 0 0 14px rgba(154,100,214,0.6);
    /* pas de transition de fade initial ; seulement au hover */
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    opacity: 0;
    animation: fade-sync .45s ease both .35s; /* +60 ms ≈ compense la latence des icônes */
  }
  .socials-combo .btn-social-contact:hover{
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(180,120,240,0.95), rgba(200,150,255,0.85));
    box-shadow: 0 0 22px rgba(180,120,240,0.75), inset 0 0 22px rgba(122,78,178,0.6);
  }

  /* Réserve en bas pour ne pas masquer le footer/contenu */
  body{ padding-bottom: calc(63px + env(safe-area-inset-bottom, 0px)); }
}

/* ===== DESKTOP (≥801px) ===== */
@media (min-width:801px){
  .header .btn-booking{ display:inline-block !important; }
  .btn-social-contact{ display:none !important; }
  .socials-combo{ display: contents; }
}