/* ===============================
   MNAClub — CSS REPARÉ (RESPONSIVE + SCROLL OK)
   - Plus de overflow-y:hidden global
   - Footer fixed SANS gros padding qui casse
   - Menu burger scrollable + iOS OK
   - Hero grid moins rigide (plus de minmax 520/420 qui déborde)
=============================== */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap');

:root{
  --bg:#0a0f0b;
  --bg2:#101712;
  --fg:#ffffff;
  --muted:#8fa08f;

  /* âÂÂÂÂÂÂ Sauge / kaki (propre) */
  --accent:#6e8b5e;      /* sauge */
  --accent2:#2f4f3a;     /* sauge sombre */
  --accent3:#93a98a;     /* sauge clair */

  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.10);

  --glow: rgba(110,139,94,.35);

  --radius:18px;
  --radius-sm:12px;

  --shadow-soft: 0 14px 40px rgba(0,0,0,.30);
  --shadow-lg:   0 28px 80px rgba(0,0,0,.45);

  --transition: 220ms cubic-bezier(.2,.9,.2,1);

  /* âÂÂÂÂÂÂ Footer fixed : hauteur réelle, pas 190/240 */
  --footer-h: 92px;
  --footer-h-mobile: 112px;

  /* Menu mobile : bas “safe” pour atteindre les derniers liens */
  --nav-bottom-pad: 120px;
}

/* Reset / Safety */
*{ box-sizing:border-box; min-width:0; }
html,body{ min-height:100%; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--fg);
  line-height:1.5;

  /* âÂÂÂÂÂÂ background */
  background:
    radial-gradient(1200px 700px at 70% 10%, rgba(110,139,94,.18), transparent 55%),
    radial-gradient(900px 600px at 10% 85%, rgba(147,169,138,.12), transparent 60%),
    linear-gradient(180deg, var(--bg), #070b07 60%, #060906 100%);

  /* âÂÂÂÂÂÂ scroll normal */
  overflow-x:hidden;
  overflow-y:auto;

  /* âÂÂÂÂÂÂ plus de gros padding qui “bug” */
  padding-bottom: 0;
}

/* médias qui débordent = cause n°1 de “pas responsive” */
img, video, svg{ max-width:100%; height:auto; display:block; }

a{ color:inherit; text-decoration:none; }
a:hover{ opacity:.96; }
.hidden{ display:none!important; }

/* Lock scroll sans casser les pages longues */
body.nav-open{
  overflow-y: hidden;
  overflow-x: hidden;
}


/* iOS: autorise le scroll interne dans le panneau */
@media (max-width:720px){
  body.nav-open .main-nav{
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}


/* Background blobs */
body::before, body::after{
  content:"";
  position:fixed;
  width:520px;height:520px;
  border-radius:999px;
  filter: blur(85px);
  opacity:.55;
  pointer-events:none;
  z-index:-1;
  animation: float 18s ease-in-out infinite;
}
body::before{
  top:-180px; right:-130px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}
body::after{
  bottom:-200px; left:-160px;
  background: linear-gradient(135deg, var(--accent2), #2a3f31);
  animation-delay:-6s;
}
@keyframes float{
  0%,100%{ transform: translate(0,0) scale(1); }
  25%{ transform: translate(24px,-26px) scale(1.04); }
  50%{ transform: translate(-18px,18px) scale(.96); }
  75%{ transform: translate(16px,26px) scale(1.02); }
}

/* Layout */
.container{
  max-width:1100px;
  width:100%;
  margin:0 auto;
  padding-inline: clamp(1.2rem, 4vw, 1.5rem);
  padding-block: clamp(.95rem, 2vw, 1.25rem);
}

/* âÂÂÂÂÂÂ espace pour le footer fixed sans casser le layout */
main{
  padding-bottom: var(--footer-h);
}
@media (max-width:480px){
  main{ padding-bottom: var(--footer-h-mobile); }
}

/* Typography */
h1,h2,h3{
  font-family:'Bebas Neue', sans-serif;
  letter-spacing:.02em;
  margin:0 0 .55rem;
}
h1{font-size: clamp(2.2rem, 5vw, 3.2rem); line-height:1}
h2{font-size: clamp(1.5rem, 3vw, 2.15rem); line-height:1.05}
h3{font-size: 1.35rem; line-height:1.1}
p{margin:0 0 .75rem;color:var(--muted)}

/* ===============================
   HEADER + NAV
=============================== */
.site-header{
  position:sticky;
  top:0;
  z-index:90;
  background: rgba(10,15,11,.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.site-header .container{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:1rem;
  padding:.9rem 1.25rem;
}

.logo{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  font-family:'Bebas Neue', sans-serif;
  font-size:1.7rem;
  letter-spacing:.08em;
}
.logo::before{
  content:"";
  width:44px;height:44px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px var(--glow);
  border: 1px solid rgba(255,255,255,.12);
}

.main-nav{
  display:flex;
  align-items:center;
  gap:.7rem;
  justify-self:center;
}

.main-nav a{
  color: var(--muted);
  font-weight:600;
  font-size:.92rem;
  position:relative;
  padding:.35rem .1rem;
  transition: color .25s ease;
}
.main-nav a:hover{color:var(--fg)}
.main-nav a::after{
  content:"";
  position:absolute;
  left:0; bottom:-6px;
  width:0; height:2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}
.main-nav a:hover::after{width:100%}

/* Burger */
.nav-toggle{
  display:none;
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--fg);
  cursor:pointer;
}
.nav-toggle:hover{
  border-color: rgba(110,139,94,.45);
  background: rgba(255,255,255,.05);
}

@media (max-width:720px){

  .site-header{ z-index: 6000; } /* header au-dessus du site */

  .site-header .container{
    grid-template-columns: 1fr auto;
    gap: .75rem;
    align-items:center;
  }

  .nav-toggle{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    justify-self:end;
    margin-left:auto;
    font-size:26px;
    line-height:1;
    padding:0;
    position: relative;
    z-index: 7100; /* toujours au-dessus */
  }

  /* Panneau du menu */
  .main-nav{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;

    width: min(86vw, 360px);
    max-width: 360px;

    transform: translateX(110%);
    transition: transform 360ms cubic-bezier(.16,1,.3,1);

    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:.9rem;

    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;

    padding:
      calc(86px + env(safe-area-inset-top))
      20px
      calc(var(--nav-bottom-pad) + env(safe-area-inset-bottom));

    background: var(--bg2);
    border-left: 1px solid var(--border);

    z-index: 7000;     /* AU-DESSUS de tout */
    isolation: isolate;/* évite certains bugs de stacking */
    pointer-events: none;
  }

  .main-nav.is-open{
    transform: translateX(0);
    pointer-events: auto;
  }

  .main-nav a{
    font-family:'Bebas Neue', sans-serif;
    letter-spacing:.04em;
    font-size:1.25rem;
    color:var(--fg);
    padding:.7rem .3rem;
    flex:0 0 auto;
  }

  .main-nav a::after{ display:none; }

}

  /* le header reste sous le panneau */
  body.nav-open .site-header{
    z-index: 1 !important;
  }

/* ===============================
   BUTTONS
=============================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.72rem 1.05rem;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--fg);
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(110,139,94,.55);
  box-shadow: 0 18px 40px rgba(110,139,94,.14);
  background: rgba(255,255,255,.05);
}
.btn:active{ transform: translateY(-1px); }
.btn.primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 10px 30px var(--glow);
}
.btn.primary:hover{ box-shadow: 0 18px 50px var(--glow); }
.btn.ghost{ background: transparent; }
.btn.small{ padding:.55rem .85rem; font-size:.9rem; }

.back-btn{
  display:inline-block;
  padding:.45rem .8rem;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--fg);
  text-decoration:none;
  margin:.2rem;
  font-size:.92rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.back-btn:hover{
  transform: translateY(-2px);
  border-color: rgba(110,139,94,.55);
  background: rgba(255,255,255,.05);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}

/* ===============================
   CARDS
=============================== */
.cards{
  display:grid;
  grid-template-columns:repeat(3, minmax(240px, 1fr));
  gap:1.2rem;
  margin-top:1.1rem;
  align-items:stretch;
}
.card{
  padding:1.25rem;
  border-radius:var(--radius);
  background: var(--card);
  border:1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover{
  transform: translateY(-6px);
  border-color: rgba(110,139,94,.35);
  box-shadow: 0 26px 60px rgba(110,139,94,.14);
}
.card p{color:var(--muted)}
.card.popular{
  border-left: 6px solid var(--accent);
  box-shadow: 0 18px 55px rgba(110,139,94,.12);
}
.card .btn{ margin-top:.9rem; width:fit-content; }

@media (max-width:980px){
  .cards{ grid-template-columns: 1fr; max-width: 720px; }
}
@media (max-width:620px){
  .cards{ max-width: 420px; }
}

/* ===============================
   FORMS / INPUTS
=============================== */
label{color: rgba(255,255,255,.86); font-weight:700}

input, select, textarea{
  width:100%;
  padding:.9rem 1rem;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  color: var(--fg);
  font-size:.98rem;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition), transform var(--transition);
}
input::placeholder, textarea::placeholder{ color: rgba(143,160,143,.75); }

select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.7) 50%),
    linear-gradient(135deg, rgba(255,255,255,.7) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(1em + 2px),
    calc(100% - 13px) calc(1em + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 42px;
}
select option{
  background: #0f1410;
  color: #ffffff;
}

input:focus, select:focus, textarea:focus{
  box-shadow: 0 0 0 4px rgba(110,139,94,.18);
  border-color: rgba(110,139,94,.75);
  background: rgba(255,255,255,.05);
  outline:none;
}
input:hover,select:hover,textarea:hover{ transform: translateY(-2px); }

/* ===============================
   BOOKING CALENDAR
=============================== */
.booking{margin-top:1rem}
.booking-controls{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:1rem}
.calendar{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1rem}

.calendar .day{
  padding:.95rem;
  border:1px solid var(--border);
  border-radius:16px;
  background: rgba(255,255,255,.03);
  cursor:pointer;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
  min-height:62px;
}
.calendar .day:hover{
  transform: translateY(-6px);
  border-color: rgba(110,139,94,.40);
  background: rgba(110,139,94,.08);
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.calendar .day .date{font-weight:800;color: rgba(255,255,255,.92)}
.calendar .day .meta{font-size:.95rem;color:var(--muted)}

.reservations-list{margin-top:1rem}
.reservations-list .item{
  padding:.85rem;
  border-radius:16px;
  margin-bottom:.7rem;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft);
  font-size:.95rem;
}

/* ===============================
   MODAL
=============================== */
.modal{
  position:fixed; inset:0;
  display:flex; align-items:center; justify-content:center;
  background: rgba(0,0,0,.62);
  opacity:0; pointer-events:none;
  transition: opacity .18s;
  z-index:300;
}
.modal[aria-hidden="false"]{ opacity:1; pointer-events:auto; }
.modal-content{
  background: rgba(16,23,18,.92);
  border: 1px solid var(--border);
  padding:1.1rem;
  border-radius:18px;
  max-width:620px;
  width:94%;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  transform: translateY(8px);
  transition: transform var(--transition), opacity var(--transition);
  backdrop-filter: blur(16px);
}
.modal[aria-hidden="false"] .modal-content{ transform: translateY(0); }
.modal-close{ float:right;background:none;border:0;font-size:1.4rem;color:var(--fg);cursor:pointer }
.modal-actions{ display:flex; gap:.6rem; justify-content:flex-end; margin-top:1rem }

/* ===============================
   TOAST
=============================== */
.toast{
  position:fixed; right:1rem; bottom: calc(1rem + var(--footer-h));
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color:#fff;
  padding:.7rem 1rem;
  border-radius:14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  transform: translateY(6px);
  opacity:0;
  animation: toast-in .28s forwards;
  z-index:300;
}
@media (max-width:480px){
  .toast{ bottom: calc(1rem + var(--footer-h-mobile)); }
}
@keyframes toast-in{ to{ transform: translateY(0); opacity:1 } }

/* ===============================
   GALLERY
=============================== */
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:.8rem;
  align-items:start;
}
.gallery-item{
  border-radius:16px;
  overflow:hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position:relative;
}
.gallery-item .media-thumb{
  aspect-ratio:4/3;
  overflow:hidden;
  width:100%;
  background: rgba(255,255,255,.02);
}
.gallery-item img,.gallery-item video{
  width:100%; height:100%;
  object-fit:cover;
}
.gallery-item figcaption{
  padding:.7rem .75rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.6rem;
  color: rgba(255,255,255,.88);
}
.gallery-item:hover{
  transform: translateY(-6px);
  border-color: rgba(110,139,94,.35);
  box-shadow: 0 26px 60px rgba(110,139,94,.14);
}
.gallery-item img.lazy{
  opacity:0;
  transform: translateY(6px);
  transition: opacity .45s var(--transition), transform .45s var(--transition);
}
.gallery-item img.in-view{ opacity:1; transform:none; }

@media (max-width:480px){
  .gallery{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem}
  .gallery-item .media-thumb{aspect-ratio:16/10}
}

.gallery-item .play-overlay{
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%,-50%);
  background: rgba(0,0,0,.55);
  color:#fff;
  padding:.35rem .55rem;
  border-radius:10px;
  font-size:.9rem;
  display:none;
  border: 1px solid rgba(255,255,255,.12);
}
.gallery-item:hover .play-overlay{ display:block; }

/* ===============================
   DASHBOARD BITS
=============================== */
.dashboard-actions{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap}
#payments-details{
  background: rgba(255,255,255,.03);
  padding:1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-soft);
}

/* ===============================
   TABLES (stats)
=============================== */
#stats-by-slot table{ width:100%; border-collapse:collapse }
#stats-by-slot table th, #stats-by-slot table td{
  padding:.75rem .85rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align:left;
  font-size:.95rem;
}
#stats-by-slot table th{
  color: rgba(255,255,255,.86);
  background: rgba(255,255,255,.03);
}

/* ===============================
   FOOTER (fixed) — sans “padding bug”
=============================== */
.site-footer{
  background: rgba(16,23,18,.78);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(16px);
  padding:.65rem .95rem;
  text-align:center;
  z-index:120;
  font-size:.95rem;

  position:fixed;
  left:0; right:0; bottom:0;

  box-shadow: 0 -18px 60px rgba(0,0,0,.35);

  /* footer ne bloque pas les clics derrière */
  pointer-events:none;
}
.site-footer p{margin:.12rem 0;line-height:1.4;color:var(--muted)}
.site-footer #site-address{display:inline-block;margin-left:.6rem;font-weight:700;color: rgba(255,255,255,.88)}
.site-footer a{color: var(--accent); font-weight:700; pointer-events:auto; }

@media (max-width:480px){
  .site-footer{padding:.55rem .75rem;font-size:.9rem}
  .site-footer #site-address{display:block;margin-left:0;font-weight:600}
}

/* ===============================
   HELPERS
=============================== */
.section{padding:clamp(.9rem,2vw,1.6rem) 0}
.muted{color:var(--muted)}
.center{text-align:center}
.note{color: rgba(147,169,138,.95); font-weight:700}

/* ===============================
   INDEX SPECIFIC — REPARÉ (plus de colonnes rigides)
=============================== */
body.home #offers{ scroll-margin-top: 110px; }

body.home .hero{
  min-height: calc(85vh - 78px);
  padding: 4.6rem 0 2.2rem;
  position: relative;
}
body.home .hero-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr; /* âÂÂÂÂÂÂ flexible */
  gap: clamp(2rem, 5vw, 4rem);
  align-items:center;
}
@media (max-width:1024px){
  body.home .hero-inner{ grid-template-columns: 1fr; }
  body.home .hero-right{ order:-1; }
}

body.home .hero-right{ display:flex; justify-content:center; align-items:center; }
body.home .hero-art{ width: min(520px, 95%); }

body.home .hero-stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .8rem;
}
body.home .stat{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  border-radius: 18px;
}
@media (max-width:980px){
  body.home .hero-art{ width: min(460px, 92%); }
  body.home .hero-stats{ grid-template-columns: 1fr; }
}

/* Banner */
.site-banner{
  background: rgba(110,139,94,.10);
  border-bottom: 1px solid rgba(110,139,94,.25);
  padding: .7rem;
  text-align:center;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

/* Index background grid */
.hero-bg{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.grid-pattern{
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 20%, transparent 72%);
  opacity: .9;
}

/* Hero blocks */
.hero-kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.45rem .8rem;
  border-radius:999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  font-size: .92rem;
  margin-bottom: .9rem;
}
.hero-title{ margin:0 0 .7rem; font-size: clamp(2.8rem, 6.2vw, 5rem); line-height: .92; }
.hero-title-accent{
  display:block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.hero-subtitle{
  font-size: 1.06rem;
  max-width: 60ch;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.hero-actions{ display:flex; flex-wrap:wrap; gap:.7rem; margin-bottom: 1.25rem; }

.hero-art{
  position: relative;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(110,139,94,.10), rgba(47,79,58,.10));
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
  overflow: visible;
}

.ring{
  position:absolute;
  inset: 0;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  animation: pulse 3.4s ease-in-out infinite;
}
.ring-2{ inset: 18px; border-color: rgba(47,79,58,.18); animation-delay:-.8s; }
.ring-3{ inset: 40px; border-color: rgba(110,139,94,.18); animation-delay:-1.6s; }
@keyframes pulse{
  0%,100%{ transform: scale(1); opacity: .9; }
  50%{ transform: scale(1.04); opacity: .6; }
}

.hero-center-icon{
  position:absolute;
  inset: 56px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:
    radial-gradient(circle at 30% 20%, rgba(110,139,94,.14), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(47,79,58,.14), transparent 55%),
    rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(12px);
}
.hero-icon{ opacity: .55; }

.float-card{
  position:absolute;
  display:flex;
  align-items:center;
  gap: .75rem;
  padding: .85rem .95rem;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  animation: bob 3.2s ease-in-out infinite;
}
@keyframes bob{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-8px); }
}
.fc-1{ right: -18px; top: 20%; }
.fc-2{ left: -18px; bottom: 18%; animation-delay: -.8s; }

.fc-icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.12);
}
.fc-icon.ok{ background: rgba(34,197,94,.14); color: #22c55e; }
.fc-icon.pink{ background: rgba(110,139,94,.14); color: var(--accent); }

.fc-label{ color: var(--muted); font-weight: 700; font-size: .86rem; }
.fc-value{ color: rgba(255,255,255,.92); font-weight: 800; }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce){
  *{transition:none!important;animation:none!important}
}

/* ===============================
   ADMIN ACCORDIONS
=============================== */
.card.acc{ padding:0; }
.card.acc > summary{
  list-style:none;
  cursor:pointer;
  user-select:none;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;

  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);

  font-family:'Bebas Neue', sans-serif;
  letter-spacing:.02em;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height:1.05;
  margin:0;
}
.card.acc > summary::-webkit-details-marker{ display:none; }
.card.acc > summary::after{
  content:"";
  width: 10px;
  height: 10px;
  border-right: 2px solid rgba(255,255,255,.75);
  border-bottom: 2px solid rgba(255,255,255,.75);
  transform: rotate(45deg);
  transition: transform var(--transition), opacity var(--transition);
  opacity:.85;
}
.card.acc[open] > summary::after{ transform: rotate(-135deg); }
.card.acc[open] > summary{
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.card.acc .acc-body{ padding: 1rem 1.25rem 1.25rem; }

/* Admin - Galerie : URLs propres */
.table-fixed{ table-layout: fixed; width: 100%; }
.td-url, .td-caption, .td-date, .td-actions{ vertical-align: top; }
.url-clip{
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.td-caption{ overflow-wrap: anywhere; }
.td-date{ white-space: nowrap; }
.td-actions{ white-space: nowrap; }

/* REGISTER — fixes (NE DOIT PAS impacter le reste du site) */
.register-page #site-header,
.register-page header,
.register-page .site-header { position: relative; z-index: 10; }

.register-page main { position: relative; z-index: 1; }


.register-page .form{
  display:flex;
  flex-direction:column;
  gap:.7rem;
}
.register-page label{
  display:flex;
  flex-direction:column;
  gap:.35rem;
}

/* Rules box (dark, plus de fond blanc qui choque) */
.rules-box{
  height:180px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.10);
  padding:.75rem;
  background: rgba(255,255,255,.03);
  border-radius:12px;
  color: rgba(255,255,255,.86);
}

.rules-end{
  margin-top:1rem;
  padding:.75rem .9rem;
  border-radius:12px;
  background: #1c261f;
  border: 1px solid rgba(110,139,94,.55);
  color: #cfe3cf !important;
  font-weight:700;
}

.women-only-banner{
  margin: 18px 0 24px;
  padding: 18px 16px;
  text-align: center;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 14px;
  background: var(--accent2);
  color: #fff;
  box-shadow: 0 14px 35px rgba(0,0,0,0.25);
}
@media (max-width:480px){
  .container{
    padding-inline: 1.4rem;
  }
}

body, html {
  width: 100%;
  max-width: 100%;
}

/* Empêche les débordements sans casser les containers */
html, body { max-width: 100%; overflow-x: hidden; }

/* Empêche les blobs de créer un overflow horizontal */
body::before,
body::after{
  max-width: 100vw;
}

/* ===============================
   NAV — Mettre Connexion / Déconnexion en bouton
=============================== */
.main-nav a.nav-login,
.main-nav a.nav-logout{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding: .55rem .95rem;
  border-radius: 999px;

  background: rgba(110,139,94,.16);
  border: 1px solid rgba(110,139,94,.40);
  color: rgba(255,255,255,.92);
  font-weight: 800;

  /* annule la petite underline animée */
  position: relative;
}

.main-nav a.nav-login::after,
.main-nav a.nav-logout::after{
  display:none;
}

.main-nav a.nav-login:hover,
.main-nav a.nav-logout:hover{
  background: rgba(110,139,94,.26);
  border-color: rgba(110,139,94,.60);
  transform: translateY(-1px);
}

/* Desktop: pousse Connexion à droite */
@media (min-width: 721px){
  .main-nav a.nav-login,
  .main-nav a.nav-logout{
    margin-left: auto;
  }
}
/* ===============================
   DESKTOP FIX — header/nav ne colle pas aux bords
=============================== */
@media (min-width: 721px){

  /* plus de respiration dans le header */
  .site-header .container{
    padding-left: clamp(1.2rem, 3vw, 2.4rem);
    padding-right: clamp(1.2rem, 3vw, 2.4rem);
  }

  /* le nav ne doit pas être “trop collé” et peut wrap propre */
  .main-nav{
    justify-self: end;     /* au lieu de center */
    gap: .9rem;
    padding-inline: .4rem;
    flex-wrap: wrap;
    row-gap: .35rem;
  }

  /* liens : plus de padding horizontal => effet “moins collé” */
  .main-nav a{
    padding: .45rem .45rem;   /* remplace .35rem .1rem */
  }

  /* garde Connexion à droite, mais sans casser quand ça wrap */
  .main-nav a.nav-login,
  .main-nav a.nav-logout{
    margin-left: .6rem;       /* petit espace avant le bouton */
  }
}

/* Desktop: aligne la nav comme un container */
@media (min-width: 721px){
  .main-nav{
    max-width: 1100px;
    margin: 0 auto;
    padding: .55rem clamp(1.2rem, 4vw, 1.5rem);
    justify-content: flex-end;
  }
}
/* ===============================
   CTA CARD (Sessions / autres pages)
=============================== */
.cta-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1.2rem;

  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.cta-actions{
  display:flex;
  align-items:center;
  gap: .75rem;          /* âÂÂ espace entre les boutons */
  flex-wrap: wrap;      /* âÂÂ si pas la place, ça passe à la ligne */
  justify-content: flex-end;
}

@media (max-width: 720px){
  .cta-card{ flex-direction: column; align-items: stretch; }
  .cta-actions{ justify-content: stretch; }
  .cta-actions .btn{ width: 100%; }  /* boutons full width mobile */
}

/* ===============================
   GALLERY PAGE — FIX (espaces + taille miniatures)
=============================== */

/* espace entre le header (titre + rafraîchir) et la grille */
.gallery-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;   /* âÂÂ plus d'air */
}

.gallery-section{
  margin-top: .8rem;       /* âÂÂ évite que ça colle */
}

/* grille plus jolie (pas trop gros) */
.gallery{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  align-items:start;
}

/* miniatures : hauteur max pour éviter les énormes images */
.gallery-item .media-thumb{
  aspect-ratio: 4 / 3;
  max-height: 260px;       /* âÂÂ limite la taille */
  overflow:hidden;
}

/* image/vidéo remplissent la miniature sans déformer */
.gallery-item img,
.gallery-item video{
  width:100%;
  height:100%;
  object-fit: cover;       /* âÂÂ style “propre” */
}
/* ===============================
   FIX PRIORITÉ MENU BURGER (toujours AU-DESSUS)
=============================== */

/* Le header doit être au-dessus de TOUT */
.site-header{
  z-index: 5000; /* au lieu de 90 */
}

/* Mobile: le panneau menu + backdrop encore au-dessus */
@media (max-width:720px){
  .main-nav{
    z-index: 6000;          /* le panneau */
    isolation: isolate;     /* évite les bugs de stacking context */
  }

  /* Backdrop cliquable (et visuel) derrière le panneau */
  body.nav-open .site-header::after{
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 5500;          /* entre header et panneau */
  }

  /* le bouton burger doit rester cliquable au-dessus du backdrop */
  .nav-toggle{
    position: relative;
    z-index: 7000;
  }
}
/* ===== Admin mobile overflow fix ===== */

/* Le wrapper de table doit pouvoir scroller horizontalement */
.table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Empêche les cellules de forcer la largeur écran */
.table{
  width: 100%;
  table-layout: fixed; /* important */
}

/* Autorise le retour à la ligne + casse les longs mots/URLs */
.table th,
.table td{
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Liens (URL) : autorise la césure aussi */
.table a{
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Notes/flash et gros textes */
.note{
  overflow-wrap: anywhere;
  word-break: break-word;
}

