/* Hero Carousel - Amélioré */
.hero-carousel { 
  min-height: 850px; 
  position: relative;
}
.hero-carousel .carousel-inner { 
  height: 850px; 
}
.hero-carousel .carousel-item { 
  height: 850px; 
  position: relative; 
  overflow: hidden;
}
.hero-carousel img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
  will-change: transform;
  filter: brightness(1.05) contrast(1.08) saturate(1.1);
  display: block;
}
.hero-carousel .carousel-item.active img {
  transform: scale(1);
}
.hero-carousel .carousel-item:not(.active) img {
  transform: scale(0.98);
  opacity: 0.7;
}
.hero-carousel .hero-overlay {
  background: linear-gradient(135deg, rgba(11,31,46,0.2) 0%, rgba(11,31,46,0.5) 50%, rgba(11,31,46,0.85) 100%);
  transition: opacity 0.8s ease;
  z-index: 1;
}
.hero-content { 
  animation: fadeInUp 1s ease-out 0.3s both; 
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.hero-content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.7;
  margin-bottom: 2rem;
  opacity: 0.95;
}
@keyframes fadeInUp {
  from { 
    opacity: 0; 
    transform: translateY(40px); 
  }
  to { 
    opacity: 1; 
    transform: translateY(0); 
  }
}
.carousel-control-prev, .carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}
.carousel-control-prev:hover, .carousel-control-next:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-50%) scale(1.1);
}
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background: rgba(255,255,255,0.5);
  border: 2px solid rgba(255,255,255,0.8);
  transition: all 0.3s ease;
}
.carousel-indicators button.active {
  background: var(--orange);
  border-color: var(--orange);
  width: 40px;
  border-radius: 6px;
}
@media (max-width: 768px) {
  .hero-carousel { min-height: 600px; }
  .hero-carousel .carousel-inner { height: 600px; }
  .hero-carousel .carousel-item { height: 600px; }
  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 1rem; }
}

/* Boutons améliorés */
.btn-accent { 
  padding: 14px 36px; 
  font-weight: 600; 
  letter-spacing: 0.5px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: 0 6px 20px rgba(210, 148, 55, 0.35);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
}
.btn-accent::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn-accent:hover::before {
  width: 300px;
  height: 300px;
}
.btn-accent:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 10px 30px rgba(210, 148, 55, 0.5); 
}
.btn-outline-light {
  border-radius: 50px;
  padding: 14px 36px;
  border-width: 2px;
  transition: all 0.3s ease;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-3px);
}

/* Sections - Style inspiré de hermannaboa.com */
.section-spacing { 
  padding: 100px 0; 
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-subtitle {
  font-size: 1.15rem;
  color: #6b7280;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}
.decor-line {
  width: 60px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 1.5rem auto;
}
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Cards modernes - Style hermannaboa.com */
.card-modern { 
  border: none; 
  border-radius: 16px; 
  overflow: hidden; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  background: #fff;
  height: 100%;
  position: relative;
  border: 1px solid #f0f0f0;
}
.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  z-index: 1;
}
.card-modern:hover::before {
  transform: scaleX(1);
}
.card-modern:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 12px 40px rgba(0,0,0,0.12); 
  border-color: #e0e0e0;
}
.card-modern img { 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); 
}
.card-modern:hover img { 
  transform: scale(1.1); 
}
.icon-box { 
  width: 70px; 
  height: 70px; 
  border-radius: 16px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.card-modern:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
}

/* Gradient backgrounds */
.gradient-bg-1 { 
  background: linear-gradient(135deg, #725f98 0%, #8b7ba8 100%); 
  position: relative;
  overflow: hidden;
}
.gradient-bg-1::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}
.gradient-bg-2 { 
  background: linear-gradient(135deg, #27336f 0%, #725f98 100%); 
  position: relative;
  overflow: hidden;
}
.gradient-bg-2::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* Video section */
.video-play-btn { 
  width: 90px; 
  height: 90px; 
  background: rgba(255,255,255,0.95); 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.video-play-btn:hover { 
  transform: scale(1.15); 
  background: #fff; 
  box-shadow: 0 15px 50px rgba(0,0,0,0.3); 
}
.video-play-btn i {
  transition: transform 0.3s ease;
}
.video-play-btn:hover i {
  transform: scale(1.2);
}

/* Gallery */
.gallery-img { 
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s ease; 
  cursor: pointer; 
  filter: brightness(1);
}
.gallery-img:hover { 
  transform: scale(1.08); 
  filter: brightness(1.1);
}

/* News cards */
.news-card { 
  border-radius: 20px; 
  overflow: hidden; 
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
  height: 100%; 
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.news-card:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 20px 50px rgba(0,0,0,0.2); 
}
.news-card img {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.news-card:hover img {
  transform: scale(1.1);
}

/* Contact form */
.contact-form .form-control { 
  border-radius: 12px; 
  border: 2px solid #e5e7eb; 
  padding: 14px 18px; 
  transition: all 0.3s ease; 
  font-size: 1rem;
}
.contact-form .form-control:focus { 
  border-color: var(--orange); 
  box-shadow: 0 0 0 4px rgba(210, 148, 55, 0.15); 
  transform: translateY(-2px);
}
.contact-form .form-control::placeholder {
  color: #9ca3af;
}

/* Stats */
.stats-number { 
  font-size: clamp(2.5rem, 5vw, 3.5rem); 
  font-weight: 700; 
  color: var(--orange); 
  font-family: Rubik;
  background: linear-gradient(135deg, var(--orange), #e6a85a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Animations */
.fade-in { 
  animation: fadeIn 1.2s ease-out; 
}
@keyframes fadeIn {
  from { 
    opacity: 0; 
    transform: translateY(30px);
  }
  to { 
    opacity: 1; 
    transform: translateY(0);
  }
}
.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Responsive improvements */
@media (max-width: 992px) {
  .section-spacing {
    padding: 70px 0;
  }
}
@media (max-width: 768px) {
  .section-spacing {
    padding: 60px 0;
  }
  .card-modern {
    margin-bottom: 2rem;
  }
}

