/*=====================================
  1. RESET
====================================*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*=====================================
  2. VARIABLES
====================================*/
:root {
  --color-bg: #121212;
  --color-text: #eee;
  --color-white: #fff;
  --color-section-bg: #1e1e1e;
  --color-card-bg: rgba(42, 42, 42, 0.4);
  --color-form-field: #3a3a3a;
  --color-footer-bg: #111;
  --color-footer-text: #ccc;
  --color-muted: #aaa;
  --color-accent-red: #af051a;
  --color-accent-red2: #350600;
  --color-hover-bg: rgba(255, 255, 255, 0.2);
  --color-about-bg: #171717;
  --color-form-bg: #1c1c1c;
}

/*=====================================
  3. TYPOGRAPHY
====================================*/
html {
  font-size: 16px;
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Essonnes Display Bold", sans-serif;
  line-height: 1.3;
  margin-bottom: 0.75em;
}

p {
  margin-left: auto;
  margin-right: auto;
}

/* Animated underline on hover for all non-button, non-logo, non-slot, non-testimonial, non-team-member links */
a:not(.btn):not(.logo):not(.slot):not(.testimonial):not(.team-member) {
  position: relative;
  color: var(--color-white);
  text-decoration: none;
}

a:not(.btn):not(.logo):not(.slot):not(.testimonial):not(.team-member)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent-red);
  transition: width 0.3s ease;
}

a:not(.btn):not(.logo):not(.slot):not(.testimonial):not(.team-member):hover::after {
  width: 100%;
}

/* Focus states */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent-red);
  outline-offset: 2px;
}

/*=====================================
  4. BASE
====================================*/
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: var(--color-bg);
  color: var(--color-text);
  position: relative;
}

/*=====================================
  5. LAYOUT UTILITIES
====================================*/
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/*=====================================
  6. PSEUDO-BACKGROUND
====================================*/
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Suppression de l'image et du blur, ajout d'un fond gris */
  background: #232323;
  opacity: 1;
  filter: none;
  z-index: -1;
}

/*=====================================
  7. HEADER & NAV
====================================*/
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 0 2rem;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Support Safari */
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--color-accent-red2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  z-index: 100;
}

.site-header .logo {
  height: 60px;
  display: flex;
  align-items: center;
}

.site-header .logo img {
  height: 60px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  color: var(--color-accent-red);
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  position: relative;
  display: block;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  background: var(--color-accent-red);
  transition: width 0.35s ease;
}

.nav-links li.active a::after {
  width: 100% !important;
  opacity: 1;
}

.nav-links li.active a {
  color: var(--color-white);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 110;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-accent-red);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

/* Animation du hamburger en X */
.hamburger.toggle span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
  opacity: 0;
}

.hamburger.toggle span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.toggle span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.toggle span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
  opacity: 0;
}

/*=====================================
  8. HERO
====================================*/
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.99)),
              url("../img/hero.png") center/cover no-repeat;
  min-height: 100vh;
  position: relative;
  isolation: isolate;
  padding-top: 100px; /* prevent header from overlapping hero content */
  display: flex;     /* Ajout de flexbox au conteneur principal */
  align-items: center; /* Centre verticalement */
  justify-content: center; /* Centre horizontalement */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 50% 40%, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.45) 60%, rgba(0,0,0,0.85) 100%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 160px rgba(0,0,0,0.6);
  z-index: 0;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre verticalement */
  align-items: center;     /* Centre horizontalement */
  width: 100%;             /* Occupe toute la largeur disponible */
  max-width: 1200px;       /* Limite la largeur maximale */
  margin-top: -50px;       /* Ajustement pour compenser le padding-top du hero */
}

.hero-content {
  width: 100%;             /* Occupe toute la largeur disponible */
  max-width: 980px;
  margin: 0 auto;
  display: flex;           /* Flexbox pour les éléments internes */
  flex-direction: column;
  align-items: center;     /* Centre horizontalement tous les éléments enfants */
  justify-content: center; /* Centre verticalement */
}

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  background: rgba(0,0,0,0.35);
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.subhead {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.5rem;
}

.cta-group {
  display: inline-flex;
  gap: 0.75rem;
  margin: 0.5rem 0 1rem;
}

.social-proof {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

.social-proof .dot {
  padding: 0 0.5rem;
  color: rgba(255,255,255,0.35);
}

.scroll-cue {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-top: 1.25rem;
  animation: bounceY 1.6s infinite;
  cursor: pointer;
}

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/*=====================================
  9. PAGE HEADER
====================================*/
.page-header {
  background: var(--color-section-bg);
  padding: 2rem;
  text-align: center;
  margin-top: 100px;
}

.page-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: var(--color-accent-red);
  margin: 0.5rem auto 0;
  border-radius: 1px;
}

/*=====================================
  10. TEXT CONTENT
====================================*/
.introduction,
.text,
.our-mission {
  font-size: 1.2rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 60px auto;
  padding: 0 1rem;
  text-align: center;
}

/*=====================================
  11. INFO SECTION
====================================*/
#info.info {
  padding: 5rem 2rem;
  background: var(--color-section-bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

#info.info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

.info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.info-item {
  background: rgba(30, 30, 30, 0.7);
  padding: 1.5rem;
  border-radius: 12px;
  min-width: initial;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(175, 5, 26, 0.3);
}

.info-item strong {
  display: block;
  color: var(--color-accent-red);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 800;
}

.coming-soon {
  font-style: normal;
  color: var(--color-white);
  padding: 0.8rem 1.5rem;
  background: rgba(175, 5, 26, 0.2);
  border: 1px solid rgba(175, 5, 26, 0.3);
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(175, 5, 26, 0.25);
}

/*=====================================
  11b. COMMUNITY SECTION
====================================*/
.community {
  padding: 6rem 2rem;
  background: linear-gradient(170deg, #232323, var(--color-section-bg));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.community::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(175, 5, 26, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.community-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.community h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  position: relative;
  display: inline-block;
}

.community h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-accent-red);
  margin: 0.8rem auto 0;
  border-radius: 3px;
}

.community-description {
  font-size: 1.2rem;
  color: var(--color-text);
  max-width: 800px;
  margin: 0 auto 3rem;
}

.community-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.community-benefit {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: rgba(30, 30, 30, 0.7);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.community-benefit:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(175, 5, 26, 0.3);
}

.community-benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.community-benefit h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-accent-red);
}

.community-benefit p {
  color: #e0e0e0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background-color: #5E6FEB; /* Couleur Discord - ne pas changer */
  border-radius: 12px;
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 8px 20px rgba(114, 137, 218, 0.3);
  margin-top: 1rem;
  gap: 0.75rem;
}

.discord-button:hover {
  background-color: #5e78d5; /* Couleur hover Discord - ne pas changer */
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(114, 137, 218, 0.4);
}

.discord-button:active {
  transform: translateY(1px);
}

.discord-button::after {
  display: none !important;
}

.discord-logo {
  height: 28px;
  width: auto;
}

/*=====================================
  12. TESTIMONIALS
====================================*/
.testimonials {
  padding: 6rem 2rem;
  background: var(--color-section-bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(175, 5, 26, 0.03) 0%, transparent 70%);
  pointer-events: none;
  
}

.testimonials h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.testimonials h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-accent-red);
  margin: 0.8rem auto 0;
  border-radius: 3px;
}

.testimony-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial {
  background: rgba(30, 30, 30, 0.7);
  padding: 2rem;
  border-radius: 16px;
  max-width: 350px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none; /* S'assurer qu'il n'y a pas de soulignement */
  display: block;
  color: inherit; /* Maintenir la couleur par défaut */
}

/* Neutralisation explicite de l'effet de soulignement pour les testimonials */
.testimonial::after {
  display: none !important;
}

.testimonial:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
      border-color: rgba(175, 5, 26, 0.3);

}

.testimonial p {
  font-style: italic;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-size: 1.15rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial span {
  display: block;
  text-align: right;
  font-weight: bold;
  color: var(--color-accent-red);
  font-size: 1.05rem;
}

/* Effet de survol sur la section témoignage */
.testimonial:nth-child(1) { transform: rotate(-1deg); }
.testimonial:nth-child(2) { transform: translateY(5px); }
.testimonial:nth-child(3) { transform: rotate(1deg); }

.testimonial:nth-child(1):hover { transform: rotate(0) translateY(-10px); }
.testimonial:nth-child(2):hover { transform: translateY(-5px); }
.testimonial:nth-child(3):hover { transform: rotate(0) translateY(-10px); }

/*=====================================
  13. ABOUT TEAM
====================================*/
.about-team {
  padding: 6rem 2rem;
  background: linear-gradient(170deg, var(--color-about-bg), var(--color-bg));
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.about-team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23af051a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.about-team-content {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-team-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-badge {
  background: rgba(175, 5, 26, 0.15);
  color: var(--color-accent-red);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 1rem;
  border: 1px solid rgba(175, 5, 26, 0.3);
}

.about-team h2 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(90deg, #fff, #ccc);
  -webkit-text-fill-color: transparent;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.team-member {
  background: rgba(30, 30, 30, 0.6);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
  text-decoration: none; /* Pas de soulignement */
  color: inherit; /* Conserver la couleur du texte */
  display: block; /* Rendre le lien bloc pour occuper toute la zone */
}

/* Neutraliser explicitement l'effet de soulignement pour les team-member */
.team-member::after {
  display: none !important;
}

.team-member:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(175, 5, 26, 0.3);
}

.team-member-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  overflow: hidden;
  border: 3px solid rgba(175, 5, 26, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #350600, #af051a);
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
}

.team-member h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
  color: var(--color-white);
}

.team-role {
  color: var(--color-accent-red);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  letter-spacing: 0.03em;
}

.team-member p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
}

.about-vision {
  background: rgba(25, 25, 25, 0.7);
  border-radius: 16px;
  padding: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
}

.about-vision::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-accent-red);
  border-radius: 3px;
}

.about-vision h3 {
  color: var(--color-accent-red);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-vision p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #e0e0e0;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.about-vision p:last-child {
  margin-bottom: 0;
}

/*=====================================
  14. ABOUT PAGE
====================================*/
.about-hero .lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 820px;
  margin: .5rem auto 1rem;
}

.hero-badges {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 3rem 0em 0em;
}

.hero-badges .badge {
  background: rgba(175,5,26,.12);
  border: 1px solid rgba(175,5,26,.35);
  border-radius: 999px;
  color: var(--color-white);
  padding: .25rem .6rem;
}

.about-intro { 
  padding: 3rem 5%; 
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.checklist { 
  list-style: none; 
  padding: 0; 
  margin: 1rem 0 0; 
  display: grid; 
  gap: .5rem; 
}

.checklist li { 
  position: relative; 
  padding-left: 1.6rem; 
}

.checklist li::before {
  content: '✓';
  position: absolute; 
  left: 0; 
  top: 0;
  color: var(--color-accent-red);
  font-weight: 900;
}

.value-cards { 
  list-style: none; 
  padding: 0; 
  margin: .5rem 0 0; 
  display: grid; 
  gap: .5rem; 
}

.value-cards li {
  display: flex; 
  align-items: baseline; 
  gap: .5rem;
  background: var(--color-card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: .65rem .8rem;
}

.value-cards li strong { 
  color: var(--color-white); 
  min-width: 140px; 
}

.about-highlights { 
  background: var(--color-section-bg); 
  padding: 1rem 0; 
}

.about-stats { 
  list-style: none; 
  padding: 0; 
  margin: 0; 
  display: flex; 
  justify-content: center; 
  gap: 2rem; 
}

.about-stats li { 
  text-align: center; 
}

.about-stats li strong { 
  display: block; 
  font-size: 1.5rem; 
  color: var(--color-white); 
}

.about-stats li span { 
  color: var(--color-muted); 
  font-size: .95rem; 
}

.about-how { 
  padding: 2.5rem 5%; 
  text-align: center; 
}

.about-how h2 { 
  margin-bottom: .8rem; 
}

.steps {
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: .75rem;
  max-width: 760px;
  margin: 1rem auto 1.25rem;
  text-align: left;
}

.steps li {
  position: relative;
  padding: .75rem .9rem .75rem 2.6rem;
  background: var(--color-card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; 
  left: .8rem; 
  top: 50%; 
  transform: translateY(-50%);
  width: 1.6rem; 
  height: 1.6rem; 
  border-radius: 999px;
  background: var(--color-accent-red); 
  color: #fff;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 800;
}

.team-grid { 
  list-style: none; 
  padding: 0; 
  margin: 1rem auto 0; 
  display: grid; 
  grid-template-columns: repeat(2, minmax(240px, 1fr)); 
  gap: 1rem; 
  max-width: 900px; 
}

.team-grid li { 
  background: var(--color-card-bg); 
  border: 1px solid rgba(255,255,255,0.06); 
  border-radius: 8px; 
  padding: 1rem; 
}

.team-grid .role { 
  color: var(--color-muted); 
  margin: .15rem 0 .5rem; 
  font-size: .95rem; 
}

.about-cta { 
  padding: 2rem 5%; 
}

.cta-card {
  max-width: 820px; 
  margin: 0 auto; 
  text-align: center;
  background: var(--color-card-bg);
  border: 1px solid rgba(175, 5, 25, 0.656);
  border-radius: 12px;
  padding: 1.25rem;
}

.cta-card p { 
  margin-bottom: 1rem; 
}

/*=====================================
  15. RESERVATION – PLAYER CHIPS
====================================*/
.players-choices { 
  display: flex; 
  flex-wrap: wrap; 
  gap: .5rem; 
}

.player-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: var(--color-card-bg);
  color: var(--color-white);
  padding: .55rem .8rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  transition: background .2s, border-color .2s, transform .15s, box-shadow .2s;
}

.player-chip:hover,
.player-chip:focus-visible {
  border-color: var(--color-accent-red);
  transform: none;
  box-shadow: 0 6px 18px rgba(175,5,26,0.2);
  outline: none;
}

.player-chip.selected {
  background: var(--color-accent-red);
  border-color: var(--color-accent-red2);
  color: var(--color-white);
  box-shadow: 0 0 0 2px var(--color-accent-red2);
}

/*=====================================
  16. PAYMENT SUCCESS MESSAGE
====================================*/
.payment-success {
  background: rgba(46,160,67,.14);
  border: 1px solid rgba(46,160,67,.35);
  color: #c9f7d4;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  text-align: center;
}

.payment-success h3 { 
  margin: 0 0 .25rem; 
  color: #eaffee; 
  font-size: 1.2rem; 
}

.payment-success p { 
  margin: 0; 
  color: #bde9c7; 
}

/*=====================================
  17. RESERVATION AGENDA
====================================*/
.reservation-layout {
  padding: 20px;
  padding-bottom: 1rem;
  max-width: 100%;
  overflow-x: hidden;
}

.agenda {
  background: var(--color-section-bg);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  padding: 2rem 1.5rem 1.5rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

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

.agenda-head .btn-secondary {
  padding: 0.5rem 0.8rem;
  white-space: nowrap;
  min-width: 140px;
  font-size: 0.85rem;
}

.agenda-title {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--color-white);
  text-align: center;
  flex: 1;
}

.agenda-grid {
  display: none;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  min-width: 620px;
  background: none;
  width: 100%;
}

.agenda-grid.active {
  display: grid;
}

.agenda-col.day-head {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px 6px 0 0;
  padding: 0.7rem 0.2rem;
  text-align: center;
  font-weight: bold;
  color: var(--color-accent-red);
  font-size: 0.85rem;
  border-bottom: 2px solid var(--color-accent-red);
}

.day-name {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.day-date {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 5px;
  background: #232323;
  color: var(--color-white);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease;
  margin: 2px 0;
  text-align: center;
  letter-spacing: -0.02em;
}

.slot.open {
  background: #3a3a3a;
  color: #fff;
  border: 1px solid #3a3a3a;
}

.slot.open:hover {
  background: var(--color-accent-red);
  color: #fff;
  border-color: var(--color-accent-red);
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(175, 5, 26, 0.3);
}

.slot.active {
  background: var(--color-accent-red);
  color: #fff !important;
  border: 1px solid #fff;
  box-shadow: 0 0 0 1px var(--color-accent-red), 0 2px 8px rgba(175,5,26,0.3);
  transform: scale(1.03);
  z-index: 5;
}

.slot.closed {
  background: #1a1a1a;
  color: #777;
  border: 1px solid #1a1a1a;
  cursor: not-allowed;
  opacity: 0.7;
}

.slot span {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
}

.slot span::before {
  content: attr(data-hour);
}

.agenda-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
  color: var(--color-text);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  font-size: 0.85rem;
}

.agenda-legend .lg {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.agenda-legend .lg.open { 
  background: #3a3a3a; 
}

.agenda-legend .lg.contact { 
  background: #ff9800; 
}

.agenda-legend .lg.closed { 
  background: #1B1B1B; 
}

.timeslot-categories {
  display: flex;
  gap: 0.3rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.category-tab {
  flex: 1;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-text);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-tab:hover {
  background: rgba(175, 5, 26, 0.15);
}

.category-tab.active {
  background: var(--color-accent-red);
  color: #fff;
  border-color: var(--color-accent-red);
}

/*=====================================
  18. RESERVATION FORM LAYOUT
====================================*/
.reservation-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;       /* Réduit de 2rem à 1.5rem */
  align-items: stretch;
  justify-content: center;
  max-width: 75em;
  margin: 0 auto;
  padding-bottom: 5rem;  /* Réduit de 3rem à 2rem */
}

.res-col {
  flex: 1;
  min-width: 280px;
  max-width: calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  height: auto;
}

.form-col, .map-col {
  width: 100%;
  background: var(--color-section-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* Optimisation hauteur de la map pour s'adapter à la hauteur du formulaire */
.map-container {
  width: 100%;
  height: 100%;
  min-height: 100%;    /* Remplir tout le conteneur parent */
  position: relative;
}

.map-embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 100%;    /* Assure que la carte remplit l'espace */
}

#form-section {
  padding-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
}

/*=====================================
  19. CONTACT FORM
====================================*/
section.contact,
section.full-contact {
  padding: 50px 20px;
  background: transparent; /* neutre par défaut, le fond de page s'applique */
  color: var(--color-white);
  position: relative;
}

section.contact::before,
section.full-contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  max-width: 34em;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-form {
  background: rgba(30, 30, 30, 0.7);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  width: 100%;
  margin: auto;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-form h3 {
  margin: 0 0 1.5rem;
  font-size: 1.6rem;
  position: relative;
  display: inline-block;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--color-white);
  resize: vertical;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

input:focus,
textarea:focus,
select:focus {
  border-color: rgba(175, 5, 26, 0.5);
  background: rgba(175, 5, 26, 0.05);
  box-shadow: 0 0 0 3px rgba(175, 5, 26, 0.15);
}

input:focus + label,
textarea:focus + label,
select:focus + label {
  color: var(--color-accent-red);
}

.success-message {
  background: rgba(46, 160, 67, 0.12);
  border: 1px solid rgba(46, 160, 67, 0.25);
  color: #b6f0c3;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  position: relative;
}

.success-message::before {
  content: "✓";
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  color: #4ade80;
}

.error-message {
  background: rgba(175, 5, 26, 0.12);
  border: 1px solid rgba(175, 5, 26, 0.25);
  color: #ffb4c1;
  padding: 1rem 1.25rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  position: relative;
}

.error-message::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  width: 20px;
  height: 20px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-accent-red);
  border: 2px solid var(--color-accent-red);
  border-radius: 50%;
}

.contact-form .btn-full {
  display: block;
  width: 100%;
  margin: 1.5rem 0 0;
}

/* Styles spécifiques pour les pages de réservation */
.reservation-row .contact-form {
  max-width: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 0 !important;
  padding: 1.25rem 1.5rem !important;   /* Padding plus compact */
  display: flex;
  flex-direction: column;
}

.reservation-row .form-group {
  margin-bottom: 0.75rem;   /* Plus compact, était 1.25rem */
}

.reservation-row input,
.reservation-row select,
.reservation-row textarea {
  padding: 0.6rem 0.8rem;   /* Champs plus compacts */
}

.reservation-row textarea {
  min-height: 80px;         /* Hauteur minimale plus petite */
  max-height: 120px;        /* Hauteur maximale limitée */
}

.reservation-row hr {
  margin: 0.75rem 0 !important;   /* Séparateurs plus compacts */
}

.reservation-row .contact-form h3 {
  margin-bottom: 0.75rem;         /* Titre plus compact */
}

/*=====================================
  25. CONTACT PAGE
====================================*/
.contact-page {
  padding-top: 100px; /* aligné avec header fixe */
}

.contact-page .page-header {
  margin-top: 0; /* évite double offset */
  background: var(--color-section-bg);
}

/* Fond de section cohérent dans le scope contact-page */
.contact-page section.contact,
.contact-page section.full-contact {
  background-color: #232323!important; /* fond de page unifié avec le reste du site */
}

/* Conteneur et carte du formulaire */
.contact-page .contact-container {
  max-width: 820px;
}

.contact-page .contact-form {
  margin: 0 auto;
  border-radius: 12px;             /* carte cohérente */
  padding: 2rem;                   /* confortable */
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(30,30,30,0.7);
}

.contact-page .contact-form h3 {
  margin-bottom: 1.25rem;
}

.contact-page .contact-form .btn-full {
  margin-top: 1rem;
}

/*=====================================
  20. BUTTONS
====================================*/
.btn,
.btn-full {
  display: inline-block;
  text-transform: uppercase;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--color-accent-red);
  color: var(--color-white);
  border-radius: 10px;
  padding: 0.9rem 1.35rem;
  border: 2px solid var(--color-accent-red);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(175, 5, 26, 0.35);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--color-accent-red);
  color: var(--color-accent-red);
  border-radius: 10px;
  padding: 0.9rem 2.2rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.03em;
  font-family: inherit;
  font-size: 0.95rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  cursor: pointer;
  text-align: center;       /* Assurer le centrage du texte */
  line-height: 1.2;         /* Ajustement de la hauteur de ligne */
}

/* Styles spécifiques pour les boutons de réservation */
#pay-link.btn-full, 
.btn-secondary.btn-full {
  display: flex;           /* Forcer flex pour centrage */
  align-items: center;     /* Centrage vertical */
  justify-content: center; /* Centrage horizontal */
  min-height: 56px;        /* Hauteur fixe pour assurer l'espace */
  padding-top: 0;          /* Supprimer le padding vertical */
  padding-bottom: 0;       /* pour éviter les décalages */
}

/* Disabled state pour les boutons */
.btn-secondary[disabled],
.btn-secondary[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  background-color: rgba(175, 5, 26, 0.15);
  border-color: rgba(175, 5, 26, 0.3);
}

/*=====================================
  22. FOOTER
====================================*/
footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 2rem 5%;
  background: var(--color-section-bg);
  gap: 2rem;
  border-top: 1px solid var(--color-muted);
}

.footer-col {
  flex: 1;
}

.footer-col.logo-col {
  flex: 0 0 120px;
}

.footer-col.logo-col img {
  max-height: 24px;
  width: auto;
}

.footer-logo img {
  max-height: 80px;
  width: auto;
}

.footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.footer-col.sitemap-col {
  text-align: left;
}

.footer-col.newsletter-col {
  text-align: left;
}

.footer-links h4,
.footer-newsletter h4 {
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.footer-links h4::after,
.footer-newsletter h4::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 1px;
  background: var(--color-accent-red);
  bottom: -4px;
  left: 0;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 1rem;
}

.footer-links ul li a {
  color: var(--color-white);
  text-decoration: none;
}

.footer-links ul li a:hover {
  color: var(--color-white);
}

.linkedin-follow,
.footer-bottom p {
  text-align: center;
  width: 100%;
  padding: 1rem 0;
}

.footer-newsletter {
  background: var(--color-section-bg);
  padding: 2rem 1rem;
  text-align: left;
}

.footer-newsletter h4 {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.footer-newsletter form {
  display: inline-flex;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
  max-width: 600px;
}

.footer-newsletter input[type="email"] {
  padding: 0.75rem 1rem;
  border: 1px solid #555;
  border-radius: 4px 0 0 4px;
  background: var(--color-form-field);
  color: var(--color-white);
}

.footer-newsletter button {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0 4px 4px 0;
  background: var(--color-accent-red);
  color: var(--color-white);
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-success {
  background: rgba(46, 160, 67, 0.15);
  border: 1px solid rgba(46, 160, 67, 0.35);
  color: #b6f0c3;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin: 0 0 0.75rem 0;
}

.newsletter-error {
  background: rgba(175, 5, 26, 0.15);
  border: 1px solid rgba(175, 5, 26, 0.35);
  color: #ffb4c1;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  margin: 0 0 0.75rem 0;
}

.footer-newsletter button:hover {
  background: var(--color-accent-red2);
}

.footer-bottom {
  border-top: 1px solid var(--color-muted);
  padding: 1rem 5%;
  text-align: center;
  background: transparent;
}

.footer-bottom p {
  margin: 0;
  color: var(--color-footer-text);
  font-size: 0.9rem;
}

.payment-icons {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  gap: 1em;
}

/*=====================================
  23. MENTIONS LÉGALES / CGV-CGU
====================================*/
.legal-page {
  padding-top: 100px;
  background: var(--color-bg);
  min-height: calc(100vh - 300px); /* Hauteur minimale pour les pages courtes */
}

/* Harmonisation: date sous le titre (même rendu toutes pages) */
.legal-page .legal-date {
  text-align: center;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin: .5rem 0 1.25rem;
}

/* Harmoniser le header des pages légales avec .page-header */
.legal-page .page-header {
  margin-top: 0; /* évite le double offset avec .legal-page { padding-top:100px } */
  padding: 2rem;
  background: var(--color-section-bg);
}

.legal-header {
  background: var(--color-section-bg);
  padding: 2rem;
  text-align: center;
  border-bottom: 0;
  margin-bottom: 0;
}

.legal-header h1 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

/* Soulignement identique à .page-header (2px) */
.legal-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px; /* identique à .page-header */
  background: var(--color-accent-red);
  margin: 0.5rem auto 0;
}

.legal-header .legal-date {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: 1rem;
  display: block;
}

/* Sommaire sous forme de petit tableau */
.legal-toc {
  background: rgba(20, 20, 20, 0.6);
  padding: 1.25rem 1.5rem;
  margin: 0 auto 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  max-width: 650px;
  border-radius: 0 0 8px 8px;
}

.legal-toc-title {
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: var(--color-white);
  font-size: 1.15rem;
  text-align: center;
}

.legal-toc-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.legal-toc-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(30, 30, 30, 0.7);
  transition: background 0.2s ease;
}

.legal-toc-table tr:hover td {
  background: rgba(175, 5, 26, 0.08);
}

.legal-toc-table tr:last-child td {
  border-bottom: none;
}

.legal-toc-table td:first-child {
  width: 30px;
  text-align: center;
  color: var(--color-accent-red);
  font-weight: bold;
  background: rgba(30, 30, 30, 0.3);
}

.legal-toc-table a {
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s;
  display: block;
  width: 100%;
  padding: 0.1rem 0;
}

.legal-toc-table a:hover {
  color: var(--color-accent-red);
}

/* Container pour le contenu principal */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 3rem;
  background: rgba(30, 30, 30, 0.4);
  border-radius: 8px;
  margin-bottom: 3rem;
}

/* Styles communs pour les sections */
.legal-section {
  margin-bottom: 3rem;
  padding: 0 0.5rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h2 {
  font-size: 1.7rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.legal-section h2::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--color-accent-red);
}

.legal-section h3 {
  font-size: 1.3rem;
  color: var(--color-accent-red);
  margin: 2rem 0 1rem;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
  margin: 1rem 0 1.5rem 1.5rem;
  line-height: 1.6;
}

.legal-section li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.legal-section a {
  color: var(--color-accent-red);
  text-decoration: none;
}

.legal-section a:hover {
  text-decoration: underline;
}

/* Blocs spéciaux pour contenu important */
.legal-section .address,
.legal-section .contact-info {
  background: rgba(30, 30, 30, 0.5);
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin: 1.5rem 0;
}

.legal-section .address p:last-child,
.legal-section .contact-info p:last-child {
  margin-bottom: 0;
}

.legal-section .highlight {
  background: rgba(175, 5, 26, 0.1);
  border-left: 3px solid var(--color-accent-red);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.legal-footer a {
  display: inline-block;
  color: var(--color-accent-red);
  font-weight: bold;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-accent-red);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.legal-footer a:hover {
  background-color: var(--color-accent-red);
  color: white;
  text-decoration: none;
}

/* Tableaux pour les pages légales */
.legal-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: rgba(30, 30, 30, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-section table th {
  background: rgba(175, 5, 26, 0.15);
  color: var(--color-white);
  font-weight: bold;
  padding: 0.75rem;
  text-align: left;
  border-bottom: 2px solid rgba(175, 5, 26, 0.3);
}

.legal-section table td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-section table tr:last-child td {
  border-bottom: none;
}

/* Surcharge pour les pages CGV et Mentions légales spécifiquement */
body.mentions-legales .legal-header h1,
body.cgv-cgu .legal-header h1 {
  color: var(--color-white); /* Garantir la même couleur */
}

/* Mise en évidence des définitions importantes */
.legal-section .definition-term {
  font-weight: bold;
  color: var(--color-white);
}

/*=====================================
  24. PAYMENT PAGE
====================================*/
.payment-page main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 3rem;
}

/* Repositionner le page-header pour qu'il prenne toute la largeur */
.payment-page .page-header {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  position: relative;
  left: 0;
  box-sizing: border-box;
  max-width: none;
}

/* Harmonisation du style du titre avec les autres pages */
.payment-page .page-header h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: var(--color-accent-red);
  margin: 0.5rem auto 0;
  border-radius: 1px;
}

/* Badges sous le titre (montant / créneau) */
.header-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .6rem .8rem;
  flex-wrap: wrap;
  margin: .75rem auto 1.5rem;
  color: var(--color-muted);
}

.header-details > span {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--color-white);
  padding: .4rem .75rem;
  border-radius: 999px;
  font-size: .95rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

/* Grille paiement: récapitulatif + formulaire */
.payment-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.25rem;
  align-items: stretch;
}

/* Cartes */
.order-summary,
.pay-form {
  background: rgba(30, 30, 30, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  padding: 1.25rem 1.25rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Structure interne de order-summary */
.order-summary {
  justify-content: space-between;
}

.order-summary .order-list-container {
  flex-grow: 1;
}

/* Titres */
.order-summary h2,
.pay-form h2 {
  margin: 0 0 .85rem;
  position: relative;
  display: inline-block;
  color: var(--color-white);
}

.order-summary h2::after,
.pay-form h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 60px;
  height: 2px;
  background: var(--color-accent-red);
  border-radius: 2px;
}

/* Labels récapitulatif: alignement propre */
.order-list li strong {
  min-width: 180px;
  color: var(--color-white);
  font-weight: 700;
}

/* Liste récap */
.order-list {
  list-style: none;
  margin: .5rem 0 1rem;
  padding: 0;
}

.order-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--color-text);
  font-size: .95rem;
}

.order-list li:last-child {
  border-bottom: 0;
}

.order-note {
  margin-top: auto;
  padding: .6rem .8rem;
  background: rgba(175, 5, 26, 0.12);
  border: 1px solid rgba(175, 5, 26, 0.25);
  border-radius: 8px;
  color: var(--color-white);
  font-size: .95rem;
}

/* Structure interne de pay-form */
.pay-form {
  justify-content: flex-start;
}

.pay-form form {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Bloc Stripe */
#payment-element {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem;
  min-height: 64px;
  margin: .25rem 0 1rem;
  flex-grow: 1;
}

/* Bouton payer */
#submit.btn {
  width: 100%;
  margin-top: auto;
  font-weight: 800;
}

/* Message d’erreur Stripe */
#message.error-message {
  display: none;
  margin-bottom: 1rem !important;
}

/* Page intro (cas sans montant) */
.page-intro {
  text-align: center;
  max-width: 800px;
  margin: 1rem auto 2rem;
  color: var(--color-text);
}

/* Confirmation */
.confirmation-message .success-message {
  max-width: 820px;
  margin: 0 auto;
}
/* Confirmation */
.confirmation-message .success-message {
  max-width: 820px;
  margin: 0 auto;
}
