/* ===============================
   POLICES & RESET
================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&family=Poppins:wght@400;600&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }
body { 
    font-family: 'Poppins', sans-serif; 
    font-size:16px; 
    line-height:1.6; 
    color:#333; 
    background:#f7f9fc; 
    scroll-behavior:smooth; 
}
h1,h2,h3,h4,h5,h6 { font-family: 'Montserrat', sans-serif; color:#0a2342; font-weight:700; }
p { color:#555; }

/* ===============================
   SOCIAL BAR
================================= */
.social-bar { 
    position:fixed; 
    top:40%; 
    left:10px; 
    display:flex; 
    flex-direction:column; 
    gap:15px; 
    z-index:1000; 
}
.social-bar a { 
    display:flex; justify-content:center; align-items:center; 
    width:45px; height:45px; 
    color:white; font-size:22px; 
    border-radius:50%; 
    transition:0.3s; text-decoration:none; 
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
}
.social-bar .facebook { background:#3b5998; }
.social-bar .instagram { background:#e4405f; }
.social-bar .whatsapp { background:#25d366; }
.social-bar a:hover { transform:scale(1.2); opacity:0.9; }

/* ===============================
   NAVBAR
================================= */
.navbar { padding:1rem 1rem; background:#0a2342; }
.navbar .nav-link { color:#fff; font-weight:500; transition:0.3s; }
.navbar .nav-link:hover { color:#1e90ff; }
.navbar-brand img { height:60px; margin-right:10px; }

/* ===============================
   HERO SLIDER
================================= */
/* --- HERO SLIDER --- */
#hero .carousel-item {
  height: 100vh;              /* prend toute la hauteur de l’écran */
  min-height: 500px;
  position: relative;
}

#hero .carousel-item img {
  object-fit: cover;          /* image s'adapte sans se déformer */
  height: 100%;
  width: 100%;
}

#hero .carousel-caption {
  position: absolute;
  top: 50%;
  left: 64%;
  transform: translate(-50%, -50%); /* centrage vertical & horizontal */
  text-align: center;
  width: 80%;                 /* pour éviter que le texte touche les bords */
  color: #fff;
}

/* Titres */
#hero h1, 
#hero h2 {
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  margin-bottom: 15px;
}

/* Paragraphes */
#hero p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
  margin-bottom: 20px;
}

/* Bouton */
#hero .btn {
  border-radius: 30px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  #hero h1, #hero h2 { font-size: 2.2rem; }
  #hero p { font-size: 1rem; }
}

@media (max-width: 576px) {
  #hero h1, #hero h2 { font-size: 1.6rem; }
  #hero p { font-size: 0.9rem; }
  #hero .btn { font-size: 1rem; padding: 10px 22px; }
}
/* Indicateurs en barres */
.custom-bars {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  justify-content: center;
  width: 90%; /* prend une bonne largeur */
}

.custom-bars button {
  flex: 1; /* chaque barre prend la même largeur */
  height: 6px;
  border: none;
  border-radius: 3px;
  background-color: rgba(255,255,255,0.5);
  transition: all 0.4s ease;
}

.custom-bars button.active {
  background-color: #ffc107; /* couleur jaune pour s’accorder au CTA */
  height: 8px; /* un peu plus épais */
}

/* Responsive */
@media (max-width: 576px) {
  .custom-bars {
    gap: 5px;
  }
  .custom-bars button {
    height: 4px;
  }
  .custom-bars button.active {
    height: 6px;
  }
}

/* ===============================
   BOUTONS CTA
================================= */
.btn-cta { 
    background:linear-gradient(135deg,#0a2342,#1e3c72); 
    color:#3008e6 !important; 
    font-weight:600; 
    padding:12px 28px; 
    border-radius:50px; 
    border:none; 
    transition:all 0.3s ease; 
    box-shadow:0 4px 10px rgba(0,0,0,0.15); 
}
.btn-cta:hover { 
    background:linear-gradient(135deg,#1e3c72,#2a5298); 
    transform:translateY(-3px); 
    box-shadow:0 6px 14px rgba(0,0,0,0.25); 
}

/* ===============================
   SECTIONS PRESENTATION
================================= */
section.container { padding-top:60px; padding-bottom:60px; }
.lead { font-size:1.1rem; color:#0a2342; }
.list-unstyled li { margin-bottom:10px; font-size:1rem; }
.list-unstyled li i { color:#1e3c72; }

/* ===============================
   CARROUSEL PROJETS
================================= */
#projectCarousel img { height:400px; object-fit:cover; border-radius:12px; }
.carousel-control-prev-icon, .carousel-control-next-icon { 
    background-color: rgba(10,35,66,0.8); 
    border-radius:50%; padding:10px; 
}
.features i {
  transition: transform 0.3s ease;
}
.features i:hover {
  transform: scale(1.2);
}

/* ===============================
   STATISTIQUES / COMPTEURS
================================= */
.section-counter h2 { font-size:2.5rem; color:#0a2342; font-weight:700; }
.section-counter p { font-size:1rem; color:#555; }

/* ===============================
   FOOTER
================================= */
footer.footer-custom { background:#0a2342; color:#fff; padding:50px 0; }
footer.footer-custom a { color:#1e90ff; text-decoration:none; }
footer.footer-custom a:hover { text-decoration:underline; }
.footer-logo { height:50px; margin-right:10px; }

/* ===============================
   CARDS PROJETS
================================= */
.cards-container { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:20px; margin-top:20px; }
.card { 
    border:1px solid #ddd; 
    border-radius:12px; 
    padding:15px; 
    text-align:center; 
    box-shadow:0 4px 12px rgba(0,0,0,.08); 
    background:#fff; 
    transition:0.3s; 
}
.card:hover { transform:translateY(-5px); box-shadow:0 6px 20px rgba(0,0,0,.15); }
.card img { width:100%; border-radius:12px; cursor:pointer; margin-bottom:10px; }

/* ===============================
   RESPONSIVE
================================= */
@media(max-width:992px){
    #hero h1,#hero h2{ font-size:2.2rem; }
    #hero p{ font-size:1rem; }
    .carousel-caption{ text-align:center !important; }
}
@media(max-width:576px){
    .navbar-brand img{ height:50px; }
    .btn-cta{ padding:10px 20px; font-size:0.95rem; }
    .section-counter h2{ font-size:2rem; }
}
.feature-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}

.feature-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.container.my-5 {
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  border-radius: 15px;
  padding: 40px 20px;
}
