body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #333;
  color: white;
}

/* ===== BANNIÈRE ===== */
.banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  top: 0;
  left: 0;
}

.slider img.active {
  opacity: 1;
  z-index: 1;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  color: white;
  text-shadow: 2px 2px 5px black;
}

.banner-text h2 {
  font-size: 48px;
  margin: 0;
}

.banner-text p {
  font-size: 20px;
  margin-top: 10px;
}

/* Conteneur pour rendre l'iframe responsive */
.responsive-video {
  position: relative;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  border-radius: 12px;
}

/* Iframe qui remplit le conteneur */
.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ===== HEADER ===== */
/*header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #000;
  padding: 10px 20px;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #ffa500;
}*/

/* ===== CONTENU ===== */
.container {
  background-color: #444;
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

section {
  margin-bottom: 60px;
}

h2 {
  color: #ffa500;
  font-size: 2em;
  margin-bottom: 20px;
}

p {
  line-height: 1.6;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.course-card {
  background-color: #555;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 2px 2px 10px #222;
}

.course-card h3 {
  color: #ffa500;
  margin-bottom: 10px;
}

/* ===== BÉNÉFICES ===== */
.benefits ul {
  list-style: none;
  padding: 0;
}

.benefits li {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.benefits i {
  color: #ffa500;
  margin-right: 10px;
}

/* ===== APPEL À L'ACTION ===== */
.call-to-action {
  background-color: #444;
  text-align: center;
  padding: 50px 20px;
  color: white;
  margin-top: 30px;
  border-radius: 8px;
}

.call-to-action h2 {
  font-size: 2em;
  color: #ffa500;
  margin-bottom: 10px;
}

.call-to-action p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #ffa500;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #cc8400;
}

/* ===== FAQ ===== */
.faq-section {
  background-color: #444;
  padding: 40px 20px;
  color: white;
  border-radius: 15px;
}

.faq-section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 30px;
  color: #ffa500;
}

.faq-banner-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(to right, #ffa500, #000);
}

.faq-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.faq-slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.faq-slides img.active {
  opacity: 1;
  z-index: 1;
}

.faq-banner-title {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 2px 2px 5px #000;
  z-index: 10;
  background: rgba(0,0,0,0.4);
  padding: 10px 25px;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-banner-title {
    font-size: 1.8rem;
    padding: 8px 15px;
  }
}



.faq-container {
  max-width: 900px;
  margin: auto;
}

.faq-item {
  background-color: #555;
  border: 1px solid white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: bold;
}

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

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 15px 20px;
}

.toggle-icon {
  font-size: 24px;
  color: #ffa800;
}

/* ===== ÉQUIPE ===== */
.team-section {
  padding: 60px 20px;
  background-color: #333;
  color: white;
  text-align: center;
}

.team-section h2 {
  color: #ffa500;
  margin-bottom: 10px;
}

.team-intro {
  font-size: 1.1em;
  margin-bottom: 30px;
}

.team-carousel {
  position: relative;
  max-width: 300px;
  margin: auto;
  overflow: hidden;
  height: 400px;
}

.team-member {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  top: 0;
  left: 0;
}

.team-member.active {
  opacity: 1;
  z-index: 1;
}

.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffa500;
  margin-bottom: 15px;
}

.team-member h3 {
  margin: 10px 0 5px;
  font-size: 1.2em;
}

.team-member p {
  font-size: 0.95em;
  color: #ddd;
}

/* ===== COURS ===== */
.courses-section {
  padding: 60px 20px;
  background: #333;
  color: white;
  text-align: center;
}

.section-title {
  color: #ffa500;
  margin-bottom: 40px;
  font-size: 2em;
}

.courses-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.course-card {
  background: #444;
  border-radius: 10px;
  padding: 20px;
  transition: transform 0.3s;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
}

.course-card:hover {
  transform: translateY(-5px);
}

.course-card i {
  font-size: 40px;
  color: #ffa500;
  margin-bottom: 15px;
}

.course-card h3 {
  color: #ffa500;
  font-size: 20px;
  margin: 10px 0;
}

.course-card p {
  font-size: 0.95em;
  margin-bottom: 15px;
}

.details-btn {
  display: inline-block;
  padding: 8px 15px;
  background-color: #ffa500;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s;
}

.details-btn:hover {
  background-color: #cc8400;
}

/* ===== FOOTER ===== */
/* ============ FOOTER STYLING ============ */

.footer {
  background-color: #000;
  color: white;
  padding: 40px 20px;
  font-family: 'Montserrat', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
}

.footer-section h3 {
  color: #ffa500;
  margin-bottom: 15px;
  font-size: 1.2em;
}

.footer-section p,
.footer-section a {
  color: white;
  font-size: 0.95em;
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #ffa500;
  text-decoration: underline;
}

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

.quick-links li {
  margin-bottom: 10px;
}

/* Social icons */
.social-links {
  display: flex;
  gap: 15px;
  font-size: 22px;
}

.social-links a {
  color: orange;
  transition: 0.3s;
}

.social-links a:hover {
  color: white;
}

/* Logo animé dans cercle */
.logo-animated .logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 4px solid;
  border-image: linear-gradient(45deg, orange, yellow) 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  background-color: transparent;
}

.logo-animated .logo-circle img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9em;
}

.footer-bottom a {
  color: orange;
  font-weight: bold;
}

.footer-bottom a:hover {
  color: white;
  text-decoration: underline;
}

/* ============ RESPONSIVE ============ */
@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section {
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .logo-animated {
    margin-bottom: 20px;
  }

  .footer-bottom {
    font-size: 0.85em;
    padding: 20px 10px 0;
  }
}

/* Bloc responsive pour iframe */
.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Ratio 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  margin: auto;
  max-width: 100%;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* RESPONSIVE DESIGN FAQ */
/* Responsive mobile */
@media screen and (max-width: 768px) {
  .faq-title {
    font-size: 1.5rem;
    padding: 8px 15px;
  }
  .faq-slider img {
    height: auto;
    max-height: 400px;
    width: 100vw;
  }
}

