/**
 * GEO Layout CSS - LOT 1 B2 Reorganisation
 * Tesla Electric Variant 6.2-lot1
 * Styles pour les nouvelles sections GEO/SEO
 */

/* ============================================================================
   RÉPONSE DIRECTE / ANSWER-FIRST
   ============================================================================ */

.section--answer-first {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 3rem 0;
  border-top: 3px solid var(--color-primary, #0066cc);
}

.answer-box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.answer-box h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--color-primary, #0066cc);
}

.answer-box .lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

/* ============================================================================
   CE QUE NOUS FAISONS
   ============================================================================ */

.what-we-do-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.what-we-do-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-left: 4px solid var(--color-accent, #00ccaa);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-we-do-list li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.what-we-do-list i {
  font-size: 1.5rem;
  color: var(--color-accent, #00ccaa);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* ============================================================================
   COMMENT ÇA SE PASSE (3 ÉTAPES)
   ============================================================================ */

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  position: relative;
}

.process-step {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: center;
  transition: transform 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
}

.process-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary, #0066cc) 0%, var(--color-accent, #00ccaa) 100%);
  color: white;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary, #0066cc);
}

.process-step p {
  color: #666;
  line-height: 1.6;
}

/* ============================================================================
   FAQ
   ============================================================================ */

.faq-list {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary, #0066cc);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(0, 102, 204, 0.05);
}

.faq-question i {
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  color: #666;
  line-height: 1.7;
}

/* ============================================================================
   ZONE D'INTERVENTION
   ============================================================================ */

.zone-intervention {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 3rem;
  border-radius: 12px;
  margin-top: 2rem;
  border-left: 5px solid var(--color-accent, #00ccaa);
}

.zone-intervention h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary, #0066cc);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.zone-intervention h3 i {
  color: var(--color-accent, #00ccaa);
}

.zone-villes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ville-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid rgba(0, 102, 204, 0.2);
  border-radius: 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.ville-badge:hover {
  background: var(--color-primary, #0066cc);
  color: white;
  transform: scale(1.05);
}

.zone-intervention p {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
}

/* ============================================================================
   CTA FINAL
   ============================================================================ */

.cta-final {
  background: linear-gradient(135deg, var(--color-primary, #0066cc) 0%, var(--color-accent, #00ccaa) 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin-top: 3rem;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.3);
}

.cta-final h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.cta-final p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.cta-buttons .btn {
  min-width: 180px;
}

.cta-buttons .btn--white {
  background: white;
  color: var(--color-primary, #0066cc);
  border: 2px solid white;
}

.cta-buttons .btn--outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn--white:hover {
  background: #f8f9fa;
  transform: translateY(-3px);
}

.cta-buttons .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */

@media (max-width: 768px) {
  .answer-box {
    padding: 1.5rem;
  }

  .what-we-do-list {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .zone-villes {
    justify-content: center;
  }

  .cta-final {
    padding: 3rem 1.5rem;
  }

  .cta-final h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .process-step__number {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .ville-badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}
