/* ══════════════════════════════════════
   PATRO DE LUTTRE — site.css
   ══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Nunito+Sans:wght@400;600&display=swap');

:root {
  --green:        #2E7D32;
  --green-dark:   #1b5e20;
  --green-mid:    #388E3C;
  --green-light:  #E8F5E9;
  --yellow:       #F9C800;
  --yellow-light: #FFFDE7;
  --text:         #1a1a1a;
  --text-muted:   #5f6368;
  --border:       #e0e0e0;
  --bg:           #ffffff;
  --bg-soft:      #f7f7f5;
  --radius:       12px;
  --radius-lg:    18px;
  --shadow-sm:    0 1px 4px rgba(0,0,0,0.08);
  --shadow:       0 4px 16px rgba(0,0,0,0.09);
  --shadow-lg:    0 8px 32px rgba(0,0,0,0.12);
}

/* ── RESET ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:'Nunito Sans', sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,h4,h5 { font-family:'Nunito', sans-serif; }
a { color:inherit; text-decoration:none; }
button { cursor:pointer; font-family:'Nunito', sans-serif; }
img { max-width:100%; }

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:var(--green);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 1.5rem; height:66px;
  box-shadow:0 2px 12px rgba(0,0,0,0.18);
}
body { padding-top:66px; }
.nav-brand {
  display:flex; align-items:center; gap:10px;
  text-decoration:none; flex-shrink:0;
}
.nav-logo {
  height:44px; width:auto;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,0.2));
}
.nav-brand-text {
  display:flex; flex-direction:column; gap:1px;
}
.nav-title {
  color:#fff;
  font-family:'Nunito', sans-serif;
  font-size:15px; font-weight:800;
  letter-spacing:0.2px;
  line-height:1.2; white-space:nowrap;
}
.nav-subtitle {
  color:rgba(255,255,255,0.65);
  font-size:10px; font-weight:600;
  letter-spacing:0.8px;
  text-transform:uppercase; white-space:nowrap;
}
.nav-links {
  display:flex; gap:2px; align-items:center;
}
.nav-links a {
  color:rgba(255,255,255,0.88);
  font-family:'Nunito', sans-serif;
  font-size:12.5px; font-weight:700;
  padding:6px 10px; border-radius:8px;
  transition:all 0.15s; white-space:nowrap;
}
.nav-links a:hover { background:rgba(255,255,255,0.18); color:#fff; }
.nav-links a.active {
  background:rgba(255,255,255,0.25); color:#fff;
}
/* ── NAV DROPDOWN ── */
.nav-dropdown { position:relative; }
.nav-drop-btn {
  color:rgba(255,255,255,0.88);
  font-family:'Nunito', sans-serif;
  font-size:12.5px; font-weight:700;
  padding:6px 10px; border-radius:8px;
  background:none; border:none; cursor:pointer;
  transition:all 0.15s; white-space:nowrap;
}
.nav-drop-btn:hover { background:rgba(255,255,255,0.18); color:#fff; }
.nav-drop-btn.active { background:rgba(255,255,255,0.25); color:#fff; }
.nav-drop-menu {
  display:none;
  position:absolute; top:calc(100% + 8px); left:0;
  background:#fff; border-radius:10px;
  box-shadow:0 8px 24px rgba(0,0,0,0.15);
  min-width:160px; overflow:hidden; z-index:300;
}
.nav-drop-menu.open { display:block; }
.nav-drop-menu a {
  display:block; padding:11px 18px;
  color:var(--text) !important; font-size:13px; font-weight:700;
  transition:background 0.15s;
}
.nav-drop-menu a:hover { background:var(--green-light); color:var(--green) !important; }

.nav-admin-link {
  display:flex; align-items:center; gap:6px;
  background:rgba(0,0,0,0.2);
  border:1px solid rgba(255,255,255,0.2);
  color:rgba(255,255,255,0.8) !important;
  font-size:12px !important;
  padding:6px 13px !important;
  border-radius:8px;
  transition:all 0.15s;
}
.nav-admin-link:hover {
  background:rgba(0,0,0,0.35) !important;
  color:#fff !important;
  border-color:rgba(255,255,255,0.4) !important;
}
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; padding:4px; cursor:pointer;
}
.hamburger span {
  display:block; width:22px; height:2px;
  background:rgba(255,255,255,0.9); border-radius:2px;
  transition:all 0.25s;
}

/* ── PAGES ── */
.page { display:none; animation:fadeIn 0.25s ease; }
.page.active { display:block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }

/* ── HERO ── */
.hero {
  background:linear-gradient(145deg, var(--green-dark) 0%, var(--green-mid) 45%, #6abf69 100%);
  padding:5rem 2.5rem 4rem;
  text-align:center;
  position:relative; overflow:hidden;
}
.hero-blob {
  position:absolute; border-radius:50%;
  background:rgba(255,255,255,0.06);
  pointer-events:none;
}
.hero-blob-1 { width:380px; height:380px; top:-120px; right:-80px; }
.hero-blob-2 { width:240px; height:240px; bottom:-80px; left:-60px; }
.hero-blob-3 { width:160px; height:160px; top:30%; left:10%; }
.hero-inner { position:relative; z-index:1; max-width:600px; margin:0 auto; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(255,255,255,0.2);
  backdrop-filter:blur(4px);
  color:#fff;
  font-family:'Nunito', sans-serif;
  font-size:11px; font-weight:800;
  padding:6px 18px; border-radius:30px;
  margin-bottom:1.4rem;
  letter-spacing:2px; text-transform:uppercase;
  border:1px solid rgba(255,255,255,0.25);
}
.hero h1 {
  color:#fff;
  font-size:46px; font-weight:900;
  line-height:1.15; margin-bottom:0.8rem;
  text-shadow:0 2px 12px rgba(0,0,0,0.15);
}
.hero h2 {
  color:rgba(255,255,255,0.85);
  font-size:20px; font-weight:500;
  margin-bottom:1.6rem;
}
.hero-desc {
  color:rgba(255,255,255,0.8);
  font-size:15px; max-width:480px;
  margin:0 auto 2.4rem; line-height:1.85;
}
.hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ── BUTTONS ── */
.btn-primary {
  background:#fff; color:var(--green);
  border:none; padding:13px 30px;
  border-radius:10px; font-size:14px; font-weight:800;
  transition:transform 0.15s, box-shadow 0.15s;
  box-shadow:0 2px 8px rgba(0,0,0,0.12);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 20px rgba(0,0,0,0.18); }
.btn-outline-white {
  background:transparent; color:#fff;
  border:2px solid rgba(255,255,255,0.55);
  padding:13px 30px; border-radius:10px;
  font-size:14px; font-weight:700;
  transition:all 0.15s;
}
.btn-outline-white:hover { background:rgba(255,255,255,0.18); border-color:rgba(255,255,255,0.85); }
.btn-green {
  background:var(--green); color:#fff;
  border:none; padding:12px 32px;
  border-radius:10px; font-size:14px; font-weight:800;
  transition:background 0.15s, transform 0.1s;
  display:inline-block;
}
.btn-green:hover { background:var(--green-dark); transform:translateY(-1px); }

/* ── STATS BAR ── */
.stats-bar {
  display:grid; grid-template-columns:repeat(3,1fr);
  background:#fff; border-bottom:1px solid var(--border);
}
.stat {
  padding:1.8rem 1rem; text-align:center;
  border-right:1px solid var(--border);
  transition:background 0.2s;
}
.stat:last-child { border-right:none; }
.stat:hover { background:var(--green-light); }
.stat-num {
  font-family:'Nunito',sans-serif;
  font-size:32px; font-weight:900;
  color:var(--green); line-height:1;
}
.stat-label {
  font-size:12px; color:var(--text-muted);
  margin-top:4px; font-weight:600;
  text-transform:uppercase; letter-spacing:0.5px;
}

/* ── CONTENT WRAPPER ── */
.content { padding:3.5rem 2.5rem; max-width:760px; margin:0 auto; }

.section-head { margin-bottom:2.2rem; }
.section-head h2 {
  font-size:26px; font-weight:900; color:var(--text);
}
.section-head .subtitle {
  font-size:14px; color:var(--text-muted); margin-top:4px;
}
.section-bar {
  width:48px; height:4px;
  background:linear-gradient(90deg,var(--green),var(--yellow));
  border-radius:4px; margin-top:10px;
}

/* ── CARDS GRID ── */
.cards {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:18px; margin-bottom:2.2rem;
}
.card {
  background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.5rem;
  transition:border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  border-color:#b0b0b0;
  box-shadow:var(--shadow);
  transform:translateY(-2px);
}
.card-icon {
  width:46px; height:46px; border-radius:12px;
  background:var(--green-light);
  display:flex; align-items:center; justify-content:center;
  font-size:22px; margin-bottom:14px;
}
.card h3 { font-size:15px; font-weight:800; margin-bottom:7px; }
.card p { font-size:13px; color:var(--text-muted); line-height:1.7; }

/* ── INFO BOX ── */
.info-box {
  background:var(--bg-soft);
  border:1px solid var(--border);
  border-radius:12px; padding:1.2rem 1.5rem;
  margin-bottom:1.8rem;
  font-size:13.5px; color:var(--text-muted);
  line-height:1.85;
}
.info-box:empty { display:none; }
.info-box strong { color:var(--text); font-weight:700; }

/* ── PROSE ── */
.prose {
  font-size:15px; line-height:1.9;
  color:#4a4a4a; margin-bottom:2rem;
}

/* ── EVENT CARDS ── */
.event-card {
  background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg);
  border-left:5px solid var(--green);
  border-top-left-radius:0; border-bottom-left-radius:0;
  padding:1.6rem; margin-bottom:1.2rem;
  transition:box-shadow 0.2s;
}
.event-card:hover { box-shadow:var(--shadow); }
.event-card h3 { font-size:17px; font-weight:800; margin-bottom:8px; }
.event-card p { font-size:13.5px; color:var(--text-muted); line-height:1.75; }
.event-meta {
  font-size:12px; color:#aaa;
  margin-top:10px; font-style:italic;
  display:flex; align-items:center; gap:6px;
}
.event-meta::before { content:'📅'; font-style:normal; }

/* ── BADGES ── */
.badge {
  display:inline-block; font-size:11px;
  padding:4px 14px; border-radius:30px;
  font-weight:800; margin-bottom:12px;
  letter-spacing:0.3px;
}
.badge-green  { background:#EAF3DE; color:#2E7D32; }
.badge-blue   { background:#E6F1FB; color:#185FA5; }
.badge-orange { background:#FFF3E0; color:#E65100; }
.badge-yellow { background:#FFFDE7; color:#F57F17; }

/* ── TEAM GRID ── */
.team-grid {
  display:block;
  margin-bottom:2.2rem;
}
.team-card {
  background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.6rem 1.2rem 1.4rem;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:6px;
  transition:box-shadow 0.2s, transform 0.2s;
}
.team-card:hover { box-shadow:var(--shadow-lg); transform:translateY(-3px); }
.avatar {
  width:66px; height:66px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-family:'Nunito',sans-serif;
  font-size:20px; font-weight:900;
  flex-shrink:0;
}
.team-card h3 { font-size:15px; font-weight:800; margin:0; }
.team-card p  { font-size:12px; color:var(--text-muted); margin:0; line-height:1.5; }

/* ── SECTIONS ── */
.sections-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px; margin-bottom:2rem;
}
.section-card {
  background:#fff; border:1px solid var(--border);
  border-radius:var(--radius-lg); padding:1.8rem 1.4rem;
  text-align:center;
  transition:box-shadow 0.2s, transform 0.2s;
}
.section-card:hover { box-shadow:var(--shadow); transform:translateY(-3px); }
.section-emoji { font-size:42px; margin-bottom:12px; line-height:1; }
.section-ages {
  display:inline-block;
  font-size:12px; font-weight:800;
  padding:4px 14px; border-radius:20px;
  margin-bottom:12px;
}
.section-card h3 { font-size:17px; font-weight:900; margin-bottom:8px; }
.section-card p { font-size:13px; color:var(--text-muted); line-height:1.7; }
.section-anim { margin-top:12px; font-size:12px; color:var(--text-muted); }

/* ── CONTACT FORM ── */
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { margin-bottom:1.1rem; }
.form-group label {
  display:block; font-size:12px; font-weight:800;
  color:var(--text-muted); text-transform:uppercase;
  letter-spacing:0.6px; margin-bottom:6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width:100%; border:1.5px solid var(--border);
  border-radius:9px; padding:11px 14px;
  font-size:14px; font-family:'Nunito Sans',sans-serif;
  background:#fff; color:var(--text);
  outline:none; transition:border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color:var(--green);
  box-shadow:0 0 0 3px rgba(46,125,50,0.1);
}
.form-group textarea { min-height:120px; resize:vertical; }
.success-msg {
  display:none;
  background:#EAF3DE; color:#2E7D32;
  border:1px solid #c8e6c9;
  border-radius:10px; padding:14px 18px;
  font-size:14px; font-weight:700;
  margin-top:1rem;
}

/* ── FOOTER ── */
footer {
  background:#111; color:rgba(255,255,255,0.5);
  padding:2.5rem 2rem; text-align:center;
  font-size:13px; margin-top:3rem;
}
footer strong { color:#fff; font-family:'Nunito',sans-serif; font-size:15px; }
.foot-row { margin-top:10px; display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }
.foot-row a {
  color:rgba(255,255,255,0.35);
  font-size:12px; transition:color 0.15s;
}
.foot-row a:hover { color:rgba(255,255,255,0.7); }

/* ── Footer — réseaux sociaux ── */
.foot-socials {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 4px;
}
.foot-social-link {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-weight: 700;
  font-family: 'Nunito', sans-serif;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 99px;
  border: 1px solid rgba(255,255,255,0.12);
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}
.foot-social-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.28);
}
.foot-social-icon {
  width: 18px; height: 18px;
  min-width: 18px; min-height: 18px;
  max-width: 18px; max-height: 18px;
  flex-shrink: 0;
  display: block;
  overflow: hidden;
}

/* ── PAGE VENTE ── */
.vente-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}
.vente-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s;
  cursor: default;
}
.vente-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.vente-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.vente-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.vente-card:hover .vente-img { transform: scale(1.04); }
.vente-icon, .vente-icon-inner {
  font-size: 52px;
  line-height: 1;
  text-align: center;
  padding: 28px 20px 20px;
  background: var(--green-light);
  border-bottom: 1px solid var(--border);
  display: block;
  width: 100%;
}
.vente-body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.vente-body h3 {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
  line-height: 1.3;
}
.vente-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}
.vente-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  letter-spacing: 0.2px;
  margin-top: 6px;
}
body.dark .vente-icon  { background: #031a12; border-color: var(--border); }
body.dark .vente-card  { background: var(--bg-soft); border-color: var(--border); }
body.dark .vente-badge { background: #022c22; color: var(--green); }
@media(max-width:500px) { .vente-grid { grid-template-columns: repeat(2,1fr); gap:12px; } }
@media(max-width:340px) { .vente-grid { grid-template-columns: 1fr; } }

/* ── HAMBURGER (tablettes & petits laptops) ── */
@media(max-width:1000px) {
  nav { padding:0 1.2rem; height:60px; }
  body { padding-top:60px; }
  .nav-brand-text .nav-subtitle { display:none; }
  .nav-links { display:none; flex-direction:column; position:fixed; top:60px; left:0; right:0; background:var(--green-dark); padding:0.75rem; gap:2px; z-index:199; }
  .nav-links.open { display:flex; }
  .nav-links > a,
  .nav-drop-btn {
    display:block; width:100%; text-align:left; box-sizing:border-box;
    color:rgba(255,255,255,0.9) !important;
    font-family:'Nunito',sans-serif; font-size:14px; font-weight:700;
    padding:11px 16px; border-radius:8px; background:none; border:none; cursor:pointer;
  }
  .nav-links > a:hover, .nav-drop-btn:hover { background:rgba(255,255,255,0.12); }
  .nav-links > a.active { background:rgba(255,255,255,0.2); }
  .nav-dropdown { width:100%; }
  .nav-drop-menu { position:static; box-shadow:none; background:rgba(0,0,0,0.2); border-radius:8px; margin:2px 0 4px; }
  .nav-drop-menu a { color:rgba(255,255,255,0.85) !important; padding:10px 28px; font-size:13px; }
  .nav-drop-menu a:hover { background:rgba(255,255,255,0.1); color:#fff !important; }
  .hamburger { display:flex; }
}

/* ── MOBILE (smartphones) ── */
@media(max-width:720px) {
  .hero { padding:3.5rem 1.5rem 3rem; }
  .hero h1 { font-size:32px; }
  .hero h2 { font-size:16px; }
  .stats-bar { grid-template-columns:repeat(3,1fr); }
  .stat-num { font-size:24px; }
  .content { padding:2.5rem 1.2rem; }
  .form-row { grid-template-columns:1fr; }
  .cards { grid-template-columns:1fr; }
  .sections-grid { grid-template-columns:repeat(2,1fr); gap:14px; }
}
@media(max-width:400px){
  .sections-grid { grid-template-columns:1fr; }
}

/* ════════════════════════════════════════
   MODE SOMBRE — Midnight Blue + Emerald
════════════════════════════════════════ */
body.dark {
  --green:        #34d399;
  --green-dark:   #10b981;
  --green-mid:    #6ee7b7;
  --green-light:  #022c22;
  --yellow:       #fcd34d;
  --yellow-light: #1c1500;
  --text:         #e2eeff;
  --text-muted:   #6b8cad;
  --border:       #1e3048;
  --bg:           #0e1521;
  --bg-soft:      #152030;
  --shadow-sm:    0 1px 6px rgba(0,0,0,0.55);
  --shadow:       0 4px 20px rgba(0,0,0,0.55);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.7);
}

/* Transitions fluides */
body, nav, .card, .event-card, .team-card, .section-card,
.stats-bar, .stat, .info-box, footer,
.form-group input, .form-group textarea, .form-group select,
.success-msg, .gallery-item, .faq-item, .tcard {
  transition: background .25s ease, border-color .25s ease,
              color .25s ease, box-shadow .25s ease;
}

/* ─── Nav ─── */
body.dark nav {
  background: linear-gradient(90deg, #091628 0%, #0d1e35 100%);
  box-shadow: 0 1px 0 rgba(52,211,153,0.12), 0 4px 20px rgba(0,0,0,0.5);
}

/* ─── Hero ─── */
body.dark .hero {
  background: linear-gradient(145deg, #0a1220 0%, #0e1a30 50%, #0a1220 100%);
  position: relative;
}
body.dark .hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 80% 30%, rgba(52,211,153,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 70%, rgba(16,185,129,0.05) 0%, transparent 60%);
}

/* ─── Stats ─── */
body.dark .stats-bar { background: #152030; border-color: #1e3048; }
body.dark .stat      { border-color: #1e3048; }
body.dark .stat:hover { background: #1c2e44; }
body.dark .stat-num  { color: var(--green); }

/* ─── Cards ─── */
body.dark .card,
body.dark .event-card,
body.dark .team-card,
body.dark .section-card {
  background: #152030;
  border-color: #1e3048;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
body.dark .card:hover        { border-color: #34d39944; box-shadow: 0 6px 24px rgba(52,211,153,0.08), 0 2px 12px rgba(0,0,0,0.5); }
body.dark .event-card:hover  { border-color: #34d39944; box-shadow: 0 6px 24px rgba(52,211,153,0.08), 0 2px 12px rgba(0,0,0,0.5); }
body.dark .team-card:hover   { border-color: #34d39944; box-shadow: 0 6px 24px rgba(52,211,153,0.08), 0 2px 12px rgba(0,0,0,0.5); }

/* ─── Info box ─── */
body.dark .info-box { background: #152030; border-color: #1e3048; }

/* ─── Footer ─── */
body.dark footer {
  background: #080f1a;
  border-top: 1px solid #1e3048;
}

/* ─── Formulaire ─── */
body.dark .form-group input,
body.dark .form-group textarea,
body.dark .form-group select {
  background: #152030; color: var(--text); border-color: #1e3048;
}
body.dark .form-group input::placeholder,
body.dark .form-group textarea::placeholder { color: #4a6a8a; }
body.dark .form-group input:focus,
body.dark .form-group textarea:focus,
body.dark .form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(52,211,153,0.15);
  background: #1a2840;
}
body.dark .success-msg { background: #022c22; border-color: #10b981; color: #6ee7b7; }

/* ─── Nav dropdown ─── */
body.dark .nav-drop-menu {
  background: #0e1d30;
  border: 1px solid #1e3048;
  box-shadow: 0 12px 32px rgba(0,0,0,0.6);
}
body.dark .nav-drop-menu a { color: #b8d4f0 !important; }
body.dark .nav-drop-menu a:hover {
  background: #1a2e48;
  color: var(--green) !important;
}

/* ─── Galerie notice ─── */
body.dark .gallery-notice { background: #12170a; border-color: #2a3a10; color: #9aad6a; }
body.dark .gallery-notice a { color: var(--green); }

/* ─── Équipe ─── */
body.dark .tcard { background: #152030; border-color: #1e3048; }
body.dark .tcard-pill-role { background: #1a2e44; color: #6b8cad; }
body.dark .team-year-badge { background: #1a1040; color: #a78bfa; }

/* ─── FAQ ─── */
body.dark .faq-item { background: #152030; border-color: #1e3048; }
body.dark .faq-q:hover { background: #1c2e44; }

/* ─── Toggle bouton ─── */
.dark-toggle {
  position: relative;
  width: 52px; height: 28px;
  background: rgba(255,255,255,0.18);
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 99px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .25s, border-color .25s;
  margin-right: 4px;
}
.dark-toggle::before {
  content: '🌙';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  right: 5px;
  font-size: 14px; line-height: 1;
  transition: opacity .2s;
}
.dark-toggle::after {
  content: '☀️';
  position: absolute;
  top: 50%; transform: translateY(-50%);
  left: 5px;
  font-size: 14px; line-height: 1;
  opacity: 0;
  transition: opacity .2s;
}
body.dark .dark-toggle { background: rgba(52,211,153,0.2); border-color: rgba(52,211,153,0.4); }
body.dark .dark-toggle::before { opacity: 0; }
body.dark .dark-toggle::after  { opacity: 1; }
.dark-toggle:hover { background: rgba(255,255,255,0.28); }
body.dark .dark-toggle:hover { background: rgba(52,211,153,0.32); }

@media(max-width:720px) { .dark-toggle { margin-right: 6px; } }


/* ════════════════════════════════════════
   SCROLL REVEAL
════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ════════════════════════════════════════
   HERO BLOBS — transition pour parallaxe
════════════════════════════════════════ */
.hero-blob { transition: transform 0.12s ease-out; }

/* ── Vidéo de fond hero ── */
.hero-video {
  display: none;
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  pointer-events: none;
}
.hero-overlay {
  display: none;
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.48);
  z-index: 0;
}
.hero.has-video .hero-video   { display: block; }
.hero.has-video .hero-overlay { display: block; }
.hero.has-video .hero-blob    { display: none; }

/* ════════════════════════════════════════
   BOUTON RETOUR EN HAUT
════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 300;
  background: var(--green); color: #fff;
  border: none; border-radius: 50%;
  width: 48px; height: 48px; font-size: 22px; font-weight: 700;
  cursor: pointer; line-height: 1;
  box-shadow: 0 4px 18px rgba(0,0,0,0.22);
  opacity: 0; pointer-events: none;
  transform: translateY(14px) scale(0.8);
  transition: opacity 0.25s, transform 0.25s, background 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.back-to-top:hover   { background: var(--green-dark); transform: translateY(-3px); }

/* ════════════════════════════════════════
   PAGE GALERIE
════════════════════════════════════════ */
.gallery-grid {
  columns: 3;
  column-gap: 12px;
  margin-bottom: 2rem;
}
.gallery-item {
  break-inside: avoid;
  border-radius: var(--radius-lg);
  display: block;
  width: 100%;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative; overflow: hidden;
  background-color: #222;
  box-shadow: var(--shadow);
  transition: transform 0.22s, box-shadow 0.22s;
}
/* Photo items : hauteur naturelle de l'image */
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Items sans photo (gradient) : carré fixe */
.gallery-item.gallery-item-placeholder {
  aspect-ratio: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
}
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.25s;
  pointer-events: none;
}
.gallery-item:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,0,0,0.25); }
.gallery-item:hover::after { background: rgba(0,0,0,0.09); }
.gallery-emoji {
  font-size: 52px;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.25));
  position: relative; z-index: 1;
  transition: transform 0.25s;
}
.gallery-item:hover .gallery-emoji { transform: scale(1.12) translateY(-4px); }
.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 100%);
  padding: 28px 12px 10px;
  z-index: 1;
}
.gallery-title { font-size: 13px; font-weight: 800; color: #fff; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }
.gallery-cat   { font-size: 11px; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
@media(max-width:900px) { .gallery-grid { columns: 2; } }
@media(max-width:480px) { .gallery-grid { columns: 2; column-gap: 8px; } .gallery-item { margin-bottom: 8px; } }

.gallery-notice {
  background: var(--yellow-light);
  border: 1px solid var(--yellow);
  border-radius: 12px; padding: 1rem 1.4rem;
  font-size: 13.5px; color: var(--text-muted);
  margin-bottom: 1.8rem; line-height: 1.8;
}
.gallery-notice a { color: var(--green); font-weight: 700; }

/* ─── Hint zoom sur hover ─── */
.gallery-zoom-hint {
  position: absolute; top: 8px; right: 8px;
  font-size: 16px; opacity: 0;
  transition: opacity .2s;
  z-index: 2;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5));
}
.gallery-item:hover .gallery-zoom-hint { opacity: 1; }

/* ════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════ */
#lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.88);
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .18s ease;
}
.lb-inner {
  position: relative;
  max-width: min(92vw, 860px);
  width: 100%;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
#lb-media { width: 100%; max-height: 70vh; display: flex; align-items: center; justify-content: center; background: #000; }
#lb-media img { max-width: 100%; max-height: 70vh; object-fit: contain; display: block; }
.lb-placeholder {
  width: 100%; height: 340px;
  display: flex; align-items: center; justify-content: center;
}
.lb-placeholder span { font-size: 100px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.4)); }
#lb-caption {
  padding: 14px 20px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
#lb-title   { font-size: 15px; font-weight: 800; color: #fff; }
#lb-cat     { font-size: 12px; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .5px; }
#lb-counter { margin-left: auto; font-size: 12px; color: rgba(255,255,255,.4); font-weight: 700; }
.lb-close {
  position: fixed; top: 18px; right: 22px;
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 22px; width: 42px; height: 42px;
  border-radius: 50%; cursor: pointer; z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.lb-close:hover { background: rgba(255,255,255,.25); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12); border: none;
  color: #fff; font-size: 36px; width: 52px; height: 52px;
  border-radius: 50%; cursor: pointer; z-index: 1001;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  line-height: 1;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.28); }

@media(max-width:600px) {
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-placeholder { height: 200px; }
  .lb-placeholder span { font-size: 64px; }
}

/* ─── Mobile galerie + boutons ─── */
@media(max-width:720px) {
  .back-to-top  { bottom: 16px; right: 16px; width: 42px; height: 42px; font-size: 18px; }
}

/* ─── Grille animateurs (3 par ligne) ─── */
.tcard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.tcard {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 14px 18px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.tcard-avatar-initials {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900; font-size: 22px;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.tcard-avatar-img {
  width: 64px; height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-bottom: 4px;
}
.tcard-name {
  font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800;
  color: var(--text);
}
.tcard-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  margin-top: 4px;
}
.tcard-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  line-height: 1.6;
  white-space: nowrap;
}
.tcard-pill-role {
  background: #ebebeb;
  color: #555;
}
.tcard-phone {
  font-size: 12px; font-weight: 700;
  color: var(--green);
  text-decoration: none;
  margin-top: 2px;
}
.tcard-phone:hover { text-decoration: underline; }


@media(max-width: 720px) { .tcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width: 420px) { .tcard-grid { grid-template-columns: 1fr; } }

/* ─── Groupes par année — animateurs ─── */
.team-year-block {
  margin-bottom: 2.5rem;
}
.team-year-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}
.team-year-title::before,
.team-year-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--green-light, #c8e6c9));
}
.team-year-title::after {
  background: linear-gradient(to left, transparent, var(--green-light, #c8e6c9));
}
.team-year-badge {
  background: #EDE7F6;
  color: #4527A0;
  font-size: 13px;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

/* ─── Badges rôle / section — animateurs ─── */
.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin: 4px 0 2px;
}
.team-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
}
.team-badge-role {
  background: var(--green-light, #E8F5E9);
  color: var(--green-dark, #1b5e20);
}
.team-badge-year {
  background: #EDE7F6;
  color: #4527A0;
}
.team-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.team-phone {
  display: inline-block;
  margin-top: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}
.team-phone:hover { text-decoration: underline; }

/* ─── Photos réelles — animateurs ─── */
.avatar.avatar-photo {
  padding: 0;
  overflow: hidden;
}
.avatar.avatar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Photos réelles — sections ─── */
.section-card-img {
  padding: 0;
  overflow: hidden;
}
.section-img-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.section-img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
}
.section-card-body {
  padding: 1.2rem 1.4rem 1.4rem;
  text-align: center;
}

/* ─── Galerie : overlay sur photo réelle ─── */
.gallery-item {
  position: relative;
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

/* ════════════════════════════════════════
   PAGE FAQ
════════════════════════════════════════ */
.faq-item { border:1.5px solid var(--border); border-radius:12px; margin-bottom:10px; overflow:hidden; background:#fff; }
.faq-q { width:100%; background:none; border:none; padding:16px 20px; text-align:left; font-size:14px; font-weight:700; color:var(--text); cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.faq-q:hover { background:#f9f9f9; }
.faq-arrow { flex-shrink:0; transition:transform .2s; }
.faq-item.open .faq-arrow { transform:rotate(180deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s; padding:0 20px; font-size:13px; color:var(--text-muted); line-height:1.7; }
.faq-item.open .faq-a { max-height:300px; padding:0 20px 16px; }
