/* Reset et base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Comic Neue', cursive;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section FAQ optimisée */
.faq-comic {
  padding: 80px 0;
  background: 
    linear-gradient(135deg, #4ecdc4 0%, #74b9ff 25%, #fd79a8 50%, #fdcb6e 75%, #4ecdc4 100%);
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.faq-comic::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(51,51,51,0.1) 3px, transparent 3px),
    radial-gradient(circle at 80% 70%, rgba(51,51,51,0.08) 2px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(51,51,51,0.12) 4px, transparent 4px),
    radial-gradient(circle at 90% 20%, rgba(51,51,51,0.06) 2px, transparent 2px);
  background-size: 80px 80px, 60px 60px, 120px 120px, 40px 40px;
  animation: float 25s linear infinite;
}

@keyframes float {
  from { transform: translate(0, 0); }
  to { transform: translate(-100px, -50px); }
}

.faq-comic .container {
  position: relative;
  z-index: 2;
}

/* En-têtes */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.comic-title {
  font-family: 'Bangers', cursive;
  font-size: 3.5rem;
  color: #fff;
  text-shadow: 4px 4px 0px #333, 8px 8px 0px rgba(0,0,0,0.3);
  margin-bottom: 10px;
  transform: perspective(500px) rotateX(15deg);
}

.comic-subtitle {
  font-size: 1.3rem;
  color: #fff;
  text-shadow: 2px 2px 0px #333;
  font-weight: bold;
}

.faq-section-title {
  text-align: center;
  margin: 50px 0 30px 0;
}

.comic-subtitle-section {
  font-family: 'Bangers', cursive;
  font-size: 2.5rem;
  color: #fff;
  text-shadow: 3px 3px 0px #333, 6px 6px 0px rgba(0,0,0,0.2);
  display: inline-block;
  background: rgba(255,255,255,0.1);
  padding: 15px 30px;
  border-radius: 20px;
  border: 3px solid #333;
  backdrop-filter: blur(10px);
}

/* Grille FAQ */
.faq-grid-two-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto 40px;
}

.faq-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #fff;
  border-radius: 20px;
  border: 3px solid #333;
  overflow: hidden;
  box-shadow: 
    0 8px 16px rgba(0,0,0,0.15),
    0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.2),
    0 8px 16px rgba(0,0,0,0.15);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #fd79a8);
  background-size: 300% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.faq-question {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 3px solid #333;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  transform: scale(1.02);
}

.faq-question h3 {
  font-family: 'Bangers', cursive;
  font-size: 1.4rem;
  color: #333;
  margin: 0;
  flex: 1;
  text-shadow: 1px 1px 0px rgba(255,255,255,0.8);
}

.faq-toggle {
  font-size: 1.8rem;
  font-weight: bold;
  color: #333;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item.active .faq-toggle {
  transform: rotate(135deg) scale(1.2);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
}

.faq-item.active .faq-answer {
  padding: 25px 30px;
  max-height: 400px;
}

.faq-answer p {
  color: #555;
  line-height: 1.7;
  margin: 0;
  font-size: 1rem;
}

.faq-answer strong {
  color: #333;
  font-weight: 700;
}

/* Footer FAQ */
.faq-footer {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
  border: 3px solid #333;
  backdrop-filter: blur(15px);
}

.faq-footer .comic-subtitle {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.btn-comic {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-family: 'Bangers', cursive;
  font-size: 1.3rem;
  text-transform: uppercase;
  border: 3px solid #333;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.3);
}

.btn-comic:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #4ecdc4, #ff6b6b);
}

.btn-comic.mega {
  padding: 20px 45px;
  font-size: 1.5rem;
}

/* WhatsApp Button */
.whatsapp-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.whatsapp-chat a {
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.whatsapp-chat a:hover {
  transform: scale(1.1);
}

.whatsapp-chat img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
  .faq-grid-two-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .comic-title {
    font-size: 2.5rem;
  }
  
  .comic-subtitle-section {
    font-size: 2rem;
    padding: 12px 20px;
  }
  
  .faq-question {
    padding: 20px 25px;
  }
  
  .faq-question h3 {
    font-size: 1.2rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 20px 25px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .faq-comic {
    padding: 60px 0;
  }
  
  .comic-title {
    font-size: 2rem;
  }
  
  .comic-subtitle-section {
    font-size: 1.5rem;
    padding: 10px 15px;
  }
  
  .faq-question {
    padding: 15px 20px;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .faq-item.active .faq-answer {
    padding: 20px;
  }
}