/* ============================================
   SUBLIME ! FESTIVAL — Main Stylesheet
   ============================================ */

/* --- FONTS --- */
@font-face {
  font-family: 'BBB-OpenSans';
  src: url('../fonts/BBB-OpenSans-Regular.woff2') format('woff2'),
       url('../fonts/BBB-OpenSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* urbanist-100 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/urbanist-v18-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-100italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 100;
  src: url('../fonts/urbanist-v18-latin-100italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/urbanist-v18-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/urbanist-v18-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/urbanist-v18-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/urbanist-v18-latin-300italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/urbanist-v18-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/urbanist-v18-latin-italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/urbanist-v18-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/urbanist-v18-latin-500italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/urbanist-v18-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-600italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 600;
  src: url('../fonts/urbanist-v18-latin-600italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/urbanist-v18-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/urbanist-v18-latin-700italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/urbanist-v18-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/urbanist-v18-latin-800italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/urbanist-v18-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* urbanist-900italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Urbanist';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/urbanist-v18-latin-900italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* --- CSS VARIABLES --- */
:root {
  --pink-1: #fec4ce;
  --pink-2: #ffdff9;
  --red-cta: #E28081;
  --red-cta-hover: #d06a6b;
  --green: #80BA90;
  --green-dark: #5a9a6a;
  --text: #303030;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --cream: #fef9f5;
  --font-heading: 'BBB-OpenSans', 'Open Sans', sans-serif;
  --font-body: 'Urbanist', sans-serif;
  --max-width: 1200px;
  --section-padding: clamp(3rem, 8vw, 6rem);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.7;
  background: var(--cream) url('../img/background.jpg') top center/cover scroll;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--green);
  line-height: 1.2;
  font-weight: 400;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 {
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  position: relative;
}
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 1rem; }

p { margin-bottom: 1rem; }

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-style: italic;
}

/* --- UTILITY --- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.section-divider {
  width: 60px;
  height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: 0 auto 2rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-align: center;
  line-height: 1.4;
}

.btn-primary {
  background: var(--red-cta);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(226, 128, 129, 0.35);
}
.btn-primary:hover {
  background: var(--red-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(226, 128, 129, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--green);
  border: 2px solid var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}

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

/* --- NAVIGATION --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition);
  background: var(--red-cta);
  box-shadow: 0 2px 20px rgba(226, 128, 129, 0.4);
}

.navbar.scrolled {
  background: var(--red-cta);
  box-shadow: 0 2px 20px rgba(226, 128, 129, 0.4);
  padding: 0.6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 70px;
  width: auto;
  transition: height var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffdff9;
  position: relative;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fec4ce;
}

.nav-cta {
  padding: 0.6rem 1.4rem !important;
  font-size: 0.85rem !important;
  background: #ffdff9 !important;
  color: var(--red-cta) !important;
  box-shadow: none !important;
}

.nav-cta:hover {
  background: #fec4ce !important;
  color: var(--red-cta) !important;
  transform: translateY(-2px);
}

/* Burger Menu */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 5px;
}

.burger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #ffdff9;
  border-radius: 2px;
  transition: all var(--transition);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 2rem;
  max-width: 800px;
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease-out 0.3s forwards;
}

/* --- SECTIONS --- */
.section {
  padding: var(--section-padding) 0;
}

.section--gradient {
  background: transparent;
}

.section--white {
  background: transparent;
}

.section--cream {
  background: transparent;
}

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

/* --- TEMPS FORTS --- */
.temps-forts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.temps-forts-grid--centered {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.temps-forts-grid--5col {
  grid-template-columns: repeat(5, 1fr);
}

.temps-forts-grid--centered .tf-card {
  flex: 0 0 calc(25% - 1.125rem);
}

.temps-fort-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
  transition: all var(--transition);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
}

.temps-fort-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
}

.temps-fort-header {
  padding: 1.5rem 1.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.temps-fort-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: var(--white);
  background: var(--red-cta);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.temps-fort-day {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.25rem 0.9rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.temps-fort-day--red {
  background: var(--red-cta);
}

.temps-fort-body {
  padding: 0 1.5rem 1.5rem;
}

.temps-fort-body h3 {
  color: var(--text);
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.temps-fort-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

/* --- TEMPS FORTS (nouvelle version carte) --- */
.tf-card {
  text-align: center;
  transition: transform var(--transition);
}

.tf-card:hover {
  transform: translateY(-8px);
}

.tf-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.4rem;
  aspect-ratio: 1 / 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.18);
}

.tf-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tf-card:hover .tf-img-wrap img {
  transform: scale(1.05);
}

.tf-body {
  padding: 0 0.5rem;
}

.tf-day {
  display: inline-block;
  font-family: 'Urbanist', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.tf-day--red {
  color: var(--red-cta);
}

.tf-title {
  font-family: 'Urbanist', sans-serif;
  font-weight: 900;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--text);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.tf-sub {
  font-size: 0.92rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
  line-height: 1.5;
}

/* --- CAROUSEL --- */
.tf-carousel {
  position: relative;
  padding: 0 4rem;
}

.tf-carousel-track-wrap {
  overflow: hidden;
}

.tf-carousel-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.tf-carousel-track .tf-card {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 0;
}

.tf-carousel-btn {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  z-index: 10;
  background: var(--white);
  border: 2px solid var(--green);
  color: var(--green);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-size: 0.9rem;
}

.tf-carousel-btn:hover:not(:disabled) {
  background: var(--green);
  color: var(--white);
  transform: translateY(calc(-50% - 2px));
}

.tf-carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.tf-carousel-btn--prev { left: 0; }
.tf-carousel-btn--next { right: 0; }

@media (max-width: 1024px) {
  .tf-carousel-track .tf-card {
    flex: 0 0 calc((100% - 1.5rem) / 2);
  }
}

@media (max-width: 640px) {
  .tf-carousel {
    padding: 0 3rem;
  }
  .tf-carousel-track .tf-card {
    flex: 0 0 100%;
  }
}

/* --- VIDEO --- */
.video-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 50px rgba(0,0,0,0.2);
  aspect-ratio: 1 / 1;
  position: relative;
}

.video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.video-cta p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

@media (max-width: 768px) {
  .video-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-cta {
    align-items: center;
    text-align: center;
  }
}

/* --- CONCEPT SECTION --- */
.concept-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.concept-img img {
  width: 80%;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}

.concept-bottom {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.concept-bottom p {
  color: var(--text-light);
}

.concept-bottom .btn {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .concept-img {
    order: -1;
  }
}

.concept-text {
  font-size: 1.1rem;
  line-height: 1.8;
}

.concept-text .highlight {
  color: var(--green);
  font-weight: 600;
}

.concept-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--green);
  font-style: italic;
  border-left: 4px solid var(--red-cta);
  padding-left: 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

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

.programme-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  transition: all var(--transition);
  position: relative;
}

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.programme-card-header {
  padding: 2rem 2rem 1rem;
  position: relative;
}

.programme-day {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.8rem;
}

.programme-card-header h3 {
  color: var(--text);
  margin-bottom: 0.3rem;
}

.programme-card-body {
  padding: 0 2rem 2rem;
}

.programme-card-body p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.programme-card-body .tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tag {
  display: inline-block;
  background: var(--pink-1);
  color: var(--text);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* --- TEAM SECTION --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  max-width: 700px;
  margin: 0 auto;
}

.team-member {
  text-align: center;
  transition: transform var(--transition);
}

.team-member:hover {
  transform: translateY(-4px);
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 0.8rem;
  border: 4px solid var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: all var(--transition);
}

.team-member:hover .team-photo {
  border-color: var(--green);
  box-shadow: 0 6px 30px rgba(128, 186, 144, 0.3);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--green);
  margin-bottom: 0.2rem;
  text-align: center;
}

.team-role {
  font-size: 0.82rem;
  color: var(--text-light);
  font-style: italic;
  line-height: 1.4;
  text-align: center;
}

/* --- LIEU SECTION --- */
.lieu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.lieu-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.lieu-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.lieu-gallery img:hover {
  transform: scale(1.03);
}

.lieu-gallery img:first-child {
  grid-column: 1 / -1;
  height: 300px;
}

/* --- PARTNERS --- */
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem 3rem;
}

.partner-logo {
  height: 60px;
  max-width: 160px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(20%);
  transition: all var(--transition);
  display: block;
}

.partner-logo:hover {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

.partners-logos a {
  display: flex;
  align-items: center;
}

/* --- VALUES PAGE --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--pink-1));
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--red-cta);
}

.value-card h3 {
  color: var(--green);
  margin-bottom: 0.8rem;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* --- SOUTENIR PAGE --- */
.soutenir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.soutenir-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
  transition: all var(--transition);
}

.soutenir-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.soutenir-icon {
  font-size: 3rem;
  margin-bottom: 1.2rem;
  color: var(--red-cta);
}

.soutenir-card h3 {
  margin-bottom: 1rem;
}

.soutenir-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pink-1);
  color: var(--text);
  font-size: 1.2rem;
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- INFOS PRATIQUES --- */
.infos-section {
  margin-bottom: 3rem;
}

.infos-section h3 {
  color: var(--green);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--pink-1);
}

.tarifs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin: 1.5rem 0;
}

.tarifs-table th,
.tarifs-table td {
  padding: 1rem 1.5rem;
  text-align: left;
}

.tarifs-table thead th {
  background: var(--green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 400;
}

.tarifs-table tbody tr {
  background: var(--white);
  transition: background var(--transition);
}

.tarifs-table tbody tr:nth-child(even) {
  background: rgba(254, 196, 206, 0.15);
}

.tarifs-table tbody tr:hover {
  background: rgba(128, 186, 144, 0.1);
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  overflow: hidden;
}

.faq-question {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: background var(--transition);
}

.faq-question:hover {
  background: rgba(128, 186, 144, 0.08);
}

.faq-arrow {
  transition: transform var(--transition);
  color: var(--green);
  font-size: 1.2rem;
}

.faq-item.open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.2rem;
  color: var(--text-light);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

/* --- PROGRAMMATION PAGE --- */
.prog-day {
  margin-bottom: 3rem;
}

.prog-day-title {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--green);
  color: var(--white);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.prog-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--pink-1);
}

.prog-event {
  position: relative;
  padding: 1.2rem 1.5rem;
  margin-bottom: 1rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 15px rgba(0,0,0,0.04);
  transition: all var(--transition);
}

.prog-event:hover {
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  transform: translateX(4px);
}

.prog-event::before {
  content: '';
  position: absolute;
  left: -2.55rem;
  top: 1.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--white);
}

.prog-event.highlight::before {
  background: var(--red-cta);
  width: 16px;
  height: 16px;
  left: -2.65rem;
}

.prog-time {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.3rem;
}

.prog-event h4 {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.prog-event.highlight h4 {
  color: var(--red-cta);
}

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

.tf-body .prog-location {
  display: block;
  margin-top: 0;
}

.tf-body .tf-title {
  margin-top: 0.8rem;
}

.prog-location {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 0.4rem;
}

/* --- PAGE HEADER (for sub-pages) --- */
.page-header {
  padding: 8rem 0 3rem;
  background: transparent;
  text-align: center;
}

.page-header h1 {
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  font-style: italic;
}

/* --- FOOTER --- */
.footer {
  background: var(--red-cta);
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

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

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

.footer a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
  display: block;
  padding: 0.2rem 0;
  font-size: 0.9rem;
}

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

.footer-logo {
  height: 120px;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  padding: 0;
}

.footer-social a:hover {
  background: var(--green);
  color: var(--white);
}

/* --- COOKIE BANNER --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--text);
  color: var(--white);
  padding: 1.2rem;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.5s ease;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.2);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-inner p {
  flex: 1;
  min-width: 250px;
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255,255,255,0.8);
}

.cookie-inner .btn {
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cookie-inner p {
    flex: 0 0 100%;
    min-width: unset;
    text-align: center;
  }
  .cookie-inner .btn {
    flex: 1;
    justify-content: center;
  }
}

/* --- ANIMATIONS --- */
@keyframes floatIn {
  from { opacity: 0; transform: translateY(30px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (min-width: 768px) {
  .concept-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .lieu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
  }
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 35vh;
  }

  #lieu .btn {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--red-cta);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.5rem;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s ease;
    z-index: 1001;
  }

  .nav-links.open {
    right: 0;
  }

  .burger {
    display: flex;
    z-index: 1002;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1000;
  }

  .nav-overlay.show {
    display: block;
  }

  .hero-content {
    padding: 1rem;
  }

  .programme-grid {
    grid-template-columns: 1fr;
  }

  .lieu-gallery {
    grid-template-columns: 1fr;
  }

  .lieu-gallery img:first-child {
    height: 200px;
  }

  .lieu-gallery img {
    height: 180px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .team-photo {
    width: 100px;
    height: 100px;
  }

  .team-name {
    font-size: 0.9rem;
  }

  .team-role {
    font-size: 0.75rem;
  }

  .soutenir-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .temps-forts-grid {
    grid-template-columns: 1fr !important;
  }

  .temps-forts-grid--centered {
    flex-direction: column;
    align-items: stretch;
  }

  .temps-forts-grid--centered .tf-card {
    flex: 0 0 100% !important;
  }
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }

  .team-photo {
    width: 80px;
    height: 80px;
  }

  .team-name {
    font-size: 0.8rem;
  }

  .team-role {
    font-size: 0.68rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-header--plan {
    height: 260px;
  }
  .page-header--plan img {
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    transform: scale(1.15);
    transform-origin: center center;
  }
  .page-header h1 {
    font-size: 1rem !important;
  }
  .page-header--legal h1 {
    font-size: 2.5rem !important;
  }
}

/* --- BILLETTERIE MODAL --- */
.billet-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.billet-modal.open {
  display: flex;
}
.billet-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(48, 48, 48, 0.65);
  backdrop-filter: blur(4px);
}
.billet-modal-box {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 3rem 2.5rem 2.5rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 12px 50px rgba(0,0,0,0.2);
  z-index: 1;
  animation: floatIn 0.35s ease forwards;
}
.billet-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-light);
  line-height: 1;
  padding: 0.2rem 0.4rem;
  transition: color 0.2s;
}
.billet-modal-close:hover {
  color: var(--text);
}
.billet-modal-icon {
  font-size: 2.8rem;
  color: var(--green);
  margin-bottom: 1.2rem;
}
.billet-modal-box h2 {
  font-size: 1.6rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}
.billet-modal-box p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}
.billet-modal-box p strong {
  color: var(--text);
}
@media (max-width: 480px) {
  .billet-modal-box {
    padding: 2.5rem 1.5rem 2rem;
  }
  .billet-modal-box h2 {
    font-size: 1.3rem;
  }
}
