/* Brussels Parkour School - Style CSS */
/* Thème dark bleu spatial inspiré d'Optalio */

/* Polices auto-hébergées */
@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face { font-family: 'Inter'; src: url('../fonts/Inter-ExtraLight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Light.woff2') format('woff2');      font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Regular.woff2') format('woff2');    font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Medium.woff2') format('woff2');     font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-SemiBold.woff2') format('woff2');   font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-Bold.woff2') format('woff2');       font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../fonts/Inter-ExtraBold.woff2') format('woff2');  font-weight: 800; font-style: normal; font-display: swap; }

/* Variables CSS */
:root {
  --bg-primary: #0a0f1a;
  --bg-secondary: #0d111f;
  --accent-blue: #1d9bf0;
  --text-light: #e6e6e6;
  --text-muted: #a0a0a0;
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Fond animé discret */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(29, 155, 240, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(29, 155, 240, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(29, 155, 240, 0.08) 0%, transparent 50%);
  animation: liquidFlow 20s ease-in-out infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes liquidFlow {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  33% { transform: translateX(30px) translateY(-20px) rotate(1deg); }
  66% { transform: translateX(-20px) translateY(10px) rotate(-1deg); }
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(29, 155, 240, 0.2);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 15, 26, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Bebas Neue', Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  background: linear-gradient(90deg, #fff 0%, #a0c4ff 50%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 12s infinite linear;
  background-size: 200%;
}

.logo-text:hover {
  color: var(--accent-blue);
  animation-play-state: paused;
}

@keyframes shine {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-blue);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-blue), #0ea5e9);
  color: white;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(29, 155, 240, 0.3);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 155, 240, 0.4);
}

/* Menu burger mobile */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 15, 26, 0.8) 0%,
    rgba(13, 17, 31, 0.6) 50%,
    rgba(10, 15, 26, 0.9) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-light), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p,
.hero h2 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero h2 {
  max-width: 800px;
}

.hero-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent-blue), #0ea5e9);
  color: white;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.3);
}

.hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(29, 155, 240, 0.4);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Cards */
.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(29, 155, 240, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid rgba(29, 155, 240, 0.2);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-blue);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

/* Style pour les liens email dans le footer */
.footer-section a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(29, 155, 240, 0.1);
  border-radius: 50%;
  transition: var(--transition);
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(29, 155, 240, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation pour le texte mobile */
@keyframes subtleGlow {
  0%, 90% { 
    text-shadow: none; 
  }
  95% { 
    text-shadow: 0 0 8px rgba(29, 155, 240, 0.8), 0 0 16px rgba(29, 155, 240, 0.4); 
  }
  100% { 
    text-shadow: none; 
  }
}

/* Style pour le titre mobile */
.mobile-site-title {
  display: none;
  font-family: 'Bebas Neue', Impact, Haettenschweiler, 'Arial Narrow Bold', 'Arial Black', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  text-align: center;
  animation: subtleGlow 8s infinite;
  letter-spacing: 1px;
  margin: 0;
  flex: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
    position: relative;
  }
  
  /* Afficher le titre mobile et ajuster la disposition */
  .mobile-site-title {
    display: block;
  }
  
  .logo-section {
    flex: 0 0 auto;
  }
  
  .logo-text {
    display: none; /* Masquer le texte du logo sur mobile */
  }
  
  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2rem;
    transition: var(--transition);
  }
  
  .nav.active {
    left: 0;
  }
  
  .nav-links {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .nav-links a {
    font-size: 1.2rem;
  }
  
  .menu-toggle {
    display: flex;
    flex: 0 0 auto;
  }
  
  .hero {
    height: 80vh;
    padding-top: 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  /* Améliorations pour les cartes sur mobile */
  .card {
    padding: 1.5rem;
  }
  
  /* Améliorations pour les boutons sur mobile */
  .cta-button, .hero-button {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  /* Améliorations pour les formulaires sur mobile */
  input, textarea, select {
    font-size: 16px; /* Évite le zoom automatique sur iOS */
  }
}

/* Images Hero spécifiques pour mobile portrait */
.hero-bg-mobile {
  display: none;
}

@media screen and (max-width: 768px) and (orientation: portrait) {
  /* Masquer l'image desktop */
  .hero-bg-desktop {
    display: none !important;
  }
  
  /* Afficher l'image mobile */
  .hero-bg-mobile {
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: -2;
  }
}

/* Mode landscape et desktop restent inchangés */
@media screen and (orientation: landscape) {
  .hero-bg {
    object-fit: cover;
    object-position: center center;
    transform: none;
  }
}

/* Améliorations pour les écrans très petits */
@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .cta-button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Améliorations pour les écrans moyens */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }
  
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* Améliorations pour les écrans larges */
@media (min-width: 1200px) {
  .container {
    padding: 0 3rem;
  }
}


/* Utilitaires */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Loading states */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Style spécial pour les icônes sociales de la section "Suivez-nous" */
.social-links.large {
  gap: 1rem;
  justify-content: center;
}

.social-links.large a {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
  background: rgba(29, 155, 240, 0.1);
  border-radius: 50%;
  transition: var(--transition);
  color: var(--accent-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-links.large a:hover {
  background: var(--accent-blue);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(29, 155, 240, 0.4);
}

/* Styles pour la page d'accueil */

/* Hero animations */
.hero h1.no-animation {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.hero h1:first-child {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

.hero h1:nth-child(2) {
  opacity: 0;
  animation: fadeInClean 1s ease forwards;
  animation-delay: 0.4s;
}

.hero h2 {
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInUp 1.5s ease forwards;
  animation-delay: 0.8s;
}

@keyframes fadeInClean {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero H1 styling */
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #1d9bf0 0%, #4fc3f7 50%, #81d4fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 0 4px 12px rgba(29, 155, 240, 0.3);
  line-height: 1.2;
}

.hero h1:last-of-type {
  margin-bottom: 1.5rem;
}

/* Hero H2 styling */
.hero h2 {
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin: 0 auto 2rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  text-align: center;
}

/* Carousel */
.carousel-container {
  position: relative;
  max-width: 900px;
  margin: 3rem auto;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform; /* Optimise les animations */
}

.carousel-item {
  min-width: 100%;
  height: 500px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  will-change: transform;
  backface-visibility: hidden; /* Améliore les performances */
  transform: translateZ(0); /* Force l'accélération matérielle */
}

.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.carousel-btn {
  pointer-events: all;
  background: rgba(29, 155, 240, 0.8);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.5rem;
}

.carousel-btn:hover {
  background: var(--accent-blue);
  transform: scale(1.1);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.indicator.active {
  background: var(--accent-blue);
  width: 30px;
  border-radius: 6px;
}

/* Icônes avec texte */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.icon-item {
  text-align: center;
  padding: 2rem;
  transition: var(--transition);
}

.icon-item:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(29, 155, 240, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.icon-item:hover .icon-wrapper {
  background: rgba(29, 155, 240, 0.2);
  box-shadow: 0 8px 25px rgba(29, 155, 240, 0.3);
}

.icon-wrapper i {
  font-size: 3rem;
  color: var(--accent-blue);
}

.icon-top-text {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.icon-bottom-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Témoignages slider */
.testimonials-slider {
  max-width: 800px;
  margin: 3rem auto;
  position: relative;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  color: #1a1a1a;
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin: 1rem;
  text-align: center;
}

.stars {
  color: #FFDF00;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.3rem;
}

.google-logo {
  width: 80px;
  margin: 0 auto 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-style: italic;
  color: #2a2a2a;
}

.testimonial-author {
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.google-reviews-btn {
  margin-top: 2rem;
  text-align: center;
}

.google-reviews-btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.google-reviews-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Vidéo section */
.video-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.video-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.video-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Instagram grid */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 3rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Instagram grid 6 posts (3x2) */
.instagram-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  margin: 3rem 0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}


.instagram-post {
  aspect-ratio: 4/5;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
}

.instagram-post:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.instagram-post {
  position: relative;
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instagram-reel-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.instagram-btn {
  text-align: center;
  margin-top: 2rem;
}

.instagram-btn a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.instagram-btn a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(188, 24, 136, 0.4);
}

/* Responsive carousel */
@media (max-width: 768px) {
  .carousel {
    transition: transform 0.3s ease-out; /* Transition plus rapide sur mobile */
  }
  
  .carousel-item {
    height: 250px; /* Hauteur réduite sur mobile */
  }
  
  /* Désactiver les effets hover sur mobile */
  .carousel-btn:hover {
    transform: none;
  }
  
  /* Optimiser les boutons pour le tactile */
  .carousel-btn {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    touch-action: manipulation; /* Améliore la réactivité tactile */
  }
  
  .icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 100%;
    margin: 3rem auto 0;
  }
  
  .icon-item {
    padding: 1.5rem 1rem;
  }
  
  .icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
  }
  
  .icon-wrapper i {
    font-size: 2.5rem;
  }
  
  .instagram-grid {
    grid-template-columns: 1fr;
  }
  
  .instagram-grid-6 {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .hero-intro {
    font-size: 1rem;
  }
  
  /* Hero responsive */
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
}

/* Styles pour la page cours */

/* Tableau planning */
.table-container {
  max-width: 800px;
  margin: 2rem auto;
  overflow-x: auto;
}

.courses-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.courses-table th {
  background: var(--accent-blue);
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.courses-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
}

.courses-table tr:hover {
  background: rgba(29, 155, 240, 0.1);
  transform: scale(1.01);
  transition: var(--transition);
}

.courses-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Badges de niveau */
.level-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

.level-beginner {
  background: #4caf50;
  color: white;
}

.level-intermediate {
  background: #ff9800;
  color: white;
}

/* Étapes d'inscription */
.inscription-steps {
  color: var(--text-light);
  line-height: 1.8;
  margin: 1.5rem 0;
  padding-left: 1rem;
}

.inscription-steps li {
  margin-bottom: 1rem;
}

.inscription-steps a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
}

.inscription-steps a:hover {
  text-decoration: underline;
}

.inscription-note {
  color: var(--accent-blue);
  font-weight: 600;
  text-align: center;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(29, 155, 240, 0.1);
  border-radius: var(--border-radius);
}

/* Carte IBAN */
.iban-card {
  background: rgba(29, 155, 240, 0.1);
  border: 2px solid var(--accent-blue);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
}

.iban-card h4 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.iban-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  margin: 1rem 0;
}

.iban-note {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Grille des formules */
.formulas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.formula-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.formula-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.formula-full {
  border: 2px solid #ff5722;
  background: rgba(255, 87, 34, 0.1);
}

.formula-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.formula-header h3 {
  color: var(--accent-blue);
  font-size: 1.5rem;
  margin: 0;
}

.formula-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
}

.formula-type {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 1rem;
}

.formula-prerequisite {
  color: #ff9800;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.places-available {
  margin: 1rem 0;
  padding: 0.8rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.places-count {
  font-weight: 600;
  color: #4caf50;
}

.places-full .places-count {
  color: #ff5722;
  font-weight: 700;
}

.places-available-footer {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.places-available-footer .places-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(126, 200, 170, 0.85);
  letter-spacing: 0.02em;
}

.formula-schedule {
  color: var(--text-muted);
  line-height: 1.6;
}

.formula-schedule p {
  margin-bottom: 0.5rem;
}

.formula-schedule strong {
  color: var(--text-light);
}

.formula-planning-link {
  color: var(--accent-blue);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.formula-planning-link:hover {
  color: #5eb8ff;
  text-decoration: underline;
}

.formula-note {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--accent-blue);
}

.formula-note p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

/* Contact rapide */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.contact-item:hover {
  background: rgba(29, 155, 240, 0.1);
}

.contact-item i {
  color: var(--accent-blue);
  font-size: 1.2rem;
  width: 20px;
}

.contact-item a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--accent-blue);
}

/* Responsive pour la page cours */
@media (max-width: 768px) {
  .courses-table {
    font-size: 0.9rem;
  }
  
  .inscription-steps {
    padding-left: 1.5rem;
  }
  
  .courses-table th,
  .courses-table td {
    padding: 0.8rem 0.5rem;
  }
  
  .formulas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .formula-card {
    padding: 1.5rem;
  }
  
  .formula-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .contact-info {
    gap: 1rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .iban-number {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
}

/* Styles pour la page about */

/* Histoire content */
.history-content {
  margin: 3rem 0;
}

.history-text {
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.history-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.history-image-left {
  float: left;
  width: 200px;
  height: auto;
  margin: 0 1.5rem 1rem 0;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.history-image-right {
  float: right;
  width: 150px;
  height: auto;
  margin: 0 0 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Yamakasi content */
.yamakasi-content {
  margin: 3rem 0;
}

.yamakasi-text {
  line-height: 1.8;
  color: var(--text-light);
}

.yamakasi-text p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.yamakasi-image {
  float: left;
  width: 250px;
  height: auto;
  margin: 0 1.5rem 1rem 0;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.yamakasi-poster {
  float: right;
  width: 120px;
  height: auto;
  margin: 0 0 1rem 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Story content */
.story-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--text-light);
}

.story-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.old-photos {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}

.old-photo {
  width: 200px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.old-photo:hover {
  transform: scale(1.05);
}

.history-photos {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  justify-content: center;
}

.history-photo {
  width: 250px;
  height: auto;
  border-radius: var(--border-radius);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.history-photo:hover {
  transform: scale(1.05);
}

/* Timeline Section */
.timeline-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.timeline-title {
  text-align: center;
  color: var(--text-light);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), #4fc3f7);
  border-radius: 2px;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 120px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-blue), #4fc3f7, var(--accent-blue));
  border-radius: 1px;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(15px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item::before {
  content: attr(data-year);
  position: absolute;
  left: -100px;
  top: 2px;
  font-size: 1rem;
  font-weight: 700;
  color: #4fc3f7;
  white-space: nowrap;
  z-index: 2;
}



.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-item h3 {
  color: var(--text-light);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.timeline-item p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-size: 1rem;
}

.timeline-link {
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
  margin-left: 0.5rem;
}

.timeline-link:hover {
  color: var(--accent-blue);
  transform: translateX(3px);
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ParkourDay section */
.parkourday-section {
  margin: 3rem 0;
}

.parkourday-section h3 {
  color: var(--accent-blue);
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.parkourday-section p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.parkourday-carousel {
  margin: 3rem 0;
}

.full-width-carousel {
  max-width: 100%;
  margin: 0;
}

.full-width-carousel .carousel-item {
  height: 500px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 50%, #ff4757 100%);
  padding: 80px 0;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-button-pulse {
  display: inline-block;
  background: white;
  color: #ff4757;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.cta-button-pulse:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
}

/* Responsive pour la page about */
@media (max-width: 768px) {
  .history-image-left,
  .history-image-right,
  .yamakasi-image,
  .yamakasi-poster {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
  
  .old-photos,
  .history-photos {
    flex-direction: column;
    align-items: center;
  }
  
  .old-photo,
  .history-photo {
    width: 100%;
    max-width: 300px;
  }
  
  .timeline-section {
    padding: 60px 0;
  }
  
  .timeline-title {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
  
  .timeline {
    padding-left: 100px;
  }
  
  .timeline-item {
    margin-bottom: 40px;
  }
  
  .timeline-item::before {
    left: -80px;
    top: 1px;
    font-size: 0.9rem;
  }
  
  
  .timeline-item h3 {
    font-size: 1.2rem;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }
  
  .value-card {
    padding: 1.5rem;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
  
  .full-width-carousel .carousel-item {
    height: 300px;
  }
}

/* Styles pour la page actus */

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.article-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.article-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.article-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-content h3 {
  color: var(--text-light);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.article-content p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.article-stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.stat-item {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.3s ease;
}

.like-btn {
  cursor: pointer;
  user-select: none;
}

.like-btn:hover {
  color: var(--accent-blue);
  transform: scale(1.1);
}

.like-btn.liked {
  color: #ff4757;
  animation: heartBeat 0.6s ease-in-out;
}

@keyframes heartBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.category-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.category-card h3 {
  color: var(--accent-blue);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.category-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 50%, #ff4757 100%);
  padding: 80px 0;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-button-pulse {
  display: inline-block;
  background: white;
  color: #ff4757;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.cta-button-pulse:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
}

/* Responsive pour la page actus */
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .article-image {
    height: auto;
  }
  
  .article-content {
    padding: 1.2rem;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
  }
  
  .article-stats {
    gap: 0.8rem;
    flex-wrap: nowrap;
    justify-content: center;
    flex-direction: row;
  }
  
  .stat-item {
    font-size: 0.8rem;
    gap: 0.2rem;
    flex: 1;
    justify-content: center;
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .category-card {
    padding: 1.5rem;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
}

/* Styles pour la page gallery */

/* Albums Grid */
.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.album-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.album-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
}

.album-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-card:hover .album-image img {
  transform: scale(1.05);
}

.album-card h3 {
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  margin: 0;
}

/* Videos Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.video-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.video-link {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-item:hover .video-link img {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.play-button i {
  color: white;
  font-size: 1.5rem;
  margin-left: 3px;
}

.video-item:hover .play-button {
  background: var(--accent-blue);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-item h3 {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 1rem 0.5rem 1rem;
  line-height: 1.3;
}

.video-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0 1rem 1rem 1rem;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 50%, #ff4757 100%);
  padding: 80px 0;
  text-align: center;
  margin: 4rem 0;
}

.cta-section h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-button-pulse {
  display: inline-block;
  background: white;
  color: #ff4757;
  padding: 1.2rem 2.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  animation: pulse 2s infinite;
}

.cta-button-pulse:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 0 10px rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  }
}

/* Responsive pour la page gallery */
@media (max-width: 1024px) {
  .albums-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .albums-grid,
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .album-image,
  .video-link {
    height: 180px;
  }
  
  .album-card h3 {
    font-size: 1.1rem;
    padding: 0.8rem;
  }
  
  .video-item h3 {
    font-size: 1rem;
    margin: 0.8rem 0.8rem 0.4rem 0.8rem;
  }
  
  .video-item p {
    font-size: 0.85rem;
    margin: 0 0.8rem 0.8rem 0.8rem;
  }
  
  .play-button {
    width: 50px;
    height: 50px;
  }
  
  .play-button i {
    font-size: 1.2rem;
  }
  
  .cta-section {
    padding: 60px 20px;
  }
  
  .cta-section h2 {
    font-size: 1.5rem;
  }
}

/* Styles pour les pages albums */

/* Album Description */
.album-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-description h2 {
  color: var(--accent-blue);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.album-description p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0.8rem;
}

.album-description p:last-child {
  margin-bottom: 0;
}

/* Masonry Gallery */
.album-gallery-section {
  padding: 2rem 0 4rem 0;
  background: var(--bg-primary);
}

.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
  margin: 0;
  padding: 0;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.masonry-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  z-index: 1;
  border-radius: var(--border-radius);
}

.masonry-item:hover::before {
  background: rgba(0, 174, 239, 0.15);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.02);
}

.masonry-item:hover {
  box-shadow: 0 8px 25px rgba(0, 174, 239, 0.3);
}

/* Responsive pour les albums */
@media (max-width: 1024px) {
  .masonry-grid {
    column-count: 2;
  }
  
  .album-description h2 {
    font-size: 1.7rem;
  }
  
  .album-description p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .masonry-grid {
    column-count: 1;
  }
  
  .album-description {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .album-description h2 {
    font-size: 1.5rem;
  }
  
  .album-description p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .album-gallery-section {
    padding: 1rem 0 3rem 0;
  }
}

/* Description text styling */
.description-text {
  font-size: 1.1rem !important;
  font-weight: 400 !important;
  line-height: 1.8 !important;
  color: var(--text-light) !important;
  text-align: center;
}

/* PDF Viewer Styles */
.pdf-viewer-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.pdf-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius);
  margin-bottom: 1.5rem;
}

.pdf-btn {
  background: linear-gradient(135deg, var(--accent-blue), #0ea5e9);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.3);
  text-decoration: none;
}

.pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4);
}

.pdf-btn:active {
  transform: translateY(0);
}

.pdf-btn i {
  font-size: 1rem;
}

.pdf-page-info {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.pdf-iframe-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  overflow: hidden;
}

.pdf-iframe-wrapper iframe {
  max-width: 100%;
  height: 800px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
}

/* Fullscreen Mode */
.pdf-viewer-container:fullscreen {
  background: #1a1a2e;
  padding: 2rem;
}

.pdf-viewer-container:fullscreen .pdf-iframe-wrapper {
  height: calc(100vh - 150px);
}

.pdf-viewer-container:fullscreen .pdf-iframe-wrapper iframe {
  height: 100%;
}

/* Responsive PDF Viewer */
@media (max-width: 768px) {
  .pdf-controls {
    gap: 0.5rem;
    padding: 0.8rem;
  }
  
  .pdf-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .pdf-iframe-wrapper {
    padding: 1rem;
  }
  
  .pdf-iframe-wrapper iframe {
    height: 600px;
  }
}

/* Article Viewer Styles */
.article-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.article-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  font-weight: 400;
}

.article-viewer-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.05) 0%, rgba(0, 0, 0, 0.1) 100%);
}

.article-pages {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.article-page {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.article-page.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.article-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fff;
  padding: 0.5rem;
}

.article-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  filter: brightness(1.05);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099cc 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 174, 239, 0.3);
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 174, 239, 0.4);
  background: linear-gradient(135deg, #0099cc 0%, var(--accent-blue) 100%);
}

.back-button i {
  font-size: 1.1rem;
}

/* Mobile Optimizations for Article Viewer */
@media (max-width: 768px) {
  .article-intro {
    padding: 1.5rem 0;
  }
  
  .article-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
  
  .article-viewer-section {
    padding: 2rem 0;
  }
  
  .article-pages {
    gap: 2rem;
  }
  
  .article-image {
    border-radius: 8px;
    padding: 0.3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  
  .article-image:hover {
    transform: none;
    filter: brightness(1.02);
  }
  
  .back-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .article-pages {
    gap: 1.5rem;
  }
  
  .article-image {
    padding: 0.2rem;
  }
}

/* Contact Page Styles */
.contact-header {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-size: 3rem;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
}

.contact-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Contact Direct Cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 174, 239, 0.2);
  border-color: var(--accent-blue);
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099cc 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 20px rgba(0, 174, 239, 0.3);
}

.contact-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-family: 'Bebas Neue', sans-serif;
}

.contact-link {
  display: inline-block;
  font-size: 1.2rem;
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: #0099cc;
  text-shadow: 0 0 10px rgba(0, 174, 239, 0.5);
}

.contact-card p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Locations Grid */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.location-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-blue), #0099cc);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.location-card:hover::before {
  opacity: 1;
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.location-featured {
  border-color: var(--accent-blue);
  background: rgba(0, 174, 239, 0.05);
}

.location-featured::before {
  opacity: 1;
}

.location-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099cc 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 174, 239, 0.3);
}

.location-card h3 {
  font-size: 1.6rem;
  color: var(--text-light);
  margin-bottom: 1rem;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.location-address {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.location-details {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.location-details p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.location-details i {
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.location-badge {
  margin-top: 1.5rem;
  padding: 0.8rem 1.2rem;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.2) 0%, rgba(0, 153, 204, 0.2) 100%);
  border: 1px solid var(--accent-blue);
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.location-badge i {
  color: #FFD700;
}

/* Social Media Section */
.social-media-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.social-media-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-media-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099cc 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-media-card:hover::before {
  opacity: 0.1;
}

.social-media-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent-blue);
  box-shadow: 0 15px 40px rgba(0, 174, 239, 0.3);
}

.social-media-card i {
  font-size: 4rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.social-media-card:hover i {
  color: white;
  text-shadow: 0 0 20px rgba(0, 174, 239, 0.8);
  transform: scale(1.1);
}

.social-media-card span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 600;
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 174, 239, 0.3);
}

.faq-item.active {
  border-color: var(--accent-blue);
  box-shadow: 0 8px 25px rgba(0, 174, 239, 0.2);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.5rem;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-blue);
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-question i {
  font-size: 1rem;
  color: var(--accent-blue);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
  padding-top: 0.5rem;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
  .contact-header h2 {
    font-size: 2.2rem;
  }
  
  .contact-subtitle {
    font-size: 1.1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-card {
    padding: 2rem;
  }
  
  .contact-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }
  
  .locations-grid {
    grid-template-columns: 1fr;
  }
  
  .social-media-section {
    gap: 1.5rem;
  }
  
  .social-media-card {
    width: 150px;
    height: 150px;
  }
  
  .social-media-card i {
    font-size: 3rem;
  }
  
  .faq-question {
    font-size: 1rem;
    padding: 1.2rem;
  }
  
  .faq-answer {
    padding: 0 1.2rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .social-media-card {
    width: 130px;
    height: 130px;
  }
  
  .social-media-card i {
    font-size: 2.5rem;
  }
  
  .social-media-card span {
    font-size: 1rem;
  }
}

/* Article Stats */
.article-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.stat-item span {
  font-size: 1.1rem;
}

/* Comment System */
.comment-form-container {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.comment-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1rem;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-comment-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #0099cc 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 174, 239, 0.3);
  justify-self: start;
}

.submit-comment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 174, 239, 0.4);
}

.submit-comment-btn i {
  font-size: 1.1rem;
}

/* Comments Container */
.comments-container {
  margin-top: 2rem;
}

.no-comments {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.no-comments i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-blue);
  opacity: 0.5;
}

.no-comments p {
  font-size: 1.1rem;
}

.comment-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.comment-item:hover {
  border-color: rgba(0, 174, 239, 0.3);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
}

.comment-author i {
  font-size: 1.5rem;
  color: var(--accent-blue);
}

.comment-date {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.comment-content {
  color: var(--text-light);
  line-height: 1.7;
}

.comment-content p {
  margin: 0;
  font-size: 1rem;
}

/* Responsive Comment System */
@media (max-width: 768px) {
  .article-stats {
    gap: 2rem;
    padding: 1.5rem;
  }
  
  .stat-item {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .stat-item i {
    font-size: 1.3rem;
  }
  
  .stat-item span {
    font-size: 1rem;
  }
  
  .comment-form-container {
    padding: 1.5rem;
  }
  
  .comment-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .comment-date {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .article-stats {
    flex-direction: row;
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  
  .stat-item {
    flex-direction: row;
    justify-content: center;
    flex: 1;
    font-size: 0.75rem;
  }
}

/* Article Content Styles */
.article-content-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
}

.article-text {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
  color: var(--text-light);
}

.article-text h2 {
  font-size: 2.2rem;
  color: var(--accent-blue);
  margin: 3rem 0 2rem 0;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  text-align: center;
}

.article-text h3 {
  font-size: 1.6rem;
  color: var(--text-light);
  margin: 2.5rem 0 1.5rem 0;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
}

.article-text p {
  margin-bottom: 1.8rem;
  text-align: justify;
}


.article-text strong {
  color: var(--accent-blue);
  font-weight: 600;
}

.article-text em {
  color: var(--text-muted);
  font-style: italic;
}

.article-text blockquote {
  background: rgba(0, 174, 239, 0.1);
  border-left: 4px solid var(--accent-blue);
  padding: 2rem;
  margin: 3rem 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-light);
  text-align: center;
}

.article-text blockquote p {
  margin: 0;
  text-align: center;
}

.article-image-container {
  margin: 3rem 0;
  text-align: center;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.article-image-container.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.article-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  background: #fff;
  padding: 0.5rem;
}

.article-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  filter: brightness(1.05);
}

/* Responsive Article */
@media (max-width: 768px) {
  .article-content-section {
    padding: 2rem 0;
  }
  
  .article-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .article-text h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem 0;
  }
  
  .article-text h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
  }
  
  .article-text p {
    margin-bottom: 1.5rem;
    text-align: left;
  }
  
  .article-text blockquote {
    padding: 1.5rem;
    margin: 2rem 0;
    font-size: 1.1rem;
  }
  
  .article-image-container {
    margin: 2rem 0;
  }
  
  .article-image {
    border-radius: 8px;
    padding: 0.3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }
  
  .article-image:hover {
    transform: none;
    filter: brightness(1.02);
  }
}

@media (max-width: 480px) {
  .article-text h2 {
    font-size: 1.6rem;
  }
  
  .article-text h3 {
    font-size: 1.3rem;
  }
  
  .article-text blockquote {
    padding: 1rem;
    font-size: 1rem;
  }
}

/* Focus states pour l'accessibilité */
a:focus,
button:focus {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* Images inline dans les articles */
.article-image-inline {
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  background: #fff;
  padding: 0.3rem;
  margin: 1rem;
  border: 2px solid rgba(29, 155, 240, 0.1);
}

.article-image-inline:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
  filter: brightness(1.03);
  border-color: rgba(29, 155, 240, 0.3);
}

.article-image-inline.left {
  float: left;
  margin-right: 1.5rem;
  margin-left: 0;
}

.article-image-inline.right {
  float: right;
  margin-left: 1.5rem;
  margin-right: 0;
}

/* Clearfix pour les images flottantes */
.article-text::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive pour les images inline */
@media (max-width: 768px) {
  .article-image-inline {
    max-width: 250px;
    margin: 0.8rem;
  }
  
  .article-image-inline.left,
  .article-image-inline.right {
    float: none;
    display: block;
    margin: 1rem auto;
  }
}

/* Video Facade Styles */
.video-facade {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    cursor: pointer;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.video-facade:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(29, 155, 240, 0.3);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.video-facade:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.video-facade:hover .play-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(29, 155, 240, 0.4);
}

.play-button i {
    font-size: 24px;
    color: white;
    margin-left: 4px; /* Ajustement visuel pour centrer l'icône */
}

.video-facade:hover .play-button {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(29, 155, 240, 0.6);
}

.video-loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: var(--border-radius);
}

.loading-spinner {
    text-align: center;
    color: var(--text-light);
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--accent-blue);
    margin-bottom: 1rem;
}

.loading-spinner p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Optimisation H2 hero pour bureau uniquement */
@media (min-width: 769px) {
    .hero-content h2 {
        font-size: 1.3rem;  /* Augmentation de 30% sur bureau */
        font-weight: 500;   /* Plus lisible */
        line-height: 1.5;   /* Meilleur espacement */
    }
}

/* ========================================
   OPTIMISATION CARROUSEL MOBILE WEBP
   ======================================== */

/* Version Mobile : Images WebP optimisées */
@media (max-width: 768px) {
    .carousel-img-1 img {
        content: url('../images/Cours/webp/mobile/cours018.webp');
    }
    .carousel-img-2 img {
        content: url('../images/Cours/webp/mobile/cours019.webp');
    }
    .carousel-img-3 img {
        content: url('../images/Cours/webp/mobile/cours017.webp');
    }
    .carousel-img-4 img {
        content: url('../images/Cours/webp/mobile/cours04.webp');
    }
    .carousel-img-5 img {
        content: url('../images/Cours/webp/mobile/cours01.webp');
    }
    .carousel-img-6 img {
        content: url('../images/Cours/webp/mobile/cours011.webp');
    }
    .carousel-img-7 img {
        content: url('../images/Cours/webp/mobile/cours015.webp');
    }
    .carousel-img-8 img {
        content: url('../images/Cours/webp/mobile/cours06.webp');
    }
}

/* ========================================
   OPTIMISATION SECTION RÉSEAUX RESPONSIVE
   ======================================== */

/* Version Bureau : Vidéo + Instagram */
.videos-desktop {
    display: block;
}

.social-mobile {
    display: none;
}

/* Version Bureau : Section Suivez-nous avec liens sociaux */
.social-desktop {
    display: block;
}

/* Version Mobile : Liens sociaux uniquement */
@media (max-width: 768px) {
    .videos-desktop {
        display: none;
    }
    
    .social-desktop {
        display: none;
    }
    
    .social-mobile {
        display: block;
    }
    
    .social-mobile .section-title {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .social-mobile .section-title h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .social-mobile .section-title p {
        color: var(--text-muted);
        font-size: 1rem;
    }
}



/* Responsive */
@media (max-width: 768px) {
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
  .article-image-inline {
    max-width: 200px;
    margin: 0.5rem;
    padding: 0.2rem;
  }
}

/* Responsive pour les statistiques de la page actus */
@media (max-width: 480px) {
  .article-stats {
    gap: 0.5rem;
    flex-wrap: nowrap;
  }
  
  .stat-item {
    font-size: 0.75rem;
    flex: 1;
    justify-content: center;
  }
}

/* Couleur des légendes d'images - uniquement pour la page chaussures */
.chaussure-page figcaption {
    color: #000000 !important;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Masquer les figcaption sur mobile pour la page chaussures */
@media (max-width: 768px) {
    .chaussure-page figcaption {
        display: none !important;
    }
}

/* ========================================
   ARTICLE SEUL - MÊME TAILLE QUE LES AUTRES
   ======================================== */

/* Garder la même largeur pour un article seul */
.articles-grid.single-article {
    display: flex;
    justify-content: flex-start;
}

.articles-grid.single-article .article-card {
    max-width: calc(50% - 1rem);
    flex: 0 0 calc(50% - 1rem);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .articles-grid.single-article .article-card {
        max-width: 100%;
        flex: 0 0 100%;
    }
}


/* Version Bureau : zoom libre (pas de limitation de taille) */
@media (min-width: 769px) {
    /* Désactiver le zoom sur desktop pour les albums */
    .glightbox-container .glightbox-content img {
        cursor: default !important;
        pointer-events: none !important;
    }
    
    .glightbox-container .glightbox-content {
        cursor: default !important;
        pointer-events: none !important;
    }
}

/* Version Mobile : garder les limitations pour un zoom contrôlé */
@media (max-width: 768px) {
    .glightbox-container .glightbox-content {
        max-width: 60vw !important;
        max-height: 40vh !important;
        width: 60vw !important;
        height: 40vh !important;
    }
}

/* Ajuster l'image dans le modal */
.glightbox-container .glightbox-content img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Centrer le modal */
.glightbox-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Zoom tactile pour mobile */
@media (max-width: 768px) {
    .glightbox-container .glightbox-content img {
        touch-action: manipulation !important;
        -webkit-user-select: none !important;
        user-select: none !important;
        -webkit-touch-callout: none !important;
        -webkit-tap-highlight-color: transparent !important;
        transform-origin: center !important;
        transition: transform 0.3s ease !important;
    }
    
    /* Permettre le zoom tactile sur le conteneur */
    .glightbox-container {
        touch-action: manipulation !important;
        -webkit-overflow-scrolling: touch !important;
    }
}
