/* ============================================
   Kraken's Dice — Styles
   ============================================ */

:root {
  --teal-dark: #2d6b6b;
  --teal: #3a8a8a;
  --teal-light: #4fa8a8;
  --teal-glow: #5cc5c5;
  --teal-pale: #e0f5f5;
  --teal-bg: #f2fbfb;
  --ink: #1a1a2e;
  --ink-light: #3a3a5c;
  --white: #fff;
  --cream: #f8fffe;
  --accent: #d4a853;
  --accent-light: #f0d68a;
  --danger: #c0392b;
  --success: #27ae60;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- NAV --- */
nav#mainNav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(45,107,107,.95); backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--accent); transition: all .4s;
}
nav#mainNav.scrolled { background: rgba(26,26,46,.97); box-shadow: 0 4px 30px rgba(0,0,0,.3); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; padding: .6rem 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .8rem; cursor: pointer; text-decoration: none; }
.nav-logo img { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--accent); transition: transform .3s; }
.nav-logo:hover img { transform: rotate(10deg) scale(1.1); }
.nav-logo span { font-family: 'Cinzel Decorative', serif; color: var(--white); font-size: 1.2rem; font-weight: 700; letter-spacing: 1px; }
.nav-center { display: flex; gap: 0; list-style: none; }
.nav-center li a {
  color: rgba(255,255,255,.85); text-decoration: none; padding: .8rem 1.3rem;
  font-weight: 500; font-size: .92rem; position: relative; transition: color .3s;
}
.nav-center li a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0;
  height: 2px; background: var(--accent); transition: all .3s; transform: translateX(-50%);
}
.nav-center li a:hover, .nav-center li a.active { color: var(--white); }
.nav-center li a:hover::after, .nav-center li a.active::after { width: 60%; }
.nav-center li a[data-page="adhesion"] {
  color: var(--accent);
  font-weight: 600;
  text-shadow: 0 0 12px rgba(212,168,83,.35);
}
.nav-center li a[data-page="adhesion"]:hover,
.nav-center li a[data-page="adhesion"].active { color: var(--accent-light); }
.nav-right { display: flex; align-items: center; gap: .8rem; }
.nav-user-badge {
  display: flex; align-items: center; gap: .6rem;
  padding: .4rem 1rem .4rem .6rem; background: rgba(255,255,255,.1);
  border-radius: 50px; cursor: pointer; position: relative;
  border: none; color: var(--white); font-family: 'Outfit', sans-serif; font-size: .88rem;
}
.nav-user-badge:hover { background: rgba(255,255,255,.18); }
.user-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .85rem; color: var(--ink);
  overflow: hidden; flex-shrink: 0;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.role-chip {
  font-size: .65rem; padding: .15rem .5rem; border-radius: 50px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.role-admin { background: var(--accent); color: var(--ink); }
.role-mj { background: #9b59b6; color: var(--white); }
.role-membre { background: var(--teal); color: var(--white); }
.role-visiteur { background: rgba(255,255,255,.2); color: var(--white); }
.btn-nav {
  padding: .5rem 1.2rem; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: .85rem; transition: all .3s;
  cursor: pointer; border: none; font-family: 'Outfit', sans-serif;
}
.btn-nav-login { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,.4); }
.btn-nav-login:hover { border-color: var(--white); }
.btn-nav-signup { background: var(--accent); color: var(--ink); }
.btn-nav-signup:hover { background: var(--accent-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; border: none; }
.hamburger span { width: 28px; height: 3px; background: var(--white); border-radius: 3px; transition: all .3s; }

/* --- DROPDOWN --- */
.dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--white); border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15); min-width: 220px;
  overflow: hidden; opacity: 0; pointer-events: none;
  transform: translateY(-8px); transition: all .25s; z-index: 100;
}
.dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: .7rem; padding: .8rem 1.2rem;
  cursor: pointer; color: var(--ink); font-size: .9rem; transition: background .2s;
  border: none; background: none; width: 100%; text-align: left; font-family: 'Outfit', sans-serif;
}
.dropdown-item:hover { background: var(--teal-pale); }
.dropdown-divider { height: 1px; background: rgba(0,0,0,.06); margin: .3rem 0; }
.dropdown-item.danger { color: var(--danger); }

/* --- MODALS --- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,26,46,.6); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s; padding: 1rem;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 24px 80px rgba(0,0,0,.2); max-width: 480px; width: 100%;
  transform: scale(.9) translateY(20px); transition: transform .3s;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-header { padding: 2rem 2rem 0; text-align: center; }
.modal-header img { width: 60px; height: 60px; border-radius: 50%; margin-bottom: .8rem; }
.modal-header h3 { font-family: 'Cinzel Decorative', serif; font-size: 1.3rem; color: var(--teal-dark); }
.modal-header p { color: var(--ink-light); font-size: .9rem; margin-top: .3rem; }
.modal-body { padding: 1.5rem 2rem 2rem; }
.modal-close {
  position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px;
  border-radius: 50%; background: rgba(0,0,0,.05); border: none;
  font-size: 1.2rem; cursor: pointer; color: var(--ink-light);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.modal-close:hover { background: rgba(0,0,0,.1); }
.modal-tabs { display: flex; margin-bottom: 1.5rem; border-bottom: 2px solid rgba(0,0,0,.06); }
.modal-tab {
  flex: 1; padding: .8rem; text-align: center; background: none; border: none;
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: .95rem;
  cursor: pointer; color: var(--ink-light); position: relative; transition: color .3s;
}
.modal-tab::after {
  content: ''; position: absolute; bottom: -2px; left: 20%; right: 20%;
  height: 2px; background: var(--teal); transform: scaleX(0); transition: transform .3s;
}
.modal-tab.active { color: var(--teal-dark); }
.modal-tab.active::after { transform: scaleX(1); }

/* --- FORMS --- */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 500; font-size: .88rem; color: var(--ink); margin-bottom: .35rem; }
.form-group label .req { color: var(--danger); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: .75rem 1rem; border: 2px solid rgba(45,107,107,.12);
  border-radius: 12px; font-family: 'Outfit', sans-serif; font-size: .92rem;
  transition: border-color .3s, box-shadow .3s; outline: none; background: var(--cream);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 4px rgba(58,138,138,.1);
}
.input-password { position: relative; }
.input-password input { padding-right: 2.8rem; }
.toggle-password {
  position: absolute; right: .6rem; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; font-size: 1.1rem;
  color: var(--ink-light); opacity: .5; transition: opacity .2s; padding: .2rem;
}
.toggle-password:hover { opacity: 1; }
.toggle-password.visible { opacity: .8; color: var(--teal); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .78rem; color: var(--ink-light); font-style: italic; margin-top: .25rem; }
.form-error { color: var(--danger); font-size: .82rem; margin-top: .3rem; display: none; }
.btn-full {
  width: 100%; padding: .85rem; border-radius: 14px; font-size: 1rem;
  font-weight: 600; cursor: pointer; font-family: 'Outfit', sans-serif; border: none; transition: all .3s;
}
.btn-teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: var(--white); }
.btn-teal:hover { box-shadow: 0 6px 24px rgba(45,107,107,.3); transform: translateY(-1px); }
.btn-accent { background: linear-gradient(135deg, var(--accent), #c4943f); color: var(--ink); }
.btn-accent:hover { box-shadow: 0 6px 24px rgba(212,168,83,.4); transform: translateY(-1px); }

/* --- HERO --- */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, #1a3a3a 30%, var(--teal-dark) 60%, #1a3a3a 100%);
  max-width: none; padding: 0; width: 100%;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(79,168,168,.15) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(212,168,83,.1) 0%, transparent 50%);
  animation: pulse-bg 8s ease-in-out infinite alternate;
}
@keyframes pulse-bg { 0% { opacity: .6; } 100% { opacity: 1; } }
.tentacle {
  position: absolute; width: 200px; height: 200px; opacity: .06;
  border: 3px solid var(--teal-glow); border-radius: 50% 50% 50% 0;
  animation: float 10s ease-in-out infinite;
}
.tentacle:nth-child(1) { top: 10%; left: 5%; }
.tentacle:nth-child(2) { bottom: 15%; right: 8%; width: 150px; height: 150px; animation-delay: 3s; }
.tentacle:nth-child(3) { top: 60%; left: 80%; width: 100px; height: 100px; animation-delay: 6s; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(30deg); } 50% { transform: translateY(-20px) rotate(35deg); } }
.hero-content { text-align: center; position: relative; z-index: 2; padding: 2rem; animation: fadeUp 1s ease-out; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.hero-logo {
  width: 170px; height: 170px; border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 0 60px rgba(92,197,197,.3); margin-bottom: 2rem;
  animation: glow 4s ease-in-out infinite alternate;
}
@keyframes glow { from { box-shadow: 0 0 40px rgba(92,197,197,.2); } to { box-shadow: 0 0 60px rgba(92,197,197,.4); } }
.hero h1 { font-family: 'Cinzel Decorative', serif; font-size: 3.2rem; color: var(--white); margin-bottom: 1rem; }
.hero h1 .hl { color: var(--accent); }
.hero-sub {
  font-size: 1.2rem; color: rgba(255,255,255,.75); font-weight: 300;
  max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.8rem; border-radius: 50px; text-decoration: none;
  font-weight: 600; font-size: .92rem; transition: all .3s;
  cursor: pointer; border: none; font-family: 'Outfit', sans-serif;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), #c4943f); color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,168,83,.4); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-secondary:hover { border-color: var(--teal-glow); background: rgba(92,197,197,.1); }
.btn-outline { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
.btn-outline:hover { background: rgba(212,168,83,.15); color: var(--accent-light); border-color: var(--accent-light); }
.scroll-ind {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); animation: bounce 2s infinite; font-size: 1.5rem;
}
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(10px); } }

/* --- SECTIONS --- */
section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: 'Cinzel Decorative', serif; font-size: 2.1rem; color: var(--teal-dark); margin-bottom: .6rem; }
.section-header p { color: var(--ink-light); font-size: 1rem; font-weight: 300; max-width: 600px; margin: 0 auto; }
.section-divider { width: 60px; height: 3px; background: var(--accent); margin: .8rem auto 0; border-radius: 3px; }

/* --- CARDS --- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 2rem; }
.card {
  background: var(--white); border-radius: 20px; padding: 2.2rem 1.8rem;
  box-shadow: 0 4px 30px rgba(45,107,107,.07); border: 1px solid rgba(45,107,107,.06);
  transition: all .4s; position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.card:hover::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(45,107,107,.13); }
.card-icon {
  width: 56px; height: 56px; border-radius: 14px; background: var(--teal-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 1.3rem;
}
.card h3 { font-size: 1.2rem; margin-bottom: .6rem; color: var(--teal-dark); font-weight: 600; }
.card p { color: var(--ink-light); line-height: 1.7; font-weight: 300; font-size: .93rem; }

/* --- CAROUSEL CARDS --- */
.card-carousel { padding: 0; min-height: 260px; display: flex; flex-direction: column; }
.card-carousel .carousel-inner { position: relative; flex: 1; min-height: 260px; }
.carousel-slide {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  animation: carouselFade 15s infinite;
}
.carousel-slide:first-child { opacity: 1; }
.carousel-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: .85rem 1.4rem;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  border-radius: 0 0 20px 20px;
  pointer-events: none;
}
.carousel-label h3 { color: #fff; margin: 0; font-size: 1.1rem; font-weight: 600; text-shadow: 0 1px 4px rgba(0,0,0,.5); }
@keyframes carouselFade {
  0%, 30%   { opacity: 1; }
  38%, 100% { opacity: 0; }
}

/* --- STATS --- */
.stats-row { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; margin: 3rem 0; }
.stat-item { text-align: center; }
.stat-icon { font-size: 2rem; margin-bottom: .3rem; }
.stat-label { color: var(--ink-light); font-size: .88rem; }

/* --- INFO BANNER --- */
.info-banner {
  background: linear-gradient(135deg, var(--teal-dark), #1a3a3a);
  border-radius: 24px; padding: 3rem; color: var(--white);
  text-align: center; margin: 3rem auto; max-width: 900px;
  position: relative; overflow: hidden;
}
.info-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(92,197,197,.15), transparent 70%);
}
.info-banner h3 { font-family: 'Cinzel Decorative', serif; font-size: 1.5rem; margin-bottom: 1rem; position: relative; }
.info-banner p { font-weight: 300; opacity: .9; line-height: 1.7; position: relative; max-width: 700px; margin: 0 auto 1.5rem; }
.info-banner .btn { position: relative; }

/* --- CALENDAR --- */
.calendar-wrap {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 4px 40px rgba(45,107,107,.08); overflow: hidden;
  border: 1px solid rgba(45,107,107,.06);
}
.cal-header {
  background: linear-gradient(135deg, var(--teal-dark), #1a3a3a);
  padding: 1.5rem 2rem; display: flex; align-items: center;
  justify-content: space-between; color: var(--white); flex-wrap: wrap; gap: 1rem;
}
.cal-header h3 { font-family: 'Cinzel Decorative', serif; font-size: 1.4rem; }
.cal-actions { display: flex; gap: .6rem; align-items: center; }
.cal-nav-btn {
  background: rgba(255,255,255,.15); border: none; color: var(--white);
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  font-size: 1.1rem; transition: background .3s;
}
.cal-nav-btn:hover { background: rgba(255,255,255,.25); }
.btn-create-event {
  display: flex; align-items: center; gap: .4rem;
  padding: .55rem 1.2rem; border-radius: 50px; background: var(--accent);
  color: var(--ink); border: none; font-weight: 600; font-size: .82rem;
  cursor: pointer; transition: all .3s; font-family: 'Outfit', sans-serif;
}
.btn-create-event:hover { background: var(--accent-light); transform: scale(1.05); }
.month-filter {
  display: flex; gap: .6rem; padding: 1.2rem 2rem;
  overflow-x: auto; border-bottom: 1px solid rgba(45,107,107,.06);
}
.month-btn {
  padding: .45rem 1.1rem; border-radius: 50px; background: var(--teal-pale);
  border: none; color: var(--teal-dark); font-weight: 500; font-size: .82rem;
  cursor: pointer; transition: all .3s; white-space: nowrap; font-family: 'Outfit', sans-serif;
}
.month-btn:hover, .month-btn.active { background: var(--teal); color: var(--white); }
.events-list { padding: 1.2rem 2rem 2rem; }
.event-card {
  display: flex; gap: 1.3rem; padding: 1.3rem; border-radius: 16px;
  margin-bottom: .8rem; border: 1px solid rgba(45,107,107,.06);
  transition: all .3s; align-items: flex-start;
}
.event-card:hover { background: var(--teal-bg); border-color: var(--teal-light); }
.ev-date {
  min-width: 65px; text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  border-radius: 14px; padding: .7rem .4rem; color: var(--white); flex-shrink: 0;
}
.ev-date .day { font-size: 1.7rem; font-weight: 700; display: block; line-height: 1; }
.ev-date .mon { font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; opacity: .8; margin-top: .2rem; display: block; }
.ev-info { flex: 1; min-width: 0; }
.ev-info h4 { font-size: 1.05rem; color: var(--ink); margin-bottom: .25rem; }
.ev-meta { display: flex; gap: .8rem; color: var(--ink-light); font-size: .82rem; margin-bottom: .4rem; flex-wrap: wrap; }
.ev-meta span { display: flex; align-items: center; gap: .25rem; }
.ev-desc { color: var(--ink-light); font-size: .88rem; font-weight: 300; line-height: 1.6; }
.ev-creator { font-size: .75rem; color: var(--ink-light); opacity: .7; margin-top: .3rem; }
.ev-tag {
  display: inline-block; padding: .18rem .6rem; border-radius: 50px;
  font-size: .72rem; font-weight: 600; margin-right: .4rem; margin-bottom: .3rem;
}
.tag-jdr { background: #f0e6ff; color: #6c3fa0; }
.tag-peinture { background: #fff3e0; color: #e65100; }
.tag-jds { background: #e3f2fd; color: #1565c0; }
.tag-tournoi { background: #fce4ec; color: #c62828; }
.tag-wargame { background: #e8f5e9; color: #2e7d32; }
.tag-atelier { background: #fff8e1; color: #f57f17; }
.tag-event { background: #fce4ec; color: #ad1457; }
.ev-actions { display: flex; flex-direction: column; align-items: center; gap: .4rem; flex-shrink: 0; }
.btn-register {
  padding: .55rem 1.2rem; border-radius: 50px; background: var(--teal);
  color: var(--white); border: none; font-weight: 600; font-size: .82rem;
  cursor: pointer; transition: all .3s; font-family: 'Outfit', sans-serif;
}
.btn-register:hover { background: var(--teal-dark); transform: scale(1.05); }
.btn-register.registered { background: var(--success); }
.btn-register:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.spots-left { font-size: .72rem; color: var(--ink-light); text-align: center; }
.spots-left.few { color: var(--danger); font-weight: 600; }
.ev-delete, .ev-edit {
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: 1rem; line-height: 1;
  cursor: pointer; opacity: .85; transition: all .2s;
  padding: 0; flex-shrink: 0;
}
.ev-delete {
  background: rgba(220,53,69,.1); border: 1px solid rgba(220,53,69,.25); color: var(--danger);
}
.ev-delete:hover { opacity: 1; background: rgba(220,53,69,.18); border-color: var(--danger); transform: scale(1.1); }
.ev-edit {
  background: rgba(45,107,107,.1); border: 1px solid rgba(45,107,107,.25); color: var(--teal-dark);
}
.ev-edit:hover { opacity: 1; background: rgba(45,107,107,.18); border-color: var(--teal); transform: scale(1.1); }
.no-events { text-align: center; color: var(--ink-light); padding: 3rem; font-size: .95rem; }
.ev-add-cal {
  display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
  padding: .5rem 1rem .6rem;
  border-top: 1px solid rgba(45,107,107,.08);
  background: rgba(45,107,107,.03);
}
.ev-cal-label { font-size: .7rem; color: var(--ink-light); font-weight: 600; white-space: nowrap; }
.btn-cal {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .28rem .7rem; border-radius: 50px;
  font-size: .7rem; font-weight: 600; text-decoration: none;
  transition: opacity .2s, transform .15s;
}
.btn-cal:hover { opacity: .85; transform: scale(1.04); }
.btn-gcal    { background: #f1f3ff; color: #4285f4; border: 1px solid #c5d1fb; }
.btn-outlook { background: #f0f7ff; color: #0078d4; border: 1px solid #bddafc; }

/* --- BOUTON / PANNEAU INSCRITS --- */
.btn-show-regs {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(45,107,107,.08); border: 1px solid rgba(45,107,107,.18);
  color: var(--teal-dark); font-size: .75rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 50px; cursor: pointer;
  transition: all .2s; font-family: 'Outfit', sans-serif; margin-top: .5rem;
}
.btn-show-regs:hover { background: rgba(45,107,107,.15); border-color: var(--teal); }
.btn-show-regs.active { background: var(--teal); color: var(--white); border-color: var(--teal); }
.ev-regs-panel {
  display: none; width: 100%;
  background: var(--teal-bg); border-top: 1px solid rgba(45,107,107,.1);
  border-radius: 0 0 16px 16px; padding: 0;
  order: 99;
}
.ev-regs-panel.open { display: block; padding: .8rem 1.2rem; }
.ev-regs-title {
  font-size: .75rem; font-weight: 700; color: var(--teal-dark);
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: .5rem;
}
.ev-regs-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.ev-regs-list li {
  display: flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1px solid rgba(45,107,107,.12);
  padding: .3rem .65rem .3rem .35rem; border-radius: 50px;
  font-size: .8rem; color: var(--ink); font-weight: 500;
}
.ev-reg-avatar {
  width: 24px; height: 24px; border-radius: 50%; object-fit: cover;
  flex-shrink: 0;
}
.ev-reg-initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: var(--white); font-size: .6rem; font-weight: 700;
}
.event-card { position: relative; flex-wrap: wrap; }

/* --- ADHESION --- */
.adhesion-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.adhesion-info {
  background: linear-gradient(135deg, var(--teal-dark), #1a3a3a);
  border-radius: 24px; padding: 2.5rem; color: var(--white);
  position: relative; overflow: hidden;
}
.adhesion-info::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(212,168,83,.15), transparent 60%);
}
.adhesion-info h3 { font-family: 'Cinzel Decorative', serif; font-size: 1.4rem; margin-bottom: 1.3rem; position: relative; }
.info-item { display: flex; gap: 1rem; margin-bottom: 1.3rem; position: relative; }
.info-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,.1); display: flex;
  align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.info-text h4 { font-size: .95rem; margin-bottom: .2rem; }
.info-text p { font-weight: 300; opacity: .8; font-size: .88rem; line-height: 1.5; }
.info-separator {
  text-align: center; font-size: 1.3rem; margin: 1.2rem 0 0;
  opacity: .7;
}
.adh-list {
  list-style: none; padding: 0; margin: 0 0 .5rem;
}
.adh-list li {
  padding: .35rem 0 .35rem 1.4rem; position: relative;
  font-size: .88rem; line-height: 1.55; opacity: .85;
}
.adh-list li::before {
  content: '✦'; position: absolute; left: 0;
  color: var(--teal); font-size: .65rem; top: .55rem;
}
.adh-tagline {
  background: linear-gradient(135deg, rgba(45,107,107,.08), rgba(212,168,83,.08));
  border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0;
  padding: .9rem 1.1rem; margin: 1.3rem 0 1rem;
}
.adh-tagline p {
  margin: .2rem 0; font-weight: 600; font-size: .9rem;
}
.price-tag {
  background: rgba(212,168,83,.2); border: 1px solid rgba(212,168,83,.3);
  border-radius: 16px; padding: 1.3rem; text-align: center;
  margin-top: 1.5rem; position: relative;
}
.price-tag .price { font-family: 'Cinzel Decorative', serif; font-size: 2.2rem; color: var(--accent); }
.price-tag .price-sub { font-size: .82rem; opacity: .8; margin-top: .4rem; }
.form-wrapper {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 4px 40px rgba(45,107,107,.08);
  border: 1px solid rgba(45,107,107,.06); padding: 2.2rem;
}
.form-wrapper h3 {
  font-family: 'Cinzel Decorative', serif; font-size: 1.2rem;
  color: var(--teal-dark); margin-bottom: 1.5rem; text-align: center;
}
.checkbox-group {
  display: flex; align-items: flex-start; gap: .7rem;
  padding: .8rem 1rem; background: var(--teal-bg); border-radius: 12px; margin-bottom: 1rem;
}
.checkbox-group input[type="checkbox"] { width: auto; margin-top: .15rem; accent-color: var(--teal); }
.checkbox-group label { font-size: .82rem; color: var(--ink-light); font-weight: 400; line-height: 1.5; }

/* --- PROFIL --- */
.profil-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.profil-avatar-section {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 4px 40px rgba(45,107,107,.08);
  border: 1px solid rgba(45,107,107,.06);
  padding: 2.5rem 2rem; text-align: center;
}
.profil-avatar-wrapper { position: relative; display: inline-block; }
.profil-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; font-weight: 700; color: var(--white);
  border: 4px solid var(--accent); margin: 0 auto;
  overflow: hidden; object-fit: cover;
}
.profil-avatar img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.profil-avatar-upload {
  position: absolute; bottom: 4px; right: 4px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; cursor: pointer; transition: all .3s;
  border: 3px solid var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.profil-avatar-upload:hover { background: var(--accent-light); transform: scale(1.1); }
.profil-form-section { min-width: 0; }
.profil-card {
  background: var(--white); border-radius: 24px;
  box-shadow: 0 4px 40px rgba(45,107,107,.08);
  border: 1px solid rgba(45,107,107,.06); padding: 2.2rem;
}
.profil-card h3 {
  font-family: 'Cinzel Decorative', serif; font-size: 1.15rem;
  color: var(--teal-dark); margin-bottom: 1.5rem;
}
.form-success {
  color: var(--success); font-size: .82rem; margin-top: .3rem; display: none;
  background: rgba(39,174,96,.08); padding: .5rem .8rem; border-radius: 8px;
}

@media (max-width: 768px) {
  .profil-layout { grid-template-columns: 1fr; }
  .profil-avatar-section { padding: 2rem 1.5rem; }
}

/* --- ADMIN --- */
.admin-section {
  background: var(--white); border-radius: 20px;
  box-shadow: 0 4px 30px rgba(45,107,107,.07);
  border: 1px solid rgba(45,107,107,.06); padding: 2rem; margin-bottom: 2rem;
}
.admin-section h3 {
  font-size: 1.15rem; color: var(--teal-dark); font-weight: 600;
  margin-bottom: 1.5rem; display: flex; align-items: center; gap: .5rem;
}
.user-row {
  display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem;
  border-radius: 12px; margin-bottom: .5rem; transition: background .2s; flex-wrap: wrap;
}
.user-row:hover { background: var(--teal-bg); }
.user-row .user-name { flex: 1; font-weight: 500; min-width: 120px; }
.user-contact { flex: 1.5; display: flex; flex-direction: row; align-items: center; gap: 1.2rem; min-width: 160px; flex-wrap: wrap; }
.user-email { color: var(--teal); font-size: .85rem; text-decoration: none; }
.user-email:hover { text-decoration: underline; }
.user-phone { font-size: .85rem; }
.user-phone a { color: var(--teal); text-decoration: none; }
.user-phone a:hover { text-decoration: underline; }
.sms-only { display: none; background: var(--teal-pale); color: var(--teal-dark) !important; border-radius: 20px; padding: .1rem .5rem; font-size: .75rem; }
@media (max-width: 768px) { .sms-only { display: inline; } }
.btn-delete-user {
  background: none; border: none; color: var(--danger); cursor: pointer;
  font-size: 1.3rem; opacity: .7; transition: opacity .2s, transform .2s; padding: .3rem .5rem;
}
.btn-delete-user:hover { opacity: 1; transform: scale(1.15); }
.role-select {
  padding: .4rem .8rem; border-radius: 8px;
  border: 1.5px solid rgba(45,107,107,.15);
  font-family: 'Outfit', sans-serif; font-size: .85rem;
  background: var(--cream); cursor: pointer; transition: border-color .3s;
}
.role-select:focus { border-color: var(--teal); outline: none; }
.btn-delete-user {
  background: none; border: none; color: var(--danger); cursor: pointer;
  font-size: .85rem; opacity: .5; transition: opacity .2s; padding: .3rem .5rem;
}
.btn-delete-user:hover { opacity: 1; }

/* --- GALLERY LAYOUT (sidebar + grille) --- */
.gallery-layout {
  display: flex;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  align-items: flex-start;
}
.gallery-sidebar {
  width: 210px;
  flex-shrink: 0;
  position: sticky;
  top: 100px;
}
.gallery-sidebar h3 {
  font-family: 'Cinzel Decorative', serif;
  color: var(--teal-dark);
  font-size: .78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: .75rem;
  padding-left: .4rem;
}
.folder-list { list-style: none; display: flex; flex-direction: column; gap: .3rem; }
.folder-list li a {
  display: flex; align-items: center; gap: .6rem;
  padding: .55rem .85rem; border-radius: 10px;
  text-decoration: none; color: var(--ink-light);
  font-size: .88rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.folder-list li a:hover { background: var(--teal-pale); color: var(--teal-dark); }
.folder-list li.active a {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  color: var(--white);
  box-shadow: 0 3px 14px rgba(45,107,107,.28);
}
.folder-icon { font-size: .95rem; }
.folder-name { flex: 1; }
.folder-count {
  font-size: .72rem; font-weight: 600;
  background: rgba(0,0,0,.1); padding: .1rem .45rem; border-radius: 20px;
}
.folder-list li.active a .folder-count { background: rgba(255,255,255,.22); }
.gallery-main { flex: 1; min-width: 0; }

/* --- GALERIE MASONRY --- */
.gallery-grid { columns: 3; column-gap: 1rem; max-width: 1100px; margin: 0 auto; }
.gallery-main .gallery-grid { max-width: none; margin: 0; }
.gallery-item {
  break-inside: avoid; margin-bottom: 1rem;
  border-radius: 14px; overflow: hidden; cursor: pointer;
  position: relative; box-shadow: 0 3px 18px rgba(45,107,107,.1);
  transition: transform .3s, box-shadow .3s;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 10px 35px rgba(45,107,107,.18); }
.gallery-item img { width: 100%; display: block; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(45,107,107,.35);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
/* --- LIGHTBOX --- */
.lightbox {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 9999;
  background: rgba(0,0,0,.93);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
  flex-direction: column;
}
.lightbox-img {
  display: block;
  max-width: 90vw;
  max-height: 85vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 0 60px rgba(0,0,0,.5);
  opacity: 1;
  margin: auto;
  position: relative;
  z-index: 10000;
}
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  color: #fff; font-size: 2rem; cursor: pointer; opacity: .75;
  background: none; border: none; line-height: 1; transition: opacity .2s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); color: #fff; border: none;
  width: 50px; height: 50px; border-radius: 50%; font-size: 1.3rem;
  cursor: pointer; transition: background .2s;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-nav-btn:hover { background: rgba(255,255,255,.25); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); font-size: .85rem;
  background: rgba(0,0,0,.4); padding: .25rem .9rem; border-radius: 20px;
}
@media (max-width: 900px) {
  .gallery-layout { flex-direction: column; padding: 0 1rem; }
  .gallery-sidebar { width: 100%; position: static; }
  .folder-list { flex-direction: row; flex-wrap: wrap; gap: .4rem; }
  .folder-list li a { padding: .4rem .7rem; font-size: .82rem; }
}
@media (max-width: 768px) { .gallery-grid { columns: 2; } }
@media (max-width: 480px) { .gallery-grid { columns: 1; } }

/* --- ÉVÉNEMENTS PASSÉS --- */
.past-events-trigger { text-align: center; margin-top: 1rem; }
.btn-past-events {
  background: none; border: 1px solid rgba(45,107,107,.25);
  color: var(--teal-dark); font-family: 'Outfit', sans-serif;
  font-size: .82rem; font-weight: 500; padding: .4rem 1.1rem;
  border-radius: 50px; cursor: pointer; transition: all .25s;
  opacity: .75;
}
.btn-past-events:hover { background: var(--teal-pale); border-color: var(--teal); opacity: 1; }

.past-events-modal {
  max-width: 680px; width: 100%;
  max-height: 82vh; display: flex; flex-direction: column;
  position: relative;
}
.past-events-body { overflow-y: auto; flex: 1; padding-top: 0; }
.past-events-body .events-list { padding: 0 .5rem .5rem; }

.event-card-past { opacity: .78; }
.event-card-past:hover { opacity: 1; }
.ev-date-past {
  background: linear-gradient(135deg, #7a9a9a, #5a7a7a) !important;
}
.ev-year-badge {
  display: block; font-size: .62rem; font-weight: 600;
  color: rgba(255,255,255,.7); margin-top: .15rem; letter-spacing: .5px;
}
.ev-past-badge {
  flex-shrink: 0; align-self: flex-start;
  background: rgba(100,100,120,.12); color: var(--ink-light);
  font-size: .68rem; font-weight: 600; padding: .18rem .55rem;
  border-radius: 50px; border: 1px solid rgba(100,100,120,.2);
  letter-spacing: .5px; text-transform: uppercase; margin-top: .2rem;
}

/* --- FOOTER --- */
footer { background: var(--ink); color: rgba(255,255,255,.6); text-align: center; padding: 2.5rem 2rem; }
.footer-logo { width: 55px; height: 55px; border-radius: 50%; border: 2px solid var(--accent); margin-bottom: .8rem; }
footer h4 { font-family: 'Cinzel Decorative', serif; color: var(--white); font-size: 1.1rem; margin-bottom: .4rem; }
footer p { font-size: .82rem; line-height: 1.7; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-top: 1.2rem; }
.footer-links a { color: var(--teal-light); text-decoration: none; font-size: .85rem; transition: color .3s; }
.footer-links a:hover { color: var(--accent); }
/* Sponsor */
.footer-sponsor { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1); }
.footer-sponsor-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; padding: .55rem 1.1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
  transition: transform .22s ease, box-shadow .22s ease;
  text-decoration: none;
}
.footer-sponsor-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.footer-sponsor-logo { height: 46px; object-fit: contain; display: block; }
.social-links { display: flex; gap: .8rem; justify-content: center; margin-top: 1rem; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: flex;
  align-items: center; justify-content: center;
  color: var(--white); text-decoration: none; font-size: 1.1rem; transition: all .3s;
}
.social-links a:hover { background: var(--teal); transform: translateY(-2px); }

/* --- TIMER COTISATION --- */
.cotis-card {
  display: flex; align-items: center; gap: 1.2rem;
  border-radius: 16px; padding: 1.2rem 1.5rem;
  border: 2px solid transparent; transition: all .3s;
}
.cotis-ok      { background: #f0fdf4; border-color: #86efac; }
.cotis-warning { background: #fffbeb; border-color: #fcd34d; }
.cotis-expired { background: #fef2f2; border-color: #fca5a5; }
.cotis-icon { font-size: 2rem; flex-shrink: 0; }
.cotis-body { display: flex; flex-direction: column; gap: .2rem; }
.cotis-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; opacity: .6; font-weight: 600; }
.cotis-date { font-family: 'Cinzel Decorative', serif; font-size: 1rem; color: var(--ink); font-weight: 700; }
.cotis-countdown { font-size: .88rem; font-weight: 500; }
.cotis-ok .cotis-countdown      { color: #16a34a; }
.cotis-warning .cotis-countdown { color: #d97706; }
.cotis-expired .cotis-countdown { color: #dc2626; }

/* --- RÉSEAUX SOCIAUX FIXES --- */
.social-bar {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: .6rem;
  z-index: 800;
}
.social-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
  transition: transform .25s, box-shadow .25s, opacity .25s;
  opacity: .85;
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover { transform: scale(1.15) translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.3); opacity: 1; }
.social-fb { background: #1877f2; }
.social-ig { background: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-tt { background: #010101; }
.social-tw { background: #9146ff; }
.social-dc { background: #5865f2; }
@media (max-width: 480px) {
  .social-bar { bottom: 1rem; right: .8rem; gap: .45rem; }
  .social-btn { width: 38px; height: 38px; }
  .social-btn svg { width: 17px; height: 17px; }
}

/* --- TOAST --- */
.toast {
  position: fixed; top: 5.5rem; right: 1.5rem;
  background: var(--success); color: var(--white);
  padding: .9rem 1.8rem; border-radius: 14px; font-weight: 500; font-size: .92rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  transform: translateY(-120%); opacity: 0;
  transition: transform .35s ease, opacity .35s ease; z-index: 3000;
  max-width: calc(100vw - 3rem); pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.toast.error { background: var(--danger); }

/* --- VISIBILITY TOGGLE --- */
.visibility-toggle { display: flex; gap: 8px; }
.vis-btn {
  flex: 1; padding: 10px 12px; border: 2px solid var(--border); border-radius: 10px;
  background: var(--card); color: var(--ink-light); font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: all .2s;
}
.vis-btn:hover { border-color: var(--teal-light); color: var(--ink); }
.vis-btn.active[data-vis="public"] { border-color: var(--teal); background: rgba(58,138,138,.1); color: var(--teal-dark); font-weight: 600; }
.vis-btn.active[data-vis="private"] { border-color: #c06030; background: rgba(192,96,48,.1); color: #a04020; font-weight: 600; }
.ev-private-badge {
  display: inline-block; background: rgba(192,96,48,.12); color: #a04020;
  font-size: .7rem; font-weight: 600; padding: 2px 8px; border-radius: 6px;
  margin-left: 6px; vertical-align: middle;
}

/* --- BOUTON CARTE DE MEMBRE --- */
.btn-member-card {
  width: 100%; padding: 14px 20px; border: 2px solid var(--teal);
  border-radius: 14px; background: linear-gradient(135deg, rgba(58,138,138,.08), rgba(212,168,83,.08));
  color: var(--teal-dark); font-family: 'Cinzel Decorative', serif; font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: all .3s;
}
.btn-member-card:hover { background: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,107,107,.3); }
.member-card-actions {
  display: none; align-items: center; gap: .6rem; margin-top: 1.2rem;
}
.btn-dl-card {
  width: 48px; height: 48px; border: 2px solid var(--teal); border-radius: 12px;
  background: linear-gradient(135deg, rgba(58,138,138,.08), rgba(212,168,83,.08));
  color: var(--teal-dark); font-size: 1.2rem; cursor: pointer; transition: all .3s;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.btn-dl-card:hover { background: var(--teal); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,107,107,.3); }
.member-card-actions-mobile { display: none !important; }
@media (max-width: 768px) {
  .member-card-actions-mobile[style*="flex"] { display: flex !important; justify-content: center; margin: 1rem auto 0; }
  #memberCardActions { display: none !important; }
}

/* --- CARTE DE MEMBRE --- */
.member-card-wrapper {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 2rem;
}
.member-card {
  position: relative; width: 340px; min-height: 540px;
  background: linear-gradient(160deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  border-radius: 24px; padding: 36px 28px 28px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 2px var(--accent), inset 0 1px 0 rgba(212,168,83,.3);
  display: flex; flex-direction: column; align-items: center;
}
.mc-bg-pattern {
  position: absolute; inset: 0; opacity: .04;
  background-image: radial-gradient(circle at 20% 80%, var(--accent) 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, var(--teal-light) 1px, transparent 1px),
                    radial-gradient(circle at 50% 50%, var(--accent) 0.5px, transparent 0.5px);
  background-size: 40px 40px, 50px 50px, 25px 25px;
  pointer-events: none;
}
.mc-header { text-align: center; position: relative; z-index: 1; margin-bottom: 8px; }
.mc-logo { width: 80px; height: 80px; border-radius: 50%; border: 3px solid var(--accent); margin-bottom: 12px; background: rgba(0,0,0,.3); }
.mc-title {
  font-family: 'Cinzel Decorative', serif; font-size: 1.5rem; font-weight: 900;
  color: var(--accent); letter-spacing: 1px; text-shadow: 0 2px 8px rgba(212,168,83,.3);
}
.mc-subtitle { font-size: .75rem; color: rgba(255,255,255,.5); letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.mc-divider {
  width: 80%; height: 2px; position: relative; z-index: 1; margin: 16px 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.mc-body { text-align: center; position: relative; z-index: 1; width: 100%; flex: 1; }
.mc-label { font-size: .7rem; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px; }
.mc-pseudo {
  font-family: 'Cinzel Decorative', serif; font-size: 1.35rem; font-weight: 700;
  color: #fff; margin-bottom: 20px; text-shadow: 0 1px 6px rgba(0,0,0,.4);
  word-break: break-word;
}
.mc-number-row { margin-top: 8px; }
.mc-number {
  font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 700;
  color: var(--accent); letter-spacing: 3px; text-shadow: 0 0 12px rgba(212,168,83,.4);
}
.mc-footer { text-align: center; position: relative; z-index: 1; padding: 0 8px; }
.mc-power-label {
  font-family: 'Cinzel Decorative', serif; font-size: .8rem; font-weight: 700;
  color: var(--teal-light); margin-bottom: 6px;
}
.mc-power-text {
  font-size: .82rem; color: rgba(255,255,255,.7); line-height: 1.6; font-style: italic;
}
.mc-cotisation {
  position: relative; z-index: 1; width: 85%; text-align: center;
  margin-top: 14px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.mc-cotis-label {
  font-size: .65rem; color: rgba(255,255,255,.45); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 4px;
}
.mc-cotis-date {
  font-family: 'Outfit', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--accent); letter-spacing: .5px;
}
.mc-cotis-days {
  font-size: .75rem; margin-top: 2px; font-weight: 500;
}
.mc-cotis-ok .mc-cotis-days { color: #2ecc71; }
.mc-cotis-warning .mc-cotis-days { color: #f39c12; }
.mc-cotis-expired .mc-cotis-days { color: #e74c3c; }
.mc-cotis-expired .mc-cotis-date { color: #e74c3c; }
.mc-stamp {
  position: absolute; bottom: 16px; right: 20px; font-size: 2.5rem; opacity: .15;
  transform: rotate(-15deg);
}

/* --- CARTE WALLET (paysage, pour export image) --- */
.wallet-card {
  position: relative; width: 1032px; height: 638px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
  border-radius: 32px; overflow: hidden;
  display: flex; align-items: center; padding: 0 48px;
  box-shadow: 0 0 0 3px var(--accent);
}
.wc-bg {
  position: absolute; inset: 0; opacity: .04;
  background-image: radial-gradient(circle at 20% 80%, var(--accent) 1px, transparent 1px),
                    radial-gradient(circle at 80% 20%, var(--teal-light) 1px, transparent 1px),
                    radial-gradient(circle at 50% 50%, var(--accent) .5px, transparent .5px);
  background-size: 40px 40px, 50px 50px, 25px 25px;
  pointer-events: none;
}
.wc-left {
  flex-shrink: 0; display: flex; flex-direction: column; align-items: center;
  margin-right: 40px; position: relative; z-index: 1;
}
.wc-logo {
  width: 130px; height: 130px; border-radius: 50%; border: 4px solid var(--accent);
  background: rgba(0,0,0,.3);
}
.wc-center {
  flex: 1; position: relative; z-index: 1; text-align: center;
}
.wc-title {
  font-family: 'Cinzel Decorative', serif; font-size: 2.4rem; font-weight: 900;
  color: var(--accent); letter-spacing: 1px; text-shadow: 0 2px 8px rgba(212,168,83,.3);
  margin-bottom: 4px;
}
.wc-sub {
  font-size: .95rem; color: rgba(255,255,255,.5); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 16px;
}
.wc-divider {
  width: 60%; height: 2px; margin: 0 auto 20px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.wc-pseudo {
  font-family: 'Cinzel Decorative', serif; font-size: 2rem; font-weight: 700;
  color: #fff; margin-bottom: 8px; text-shadow: 0 1px 6px rgba(0,0,0,.4);
}
.wc-number {
  font-family: 'Outfit', sans-serif; font-size: 2.2rem; font-weight: 700;
  color: var(--accent); letter-spacing: 4px; text-shadow: 0 0 12px rgba(212,168,83,.4);
}
.wc-right {
  flex-shrink: 0; position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  margin-left: 40px;
}
.wc-cotis-block {
  text-align: center; padding: 16px 24px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.wc-cotis-label {
  font-size: .75rem; color: rgba(255,255,255,.45); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 6px;
}
.wc-cotis-date {
  font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700;
  color: var(--accent); letter-spacing: .5px;
}
.wc-cotis-days {
  font-size: .85rem; margin-top: 4px; font-weight: 500; color: #2ecc71;
}
.wc-stamp {
  font-size: 4rem; opacity: .2; transform: rotate(-15deg);
}
.btn-gwallet {
  background: linear-gradient(135deg, #4285f4, #1a73e8) !important;
  border-color: #4285f4 !important; color: #fff !important;
}
.btn-gwallet:hover {
  background: linear-gradient(135deg, #1a73e8, #1557b0) !important;
  border-color: #1557b0 !important; color: #fff !important;
}
.btn-gwallet svg { fill: currentColor; }

/* --- ANIMATIONS --- */
.fade-in { opacity: 0; transform: translateY(25px); transition: all .6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- BARRE DE NAV SECONDAIRE (mobile, sous la nav principale) --- */
.bottom-nav { display: none; position: static; }

@media (max-width: 768px) {
  .bottom-nav {
    display: flex;
    position: fixed;
    top: 68px;
    bottom: auto;
    left: 0; right: 0;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    height: 50px;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 4px 12px rgba(0,0,0,.3);
  }
  .bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    text-decoration: none;
    color: rgba(255,255,255,.45);
    font-size: .58rem;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color .2s;
    padding: .2rem .1rem;
  }
  .bottom-nav-item.active { color: var(--teal-light); }
  .bottom-nav-item:active { color: var(--white); }
  .bottom-nav-icon { width: 18px; height: 18px; flex-shrink: 0; }
  .bottom-nav-shop { color: rgba(245,200,66,.5); }
  .bottom-nav-shop.active, .bottom-nav-item.bottom-nav-shop:active { color: #f5c842; }

  /* Cacher hamburger et nav-center (remplacés par la barre secondaire) */
  .hamburger { display: none !important; }
  .nav-center { display: none !important; }

  /* Pousser le contenu sous les deux barres */
  body { padding-top: 50px; }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .nav-logo span { font-size: 1rem; }
  .hero h1 { font-size: 2rem; }
  .hero-logo { width: 120px; height: 120px; }
  .hero-sub { font-size: .95rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .adhesion-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .event-card { flex-direction: column; }
  .ev-actions { flex-direction: row; align-self: flex-start; }
  section { padding: 3rem 1rem; }
  .cal-header { padding: 1.2rem; }
  .month-filter { padding: .8rem; }
  .events-list { padding: .8rem; }
  .btn-nav { padding: .45rem .8rem; font-size: .8rem; }
}

/* --- QUI SOMMES-NOUS --- */
.about-section {
  padding: 5rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.about-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-light);
}
.about-intro strong {
  color: var(--teal-dark);
}
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.about-card {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  border: 1px solid rgba(45,107,107,.1);
  transition: transform .3s, box-shadow .3s;
}
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(45,107,107,.12);
}
.about-card-img {
  flex: 0 0 40%;
  min-height: 260px;
  overflow: hidden;
}
.about-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.about-card:hover .about-card-img img {
  transform: scale(1.05);
}
.about-card-content {
  flex: 1;
  padding: 2rem 2rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-card-content h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.2rem;
  color: var(--teal-dark);
  margin-bottom: .8rem;
}
.about-card-content p {
  color: var(--ink-light);
  line-height: 1.7;
  font-size: .95rem;
}
.about-card-reverse {
  flex-direction: row-reverse;
}
.about-card-reverse .about-card-content {
  padding: 2rem 0 2rem 2rem;
}

/* Stats */
.about-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--teal-pale), var(--white));
  border-radius: 16px;
  border: 2px solid rgba(45,107,107,.15);
  min-width: 180px;
  transition: transform .3s;
}
.about-stat:hover {
  transform: translateY(-3px);
}
.about-stat-icon {
  font-size: 2rem;
}
.about-stat-number {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.3rem;
  color: var(--teal-dark);
  font-weight: 700;
}
.about-stat-label {
  font-size: .85rem;
  color: var(--ink-light);
}

/* Responsive */
@media (max-width: 768px) {
  .about-card,
  .about-card-reverse {
    flex-direction: column;
  }
  .about-card-img {
    flex: none;
    min-height: 200px;
    max-height: 220px;
  }
  .about-card-content,
  .about-card-reverse .about-card-content {
    padding: 1.5rem;
  }
  .about-stats {
    gap: 1rem;
  }
  .about-stat {
    min-width: 140px;
    padding: 1rem 1.2rem;
  }
  .about-stat-number {
    font-size: 1.1rem;
  }
}

/* --- CONTACT MODAL --- */
.contact-modal {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  animation: modalIn .3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.contact-modal-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  background: none; border: none;
  font-size: 1.8rem; color: var(--ink-light);
  cursor: pointer; line-height: 1;
  transition: color .2s;
}
.contact-modal-close:hover {
  color: var(--danger);
}
.contact-modal h3 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.4rem;
  color: var(--teal-dark);
  margin-bottom: .4rem;
}
.contact-modal-sub {
  color: var(--ink-light);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.contact-field {
  margin-bottom: 1rem;
}
.contact-field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .35rem;
}
.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 2px solid rgba(45,107,107,.2);
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color .3s;
  resize: vertical;
}
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: var(--white);
}
.contact-submit {
  width: 100%;
  margin-top: .5rem;
  font-size: 1rem;
  padding: .8rem;
}
.contact-submit:disabled {
  opacity: .6;
  cursor: not-allowed;
}
