/* Color Palette inspired by LEKOWA logo */
:root {
  /* Primary Colors from Logo */
  --primary-green: #146610f6;
  --primary-blue:  #001994;
  --primary-gold:  #000b3e;
  --accent-green:  #338b00;
  --accent-blue:   #22ade4;
  --accent-green2: #377a10e7;
  --black: #010a1de7;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-blue) 100%);
  --gradient-gold: linear-gradient(135deg, var(--primary-gold) 0%, #000b3e 100%);
  --gradient-green: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Monstera', sans-serif;
  line-height: 1.6;
  color: var(--green-800);
  background-color: rgb(238, 245, 237);
  
  /* Image de fond */
  background-image: url('lekowa-bac.png');
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  background-repeat: repeat;
  
  /* Position pour accueillir le ::before */
  position: relative;
  z-index: 0;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 25px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Monstera', sans-serif;
  font-weight: 600;
  color: var(--accent-green);
  line-height: 2;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(238, 245, 237);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: var(--transition-medium);
}

.navbar.scrolled {
  background: rgb(238, 245, 237);
  box-shadow: var(--shadow-lg);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  text-decoration: 'text-decoration-line';
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-text {
  font-family: 'Monstera', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.logo-year {
  font-size: 1rem;
  color: var(--primary-blue);
  font-weight: 600;
}

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

.nav-links.mobile-open {
  display: flex;
}

.nav-link {
  text-decoration: none;
  color: var(--gray-600);
  font-weight: 500;
  transition: var(--transition-medium);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gold);
  transition: var(--transition-medium);
}

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

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

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary-blue);
  transition: var(--transition-medium);
}

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

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

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

/* Page System */
.page-container {
  padding-top: 105px;
}

.page {
  display: none;
  min-height: calc(110vh - 100px);
}

.page.active {
  display: block;
}

.page-header {
  background: rgba(235, 229, 229, 0.904); backdrop-filter: blur(3px);
  color: var(--blue);
  padding: 4rem 0;
  text-align: center;
}

.page-title {
  font-family: 'Monstera', serif;
  font-size: 5rem;
  margin-bottom: 1rem;
  background: linear-gradient(120deg, var(--white) 0%, var(--primary-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: green;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.5rem;
  opacity: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-medium);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-outline {
  background: transparent;
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.btn-outline:hover {
  background: var(--primary-green);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Bouton "Générer mon Badge" */
.badge-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-green);
  color: var(--gray-900);
  font-weight: 700;
  padding: 0.85rem 2rem;
  margin-top: 1rem;
  border-radius: 50px;
  text-align: center;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, transform 0.2s, box-shadow 0.3s;
  box-shadow: var(--shadow-lg);
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.badge-button:hover,
.badge-button:focus {
  background: linear-gradient(135deg, #000b3e 0%, #000b3e 100%);
  color: var(--white);
  transform: translateY(-2px) scale(1.03);
  box-shadow: var(--shadow-xl);
  outline: none;
}

.badge-button:active {
  transform: scale(0.98);
}

.badge-button.btn-full {
  width: 100%;
  margin-top: 1rem;
}

/* Responsive for badge-button */
@media (max-width: 768px) {
  .badge-button,
  .badge-button.btn-full {
    width: 100%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}



/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: rgba(30, 64, 175, 0.2); /* Fond semi-transparent pour laisser voir l’image */
  color: var(--white);
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-primary);
  color: var(--white);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23a)"/></svg>');
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--primary-gold);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.7px;
  text-align: center;
  background: rgba(38, 155, 22, 0.1);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(29, 224, 39, 0.75);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(29, 224, 39, 0.75);
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-family: 'Monstera', serif;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.hero-subtitle::before {
  content: '';
  position: absolute;
  top: 0%;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(29, 224, 39, 0.75), transparent);
  transition: left 0.5s ease;
}

.hero-subtitle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(18, 16, 116, 0.5);
  border-color: rgba(18, 16, 116, 0.5);
}

.hero-subtitle:hover::before {
  left: 100%;
}

.hero-text {
  text-align: center;
}

.hero-title {
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  background: linear-gradient(150deg, var(--white) 0%, var(--primary-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: text;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  opacity: 1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}


.image-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5px;
}

/* Image animation*/
img {
  transition: transform 0.1s ease;
}

img:hover {
  transform: scale(2.05);
}

/* Fin*/

.text-container h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.text-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.responsive-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Responsive */
@media (min-width: 368px) {
  .image-section {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .text-container {
    flex: 1;
    padding-right: 30px;
  }

  .responsive-img {
    flex: 1;
    max-width: 60%;
  }
}



.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: var(--shadow-2xl);
  transition: var(--transition-medium);
  order: 2;
}

.countdown-container {
  order: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image:hover img {
  transform: scale(1.02);
}

/* Countdown Timer */
.countdown-timer {
  position: relative;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #1e3a8a 0%, #312e81 50%, #1e1b4b 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-title {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  font-weight: 600;
}

.countdown-display {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
  flex: 1;
  max-width: 90px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

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

.time-value {
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
  font-family: 'Playfair Display', serif;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
  margin-bottom: 0.3rem;
}

.time-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

/* Features Section */
.features {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.75);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-subtitle {
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition-medium);
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-description {
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.feature-actions .btn {
  flex: 1;
  min-width: 120px;
  max-width: 140px;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}

/* Info Section */
.info-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.75);
}

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

.info-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-medium);
}

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

.info-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.info-description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* News Page */
.news-content {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.8);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-medium);
}

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

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

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

.news-content {
  padding: 1.5rem;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.news-date {
  color: var(--gray-500);
}

.news-category {
  color: var(--primary-green);
  font-weight: 600;
}

.news-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.news-excerpt {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.news-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Tickets Page */
.tickets-content {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.8);
}

.tickets-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
  gap: 2rem;
  margin-bottom: 3rem;
}

.ticket-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 2px solid var(--gray-200);
  position: relative;
  transition: var(--transition-medium);
}

.ticket-card.featured {
  border-color: var(--primary-gold);
  transform: scale(1.05);
}

.ticket-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.ticket-card.featured:hover {
  transform: translateY(-5px) scale(1.05);
}

.ticket-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gradient-gold);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

.ticket-header {
  text-align: center;
  margin-bottom: 2rem;
}

.ticket-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.ticket-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
}

.ticket-features ul {
  list-style: none;
  margin-bottom: 2rem;
}

.ticket-features li {
  padding: 0.5rem 0;
  color: var(--gray-600);
}

.payment-section {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 16px;
  margin-top: 3rem;
}

.payment-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--gray-700);
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition-medium);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-green);
}

.payment-methods {
  display: flex;
  gap: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.order-summary {
  background: var(--gray-50);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.summary-line.total {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-green);
  border-top: 1px solid var(--gray-200);
  padding-top: 0.5rem;
  margin-top: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Live Page */
.live-content {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.8);
}

.live-status {
  text-align: center;
  margin-bottom: 3rem;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.status-indicator.offline {
  background: var(--gray-100);
  color: var(--gray-600);
}

.status-indicator.online {
  background: var(--accent-green);
  color: var(--white);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.live-preview {
  margin-bottom: 3rem;
}

.video-placeholder {
  background: var(--gray-100);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  border: 2px dashed var(--gray-300);
}

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

.schedule-grid {
  display: grid;
  gap: 1rem;
}

.schedule-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary-green);
}

.schedule-time {
  font-weight: 600;
  color: var(--primary-green);
  min-width: 80px;
}

.schedule-content h4 {
  margin-bottom: 0.5rem;
}

.schedule-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* Contact Page */
.contact-content {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.contact-details p {
  color: var(--gray-600);
}

.social-links {
  margin-top: 2rem;
}

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

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--white);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  z-index: 2;
  position: relative;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: var(--transition-medium);
  z-index: 1;
}

.social-icon.facebook::before {
  background: linear-gradient(135deg, #1877F2 0%, #42A5F5 100%);
}

.social-icon.tiktok::before {
  background: linear-gradient(135deg, #FF0050 0%, #000000 100%);
}

.social-icon.whatsapp::before {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.social-icon.instagram::before {
  background: linear-gradient(135deg, #E4405F 0%, #FFDC80 50%, #405DE6 100%);
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.social-icon:hover::before {
  opacity: 1;
}

.social-icon:hover svg {
  color: var(--white);
}

.contact-forms {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 16px;
}

.form-section h3 {
  margin-bottom: 1rem;
}

.map-section {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 16px;
}

.map-placeholder {
  background: var(--white);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  border: 2px dashed var(--gray-300);
}

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

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--white);
  margin: 5% auto;
  padding: 2rem;
  border-radius: 16px;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  color: var(--gray-500);
}

.close:hover {
  color: var(--gray-800);
}

.comments-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.comment-form {
  margin-bottom: 2rem;
}

.comment-form textarea {
  margin-bottom: 1rem;
}

.comment {
  padding: 1rem;
  background: var(--gray-50);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.comment-author {
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.5rem;
}

.comment-text {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.comment-date {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 1rem;
}

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

/* --- Footer 2-part mobile layout --- */
@media (max-width: 768px) {
  .footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin-bottom: 2rem;
    /* Correction: remove grid-template-columns and text-align here */
  }
  .footer-left,
  .footer-right {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-left {
    order: 1;
    border-bottom: 1px solid var(--gray-700);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .footer-right {
    order: 2;
    gap: 2rem;
  }
  .footer-section {
    text-align: left;
    margin-bottom: 0;
  }
  .footer-section:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .footer-left,
  .footer-right {
    gap: 1rem;
    padding: 0;
  }
  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
  }
  .footer-section {
    padding: 0;
  }
}

/* Hero Section spacing improvement */
.hero.header-spaced {
  padding-top: 6rem;
  padding-bottom: 4rem;
}

.spacer-lg {
  height: 4rem;
  width: 100%;
  display: block;
}

/* Responsive adjustments for spacing */
@media (max-width: 768px) {
  .hero.header-spaced {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }
  .spacer-lg {
    height: 2rem;
  }
}

@media (max-width: 480px) {
  .hero.header-spaced {
    padding-top: 2rem;
    padding-bottom: 1.2rem;
  }
  .spacer-lg {
    height: 1rem;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
   display: flex !important;
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    gap: 0;
  }
  
  .nav-links.mobile-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
     display: flex !important;
  }
  
  .nav-links li {
    margin-bottom: 1rem;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    display: block;
    width: 100%;
  }
  
  .countdown-timer {
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
  }
  
  .countdown-display {
    gap: 0.8rem;
  }
  
  .time-unit {
    min-width: 70px;
    padding: 1rem 0.6rem;
  }
  
  .time-value {
    font-size: 1.8rem;
  }
  
  .countdown-title {
    font-size: 1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-image {
    gap: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .tickets-grid {
    grid-template-columns: 1fr;
  }
  
  .ticket-card.featured {
    transform: none;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .modal-content {
    margin: 10% 5%;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .countdown-timer {
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
  }
  
  .countdown-display {
    gap: 0.6rem;
  }
  
  .time-unit {
    min-width: 60px;
    padding: 0.8rem 0.5rem;
  }
  
  .time-value {
    font-size: 1.5rem;
  }
  
  .time-label {
    font-size: 0.7rem;
  }
  
  .countdown-title {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-image {
    gap: 1rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .payment-methods {
    flex-direction: column;
  }
}




body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    rgba(45, 140, 70, 0.05),
    rgba(45, 140, 70, 0.05)
  );
  z-index: -1;
  pointer-events: none;
}

/*Bande Passante */

.bande-passante {
  background-color: var(--primary-white); /* ou une couleur forte */
  color: rgb(11, 33, 75);
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  padding: 0.5rem 0;
  position: relative;
  z-index: 1000;
}

.bande-passante p {
  display: inline-block;
  padding-left: 120%;
  animation: defilement 15s linear infinite;
}

@keyframes defilement {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/*Vidéo*/

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

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 50px;
  width: 80%;
  height: 80%;
}


/* Accreditation Form */
.accreditation-content {
  padding: 4rem 0;
}

.accreditation-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--primary-gold);
}

.form-group {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--primary-green);
}

.form-group legend {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="url"],
.form-field input[type="date"],
.form-field input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--gray-800);
  transition: var(--transition-fast);
}

.form-field input:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(20, 102, 16, 0.1);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--gray-700);
}

.checkbox-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
  accent-color: var(--primary-green);
}

.other-role input[type="text"],
.specific-day input[type="date"],
.other-activity input[type="text"] {
  margin-top: 0.5rem;
  width: calc(100% - 2rem);
}

.form-actions {
  text-align: center;
  margin-top: 2rem;
}

.form-note {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 1rem;
}

.required {
  color: var(--primary-gold);
  font-weight: bold;
}

.signature-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .accreditation-form {
    padding: 1.5rem;
  }
  .form-group {
    padding: 1rem;
  }
  .form-group legend {
    font-size: 1.5rem;
  }
}

/* Disable form after deadline */
.form-disabled {
  opacity: 0.6;
  pointer-events: none;
}

.form-disabled::before {
  content: "Le délai de soumission est expiré (28 juillet 2025).";
  display: block;
  color: var(--primary-gold);
  font-weight: bold;
  text-align: center;
  margin-bottom: 1rem;
}

/* Conteneur des cartes d’actualité */
.news-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 0;
  scroll-behavior: smooth;
}

/* Sur desktop, transforme l’affichage horizontal en grille */
@media (min-width: 768px) {
  .news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    overflow: visible;
  }
}

/* Style de chaque carte */
.news-card {
  flex: 0 0 auto;
  width: 220px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: scale(1.05);
}

/* Image dans la carte */
.news-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/*Affichage programme */

