/* ============================================================
   STYLE.CSS — Circuit International d'Aigues-Vives
   Police principale : Barlow Condensed (titres) + Barlow (texte)
   Palette : --red #cc1f1f | --dark #111111 | --bg #f7f7f7
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=Barlow:wght@400;500;600&family=Montserrat:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* ── VARIABLES GLOBALES ── */
:root {
  --red:        #cc1f1f;
  --dark:       #111111;
  --mid:        #1e1e1e;
  --text:       #333333;
  --text-light: #666666;
  --bg:         #f7f7f7;
  --bg-warm:    #f4f2ee;
  --white:      #ffffff;
  --border:     #dddddd;
  --card-w:     280px;
  --gap:        20px;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Barlow', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.6;
  zoom: 0.9;
}



/* ================================================================ */
/* HEADER / NAVIGATION                                              */
/* ================================================================ */

.navbar {
  background-color: #000000;
  padding: 15px 0;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo img {
  height: 100px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--red);
}

.dropdown-menu {
  background-color: #413c3b;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #413c3b;
  color: #ffffff;
  outline: none;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 1rem;
  }
}


/* ================================================================ */
/* HERO                                                             */
/* ================================================================ */

.hero-simple {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-texte {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  width: 90%;
  max-width: 860px;
}

.hero-texte h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 7vw, 5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin: 0;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.75);
}

.hero-texte p {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  margin-top: 12px;
  text-shadow: 1px 1px 8px rgba(0,0,0,0.7);
}

/* Hero full-height (ancienne classe, conservée) */
.hero-section {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.slider-nav {
  z-index: 1000 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}


/* ================================================================ */
/* SECTION PRÉSENTATION                                             */
/* ================================================================ */

.presentation-section {
  padding: 70px 20px;
  background: var(--bg-warm);
}

.presentation-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pres-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 28px;
}

.pres-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.pres-intro {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.pres-list {
  list-style: none;
  margin-bottom: 24px;
}

.pres-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 8px;
}

.pres-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background-color: var(--red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 18 15 12 9 6'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.pres-list li strong {
  font-weight: 700;
  color: var(--dark);
}

.pres-ancv-note {
  font-size: 0.82rem;
  font-weight: 700;
  font-style: italic;
  color: var(--text);
  margin-bottom: 16px;
}

.pres-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pres-logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.logo-placeholder {
  height: 44px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pres-image-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  align-self: stretch;
}

.pres-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.pres-image-wrap:hover img {
  transform: scale(1.03);
}

@media (max-width: 820px) {
  .presentation-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pres-image-wrap {
    order: -1;
  }
}


/* ================================================================ */
/* SECTION ÉVÉNEMENTS — SLIDER                                      */
/* ================================================================ */

.events-section {
  padding: 60px 0 70px;
  background: var(--bg);
  overflow: hidden;
}

.events-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.slider-outer {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.slider-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  gap: var(--gap);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* ── Carte événement ── */
.event-card {
  flex: 0 0 var(--card-w);
  width: var(--card-w);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

.event-card__img {
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--mid);
}

.event-card__img-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.event-card__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #222, #444);
}

.event-card__img-placeholder span {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.event-card__body {
  padding: 16px 18px 20px;
}

.event-card__tag {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 8px;
}

.event-card__date {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-card__date::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.event-card__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.event-card__desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #555;
}

/* ── Boutons slider ── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--dark);
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 10;
  flex-shrink: 0;
}

.slider-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn:hover svg {
  stroke: #fff;
}

.slider-btn svg {
  width: 18px;
  height: 18px;
  stroke: var(--dark);
  stroke-width: 2.5;
  fill: none;
  transition: stroke 0.2s;
}

.slider-btn--prev { left: 0; }
.slider-btn--next { right: 0; }

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Dots ── */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}

.slider-dot.active {
  background: var(--red);
  transform: scale(1.3);
}

@media (max-width: 768px) {
  :root { --card-w: 250px; }
  .slider-outer { padding: 0 48px; }
}

@media (max-width: 500px) {
  :root { --card-w: calc(100vw - 96px); }
}


/* ================================================================ */
/* SECTION ACTIVITÉS                                                */
/* ================================================================ */

.activites-section {
  padding: 60px 20px;
  background: var(--bg-warm);
}

.activites-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  text-align: center;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 40px;
}

.activites-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.activite-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.activite-card__img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 12px;
  background: #ddd;
}

.activite-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.activite-card:hover .activite-card__img-wrap img {
  transform: scale(1.05);
}

.activite-card__label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--red);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .activites-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .activites-grid { grid-template-columns: 1fr; }
}


/* ================================================================ */
/* SECTION BON CADEAU                                               */
/* ================================================================ */

.bon-cadeau-section {
  padding: 70px 20px;
  background-color: #ffffff;
}

.bon-cadeau-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pres-image-wrap-bon-cadeau {
  position: relative;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pres-image-wrap-bon-cadeau img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  transition: transform 0.6s ease;
}

.pres-image-wrap-bon-cadeau:hover img {
  transform: scale(1.03);
}

.btn-boutique {
  display: inline-block;
  background: var(--red);
  color: #fff;
  border: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-boutique:hover {
  background: #fff;
  color: var(--red);
}

@media (max-width: 820px) {
  .bon-cadeau-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


/* ================================================================ */
/* SECTION VIDÉO                                                    */
/* ================================================================ */

.video-section {
  padding: 70px 20px;
  background-color: var(--bg-warm);
}

.video-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.18);
  background: #000;
  width: 267px;
  height: 476px;
  margin: 0 auto;
}

.video-wrap video {
  width: 100%;
  display: block;
  border-radius: 16px;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: opacity 0.3s;
}

.video-play-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--red);
  margin-left: 4px;
}

.video-wrap.playing .video-play-btn {
  opacity: 0;
}

.video-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  text-align: center;
  margin-bottom: 24px;
}

.video-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #555;
  text-align: justify;
  margin-bottom: 16px;
}

.video-text a {
  color: #cc8800;
  text-decoration: none;
  font-weight: 600;
}

.video-text a:hover {
  text-decoration: underline;
}

.video-cta {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 28px;
}

.video-logo {
  display: block;
  max-width: 200px;
}

@media (max-width: 820px) {
  .video-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


/* ================================================================ */
/* SECTION CHRONOS / LEADERBOARD                                     */
/* ================================================================ */

.chronos-section {
  padding: 70px 20px 60px;
  background: linear-gradient(180deg, #0d0d0d 0%, #1a1a2e 50%, #16213e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.chronos-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(204, 31, 31, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(204, 31, 31, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* ── Header ── */
.chronos-header {
  position: relative;
  z-index: 1;
  margin-bottom: 40px;
}

.chronos-podium-icons {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.podium-icon {
  font-size: 2rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.podium-icon:hover {
  transform: scale(1.2);
}

.podium-1 { font-size: 2.8rem; }

.chronos-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 8px;
}

.chronos-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.02em;
}

/* ── Podium Top 3 ── */
.chronos-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.podium-card {
  width: 200px;
  border-radius: 12px;
  padding: 28px 18px 22px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podium-card:hover {
  transform: translateY(-6px);
}

.podium-card--gold {
  background: linear-gradient(135deg, #ffd700 0%, #f0c800 40%, #daa520 100%);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.35), 0 0 60px rgba(255, 215, 0, 0.12);
  min-height: 200px;
  order: 0;
}

.podium-card--silver {
  background: linear-gradient(135deg, #e8e8e8 0%, #c0c0c0 40%, #a8a8a8 100%);
  box-shadow: 0 6px 24px rgba(192, 192, 192, 0.3);
  min-height: 170px;
  order: -1;
}

.podium-card--bronze {
  background: linear-gradient(135deg, #e8a87c 0%, #cd7f32 40%, #b8690e 100%);
  box-shadow: 0 6px 24px rgba(205, 127, 50, 0.3);
  min-height: 170px;
  order: 1;
}

.podium-rank {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  color: rgba(0, 0, 0, 0.2);
  line-height: 1;
  margin-bottom: 8px;
}

.podium-card--gold .podium-rank { font-size: 3.4rem; }

.podium-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 6px;
}

.podium-time {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.9);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.podium-card--gold .podium-time { font-size: 1.8rem; }

.podium-category {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ── Tableau classement ── */
.chronos-table-wrap {
  max-width: 820px;
  margin: 0 auto 36px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.chronos-table {
  width: 100%;
  border-collapse: collapse;
  background: #1c1c2e;
}

.chronos-table thead tr {
  background: linear-gradient(90deg, #cc1f1f, #a01818);
}

.chronos-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  padding: 14px 16px;
  text-align: left;
}

.chronos-table th.col-pos { text-align: center; width: 60px; }
.chronos-table th.col-temps { text-align: center; }
.chronos-table th.col-categorie { text-align: center; }

.chronos-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
}

.chronos-table tbody tr:hover {
  background: rgba(204, 31, 31, 0.08);
}

.chronos-table tbody tr:last-child {
  border-bottom: none;
}

.chronos-table td {
  padding: 13px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
}

.chronos-table td.col-pos { text-align: center; }
.chronos-table td.col-temps {
  text-align: center;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}
.chronos-table td.col-categorie { text-align: center; }

.chronos-table td.col-pilote {
  font-weight: 600;
  font-size: 0.95rem;
}

/* Lignes podium dans le tableau */
.row-gold { background: rgba(255, 215, 0, 0.08); }
.row-silver { background: rgba(192, 192, 192, 0.06); }
.row-bronze { background: rgba(205, 127, 50, 0.06); }

.row-gold td.col-pilote { color: #ffd700; font-weight: 700; }
.row-silver td.col-pilote { color: #d4d4d4; }
.row-bronze td.col-pilote { color: #e8a87c; }

/* Position badges */
.pos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
}

.pos-1 {
  background: linear-gradient(135deg, #ffd700, #daa520);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.pos-2 {
  background: linear-gradient(135deg, #e0e0e0, #a8a8a8);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.pos-3 {
  background: linear-gradient(135deg, #e8a87c, #cd7f32);
  color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}

/* Category badges */
.cat-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cat-390 {
  background: rgba(204, 31, 31, 0.15);
  color: #ff6b6b;
  border: 1px solid rgba(204, 31, 31, 0.25);
}

.cat-270 {
  background: rgba(52, 152, 219, 0.15);
  color: #5dade2;
  border: 1px solid rgba(52, 152, 219, 0.25);
}

.cat-enfant {
  background: rgba(46, 204, 113, 0.15);
  color: #58d68d;
  border: 1px solid rgba(46, 204, 113, 0.25);
}

/* ── CTA ── */
.chronos-cta-wrap {
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.btn-resultats {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: italic;
  padding: 14px 40px;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-resultats:hover {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(204, 31, 31, 0.4);
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .chronos-podium {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .podium-card { width: 85%; max-width: 280px; min-height: auto !important; order: unset !important; }
  .podium-card--gold { order: -1 !important; }
  .chronos-table th, .chronos-table td { padding: 10px 8px; font-size: 0.82rem; }
  .chronos-table td.col-temps { font-size: 0.92rem; }
  .cat-badge { font-size: 0.65rem; padding: 3px 7px; }
  .col-categorie { display: none; }
  .chronos-table th.col-categorie { display: none; }
}


/* ================================================================ */
/* SECTION HORAIRES                                                 */
/* ================================================================ */

.horaires-section {
  padding: 60px 20px;
  background: var(--bg-warm);
}

.horaires-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.horaires-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.horaire-bloc h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  text-align: center;
  margin-bottom: 6px;
}

.horaire-bloc .horaire-subtitle {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: #888;
  text-align: center;
  margin-bottom: 16px;
}

.horaire-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #d4956a;
  margin-bottom: 14px;
}

.horaire-table tr {
  border-bottom: 1px solid #d4956a;
}

.horaire-table tr:last-child {
  border-bottom: none;
}

.horaire-table tr:nth-child(odd) {
  background: rgba(200,184,154,0.2);
}

.horaire-table tr:nth-child(even) {
  background: #ffffff;
}

.horaire-table td {
  padding: 9px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.875rem;
  color: #333;
}

.horaire-table td:first-child {
  font-weight: 700;
  color: var(--dark);
  text-transform: uppercase;
  font-size: 0.8rem;
  width: 110px;
  background: rgba(181,160,136,0.2);
}

.horaire-note {
  border: 1px solid #d4956a;
  border-radius: 2px;
  padding: 10px 14px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  color: #555;
  line-height: 1.55;
}

/* ── Section accès ── */
.acces-bloc {
  border-top: 1px solid #e0e0e0;
  padding-top: 36px;
}

.acces-bloc h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 10px;
}

.acces-bloc p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 800px;
}

.acces-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--red);
  border: 2px solid var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 11px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-nav:hover {
  background: var(--red);
  color: #ffffff;
}

.btn-nav svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .horaires-grid { grid-template-columns: 1fr; }
}


/* ================================================================ */
/* SECTION KARTARE (CTA CONTACT)                                    */
/* ================================================================ */

.kartare-section {
  background-color: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 32px;
  text-align: center;
}

.kartare-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 14px;
}

.kartare-section p {
  font-family: 'Barlow', sans-serif;
  color: #aaaaaa;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 28px;
}

.kartare-section .btn {
  display: inline-block;
  background-color: var(--red);
  color: #ffffff;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.kartare-section .btn:hover {
  background-color: #a81818;
}


/* ================================================================ */
/* FOOTER                                                           */
/* ================================================================ */

.main-footer {
  font-family: 'Barlow', sans-serif;
  background-color: #000 !important;
  display: block !important;
  width: 100% !important;
  overflow: hidden;
}

.bandeau-partenaires-unique {
  background-color: #ffffff !important;
  width: 100% !important;
  padding: 20px 0;
  margin-bottom: 40px;
  display: block;
}

.container-partenaires {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto !important;
}

.container-partenaires img {
  max-height: 70px !important;
  width: auto !important;
  display: inline-block;
}

.footer-brand-logo {
  width: 250px !important;
  max-width: 100%;
  height: auto;
}

.side-logo {
  width: 180px !important;
  height: auto !important;
  display: block;
  margin-left: auto !important;
  margin-right: 0 !important;
  object-fit: contain;
}

.colonne-logos-droite {
  align-items: flex-end !important;
  text-align: right;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-item {
  display: flex;
  align-items: center;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.social-item i {
  width: 30px;
  font-size: 22px;
  text-align: center;
  margin-right: 10px;
}

.social-item:hover,
.social-links a:hover {
  color: var(--red) !important;
  transform: translateX(5px);
}

.contact-links {
  color: var(--red) !important;
}

.footer-map-container iframe {
  width: 100% !important;
  height: 280px;
  border-radius: 8px;
  border: 2px solid #444 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.footer-bottom {
  background-color: #000 !important;
  text-align: center !important;
  padding: 20px 0 !important;
  border-top: 1px solid #333;
  width: 100%;
}

.footer-bottom p {
  margin-bottom: 0 !important;
  color: #ffffff !important;
  font-size: 14px;
}


/* ================================================================ */
/* PAGE KARTING — LOCATION                                          */
/* ================================================================ */

/* Bandeau rouge */
.bandeau {
  background-color: var(--red);
  color: #ffffff;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 4px;
  margin: 24px 32px;
}

/* Grille 3 colonnes */
.colonnes {
  display: flex;
  gap: 20px;
  padding: 24px 32px;
  align-items: flex-start;
}

.carte {
  flex: 1;
  background-color: #f2f2f2;
  border-radius: 6px;
  padding: 24px 20px;
}

.carte h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  text-align: center;
}

.carte ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.carte ul li {
  padding-left: 22px;
  position: relative;
  font-size: 0.9rem;
  line-height: 1.5;
}

.carte ul li::before {
  content: '▶';
  color: var(--red);
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 0.75rem;
}

.carte p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.lien-pdf {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
}

.icone-pdf {
  text-align: center;
  margin-top: 12px;
}

.btn-wrapper {
  text-align: center;
  padding: 16px 32px 40px;
}

.btn {
  display: inline-block;
  background-color: var(--red);
  color: #fff;
  text-decoration: none;
  padding: 11px 28px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background-color 0.2s;
}

.btn:hover {
  background-color: #a81818;
}

/* Onglets */
.location-karting-section {
  background-color: var(--bg-warm);
}

.onglets {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 32px 0;
}

.onglet {
  text-decoration: none;
  padding: 10px 28px;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  background-color: #ddd;
  color: #555;
  transition: background-color 0.2s, color 0.2s;
}

.onglet.actif,
.onglet:hover {
  background-color: var(--red);
  color: #ffffff;
}

.titre-page {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
  padding: 24px 32px 8px;
}

.contenu {
  display: flex;
  gap: 28px;
  padding: 16px 32px 40px;
  align-items: flex-start;
  max-width: 900px;
  margin: 0 auto;
}

.col-gauche { flex: 3; }

.col-gauche h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

.sous-titre {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* Kart items */
.kart-item {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  margin-bottom: 8px;
  border-bottom: 1px solid #ddd;
}

.kart-img {
  width: 130px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.kart-info { flex: 1; }

.kart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.kart-header h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
}

.badge {
  background-color: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 3px;
  white-space: nowrap;
}

.badge.red { background-color: #e05000; }
.badge.dark { background-color: #333; }

.kart-age {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 4px;
}

.kart-info p {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.45;
}

.kart-sodi {
  font-size: 0.78rem;
  color: #888;
  margin-top: 4px;
}

.note {
  font-size: 0.78rem;
  color: #666;
  margin-top: 6px;
  font-style: italic;
}

/* Colonne droite — circuit box */
.col-droite {
  flex: 0 0 280px;
  position: sticky;
  top: 20px;
}

.circuit-box {
  background-color: #e8a800;
  border-radius: 8px;
  padding: 20px;
  color: #fff;
}

.circuit-box h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
}

.circuit-box p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 14px;
  color: #fff;
}

.img-circuit {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 10px;
  display: block;
}

.section-fastgp {
  padding: 32px 0;
  background-color: #ffffff;
}

.fastgp-photos {
  display: flex;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.fastgp-img {
  border-radius: 8px;
  object-fit: cover;
}

.fastgp-photos .fastgp-img:first-child {
  width: 200px;
  flex-shrink: 0;
}

.fastgp-photos .fastgp-img:last-child {
  flex: 1;
}

.section-cadeau {
  background-color: var(--bg-warm);
  text-align: center;
  padding: 48px 32px;
}

.section-cadeau h2 {
  color: var(--red);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-cadeau p {
  color: #333;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Équipe */
.section-equipe {
  background-color: #ffffff;
  padding: 48px 32px;
  width: 100%;
}

.equipe-titre {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 32px;
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.equipe-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.equipe-img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.equipe-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
}

.equipe-role {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 6px;
}

.equipe-info p {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.5;
}

/* Inscription */
.section-inscription {
  background-color: #ffffff;
  padding: 48px 32px;
  max-width: 700px;
  margin: 0 auto;
}

.inscription-titre {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 32px;
}

.formulaire {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group { flex: 1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.88rem;
  font-family: 'Barlow', sans-serif;
  color: #333;
  background-color: #fafafa;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.form-radio {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}

.form-radio label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 400;
  cursor: pointer;
}

.form-radio input[type="radio"] {
  accent-color: var(--red);
  width: 16px;
  height: 16px;
}

.form-info {
  background-color: var(--bg-warm);
  border-left: 3px solid var(--red);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-info a { color: var(--red); }

.form-submit {
  text-align: center;
  margin-top: 8px;
}


/* ================================================================ */
/* PAGE KARTING — LICENCIÉ (LOISIRS & COMPÉTITIONS)                 */
/* ================================================================ */

.page-wrapper {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 40px;
  background-color: #fff;
}

.page-titre {
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.page-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.colonne-gauche {
  position: sticky;
  top: 16px;
}

.circuit-card {
  background-color: #f7a81b;
  border: 2px solid #e09010;
  border-radius: 4px;
  padding: 12px;
}

.circuit-card h2 {
  text-align: center;
  font-size: 0.95rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 8px;
}

.circuit-card p {
  font-size: 15px;
  color: #222;
  line-height: 1.6;
  margin-bottom: 10px;
}

.circuit-img {
  width: 100%;
  display: block;
  border-radius: 2px;
  margin-bottom: 8px;
  object-fit: cover;
}

.circuit-img:last-child { margin-bottom: 0; }

.colonne-droite {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-bloc {
  padding: 18px 0 16px;
  border-bottom: 1px solid #e0e0e0;
}

.section-bloc:last-child { border-bottom: none; }

.section-bloc h2 {
  text-align: center;
  font-size: 0.95rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 10px;
}

.section-bloc p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 8px;
}

.section-bloc p:last-child { margin-bottom: 0; }

.section-bloc a {
  color: #1a5fa8;
  text-decoration: underline;
  font-weight: bold;
}

.section-bloc a:hover { color: var(--red); }

.info-importante {
  font-weight: bold !important;
  color: #222 !important;
}

.sous-titre-liste {
  font-weight: bold;
  color: #333;
  margin-top: 10px;
  margin-bottom: 4px;
}

.lien-secondaire {
  color: #1a5fa8 !important;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.82rem;
}

.liste-points {
  list-style: none;
  padding: 0;
  margin: 6px 0 10px;
}

.liste-points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 4px;
}

.liste-points li::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  background-color: var(--red);
  border-radius: 50%;
  margin-top: 4px;
}

@media (max-width: 600px) {
  .page-layout { grid-template-columns: 1fr; }
  .colonne-gauche { position: static; }
}

/* Boutique / Magasin */
.magasin-section {
  background-color: var(--bg-warm);
  padding: 40px 32px;
  width: 100%;
}

.magasin-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.magasin-titre {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin-bottom: 16px;
}

.magasin-texte p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  text-align: justify;
  margin-bottom: 12px;
}

.magasin-texte p:last-child { margin-bottom: 0; }

.magasin-lien {
  color: #cc6600;
  font-weight: 600;
  text-decoration: none;
}

.magasin-lien:hover { text-decoration: underline; }

.magasin-liste {
  list-style: none;
  padding: 0;
  margin: 0 0 12px 8px;
  counter-reset: liste-counter;
}

.magasin-liste li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: #333;
  line-height: 1.5;
  margin-bottom: 6px;
  counter-increment: liste-counter;
}

.magasin-liste li::before {
  content: counter(liste-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background-color: var(--red);
  color: #fff;
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: bold;
  flex-shrink: 0;
}

.magasin-photos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.magasin-img {
  width: 100%;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

.magasin-img-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.magasin-credit {
  font-size: 0.72rem;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 620px) {
  .magasin-inner { grid-template-columns: 1fr; }
  .magasin-photos { order: -1; }
}

/* Bandeau cadeau */
.bandeau-cadeau {
  background-color: #ffffff;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
}

.bandeau-titre {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 8px;
}

.bandeau-sous-titre {
  font-size: 0.9rem;
  color: #333;
  margin-bottom: 20px;
}

.bandeau-btn {
  display: inline-block;
  background-color: var(--red);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.bandeau-btn:hover { background-color: #a81818; }

/* École de pilotage */
.ecole-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px;
}

.ecole-intro {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: start;
  margin-bottom: 28px;
}

.ecole-titre {
  font-size: 1.2rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin-bottom: 16px;
}

.ecole-intro-texte p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  text-align: justify;
  margin-bottom: 10px;
}

.ecole-intro-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ecole-img-ffsa {
  width: 100%;
  border-radius: 4px;
  display: block;
  object-fit: cover;
}

.ecole-photos { margin-bottom: 32px; }

.ecole-img-groupe {
  width: 60%;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}

.ecole-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.ecole-carte {
  background-color: var(--red);
  border-radius: 4px;
  padding: 20px 16px;
  text-align: center;
  color: #ffffff;
}

.ecole-carte h3 {
  font-size: 0.95rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.carte-age {
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 12px;
}

.ecole-carte p {
  font-size: 0.78rem;
  color: #ffffff;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 10px;
}

.carte-cotisation {
  font-size: 0.82rem !important;
  font-weight: bold !important;
  font-style: normal !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255,255,255,0.4);
  padding-top: 10px;
  margin-top: 4px;
}

.ecole-deroulement {
  border-top: 1px solid #e0e0e0;
  padding-top: 24px;
}

.deroulement-titre {
  font-size: 0.9rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.ecole-deroulement p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  margin-bottom: 4px;
}

.deroulement-horaires {
  font-weight: bold;
  color: #222 !important;
  margin-top: 6px;
}

.deroulement-note {
  margin-top: 12px !important;
  color: #555 !important;
}

@media (max-width: 620px) {
  .ecole-intro { grid-template-columns: 1fr; }
  .ecole-intro-images { flex-direction: row; }
  .ecole-cartes { grid-template-columns: 1fr; }
  .ecole-img-groupe { width: 100%; }
}


/* ================================================================ */
/* PAGE KARTING — LICENCIÉ (CIRCUIT, COMPÉTITION, LICENCE)          */
/* ================================================================ */

.circuit-section {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px;
}

.circuit-titre {
  font-size: 1.15rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin-bottom: 20px;
}

.circuit-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  align-items: start;
}

.circuit-texte p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  text-align: justify;
  margin-bottom: 10px;
}

.circuit-liens {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.circuit-lien {
  font-size: 0.82rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.circuit-lien:hover {
  color: #990000;
  text-decoration: underline;
}

.circuit-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 580px) {
  .circuit-inner { grid-template-columns: 1fr; }
  .circuit-images { flex-direction: row; }
  .circuit-img { flex: 1; }
}

/* Compétition — Calendrier / Team / Galerie */
.section-inner {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-titre {
  font-size: 1.05rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin-bottom: 16px;
}

.section-calendrier {
  background-color: #ffffff;
  padding: 36px 0 32px;
  border-bottom: 1px solid #e8e8e8;
}

.calendrier-img-wrap { text-align: center; }

.calendrier-img {
  width: 100%;
  max-width: 380px;
  display: inline-block;
  border-radius: 4px;
  object-fit: cover;
}

.section-team {
  background-color: var(--bg-warm);
  padding: 36px 0 32px;
  border-bottom: 1px solid #e8e8e8;
}

.team-texte {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 16px;
}

.team-lien {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s;
}

.team-lien:hover {
  color: #990000;
  text-decoration: underline;
}

.section-galerie {
  background-color: var(--bg-warm);
  padding: 36px 0 40px;
}

.galerie-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.galerie-item {
  position: relative;
  background-color: #d8d8d8;
  border-radius: 3px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galerie-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

.galerie-label {
  position: absolute;
  font-size: 0.7rem;
  color: #888;
  text-align: center;
  pointer-events: none;
}

.galerie-item img[src]:not([src=""]) + .galerie-label {
  display: none;
}

@media (max-width: 580px) {
  .galerie-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 360px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Licence FFSA */
.licence-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.licence-bloc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.licence-bloc--encadre {
  background-color: var(--bg-warm);
  border: 1px solid #d0cdc7;
  border-radius: 6px;
  padding: 20px 22px;
}

.licence-bloc-titre {
  font-size: 0.88rem;
  font-weight: bold;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.licence-bloc-titre--centre { text-align: center; }

.licence-bloc p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  text-align: justify;
}

.licence-important {
  font-weight: bold !important;
  color: #222 !important;
}

.licence-lien {
  display: block;
  font-size: 0.82rem;
  color: #cc6600;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s;
}

.licence-lien:hover { color: #994400; }


/* ================================================================ */
/* PAGE ACTIVITÉ — VTT ÉLECTRIQUE                                   */
/* ================================================================ */

.vttae-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-intro {
  background-color: #ffffff;
  padding: 40px 0 36px;
  border-bottom: 1px solid #e8e8e8;
}

.section-intro p {
  font-size: 17px;
  color: #333;
  line-height: 1.7;
  text-align: left;
  margin-bottom: 10px;
}

.intro-liste {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.intro-liste li {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.6;
}

.section-location {
  background-color: #ffffff;
  padding: 32px 0 28px;
  border-bottom: 1px solid #e8e8e8;
}

.forfaits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.forfait-card {
  background-color: var(--bg-warm);
  border-radius: 6px;
  overflow: hidden;
}

.forfait-img-wrap {
  position: relative;
  background-color: var(--bg-warm);
  padding: 16px;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.forfait-prix {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--red);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 2;
}

.forfait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.forfait-info {
  padding: 14px 16px 18px;
}

.forfait-nom {
  font-size: 1rem;
  font-weight: bold;
  color: var(--red);
  margin-bottom: 6px;
}

.forfait-desc {
  font-size: 0.78rem;
  color: #555;
  font-style: italic;
  margin-bottom: 4px;
}

.forfait-type {
  font-size: 0.78rem;
  color: #555;
  font-style: italic;
}

.section-louer {
  background-color: #ffffff;
  padding: 32px 0 40px;
}

.louer-bloc {
  background-color: var(--bg-warm);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 28px;
}

.louer-titre {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  margin-bottom: 14px;
}

.louer-bloc p {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 12px;
}

.louer-bloc p:last-child { margin-bottom: 0; }

.louer-lien-mail {
  color: var(--red);
  font-weight: 600;
  text-decoration: none;
}

.louer-lien-mail:hover { text-decoration: underline; }

.louer-lien-tel {
  color: #cc6600;
  font-weight: 600;
  text-decoration: none;
}

.louer-lien-tel:hover { text-decoration: underline; }

.louer-sous-titre {
  font-weight: bold;
  color: #222 !important;
  margin-top: 14px !important;
  margin-bottom: 8px !important;
}

.louer-liste {
  list-style: disc;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.louer-liste li {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.6;
}

.btn-contrat {
  display: inline-block;
  background-color: #333;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: bold;
  padding: 9px 22px;
  border-radius: 4px;
  margin-top: 14px;
  transition: background-color 0.2s;
}

.btn-contrat:hover { background-color: #111; }

.louer-boutons {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
}

.btn-reserver {
  display: inline-block;
  background-color: var(--red);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: bold;
  padding: 13px 28px;
  border-radius: 4px;
  transition: background-color 0.2s;
  text-align: center;
}

.btn-reserver:hover { background-color: #a81818; }

@media (max-width: 560px) {
  .forfaits-grid { grid-template-columns: 1fr; }
  .louer-boutons { flex-direction: column; }
}


/* ================================================================ */
/* PAGE PAINTBALL                                                    */
/* ================================================================ */

.pb-forfaits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .pb-forfaits-grid { grid-template-columns: 1fr; }
}

.pb-pratiques-wrap {
  background-color: #ffffff;
  padding: 32px 0 40px;
}

.pb-pratiques-top {
  background-color: var(--bg-warm);
  border-radius: 10px;
  padding: 24px 28px;
  margin-bottom: 20px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pb-pratiques-top h2 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
}

.pb-pratiques-top ul {
  list-style: disc;
  padding-left: 20px;
  text-align: left;
  display: inline-block;
}

.pb-pratiques-top ul li {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.7;
}

.pb-boutons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.pb-btn-rouge {
  display: inline-block;
  background-color: var(--red);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: bold;
  padding: 13px 28px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.pb-btn-rouge:hover { background-color: #a81818; }

.pb-btn-noir {
  display: inline-block;
  background-color: #111111;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: bold;
  padding: 13px 28px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.pb-btn-noir:hover { background-color: #333333; }

.pb-sensations-titre {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 20px;
}

.pb-sensations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
}

.pb-sensations-bloc {
  background-color: var(--bg-warm);
  border-radius: 10px;
  padding: 20px 18px;
}

.pb-sensations-bloc h2 {
  font-size: 0.95rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 12px;
  text-align: center;
}

.pb-sensations-bloc ul {
  list-style: disc;
  padding-left: 18px;
}

.pb-sensations-bloc ul li {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  margin-bottom: 4px;
}

@media (max-width: 640px) {
  .pb-sensations-grid { grid-template-columns: 1fr; }
}

/* Horaires paintball */
.pb-horaires-section {
  background-color: var(--bg-warm);
  padding: 40px 20px;
  text-align: center;
}

.pb-horaires-section h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  margin-bottom: 20px;
}

.pb-horaire-table {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 24px;
  border-collapse: collapse;
  border: 2px solid #d4956a;
}

.pb-horaire-table tr {
  border-bottom: 1px solid #d4956a;
}

.pb-horaire-table tr:last-child { border-bottom: none; }

.pb-horaire-table td:first-child {
  background-color: var(--bg-warm);
  color: #555555;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 18px;
  width: 140px;
  text-align: center;
}

.pb-horaire-table td:last-child {
  background-color: #ffffff;
  color: #333;
  font-size: 0.88rem;
  padding: 10px 20px;
  text-align: center;
}

.pb-btn-reservation {
  display: inline-block;
  background-color: #ffffff;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 28px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.pb-btn-reservation:hover {
  background-color: var(--red);
  color: #ffffff;
}

@media (max-width: 560px) {
  .pb-horaire-table { width: 100%; }
}


/* ================================================================ */
/* PAGE PARC JEUX ENFANTS                                           */
/* ================================================================ */

.pj-section-titre {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 36px 0 24px;
}

.pj-tarifs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto 28px;
  padding: 0 20px;
}

.pj-tarif-card {
  border-radius: 10px;
  border: 3px solid;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pj-tarif-card--vert { border-color: #5cb800; }
.pj-tarif-card--orange { border-color: #f5a623; }

.pj-tarif-header {
  padding: 16px 14px;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
}

.pj-tarif-header--vert { background-color: #5cb800; }
.pj-tarif-header--orange { background-color: #f5a623; }

.pj-tarif-body {
  background-color: #ffffff;
  padding: 18px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pj-tarif-prix {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 4px;
}

.pj-tarif-prix span {
  font-size: 1.4rem;
  font-weight: 800;
}

.pj-tarif-sous-prix {
  text-align: center;
  font-size: 0.78rem;
  color: #666;
  margin-bottom: 14px;
  font-style: italic;
}

.pj-tarif-liste {
  list-style: disc;
  padding-left: 18px;
  flex: 1;
  margin-bottom: 20px;
}

.pj-tarif-liste li {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 2px;
}

.pj-btn-choisir {
  display: block;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.pj-btn-choisir:hover {
  opacity: 0.85;
  color: #ffffff;
}

.pj-btn-choisir--vert   { background-color: #5cb800; }
.pj-btn-choisir--orange { background-color: #f5a623; }

.pj-devis-wrap {
  text-align: center;
  margin-bottom: 40px;
}

.pj-btn-devis {
  display: inline-block;
  background-color: #ffffff;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 28px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.pj-btn-devis:hover {
  background-color: var(--red);
  color: #ffffff;
}

.pj-invitation-section {
  background-color: #f0f0f0;
  padding: 40px 20px;
}

.pj-invitation-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pj-invitation-titre {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.pj-invitation-img {
  width: 100%;
  border-radius: 10px;
  display: block;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

@media (max-width: 580px) {
  .pj-tarifs-grid { grid-template-columns: 1fr; }
  .pj-invitation-inner { grid-template-columns: 1fr; }
  .pj-invitation-titre { text-align: center; }
}


/* ================================================================ */
/* PAGE GROUPE & CE                                                  */
/* ================================================================ */

.grp-intro-section {
  background-color: #ffffff;
  padding: 40px 20px 32px;
}

.grp-intro-inner {
  max-width: 820px;
  margin: 0 auto;
}

.grp-intro-titre {
  font-size: 1.25rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.4;
}

.grp-intro-texte {
  font-size: 0.88rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 10px;
}

.grp-intro-texte strong { color: #222; }

.grp-combo-titre {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin: 20px 0 10px;
}

.grp-combo-liste {
  list-style: disc;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 10px;
}

.grp-combo-liste li {
  font-size: 0.85rem;
  color: #333;
  line-height: 1.6;
}

.grp-forfaits-section {
  background-color: var(--bg-warm);
  padding: 36px 20px;
}

.grp-forfaits-titre {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 24px;
}

.grp-forfaits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}

.grp-forfait-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--red);
  display: flex;
  flex-direction: column;
}

.grp-forfait-header {
  background-color: var(--red);
  color: #ffffff;
  text-align: center;
  padding: 14px 12px;
}

.grp-forfait-header h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.grp-forfait-header .grp-duree {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.9;
}

.grp-forfait-body {
  padding: 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  color: #333;
}

.grp-forfait-desc {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 12px;
}

.grp-forfait-sous-titre {
  font-weight: 700;
  color: #222;
  font-size: 0.82rem;
  margin-bottom: 4px;
}

.grp-forfait-liste {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}

.grp-forfait-liste li {
  font-size: 0.8rem;
  color: #444;
  line-height: 1.55;
  padding-left: 14px;
  position: relative;
  margin-bottom: 2px;
}

.grp-forfait-liste li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--red);
}

.grp-tarifs-bloc {
  background-color: #f9f9f9;
  border-left: 3px solid var(--red);
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 0 4px 4px 0;
}

.grp-tarifs-bloc p {
  font-size: 0.8rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 2px;
}

.grp-tarifs-bloc p strong { color: var(--red); }

.grp-tarifs-note {
  font-size: 0.72rem;
  color: #888;
  font-style: italic;
  margin-top: 6px;
}

.grp-btn-choisir {
  display: block;
  background-color: var(--red);
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: auto;
  transition: background-color 0.2s;
}

.grp-btn-choisir:hover {
  background-color: #a81818;
  color: #ffffff;
}

.grp-journee-section {
  background-color: #ffffff;
  padding: 40px 20px;
  max-width: 820px;
  margin: 0 auto;
}

.grp-journee-titre {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 20px;
}

.grp-programme-titre {
  font-size: 0.88rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.grp-programme-liste {
  list-style: none;
  padding: 0;
  margin-bottom: 24px;
}

.grp-programme-liste li {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  padding-left: 14px;
  position: relative;
  margin-bottom: 4px;
}

.grp-programme-liste li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--red);
  font-size: 0.6rem;
  top: 4px;
}

.grp-programme-liste li strong {
  color: var(--red);
  font-weight: 700;
}

.grp-formules-note {
  font-size: 0.82rem;
  color: #555;
  font-style: italic;
  margin-bottom: 6px;
}

.grp-formules-lien {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  text-decoration: underline;
}

.grp-resto-section {
  background-color: var(--bg-warm);
  padding: 32px 20px;
}

.grp-resto-inner {
  max-width: 820px;
  margin: 0 auto;
}

.grp-resto-bloc {
  border: 1px solid #d0cdc7;
  border-radius: 6px;
  background-color: #ffffff;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.grp-resto-bloc h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red);
}

.grp-resto-bloc p,
.grp-resto-bloc li {
  font-size: 0.82rem;
  color: #333;
  line-height: 1.65;
  margin-bottom: 4px;
}

.grp-resto-bloc ul {
  list-style: disc;
  padding-left: 18px;
  margin-top: 6px;
}

.grp-cta-wrap {
  text-align: center;
  padding: 36px 20px 48px;
  background-color: #ffffff;
}

.grp-btn-cta {
  display: inline-block;
  background-color: var(--red);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: background-color 0.2s;
}

.grp-btn-cta:hover {
  background-color: #a81818;
  color: #ffffff;
}

@media (max-width: 620px) {
  .grp-forfaits-grid { grid-template-columns: 1fr; }
}


/* ================================================================ */
/* FORMULAIRE D'INSCRIPTION (rsg-)                                  */
/* ================================================================ */

.rsg-page-wrapper {
  max-width: 720px;
  margin: 0 auto;
}

.rsg-page-header { margin-bottom: 1.25rem; }

.rsg-page-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1a1a1a;
  letter-spacing: -0.02em;
}

.rsg-intro-banner {
  background: #fff;
  border-left: 4px solid #aa0000;
  border-radius: 0 8px 8px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 13.5px;
  color: #555;
  line-height: 1.65;
}

.rsg-intro-banner strong { color: #1a1a1a; }

.rsg-form-card {
  background: #ffffff;
  border: 1px solid #e5e3dd;
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.rsg-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: right;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e3dd;
  letter-spacing: 0.01em;
}

.rsg-card-subtitle {
  font-size: 11.5px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-top: 1.25rem;
  margin-bottom: 0.6rem;
}

.rsg-field-group {
  margin-bottom: 1rem;
}

.rsg-field-group--mt { margin-top: 1.25rem; }
.rsg-field-group:last-child { margin-bottom: 0; }

.rsg-field-label {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: #555;
  margin-bottom: 5px;
}

.rsg-required { color: #d85a30; }

.rsg-field-input,
.rsg-field-select,
.rsg-field-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafaf8;
  border: 1px solid #dddbd5;
  border-radius: 8px;
  padding: 9px 12px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}

.rsg-field-input::placeholder,
.rsg-field-textarea::placeholder { color: #bbb; }

.rsg-field-input:focus,
.rsg-field-select:focus,
.rsg-field-textarea:focus {
  border-color: #aa0000;
  box-shadow: 0 0 0 3px rgba(170, 0, 0, 0.1);
  background: #fff;
}

.rsg-field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.rsg-field-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.55;
}

.rsg-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 1rem;
}

.rsg-field-row--three { grid-template-columns: 1fr 1fr 1fr; }
.rsg-field-row .rsg-field-group { margin-bottom: 0; }

.rsg-radio-group,
.rsg-check-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rsg-radio-item,
.rsg-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.rsg-radio-input,
.rsg-check-input {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: #aa0000;
  flex-shrink: 0;
  cursor: pointer;
}

.rsg-check-input { border-radius: 3px; }

.rsg-radio-label,
.rsg-check-label {
  font-size: 13.5px;
  color: #333;
  line-height: 1.45;
}

.rsg-form-submit {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}

.rsg-btn-submit {
  background: #aa0000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 36px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.rsg-btn-submit:hover { background: #880000; }
.rsg-btn-submit:active { transform: scale(0.98); }

@media (max-width: 520px) {
  .rsg-form-card { padding: 1.25rem 1.1rem; }
  .rsg-field-row,
  .rsg-field-row--three { grid-template-columns: 1fr; }
  .rsg-page-title { font-size: 1.3rem; }
}


/* ================================================================ */
/* FORMULES CAF (caf-)                                              */
/* ================================================================ */

.caf-formules {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 24px;
}

.caf-formules__title {
  font-size: 1.4rem;
  font-weight: 400;
  color: #222;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}

.caf-formules__grid {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.caf-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 160px;
  padding: 20px 16px;
  border: 1.5px solid #f07030;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  background-color: #ffffff;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer;
}

.caf-card:hover {
  box-shadow: 0 4px 16px rgba(240, 112, 48, 0.18);
  transform: translateY(-2px);
}

.caf-card__icon svg {
  width: 48px;
  height: 56px;
  display: block;
}

.caf-card__label {
  font-size: 0.82rem;
  text-align: center;
  color: #444;
  line-height: 1.4;
}

@media (max-width: 520px) {
  .caf-formules__grid {
    flex-direction: column;
    align-items: center;
  }
}


/* ================================================================ */
/* FORMULAIRE DE CONTACT (fdc-)                                     */
/* ================================================================ */

.fdc-contact {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px;
}

.fdc-contact__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  text-align: center;
  margin-bottom: 36px;
}

.fdc-contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fdc-contact__row {
  display: flex;
  gap: 24px;
}

.fdc-contact__row .fdc-contact__field { flex: 1; }

.fdc-contact__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fdc-contact__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #222;
}

.fdc-contact__required {
  color: #e53935;
  margin-left: 2px;
}

.fdc-contact__input,
.fdc-contact__textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.fdc-contact__input::placeholder,
.fdc-contact__textarea::placeholder { color: #aaa; }

.fdc-contact__input:focus,
.fdc-contact__textarea:focus {
  border-color: #f07030;
  box-shadow: 0 0 0 3px rgba(240, 112, 48, 0.12);
}

.fdc-contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.fdc-contact__captcha {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.fdc-contact__captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px 14px;
  width: fit-content;
}

.fdc-contact__captcha-code {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 6px;
  color: #222;
  font-family: 'Courier New', monospace;
  user-select: none;
  text-decoration: line-through wavy #f07030;
}

.fdc-contact__captcha-refresh {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #f07030;
  padding: 0 4px;
  transition: transform 0.3s ease;
}

.fdc-contact__captcha-refresh:hover { transform: rotate(180deg); }

.fdc-contact__input--captcha { max-width: 260px; }

.fdc-contact__feedback {
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
}

.fdc-contact__feedback--success {
  background-color: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
}

.fdc-contact__feedback--error {
  background-color: #ffebee;
  border: 1px solid #ef9a9a;
  color: #c62828;
}

.fdc-contact__submit {
  align-self: flex-start;
  padding: 11px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: #fff;
  background-color: #f07030;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.fdc-contact__submit:hover {
  background-color: #d85e20;
  transform: translateY(-1px);
}

.fdc-contact__submit:active { transform: translateY(0); }

@media (max-width: 560px) {
  .fdc-contact__row {
    flex-direction: column;
    gap: 20px;
  }

  .fdc-contact__submit {
    width: 100%;
    text-align: center;
  }
}


/* ================================================================ */
/* PAGE FAQ                                                         */
/* ================================================================ */

.faq-section {
  background: var(--bg);
  padding: 70px 20px 80px;
}

.faq-inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq-section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  text-align: center;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.faq-section-subtitle {
  text-align: center;
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  color: #555;
  margin-bottom: 54px;
  line-height: 1.6;
}

.faq-category-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background: var(--dark);
  padding: 4px 12px 4px 6px;
  border-radius: 2px;
  margin-bottom: 16px;
}

.faq-category-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--red);
  border-radius: 1px;
  flex-shrink: 0;
}

.faq-list {
  list-style: none;
  padding: 0;
  margin: 0 0 48px 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.faq-item {
  background: #ffffff;
  border-left: 4px solid transparent;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover { box-shadow: 0 3px 14px rgba(0,0,0,0.12); }

.faq-item--open {
  border-left-color: var(--red);
  box-shadow: 0 4px 18px rgba(204,31,31,0.12);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  text-align: left;
}

.faq-question__text {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--dark);
  line-height: 1.3;
  transition: color 0.2s ease;
}

.faq-item--open .faq-question__text { color: var(--red); }

.faq-question__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 2px solid var(--dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

.faq-item--open .faq-question__icon {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(45deg);
}

.faq-question__icon::before,
.faq-question__icon::after {
  content: '';
  position: absolute;
  background: var(--dark);
  border-radius: 2px;
  transition: background 0.25s ease;
}

.faq-question__icon::before { width: 11px; height: 2px; }
.faq-question__icon::after  { width: 2px; height: 11px; }

.faq-item--open .faq-question__icon::before,
.faq-item--open .faq-question__icon::after { background: #ffffff; }

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4,0,0.2,1);
}

.faq-item--open .faq-answer { grid-template-rows: 1fr; }

.faq-answer__inner { overflow: hidden; }

.faq-answer__content {
  padding: 0 22px 22px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: #555;
  border-top: 1px solid #eee;
  padding-top: 18px;
}

.faq-answer__content strong {
  color: var(--dark);
  font-weight: 600;
}

.faq-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red) 40%, transparent);
  opacity: 0.25;
  margin: 36px 0 28px;
}

.faq-cta {
  text-align: center;
  background: var(--dark);
  border-radius: 4px;
  padding: 40px 30px;
  margin-top: 20px;
}

.faq-cta__title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 10px;
}

.faq-cta__text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  color: #aaaaaa;
  margin-bottom: 22px;
}

.faq-cta__btn {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  background: var(--red);
  padding: 13px 36px;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.faq-cta__btn:hover {
  background: #a81818;
  color: #ffffff;
  transform: translateY(-2px);
}

@keyframes faqFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.faq-anim {
  opacity: 0;
  animation: faqFadeUp 0.5s ease forwards;
}
.faq-anim:nth-child(1) { animation-delay: 0.05s; }
.faq-anim:nth-child(2) { animation-delay: 0.10s; }
.faq-anim:nth-child(3) { animation-delay: 0.15s; }
.faq-anim:nth-child(4) { animation-delay: 0.20s; }
.faq-anim:nth-child(5) { animation-delay: 0.25s; }
.faq-anim:nth-child(6) { animation-delay: 0.30s; }

@media (max-width: 600px) {
  .faq-question { padding: 16px; }
  .faq-answer__content { padding: 0 16px 18px; padding-top: 14px; }
}

/* ================================================================ */
/* RESPONSIVE — HAMBURGER + BREAKPOINTS MOBILE/TABLETTE             */
/* (fusionné automatiquement avec style.css)                        */
/* ================================================================ */

/* ============================================================
   RESPONSIVE.CSS — Circuit International d'Aigues-Vives
   À importer APRÈS style.css dans toutes tes pages :
   <link rel="stylesheet" href="css/responsive.css">
   ============================================================ */


/* ================================================================ */
/* MENU HAMBURGER                                                    */
/* ================================================================ */

/* Bouton hamburger — caché sur desktop */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              opacity   0.25s ease,
              width     0.25s ease;
  transform-origin: center;
}

/* Animation croix quand menu ouvert */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Overlay sombre derrière le menu (mobile) */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.is-visible {
  display: block;
  opacity: 1;
}


/* ================================================================ */
/* TABLETTE — ≤ 1024px                                              */
/* ================================================================ */

@media (max-width: 1024px) {

  /* Navbar */
  .nav-links {
    gap: 18px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  /* Présentation */
  .presentation-inner {
    gap: 40px;
  }

  /* Grille activités */
  .activites-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Bon cadeau & vidéo */
  .bon-cadeau-inner,
  .video-inner {
    gap: 40px;
  }

  /* Footer colonnes */
  .colonne-logos-droite {
    align-items: center !important;
  }

  .side-logo {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}


/* ================================================================ */
/* MOBILE LARGE — ≤ 900px                                           */
/* ================================================================ */

@media (max-width: 900px) {

  /* ── Navbar : passage en hamburger ── */
  .navbar .container {
    flex-direction: row;
    gap: 0;
    padding: 0 16px;
    align-items: center;
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
  }

  /* Menu déroulant vertical sur mobile */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 80vw);
    height: 100dvh;
    background: #000000;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 90px 0 32px;
    z-index: 1000;
    overflow-y: auto;
    transition: right 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
  }

  .nav-links.is-open {
    right: 0;
  }

  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-links > li > a,
  .nav-links .nav-link {
    display: block;
    width: 100%;
    padding: 16px 24px;
    font-size: 1.1rem;
    color: #ffffff !important;
    transition: background 0.2s, color 0.2s;
  }

  .nav-links > li > a:hover,
  .nav-links .nav-link:hover {
    background: rgba(204, 31, 31, 0.15);
    color: var(--red) !important;
  }

  /* Dropdown Bootstrap dans le menu mobile */
  .nav-links .dropdown-menu {
    position: static !important;
    background: rgba(255,255,255,0.06) !important;
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transform: none !important;
  }

  .nav-links .dropdown-item {
    color: #cccccc !important;
    padding: 12px 36px;
    font-size: 0.95rem;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.2s, color 0.2s;
  }

  .nav-links .dropdown-item:hover,
  .nav-links .dropdown-item:focus {
    background: rgba(204, 31, 31, 0.2) !important;
    color: #ffffff !important;
  }

  /* Flèche Bootstrap du dropdown : toujours visible */
  .nav-links .dropdown-toggle::after {
    margin-left: auto;
    float: right;
    margin-top: 6px;
  }

  /* Logo : taille réduite */
  .logo img {
    height: 70px;
  }
}


/* ================================================================ */
/* MOBILE — ≤ 768px                                                 */
/* ================================================================ */

@media (max-width: 768px) {

  /* ── Hero ── */
  .hero-texte h1 {
    font-size: clamp(1.6rem, 8vw, 3rem);
  }

  .hero-texte p {
    font-size: clamp(0.85rem, 3.5vw, 1.1rem);
    margin-top: 8px;
  }

  /* ── Présentation ── */
  .presentation-section {
    padding: 44px 16px;
  }

  .presentation-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pres-image-wrap {
    order: -1;
    max-height: 280px;
  }

  /* ── Événements / Slider ── */
  .events-section {
    padding: 44px 0 54px;
  }

  .events-section h2 {
    padding: 0 16px;
  }

  .slider-outer {
    padding: 0 42px;
  }

  /* ── Activités ── */
  .activites-section {
    padding: 44px 16px;
  }

  .activites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* ── Bon cadeau ── */
  .bon-cadeau-section {
    padding: 44px 16px;
  }

  .bon-cadeau-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* ── Vidéo ── */
  .video-section {
    padding: 44px 16px;
  }

  .video-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .video-wrap {
    width: 220px;
    height: 390px;
  }

  /* ── Records ── */
  .records-section {
    padding: 44px 16px;
  }

  .apex-widget-wrap {
    min-height: 160px;
  }

  /* ── Horaires ── */
  .horaires-section {
    padding: 44px 16px;
  }

  .horaires-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* ── Section Kart'Are CTA ── */
  .kartare-section {
    padding: 40px 20px;
  }

  /* ── Footer ── */
  .bandeau-partenaires-unique {
    padding: 16px 12px;
  }

  .container-partenaires img {
    max-height: 48px !important;
  }

  .footer-brand-logo {
    width: 180px !important;
  }

  .footer-map-container iframe {
    height: 220px;
  }

  .colonne-logos-droite {
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px !important;
  }

  .side-logo {
    width: 120px !important;
    margin: 0 auto !important;
  }

  /* ── Pages internes : colonnes → 1 col ── */
  .colonnes {
    flex-direction: column;
    padding: 16px;
  }

  .bandeau {
    margin: 16px;
    font-size: 0.95rem;
  }
}


/* ================================================================ */
/* MOBILE PETIT — ≤ 480px                                           */
/* ================================================================ */

@media (max-width: 480px) {

  /* ── Body font ── */
  body {
    font-size: 0.88rem;
  }

  /* ── Logo encore plus petit ── */
  .logo img {
    height: 54px;
  }

  /* ── Hero ── */
  .hero-texte {
    width: 94%;
  }

  /* ── Activités : 1 colonne ── */
  .activites-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* ── Slider : carte pleine largeur ── */
  :root {
    --card-w: calc(100vw - 80px);
  }

  .slider-outer {
    padding: 0 36px;
  }

  /* ── Boutons navigation ── */
  .acces-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-nav {
    width: 100%;
    justify-content: center;
  }

  /* ── Vidéo ── */
  .video-wrap {
    width: 190px;
    height: 338px;
  }

  /* ── Footer partenaires ── */
  .container-partenaires {
    gap: 16px;
  }

  .container-partenaires img {
    max-height: 38px !important;
  }

  /* ── Footer bottom ── */
  .footer-bottom p {
    font-size: 11px;
  }

  /* ── FAQ ── */
  .faq-section {
    padding: 44px 12px 54px;
  }

  /* ── Contact form ── */
  .fdc-contact__row {
    flex-direction: column;
    gap: 16px;
  }

  .fdc-contact__submit {
    width: 100%;
    text-align: center;
  }

  /* ── Boutique : grille → 1 col ── */
  .boutique-grid,
  .produits-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Page groupe/CE ── */
  .groupe-grid,
  .formules-grid {
    grid-template-columns: 1fr !important;
  }
}


/* ================================================================ */
/* MOBILE TRÈS PETIT — ≤ 360px                                      */
/* ================================================================ */

@media (max-width: 360px) {

  .logo img {
    height: 46px;
  }

  .hero-texte h1 {
    font-size: 1.5rem;
  }

  :root {
    --card-w: calc(100vw - 64px);
  }

  .slider-outer {
    padding: 0 28px;
  }

  .slider-btn {
    width: 36px;
    height: 36px;
  }
}


/* ================================================================ */
/* CORRECTIONS SPÉCIFIQUES                                          */
/* ================================================================ */

/* ── Hero : texte qui reste dans l'image sur mobile ── */
@media (max-width: 600px) {
  .hero-texte h1 {
    font-size: clamp(1.3rem, 7vw, 2rem);
    line-height: 1.1;
  }

  .hero-texte p {
    font-size: 0.8rem;
    margin-top: 6px;
    line-height: 1.4;
  }

  /* Supprime les <br> inline sur mobile pour éviter les débordements */
  .hero-texte br {
    display: none;
  }
}

/* ── Section équipe : empilement vertical sur mobile (PAS de slider) ── */
@media (max-width: 768px) {
  .equipe-grid {
    display: grid;                   /* force grid même si Bootstrap interfère */
    grid-template-columns: 1fr;      /* 1 seule colonne */
    gap: 20px;
    padding: 0 16px;
    overflow: visible;               /* annule tout overflow qui créerait un scroll horizontal */
  }

  .equipe-item {
    flex-direction: row;             /* image à gauche, texte à droite */
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-width: unset;                /* annule tout min-width qui forcerait le défilement */
    flex-shrink: unset;
  }

  .equipe-img {
    width: 80px;
    height: 68px;
    flex-shrink: 0;
  }

  .section-equipe {
    padding: 36px 16px;
    overflow: hidden;                /* empêche tout débordement horizontal */
  }
}


/* ================================================================ */
/* PAGE KARTING — RESPONSIVE                                        */
/* ================================================================ */

/* ── Empêche toute image de créer un scroll horizontal ── */
.kart-img,
.img-circuit,
.fastgp-img,
.circuit-img,
.kart-item img,
.col-droite img,
.col-gauche img,
.location-karting-section img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {

  /* ── Onglets : taille réduite, wrap si besoin ── */
  .onglets {
    flex-wrap: wrap;
    padding: 16px 12px 0;
    gap: 6px;
  }

  .onglet {
    padding: 8px 14px;
    font-size: 0.8rem;
    text-align: center;
  }

  /* ── Contenu principal : colonnes empilées ── */
  .contenu {
    flex-direction: column;
    padding: 16px 16px 32px;
    gap: 24px;
  }

  /* Col gauche (liste karts) : pleine largeur */
  .col-gauche {
    flex: unset;
    width: 100%;
  }

  /* Col droite (circuit box) : pleine largeur, plus sticky */
  .col-droite {
    flex: unset;
    width: 100%;
    position: static;   /* annule le sticky sur mobile */
  }

  /* ── Kart items : image plus petite ── */
  .kart-img {
    width: 100px;
    height: 72px;
    flex-shrink: 0;
  }

  /* ── Images circuit dans la box ── */
  .img-circuit {
    width: 100%;
    height: auto;
  }

  /* ── Section Fast GP : empilée ── */
  .fastgp-photos {
    flex-direction: column;
    padding: 0 16px;
  }

  .fastgp-photos .fastgp-img:first-child,
  .fastgp-photos .fastgp-img:last-child {
    width: 100%;
    flex: unset;
  }

  /* ── 3 colonnes info (haut de page) → 1 colonne ── */
  .colonnes {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
  }

  .titre-page {
    padding: 20px 16px 8px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {

  /* ── Kart items sur très petit écran ── */
  .kart-img {
    width: 80px;
    height: 60px;
  }

  .kart-header h3 {
    font-size: 0.88rem;
  }
}


/* ================================================================ */
/* PAGE ÉCOLE DE PILOTAGE — RESPONSIVE                              */
/* ================================================================ */

/* ── Toutes les images de la section école : jamais de débordement ── */
.ecole-img-ffsa,
.ecole-img-groupe,
.ecole-section img {
  max-width: 100%;
  height: auto;
}

/* ── Photo groupe : pleine largeur sur mobile ── */
@media (max-width: 620px) {
  .ecole-img-groupe {
    width: 100%;
  }

  /* Images FFSA côte à côte sur mobile : max 50% chacune */
  .ecole-intro-images {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ecole-img-ffsa {
    width: calc(50% - 6px);
    flex-shrink: 0;
  }

  /* Cartes école : 1 colonne */
  .ecole-cartes {
    grid-template-columns: 1fr;
  }

  /* Intro : 1 colonne, texte en premier */
  .ecole-intro {
    grid-template-columns: 1fr;
  }

  .ecole-section {
    padding: 24px 16px;
  }
}
/* ══════════════════════════════════════════════
         MENTIONS LÉGALES — styles haute priorité
      ══════════════════════════════════════════════ */
 
      /* ── Bandeau intro ── */
      .ml-intro-band {
        background: #111111;
        padding: 48px 20px 40px;
        text-align: center;
      }
      .ml-intro-band .ml-intro-label {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        color: #cc1f1f;
        margin-bottom: 10px;
        display: block;
      }
      .ml-intro-band h2 {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: clamp(2rem, 5vw, 3.2rem);
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #ffffff;
        line-height: 1.05;
        margin: 0;
      }
      .ml-intro-band h2 span {
        color: #cc1f1f;
      }
      .ml-intro-band .ml-intro-sub {
        font-family: 'Barlow', sans-serif;
        font-size: 0.9rem;
        color: #888888;
        margin-top: 12px;
      }
 
      /* ── Conteneur principal ── */
      .ml-page {
        background: #f7f7f7;
        padding: 60px 20px 80px;
      }
      .ml-wrap {
        max-width: 900px;
        margin: 0 auto;
      }
 
      /* ── Navigation interne (sommaire) ── */
      .ml-toc {
        background: #ffffff;
        border-radius: 4px;
        padding: 28px 32px;
        margin-bottom: 48px;
        box-shadow: 0 2px 16px rgba(0,0,0,0.07);
        border-left: 4px solid #cc1f1f;
      }
      .ml-toc-title {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: #cc1f1f;
        margin-bottom: 14px;
      }
      .ml-toc-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px 24px;
      }
      .ml-toc-list li a {
        font-family: 'Barlow', sans-serif;
        font-size: 0.83rem;
        font-weight: 500;
        color: #333333;
        text-decoration: none;
        transition: color 0.2s;
        display: flex;
        align-items: center;
        gap: 6px;
      }
      .ml-toc-list li a::before {
        content: '';
        display: inline-block;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: #cc1f1f;
        flex-shrink: 0;
      }
      .ml-toc-list li a:hover {
        color: #cc1f1f;
      }
 
      /* ── Section ── */
      .ml-section {
        background: #ffffff;
        border-radius: 4px;
        margin-bottom: 24px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        overflow: hidden;
        scroll-margin-top: 20px;
      }
 
      .ml-section-header {
        background: #111111;
        padding: 16px 28px;
        display: flex;
        align-items: center;
        gap: 14px;
      }
      .ml-section-num {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        color: #cc1f1f;
        background: rgba(204,31,31,0.12);
        border: 1px solid rgba(204,31,31,0.3);
        border-radius: 2px;
        padding: 2px 7px;
        flex-shrink: 0;
      }
      .ml-section-title {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 1.05rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #ffffff;
        margin: 0;
        line-height: 1.2;
      }
 
      .ml-section-body {
        padding: 28px 28px 24px;
      }
 
      /* ── Paragraphes ── */
      .ml-paragraph {
        font-family: 'Barlow', sans-serif;
        font-size: 0.875rem;
        line-height: 1.75;
        color: #444444;
        margin-bottom: 14px;
      }
      .ml-paragraph:last-child {
        margin-bottom: 0;
      }
 
      /* ── Grille infos légales ── */
      .ml-info-block {
        background: #f7f7f7;
        border-radius: 4px;
        padding: 20px 22px;
        margin: 16px 0;
      }
      .ml-info-block + .ml-info-block {
        margin-top: 12px;
      }
      .ml-info-grid {
        display: grid;
        grid-template-columns: 220px 1fr;
        gap: 4px 16px;
      }
      .ml-info-label {
        font-family: 'Barlow', sans-serif;
        font-size: 0.8rem;
        font-weight: 700;
        color: #111111;
        padding: 5px 0;
        border-bottom: 1px solid #eeeeee;
        display: flex;
        align-items: center;
      }
      .ml-info-value {
        font-family: 'Barlow', sans-serif;
        font-size: 0.8rem;
        font-weight: 400;
        color: #555555;
        padding: 5px 0;
        border-bottom: 1px solid #eeeeee;
        display: flex;
        align-items: center;
      }
      .ml-info-label:last-of-type,
      .ml-info-value:last-of-type {
        border-bottom: none;
      }
 
      /* ── Liens ── */
      .ml-link {
        color: #cc1f1f;
        text-decoration: none;
        font-weight: 600;
        word-break: break-all;
        transition: opacity 0.2s;
      }
      .ml-link:hover {
        opacity: 0.75;
        text-decoration: underline;
      }
 
      /* ── Highlight (remplace le bleu par le rouge discret du site) ── */
      .ml-highlight {
        background: rgba(204,31,31,0.08);
        color: #cc1f1f;
        font-weight: 600;
        padding: 0 3px;
        border-radius: 2px;
      }
 
      /* ── Liste à puces ── */
      .ml-inline-list {
        list-style: none;
        padding: 0;
        margin: 12px 0 0;
      }
      .ml-inline-list li {
        font-family: 'Barlow', sans-serif;
        font-size: 0.855rem;
        line-height: 1.65;
        color: #444444;
        margin-bottom: 10px;
        padding-left: 18px;
        position: relative;
      }
      .ml-inline-list li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 8px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #cc1f1f;
      }
 
      /* ── Responsive ── */
      @media (max-width: 640px) {
        .ml-section-header {
          padding: 14px 18px;
          flex-wrap: wrap;
        }
        .ml-section-body {
          padding: 20px 18px;
        }
        .ml-info-grid {
          grid-template-columns: 1fr;
        }
        .ml-info-label {
          border-bottom: none;
          padding-bottom: 0;
          font-weight: 700;
          color: #cc1f1f;
        }
        .ml-info-value {
          padding-top: 1px;
          border-bottom: 1px solid #eeeeee;
        }
        .ml-toc {
          padding: 20px 18px;
        }
        .ml-toc-list {
          flex-direction: column;
          gap: 6px;
        }
      }
 /* ══════════════════════════════════════════════
         PLAN DU SITE — styles embarqués haute priorité
         Sélecteurs volontairement très spécifiques
         pour passer au-dessus de style.css global
      ══════════════════════════════════════════════ */
 
      section.ps-page {
        background: #f7f7f7 !important;
        padding: 70px 20px 90px !important;
      }
 
      section.ps-page .ps-page__title {
        font-family: 'Barlow Condensed', sans-serif !important;
        font-size: clamp(2rem, 5vw, 3rem) !important;
        font-weight: 900 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        color: #111111 !important;
        text-align: center !important;
        margin-bottom: 8px !important;
      }
 
      section.ps-page .ps-page__title span {
        color: #cc1f1f !important;
      }
 
      section.ps-page .ps-page__sub {
        text-align: center !important;
        font-family: 'Barlow', sans-serif !important;
        color: #666666 !important;
        font-size: 0.95rem !important;
        margin-bottom: 56px !important;
      }
 
      /* ── Grille ── */
      section.ps-page .ps-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
        gap: 28px !important;
        max-width: 1100px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        list-style: none !important;
      }
 
      /* ── Carte ── */
      section.ps-page .ps-card {
        background: #ffffff !important;
        border-radius: 4px !important;
        overflow: hidden !important;
        box-shadow: 0 2px 14px rgba(0,0,0,0.08) !important;
        transition: transform 0.28s ease, box-shadow 0.28s ease !important;
        display: flex !important;
        flex-direction: column !important;
        margin: 0 !important;
        padding: 0 !important;
      }
 
      section.ps-page .ps-card:hover {
        transform: translateY(-5px) !important;
        box-shadow: 0 10px 32px rgba(0,0,0,0.14) !important;
      }
 
      /* ── En-tête rouge ── */
      section.ps-page .ps-card .ps-card__header {
        background: #cc1f1f !important;
        padding: 18px 22px 16px !important;
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        border: none !important;
        margin: 0 !important;
      }
 
      section.ps-page .ps-card .ps-card__icon {
        width: 38px !important;
        height: 38px !important;
        background: rgba(255,255,255,0.18) !important;
        border-radius: 3px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
      }
 
      section.ps-page .ps-card .ps-card__icon i {
        color: #ffffff !important;
        font-size: 1rem !important;
      }
 
      section.ps-page .ps-card .ps-card__cat {
        font-family: 'Barlow Condensed', sans-serif !important;
        font-size: 1.15rem !important;
        font-weight: 800 !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
        letter-spacing: 0.06em !important;
        line-height: 1 !important;
        margin: 0 !important;
        padding: 0 !important;
      }
 
      /* ── Corps ── */
      section.ps-page .ps-card .ps-card__body {
        padding: 20px 22px 22px !important;
        flex: 1 !important;
      }
 
      section.ps-page .ps-card .ps-card__list {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
      }
 
      section.ps-page .ps-card .ps-card__list li {
        border-bottom: 1px solid #f0f0f0 !important;
        padding: 0 !important;
        margin: 0 !important;
      }
 
      section.ps-page .ps-card .ps-card__list li:last-child {
        border-bottom: none !important;
      }
 
      /* reset du pseudo-élément global éventuel */
      section.ps-page .ps-card .ps-card__list li::before {
        content: none !important;
        display: none !important;
      }
 
      section.ps-page .ps-card .ps-card__list a {
        display: flex !important;
        align-items: center !important;
        gap: 9px !important;
        padding: 10px 0 !important;
        text-decoration: none !important;
        color: #333333 !important;
        font-family: 'Barlow', sans-serif !important;
        font-size: 0.88rem !important;
        font-weight: 500 !important;
        transition: color 0.2s ease, padding-left 0.2s ease !important;
        text-transform: none !important;
        letter-spacing: normal !important;
      }
 
      section.ps-page .ps-card .ps-card__list a::before {
        content: '' !important;
        display: inline-block !important;
        width: 6px !important;
        height: 6px !important;
        min-width: 6px !important;
        border-radius: 50% !important;
        background: #cc1f1f !important;
        flex-shrink: 0 !important;
        transition: transform 0.2s ease !important;
      }
 
      section.ps-page .ps-card .ps-card__list a:hover {
        color: #cc1f1f !important;
        padding-left: 4px !important;
      }
 
      section.ps-page .ps-card .ps-card__list a:hover::before {
        transform: scale(1.5) !important;
      }
 
      /* ── Carte Accueil pleine largeur ── */
      section.ps-page .ps-card.ps-card--home {
        grid-column: 1 / -1 !important;
        flex-direction: row !important;
        align-items: stretch !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__header {
        flex-direction: column !important;
        justify-content: center !important;
        padding: 28px 30px !important;
        min-width: 190px !important;
        gap: 10px !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__icon {
        width: 52px !important;
        height: 52px !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__icon i {
        font-size: 1.4rem !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__body {
        display: flex !important;
        align-items: center !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__list {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 0 !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__list li {
        border-bottom: none !important;
        border-right: 1px solid #f0f0f0 !important;
        padding-right: 20px !important;
        margin-right: 20px !important;
      }
 
      section.ps-page .ps-card.ps-card--home .ps-card__list li:last-child {
        border-right: none !important;
        margin-right: 0 !important;
        padding-right: 0 !important;
      }
 
      @media (max-width: 640px) {
        section.ps-page .ps-card.ps-card--home {
          flex-direction: column !important;
        }
        section.ps-page .ps-card.ps-card--home .ps-card__header {
          flex-direction: row !important;
          min-width: unset !important;
          padding: 16px 20px !important;
        }
        section.ps-page .ps-card.ps-card--home .ps-card__list {
          flex-direction: column !important;
        }
        section.ps-page .ps-card.ps-card--home .ps-card__list li {
          border-right: none !important;
          border-bottom: 1px solid #f0f0f0 !important;
          margin-right: 0 !important;
          padding-right: 0 !important;
        }
        section.ps-page .ps-grid {
          grid-template-columns: 1fr !important;
        }
      }



/* ================================================================ */
/* LIENS BLANCS DANS LES DESCRIPTIONS PRODUIT WOOCOMMERCE          */
/* ================================================================ */

.woocommerce .woocommerce-product-details__short-description a,
.woocommerce div.product .woocommerce-tabs .panel a {
  color: #ffffff;
  text-decoration: underline;
}

.woocommerce .woocommerce-product-details__short-description a:hover,
.woocommerce div.product .woocommerce-tabs .panel a:hover {
  color: var(--red);
}
/* ============================================================
   WOOCOMMERCE.CSS — Circuit International d'Aigues-Vives
   Styles WooCommerce sur mesure pour le thème LeKartare
   Palette : --red #cc1f1f | --dark #111111 | --bg #f7f7f7
============================================================ */

/* ================================================================ */
/* GLOBAL WOO — reset & base                                        */
/* ================================================================ */

.woocommerce,
.woocommerce-page {
  font-family: 'Barlow', sans-serif;
  color: var(--text);
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
}

/* ================================================================ */
/* BOUTONS                                                          */
/* ================================================================ */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: var(--red);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: #a81818;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Bouton secondaire (outline) */
.woocommerce a.button.wc-backward,
.woocommerce a.button.checkout-button {
  background-color: var(--dark);
}
.woocommerce a.button.wc-backward:hover,
.woocommerce a.button.checkout-button:hover {
  background-color: #333;
}

/* ================================================================ */
/* CHAMPS FORMULAIRES                                               */
/* ================================================================ */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: var(--text);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--red);
  outline: none;
  box-shadow: 0 0 0 3px rgba(204, 31, 31, 0.12);
}

.woocommerce form .form-row label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
  display: block;
}

/* ================================================================ */
/* PAGE MON COMPTE                                                  */
/* ================================================================ */

.woocommerce-account .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
}

/* Navigation latérale */
.woocommerce-MyAccount-navigation {
  background: var(--dark);
  border-radius: 6px;
  overflow: hidden;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cccccc;
  text-decoration: none;
  border-bottom: 1px solid #222;
  transition: background 0.2s ease, color 0.2s ease;
}

.woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-MyAccount-navigation ul li.is-active a {
  background: var(--red);
  color: #ffffff;
}

/* Contenu principal */
.woocommerce-MyAccount-content {
  background: #ffffff;
  border-radius: 6px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

/* Tableau des commandes */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.woocommerce-orders-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: var(--dark);
  color: #ffffff;
  padding: 12px 16px;
  text-align: left;
}

.woocommerce-orders-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.woocommerce-orders-table tr:hover td {
  background: var(--bg);
}

/* Statut commande */
.woocommerce-order-status {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

mark.order-status {
  background: transparent;
  color: inherit;
}

/* ================================================================ */
/* PAGE PANIER                                                       */
/* ================================================================ */

.woocommerce-cart .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.woocommerce-cart h1 {
  font-size: 2rem;
  margin-bottom: 30px;
}

/* Tableau panier */
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.woocommerce table.shop_table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  background: var(--dark);
  color: #ffffff;
  padding: 14px 18px;
  text-align: left;
}

.woocommerce table.shop_table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.woocommerce table.shop_table td.product-name a {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  text-decoration: none;
  text-transform: uppercase;
}

.woocommerce table.shop_table td.product-name a:hover {
  color: var(--red);
}

.woocommerce table.shop_table td.product-price,
.woocommerce table.shop_table td.product-subtotal {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--red);
}

/* Bouton supprimer */
.woocommerce table.cart a.remove {
  font-size: 1.2rem;
  color: #999 !important;
  transition: color 0.2s ease;
}
.woocommerce table.cart a.remove:hover {
  color: var(--red) !important;
  background: transparent;
}

/* Quantité */
.woocommerce .quantity input.qty {
  width: 60px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 8px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
}

/* Totaux panier */
.cart-collaterals {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

.cart_totals {
  background: #ffffff;
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  width: 100%;
  max-width: 400px;
}

.cart_totals h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

.cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

.cart_totals table th,
.cart_totals table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.cart_totals table .order-total th,
.cart_totals table .order-total td {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--dark);
  border-bottom: none;
}

.cart_totals table .order-total td .woocommerce-Price-amount {
  color: var(--red);
  font-size: 1.4rem;
}

/* ================================================================ */
/* PAGE COMMANDE (CHECKOUT)                                         */
/* ================================================================ */

.woocommerce-checkout .woocommerce {
  max-width: 1100px;
  margin: 0 auto;
  padding: 50px 20px;
}

.woocommerce-checkout h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--red);
}

/* Colonnes checkout */
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  background: #ffffff;
  border-radius: 6px;
  padding: 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  margin-bottom: 24px;
}

/* Récap commande */
#order_review .shop_table {
  width: 100%;
  border-collapse: collapse;
}

#order_review .shop_table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  background: var(--dark);
  color: #ffffff;
  padding: 12px 16px;
}

#order_review .shop_table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

#order_review .order-total td,
#order_review .order-total th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--red);
}

/* Paiement */
#payment {
  background: var(--bg);
  border-radius: 6px;
  padding: 24px;
}

#payment ul.payment_methods {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

#payment ul.payment_methods li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

#payment .place-order {
  text-align: right;
}

/* ================================================================ */
/* MESSAGES & NOTIFICATIONS                                         */
/* ================================================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  border-radius: 4px;
  padding: 14px 20px;
  margin-bottom: 20px;
  border-top: none;
  list-style: none;
}

.woocommerce-message {
  background: #e8f5e9;
  border-left: 4px solid #2e7d32;
  color: #1b5e20;
}

.woocommerce-info {
  background: #e3f2fd;
  border-left: 4px solid #1565c0;
  color: #0d47a1;
}

.woocommerce-error {
  background: #fce4ec;
  border-left: 4px solid var(--red);
  color: #b71c1c;
}

/* ================================================================ */
/* RESPONSIVE                                                       */
/* ================================================================ */

@media (max-width: 768px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .cart_totals {
    max-width: 100%;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  /* Masquer colonnes moins importantes sur mobile */
  .woocommerce table.cart .product-thumbnail,
  .woocommerce table.cart .product-subtotal {
    display: none;
  }
}
/* Fix titre page Mon compte */
.woocommerce-account h1.entry-title,
.woocommerce-account .page-title,
body.woocommerce-account > h1 {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 20px;
}

/* Fix bouton dans message info */
.woocommerce-info .button,
.woocommerce-message .button {
  float: none !important;
  display: inline-block !important;
  margin-left: 10px !important;
  padding: 8px 16px !important;
  font-size: 0.85rem !important;
  white-space: nowrap;
}

.woocommerce-info,
.woocommerce-message {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px;
}
/* Fix titre page Mon compte / WooCommerce */
.page-header-simple {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px 0;
}
/* Fix texte contenu Mon compte */
.woocommerce-MyAccount-content {
  word-break: normal !important;
  overflow-wrap: normal !important;
  min-width: 0;
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
  font-size: 1.2rem !important;
  line-height: 1.3;
  word-break: normal !important;
}

.woocommerce-MyAccount-content a {
  word-break: normal !important;
  display: inline !important;
}
/* Fix adresses Mon compte */
.woocommerce-Addresses.col2-set {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 24px !important;
  width: 100% !important;
}

.woocommerce-Addresses.col2-set .col-1,
.woocommerce-Addresses.col2-set .col-2 {
  width: 100% !important;
  float: none !important;
}

.woocommerce-Addresses.col2-set address,
.woocommerce-Addresses.col2-set p,
.woocommerce-Addresses.col2-set a {
  word-break: normal !important;
  overflow-wrap: break-word !important;
}
/* Fix titre hero boutique */
.hero-texte h1,
.hero-texte h2 {
  color: #ffffff !important;
}
/* ================================================================ */
/* CORPS DE TEXTE AGRANDI — Templates karting (école & loisirs)     */
/* ================================================================ */

/* Paragraphes principaux */
.ecole-intro-texte p,
.ecole-carte p,
.ecole-deroulement p,
.section-bloc p,
.magasin-texte p,
.circuit-card p {
  font-size: 18px;
  line-height: 1.7;
}

/* Listes */
.liste-points li,
.magasin-liste li {
  font-size: 18px;
  line-height: 1.65;
}

/* Info importante (code club, etc.) */
.info-importante {
  font-size: 17px;
}

/* Notes secondaires (horaires, cotisations, crédit photo) */
.deroulement-horaires,
.deroulement-note,
.carte-cotisation,
.magasin-credit {
  font-size: 16px;
}

/* Section équipe */
.equipe-info p {
  font-size: 17px;
  line-height: 1.65;
}

/* Bannière cadeau & hero */
.bandeau-sous-titre,
.hero-texte p {
  font-size: 18px;
}
