/* ================================

   NOUVELLES SECTIONS - STYLES ADDITIONNELS

================================ */



/* ================================

   STATS SECTION

================================ */

.stats-section {

  padding: 3rem 0;

  background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(108, 99, 255, 0.05));

  border-top: 1px solid rgba(255, 255, 255, 0.05);

  border-bottom: 1px solid rgba(255, 255, 255, 0.05);

  display: block !important;

  min-height: auto;

  visibility: visible !important;

  opacity: 1 !important;

}



.stats-grid {

  display: grid !important;

  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));

  gap: var(--spacing-lg);

  visibility: visible !important;

  opacity: 1 !important;

}



.stat-item {

  text-align: center;

  padding: var(--spacing-lg);

  background: rgba(255, 255, 255, 0.03);

  border-radius: var(--radius-lg);

  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: all var(--transition-base);

  backdrop-filter: blur(10px);

}



.stat-item:hover {

  transform: translateY(-5px);

  border-color: var(--primary-color);

  box-shadow: 0 10px 40px rgba(0, 123, 255, 0.3);

  background: rgba(0, 123, 255, 0.08);

}



.stat-icon {

  width: 60px;

  height: 60px;

  margin: 0 auto var(--spacing-md);

  display: flex;

  align-items: center;

  justify-content: center;

  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  border-radius: 50%;

}



.stat-icon svg {

  width: 30px;

  height: 30px;

  color: white;

}



.stat-number {

  font-size: 3rem;

  font-weight: 700;

  color: var(--primary-color);

  margin-bottom: var(--spacing-xs);

  text-shadow: 0 0 20px rgba(0, 123, 255, 0.5);

}



.stat-label {

  color: rgba(255, 255, 255, 0.8);

  font-size: 1rem;

  font-weight: 500;

}



/* ================================

   ABOUT SECTION

================================ */

.about-content {

  display: grid;

  grid-template-columns: 1.2fr 1fr;

  gap: var(--spacing-xl);

  align-items: center;

}



.about-text h3 {

  font-size: 2rem;

  margin-bottom: var(--spacing-md);

  color: var(--text-primary);

}



.about-text p {

  color: var(--text-secondary);

  line-height: 1.8;

  margin-bottom: var(--spacing-md);

}



.about-highlights {

  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: var(--spacing-md);

  margin: var(--spacing-xl) 0;

}



.highlight-item {

  display: flex;

  align-items: center;

  gap: 0.75rem;

  color: var(--text-secondary);

  font-size: 0.95rem;

}



.highlight-item svg {

  color: var(--success);

  min-width: 20px;

}



.about-image {

  position: relative;

}



.about-card {

  position: relative;

  border-radius: var(--radius-xl);

  overflow: hidden;

  box-shadow: var(--shadow-xl);

}



.about-card img {

  width: 100%;

  height: 500px;

  object-fit: cover;

  border-radius: var(--radius-xl);

  border: 3px solid var(--primary-color);

}



.card-decoration {

  position: absolute;

  top: -30px;

  right: -30px;

  width: 150px;

  height: 150px;

  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  border-radius: 50%;

  opacity: 0.3;

  z-index: -1;

}



/* ================================

   SERVICES SECTION

================================ */

.services-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: var(--spacing-lg);

}



.service-card {

  background: var(--bg-card);

  padding: var(--spacing-xl);

  border-radius: var(--radius-lg);

  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: all var(--transition-base);

  position: relative;

  overflow: hidden;

}



.service-card::before {

  content: '';

  position: absolute;

  top: 0;

  left: 0;

  width: 100%;

  height: 4px;

  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));

  transform: scaleX(0);

  transform-origin: left;

  transition: transform var(--transition-base);

}



.service-card:hover::before {

  transform: scaleX(1);

}



.service-card:hover {

  transform: translateY(-10px);

  border-color: var(--primary-color);

  box-shadow: var(--shadow-xl);

}



.service-icon {

  width: 70px;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(0, 123, 255, 0.1);

  border-radius: var(--radius-lg);

  margin-bottom: var(--spacing-md);

  transition: all var(--transition-base);

}



.service-card:hover .service-icon {

  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  transform: scale(1.1) rotate(5deg);

}



.service-icon svg {

  width: 35px;

  height: 35px;

  color: var(--primary-color);

  transition: color var(--transition-base);

}



.service-card:hover .service-icon svg {

  color: white;

}



.service-card h3 {

  font-size: 1.5rem;

  margin-bottom: var(--spacing-md);

  color: var(--text-primary);

}



.service-card > p {

  color: var(--text-secondary);

  line-height: 1.7;

  margin-bottom: var(--spacing-md);

}



.service-features {

  list-style: none;

  padding: 0;

}



.service-features li {

  color: var(--text-secondary);

  padding: 0.5rem 0;

  padding-left: 1.5rem;

  position: relative;

  font-size: 0.95rem;

}



.service-features li::before {

  content: '✓';

  position: absolute;

  left: 0;

  color: var(--primary-color);

  font-weight: bold;

}



/* ================================

   TECHNOLOGIES SECTION

================================ */

.technologies-section {

  padding: 3rem 0;

  background: linear-gradient(135deg, rgba(0, 123, 255, 0.03), rgba(108, 99, 255, 0.03));

  display: block !important;

  visibility: visible !important;

  opacity: 1 !important;

}



.tech-categories {

  display: grid !important;

  gap: var(--spacing-xl);

  visibility: visible !important;

  opacity: 1 !important;

}



.tech-category {

  display: block !important;

  visibility: visible !important;

  opacity: 1 !important;

}



.tech-category h3 {

  font-size: 1.1rem;

  margin-bottom: 1rem;

  color: rgba(255, 255, 255, 0.9);

  display: flex;

  align-items: center;

  gap: 0.5rem;

}



.tech-category h3::before {

  content: '';

  width: 4px;

  height: 30px;

  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));

  border-radius: 4px;

}



.tech-icons {

  display: grid !important;

  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));

  gap: var(--spacing-md);

  visibility: visible !important;

  opacity: 1 !important;

}



.tech-item {

  display: flex !important;

  flex-direction: column;

  visibility: visible !important;

  opacity: 1 !important;

  align-items: center;

  gap: 0.5rem;

  padding: 0.75rem;

  background: var(--bg-card);

  border-radius: var(--radius-lg);

  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: all var(--transition-base);

  cursor: pointer;

}



.tech-item:hover {

  transform: translateY(-5px) scale(1.05);

  border-color: var(--primary-color);

  box-shadow: var(--shadow-lg);

}



.tech-icon-wrapper {

  width: 45px;

  height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: rgba(0, 123, 255, 0.1);

  border-radius: var(--radius-md);

  transition: all var(--transition-base);

}



.tech-item:hover .tech-icon-wrapper {

  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  transform: rotate(10deg);

}



.tech-icon-wrapper svg {

  width: 22px;

  height: 22px;

  color: var(--primary-color);

  transition: color var(--transition-base);

}



.tech-item:hover .tech-icon-wrapper svg {

  color: white;

}



.tech-item span {

  color: var(--text-secondary);

  font-size: 0.75rem;

  font-weight: 500;

  font-weight: 500;

  text-align: center;

}



/* ================================

   TESTIMONIALS SECTION

================================ */

.testimonials-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));

  gap: var(--spacing-lg);

}



.testimonial-card {

  background: var(--bg-card);

  padding: var(--spacing-xl);

  border-radius: var(--radius-lg);

  border: 1px solid rgba(255, 255, 255, 0.1);

  transition: all var(--transition-base);

  position: relative;

}



.testimonial-card::before {

  content: '"';

  position: absolute;

  top: -10px;

  left: 20px;

  font-size: 6rem;

  color: var(--primary-color);

  opacity: 0.1;

  font-family: Georgia, serif;

  line-height: 1;

}



.testimonial-card:hover {

  transform: translateY(-5px);

  border-color: var(--primary-color);

  box-shadow: var(--shadow-xl);

}



.testimonial-rating {

  display: flex;

  gap: 0.25rem;

  margin-bottom: var(--spacing-md);

}



.testimonial-rating svg {

  width: 20px;

  height: 20px;

  fill: var(--warning);

  stroke: var(--warning);

}



.testimonial-text {

  color: var(--text-secondary);

  line-height: 1.8;

  margin-bottom: var(--spacing-lg);

  font-style: italic;

}



.testimonial-author {

  display: flex;

  align-items: center;

  gap: 1rem;

  padding-top: var(--spacing-md);

  border-top: 1px solid rgba(255, 255, 255, 0.1);

}



.author-avatar {

  width: 50px;

  height: 50px;

  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

}



.author-avatar svg {

  width: 25px;

  height: 25px;

  color: white;

}



.author-info h4 {

  font-size: 1rem;

  margin-bottom: 0.25rem;

  color: var(--text-primary);

}



.author-info p {

  font-size: 0.85rem;

  color: var(--text-muted);

  margin: 0;

}



/* ================================

   SCROLL TO TOP BUTTON

================================ */

.scroll-top-btn {

  position: fixed;

  bottom: 30px;

  right: 30px;

  width: 50px;

  height: 50px;

  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));

  border: none;

  border-radius: 50%;

  color: white;

  cursor: pointer;

  display: flex;

  align-items: center;

  justify-content: center;

  opacity: 0;

  visibility: hidden;

  transition: all var(--transition-base);

  z-index: 999;

  box-shadow: var(--shadow-lg);

}



.scroll-top-btn.visible {

  opacity: 1;

  visibility: visible;

}



.scroll-top-btn:hover {

  transform: translateY(-5px);

  box-shadow: var(--shadow-xl), var(--shadow-glow);

}



.scroll-top-btn svg {

  width: 24px;

  height: 24px;

}



/* ================================

   SCROLL PROGRESS BAR

================================ */

.scroll-progress-bar {

  position: fixed;

  top: 0;

  left: 0;

  height: 4px;

  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));

  width: 0%;

  z-index: 9999;

  transition: width 0.1s ease;

  box-shadow: 0 0 10px rgba(0, 123, 255, 0.5);

}



/* ================================

   RESPONSIVE - NOUVELLES SECTIONS

================================ */

@media (max-width: 968px) {

  .about-content {

    grid-template-columns: 1fr;

    text-align: center;

  }

  

  .about-image {

    order: -1;

  }

  

  .about-card img {

    height: 400px;

  }

  

  .about-highlights {

    grid-template-columns: 1fr;

  }

  

  .highlight-item {

    justify-content: center;

  }

  

  .stats-grid {

    grid-template-columns: repeat(2, 1fr);

  }

  

  .services-grid {

    grid-template-columns: 1fr;

  }

  

  .tech-icons {

    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));

  }

  

  .testimonials-grid {

    grid-template-columns: 1fr;

  }

}



@media (max-width: 640px) {

  .stats-grid {

    grid-template-columns: 1fr;

  }

  

  .stat-number {

    font-size: 2.5rem;

  }

  

  .about-text h3 {

    font-size: 1.5rem;

  }

  

  .about-card img {

    height: 300px;

  }

  

  .tech-icons {

    grid-template-columns: repeat(2, 1fr);

  }

  

  .scroll-top-btn {

    bottom: 20px;

    right: 20px;

    width: 45px;

    height: 45px;

  }

}



/* ================================

   ANIMATIONS ADDITIONNELLES

================================ */

@keyframes slideInLeft {

  from {

    opacity: 0;

    transform: translateX(-50px);

  }

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



@keyframes slideInRight {

  from {

    opacity: 0;

    transform: translateX(50px);

  }

  to {

    opacity: 1;

    transform: translateX(0);

  }

}



.slide-in-left {

  animation: slideInLeft 0.6s ease forwards;

}



.slide-in-right {

  animation: slideInRight 0.6s ease forwards;

}



/* Animation pour les stats qui comptent */

@keyframes countUp {

  from {

    transform: scale(0.5);

    opacity: 0;

  }

  to {

    transform: scale(1);

    opacity: 1;

  }

}



.stat-number.counting {

  animation: countUp 0.5s ease;

}

