/* Home.css - Version améliorée */

/* ========== HERO SECTION ========== */
/* Dans Home.css - Hero Section */

.hero-home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(247, 147, 30, 0.85) 100%),
              url('/static/image/ComTrailHome3.gif') center/cover no-repeat;
  overflow: hidden;
}

/* Avec effet parallax */
.hero-home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/static/image/ComTrailHome3.gif') center/cover no-repeat fixed;
  opacity: 0.3;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-logo i {
  font-size: 3rem !important;
  color: white;
  padding: 0 !important;
}

/* Dans Home.css - Section Hero */

.hero-title {
  font-size: 5rem;
  font-weight: 900;
  color: white !important; /* Ajout de !important pour forcer le blanc */
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: 2px;
  /* Suppression du gradient pour garder le blanc pur */
}
.hero-home h1 {
  color: white !important;
  background: none !important;
  -webkit-text-fill-color: white !important;
}
/* Alternative avec gradient blanc lumineux */
.hero-title-gradient {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-shadow: none;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  padding: 0 !important;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 3rem;
  background: white;
  color: #ff6b35 !important;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-cta:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.95) !important;
}

.hero-cta i {
  font-size: 1.2rem !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
}

.hero-cta:hover i {
  transform: translateX(5px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

.hero-scroll-indicator i {
  font-size: 2rem !important;
  color: white;
  padding: 0 !important;
}

/* ========== CONTAINER GÉNÉRAL ========== */
.container-home {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.home-section {
  padding: 6rem 0;
}

/* ========== SECTION HEADERS ========== */
.section-header {
  margin-bottom: 3rem;
}

.section-header.centered {
  text-align: center;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  color: #ff6b35;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

/* ========== SECTION STRATÉGIE ========== */
.strategie-section {
  background: white;
}

.strategie-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.strategie-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-box {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border-left: 5px solid #ff6b35;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.highlight-box i {
  font-size: 2rem !important;
  color: #ff6b35;
  padding: 0 !important;
  flex-shrink: 0;
}

.highlight-box p {
  margin: 0;
  padding: 0 !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

.main-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  padding: 0 !important;
}

.secondary-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  padding: 0 !important;
}

/* Stats Card */
.stats-card {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(255, 107, 53, 0.3);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(10px);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon i {
  font-size: 1.8rem !important;
  color: #ff6b35;
  padding: 0 !important;
}

.stat-content h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.stat-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  padding: 0 !important;
  margin: 0;
}

/* ========== SECTION SERVICES ========== */
.services-section {
  background: linear-gradient(135deg, #fff5f0 0%, #ffe8dc 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #ff6b35 0%, #f7931e 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(255, 107, 53, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: 2rem !important;
  color: white;
  padding: 0 !important;
}

.service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2b2b2b;
  margin-bottom: 1rem;
}

.service-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  padding: 0 !important;
  margin-bottom: 0;
}

.service-number {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  color: #ff6b35;
}

/* ========== SECTION IMAGE DE MARQUE ========== */
.image-section {
  background: white;
}

.image-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-decoration {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
  animation: float 4s ease-in-out infinite;
}

.image-decoration i {
  font-size: 8rem !important;
  color: white;
  padding: 0 !important;
}

.image-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.highlight-box-alt {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(247, 147, 30, 0.1));
  border: 2px solid rgba(255, 107, 53, 0.3);
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.highlight-box-alt i {
  font-size: 2rem !important;
  color: #27ae60;
  padding: 0 !important;
  flex-shrink: 0;
}

.highlight-box-alt p {
  margin: 0;
  padding: 0 !important;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  color: white !important;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  width: fit-content;
}

.cta-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

.cta-secondary i {
  font-size: 1rem !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
}

.cta-secondary:hover i {
  transform: translateX(5px);
}

/* ========== CTA FINAL SECTION ========== */
.cta-final-section {
  background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
  position: relative;
  overflow: hidden;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.cta-final-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: 3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1rem;
}

.cta-final-text {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  padding: 0 !important;
}

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

.btn-primary-large,
.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary-large {
  background: white;
  color: #ff6b35 !important;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary-large:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.btn-secondary-large {
  background: rgba(255, 255, 255, 0.2);
  color: white !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-large:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.btn-primary-large i,
.btn-secondary-large i {
  font-size: 1.1rem !important;
  padding: 0 !important;
  transition: transform 0.3s ease;
}

.btn-primary-large:hover i,
.btn-secondary-large:hover i {
  transform: translateX(5px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .strategie-content,
  .image-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

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

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

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

  .image-decoration {
    width: 200px;
    height: 200px;
  }

  .image-decoration i {
    font-size: 5rem !important;
  }

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

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

  .btn-primary-large,
  .btn-secondary-large {
    width: 100%;
    justify-content: center;
  }
}