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

:root {
  --c1: #e53935; --c2: #f4511e; --c3: #f9a825; --c4: #43a047;
  --c5: #1e88e5; --c6: #8e24aa; --c7: #e91e8c;
  --grad: linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6), var(--c7));
  --dark: #1a1a2e; --gray: #6b7280; --light: #f8fafc; --white: #fff;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', sans-serif; background: var(--light); color: var(--dark); }
a { text-decoration: none; color: inherit; }

/* HEADER */
.header {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  position: sticky; top: 0; z-index: 1000;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 24px;
}

.logo-fb { display:flex; align-items:center; margin-left:10px; opacity:0.85; transition:opacity 0.2s; flex-shrink:0; }
.logo-fb:hover { opacity:1; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 56px; }
.logo-text h1 { font-size: 1.1rem; font-weight: 700; color: var(--dark); }
.logo-text p { font-size: 0.75rem; color: var(--gray); }
.logo-home { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.rainbow-bar {
  height: 4px;
  background: var(--grad);
}
nav { display: flex; gap: 8px; align-items: center; }
nav a {
  padding: 8px 18px; border-radius: 50px; font-size: 0.875rem; font-weight: 500;
  color: var(--gray); transition: all 0.2s;
}
nav a:hover, nav a.active { background: var(--light); color: var(--dark); }
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 50px; font-weight: 600; font-size: 0.875rem;
  cursor: pointer; border: none; transition: all 0.2s; text-decoration: none;
}
.btn-grad { background: var(--grad); color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }
.btn-grad:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border: 2px solid var(--dark); color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: white; }
.btn-danger { background: #ef4444; color: white; }
.btn-sm { padding: 6px 14px; font-size: 0.8rem; }

/* HERO */
.hero {
  background: var(--grad); color: white; text-align: center;
  padding: 64px 24px 80px;
}
.hero h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 12px; }
.hero p { font-size: 1.1rem; opacity: 0.95; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--dark); font-weight: 700; }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-ghost { background: rgba(255,255,255,0.15); color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }

/* STATS BAR */
.stats-bar {
  background: white; padding: 24px;
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.stat { text-align: center; }
.stat-num { font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.stat-label { font-size: 0.8rem; color: var(--gray); }

/* MAP */
#map { height: 560px; width: 100%; border-radius: 0; }
.map-wrap { position: relative; }
.map-search { padding: 12px 16px 0; display:flex; justify-content:center; }
.map-filters {
  position: absolute; bottom: 60px; left: 50%; transform: translateX(-50%);
  z-index: 500; display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center; max-width: 90%; padding: 10px 14px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-radius: 50px; box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.filter-btn {
  padding: 6px 14px; border-radius: 50px; font-size: 0.78rem; font-weight: 600;
  background: transparent; border: none; cursor: pointer; transition: all 0.2s;
  color: var(--gray); white-space: nowrap;
}
.filter-btn.active { background: var(--dark); color: white; }
.filter-btn:hover:not(.active) { background: var(--light); color: var(--dark); }

/* SOCIAL MEDIA */
.social-links { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; border: 2px solid;
}
.social-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.social-facebook { color: #1877f2; border-color: #1877f2; }
.social-facebook:hover { background: #1877f2; color: white; }
.social-instagram { color: #e1306c; border-color: #e1306c; }
.social-instagram:hover { background: #e1306c; color: white; }
.social-tiktok { color: #010101; border-color: #010101; }
.social-tiktok:hover { background: #010101; color: white; }
.social-twitter { color: #1da1f2; border-color: #1da1f2; }
.social-twitter:hover { background: #1da1f2; color: white; }
.social-linkedin { color: #0a66c2; border-color: #0a66c2; }
.social-linkedin:hover { background: #0a66c2; color: white; }
.social-youtube { color: #ff0000; border-color: #ff0000; }
.social-youtube:hover { background: #ff0000; color: white; }

/* POPUP */
.leaflet-popup-content-wrapper { border-radius: 12px !important; padding: 0 !important; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important; }
.leaflet-popup-content { margin: 0 !important; }
.popup-card { padding: 16px; min-width: 220px; }
.popup-card h3 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.popup-cat { font-size: 0.78rem; color: var(--gray); margin-bottom: 12px; }
.popup-img { width: 100%; height: 120px; object-fit: cover; }
.popup-btn { display: block; text-align: center; margin-top: 12px; background: var(--grad); color: white; padding: 8px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.45); }

/* ANNUAIRE */
.section { max-width: 1280px; margin: 0 auto; padding: 48px 24px; }
.section-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.section-sub { color: var(--gray); margin-bottom: 32px; }

.search-bar { display: flex; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.search-input {
  flex: 1; min-width: 200px; padding: 12px 20px; border: 2px solid #e5e7eb;
  border-radius: 50px; font-size: 0.95rem; outline: none; transition: border 0.2s;
}
.search-input:focus { border-color: var(--c5); }
.filter-select {
  padding: 12px 20px; border: 2px solid #e5e7eb; border-radius: 50px;
  font-size: 0.875rem; outline: none; cursor: pointer; background: white;
}

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }

.card {
  background: white; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: all 0.25s; cursor: pointer;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }
.card-img {
  width: 100%; height: 180px; object-fit: cover;
  background: linear-gradient(135deg, #f0f4ff, #e8f5e9);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}
.card-body { padding: 20px; }
.card-cat {
  display: inline-block; padding: 3px 10px; border-radius: 50px;
  font-size: 0.72rem; font-weight: 600; background: var(--light); color: var(--gray);
  margin-bottom: 8px;
}
.card-name { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.card-addr { font-size: 0.8rem; color: var(--gray); display: flex; gap: 4px; align-items: flex-start; }
.card-footer {
  display: flex; gap: 8px; padding: 12px 20px; border-top: 1px solid #f3f4f6;
  align-items: center;
}
.tag {
  padding: 3px 10px; border-radius: 50px; font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(229,57,53,0.12), rgba(30,136,229,0.12));
  color: var(--dark); font-weight: 500;
}

/* FICHE */
.fiche-hero {
  background: var(--grad); padding: 48px 24px; color: white;
}
.fiche-inner { max-width: 900px; margin: 0 auto; }
.fiche-badge { display: inline-block; background: rgba(255,255,255,0.2); padding: 4px 14px; border-radius: 50px; font-size: 0.8rem; margin-bottom: 12px; }
.fiche-name { font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.fiche-addr { opacity: 0.9; display: flex; gap: 6px; align-items: center; }
.fiche-body { max-width: 900px; margin: -32px auto 0; padding: 0 24px 48px; }
.fiche-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.fiche-img { width: 100%; height: 280px; object-fit: cover; }
.fiche-img-placeholder { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 5rem; background: var(--light); }
.fiche-info { padding: 32px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.info-item label { display: block; font-size: 0.75rem; color: var(--gray); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px; }
.info-item span { font-size: 0.95rem; font-weight: 500; }
.info-item a { color: var(--c5); }
.desc-block { background: var(--light); border-radius: 12px; padding: 20px; margin-bottom: 24px; }
.horaires-block { border-left: 4px solid; border-image: var(--grad) 1; padding-left: 16px; }

/* MINI MAP */
#mini-map { height: 240px; border-radius: 12px; overflow: hidden; margin-top: 24px; }

/* ADMIN / USER */
.panel { display: flex; min-height: 100vh; }
.sidebar {
  width: 240px; background: var(--dark); color: white;
  padding: 24px 0; flex-shrink: 0; position: fixed; height: 100vh; overflow-y: auto;
}
.sidebar-logo { padding: 0 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.sidebar-logo img { height: 48px; }
.sidebar-logo p { font-size: 0.75rem; opacity: 0.6; margin-top: 4px; }
.sidebar-nav { padding: 16px 0; }
.sidebar-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 20px; font-size: 0.875rem; color: rgba(255,255,255,0.7);
  transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(255,255,255,0.08); color: white;
  border-left: 3px solid; border-image: var(--grad) 1;
}
.sidebar-section { padding: 16px 20px 8px; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; opacity: 0.4; }
.main-content { margin-left: 240px; flex: 1; padding: 32px; }
.page-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.page-title { font-size: 1.6rem; font-weight: 800; }

.dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.dash-card {
  background: white; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
}
.dash-icon { font-size: 2.2rem; }
.dash-num { font-size: 2rem; font-weight: 800; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.dash-label { font-size: 0.8rem; color: var(--gray); }

.table-wrap { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
table { width: 100%; border-collapse: collapse; }
th { background: var(--light); padding: 14px 16px; text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--gray); }
td { padding: 14px 16px; border-top: 1px solid #f3f4f6; font-size: 0.875rem; vertical-align: middle; }
tr:hover td { background: #fafafa; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 600; }
.badge-admin { background: rgba(229,57,53,0.12); color: #e53935; }
.badge-user { background: rgba(30,136,229,0.12); color: #1e88e5; }
.badge-ok { background: rgba(67,160,71,0.12); color: #43a047; }
.badge-off { background: #f3f4f6; color: var(--gray); }

/* FORM */
.form-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; max-width: 680px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=url], textarea, select {
  width: 100%; padding: 11px 16px; border: 2px solid #e5e7eb; border-radius: 10px;
  font-size: 0.9rem; outline: none; transition: border 0.2s; font-family: inherit;
}
input:focus, textarea:focus, select:focus { border-color: var(--c5); }
textarea { resize: vertical; min-height: 100px; }

/* LOGIN */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--grad); }
.login-card { background: white; border-radius: var(--radius); padding: 40px; width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.login-logo { text-align: center; margin-bottom: 28px; }
.login-logo img { height: 72px; }
.login-title { font-size: 1.4rem; font-weight: 800; text-align: center; margin-bottom: 24px; }
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 0.875rem; }
.alert-error { background: rgba(239,68,68,0.1); color: #dc2626; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: rgba(34,197,94,0.1); color: #16a34a; border: 1px solid rgba(34,197,94,0.2); }

/* FOOTER */
footer {
  background: var(--dark); color: white; text-align: center;
  padding: 32px 24px;
}
footer p { opacity: 0.6; font-size: 0.85rem; }
footer a { color: white; opacity: 0.8; }

/* SECTION QUI SOMMES-NOUS */
.about-section { background: #f8f9ff; }
.about-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.about-intro { font-size: 1.05rem; color: var(--gray); max-width: 640px; margin: 0 auto 36px; line-height: 1.7; }
.about-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.about-pillar { background: white; border-radius: 16px; padding: 28px 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.about-pillar-icon { font-size: 2.2rem; margin-bottom: 12px; }
.about-pillar h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.about-pillar p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; }
.about-cta { background: white; border-radius: 16px; padding: 28px 32px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.about-cta p { font-size: 0.95rem; color: var(--gray); margin-bottom: 20px; line-height: 1.7; }
@media (max-width: 768px) {
  .about-pillars { grid-template-columns: 1fr; gap: 16px; }
  .about-cta { padding: 20px 16px; }
}

/* MOBILE NAV (admin/user) */
.mobile-nav {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 2000;
  background: var(--dark); padding: 8px 0 env(safe-area-inset-bottom, 8px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.mobile-nav-inner { display: flex; justify-content: space-around; width: 100%; }
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  color: rgba(255,255,255,0.6); font-size: 0.55rem; padding: 5px 4px;
  text-decoration: none; transition: color 0.2s; flex: 1; min-width: 0;
}
.mobile-nav a.active, .mobile-nav a:hover { color: white; }
.mobile-search-overlay {
  display: none; position: fixed; bottom: 64px; left: 0; right: 0; z-index: 1999;
  background: white; padding: 12px 16px;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.mobile-search-overlay.active { display: block; }
.mobile-search-form { display: flex; gap: 8px; }
.mobile-search-form .search-input { flex: 1; margin: 0; }
.mobile-nav a span { font-size: 1.3rem; }

/* RESPONSIVE TABLETTE */
@media (max-width: 1024px) {
  .sidebar { width: 200px; }
  .main-content { margin-left: 200px; }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  /* Header */
  .header-inner { padding: 10px 16px; gap: 12px; }
  .logo img { height: 40px; }
  .logo-text h1 { font-size: 0.9rem; }
  .logo-text p { display: none; }
  nav a:not(.btn-grad) { display: none; }
  footer { padding-bottom: 70px; }

  /* Hero */
  .hero { padding: 36px 16px 48px; }
  .hero h2 { font-size: 1.4rem; }
  .hero p { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }

  /* Stats */
  .stats-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 0; }
  .stat { padding: 16px; border-bottom: 1px solid #f3f4f6; }
  .stat:nth-child(odd) { border-right: 1px solid #f3f4f6; }
  .stat-num { font-size: 1.5rem; }

  /* Map */
  #map { height: 420px; }
  .map-filters {
    bottom: 12px; padding: 8px 10px;
    flex-wrap: nowrap; overflow-x: auto; max-width: calc(100% - 32px);
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
    justify-content: flex-start;
  }
  .map-filters::-webkit-scrollbar { display: none; }
  .filter-btn { flex-shrink: 0; }

  /* Annuaire */
  .section { padding: 28px 16px; }
  .section-title { font-size: 1.4rem; }
  .search-bar { flex-direction: column; }
  .search-input, .filter-select { border-radius: 12px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }

  /* Fiche */
  .fiche-hero { padding: 28px 16px; }
  .fiche-name { font-size: 1.5rem; }
  .fiche-body { padding: 0 12px 32px; }
  .fiche-info { padding: 20px 16px; }
  .info-grid { grid-template-columns: 1fr; gap: 12px; }
  #mini-map { height: 200px; }
  .social-links { gap: 8px; }
  .social-btn { padding: 6px 12px; font-size: 0.75rem; }

  /* Admin / User panel */
  .sidebar { display: none; }
  .main-content { margin-left: 0; padding: 16px 16px 80px; }
  .mobile-nav { display: block; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-title { font-size: 1.3rem; }
  .dash-grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
  .dash-card { padding: 16px; gap: 10px; }
  .dash-icon { font-size: 1.6rem; }
  .dash-num { font-size: 1.5rem; }

  /* Tables */
  .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  table { min-width: 500px; }

  /* Forms */
  .form-card { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }

  /* Login */
  .login-card { padding: 28px 20px; margin: 16px; }

  /* Popup map */
  .leaflet-popup-content-wrapper { max-width: 240px; }
}

/* ═══════════════════════════════════════
   TEASER BANDEAU – Jeu concours
═══════════════════════════════════════ */
.teaser-banner {
  background: linear-gradient(135deg, #080814 0%, #11112a 55%, #0f1f3d 100%);
  border-radius: 20px;
  margin-bottom: 48px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.teaser-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(231,76,60,0.15) 0%, transparent 55%),
              radial-gradient(ellipse at 80% 50%, rgba(30,136,229,0.10) 0%, transparent 55%);
  pointer-events: none;
}
.teaser-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 48px 48px 44px;
  position: relative;
  z-index: 1;
}
/* ── Visuel trou de serrure ── */
.keyhole-wrap {
  position: relative;
  width: 210px;
  height: 270px;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0,0,0,0.6), inset 0 0 0 2px rgba(255,255,255,0.06);
}
.keyhole-bg {
  position: absolute;
  inset: -8px;
  background:
    linear-gradient(180deg,
      #6b9fd4 0%, #5a8ec3 25%,
      #7a9bb5 44%, #6b6b6b 44%,
      #5e5e5e 62%, #484848 100%
    );
  filter: blur(5px) brightness(0.65) saturate(0.5);
}
.keyhole-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.keyhole-puzzle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -68%);
  font-size: 3.6rem;
  opacity: 0.25;
  filter: blur(2px);
  pointer-events: none;
  z-index: 2;
  user-select: none;
}
.keyhole-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,220,100,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 3;
  animation: keyhole-flicker 4s ease-in-out infinite;
}
@keyframes keyhole-flicker {
  0%,100% { opacity: 1; }
  45%      { opacity: 0.6; }
  50%      { opacity: 0.9; }
  55%      { opacity: 0.5; }
}
/* ── Texte ── */
.teaser-text { flex: 1; color: #fff; }
.teaser-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #e53935, #f4511e);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(229,57,53,0.4);
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 4px 16px rgba(229,57,53,0.4); }
  50%      { box-shadow: 0 4px 28px rgba(229,57,53,0.75); }
}
.teaser-title {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -.01em;
}
.teaser-title em {
  font-style: normal;
  background: linear-gradient(135deg, #f4511e 0%, #f9a825 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.teaser-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 28px;
}
.teaser-dots { display: flex; gap: 8px; }
.teaser-dots span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  animation: dot-pulse 1.8s ease-in-out infinite;
}
.teaser-dots span:nth-child(2) { animation-delay: .3s; }
.teaser-dots span:nth-child(3) { animation-delay: .6s; }
@keyframes dot-pulse {
  0%,100% { background: rgba(255,255,255,0.2); transform: scale(1); }
  50%      { background: rgba(244,81,30,0.9); transform: scale(1.35); }
}
/* ── Responsive ── */
@media (max-width: 680px) {
  .teaser-inner { flex-direction: column; gap: 28px; padding: 28px 20px 32px; text-align: center; }
  .teaser-dots  { justify-content: center; }
  .keyhole-wrap { width: 150px; height: 195px; }
  .teaser-title { font-size: 1.65rem; }
  .teaser-sub   { font-size: .9rem; }
}

/* ═══════════════════════════════════════
   RESPONSIVE – correctifs nouvelles fonctionnalités
═══════════════════════════════════════ */

/* Grille 2 colonnes admin (catégories) */
.cats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

/* Recherche sur la carte */
.map-search-input {
  width: 100%;
  max-width: 360px;
  display: block;
  margin: 0 auto;
}

/* Boutons header groupés */
.btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 768px) {
  /* Catégories : 1 colonne */
  .cats-grid { grid-template-columns: 1fr; }

  /* Recherche carte : pleine largeur */
  .map-search { padding: 8px 12px 0; }
  .map-search-input { max-width: 100%; }

  /* Boutons header groupés sur mobile */
  .btn-group { width: 100%; }
  .btn-group .btn { flex: 1; justify-content: center; min-width: 0; font-size: .78rem; padding: 8px 12px; }

  /* Teaser – marge réduite */
  .teaser-banner { border-radius: 12px; margin-bottom: 28px; }

  /* Logo FB : icône réduite sur très petits écrans */
  .logo-fb svg { width: 20px; height: 20px; }
  .logo-fb { margin-left: 6px; }

  /* Page-header colonnes sur mobile */
  .page-header { flex-wrap: wrap; gap: 10px; }
}

@media (max-width: 480px) {
  /* Teaser très petit écran */
  .teaser-inner { padding: 20px 14px 24px; gap: 20px; }
  .keyhole-wrap { width: 120px; height: 155px; }
  .teaser-title { font-size: 1.35rem; }
  .teaser-badge { font-size: .65rem; padding: 5px 13px; margin-bottom: 14px; }
  .teaser-sub { font-size: .82rem; margin-bottom: 18px; }

  /* Annuaire : cards pleine largeur */
  .grid { grid-template-columns: 1fr; }

  /* Fiche : boutons empilés */
  .fiche-info > div[style*="display:flex"] { flex-direction: column; }
  .fiche-info .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════
   AGENDA / ÉVÉNEMENTS
═══════════════════════════════════════ */
.evt-list { display: flex; flex-direction: column; gap: 20px; max-width: 760px; margin: 0 auto; }
.evt-card { background: white; border-radius: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); overflow: hidden; display: flex; gap: 0; }
.evt-img { width: 160px; min-width: 160px; object-fit: cover; }
.evt-body { padding: 20px 24px; flex: 1; }
.evt-dates { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.evt-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: .78rem; font-weight: 600; }
.evt-today { background: #dcfce7; color: #15803d; }
.evt-coming { background: #eff6ff; color: #1d4ed8; }
.evt-range { background: #f3f4f6; color: var(--gray); }
.evt-titre { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.evt-lieu { font-size: .85rem; color: var(--gray); margin-bottom: 10px; }
.evt-desc { font-size: .875rem; color: var(--gray); line-height: 1.6; }
@media (max-width: 600px) {
  .evt-card { flex-direction: column; }
  .evt-img { width: 100%; min-width: unset; height: 180px; }
  .evt-body { padding: 16px; }
}

/* ═══════════════════════════════════════
   GALERIE PHOTOS FICHE
═══════════════════════════════════════ */
.fiche-gallery { display: flex; gap: 8px; padding: 12px 0 4px; }
.fiche-gallery-item { flex: 1; overflow: hidden; border-radius: 8px; max-height: 120px; }
.fiche-gallery-item img { width: 100%; height: 120px; object-fit: cover; transition: transform .2s; display: block; }
.fiche-gallery-item:hover img { transform: scale(1.05); }
