/* ===============================
   GLOBAL STYLE
================================= */
body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background-color: #f9fafc;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #222;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #0d6efd;
}

/* ===============================
   NAVBAR
================================= */
.navbar {
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
  background: #fff;
}

.navbar-brand {
  font-weight: 700;
  color: #222;
}

.navbar .nav-link {
  margin-left: 1rem;
  color: #444 !important;
}

.navbar .nav-link:hover {
  color: #0d6efd !important;
}

.navbar .btn {
  border-radius: 25px;
  transition: all 0.3s ease;
}

.navbar .btn:hover {
  transform: translateY(-2px);
}

/* ===============================
   HERO BANNER
================================= */
.hero-banner {
  min-height: 80vh;
  background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
              url("../images/banner.jpg") center/cover no-repeat;
  padding: 4rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-banner h1 {
  font-size: 3rem;
  color: #fff;
  animation: fadeInUp 1s ease forwards;
}

.hero-banner .lead {
  color: #f1f1f1;
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1.25rem;
  animation: fadeInUp 1.3s ease forwards;
}

.hero-banner .btn {
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  margin-top: 1.5rem;
  animation: fadeInUp 1.6s ease forwards;
}

/* ===============================
   ABOUT & LEADERSHIP
================================= */
.about-section, .leadership-section {
  margin: 5rem 0;
}

.about-img, .leadership-section .card img {
  max-width: 85%;
  border-radius: 15px;
  transition: transform 0.5s ease;
}

.about-img:hover, .leadership-section .card img:hover {
  transform: scale(1.03) rotate(-1deg);
}

.leadership-section .card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-section .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ===============================
   FOOTER
================================= */
.footer {
  background: #111;
  position: relative;
  overflow: hidden;
  padding: 3rem 0;
}

.footer p, .footer small {
  margin: 0;
  color: #bbb;
}

.footer small {
  font-size: 0.85rem;
}

.footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(13,110,253,0.15) 20%, transparent 60%);
  animation: footerPulse 8s infinite linear;
}

@keyframes footerPulse {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===============================
   BUTTONS PREMIUM
================================= */
.btn-premium {
  display: inline-block;
  background: linear-gradient(135deg,#0d6efd,#6610f2);
  color: #fff;
  padding: 0.6rem 1.8rem;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  transition: all 0.3s ease;
}

.btn-premium:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* ===============================
   REALISATIONS
================================= */
.realisations-section {
  background: #f9fafc;
  padding: 4rem 0;
}

.realisation-card {
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
}

.realisation-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
  will-change: transform;
}

.realisation-card:hover img {
  transform: scale(1.05) rotate(-1deg);
}

/* Parallax léger */
.realisation-card img.parallax {
  transform: translateY(0);
  transition: transform 0.5s ease-out;
}

.realisation-card:hover img.parallax {
  transform: translateY(-10px) scale(1.05);
}

.realisation-card h5 {
  font-weight: 600;
  margin-top: 1rem;
}

.realisation-card p {
  color: #555;
}

.realisation-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===============================
   REVEAL AU SCROLL (UNIQUEMENT LA CARTE)
================================= */
.realisation-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.realisation-card.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation progressive avec delay */
.realisation-card:nth-child(1).reveal-visible { transition-delay: 0.1s; }
.realisation-card:nth-child(2).reveal-visible { transition-delay: 0.3s; }
.realisation-card:nth-child(3).reveal-visible { transition-delay: 0.5s; }

/* ===============================
   IMAGE
   ============================= */
.realisation-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.realisation-card:hover img {
  transform: scale(1.05) rotate(-1deg);
}

/* ===============================
   BOUTON DISABLED
================================= */
.disabled-link {
  pointer-events: none;
  opacity: 0.6;
}


/* ===============================
   SERVICES
================================= */
.services-section {
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  padding: 4rem 0;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.18);
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -50%;
  width: 200%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0d6efd, transparent);
  transition: all 0.5s ease;
  transform: scaleX(0);
  transform-origin: center;
}

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

.icon-box {
  font-size: 3rem;
  color: #0d6efd;
  margin-bottom: 20px;
  transition: transform 0.4s ease, color 0.4s ease;
}

.service-card:hover .icon-box {
  transform: rotate(-10deg) scale(1.2);
  color: #6610f2;
}

/* ===============================
   REVEAL AU SCROLL
================================= */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.service-card.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Animation progressive avec delay pour chaque carte */
.service-card:nth-child(1).reveal-visible { transition-delay: 0.1s; }
.service-card:nth-child(2).reveal-visible { transition-delay: 0.3s; }
.service-card:nth-child(3).reveal-visible { transition-delay: 0.5s; }

/* ===============================
   CONTACT
================================= */
.contact-section, .contact-form {
  background: #f9fafc;
  border-radius: 18px;
  padding: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.contact-form .form-control {
  border-radius: 12px;
  padding: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25);
}

.contact-form .btn {
  border-radius: 30px;
  padding: 12px 35px;
  font-size: 1.05rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-form .btn:hover {
  transform: scale(1.05);
}

/* ===============================
   ANIMATIONS & ENTRÉES FLUIDES
================================= */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

.animate-fade-in-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards 0.3s;
}

.animate-hover-up {
  transition: all 0.4s ease;
}

.animate-hover-up:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(0,0,0,0.18);
}

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

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 992px) {
  .realisation-card img { height: 200px; }
  .service-card h5 { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .realisation-card img { height: 180px; }
  .service-card { padding: 1.5rem 1rem; }
  .icon-box { font-size: 2.5rem; }
  .hero-banner h1 { font-size: 2.2rem; }
}
