/* ========================================================================================
   Ride Attractions — styles.css   |   LIGHT THEME
   ======================================================================================== */

/* 0. RESET */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #E8352F;
  --red-dark: #C01E19;
  --red-light: #FF6B6B;
  --yellow: #FFAA00;
  --cream: #FFF6F0;
  --cream-2: #FCEEE5;
  --white: #FFFFFF;
  --navy: #1C2058;
  --navy-2: #2A3070;
  --text-main: #1C2058;
  --text-muted: #6B6F9A;
  --border: rgba(0, 0, 0, .08);
  --border-md: rgba(0, 0, 0, .14);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 28px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 56px rgba(0, 0, 0, .14);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Inter', sans-serif;
  --section-py: 6rem;
  --navbar-h: 72px;
  --t-fast: .15s ease;
  --t-med: .3s ease;
  --t-slow: .6s cubic-bezier(.16, 1, .3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* 1. TYPOGRAPHY */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  letter-spacing: .02em;
  line-height: 1.1;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title--dark {
  color: var(--navy);
}

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

.section-subtitle--dark {
  color: var(--text-muted);
}

.section-header {
  margin-bottom: 1rem;
}

/* 2. NAVBAR */
#mainNav {
  height: var(--navbar-h);
  background: rgba(255, 255, 255, 0);
  transition: background var(--t-med), box-shadow var(--t-med);
  z-index: 1050;
}

#mainNav.scrolled {
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: .04em;
}

.brand-ride {
  font-family: var(--font-display);
  color: var(--red);
  font-size: 1.8rem;
}

.brand-attr {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--navy) !important;
  transition: color var(--t-fast);
  padding: .5rem .75rem !important;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .75rem;
  right: .75rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--t-fast);
  transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: none;
  padding: 0;
  color: var(--navy);
  /* Hamburger icon visible */
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    margin-top: 1rem;
    box-shadow: var(--shadow-md);
  }
}

/* 3. BUTTONS */
.btn-cta {
  background: var(--red);
  color: #fff !important;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  border-radius: 50px;
  border: 2px solid var(--red);
  transition: all var(--t-fast);
}

.btn-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 53, 47, .3);
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all var(--t-fast);
  box-shadow: 0 6px 20px rgba(232, 53, 47, .3);
}

.btn-hero-primary:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(232, 53, 47, .4);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 1rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--border-md);
  transition: all var(--t-fast);
}

.btn-hero-secondary:hover {
  border-color: var(--navy);
  background: rgba(28, 32, 88, .05);
  color: var(--navy);
  transform: translateY(-2px);
}

/* 4. SECTION BACKGROUNDS */
.section-dark {
  background: var(--cream);
  padding: var(--section-py) 0;
}

.section-light {
  background: var(--white);
  padding: var(--section-py) 0;
}

/* 5. HERO */
.hero-section {
  position: relative;
  background: var(--white);
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero-bg-animated {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 60%, rgba(232, 53, 47, .07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 0% 80%, rgba(255, 170, 0, .07) 0%, transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(28, 32, 88, .04) 0%, transparent 80%);
  animation: heroBgPulse 8s ease-in-out infinite alternate;
}

@keyframes heroBgPulse {
  0% {
    opacity: 1;
  }

  100% {
    opacity: .65;
  }
}

.hero-lights,
.section-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0 2rem;
  z-index: 1;
}

.hero-lights {
  top: var(--navbar-h);
}

.light-bulb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 8px 3px rgba(255, 170, 0, .4);
  animation: bulbBlink 2s ease-in-out infinite;
}

.light-bulb:nth-child(even) {
  background: var(--red);
  box-shadow: 0 0 8px 3px rgba(232, 53, 47, .4);
  animation-delay: .5s;
}

.light-bulb:nth-child(3n) {
  background: var(--navy);
  box-shadow: 0 0 6px 3px rgba(28, 32, 88, .2);
  animation-delay: 1s;
}

@keyframes bulbBlink {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(.8);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 100px;
  /* Increased padding for airiness */
}

@media (max-width: 991.98px) {
  .hero-content {
    text-align: center;
    padding: 60px 0 80px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-badges,
  .hero-ctas {
    justify-content: center;
  }
}

.hero-eyebrow {
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(3rem, 7.5vw, 5.2rem);
  line-height: 1;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.hero-title-accent {
  color: var(--red);
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.age-badge {
  padding: .4rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
}

.badge-kids {
  background: rgba(34, 197, 94, .1);
  border: 1.5px solid rgba(34, 197, 94, .4);
  color: #15803d;
}

.badge-teens {
  background: rgba(249, 115, 22, .1);
  border: 1.5px solid rgba(249, 115, 22, .4);
  color: #c2410c;
}

.badge-adults {
  background: rgba(255, 170, 0, .12);
  border: 1.5px solid rgba(255, 170, 0, .5);
  color: #92400e;
}

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

@media (max-width: 767.98px) {
  .hero-ctas {
    flex-direction: column;
    padding: 0 1.5rem;
    /* Better spacing on mobile */
  }
}

/* --- Hero image blob styled --- */
.hero-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.hero-blob {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  background: var(--cream);
  overflow: hidden;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  box-shadow: 0 20px 50px rgba(28, 32, 88, 0.15);
  animation: blobMorph 8s ease-in-out infinite both alternate, blobFloat 10s ease-in-out infinite;
  border: 4px solid var(--white);
}

@media (max-width: 991.98px) {
  .hero-blob {
    max-width: 320px;
    margin-top: 2rem;
  }
}

.hero-image-blob {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform var(--t-med);
}

.hero-blob:hover .hero-image-blob {
  transform: scale(1.15);
}

@keyframes blobMorph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

@keyframes blobFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  33% {
    transform: translateY(-15px) rotate(1deg);
  }

  66% {
    transform: translateY(10px) rotate(-1deg);
  }
}

.star-1 {
  animation: starTwirl 4s ease-in-out infinite;
  transform-origin: 420px 60px;
}

.star-2 {
  animation: starTwirl 5s ease-in-out infinite reverse;
  transform-origin: 60px 310px;
}


@keyframes starTwirl {

  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(20deg) scale(1.1);
  }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--text-muted);
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
  z-index: 2;
}

.hero-scroll-indicator i {
  display: block;
  font-size: 1.1rem;
  margin-top: .3rem;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* 6. PUBLICS */
.public-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  text-align: center;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.public-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-med);
  border-radius: inherit;
}

.public-card--kids::before {
  background: linear-gradient(to bottom, rgba(34, 197, 94, .06), transparent 60%);
}

.public-card--teens::before {
  background: linear-gradient(to bottom, rgba(249, 115, 22, .06), transparent 60%);
}

.public-card--adults::before {
  background: linear-gradient(to bottom, rgba(255, 170, 0, .08), transparent 60%);
}

.public-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

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

.public-card--kids:hover {
  border-color: rgba(34, 197, 94, .4);
}

.public-card--teens:hover {
  border-color: rgba(249, 115, 22, .4);
}

.public-card--adults:hover {
  border-color: rgba(255, 170, 0, .5);
}

.public-card-icon {
  font-size: 3.5rem;
  margin-bottom: 1.2rem;
  display: block;
}

.public-card h3 {
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: .8rem;
}

.public-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

.public-card-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
}

.public-card--kids .public-card-tag {
  background: rgba(34, 197, 94, .1);
  color: #15803d;
}

.public-card--teens .public-card-tag {
  background: rgba(249, 115, 22, .1);
  color: #c2410c;
}

.public-card--adults .public-card-tag {
  background: rgba(255, 170, 0, .12);
  color: #92400e;
}

.publics-section {
  background: var(--white);
  padding: var(--section-py) 0;
}

/* 7. MANÈGES (Swiper) */
.maneges-section {
  background: var(--cream);
  padding: var(--section-py) 0;
  overflow: hidden;
}

.maneges-swiper {
  padding: 1rem 1.5rem 3.5rem !important;
  overflow: visible !important;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
  display: flex;
}

.manege-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: grab;
  border: 1.5px solid var(--border);
}

.manege-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 53, 47, .2);
}

.manege-card:active {
  cursor: grabbing;
}

.manege-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.manege-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.manege-card:hover .manege-card-img-wrap img {
  transform: scale(1.06);
}

.manege-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .65) 0%, transparent 100%);
  padding: 1rem;
}

.manege-age-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  background: var(--red);
  color: #fff;
  border-radius: 50px;
}

.age-tag--thrill {
  background: #f97316;
}

.age-tag--kids {
  background: #16a34a;
}

.age-tag--teens {
  background: #7c3aed;
}

.manege-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.manege-card-title {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: .6rem;
}

.manege-card-desc {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  flex: 1;
}

.manege-card-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.manege-card-meta span {
  font-size: .78rem;
  font-weight: 600;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.manege-card-meta i {
  color: var(--red);
}

/* Swiper nav */
.swiper-button-next,
.swiper-button-prev {
  background: var(--white) !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  transition: all var(--t-fast);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: .9rem !important;
  color: var(--red);
  font-weight: 900;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--red) !important;
  transform: scale(1.1);
}

.swiper-button-next:hover::after,
.swiper-button-prev:hover::after {
  color: #fff;
}

.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 8px;
  height: 8px;
}

.swiper-pagination-bullet-active {
  background: var(--red);
  width: 22px;
  border-radius: 4px;
}

.swipe-hint {
  color: var(--text-muted);
  font-size: .82rem;
  font-style: italic;
  transition: opacity var(--t-med);
}

/* Card gallery */
.card-gallery {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.gallery-img--active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .95);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: var(--red);
  font-size: .88rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  transition: all var(--t-fast);
  opacity: 1;
  /* Always visible for better UX */
}

.gallery-btn:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.gallery-btn--prev {
  left: 8px;
}

.gallery-btn--next {
  right: 8px;
}

.gallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 10;
}

.gallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transition: all var(--t-fast);
  cursor: pointer;
}

.gallery-dot--active {
  background: #fff;
  transform: scale(1.35);
}

/* 8. OFFRES */
.offres-section {
  background: var(--cream);
  padding: var(--section-py) 0;
  position: relative;
}

/* Offres Swiper */
.offres-swiper {
  padding-bottom: 2.5rem !important;
}

.offres-swiper .swiper-slide {
  padding-top: 1.8rem;
  height: auto;
  display: flex;
}

.offres-swiper .swiper-pagination {
  bottom: 0;
}

.offres-swiper .swiper-pagination-bullet-active {
  background: var(--red);
}

/* Hide pagination dots on desktop */
@media (min-width: 992px) {
  .offres-swiper .swiper-pagination {
    display: none;
  }

  .offres-swiper {
    padding-bottom: .5rem !important;
  }

  .offres-swiper .swiper-slide {
    padding-top: 1.8rem;
  }
}

.offre-card {
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.offre-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 53, 47, .25);
}

.offre-card--featured {
  border-color: var(--red);
  box-shadow: 0 6px 32px rgba(232, 53, 47, .15);
}

.offre-featured-label {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem 1.2rem;
  border-radius: 0 0 12px 12px;
  white-space: nowrap;
}

.offre-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.offre-icon {
  font-size: 2.5rem;
}

.offre-badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .8rem;
  border-radius: 50px;
  background: rgba(232, 53, 47, .08);
  color: var(--red);
  border: 1px solid rgba(232, 53, 47, .2);
}

.offre-card h3 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: .8rem;
}

.offre-card p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: .95rem;
}

.offre-features {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 1.5rem;
  flex: 1;
}

.offre-features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--text-muted);
  font-size: .9rem;
  padding: .35rem 0;
  border-bottom: 1px solid var(--border);
}

.offre-features li:last-child {
  border-bottom: none;
}

.offre-features i {
  color: #16a34a;
  font-size: 1rem;
  margin-top: .1rem;
  flex-shrink: 0;
}

.btn-offre {
  display: inline-block;
  background: transparent;
  color: var(--red);
  font-weight: 700;
  font-size: .9rem;
  padding: .75rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--red);
  transition: all var(--t-fast);
  text-align: center;
  margin-top: auto;
}

.btn-offre:hover {
  background: var(--red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 53, 47, .25);
}

.btn-offre--featured {
  background: var(--red);
  color: #fff;
}

.btn-offre--featured:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

/* Stats */
.stats-bar {
  border-top: 1px solid var(--border);
  padding-top: 3rem;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
}

.stat-number span {
  font-size: 2rem;
}

.stat-label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .4rem;
}

/* 9. PARTENAIRES */
.partenaires-section {
  background: var(--white);
  padding: var(--section-py) 0;
}

.partner-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1.5px solid var(--border);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 53, 47, .3);
}

.partner-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.partner-card h4 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: .6rem;
}

.partner-card p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Desktop grid */
.d-lg-grid {
  display: none;
}

@media (min-width: 992px) {
  .d-lg-grid {
    display: grid !important;
  }
}

/* 6-column grid: 3 cards top row, 2 centered on bottom row */
.partners-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.partners-grid .partner-card-v2:nth-child(1) { grid-column: 1 / 3; }
.partners-grid .partner-card-v2:nth-child(2) { grid-column: 3 / 5; }
.partners-grid .partner-card-v2:nth-child(3) { grid-column: 5 / 7; }
.partners-grid .partner-card-v2:nth-child(4) { grid-column: 2 / 4; }
.partners-grid .partner-card-v2:nth-child(5) { grid-column: 4 / 6; }

/* Card v2 structure */
.partner-card-v2 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  box-shadow: var(--shadow-sm);
}

.partner-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232, 53, 47, .25);
}

/* Visual image-like area */
.partner-card-visual {
  position: relative;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-visual--food {
  background: linear-gradient(135deg, #FFF0D6 0%, #FFCB69 100%);
}

.partner-visual--kids {
  background: linear-gradient(135deg, #E8F9F0 0%, #A8E6C5 100%);
}

.partner-visual--show {
  background: linear-gradient(135deg, #F0E8FF 0%, #C4A0F5 100%);
}

.partner-visual--fire {
  background: linear-gradient(135deg, #1C2058 0%, #3D4BB5 60%, #FF6B35 100%);
}

.partner-visual--thrill {
  background: linear-gradient(135deg, #FFF0F0 0%, #FFB3B3 60%, #E8352F 100%);
}

/* Dotted pattern overlay */
.partner-card-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.3) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .6;
}

.partner-visual-emoji {
  font-size: 4rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
  transition: transform var(--t-med);
  line-height: 1;
}

.partner-card-v2:hover .partner-visual-emoji {
  transform: scale(1.12) rotate(-4deg);
}

/* Card v2 body */
.partner-card-body-v2 {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.partner-card-body-v2 h4 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: .5rem;
}

.partner-card-body-v2 p {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.partenaires-cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

/* 10. CARTE */
.carte-section {
  background: var(--cream);
  padding: var(--section-py) 0;
}

.carte-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
}

.carte-legend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-main);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.legend-dot--upcoming {
  background: var(--red);
}

.legend-dot--past {
  background: #aaa;
}

.legend-dot--recurring {
  background: var(--yellow);
}

#map {
  width: 100%;
  height: 480px;
}

.map-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .6rem;
  border-radius: 50px;
  margin-left: .4rem;
}

.map-tag--upcoming {
  background: rgba(232, 53, 47, .1);
  color: var(--red);
  border: 1px solid rgba(232, 53, 47, .3);
}

.map-tag--past {
  background: rgba(0, 0, 0, .06);
  color: #666;
  border: 1px solid rgba(0, 0, 0, .1);
}

.custom-leaflet-popup .leaflet-popup-content-wrapper {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0;
  box-shadow: var(--shadow-md);
}

.custom-leaflet-popup .leaflet-popup-content {
  margin: 0;
  min-width: 220px;
}

.custom-popup {
  padding: 1.2rem;
}

.custom-popup h5 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: .2rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}

.custom-popup h5 i {
  color: var(--red);
}

.custom-popup .region {
  color: var(--text-muted);
  font-size: .75rem;
  letter-spacing: .07em;
}

.map-events-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.map-event {
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}

.map-cta {
  display: block;
  margin-top: 1rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: .05em;
  transition: color var(--t-fast);
}

.map-cta:hover {
  color: var(--red-dark);
}

.custom-leaflet-popup .leaflet-popup-tip {
  background: #fff;
}


}



.carte-disclaimer {
  color: var(--text-muted);
  font-size: .82rem;
}

.carte-disclaimer i {
  color: var(--yellow);
}

/* 11. ÉQUIPE */
.equipe-section {
  background: var(--white);
  padding: var(--section-py) 0;
}

.team-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .25);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

.team-card:hover .team-avatar {
  transform: scale(1.1) rotate(3deg);
  box-shadow: var(--shadow-md);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--navy);
}

.team-role {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: .2rem;
}

.value-item {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--white);
  border: 1.5px solid var(--border);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  height: 100%;
}

.value-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(232, 53, 47, .2);
}

.value-item i {
  font-size: 2.2rem;
  color: var(--red);
  display: block;
  margin-bottom: 1rem;
}

.value-item h5 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: .6rem;
}

.value-item p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 12. CONTACT */
.contact-section {
  background: var(--cream);
  padding: var(--section-py) 0;
}

.text-accent {
  color: var(--red);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-main);
  font-size: .95rem;
}

.contact-info-item i {
  width: 36px;
  height: 36px;
  background: rgba(232, 53, 47, .08);
  border: 1.5px solid rgba(232, 53, 47, .2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-item a {
  color: var(--text-main);
  transition: color var(--t-fast);
}

.contact-info-item a:hover {
  color: var(--red);
}

.contact-trust {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: var(--text-muted);
}

.trust-badge i {
  color: #16a34a;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-label {
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .4rem;
}

.required {
  color: var(--red);
}

.form-control,
.form-select {
  background: var(--white) !important;
  border: 1.5px solid var(--border-md) !important;
  border-radius: var(--radius-sm) !important;
  color: var(--text-main) !important;
  padding: .75rem 1rem !important;
  transition: border-color var(--t-fast) !important;
  font-size: .95rem !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(232, 53, 47, .12) !important;
}

.form-control::placeholder {
  color: #bbb !important;
}

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

.btn-submit {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: none;
  transition: all var(--t-fast);
  box-shadow: 0 6px 20px rgba(232, 53, 47, .3);
}

.btn-submit:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232, 53, 47, .4);
}

.btn-submit:disabled {
  opacity: .7;
  cursor: not-allowed;
}

.btn-success-state {
  background: #16a34a !important;
  box-shadow: 0 6px 20px rgba(22, 163, 74, .25) !important;
}

.form-note {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-note i {
  margin-right: .3rem;
}

/* 13. FOOTER */
.footer-section {
  background: var(--navy);
  border-top: 3px solid var(--red);
  padding: 3rem 0 1.5rem;
}

.footer-brand {
  font-size: 1.6rem;
  margin-bottom: .4rem;
}

.footer-brand .brand-attr {
  color: rgba(255, 255, 255, .85);
}

.footer-tagline {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: center;
}

.footer-nav a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  transition: color var(--t-fast);
}

.footer-nav a:hover {
  color: var(--red);
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .75);
  padding: .6rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  transition: all var(--t-fast);
}

.social-btn:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  transform: translateY(-2px);
}

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

.footer-zone {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
  margin-top: .5rem;
}

.footer-zone i {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, .35);
  font-size: .8rem;
}

.footer-bottom a {
  color: var(--red-light);
  transition: color var(--t-fast);
}

.footer-bottom a:hover {
  color: var(--red);
}



/* 15. RESPONSIVE */
@media (max-width: 991.98px) {
  :root {
    --section-py: 5rem;
  }

  .hero-title {
    font-size: clamp(2.8rem, 9vw, 4.5rem);
  }

  .contact-form {
    padding: 2rem;
  }

  .hero-illustration {
    margin-top: 2rem;
  }
}

@media (max-width: 767.98px) {
  :root {
    --section-py: 4rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    padding: 0 1.5rem;
    gap: 1rem;
  }

  .hero-ctas .btn-hero-primary,
  .hero-ctas .btn-hero-secondary {
    text-align: center;
    justify-content: center;
  }

  .maneges-swiper {
    padding: 1rem .75rem 3rem !important;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  #map {
    height: 340px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .carte-legend {
    right: .5rem;
    top: .5rem;
    padding: .5rem .7rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --navbar-h: 64px;
  }

  .brand-ride,
  .brand-attr {
    font-size: 1.5rem;
  }

  .public-card {
    padding: 2rem 1.5rem;
  }

  .offre-card {
    padding: 2rem 1.5rem;
  }
}

@media print {

  .navbar,
  .hero-lights,
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  section {
    padding: 2rem 0 !important;
  }
}
/* --- Swiper Mobile Reset for Desktop Rendering --- */
@media (min-width: 992px) {
  .public-swiper .swiper-wrapper,
  .offres-swiper .swiper-wrapper,
  .partners-swiper .swiper-wrapper,
  .values-swiper .swiper-wrapper {
    display: flex !important;
    gap: 1.5rem !important;
    flex-wrap: wrap !important;
    transform: none !important;
    width: 100% !important;
    justify-content: center !important;
  }

  .public-swiper .swiper-slide,
  .offres-swiper .swiper-slide,
  .values-swiper .swiper-slide {
    width: calc(33.333% - 1rem) !important;
    height: auto !important;
  }

  .partners-swiper .swiper-slide {
    width: calc(25% - 1.15rem) !important;
    height: auto !important;
  }

  .public-swiper .swiper-pagination,
  .offres-swiper .swiper-pagination,
  .partners-swiper .swiper-pagination,
  .values-swiper .swiper-pagination {
    display: none !important;
  }
}

.swiper-pagination-bullet-active {
  background: var(--red) !important;
}

/* --- City Marquee Styles --- */
.city-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--white);
  padding: 2rem 0;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 2rem;
}

.city-marquee-content {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.city-sign {
  display: inline-block;
  padding: 0.8rem 2rem;
  margin: 0 1.5rem;
  background: var(--white);
  border: 2px solid var(--red);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Swiper Fixes --- */
.public-swiper, .offres-swiper, .partners-swiper, .values-swiper {
  width: 100%;
  padding-bottom: 3rem !important;
}

.swiper-slide {
  height: auto !important;
  display: flex;
  justify-content: center;
}

@media (min-width: 992px) {
  .public-swiper, .offres-swiper, .partners-swiper, .values-swiper {
    overflow: visible !important;
  }
}
