/* ============================================
   STYLES PAGE D'ACCUEIL - GNA-BLE
   ============================================ */

/* Container principal */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

/* ============================================
   SECTION HERO
   ============================================ */
.hero {
  background: #000000;
  color: var(--color-white);
  padding: 120px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-secondary-alt);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

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

.btn-secondary:hover {
  background-color: var(--color-secondary);
  transform: translateY(-3px);
}

.btn-cta {
  background-color: var(--color-secondary);
  color: var(--color-white);
  padding: 1.2rem 2.5rem;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
}

.btn-cta:hover {
  background-color: var(--color-secondary-alt);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.4);
}

/* ============================================
   SECTION STATISTIQUES
   ============================================ */
.stats-section {
  padding: 5rem 2rem;
  background-color: var(--color-gray-bg);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-primary);
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  background-color: var(--color-white);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-secondary), var(--color-secondary-alt));
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 100%;
  height: 100%;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--color-gray);
  font-weight: 500;
}

/* ============================================
   SECTION DOMAINES D'EXPERTISE
   ============================================ */
.expertise-section {
  padding: 5rem 2rem;
  background-color: var(--color-white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-card {
  background-color: var(--color-white);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border: 2px solid transparent;
}

.expertise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--color-secondary);
}

.expertise-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.expertise-icon svg {
  width: 100%;
  height: 100%;
}

.expertise-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.expertise-description {
  font-size: 1.1rem;
  color: var(--color-gray);
  line-height: 1.6;
}

/* ============================================
   SECTION RÉALISATIONS
   ============================================ */
.projects-section {
  padding: 5rem 2rem;
  background-color: var(--color-gray-bg);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  background-color: var(--color-white);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-link:hover .project-card {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s ease;
}

.project-card-link:hover .project-image {
  transform: scale(1.1);
}

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 138, 0, 0.95);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  z-index: 2;
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
  height: 50%;
  pointer-events: none;
}

.project-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.project-location {
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.project-stat {
  font-size: 0.9rem;
  color: var(--color-gray);
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  background-color: var(--color-gray-bg);
  border-radius: 6px;
}

.project-link-text {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  display: inline-block;
  transition: transform 0.3s ease;
}

.project-card-link:hover .project-link-text {
  transform: translateX(5px);
}

/* ============================================
   SECTION TÉMOIGNAGES
   ============================================ */
.testimonials-section {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top left, rgba(255, 138, 0, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-section .section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.testimonials-section .section-subtitle {
  text-align: center;
  color: var(--color-gray);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.testimonials-carousel {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.testimonial-card {
  display: none;
  background: var(--color-white);
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.5s ease;
  border: 2px solid transparent;
}

.testimonial-card.active {
  display: block;
  animation: fadeInSlide 0.5s ease;
  border-color: rgba(255, 138, 0, 0.2);
}

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

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-rating .star {
  color: #ffc107;
  font-size: 1.5rem;
  text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.testimonial-quote {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--color-dark);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  position: relative;
  padding: 0 2rem;
}

.testimonial-quote::before {
  content: '"';
  font-size: 5rem;
  color: var(--color-secondary);
  position: absolute;
  top: -30px;
  left: 0;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-quote::after {
  content: '"';
  font-size: 5rem;
  color: var(--color-secondary);
  position: absolute;
  bottom: -60px;
  right: 0;
  opacity: 0.2;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(26, 58, 95, 0.3);
  flex-shrink: 0;
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 1rem;
  color: var(--color-gray);
  margin-bottom: 0.25rem;
}

.testimonial-project {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-weight: 600;
}

/* Navigation du carrousel */
.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.testimonial-nav-btn {
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 58, 95, 0.1);
}

.testimonial-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(26, 58, 95, 0.3);
}

.testimonial-nav-btn:active {
  transform: scale(0.95);
}

.testimonial-nav-btn svg {
  width: 20px;
  height: 20px;
}

.testimonials-dots {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.testimonials-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(26, 58, 95, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-dots .dot.active {
  background: var(--color-primary);
  width: 32px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(26, 58, 95, 0.3);
}

.testimonials-dots .dot:hover {
  background: var(--color-primary-light);
  transform: scale(1.2);
}

/* ============================================
   SECTION CTA
   ============================================ */
.cta-section {
  padding: 5rem 2rem;
  background: #000000;
  color: var(--color-white);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

  .section-title {
    font-size: 2rem;
  }

  .stats-grid,
  .expertise-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

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

@media (max-width: 600px) {
  .hero {
    padding: 80px 1rem 60px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .stats-section,
  .expertise-section,
  .projects-section,
  .testimonials-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .stat-card,
  .expertise-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-quote {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .testimonial-quote::before,
  .testimonial-quote::after {
    font-size: 3rem;
  }

  .testimonial-author {
    flex-direction: column;
    gap: 1rem;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

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

  .testimonials-nav {
    gap: 1rem;
    margin-top: 2rem;
  }

  .testimonial-nav-btn {
    width: 45px;
    height: 45px;
  }

  .testimonials-dots {
    gap: 0.5rem;
  }

  .testimonials-dots .dot {
    width: 10px;
    height: 10px;
  }

  .testimonials-dots .dot.active {
    width: 24px;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }
}


