/* ==========================================================================
   MJC JACQUES PRÉVERT DIEUZE — DESIGN SYSTEM MODERNE & CITOYEN
   ========================================================================== */

:root {
  /* Palette identitaire MJC Jacques Prévert Dieuze */
  --mjc-navy: #15385E;
  --mjc-navy-dark: #0E2540;
  --mjc-navy-light: #204C7D;
  --mjc-coral: #EA545A;
  --mjc-coral-hover: #D63E44;
  --mjc-coral-soft: #FDECEC;
  --mjc-yellow: #FCC90D;
  --mjc-yellow-hover: #E8B600;
  --mjc-yellow-soft: #FEF9E6;
  --mjc-teal: #40B9BB;
  --mjc-teal-dark: #2A9395;
  --mjc-teal-soft: #EAF8F8;
  --mjc-royal: #3859A3;
  --mjc-royal-soft: #EDF1FA;
  --mjc-green: #2D9C5B;
  --mjc-green-soft: #EAF6EF;

  /* Neutres & Typographie */
  --text-dark: #1A2533;
  --text-body: #374151;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-body: #FFFFFF;
  --bg-alt: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-light: #E2E8F0;
  --border-color: #CBD5E1;

  /* Typographies */
  --font-display: 'Outfit', sans-serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Ombres & Rayons */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 6px rgba(21, 56, 94, 0.05);
  --shadow-md: 0 8px 24px rgba(21, 56, 94, 0.08);
  --shadow-lg: 0 16px 40px rgba(21, 56, 94, 0.12);
  --shadow-hover: 0 20px 45px rgba(21, 56, 94, 0.16);
  --transition-normal: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   TOPBAR PRATIQUE
   ========================================================================== */
.topbar {
  background-color: var(--mjc-navy-dark);
  color: #E2E8F0;
  font-size: 0.8125rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-pill {
  background-color: var(--mjc-coral);
  color: #FFFFFF;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #FFFFFF;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.topbar-text {
  font-weight: 500;
  color: #CBD5E1;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-link {
  color: #F8FAFC;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.topbar-link:hover {
  color: var(--mjc-yellow);
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.2);
}

.topbar-schedule {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(21, 56, 94, 0.04);
  transition: var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 20px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.1;
  color: var(--mjc-navy);
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--mjc-coral);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 8px 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--mjc-coral);
  transition: width 0.25s ease;
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--mjc-navy);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* BOUTONS GLOBAUX */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary-header {
  background-color: var(--mjc-coral);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(234, 84, 90, 0.3);
}

.btn-primary-header:hover {
  background-color: var(--mjc-coral-hover);
  box-shadow: 0 6px 18px rgba(234, 84, 90, 0.4);
}

.btn-secondary-header {
  background-color: transparent;
  color: var(--mjc-navy);
  border-color: var(--border-color);
}

.btn-secondary-header:hover {
  background-color: var(--bg-alt);
  border-color: var(--mjc-navy);
}

.btn-coral {
  background-color: var(--mjc-coral);
  color: #FFFFFF !important;
  box-shadow: 0 6px 20px rgba(234, 84, 90, 0.35);
}

.btn-coral:hover {
  background-color: var(--mjc-coral-hover);
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.28);
  border-color: #FFFFFF;
}

.btn-yellow-outline {
  background-color: transparent;
  color: var(--mjc-yellow) !important;
  border-color: var(--mjc-yellow);
}

.btn-yellow-outline:hover {
  background-color: var(--mjc-yellow);
  color: var(--mjc-navy-dark) !important;
}

.btn-navy {
  background-color: var(--mjc-navy);
  color: #FFFFFF !important;
  box-shadow: 0 6px 18px rgba(21, 56, 94, 0.25);
}

.btn-navy:hover {
  background-color: var(--mjc-navy-dark);
}

.btn-yellow {
  background-color: var(--mjc-yellow);
  color: var(--mjc-navy-dark) !important;
  box-shadow: 0 6px 18px rgba(252, 201, 13, 0.3);
}

.btn-yellow:hover {
  background-color: var(--mjc-yellow-hover);
}

.btn-outline {
  background-color: transparent;
  color: var(--mjc-navy);
  border-color: var(--mjc-navy);
}

.btn-outline:hover {
  background-color: var(--mjc-navy);
  color: #FFFFFF !important;
}

.btn-outline-dark {
  background-color: #FFFFFF;
  color: var(--mjc-navy);
  border: 1.5px solid var(--border-color);
  font-size: 0.875rem;
}

.btn-outline-dark:hover {
  border-color: var(--mjc-coral);
  color: var(--mjc-coral);
}

.btn-block {
  width: 100%;
}

/* HAMBURGER MOBILE */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger-box {
  width: 26px;
  height: 20px;
  display: inline-block;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 26px;
  height: 2.5px;
  background-color: var(--mjc-navy);
  border-radius: 4px;
  position: absolute;
  transition: transform 0.25s ease;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before {
  content: "";
  top: -8px;
}

.hamburger-inner::after {
  content: "";
  bottom: -8px;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner {
  background-color: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger-inner::after {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO BANNER MJC DIEUZE
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px 0 100px;
  overflow: hidden;
  background-color: var(--mjc-navy-dark);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.1);
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(14, 37, 64, 0.94) 0%,
    rgba(21, 56, 94, 0.88) 55%,
    rgba(21, 56, 94, 0.72) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;
  color: #FFFFFF;
}

.hero-content {
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F8FAFC;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mjc-yellow);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.1rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  color: #FFFFFF;
}

.highlight-coral {
  color: var(--mjc-coral);
}

.highlight-yellow {
  color: var(--mjc-yellow);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 34px;
  max-width: 700px;
}

.hero-lead strong {
  color: #FFFFFF;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-tagline-quote {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: #CBD5E1;
  border-left: 3px solid var(--mjc-coral);
  padding-left: 14px;
  margin-top: 10px;
}

.quote-symbol {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--mjc-yellow);
  font-family: serif;
}

.quote-author {
  font-size: 0.8125rem;
  color: #94A3B8;
  font-style: normal;
}

/* ==========================================================================
   BANDEAU FLOTTANT DES 4 PILIERS
   ========================================================================== */
.pillars-band {
  position: relative;
  z-index: 10;
  margin-top: 40px;
  margin-bottom: -150px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pillar-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  box-shadow: 0 12px 35px rgba(21, 56, 94, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.8);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(21, 56, 94, 0.22);
}

.pillar-teal::before { background-color: var(--mjc-teal); }
.pillar-coral::before { background-color: var(--mjc-coral); }
.pillar-yellow::before { background-color: var(--mjc-yellow); }
.pillar-royal::before { background-color: var(--mjc-royal); }

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.pillar-teal .pillar-icon { background-color: var(--mjc-teal-soft); color: var(--mjc-teal); }
.pillar-coral .pillar-icon { background-color: var(--mjc-coral-soft); color: var(--mjc-coral); }
.pillar-yellow .pillar-icon { background-color: var(--mjc-yellow-soft); color: #B38600; }
.pillar-royal .pillar-icon { background-color: var(--mjc-royal-soft); color: var(--mjc-royal); }

.pillar-meta {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.pillar-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.pillar-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--mjc-navy);
  line-height: 1.2;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pillar-arrow {
  align-self: flex-end;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--mjc-navy);
  transition: transform 0.2s ease;
}

.pillar-card:hover .pillar-arrow {
  transform: translateX(5px);
  color: var(--mjc-coral);
}

/* ==========================================================================
   SECTIONS GÉNÉRALES
   ========================================================================== */
.section {
  padding: 100px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mjc-coral);
  margin-bottom: 12px;
}

.section-tag.center {
  justify-content: center;
}

.section-tag.light {
  color: var(--mjc-yellow);
}

.tag-line {
  display: inline-block;
  width: 24px;
  height: 3px;
  background-color: currentColor;
  border-radius: var(--radius-full);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--mjc-navy);
  margin-bottom: 16px;
}

.title-highlight {
  color: var(--mjc-coral);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}

.section-header.text-center {
  text-align: center;
  margin-bottom: 56px;
}

.section-header.text-center .section-subtitle {
  margin-inline: auto;
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
  gap: 20px;
}

/* ==========================================================================
   SECTION INTRO : LA MJC DE DIEUZE, C'EST QUOI ?
   ========================================================================== */
.section-intro {
  padding-top: 200px;
  background-color: var(--bg-alt);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.lead-quote {
  background-color: #FFFFFF;
  border-left: 4px solid var(--mjc-teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mjc-navy);
  box-shadow: var(--shadow-sm);
}

.intro-body {
  font-size: 1rem;
  color: var(--text-body);
  margin-bottom: 16px;
  line-height: 1.7;
}

.intro-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.intro-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.feature-card {
  background-color: #FFFFFF;
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.fcard-icon {
  font-size: 1.8rem;
  line-height: 1;
  padding: 10px;
  border-radius: 12px;
  background-color: var(--bg-alt);
  flex-shrink: 0;
}

.fcard-content h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--mjc-navy);
  margin-bottom: 6px;
}

.fcard-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.fcard-blue { border-left: 4px solid var(--mjc-navy); }
.fcard-coral { border-left: 4px solid var(--mjc-coral); }
.fcard-yellow { border-left: 4px solid var(--mjc-yellow); }

/* ==========================================================================
   SECTION LES 4 ESPACES (COMMENT ÇA MARCHE ?)
   ========================================================================== */
.section-pillars {
  background-color: #FFFFFF;
}

.pillars-expanded-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-expanded-card {
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 32px 24px 28px;
  display: flex;
  flex-direction: column;
  border-top: 5px solid;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.pillar-expanded-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  background-color: #FFFFFF;
}

.border-teal { border-top-color: var(--mjc-teal); }
.border-coral { border-top-color: var(--mjc-coral); }
.border-yellow { border-top-color: var(--mjc-yellow); }
.border-royal { border-top-color: var(--mjc-royal); }

.pcard-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.badge-teal { background-color: var(--mjc-teal-soft); color: var(--mjc-teal-dark); }
.badge-coral { background-color: var(--mjc-coral-soft); color: var(--mjc-coral); }
.badge-yellow { background-color: var(--mjc-yellow-soft); color: #B38600; }
.badge-royal { background-color: var(--mjc-royal-soft); color: var(--mjc-royal); }

.pcard-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--mjc-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.text-teal { color: var(--mjc-teal-dark); }
.text-coral { color: var(--mjc-coral); }
.text-yellow { color: #B38600; }
.text-royal { color: var(--mjc-royal); }

.pcard-subtitle {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.pcard-text {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.pcard-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.pcard-list li {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-dark);
  position: relative;
  padding-left: 18px;
}

.pcard-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  font-size: 0.75rem;
  font-weight: 900;
}

.list-teal li::before { color: var(--mjc-teal); }
.list-coral li::before { color: var(--mjc-coral); }
.list-yellow li::before { color: #B38600; }
.list-royal li::before { color: var(--mjc-royal); }

.pcard-link {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.pcard-link span {
  transition: transform 0.2s ease;
}

.pcard-link:hover span {
  transform: translateX(4px);
}

.link-teal { color: var(--mjc-teal-dark); }
.link-coral { color: var(--mjc-coral); }
.link-yellow { color: #B38600; }
.link-royal { color: var(--mjc-royal); }

/* ==========================================================================
   SECTION ACTIVITÉS ET ATELIERS
   ========================================================================= */
.section-activities {
  background-color: var(--bg-alt);
}

.activity-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.filter-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background-color: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-normal);
}

.filter-btn:hover {
  border-color: var(--mjc-navy);
  color: var(--mjc-navy);
}

.filter-btn.active {
  background-color: var(--mjc-navy);
  border-color: var(--mjc-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(21, 56, 94, 0.2);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.activity-item {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(21, 56, 94, 0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

@media (hover: hover) and (pointer: fine) {
  .activity-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(21, 56, 94, 0.12);
    border-color: rgba(234, 84, 90, 0.35);
  }
}

/* Image et visuel de l'activité */
.aitem-media {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background-color: var(--mjc-navy-dark);
}

.aitem-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.activity-item:hover .aitem-media img {
  transform: scale(1.08);
}

.aitem-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 37, 64, 0.25) 0%, rgba(14, 37, 64, 0.65) 100%);
  pointer-events: none;
}

.aitem-badges {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.aitem-badge {
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.badge-sport { background-color: rgba(43, 90, 158, 0.92); }
.badge-culture { background-color: rgba(234, 84, 90, 0.92); }
.badge-jeunesse { background-color: rgba(245, 166, 35, 0.95); color: #1E293B; }
.badge-social { background-color: rgba(13, 148, 136, 0.92); }

.aitem-age-pill {
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--mjc-navy);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.aitem-price-chip {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background-color: rgba(14, 37, 64, 0.85);
  color: #FFFFFF;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
  backdrop-filter: blur(6px);
}

.aitem-body {
  padding: 18px 20px 14px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.aitem-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mjc-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.aitem-hook {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--mjc-coral);
  margin-bottom: 8px;
}

.aitem-body p {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.aitem-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  background-color: #F8FAFC;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.aitem-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.aitem-footer {
  padding: 12px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #FCFDFF;
}

.aitem-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aitem-cta {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  color: var(--mjc-coral);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.aitem-cta:hover {
  color: var(--mjc-navy);
  transform: translateX(4px);
}

.activities-banner-callout {
  background-color: var(--mjc-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
}

.callout-content h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #FFFFFF;
}

.callout-content p {
  color: #CBD5E1;
  font-size: 0.9375rem;
}

/* ==========================================================================
   SECTION CHIFFRES CLÉS & IMPACT LOCAL
   ========================================================================== */
.section-stats {
  background: linear-gradient(135deg, var(--mjc-navy-dark) 0%, var(--mjc-navy) 100%);
  color: #FFFFFF;
  padding: 80px 0;
}

.stats-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mjc-yellow);
  margin-bottom: 10px;
}

.stats-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 32px 22px;
  text-align: center;
  position: relative;
  transition: var(--transition-normal);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  border-color: var(--mjc-yellow);
}

.stat-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--mjc-coral);
  color: #FFFFFF;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1;
  color: var(--mjc-yellow);
  margin-bottom: 10px;
}

.stat-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.8125rem;
  color: #CBD5E1;
  line-height: 1.5;
}

/* ==========================================================================
   SECTION À LA UNE & ACTUALITÉS
   ========================================================================== */
.section-news {
  background-color: #FFFFFF;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.ncard-banner {
  padding: 36px 24px 28px;
  color: #FFFFFF;
  position: relative;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.banner-red {
  background: linear-gradient(135deg, var(--mjc-coral) 0%, #D43B42 100%);
}

.banner-blue {
  background: linear-gradient(135deg, var(--mjc-royal) 0%, var(--mjc-navy) 100%);
}

.banner-yellow {
  background: linear-gradient(135deg, #E5B400 0%, #C49700 100%);
}

.ncard-badge {
  display: inline-block;
  align-self: flex-start;
  background-color: rgba(0, 0, 0, 0.22);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.ncard-banner-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.ncard-body {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ncard-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.meta-dot {
  color: var(--border-color);
}

.ncard-heading {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--mjc-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.ncard-excerpt {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.ncard-readmore {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--mjc-coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.ncard-readmore span {
  transition: transform 0.2s ease;
}

.news-card:hover .ncard-readmore span {
  transform: translateX(4px);
}

/* ==========================================================================
   SECTION DOCUMENTS ADHÉRENTS & PRATIQUE
   ========================================================================== */
.section-docs {
  background-color: var(--bg-alt);
}

.docs-wrapper {
  background-color: var(--mjc-navy);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
}

.text-white {
  color: #FFFFFF;
}

.text-white-muted {
  color: #CBD5E1;
}

.docs-header {
  margin-bottom: 40px;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.doc-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: var(--transition-normal);
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.doc-file-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.doc-info {
  flex-grow: 1;
}

.doc-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--mjc-navy);
  margin-bottom: 4px;
}

.doc-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--mjc-coral-soft);
  color: var(--mjc-coral);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.doc-card:hover .btn-download {
  background-color: var(--mjc-coral);
  color: #FFFFFF;
}

/* ==========================================================================
   SECTION PARTENAIRES INSTITUTIONNELS
   ========================================================================== */
.section-partners {
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 70px 0;
}

.partners-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mjc-royal);
  margin-bottom: 8px;
  display: block;
}

.partners-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--mjc-navy);
  margin-bottom: 8px;
}

.partners-subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.partner-item {
  background-color: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition-normal);
}

.partner-item:hover {
  background-color: #FFFFFF;
  border-color: var(--mjc-royal);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.partner-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9375rem;
  color: var(--mjc-navy);
  margin-bottom: 4px;
}

.partner-role {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   SECTION CONTACT & INFOS PRATIQUES
   ========================================================================== */
.section-contact {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #FFFFFF 100%);
}

.contact-box {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
}

.contact-left {
  padding: 56px 48px;
  background-color: #FFFFFF;
}

.contact-intro {
  font-size: 1.05rem;
  color: var(--text-body);
  margin-bottom: 34px;
  line-height: 1.6;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.cinfo-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cinfo-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--bg-alt);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cinfo-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--mjc-navy);
  margin-bottom: 4px;
}

.cinfo-item p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.5;
}

.text-underline {
  color: var(--mjc-coral);
  font-weight: 700;
  border-bottom: 1.5px solid currentColor;
}

.contact-right {
  background-color: var(--bg-alt);
  padding: 56px 48px;
  border-left: 1px solid var(--border-light);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--mjc-navy);
  margin-bottom: 6px;
}

.contact-form-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background-color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--mjc-navy);
  box-shadow: 0 0 0 3px rgba(21, 56, 94, 0.12);
}

/* ==========================================================================
   FOOTER INSTITUTIONNEL MJC DIEUZE
   ========================================================================== */
.site-footer {
  background-color: var(--mjc-navy-dark);
  color: #CBD5E1;
  padding-top: 70px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2.5px;
  background-color: var(--mjc-coral);
  border-radius: var(--radius-full);
}

.footer-logo-badge {
  background-color: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.footer-brand-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 18px;
}

.footer-network-pill {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-network-pill span {
  color: #94A3B8;
}

.footer-network-pill strong {
  color: var(--mjc-yellow);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.875rem;
  color: #CBD5E1;
}

.footer-links a:hover {
  color: var(--mjc-yellow);
  transform: translateX(4px);
}

.footer-address {
  font-style: normal;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.footer-address strong {
  color: #FFFFFF;
}

.footer-contact-line a {
  color: #FFFFFF;
  font-weight: 600;
}

.footer-contact-line a:hover {
  color: var(--mjc-yellow);
}

.footer-hours {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  border-left: 3px solid var(--mjc-teal);
}

.hours-badge {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.6875rem;
  text-transform: uppercase;
  color: var(--mjc-teal);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: #94A3B8;
}

.bottom-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.bottom-legal a:hover {
  color: #FFFFFF;
}

.sep-dot {
  color: rgba(255, 255, 255, 0.25);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 6px 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
}

.back-to-top:hover {
  background-color: var(--mjc-coral);
  color: #FFFFFF;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1100px) {
  .pillars-grid,
  .pillars-expanded-grid,
  .activity-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .intro-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .contact-right {
    border-left: none;
    border-top: 1px solid var(--border-light);
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .section-header-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .activities-banner-callout {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid var(--border-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    display: none;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-link {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .nav-cta-group .btn {
    width: 100%;
  }

  .topbar-right .topbar-schedule,
  .topbar-sep {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar-left .topbar-text {
    display: none;
  }

  .hero-section {
    padding: 60px 0 80px;
  }

  .pillars-band {
    margin-top: 20px;
    margin-bottom: -110px;
  }

  .section-intro {
    padding-top: 160px;
  }

  .pillars-grid,
  .pillars-expanded-grid,
  .activity-grid,
  .stats-grid,
  .docs-grid,
  .partners-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .contact-left,
  .contact-right {
    padding: 32px 20px;
  }

  .docs-wrapper {
    padding: 36px 20px;
  }
}


/* ==========================================================================
   SWITCHER FLOTTANT DE PRÉSENTATION
   ========================================================================== */
.design-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: rgba(14, 37, 64, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  padding: 8px 14px 8px 18px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
  font-family: var(--font-sans);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.switcher-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.switcher-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #E2E8F0;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.switcher-dot {
  width: 8px;
  height: 8px;
  background-color: var(--mjc-yellow);
  border-radius: 50%;
  animation: pulse-switcher 2s infinite;
}

@keyframes pulse-switcher {
  0%, 100% { opacity: 0.8; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

.switcher-pills {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: var(--radius-full);
  gap: 4px;
}

.switcher-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  text-decoration: none;
  color: #CBD5E1;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.switcher-pill:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
}

.switcher-pill.active {
  background: var(--mjc-coral);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(234, 84, 90, 0.45);
}

.pill-badge {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.switcher-toggle-hide {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  font-size: 0.8125rem;
  padding: 4px 6px;
  border-radius: 50%;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.switcher-toggle-hide:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
}

.switcher-minimized-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  background: var(--mjc-navy-dark);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  padding: 10px 18px;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: none;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.switcher-minimized-btn:hover {
  background: var(--mjc-coral);
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .design-switcher {
    bottom: 12px;
    right: 12px;
    left: 12px;
    padding: 8px 12px;
    border-radius: 16px;
  }
  .switcher-inner {
    justify-content: space-between;
  }
  .switcher-label {
    display: none;
  }
  .switcher-pills {
    width: 100%;
    justify-content: center;
  }
}


/* ==========================================================================
   BANNIÈRE DES PAGES INTERNES
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, var(--mjc-navy-dark) 0%, var(--mjc-navy) 100%);
  color: #FFFFFF;
  padding: 60px 0 65px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--mjc-coral);
}

.page-banner::after {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -40%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 201, 13, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.breadcrumb a {
  color: #94A3B8;
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--mjc-yellow);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.page-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: #E2E8F0;
  max-width: 760px;
  line-height: 1.6;
}

/* ==========================================================================
   8 CONCEPTS D'INTERACTION & UI DIFFÉRENTS POUR LES ACTIVITÉS
   ========================================================================== */

/* Badge indicateur du Concept */
.ui-style-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0F172A;
  color: #FED049;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 6px;
  z-index: 25;
  border: 1px solid rgba(254, 208, 73, 0.6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   ACTIVITÉS : STYLE VOLET RIDEAU CINÉMATOGRAPHIQUE (UNIFIÉ AVEC BOUTON MOBILE/DESKTOP)
   -------------------------------------------------------------------------- */
.activity-item.concept-1-cinematic {
  position: relative;
  min-height: 440px;
  border-radius: 20px;
  clip-path: inset(0 round 20px);
  -webkit-clip-path: inset(0 round 20px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  display: flex;
  flex-direction: column;
  background-color: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Survol UNIQUEMENT sur les ordinateurs / écrans avec souris */
@media (hover: hover) and (pointer: fine) {
  .concept-1-cinematic:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  }

  .concept-1-cinematic:hover .c1-bg-image {
    transform: scale(1.05);
    filter: brightness(0.65) blur(1px);
  }

  .concept-1-cinematic:hover .c1-default-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
  }

  .concept-1-cinematic:hover .c1-curtain-panel {
    transform: translateY(0);
  }
}

.concept-1-cinematic .c1-bg-image {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

/* État actif : déclenché au clic / tap sur smartphone ou tablette */
.concept-1-cinematic.is-active .c1-bg-image {
  transform: scale(1.04);
  filter: brightness(0.65) blur(1px);
}

/* Bandeau inférieur initial au repos */
.concept-1-cinematic .c1-default-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 60%, rgba(15, 23, 42, 0.98) 100%);
  color: #FFFFFF;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

.concept-1-cinematic.is-active .c1-default-bar {
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
}

.concept-1-cinematic .c1-pill {
  display: inline-block;
  align-self: flex-start;
  color: #FFFFFF;
  background: rgba(234, 84, 90, 0.88);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.concept-1-cinematic .c1-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 14px 0;
  color: #FFFFFF;
  line-height: 1.25;
}

/* Bouton toggle interactif Mobile & Tablette : "+ Infos" / "- Retour" */
.c1-mobile-toggle-btn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  z-index: 25;
  display: inline-grid;
  grid-template-areas: "btnstack";
  place-items: center;
  background: rgba(15, 23, 42, 0.78);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 11px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  overflow: hidden;
  height: 28px;
  box-sizing: border-box;
}

.c1-mobile-toggle-btn:active {
  transform: scale(0.94);
}

/* Texte : toute petite écriture blanche avec légers contours gris ou noir */
.c1-mobile-toggle-btn .c1-toggle-state,
.c1-mobile-toggle-btn .toggle-text {
  grid-area: btnstack;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  text-shadow: 0 1px 2px #000000, 0 0 1px #000000, 0 0 4px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.c1-mobile-toggle-btn .c1-toggle-symbol,
.c1-mobile-toggle-btn .toggle-icon {
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  color: #FFFFFF !important;
}

/* État fermé : "+ Infos" centré */
.c1-mobile-toggle-btn .state-infos {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.c1-mobile-toggle-btn .state-retour {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

/* État actif : le bouton reste à sa position d'en-tête du volet avec "- Retour" centré */
.concept-1-cinematic.is-active .c1-mobile-toggle-btn {
  bottom: auto;
  top: 16px;
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(254, 208, 73, 0.6);
}

.concept-1-cinematic.is-active .c1-mobile-toggle-btn .state-infos {
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
}

.concept-1-cinematic.is-active .c1-mobile-toggle-btn .state-retour {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* SUR PC (DESKTOP) : Complètement masqué, seul le survol CSS fonctionne */
@media (min-width: 1025px) {
  .c1-mobile-toggle-btn {
    display: none !important;
  }
}

/* Le volet rideau sombre qui monte */
.concept-1-cinematic .c1-curtain-panel {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #F8FAFC;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}

/* État actif : le volet monte */
.concept-1-cinematic.is-active .c1-curtain-panel {
  transform: translateY(0);
}

.concept-1-cinematic .c1-tag {
  color: #2DD4BF;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.concept-1-cinematic .c1-curtain-panel h3 {
  font-size: 1.25rem;
  color: #FED049;
  margin: 4px 0 6px;
}

.concept-1-cinematic .c1-price-highlight {
  display: inline-block;
  background: rgba(254, 208, 73, 0.15);
  color: #FED049;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: fit-content;
}

.concept-1-cinematic .c1-curtain-panel p {
  font-size: 0.825rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin: 0 0 10px 0;
}

.concept-1-cinematic .c1-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: #94A3B8;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 10px;
  border-radius: 8px;
}

.concept-1-cinematic .c1-btn {
  display: block;
  background: var(--mjc-coral);
  color: #FFFFFF !important;
  padding: 10px 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(234, 84, 90, 0.35);
  transition: background 0.2s ease, transform 0.2s ease;
}

.concept-1-cinematic .c1-btn:hover {
  background: var(--mjc-coral-hover);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   CONCEPT 2 : GYM SENIORS — CARTE RECTO / VERSO (3D FLIP INTERACTIF)
   Pivote à 180° au clic
   -------------------------------------------------------------------------- */
.activity-item.concept-2-flip {
  perspective: 1000px;
  min-height: 420px;
  border-radius: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  box-shadow: none;
  display: block;
}
.concept-2-flip .c2-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
}
.concept-2-flip.is-flipped .c2-flipper {
  transform: rotateY(180deg);
}
.concept-2-flip .c2-front,
.concept-2-flip .c2-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
}
/* Recto */
.concept-2-flip .c2-front {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.concept-2-flip .c2-photo {
  height: 240px;
  background-size: cover;
  background-position: center;
}
.concept-2-flip .c2-front-content {
  padding: 24px 20px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #FFFDF9;
}
.concept-2-flip .c2-badge {
  background: #FEF3C7;
  color: #B45309;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin: 0 auto 10px;
}
.concept-2-flip .c2-front-content h3 {
  font-size: 1.25rem;
  color: var(--mjc-navy);
  margin-bottom: 12px;
}
.concept-2-flip .c2-hint {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mjc-coral);
  margin: 0;
}
/* Verso */
.concept-2-flip .c2-back {
  background: linear-gradient(145deg, #15385E, #0E2540);
  color: #FFFFFF;
  transform: rotateY(180deg);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(21, 56, 94, 0.3);
}
.concept-2-flip .c2-back h4 {
  color: #FED049;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.concept-2-flip .c2-back h3 {
  font-size: 1.2rem;
  color: #FFFFFF;
  margin: 8px 0;
}
.concept-2-flip .c2-back p {
  font-size: 0.825rem;
  color: #CBD5E1;
  line-height: 1.45;
}
.concept-2-flip .c2-specs {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.concept-2-flip .c2-btn {
  background: #FED049;
  color: #0E2540 !important;
  font-weight: 800;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.85rem;
}
.concept-2-flip .c2-flip-back {
  text-align: center;
  font-size: 0.75rem;
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   CONCEPT 3 : POTERIE — NÉO-BRUTALISME POP INTERACTIF
   Contour épais 3px, ombre portée dure et boutons contrastés
   -------------------------------------------------------------------------- */
.activity-item.concept-3-neobrutal {
  background: #FFFBEB;
  border: 3px solid #1E293B;
  border-radius: 16px;
  box-shadow: 6px 6px 0px #1E293B;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 420px;
}
.concept-3-neobrutal:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0px #1E293B;
}
.concept-3-neobrutal .c3-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.concept-3-neobrutal .c3-sticker {
  background: #FED049;
  border: 2px solid #1E293B;
  font-weight: 900;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 6px;
}
.concept-3-neobrutal .c3-cat {
  font-weight: 800;
  font-size: 0.75rem;
  color: #1E293B;
  text-transform: uppercase;
}
.concept-3-neobrutal .c3-thumb {
  height: 180px;
  border: 2px solid #1E293B;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
}
.concept-3-neobrutal .c3-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-3-neobrutal .c3-details h3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #1E293B;
  margin-bottom: 8px;
}
.concept-3-neobrutal .c3-details p {
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
  margin-bottom: 14px;
}
.concept-3-neobrutal .c3-bottom-strip {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 2px solid #1E293B;
}
.concept-3-neobrutal .c3-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #EA545A;
}
.concept-3-neobrutal .c3-btn {
  background: #1E293B;
  color: #FED049 !important;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 6px;
  border: 2px solid #1E293B;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   CONCEPT 4 : THÉÂTRE — CARTE ACCORDÉON / TIROIR DÉROULANT (DRAWER)
   Se déploie vers le bas au clic sur le bouton tiroir
   -------------------------------------------------------------------------- */
.activity-item.concept-4-drawer {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.3s ease;
}
.concept-4-drawer .c4-main {
  padding: 16px;
}
.concept-4-drawer .c4-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.concept-4-drawer .c4-tag {
  color: #EA545A;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}
.concept-4-drawer h3 {
  font-size: 1.15rem;
  color: var(--mjc-navy);
  margin: 6px 0;
}
.concept-4-drawer .c4-price {
  font-weight: 800;
  color: #1E293B;
  display: block;
  margin-bottom: 12px;
}
.concept-4-drawer .c4-trigger-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--mjc-navy);
  cursor: pointer;
  transition: background 0.2s ease;
}
.concept-4-drawer .c4-trigger-btn:hover {
  background: #E2E8F0;
}
.concept-4-drawer .c4-chevron {
  transition: transform 0.3s ease;
}
.concept-4-drawer.is-open .c4-chevron {
  transform: rotate(180deg);
}
/* Tiroir accordéon */
.concept-4-drawer .c4-drawer-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  background: #F8FAFC;
  border-top: 1px solid transparent;
  padding: 0 16px;
}
.concept-4-drawer.is-open .c4-drawer-content {
  max-height: 250px;
  padding: 16px;
  border-top-color: var(--border-light);
}
.concept-4-drawer .c4-drawer-content p {
  font-size: 0.8125rem;
  color: #64748B;
  margin-bottom: 10px;
}
.concept-4-drawer .c4-meta {
  font-size: 0.78rem;
  color: #475569;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}
.concept-4-drawer .c4-action-link {
  display: block;
  background: #EA545A;
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 8px;
  text-align: center;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   CONCEPT 5 : ALSH MERCREDIS — CARTE BADGE PASSEPORT VOYAGE
   Format carnet avec découpe, ruban et tampon officiel CAF
   -------------------------------------------------------------------------- */
.activity-item.concept-5-passport {
  background: #FDFBF7;
  border: 1px solid #D6D3D1;
  border-left: 8px solid #16A34A;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  padding: 20px 16px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.concept-5-passport .c5-ribbon {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #16A34A;
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}
.concept-5-passport .c5-frame {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.concept-5-passport .c5-portrait {
  position: relative;
  height: 170px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #E7E5E4;
}
.concept-5-passport .c5-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-5-passport .c5-stamp {
  position: absolute;
  bottom: 8px;
  right: 8px;
  border: 2px dashed #16A34A;
  color: #16A34A;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 2px 6px;
  background: rgba(255,255,255,0.9);
  transform: rotate(-8deg);
  border-radius: 4px;
}
.concept-5-passport .c5-age-tag {
  font-weight: 800;
  font-size: 0.75rem;
  color: #15803D;
}
.concept-5-passport h3 {
  font-size: 1.15rem;
  color: #292524;
  margin: 4px 0;
}
.concept-5-passport .c5-schedule {
  font-size: 0.78rem;
  color: #78716C;
  font-weight: 600;
  margin-bottom: 8px;
}
.concept-5-passport p {
  font-size: 0.8rem;
  color: #57534E;
  line-height: 1.45;
  margin-bottom: 14px;
}
.concept-5-passport .c5-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed #D6D3D1;
  padding-top: 10px;
}
.concept-5-passport .c5-fare {
  font-weight: 800;
  color: #15803D;
  font-size: 0.9rem;
}
.concept-5-passport .c5-cta {
  color: #16A34A;
  font-weight: 800;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   CONCEPT 6 : CLUB ADOS — RADIAL SPOTLIGHT / HOVER MODERNE GAMER
   Ambiance sombre néon avec halo violet et bouton d'action style manette
   -------------------------------------------------------------------------- */
.activity-item.concept-6-glow {
  background: #18181B;
  border: 1px solid #3F3F46;
  border-radius: 20px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.concept-6-glow:hover {
  border-color: #A855F7;
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.35);
}
.concept-6-glow .c6-glow-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, transparent 70%);
  pointer-events: none;
}
.concept-6-glow .c6-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}
.concept-6-glow .c6-pill {
  background: #A855F7;
  color: #FFFFFF;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 12px;
}
.concept-6-glow .c6-badge {
  color: #D4D4D8;
  font-size: 0.75rem;
  font-weight: 700;
}
.concept-6-glow .c6-img-wrap {
  height: 160px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #27272A;
}
.concept-6-glow .c6-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.concept-6-glow:hover .c6-img-wrap img {
  transform: scale(1.08);
}
.concept-6-glow h3 {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.concept-6-glow p {
  color: #A1A1AA;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 10px;
}
.concept-6-glow .c6-slots {
  display: flex;
  gap: 10px;
  font-size: 0.72rem;
  color: #C084FC;
  font-weight: 700;
  margin-bottom: 16px;
}
.concept-6-glow .c6-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.concept-6-glow .c6-price {
  color: #F4F4F5;
  font-weight: 800;
  font-size: 0.95rem;
}
.concept-6-glow .c6-btn {
  background: #9333EA;
  color: #FFFFFF !important;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 14px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

/* --------------------------------------------------------------------------
   CONCEPT 7 : INFORMATIQUE — DASHBOARD FICHE MODERNE TYPE APP
   Format carte application avec pastilles d'état et liste de features
   -------------------------------------------------------------------------- */
.activity-item.concept-7-dashboard {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.08);
  padding: 16px;
  display: flex;
  flex-direction: column;
}
.concept-7-dashboard .c7-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.concept-7-dashboard .c7-status-dot {
  width: 8px;
  height: 8px;
  background: #10B981;
  border-radius: 50%;
}
.concept-7-dashboard .c7-app-name {
  font-weight: 800;
  font-size: 0.78rem;
  color: #0284C7;
  text-transform: uppercase;
}
.concept-7-dashboard .c7-badge-free {
  margin-left: auto;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
}
.concept-7-dashboard .c7-hero-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}
.concept-7-dashboard .c7-avatar {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}
.concept-7-dashboard .c7-hero-row h3 {
  font-size: 1.05rem;
  color: #0F172A;
  margin: 0 0 2px 0;
}
.concept-7-dashboard .c7-author {
  font-size: 0.72rem;
  color: #64748B;
}
.concept-7-dashboard .c7-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  font-size: 0.8rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.concept-7-dashboard .c7-action-bar {
  margin-top: auto;
}
.concept-7-dashboard .c7-button {
  display: block;
  background: #0284C7;
  color: #FFFFFF !important;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: 8px;
}

/* --------------------------------------------------------------------------
   CONCEPT 8 : CAFÉ FAMILLES — CARTE DIALOGUE BULLE CHALEUREUSE
   Découpe ronde et bulle de dialogue conviviale
   -------------------------------------------------------------------------- */
.activity-item.concept-8-bubble {
  background: linear-gradient(180deg, #FFF1F2 0%, #FFFFFF 100%);
  border: 1px solid #FECDD3;
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(244, 63, 94, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.concept-8-bubble .c8-shape-wrapper {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.concept-8-bubble .c8-bubble-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid #FDA4AF;
}
.concept-8-bubble .c8-bubble-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.concept-8-bubble .c8-bubble-talk {
  background: #FFFFFF;
  border: 1px solid #FECDD3;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 0.78rem;
  color: #9F1239;
  font-style: italic;
  position: relative;
}
.concept-8-bubble .c8-tag {
  color: #E11D48;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
}
.concept-8-bubble h3 {
  font-size: 1.15rem;
  color: #881337;
  margin: 4px 0 10px 0;
}
.concept-8-bubble .c8-timing {
  background: rgba(255,255,255,0.8);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.78rem;
  color: #4C0519;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}
.concept-8-bubble .c8-btn {
  margin-top: auto;
  display: block;
  background: #E11D48;
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 10px;
  text-align: center;
  border-radius: 20px;
  font-size: 0.85rem;
}


/* ==========================================================================
   TRANSITION 3D ZOOM-OUT DES SECTIONS (FLUIDE AU SCROLL ET MOBILE-FRIENDLY)
   ========================================================================== */
.slides-wrapper {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

.slides-wrapper > section {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--bg-body);
  border-radius: 20px;
  overflow: hidden;
  will-change: transform, opacity;
  transform-origin: center top;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

/* Fond de chaque section préservé */
.hero-section {
  background-color: var(--mjc-navy-dark) !important;
}
.section-intro {
  background-color: var(--bg-alt) !important;
}
.section-pillars {
  background-color: #FFFFFF !important;
}
.section-activities {
  background-color: var(--bg-alt) !important;
}
.section-stats {
  background: linear-gradient(135deg, var(--mjc-navy-dark) 0%, var(--mjc-navy) 100%) !important;
  color: #FFFFFF;
}
.section-news {
  background-color: #FFFFFF !important;
}
.section-docs {
  background-color: var(--bg-alt) !important;
}
.section-partners {
  background-color: #FFFFFF !important;
}
.section-contact {
  background: linear-gradient(180deg, var(--bg-alt) 0%, #FFFFFF 100%) !important;
}

/* ==========================================================================
   BANDEAU D'ALERTE & ANNONCE FLASH (GSAP)
   ========================================================================== */
.alert-banner {
  background: linear-gradient(90deg, #EA545A 0%, #D63E44 100%);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 8px 16px;
  position: relative;
  z-index: 150;
  box-shadow: 0 2px 10px rgba(234, 84, 90, 0.25);
  overflow: hidden;
}

.alert-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.alert-banner-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.alert-badge {
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  text-transform: uppercase;
}

.alert-text {
  font-weight: 500;
  line-height: 1.4;
}

.alert-link {
  color: #FED049 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.alert-link:hover {
  opacity: 0.85;
}

.alert-banner-close {
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.alert-banner-close:hover {
  opacity: 1;
}

/* ==========================================================================
   SOUS-MENUS / DROPDOWNS RICHES
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.nav-link .nav-caret {
  display: inline-block;
  font-size: 0.75rem;
  transition: transform 0.25s ease;
  margin-left: 3px;
}

.nav-item-dropdown:hover .nav-caret,
.nav-item-dropdown.is-open .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 290px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(14, 37, 64, 0.14);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 120;
}

@media (hover: hover) and (pointer: fine) {
  .nav-item-dropdown:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

.nav-item-dropdown.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  color: var(--text-dark);
}

.dropdown-item:hover {
  background-color: var(--bg-alt);
  transform: translateX(4px);
}

.dropdown-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(21, 56, 94, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown-text {
  display: flex;
  flex-direction: column;
}

.dropdown-text strong {
  font-size: 0.875rem;
  color: var(--mjc-navy);
  font-weight: 700;
  line-height: 1.25;
}

.dropdown-text small {
  font-size: 0.72rem;
  color: #64748B;
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background-color: var(--border-light);
  margin: 6px 8px;
}

.dropdown-highlight {
  background: linear-gradient(135deg, rgba(234, 84, 90, 0.07) 0%, rgba(254, 208, 73, 0.12) 100%);
  border: 1px solid rgba(234, 84, 90, 0.2);
}

.dropdown-highlight:hover {
  background: linear-gradient(135deg, rgba(234, 84, 90, 0.14) 0%, rgba(254, 208, 73, 0.2) 100%);
}

/* Sur Mobile : dropdown en accordéon intégré */
@media (max-width: 1024px) {
  .nav-dropdown {
    position: static;
    transform: none !important;
    box-shadow: none;
    border: none;
    background: var(--bg-alt);
    margin-top: 6px;
    padding: 6px;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-item-dropdown.is-open .nav-dropdown {
    display: block;
  }
}

/* ==========================================================================
   MODULE DYNAMIQUE : AUJOURD'HUI À LA MJC
   ========================================================================== */
.today-mjc-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 16px 20px;
  margin-top: 24px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.today-mjc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 8px;
}

.today-pulse-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.today-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #22C55E;
  box-shadow: 0 0 10px #22C55E;
  display: inline-block;
  animation: todayPulse 1.8s infinite;
}

.today-status-dot.is-closed {
  background-color: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: none;
}

@keyframes todayPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.today-day-label {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  color: #FED049;
}

.today-date-text {
  font-size: 0.8rem;
  color: #CBD5E1;
  font-weight: 600;
}

.today-body-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.today-reception-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 8px;
  color: #F8FAFC;
}

.today-activities-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.today-chip {
  background: rgba(45, 212, 191, 0.15);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #2DD4BF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* ==========================================================================
   QUIZ EXPRESS : TROUVER MON ACTIVITÉ EN 3 CLICS
   ========================================================================== */
.quiz-section-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px 24px;
  color: #FFFFFF;
  margin-bottom: 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.quiz-header {
  text-align: center;
  margin-bottom: 24px;
}

.quiz-header h3 {
  font-size: 1.45rem;
  color: #FED049;
  margin: 0 0 6px;
}

.quiz-header p {
  font-size: 0.9rem;
  color: #CBD5E1;
  margin: 0;
}

.quiz-steps-container {
  max-width: 680px;
  margin: 0 auto;
}

.quiz-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quiz-step-num {
  background: var(--mjc-coral);
  color: #FFFFFF;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 10px;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.quiz-option-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--mjc-yellow);
  transform: translateY(-2px);
}

.quiz-option-btn.selected {
  background: var(--mjc-yellow);
  color: var(--mjc-navy-dark);
  border-color: var(--mjc-yellow);
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(252, 201, 13, 0.35);
}

.quiz-option-icon {
  font-size: 1.5rem;
}

.quiz-result-card {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--mjc-coral);
  border-radius: 16px;
  padding: 20px;
  margin-top: 16px;
  animation: fadeIn 0.4s ease;
}

.quiz-result-card.is-visible {
  display: block;
}

.quiz-result-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.quiz-result-tag {
  background: var(--mjc-coral);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
}

.quiz-result-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SIMULATEUR DE TARIF CAF (ALSH & ACTIVITÉS SELON QUOTIENT FAMILIAL)
   ========================================================================== */
.simulator-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 36px rgba(21, 56, 94, 0.08);
  margin-top: 36px;
}

.simulator-header {
  text-align: center;
  margin-bottom: 28px;
}

.simulator-header h3 {
  font-size: 1.5rem;
  color: var(--mjc-navy);
  margin: 0 0 6px;
}

.simulator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 900px) {
  .simulator-grid {
    grid-template-columns: 1fr;
  }
}

.simulator-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sim-control-group label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--mjc-navy);
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.sim-qf-val {
  color: var(--mjc-coral);
  font-weight: 800;
  font-size: 1.05rem;
}

.sim-range-slider {
  width: 100%;
  accent-color: var(--mjc-coral);
  height: 6px;
  cursor: pointer;
}

.sim-service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.sim-service-btn {
  background: var(--bg-alt);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  transition: all 0.2s ease;
}

.sim-service-btn:hover {
  border-color: var(--mjc-navy);
}

.sim-service-btn.active {
  background: rgba(21, 56, 94, 0.06);
  border-color: var(--mjc-navy);
  color: var(--mjc-navy);
}

.sim-result-box {
  background: linear-gradient(135deg, var(--mjc-navy-dark) 0%, var(--mjc-navy) 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  box-shadow: 0 10px 28px rgba(14, 37, 64, 0.25);
}

.sim-result-label {
  font-size: 0.8rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.sim-result-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FED049;
  line-height: 1;
  margin: 8px 0;
  font-family: var(--font-display);
}

.sim-result-sub {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-bottom: 16px;
}

.sim-result-aids {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 12px;
  font-size: 0.78rem;
  color: #E2E8F0;
  margin-bottom: 16px;
}

.sim-result-aids strong {
  color: #2DD4BF;
}

/* ==========================================================================
   MODALS INTERACTIFS (ESSAI GRATUIT & BOÎTE À IDÉES)
   ========================================================================== */
.mjc-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 37, 64, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mjc-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mjc-modal-card {
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  padding: 32px 28px;
  position: relative;
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mjc-modal-overlay.is-active .mjc-modal-card {
  transform: scale(1);
}

.mjc-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  transition: all 0.2s;
}

.mjc-modal-close:hover {
  background: var(--mjc-coral);
  color: #FFFFFF;
}

.mjc-modal-title {
  font-size: 1.35rem;
  color: var(--mjc-navy);
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 6px;
}

.mjc-modal-desc {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 20px;
}

/* ==========================================================================
   MODULE D'ACCESSIBILITÉ CITOYENNE
   ========================================================================== */
.a11y-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  background: var(--mjc-navy);
  color: #FFFFFF;
  border: 2px solid #FFFFFF;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(21, 56, 94, 0.35);
  transition: transform 0.25s ease, background 0.2s ease;
}

.a11y-toggle-btn:hover {
  transform: scale(1.1);
  background: var(--mjc-coral);
}

.a11y-panel {
  position: fixed;
  bottom: 84px;
  left: 24px;
  z-index: 100;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  padding: 20px;
  width: 280px;
  display: none;
  flex-direction: column;
  gap: 14px;
}

.a11y-panel.is-open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.a11y-title {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--mjc-navy);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.a11y-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.a11y-row label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
}

.a11y-btn-group {
  display: flex;
  gap: 4px;
}

.a11y-btn {
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.a11y-btn.active,
.a11y-btn:hover {
  background: var(--mjc-navy);
  color: #FFFFFF;
}

/* Styles injectés par le mode accessibilité */
body.high-contrast {
  filter: contrast(135%);
  background-color: #000000 !important;
  color: #FFFF00 !important;
}

body.high-contrast a,
body.high-contrast h1,
body.high-contrast h2,
body.high-contrast h3,
body.high-contrast h4 {
  color: #FFFF00 !important;
}

body.high-contrast .btn-primary,
body.high-contrast .btn-primary-header {
  background-color: #FFFF00 !important;
  color: #000000 !important;
  border: 2px solid #FFFFFF !important;
}

body.dyslexic-font {
  font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif !important;
  letter-spacing: 0.05em !important;
  word-spacing: 0.1em !important;
  line-height: 1.8 !important;
}

body.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

/* ==========================================================================
   LES 4 GRANDS PÔLES D'ACTIVITÉS (PAGE D'ACCUEIL)
   ========================================================================== */
.activity-hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 36px;
  margin-bottom: 30px;
}

@media (max-width: 1100px) {
  .activity-hubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .activity-hubs-grid {
    grid-template-columns: 1fr;
  }
}

.activity-hub-card {
  position: relative;
  background: #0F172A;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.activity-hub-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.activity-hub-card .hub-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.42);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
}

.activity-hub-card:hover .hub-image {
  transform: scale(1.06);
  filter: brightness(0.35);
}

.activity-hub-card .hub-content {
  position: relative;
  z-index: 2;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  height: 100%;
  color: #FFFFFF;
}

.hub-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.badge-sport { background: rgba(45, 212, 191, 0.25); color: #2DD4BF; border-color: rgba(45, 212, 191, 0.4); }
.badge-culture { background: rgba(254, 208, 73, 0.25); color: #FED049; border-color: rgba(254, 208, 73, 0.4); }
.badge-jeunesse { background: rgba(234, 84, 90, 0.25); color: #FDA4AF; border-color: rgba(234, 84, 90, 0.4); }
.badge-social { background: rgba(147, 197, 253, 0.25); color: #93C5FD; border-color: rgba(147, 197, 253, 0.4); }

.activity-hub-card .hub-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.activity-hub-card .hub-desc {
  font-size: 0.85rem;
  color: #CBD5E1;
  line-height: 1.45;
  margin-bottom: 16px;
}

.activity-hub-card .hub-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.8rem;
  color: #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.activity-hub-card .hub-btn {
  margin-top: auto;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
  padding: 10px 16px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--mjc-navy) !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   SIMULATEUR CAF TEASER (ACCUEIL)
   ========================================================================== */
.simulator-teaser-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 12px 36px rgba(21, 56, 94, 0.08);
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .simulator-teaser-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

.sim-teaser-badge {
  display: inline-block;
  background: rgba(234, 84, 90, 0.1);
  color: var(--mjc-coral);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.sim-teaser-left h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--mjc-navy);
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.sim-teaser-left p {
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.55;
  margin: 0 0 16px 0;
}

.sim-teaser-perks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-teaser-perks .perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.sim-teaser-cta-box {
  background: linear-gradient(135deg, var(--mjc-navy-dark) 0%, var(--mjc-navy) 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(14, 37, 64, 0.25);
}

.cta-box-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #FED049;
  margin-bottom: 6px;
}

.cta-box-sub {
  font-size: 0.82rem;
  color: #CBD5E1;
  margin-bottom: 18px;
  line-height: 1.45;
}

.sim-teaser-link {
  display: inline-block;
  margin-top: 12px;
  color: #FED049 !important;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.sim-teaser-link:hover {
  opacity: 0.8;
}

/* ==========================================================================
   MODAL LECTURE ARTICLE BLOG
   ========================================================================== */
.modal-article-header {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.modal-article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #64748B;
  margin-top: 6px;
}

.modal-article-body {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.7;
}

.modal-article-body p {
  margin-bottom: 14px;
}
