﻿/* RESET & VARIABLES */
:root {
  --primary: #6B5BFF;
  --primary-dark: #5548d6;
  --primary-light: #8a7dff;
  --secondary: #FF9E6B;
  --accent: #41D395;
  --white: #ffffff;
  --light-bg: #f8f9ff;
  --light: #f2f4ff;
  --dark: #222222;
  --gray: #6c757d;
  --gray-light: #e9ecef;
  --card-bg: #ffffff;
  --shadow: 0 4px 20px rgba(107, 91, 255, 0.15);
  --shadow-hover: 0 10px 30px rgba(107, 91, 255, 0.25);
  --gradient: linear-gradient(135deg, var(--primary), var(--primary-dark));
  --gradient-secondary: linear-gradient(135deg, var(--secondary), #FF7B3B);
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #ffffff;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--light-bg);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* NAVBAR MODERNISÉE */
/* ========================================
   FLOATING NAVBAR - STYLE GDR AGENCY
   ======================================== */

.floating-navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1002;
  width: calc(100% - 40px);
  max-width: 1200px;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 100px;
  padding: 12px 15px 12px 25px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08), 
              0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.floating-navbar.scrolled .navbar-inner {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

/* Logo */
.floating-navbar .logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.floating-navbar .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
}

.floating-navbar .logo-palet {
  color: #1a1a2e;
}

.floating-navbar .logo-22 {
  color: var(--primary);
}

.floating-navbar .logo-35 {
  color: var(--primary);
  margin-left: 2px;
}

/* Navigation desktop */
.nav-desktop {
  display: flex;
  align-items: center;
}

.nav-desktop .nav-menu {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.nav-desktop .nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  color: #4a4a5a;
  padding: 10px 18px;
  border-radius: 50px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-desktop .nav-link:hover {
  color: var(--primary);
  background: rgba(107, 91, 255, 0.08);
}

.nav-desktop .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* CTA Button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.3);
  flex-shrink: 0;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(107, 91, 255, 0.4);
}

.nav-cta i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.nav-cta:hover i {
  transform: translateX(3px);
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  gap: 5px;
  border-radius: 12px;
  transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(107, 91, 255, 0.08);
}

.burger-line {
  width: 22px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active .burger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .burger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .burger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   MOBILE MENU OVERLAY
   ======================================== */

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: white;
  border-radius: 30px 0 0 30px;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-menu-overlay.active .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 25px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-menu-header .logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.mobile-close-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(107, 91, 255, 0.1);
  color: var(--primary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-close-btn:hover {
  background: var(--primary);
  color: white;
}

/* Mobile navigation */
.mobile-nav {
  flex: 1;
  padding: 30px 25px;
  overflow-y: auto;
}

.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 16px 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #4a4a5a;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: rgba(107, 91, 255, 0.08);
  color: var(--primary);
}

/* Mobile menu footer */
.mobile-menu-footer {
  padding: 20px 25px 35px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 16px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.3);
}

.mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(107, 91, 255, 0.4);
}

/* ========================================
   RESPONSIVE - FLOATING NAVBAR
   ======================================== */

@media (max-width: 1024px) {
  .nav-desktop .nav-menu {
    gap: 0.2rem;
  }
  
  .nav-desktop .nav-link {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
  
  .nav-cta {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  
  .nav-cta {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .floating-navbar {
    top: 15px;
    width: calc(100% - 30px);
  }
  
  .navbar-inner {
    padding: 10px 15px 10px 20px;
  }
}

@media (max-width: 480px) {
  .floating-navbar {
    top: 10px;
    width: calc(100% - 20px);
  }
  
  .navbar-inner {
    padding: 8px 12px 8px 18px;
    border-radius: 60px;
  }
  
  .floating-navbar .logo-text {
    font-size: 1.3rem;
  }
  
  .mobile-menu-panel {
    max-width: 100%;
    border-radius: 0;
  }
}

/* Ajuster le padding du body pour la navbar flottante */
body {
  padding-top: 0;
}

/* Le hero doit commencer en haut et avoir son propre padding pour la navbar */
.new-hero {
  padding-top: 120px;
}

@media (max-width: 900px) {
  .new-hero {
    padding-top: 110px;
  }
}

@media (max-width: 480px) {
  .new-hero {
    padding-top: 100px;
  }
}

/* HERO SECTION */
.hero {
  background: var(--gradient);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="rgba(255,255,255,0.05)"/></svg>');
  background-size: cover;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

/* SECTION HEADER */
.section-header {
  text-align: center;
  margin: 4rem 0 3rem;
  position: relative;
}

/* Scroll margin pour compenser la navbar flottante */
section[id] {
  scroll-margin-top: 100px;
}

@media (max-width: 900px) {
  section[id] {
    scroll-margin-top: 90px;
  }
}

@media (max-width: 480px) {
  section[id] {
    scroll-margin-top: 80px;
  }
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: var(--primary-dark);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

/* BOUTON DE CHANGEMENT DE VUE - En haut à droite */
.view-toggle-container {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 16px rgba(107, 91, 255, 0.1);
  border: 1px solid rgba(107, 91, 255, 0.15);
  transition: all 0.3s ease;
  position: absolute;
  top: 0;
  right: 0;
}

.view-toggle-container:hover {
  box-shadow: 0 6px 20px rgba(107, 91, 255, 0.15);
  border-color: rgba(107, 91, 255, 0.25);
}

.view-toggle-btn {
  background: transparent;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: var(--gray);
  font-size: 1.1rem;
  position: relative;
}

.view-toggle-btn:hover {
  color: var(--primary);
  transform: scale(1.05);
}

.view-toggle-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 12px rgba(107, 91, 255, 0.3);
}

.view-toggle-btn.active:hover {
  transform: scale(1);
}

/* AGENDA CONTROLS */
.agenda-controls {
  padding: 1.5rem;
  border-radius: var(--border-radius);
}

/* CORRECTIONS POUR LA BARRE DE RECHERCHE */
.search-container {
  position: relative;
  margin-bottom: 2rem;
  max-width: 100%;
}

.search-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(107, 91, 255, 0.1);
  padding: 5px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(107, 91, 255, 0.15);
  display: flex;
  align-items: center;
}

.search-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(107, 91, 255, 0.4);
  box-shadow: 0 12px 40px rgba(107, 91, 255, 0.2);
  transform: translateY(-2px);
}

.search-container input {
  width: 100%;
  padding: 16px 25px 16px 55px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 500;
  background: transparent;
  color: var(--dark);
  transition: var(--transition);
  flex: 1;
}

.search-container input::placeholder {
  color: #a0a0c0;
  font-weight: 400;
}

.search-container input:focus {
  outline: none;
  box-shadow: none;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: 1.3rem;
  z-index: 2;
  transition: var(--transition);
}

.search-wrapper:focus-within .search-icon {
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}

.search-actions {
  display: flex;
  gap: 5px;
  padding-right: 10px;
}

.search-filter-btn {
  background: var(--primary-light);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.search-filter-btn:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.search-btn {
  background: var(--gradient);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.1rem;
}

.search-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(107, 91, 255, 0.3);
}

/* Filtres avancés */
.advanced-filters {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 1rem;
  box-shadow: var(--shadow);
  display: none;
  animation: fadeInUp 0.4s ease;
}

.advanced-filters.active {
  display: block;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  margin-bottom: 0;
}

.filter-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.filter-group select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light-bg);
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 91, 255, 0.2);
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
}

.filter-actions button {
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.filter-apply {
  background: var(--primary);
  color: var(--white);
}

.filter-apply:hover {
  background: var(--primary-dark);
}

.filter-reset {
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--gray-light) !important;
}

.filter-reset:hover {
  background: var(--gray-light);
  color: var(--dark);
}

/* Suggestion de recherche */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  margin-top: 5px;
  z-index: 10;
  max-height: 300px;
  overflow-y: auto;
  display: none;
}

.search-suggestions.active {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.suggestion-item {
  padding: 12px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: var(--light-bg);
}

.suggestion-item i {
  color: var(--primary);
  font-size: 1rem;
}

.suggestion-text {
  flex: 1;
}

.suggestion-city {
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2px;
}

/* Indicateur de recherche */
.search-status {
  text-align: center;
  margin: 1rem 0;
  color: var(--gray);
  font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
  .agenda-controls {
    padding: 1rem 0.5rem;
  }

  .search-container {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .search-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .search-container input {
    padding: 16px 90px 16px 50px;
    font-size: 1rem;
    width: 100%;
  }

  .search-icon {
    left: 18px;
    font-size: 1.1rem;
  }

  .filter-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .search-actions {
    right: 8px;
    gap: 6px;
  }

  .search-filter-btn,
  .search-btn {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .agenda-controls {
    padding: 0.75rem 0.25rem;
  }

  .search-container {
    margin-bottom: 1.5rem;
  }

  .search-wrapper {
    padding: 4px;
  }

  .search-container input {
    padding: 14px 85px 14px 45px;
    font-size: 0.95rem;
  }

  .search-icon {
    left: 15px;
    font-size: 1rem;
  }

  .search-filter-btn,
  .search-btn {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* AGENDA LIST */
.agenda-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.agenda-date {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  background: var(--light-bg);
  border-bottom: 2px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
}

.date-badge {
  background: var(--light-bg);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid var(--gray-light);
}

.tournoi-card {
  background: var(--card-bg);
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 0.75rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s forwards;
  transition: var(--transition);
  border-left: 3px solid var(--primary);
}

.tournoi-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(107, 91, 255, 0.15);
}

.tournoi-info {
  margin-bottom: 1rem;
}

.tournoi-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.tournoi-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.tournoi-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tournoi-meta i {
  color: var(--primary);
}

.tournoi-description {
  color: var(--gray);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0.75rem 0 1rem 0;
  padding: 0.75rem;
  background: var(--light-bg);
  border-radius: 8px;
}

.tournoi-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-light);
}

.tournoi-actions .btn {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  min-width: 200px;
}

.tournoi-actions .btn-primary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(107, 91, 255, 0.15);
}

.tournoi-actions .btn-primary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(107, 91, 255, 0.3);
}

.tournoi-actions .btn-primary i {
  font-size: 1.1rem;
}

/* Masquer le bouton secondaire (Participer) s'il existe */
.tournoi-actions .btn-secondary {
  display: none !important;
}

/* MAP SECTION */
.map-section {
  background: var(--light-bg);
}

.map-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 500px;
}

#map {
  height: 100%;
  width: 100%;
  z-index: 1;
}

/* LÉGENDE CARTE - HORIZONTALE BAS GAUCHE */
.map-legend {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1rem;
  border-radius: 25px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: none;
}

.map-legend h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  white-space: nowrap;
}

.legend-items {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.75rem;
  color: var(--gray);
  white-space: nowrap;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* ABOUT SECTION AMÉLIORÉE */
.about {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="30" fill="rgba(107, 91, 255, 0.05)"/></svg>');
  background-repeat: no-repeat;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-text {
  padding-right: 2rem;
}

.about-intro {
  margin-bottom: 3rem;
}

.about-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--dark);
  margin-bottom: 2rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.feature-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.feature-content p {
  color: var(--gray);
  line-height: 1.6;
}

.about-image {
  position: relative;
}

.image-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.image-container:hover img {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(107, 91, 255, 0.2) 0%, rgba(65, 211, 149, 0.2) 100%);
  z-index: 1;
}

/* ADD TOURNAMENT SECTION */
.add-tournament {
  padding: 5rem 0;
  background: var(--white);
}

@media (max-width: 600px) {
  .add-tournament {
    padding: 2.5rem 0 3rem;
  }
  
  .add-tournament .section-header {
    margin-bottom: 1.5rem;
  }
  
  .add-tournament .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
  }
  
  .add-tournament .section-header p {
    font-size: 0.9rem;
  }
}

.add-tournament .section-header h2 {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.add-tournament .section-header p {
  font-size: 1.1rem;
  color: var(--gray);
}

.tournament-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid rgba(107, 91, 255, 0.1);
  transition: var(--transition);
}

.tournament-form:hover {
  box-shadow: 0 15px 40px rgba(107, 91, 255, 0.2);
  transform: translateY(-5px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group i {
  position: absolute;
  right: 20px;
  top: 45px;
  color: var(--primary);
  font-size: 1.1rem;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.form-actions .btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.form-actions .btn-primary {
  background: var(--gradient);
  color: var(--white);
  border: none;
  box-shadow: 0 5px 15px rgba(107, 91, 255, 0.3);
}

.form-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 91, 255, 0.4);
}

.form-actions .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-dark);
  z-index: -1;
  transition: transform 0.3s ease;
  transform: scaleX(0);
  transform-origin: right;
  border-radius: 50px;
}

.form-actions .btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.form-actions .btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.form-actions .btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* ========================================
   STEPPER FORM - FORMULAIRE MULTI-ÉTAPES
   ======================================== */

.stepper-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(107, 91, 255, 0.1);
  border: 1px solid rgba(107, 91, 255, 0.08);
}

/* Progress Bar - Design moderne PC */
.stepper-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
  padding: 1.25rem 2rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, #f0f0ff 100%);
  border-radius: 60px;
  position: relative;
  gap: 0;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 2;
  flex: 1;
  max-width: 120px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: white;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid var(--gray-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

/* Effet pulse sur l'étape active */
.stepper-step.active .step-circle {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(107, 91, 255, 0.2), 0 4px 15px rgba(107, 91, 255, 0.3);
  transform: scale(1.08);
  animation: pulse-step 2s infinite;
}

@keyframes pulse-step {
  0%, 100% { box-shadow: 0 0 0 4px rgba(107, 91, 255, 0.2), 0 4px 15px rgba(107, 91, 255, 0.3); }
  50% { box-shadow: 0 0 0 8px rgba(107, 91, 255, 0.1), 0 4px 15px rgba(107, 91, 255, 0.3); }
}

.stepper-step.completed .step-circle {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(65, 211, 149, 0.3);
}

/* Icône check pour les étapes complétées */
.stepper-step.completed .step-circle::after {
  content: '✓';
  font-size: 1.2rem;
  font-weight: 700;
}

.stepper-step.completed .step-circle {
  font-size: 0;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  text-align: center;
}

.stepper-step.active .step-label {
  color: var(--primary);
  font-weight: 700;
}

.stepper-step.completed .step-label {
  color: var(--accent);
}

/* Ligne de connexion entre les étapes */
.stepper-line {
  flex: 1;
  height: 4px;
  background: var(--gray-light);
  border-radius: 2px;
  transition: all 0.5s ease;
  max-width: 80px;
  margin: 0 -10px;
  margin-bottom: 1.8rem;
  position: relative;
  overflow: hidden;
}

.stepper-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #2dd4bf);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.stepper-line.active::after {
  width: 100%;
}

/* Step Content */
.step-content {
  display: none;
  animation: fadeInStep 0.4s ease;
}

.step-content.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-header {
  margin-bottom: 2rem;
}

.step-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(107, 91, 255, 0.1);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.3px;
}

.step-badge.success {
  color: var(--accent);
  background: rgba(65, 211, 149, 0.1);
}

.step-header h3 {
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 700;
  margin: 0;
}

/* Step Fields */
.step-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field-group {
  position: relative;
}

.field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.field-group label .optional {
  font-weight: 400;
  color: var(--gray);
  font-size: 0.8rem;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
  transition: all 0.3s ease;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 4px rgba(107, 91, 255, 0.1);
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #b0b0c0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field-small {
  max-width: 140px;
}

/* File Upload Zone */
.file-upload-zone {
  border: 2px dashed var(--gray-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--light-bg);
}

.file-upload-zone:hover {
  border-color: var(--primary);
  background: rgba(107, 91, 255, 0.05);
}

.file-upload-zone i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.file-upload-zone span {
  color: var(--gray);
  font-size: 0.9rem;
}

.file-input-hidden {
  display: none;
}

.file-info {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
}

/* Step Actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-light);
}

.btn-step {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Poppins', sans-serif;
}

.btn-prev {
  background: transparent;
  color: var(--gray);
  border: 2px solid var(--gray-light);
}

.btn-prev:hover {
  background: var(--gray-light);
  color: var(--dark);
}

.btn-next {
  background: var(--primary);
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.3);
}

.btn-next:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 91, 255, 0.4);
}

.btn-submit {
  background: linear-gradient(135deg, var(--accent), #2dd4bf);
  color: white;
  margin-left: auto;
  box-shadow: 0 4px 15px rgba(65, 211, 149, 0.4);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(65, 211, 149, 0.5);
}

/* Recap Card */
.recap-card {
  background: var(--light-bg);
  border-radius: 16px;
  padding: 1.5rem;
}

.recap-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.recap-label {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 500;
}

.recap-value {
  font-weight: 600;
  color: var(--dark);
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}

.recap-divider {
  height: 1px;
  background: var(--gray-light);
  margin: 0.75rem 0;
}

/* Responsive Stepper */
@media (max-width: 600px) {
  .stepper-form {
    padding: 1.25rem 1rem;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(107, 91, 255, 0.08);
  }
  
  /* Progress bar mobile - Version compacte et moderne */
  .stepper-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--light-bg);
    border-radius: 50px;
    gap: 0.5rem;
  }
  
  .stepper-step {
    display: none;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
  
  .stepper-step.active {
    display: flex;
  }
  
  .step-circle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
    flex-shrink: 0;
  }
  
  .step-label {
    font-size: 0.8rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
    color: var(--primary-dark);
  }
  
  /* Masquer les lignes sur mobile */
  .stepper-line {
    display: none;
  }
  
  /* Mini dots de progression */
  .stepper-progress::after {
    content: '';
    display: flex;
    gap: 6px;
    margin-left: auto;
  }
  
  .stepper-progress {
    position: relative;
  }
  
  /* Dots indicateurs à droite */
  .stepper-progress::before {
    content: '1/4';
    position: absolute;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    background: white;
    padding: 4px 10px;
    border-radius: 20px;
  }
  
  .stepper-progress:has(.stepper-step[data-step="2"].active)::before {
    content: '2/4';
  }
  
  .stepper-progress:has(.stepper-step[data-step="3"].active)::before {
    content: '3/4';
  }
  
  .stepper-progress:has(.stepper-step[data-step="4"].active)::before {
    content: '4/4';
  }
  
  .step-header {
    margin-bottom: 1.5rem;
  }
  
  /* Cacher le badge étape sur mobile car déjà affiché dans la progress bar */
  .step-badge {
    display: none;
  }
  
  .step-header h3 {
    font-size: 1.2rem;
  }
  
  /* Décaler le label un peu à droite */
  .step-label {
    margin-left: 0.25rem;
  }
  
  .step-fields {
    gap: 1rem;
  }
  
  .field-group label {
    font-size: 0.8rem;
    margin-bottom: 0.4rem;
  }
  
  .field-group input,
  .field-group select,
  .field-group textarea {
    padding: 12px 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
  
  .field-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .field-small {
    max-width: 100%;
  }
  
  .step-actions {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
  }
  
  .btn-step {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.9rem;
  }
  
  .btn-prev {
    order: 2;
    background: var(--light-bg);
  }
  
  .btn-next,
  .btn-submit {
    order: 1;
  }
  
  /* Recap mobile */
  .recap-card {
    padding: 1rem;
  }
  
  .recap-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.4rem 0;
  }
  
  .recap-label {
    font-size: 0.8rem;
  }
  
  .recap-value {
    max-width: 100%;
    text-align: left;
    font-size: 0.95rem;
  }
  
  .recap-divider {
    margin: 0.75rem 0;
  }
  
  /* File upload mobile */
  .file-upload-zone {
    padding: 1.25rem 1rem;
  }
  
  .file-upload-zone i {
    font-size: 1.5rem;
  }
  
  .file-upload-zone span {
    font-size: 0.8rem;
  }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .stepper-form {
    padding: 1rem 0.75rem;
  }
  
  .stepper-progress {
    padding: 0.6rem 0.75rem;
  }
  
  .step-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
  
  .stepper-progress::before {
    font-size: 0.7rem;
    padding: 3px 8px;
    right: 0.75rem;
  }
  
  .step-header h3 {
    font-size: 1.05rem;
  }
  
  .field-group input,
  .field-group select,
  .field-group textarea {
    padding: 11px 12px;
    font-size: 0.9rem;
  }
}

/* ========================================
   FIN STEPPER FORM
   ======================================== */

/* CONTACT SECTION */
/* CONTACT SECTION - VERSION MOBILE FIRST */
.contact {
  padding: 3rem 0;
  background: var(--light-bg);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Informations de contact - MOBILE */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  text-align: left;
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.contact-item i {
  font-size: 1.3rem;
  color: var(--primary);
  min-width: 25px;
  text-align: center;
}

.contact-item h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: var(--primary-dark);
  font-weight: 600;
}

.contact-item p {
  color: var(--dark);
  font-weight: 500;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Formulaire de contact - MOBILE */
.contact-form {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(107, 91, 255, 0.1);
}

.contact-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.contact-form .form-group {
  margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  background: var(--light-bg);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 91, 255, 0.15);
  background: var(--white);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #a0a0c0;
  font-size: 0.9rem;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form .btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 25px;
  transition: var(--transition);
}

.contact-form .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(107, 91, 255, 0.3);
}

/* Statut du message */
.message-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  display: none;
}

.message-status.success {
  background: rgba(72, 187, 120, 0.1);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.3);
  display: block;
}

.message-status.error {
  background: rgba(245, 101, 101, 0.1);
  color: #f56565;
  border: 1px solid rgba(245, 101, 101, 0.3);
  display: block;
}

/* ===== TABLETTE (768px et plus) ===== */
@media (min-width: 768px) {
  .contact {
    padding: 4rem 0;
  }

  .contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .contact-info {
    gap: 1.5rem;
  }

  .contact-item {
    padding: 1.2rem;
    flex-direction: row;
    text-align: left;
  }

  .contact-item i {
    font-size: 1.4rem;
    min-width: 30px;
  }

  .contact-item h3 {
    font-size: 1rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }

  .social-links {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .contact-form {
    padding: 2rem;
  }

  .contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .contact-form .btn {
    padding: 15px 25px;
    font-size: 1.05rem;
  }
}

/* ===== DESKTOP (992px et plus) ===== */
@media (min-width: 992px) {
  .contact {
    padding: 5rem 0;
  }

  .contact-content {
    gap: 4rem;
  }

  .contact-info {
    gap: 2rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .contact-item i {
    font-size: 1.5rem;
  }

  .contact-item h3 {
    font-size: 1.1rem;
  }

  .contact-item p {
    font-size: 1rem;
  }

  .contact-form {
    padding: 2.5rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 15px 20px;
  }

  .contact-form .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(107, 91, 255, 0.4);
  }
}

/* ===== TRÈS PETITS ÉCRANS (moins de 360px) ===== */
@media (max-width: 360px) {
  .contact {
    padding: 2rem 0;
  }

  .contact-item {
    padding: 0.8rem;
    gap: 0.8rem;
  }

  .contact-item i {
    font-size: 1.1rem;
    min-width: 20px;
  }

  .contact-item h3 {
    font-size: 0.9rem;
  }

  .contact-item p {
    font-size: 0.85rem;
  }

  .contact-form {
    padding: 1.2rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .contact-form .btn {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }
}

/* ===== ORIENTATION PAYSAGE SUR MOBILE ===== */
@media (max-width: 768px) and (orientation: landscape) {
  .contact {
    padding: 2rem 0;
  }

  .contact-content {
    gap: 1.5rem;
  }

  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.8rem;
  }

  .contact-item {
    flex: 1;
    min-width: calc(50% - 0.8rem);
  }

  .contact-form {
    padding: 1.2rem;
  }
}

/* ===== AMÉLIORATIONS TOUCH ===== */
@media (hover: none) and (pointer: coarse) {
  .contact-item:hover {
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  }

  .contact-form .btn:hover {
    transform: none;
    box-shadow: none;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    transform: none;
  }
}

/* ===== HAUTEUR LIMITÉE ===== */
@media (max-height: 600px) and (orientation: landscape) {
  .contact {
    padding: 1.5rem 0;
  }

  .contact-content {
    gap: 1rem;
  }

  .contact-item {
    padding: 0.8rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form textarea {
    min-height: 80px;
  }
}

/* ========================================
   FOOTER PREMIUM - PALET22
   ======================================== */

.premium-footer {
  background: #1a1a2e;
  color: var(--white);
  padding-top: 4rem;
}

/* Grille principale */
.footer-grid-premium {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Colonne marque */
.footer-brand-col .footer-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-palet {
  color: var(--white);
}

.footer-logo-35 {
  color: var(--primary);
}

.footer-description {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* Colonnes de liens */
.footer-col-premium h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col-premium ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-premium ul li {
  margin-bottom: 0.6rem;
}

.footer-col-premium ul li a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.footer-col-premium ul li a:hover {
  color: var(--white);
}

/* Newsletter */
.footer-newsletter-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.newsletter-form-premium {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-form-premium input {
  flex: 1;
  padding: 12px 14px;
  border: none;
  background: transparent;
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  min-width: 0;
}

.newsletter-form-premium input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form-premium button {
  padding: 12px 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.newsletter-form-premium button:hover {
  background: var(--primary-dark);
}

.newsletter-message {
  margin-top: 0.75rem;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
}

/* Footer bottom */
.footer-bottom-premium {
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

.copyright strong {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.made-with {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin: 0;
}

.made-with i {
  color: #e74c3c;
}

/* ========================================
   FOOTER RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .footer-grid-premium {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .premium-footer {
    padding-top: 3rem;
  }
  
  .footer-grid-premium {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-brand-col {
    grid-column: span 2;
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 0.5rem;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-newsletter-col {
    grid-column: span 2;
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  .newsletter-form-premium {
    max-width: 320px;
    margin: 0 auto;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .footer-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .premium-footer {
    padding-top: 2.5rem;
  }
  
  .footer-grid-premium {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .footer-brand-col {
    grid-column: span 1;
  }
  
  .footer-brand-col .footer-logo {
    font-size: 1.4rem;
  }
  
  .footer-description {
    font-size: 0.85rem;
  }
  
  .footer-col-premium h4 {
    font-size: 0.9rem;
  }
  
  .footer-col-premium ul li a {
    font-size: 0.85rem;
  }
  
  .footer-newsletter-col {
    grid-column: span 1;
  }
  
  .newsletter-form-premium {
    max-width: 100%;
  }
  
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }
  
  .footer-links a,
  .copyright,
  .made-with {
    font-size: 0.8rem;
  }
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

/* Modal générique (pas tournoi) */
.modal:not(.tournoi-modal-overlay) .modal-content {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-hover);
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.modal:not(.tournoi-modal-overlay) .modal-content h3 {
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.modal:not(.tournoi-modal-overlay) .modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* COOKIE BANNER */
/* Bannière cookies - Version carrée en bas à droite */
/* ===== MODALE COOKIES MODERNE ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 450px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  display: none;
  animation: slideInUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  border: 3px solid var(--primary);
}

@keyframes slideInUp {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-container {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.cookie-icon {
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.1;
  color: var(--primary);
}

.cookie-content {
  color: var(--dark);
  position: relative;
  z-index: 1;
}

.cookie-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--primary);
}

.cookie-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--gray);
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  flex: 1;
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cookie-accept {
  background: var(--primary);
  color: white;
}

.cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(107, 91, 255, 0.4);
  background: var(--primary-dark);
}

.cookie-reject {
  background: var(--gray-light);
  color: var(--gray);
}

.cookie-reject:hover {
  background: #ddd;
}

.cookie-customize {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cookie-customize:hover {
  background: rgba(107, 91, 255, 0.1);
  border-color: var(--primary-dark);
}

/* Modal des préférences */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cookie-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.cookie-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalZoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalZoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }

  to {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
}

.cookie-modal-header {
  padding: 24px 24px 16px;
  border-bottom: 2px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(107, 91, 255, 0.05);
}

.cookie-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-modal-title i {
  font-size: 1.5rem;
  color: var(--primary);
}

.cookie-modal-title h3 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--dark);
  font-weight: 700;
}

.cookie-modal-close {
  background: var(--gray-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray);
}

.cookie-modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.cookie-modal-body {
  padding: 24px;
}

.cookie-modal-intro {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.cookie-preference {
  background: var(--light-bg);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.cookie-preference:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.cookie-preference.essential {
  background: rgba(107, 91, 255, 0.08);
  border: 2px solid var(--primary);
}

.cookie-preference-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.cookie-preference-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.cookie-preference-info {
  flex: 1;
}

.cookie-preference-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--dark);
  font-weight: 600;
}

.cookie-preference-info p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.4;
}

.cookie-preference-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-status {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
}

.cookie-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.cookie-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 26px;
}

.cookie-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked+.cookie-slider {
  background: var(--primary);
}

input:checked+.cookie-slider:before {
  transform: translateX(24px);
}

input:disabled+.cookie-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  padding: 16px 24px 24px;
  text-align: center;
}

.cookie-save {
  background: var(--primary);
  color: white;
  padding: 14px 32px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.4);
}

.cookie-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 91, 255, 0.6);
  background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    max-width: none;
  }

  .cookie-container {
    padding: 20px;
  }

  .cookie-actions {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .cookie-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .cookie-preference {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-preference-toggle {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .cookie-content h3 {
    font-size: 1.1rem;
  }

  .cookie-content p {
    font-size: 0.9rem;
  }

  .cookie-modal-header {
    padding: 20px 16px 12px;
  }

  .cookie-modal-title h3 {
    font-size: 1.1rem;
  }

  .cookie-modal-body {
    padding: 16px;
  }

  .cookie-preference {
    padding: 12px;
  }

  .cookie-preference-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin-bottom: 3rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-text {
    padding-right: 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .filters {
    flex-direction: column;
    gap: 1rem;
  }

  .tournoi-card {
    padding: 1.25rem;
  }

  .tournoi-info h3 {
    font-size: 1.2rem;
  }

  .tournoi-meta {
    gap: 0.75rem;
    font-size: 0.85rem;
  }

  .tournoi-description {
    font-size: 0.85rem;
    padding: 0.625rem;
    margin: 0.625rem 0 0.875rem 0;
  }

  .tournoi-actions {
    justify-content: center;
    padding-top: 0.875rem;
    margin-top: 1rem;
  }

  .tournoi-actions .btn {
    padding: 12px 24px;
    min-width: 180px;
    max-width: 90%;
    font-size: 0.9rem;
  }

  .tournoi-actions .btn-primary i {
    font-size: 1rem;
  }
}

/* Responsive pour très petits écrans */
@media (max-width: 480px) {
  .tournoi-actions .btn {
    padding: 11px 20px;
    min-width: 160px;
    font-size: 0.875rem;
  }

  .tournoi-actions .btn-primary i {
    font-size: 0.95rem;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-text {
    min-width: auto;
  }

  .cookie-actions {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .agenda-date {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .tournament-form {
    padding: 1.5rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .coords-container {
    flex-direction: column;
    gap: 0.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }
}

/* Ajustement de la hauteur de la section hero sur mobile */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero .container {
    padding-top: 70px;
    padding-bottom: 30px;
  }

  .hero-content {
    margin-top: 20px;
  }

  .hero-image {
    max-height: 40vh;
    margin-top: 20px;
  }

  .hero-image img {
    object-fit: contain;
    max-height: 100%;
  }
}

.agenda-section {
  padding: 2rem 0;
  margin: 2rem auto;
}

/* Correction pour éviter les problèmes de scroll sur iOS */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

.tournoi-adresse {
  color: var(--gray);
  font-size: 0.875rem;
  margin: 0.75rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.tournoi-adresse i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
  font-size: 1rem;
}

/* Styles pour la modale RGPD - DESIGN AMÉLIORÉ */
/* Styles pour la modale RGPD - DESIGN SIMPLIFIÉ */
#rgpd-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

#rgpd-modal .modal-content {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#rgpd-modal .modal-content h3 {
  background: var(--white);
  color: var(--primary-dark);
  padding: 1.2rem 1.5rem;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 700;
  border-bottom: 2px solid var(--primary-light);
  text-align: center;
}

.rgpd-content {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.rgpd-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.rgpd-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.rgpd-section h4 {
  color: var(--primary-dark);
  margin-bottom: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
}

.rgpd-section p {
  color: var(--gray);
  margin-bottom: 0.8rem;
}

.rgpd-section ul {
  color: var(--gray);
  padding-left: 1.2rem;
  margin-bottom: 0.8rem;
}

.rgpd-section ul li {
  margin-bottom: 0.4rem;
}

/* Style pour les cases à cocher */
.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  padding: 0.8rem;
  background: var(--light-bg);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-toggle:hover {
  background: var(--light);
}

.cookie-toggle input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.toggle-text {
  color: var(--dark);
  font-weight: 500;
  flex: 1;
}

#rgpd-modal .modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--gray-light);
  background: var(--light-bg);
}

#rgpd-modal .modal-actions .btn {
  padding: 10px 25px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 0.9rem;
}

#rgpd-modal .modal-actions .btn-secondary {
  background: var(--white);
  color: var(--gray);
  border-color: var(--gray-light);
}

#rgpd-modal .modal-actions .btn-secondary:hover {
  background: var(--gray-light);
  color: var(--dark);
}

#rgpd-modal .modal-actions .btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

#rgpd-modal .modal-actions .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
  #rgpd-modal .modal-content {
    max-height: 85vh;
    border-radius: 10px;
  }

  #rgpd-modal .modal-content h3 {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .rgpd-content {
    padding: 1rem;
  }

  #rgpd-modal .modal-actions {
    flex-direction: column;
    padding: 1rem;
  }

  #rgpd-modal .modal-actions .btn {
    width: 100%;
  }
}

/* Ajustements de la légende de carte pour mobile */
@media (max-width: 768px) {
  .map-legend {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    bottom: 10px;
    left: 10px;
    border-radius: 12px;
  }

  .map-legend h4 {
    font-size: 0.75rem;
  }

  .legend-items {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .legend-item {
    font-size: 0.7rem;
  }

  .legend-color {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .map-legend {
    padding: 0.4rem 0.6rem;
    gap: 0.4rem;
  }

  .map-legend h4 {
    font-size: 0.7rem;
  }

  .legend-item {
    font-size: 0.65rem;
  }

  .legend-color {
    width: 7px;
    height: 7px;
  }
}

/* OPTIMISATION HERO POUR PETITS ÉCRANS */
.new-hero {
  min-height: 100vh;
  min-height: -webkit-fill-available;
  /* Pour iOS */
  padding: 2rem 0;
  display: flex;
  align-items: center;
}

.new-hero-container {
  min-height: calc(100vh - 100px);
  align-items: center;
}

/* Ajustements pour très petits écrans */
@media (max-width: 480px) {
  .new-hero {
    padding: 1rem 0;
  }

  .hero-content h1 {
    font-size: 1.6rem !important;
    min-height: 80px !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
  }

  .hero-content p {
    font-size: 0.95rem !important;
    margin-bottom: 1.5rem !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.5rem !important;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    padding: 10px 20px !important;
    font-size: 0.9rem !important;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .phone-mockup {
    width: 160px !important;
    height: 320px !important;
    border-radius: 30px !important;
  }

  .animated-popup {
    font-size: 0.65rem !important;
    padding: 5px 8px !important;
    max-width: 70% !important;
  }

  .popup-1 {
    top: 12% !important;
    left: 5% !important;
  }

  .popup-2 {
    top: 40% !important;
    right: 5% !important;
  }

  .popup-3 {
    top: 60% !important;
    left: 10% !important;
  }

  .popup-4 {
    top: 22% !important;
    right: 10% !important;
  }
}

/* Ajustements pour écrans moyens */
@media (max-width: 768px) and (min-width: 481px) {
  .hero-content h1 {
    font-size: 2rem !important;
    min-height: 100px !important;
  }

  .hero-content p {
    font-size: 1.1rem !important;
  }

  .phone-mockup {
    width: 200px !important;
    height: 380px !important;
  }
}

/* Garantir que le contenu reste visible */
.hero-content {
  position: relative;
  z-index: 3;
}

/* Éviter le débordement sur iOS */
@supports (-webkit-touch-callout: none) {
  .new-hero {
    min-height: -webkit-fill-available;
  }
}

.message-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 500;
  font-size: 0.85rem;
  display: none;
}

.message-status.success {
  background: rgba(72, 187, 120, 0.1);
  color: #48bb78;
  border: 1px solid rgba(72, 187, 120, 0.3);
}

.message-status.error {
  background: rgba(245, 101, 101, 0.1);
  color: #f56565;
  border: 1px solid rgba(245, 101, 101, 0.3);
}

/*
 ========================================
   STYLES POUR LES TOURNOIS LOINTAINS
   ======================================== */

.distant-tournaments-toggle {
  text-align: center;
  margin: 3rem auto;
  padding: 2rem 1rem;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.distant-tournaments-toggle .btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.2);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  min-width: 280px;
}

.distant-tournaments-toggle .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(107, 91, 255, 0.35);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.distant-tournaments-toggle .btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.3);
}

.distant-tournaments-toggle .btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.distant-tournaments-toggle .btn:hover i {
  transform: scale(1.1);
}

.distant-section-title {
  margin: 3rem 0 2rem 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #e9ecff 100%);
  border-radius: var(--border-radius);
  border-left: 5px solid var(--primary);
  box-shadow: 0 2px 10px rgba(107, 91, 255, 0.1);
}

.distant-section-title h3 {
  color: var(--primary);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  font-weight: 700;
}

.distant-section-title i {
  font-size: 1.8rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }
}

.distant-date {
  opacity: 0.9;
}

.distant-tournament {
  opacity: 0.95;
}

.distant-tournament:hover {
  opacity: 1;
}

/* Animation d'apparition pour les tournois lointains */
@keyframes fadeInUpDistant {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.distant-tournament,
.distant-date {
  animation: fadeInUpDistant 0.5s ease forwards;
}

/* ========================================
   RESPONSIVE TOURNOIS LOINTAINS
   ======================================== */

/* Tablettes */
@media (max-width: 992px) {
  .distant-tournaments-toggle {
    margin: 2.5rem auto;
    padding: 1.5rem 1rem;
  }

  .distant-tournaments-toggle .btn {
    padding: 14px 28px;
    font-size: 1rem;
    min-width: 260px;
  }

  .distant-section-title {
    margin: 2.5rem 0 1.5rem 0;
    padding: 1.25rem 1.5rem;
  }

  .distant-section-title h3 {
    font-size: 1.3rem;
  }

  .distant-section-title i {
    font-size: 1.6rem;
  }
}

/* Mobiles */
@media (max-width: 768px) {
  .distant-tournaments-toggle {
    margin: 2rem auto;
    padding: 1.5rem 0.5rem;
  }

  .distant-tournaments-toggle .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    min-width: auto;
    max-width: 90%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .distant-tournaments-toggle .btn i {
    font-size: 1.1rem;
  }

  .distant-section-title {
    margin: 2rem 0 1.5rem 0;
    padding: 1rem 1.25rem;
  }

  .distant-section-title h3 {
    font-size: 1.15rem;
    flex-wrap: wrap;
    gap: 8px;
  }

  .distant-section-title i {
    font-size: 1.4rem;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .distant-tournaments-toggle {
    margin: 1.5rem auto;
    padding: 1rem 0.5rem;
  }

  .distant-tournaments-toggle .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    gap: 8px;
    width: 95%;
  }

  .distant-tournaments-toggle .btn i {
    font-size: 1rem;
  }

  .distant-section-title {
    margin: 1.5rem 0 1rem 0;
    padding: 0.875rem 1rem;
    border-radius: 12px;
  }

  .distant-section-title h3 {
    font-size: 1rem;
    gap: 6px;
  }

  .distant-section-title i {
    font-size: 1.2rem;
  }
}


/* ========================================
   BADGE NEWSLETTER DANS LE TITRE
   ======================================== */

.newsletter-badge,
.newsletter-badge-left {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(107, 91, 255, 0.15);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--primary);
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(107, 91, 255, 0.2);
  box-shadow: 0 8px 32px rgba(107, 91, 255, 0.15);
  vertical-align: middle;
}

.newsletter-badge:hover,
.newsletter-badge-left:hover {
  background: rgba(107, 91, 255, 0.25);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(107, 91, 255, 0.25);
  border-color: rgba(107, 91, 255, 0.4);
}

.newsletter-badge i,
.newsletter-badge-left i {
  font-size: 1rem;
  animation: bellRing 2s ease-in-out infinite;
}

@keyframes bellRing {

  0%,
  100% {
    transform: rotate(0deg);
  }

  10%,
  30% {
    transform: rotate(-10deg);
  }

  20%,
  40% {
    transform: rotate(10deg);
  }

  50% {
    transform: rotate(0deg);
  }
}

.newsletter-badge span,
.newsletter-badge-left span {
  white-space: nowrap;
}

/* Le badge est toujours en dessous du titre */
.section-header h2+.newsletter-badge,
.section-header h2+.newsletter-badge-left {
  display: inline-flex;
  margin-bottom: 2rem;
  margin-left: 0;
  margin-top: -1rem;
}

/* Responsive pour le badge newsletter */
@media (max-width: 768px) {

  .newsletter-badge,
  .newsletter-badge-left {
    font-size: 0.9rem;
    padding: 11px 22px;
    margin-left: 0;
    margin-top: 0;
  }

  .section-header h2+.newsletter-badge,
  .section-header h2+.newsletter-badge-left {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {

  .newsletter-badge,
  .newsletter-badge-left {
    font-size: 0.8rem;
    padding: 8px 16px;
    gap: 6px;
  }

  .newsletter-badge i,
  .newsletter-badge-left i {
    font-size: 0.9rem;
  }

  .newsletter-badge span,
  .newsletter-badge-left span {
    font-size: 0.8rem;
  }
}


/* ========================================
   CHAMP DE FICHIER POUR AFFICHE PDF
   ======================================== */

.form-group label:not(.file-input-wrapper) {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.optional-label {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 400;
  background: var(--light-bg);
  padding: 4px 10px;
  border-radius: 12px;
  margin-left: auto;
  white-space: nowrap;
}

.file-input {
  width: 100%;
  height: 0;
  opacity: 0;
  position: absolute;
  z-index: -1;
}

.form-group {
  position: relative;
}

.file-input+.file-info {
  margin-top: 0;
}

.form-group:has(.file-input) {
  position: relative;
}

.file-input-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 70px;
  padding: 1rem;
  border: 2px dashed var(--gray-light);
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0;
  box-sizing: border-box;
}

.file-input-wrapper::before {
  content: '📄 Sélectionner un fichier PDF';
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
}

.file-input-wrapper:hover {
  border-color: var(--primary);
  background: var(--light-bg);
}

.file-input-wrapper:hover::before {
  color: var(--primary);
}

.file-input:focus+.file-input-wrapper {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(107, 91, 255, 0.1);
}

.file-info {
  margin-top: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 12px;
  font-size: 0.9rem;
  display: none;
  border: 1px solid var(--gray-light);
}

.file-info.active {
  display: flex;
  align-items: center;
  gap: 12px;
}

.file-info i {
  color: var(--secondary);
  font-size: 1.5rem;
}

.file-info .file-name {
  flex: 1;
  color: var(--dark);
  font-weight: 600;
  word-break: break-word;
}

.file-info .file-size {
  color: var(--gray);
  font-size: 0.85rem;
  font-weight: 500;
  background: white;
  padding: 4px 10px;
  border-radius: 12px;
}

.file-info .remove-file {
  background: white;
  border: 1px solid var(--gray-light);
  color: var(--secondary);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-info .remove-file:hover {
  background: #ff4444;
  color: white;
  border-color: #ff4444;
  transform: scale(1.05);
}

/* Responsive pour le champ de fichier */
@media (max-width: 768px) {
  .form-group label:not(.file-input-wrapper) {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .optional-label {
    margin-left: 0;
    font-size: 0.75rem;
    padding: 3px 8px;
  }

  .file-input-wrapper {
    min-height: 65px;
    padding: 0.875rem;
  }

  .file-input-wrapper::before {
    font-size: 0.85rem;
  }

  .file-info {
    flex-wrap: wrap;
    gap: 8px;
  }

  .file-info .file-name {
    width: 100%;
    font-size: 0.85rem;
  }

  .file-info .file-size {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .optional-label {
    font-size: 0.7rem;
    padding: 2px 6px;
  }

  .file-input-wrapper {
    min-height: 60px;
    padding: 0.75rem;
  }

  .file-input-wrapper::before {
    font-size: 0.8rem;
  }

  .file-info {
    padding: 10px 12px;
  }

  .file-info i {
    font-size: 1.2rem;
  }
}


/* ========================================
   BADGE AFFICHE PDF SUR LES TOURNOIS
   ======================================== */

.affiche-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: white;
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.affiche-badge:hover {
  background: var(--light-bg);
  color: var(--primary-dark);
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(107, 91, 255, 0.15);
}

.affiche-badge i {
  font-size: 0.9rem;
  color: var(--secondary);
}

@media (max-width: 768px) {
  .affiche-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
    gap: 5px;
  }

  .affiche-badge i {
    font-size: 0.85rem;
  }
}

/* ========================================
   STYLES POUR "LIRE PLUS" - 3 LIGNES MAX
   ======================================== */

.tournoi-description {
  color: var(--gray);
  font-size: 0.8rem;
  line-height: 1.4;
  margin: 0.5rem 0 0.75rem 0;
  padding: 0.5rem;
  background: var(--light-bg);
  border-radius: 6px;
  position: relative;
  transition: max-height 0.3s ease, overflow 0.3s ease;
}

.tournoi-description.has-more {
  max-height: 4.2em;
  /* 3 lignes (1.4 line-height × 3) */
  overflow: hidden;
}

.tournoi-description.has-more.expanded {
  max-height: none !important;
  /* Retirer la limite de hauteur */
  overflow: visible !important;
}

.tournoi-description.has-more::after {
  content: '...';
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  background: var(--light-bg);
  padding-left: 0.5rem;
}

.tournoi-description.has-more.expanded::after {
  display: none;
}

.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0;
  margin-top: 0.25rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more-btn:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.read-more-btn i {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.read-more-btn.expanded i {
  transform: rotate(180deg);
}

/* Responsive pour le bouton Lire plus */
@media (max-width: 768px) {
  .tournoi-description {
    font-size: 0.75rem;
  }

  .tournoi-description.has-more {
    max-height: 3.9em;
    /* 3 lignes pour mobile */
  }

  .read-more-btn {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .tournoi-description {
    font-size: 0.7rem;
    padding: 0.4rem;
  }

  .tournoi-description.has-more {
    max-height: 3.6em;
    /* 3 lignes pour petit mobile */
  }

  .read-more-btn {
    font-size: 0.65rem;
  }
}


/* Overlay pour le menu mobile - Ne couvre pas la navbar */
.menu-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: calc(100% - 80px);
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 998;
  cursor: pointer;
  pointer-events: none;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Sur très petits écrans, ajuster la largeur */
@media (max-width: 400px) {
  .menu-overlay {
    right: 60%;
  }
}

@media (min-width: 769px) {
  .menu-overlay {
    display: none;
  }
}


/* ===== SYSTÈME DE NOTIFICATIONS TOAST ===== */
#toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.toast {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-left: 4px solid;
}

.toast.show {
  transform: translateX(0);
}

.toast-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  color: var(--gray);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-close:hover {
  background: var(--gray-light);
  color: var(--dark);
}

.toast-success {
  border-left-color: #2ECC71;
}

.toast-success .toast-icon {
  color: #2ECC71;
}

.toast-error {
  border-left-color: #ff4757;
}

.toast-error .toast-icon {
  color: #ff4757;
}

.toast-warning {
  border-left-color: #FF9F43;
}

.toast-warning .toast-icon {
  color: #FF9F43;
}

.toast-info {
  border-left-color: var(--primary);
}

.toast-info .toast-icon {
  color: var(--primary);
}

/* Mobile */
@media (max-width: 768px) {
  #toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }

  .toast {
    padding: 14px;
  }

  .toast-message {
    font-size: 0.9rem;
  }
}


/* ===== MODALE RGPD MODERNE ===== */
.rgpd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10002;
  display: none;
  animation: fadeIn 0.3s ease;
}

.rgpd-modal.active {
  display: block;
}

.rgpd-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.rgpd-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalZoomIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.rgpd-modal-header {
  padding: 24px;
  border-bottom: 2px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(107, 91, 255, 0.05) 0%, rgba(107, 91, 255, 0.1) 100%);
  border-radius: 20px 20px 0 0;
}

.rgpd-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rgpd-modal-title i {
  font-size: 1.8rem;
  color: var(--primary);
}

.rgpd-modal-title h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--dark);
  font-weight: 700;
}

.rgpd-modal-close {
  background: var(--gray-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--gray);
}

.rgpd-modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.rgpd-modal-body {
  padding: 24px;
}

.rgpd-intro {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 24px;
  line-height: 1.6;
  text-align: center;
}

.rgpd-section {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: var(--light-bg);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.rgpd-section:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.rgpd-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.rgpd-text h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--dark);
  font-weight: 600;
}

.rgpd-text p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

.rgpd-text ul {
  margin: 8px 0 0 0;
  padding-left: 20px;
}

.rgpd-text li {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 4px 0;
}

.rgpd-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.rgpd-text a:hover {
  text-decoration: underline;
}

.rgpd-cookies {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--gray-light);
}

.rgpd-cookies h4 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: white;
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  margin-bottom: 12px;
}

.cookie-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 4px;
}

.cookie-info p {
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
}

.cookie-status-required {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  background: rgba(107, 91, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
}

.rgpd-modal-footer {
  padding: 20px 24px;
  border-top: 2px solid var(--gray-light);
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-rgpd {
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-rgpd-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 15px rgba(107, 91, 255, 0.3);
}

.btn-rgpd-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 91, 255, 0.4);
}

.btn-rgpd-secondary {
  background: var(--gray-light);
  color: var(--gray);
}

.btn-rgpd-secondary:hover {
  background: #ddd;
}

/* Mobile */
@media (max-width: 768px) {
  .rgpd-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .rgpd-modal-header {
    padding: 20px;
  }

  .rgpd-modal-title h3 {
    font-size: 1.2rem;
  }

  .rgpd-modal-body {
    padding: 20px;
  }

  .rgpd-section {
    flex-direction: column;
    align-items: flex-start;
  }

  .rgpd-modal-footer {
    flex-direction: column;
  }

  .btn-rgpd {
    width: 100%;
    justify-content: center;
  }

  .cookie-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ========================================
   SECTION À PROPOS - DESIGN PREMIUM AVEC ANIMATIONS
   ======================================== */

.about-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, #f0f4ff 0%, #ffffff 50%, #f5f0ff 100%);
  position: relative;
  overflow: hidden;
}

/* Bulles liquides flottantes */
.about-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(107, 91, 255, 0.15) 0%, rgba(107, 91, 255, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: floatBubble1 15s ease-in-out infinite;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(85, 72, 214, 0.12) 0%, rgba(107, 91, 255, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  animation: floatBubble2 20s ease-in-out infinite;
}

/* Bulle supplémentaire */
.about-container::before {
  content: "";
  position: absolute;
  top: 30%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(65, 211, 149, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  animation: floatBubble3 12s ease-in-out infinite;
  pointer-events: none;
}

.about-container::after {
  content: "";
  position: absolute;
  top: 60%;
  right: 10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(107, 91, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  animation: floatBubble1 10s ease-in-out infinite reverse;
  pointer-events: none;
}

@keyframes floatBubble1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -20px) scale(1.05);
  }
  50% {
    transform: translate(-20px, -40px) scale(1.1);
  }
  75% {
    transform: translate(20px, -10px) scale(1.02);
  }
}

@keyframes floatBubble2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(-40px, 30px) scale(1.08);
  }
  66% {
    transform: translate(30px, -20px) scale(0.95);
  }
}

@keyframes floatBubble3 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  50% {
    transform: translate(40px, -30px) scale(1.15);
    opacity: 1;
  }
}

.about-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

/* Header avec animation */
.about-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #6B5BFF;
  margin-bottom: 1rem;
  padding: 8px 20px;
  background: rgba(107, 91, 255, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(107, 91, 255, 0.2);
}

.about-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5548d6 0%, #6B5BFF 50%, #8B7FFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.about-intro {
  font-size: 1.25rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Stats avec glassmorphism */
.about-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
  padding: 2.5rem 3rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid rgba(107, 91, 255, 0.15);
  box-shadow: 0 10px 40px rgba(107, 91, 255, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.about-stat {
  text-align: center;
  padding: 0 1.5rem;
}

.about-stat-number {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #5548d6 0%, #6B5BFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-stat-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.about-stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(107, 91, 255, 0.3), transparent);
}

/* Contenu en colonnes avec animation */
.about-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.about-block {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(107, 91, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
}

.about-block:nth-child(1) {
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.about-block:nth-child(2) {
  animation: fadeInUp 0.8s ease 0.4s forwards;
}

.about-block:nth-child(3) {
  animation: fadeInUp 0.8s ease 0.5s forwards;
}

.about-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(107, 91, 255, 0.15);
  border-color: rgba(107, 91, 255, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

.about-block h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #5548d6;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-block h3::before {
  content: "";
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #6B5BFF, #41D395);
  border-radius: 2px;
}

.about-block p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

/* CTA avec animation */
.about-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.about-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #6B5BFF 0%, #5548d6 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(107, 91, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.about-btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.about-btn-primary:hover::before {
  left: 100%;
}

.about-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(107, 91, 255, 0.45);
}

.about-btn-primary i {
  transition: transform 0.3s ease;
}

.about-btn-primary:hover i {
  transform: translateX(5px);
}

.about-btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: #5548d6;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(107, 91, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-btn-secondary:hover {
  border-color: #6B5BFF;
  background: rgba(107, 91, 255, 0.1);
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .about-title {
    font-size: 2.8rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-block:nth-child(1),
  .about-block:nth-child(2),
  .about-block:nth-child(3) {
    animation-delay: 0.3s;
  }
  
  .about-stats {
    gap: 1.5rem;
    padding: 2rem;
  }
  
  .about-stat-number {
    font-size: 2.5rem;
  }
  
  .about-section::before {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -50px;
  }
  
  .about-section::after {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 5rem 1.5rem;
  }
  
  .about-title {
    font-size: 2.2rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .about-stat {
    padding: 0;
  }
  
  .about-stat-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(107, 91, 255, 0.3), transparent);
  }
  
  .about-stat-number {
    font-size: 2.5rem;
  }
  
  .about-block {
    padding: 1.5rem;
  }
  
  .about-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .about-btn-primary,
  .about-btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  
  .about-container::before,
  .about-container::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 4rem 1rem;
  }
  
  .about-header {
    margin-bottom: 3rem;
  }
  
  .about-title {
    font-size: 1.9rem;
  }
  
  .about-intro {
    font-size: 1rem;
  }
  
  .about-label {
    font-size: 0.75rem;
    padding: 6px 14px;
  }
  
  .about-stat-number {
    font-size: 2rem;
  }
  
  .about-stats {
    margin-bottom: 3rem;
  }
  
  .about-block h3 {
    font-size: 1.15rem;
  }
  
  .about-btn-primary,
  .about-btn-secondary {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  .about-section::before,
  .about-section::after {
    opacity: 0.5;
  }
}


/* ========================================
   VUE GRILLE - Style agenda compact (comme ton image)
   ======================================== */

.agenda-list.grid-view {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.agenda-list.grid-view .agenda-date {
  background: linear-gradient(135deg, #6B5BFF 0%, #5548D6 100%);
  padding: 1rem 1.5rem;
  margin: 0 0 0.5rem 0;
  border-bottom: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  top: auto;
  z-index: 1;
  box-shadow: 0 4px 12px rgba(107, 91, 255, 0.2);
  letter-spacing: 0.3px;
}

/* Ajouter un espacement entre les groupes de dates */
.agenda-list.grid-view .agenda-date+.tournoi-card {
  margin-top: 0.5rem;
}

/* Première date avec marge en haut */
.agenda-list.grid-view .agenda-date:first-child {
  margin-top: 1rem;
}

/* Dates suivantes : chevauchement pour cacher la précédente */
.agenda-list.grid-view .tournoi-card:last-of-type {
  margin-bottom: 1rem;
}

.agenda-list.grid-view .tournoi-card+.agenda-date {
  margin-top: 1rem;
}

.agenda-list.grid-view .date-badge {
  display: none;
}

.agenda-list.grid-view .tournoi-card {
  margin-top: 0.5rem;
  border-left: 3px solid transparent;
  border-radius: 10px;
  border-bottom: none;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.8rem 1.5rem;
  background: white;
  transition: all 0.3s ease;
}

.agenda-list.grid-view .tournoi-card:hover {
  background: rgba(107, 91, 255, 0.05);
  border-left-color: #6B5BFF;
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(107, 91, 255, 0.15);
}

.agenda-list.grid-view .tournoi-info {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-width: 0;
}

.agenda-list.grid-view .tournoi-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.agenda-list.grid-view .tournoi-info h3::before {
  content: "●";
  color: #6B5BFF;
  font-size: 0.6rem;
}

.agenda-list.grid-view .tournoi-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
}

.agenda-list.grid-view .tournoi-meta span {
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #F8F9FF;
  padding: 0.4rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(107, 91, 255, 0.1);
}

.agenda-list.grid-view .tournoi-description {
  grid-column: 1 / -1;
  grid-row: 2;
  display: block;
  font-size: 0.85rem;
  color: var(--gray);
  margin: 0;
  padding: 0.6rem 0.9rem;
  background: rgba(107, 91, 255, 0.05);
  border-radius: 6px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agenda-list.grid-view .tournoi-actions {
  grid-column: 2;
  grid-row: 1;
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: flex;
  align-items: center;
}

.agenda-list.grid-view .tournoi-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  min-width: auto;
  border-radius: 8px;
  white-space: nowrap;
}

.agenda-list.grid-view .tournoi-actions .btn i {
  font-size: 0.9rem;
}

/* Responsive grille */
@media (max-width: 768px) {
  .section-header {
    padding-top: 3rem;
  }

  .view-toggle-container {
    top: 0;
    right: 0;
    padding: 3px;
  }

  .view-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  /* Vue grille sur mobile - Layout adapté */
  .agenda-list.grid-view .agenda-date {
    position: relative;
    top: auto;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    border-radius: 10px;
    margin: 0 0 0.5rem 0;
  }

  .agenda-list.grid-view .agenda-date:first-child {
    margin-top: 0.5rem;
  }

  .agenda-list.grid-view .tournoi-card+.agenda-date {
    margin-top: 1rem;
  }

  .agenda-list.grid-view .agenda-date:first-child {
    margin-top: 0.5rem;
  }

  .agenda-list.grid-view .tournoi-card {
    padding: 1rem;
    gap: 0.8rem;
    border-radius: 8px;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }

  .agenda-list.grid-view .tournoi-info {
    grid-column: 1;
    grid-row: 1;
    gap: 0.8rem;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .agenda-list.grid-view .tournoi-meta {
    flex-wrap: wrap;
    gap: 0.8rem;
  }
}

/* Toolt
ip pour la description en vue grille */
.agenda-list.grid-view .tournoi-card[data-description]:hover::after {
  content: attr(data-description);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 400px;
  width: max-content;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  animation: fadeIn 0.2s ease;
}

.agenda-list.grid-view .tournoi-card[data-description]:hover::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  z-index: 100;
}

.agenda-list.grid-view .tournoi-card {
  position: relative;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Responsive tooltip */
@media (max-width: 768px) {
  .agenda-list.grid-view .tournoi-card[data-description]:hover::after {
    max-width: 90vw;
    left: 10px;
    right: 10px;
    transform: none;
  }

  .agenda-list.grid-view .tournoi-card[data-description]:hover::before {
    left: 50px;
    transform: none;
  }

  .agenda-list.grid-view .tournoi-actions .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }
}


.agenda-list.grid-view .tournoi-info h3 {
  font-size: 0.95rem;
  width: 100%;
}

.agenda-list.grid-view .tournoi-meta {
  gap: 0.6rem;
  flex-wrap: wrap;
}

.agenda-list.grid-view .tournoi-meta span {
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
}

.agenda-list.grid-view .tournoi-description {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.8rem;
  padding: 0.5rem 0.7rem;
  -webkit-line-clamp: 3;
}

.agenda-list.grid-view .tournoi-actions {
  grid-column: 1;
  grid-row: 3;
  justify-content: flex-start;
}

.agenda-list.grid-view .tournoi-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  width: 100%;
  justify-content: center;
}

/* ========================================
   SECTION SEO - Style Apple épuré
   ======================================== */

.seo-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.seo-header {
  text-align: center;
  margin-bottom: 4rem;
}

.seo-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.seo-subtitle {
  font-size: 1.2rem;
  color: #666;
  font-weight: 400;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.seo-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.seo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(107, 91, 255, 0.15);
}

.seo-card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.seo-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1rem;
}

.seo-card p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* Recherches populaires */
.seo-tags {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.seo-tags h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 1.5rem;
  text-align: center;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tag {
  background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
  padding: 0.7rem 1.5rem;
  border-radius: 25px;
  font-size: 0.95rem;
  color: #333;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: default;
}

.tag:hover {
  background: linear-gradient(135deg, #6B5BFF 0%, #5548D6 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 91, 255, 0.3);
}

/* FAQ */
.seo-faq {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.seo-faq h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2rem;
  text-align: center;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item h4::before {
  content: "→";
  font-size: 1.3rem;
  color: var(--primary);
}

.faq-item p {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
  padding-left: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .seo-section {
    padding: 3rem 0;
  }
  
  .seo-header h2 {
    font-size: 1.8rem;
  }
  
  .seo-subtitle {
    font-size: 1rem;
  }
  
  .seo-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .seo-card {
    padding: 2rem;
  }
  
  .seo-card-icon {
    font-size: 2.5rem;
  }
  
  .seo-tags,
  .seo-faq {
    padding: 2rem;
  }
  
  .tags-container {
    gap: 0.8rem;
  }
  
  .tag {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .faq-item p {
    padding-left: 1.5rem;
  }
}


/* ========================================
   NOUVEAU DESIGN TABLEAU TOURNOIS
   ======================================== */

/* Container du tableau */
.tournois-table-container {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(107, 91, 255, 0.08);
  margin-bottom: 2rem;
}

/* Header du mois */
.month-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Ligne de tournoi */
.tournoi-row {
  display: grid;
  grid-template-columns: 70px 1fr 80px 40px;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(107, 91, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  gap: 1rem;
}

.tournoi-row:hover {
  background: rgba(107, 91, 255, 0.04);
}

.tournoi-row:active {
  background: rgba(107, 91, 255, 0.08);
}

/* Date */
.tournoi-row-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--light-bg);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 55px;
}

.tournoi-row-date .day-name {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tournoi-row-date .day-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

/* Infos tournoi */
.tournoi-row-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.tournoi-row-info .title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tournoi-row-info .location {
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.tournoi-row-info .location i {
  color: var(--primary);
  font-size: 0.7rem;
}

/* Heure */
.tournoi-row-time {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-align: center;
}

/* Flèche */
.tournoi-row-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-light);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.tournoi-row:hover .tournoi-row-arrow {
  color: var(--primary);
  transform: translateX(3px);
}

/* Badge type */
.type-badge {
  display: inline-block;
  font-size: 0.65rem;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-left: 0.5rem;
}

.type-badge.concours {
  background: rgba(107, 91, 255, 0.1);
  color: var(--primary);
}

.type-badge.tournoi {
  background: rgba(65, 211, 149, 0.1);
  color: var(--accent);
}


/* ========================================
   RESPONSIVE TABLEAU TOURNOIS
   ======================================== */

/* Desktop */
@media (min-width: 769px) {
  .tournoi-row {
    grid-template-columns: 80px 1fr 120px 100px 50px;
  }
  
  .tournoi-row-type {
    display: block;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .tournoi-row {
    grid-template-columns: 55px 1fr 60px 30px;
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }
  
  .tournoi-row-date {
    padding: 0.4rem;
  }
  
  .tournoi-row-date .day-num {
    font-size: 1.2rem;
  }
  
  .tournoi-row-info .title {
    font-size: 0.9rem;
  }
  
  .tournoi-row-time {
    font-size: 0.85rem;
  }
  
  .tournoi-row-type {
    display: none;
  }
  
  .month-header {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }
}

/* Très petit écran */
@media (max-width: 380px) {
  .tournoi-row {
    grid-template-columns: 50px 1fr 50px 25px;
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .tournoi-row-date .day-num {
    font-size: 1.1rem;
  }
  
  .tournoi-row-date .day-name {
    font-size: 0.65rem;
  }
  
  .tournoi-row-info .title {
    font-size: 0.85rem;
  }
  
  .tournoi-row-info .location {
    font-size: 0.75rem;
  }
  
  .tournoi-row-time {
    font-size: 0.8rem;
  }
}

/* Message aucun résultat */
.no-results-table {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray);
}

.no-results-table i {
  font-size: 3rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.no-results-table h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
