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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
  background: #1a1a1a;
  color: #2c3e50;
  font-size: 16px;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

a {
  color: #FFBF00;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #ffd633;
}

a:focus {
  outline: 2px solid #FFBF00;
  outline-offset: 2px;
}

ul {
  list-style-position: inside;
  padding-left: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1.5rem;
  color: #8B0000;
  font-size: 1.8rem;
}

/* =====================================================
   HERO HEADER – 2 colonnes avec effets
===================================================== */
.header {
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #8B0000 100%);
  color: #fff;
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 3rem;
}

.header-left {
  flex: 1 1 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-right {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.music-icon {
  font-size: 3.5rem;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
  margin-bottom: 1rem;
}

.header-right h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  line-height: 1.2;
}

.header-subtitle {
  font-size: 1.5rem;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.badge {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.badge:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.association-name {
  color: #FFBF00;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* =====================================================
   SCROLL REVEAL ANIMATIONS
===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* =====================================================
   KEYFRAME ANIMATIONS
===================================================== */
@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* =====================================================
   CONTAINER
===================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 3rem;
}

/* =====================================================
   SECTIONS
===================================================== */
.section,
.intro,
.schedule,
.contact {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  margin-bottom: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.schedule {
  background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%);
  color: #fff;
}

.schedule h2 {
  color: #fff;
}

.schedule-layout {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.schedule-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.schedule-right {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.schedule-info {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.schedule-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.schedule-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.schedule-number {
  background: #FFBF00;
  color: #2c3e50;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.schedule-time {
  font-weight: bold;
  color: #FFBF00;
  margin-bottom: 0.25rem;
}

.schedule-note {
  font-style: italic;
  opacity: 0.9;
  margin-top: 1rem;
}

.schedule-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.schedule-image:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* =====================================================
   VIDEO CONTAINER
===================================================== */
.video-container {
  margin-top: 2rem;
  width: 100%;
}

.professor-video {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: box-shadow 0.3s ease;
}

.professor-video:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   LOGO OCCITANGO
===================================================== */
.logo-container {
  display: flex;
  justify-content: flex-start;
  margin: 2rem 0;
  background: #141924;
  padding: 2.5rem;
  border-radius: 15px;
  max-width: 400px;
}

.occitango-logo {
  width: 300px;
  height: auto;
  display: block;
  border-radius: 0;
}

/* =====================================================
   HIGHLIGHT BOX
===================================================== */
.highlight-box {
  background: linear-gradient(135deg, #fff5f5 0%, #ffe6e6 100%);
  border-left: 6px solid #DC143C;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 12px;
}

/* =====================================================
   FEATURES GRID
===================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.feature-card {
  background: #fff5f5;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(220, 20, 60, 0.15);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #8B0000;
}

/* =====================================================
   FAQ ACCORDION
===================================================== */
.faq-item {
  border-bottom: 1px solid rgba(220, 20, 60, 0.2);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8B0000;
  font-family: inherit;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #DC143C;
}

.faq-question:focus {
  outline: 2px solid #DC143C;
  outline-offset: 2px;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 0.8rem;
}

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

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1rem 1rem 1rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* =====================================================
   CTA BUTTONS - Gros boutons verts pomme
===================================================== */
.cta-section {
  text-align: center;
  margin: 3rem 0;
}

.cta-button-large {
  display: inline-block;
  background: linear-gradient(135deg, #8BC34A 0%, #689F38 100%);
  color: #fff;
  padding: 1.5rem 3.5rem;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 8px 25px rgba(139, 195, 74, 0.6);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button-large:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 35px rgba(139, 195, 74, 0.8);
  background: linear-gradient(135deg, #9CCC65 0%, #7CB342 100%);
  color: #fff;
}

.cta-button-large:active {
  transform: translateY(-2px) scale(1.02);
}

.cta-button-large:focus {
  outline: 3px solid #FFBF00;
  outline-offset: 3px;
}

/* =====================================================
   CONTACT SECTION
===================================================== */
.contact {
  text-align: center;
}

.contact-info {
  margin: 1.5rem 0;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(220, 20, 60, 0.5);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(220, 20, 60, 0.6);
  color: #fff;
}

.cta-button:focus {
  outline: 3px solid #FFBF00;
  outline-offset: 2px;
}

.cta-button-secondary {
  background: linear-gradient(135deg, #555 0%, #333 100%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.cta-button-secondary:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

/* =====================================================
   FOOTER
===================================================== */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    padding: 0 1.5rem;
  }

  .header-left {
    margin-bottom: 2rem;
  }

  .header-right h1 {
    font-size: 2rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  .container {
    padding: 1rem 1.5rem;
  }

  .section,
  .intro,
  .schedule,
  .contact {
    padding: 1.5rem;
  }

  h2 {
    font-size: 1.5rem;
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-button {
    width: 100%;
  }

  .schedule-layout {
    flex-direction: column;
  }
  
  .schedule-right {
    margin-top: 2rem;
  }

  .cta-button-large {
    width: 100%;
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
  
  .cta-section {
    margin: 2rem 0;
  }

  .logo-container {
    max-width: 250px;
    padding: 1.5rem;
  }

  .occitango-logo {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 2rem 0;
  }
  
  .header-content {
    padding: 0 1rem;
  }

  .header-right h1 {
    font-size: 1.5rem;
  }

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

  .badge {
    width: 100%;
    text-align: center;
  }
  
  .container {
    padding: 1rem;
  }
}