@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

*{
  margin: 0;
  padding: 0;
  
}

 
.btn-primary{
  background-color: #05778F;
}
:root{
  --teal:#007889;
  --teal-dark:#016b79;
  --yellow:#f9b429;
  --yellow-dark:#e09b00;
}

.navbar-nav .nav-link {
  font-size: 13px; /* taille réduite */
  font-weight:600;
  padding-top: 8px;
  padding-bottom: 8px;
  font-family: 'Manrope', sans-serif;
  line-height: 100%;

}

.navbar-nav .nav-link.color-yellow {
  color: #f6c71e !important;
}
.btn.btn-primary {
  font-size: 0.85rem;
  padding: 6px 14px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
}



@media (max-width: 768px) {
  .navbar-logo {
    height: 45px;       /* reste raisonnable en mobile */
  }
}
.navbar-logo {
  height: 90px;         /* augmenté depuis 50px */
  max-width: 100%;
  object-fit: contain;
}

 /* Fond blanc pour le menu mobile */
 @media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white !important;
    padding: 1rem;
  }

  .navbar-nav .nav-link {
    color: black !important; /* texte noir pour contraste */
  }
}

/* MENU HORIZONTAL SUR MOBILE */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 250px; /* largeur du menu */
    background-color: white;
    transition: right 0.3s ease-in-out;
    padding-top: 60px; /* espace pour éviter de coller au bouton */
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    z-index: 1050;
  }

  /* Quand le menu est ouvert */
  .navbar-collapse.show {
    right: 0;
  }

  /* Bouton de fermeture */
  .btn-close {
    background-color: transparent;
    border: none;
    font-size: 1.5rem;
  }
}

.point {
  width: 30px;           /* Taille du carré bleu */
  height: 30px;
  position: relative;
  left: 15px;
  top: 10px;
}

.point::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;           /* Taille du carré blanc */
  height: 15px;
  background-color: white;
}

.mission-vision-section{
  margin-top: 150px;
  background-color : #05778F0D;
  padding: 30px 50px;

}
 


.text-justify {
  text-align: justify;
  
}

@media (max-width: 767.98px) {
  .mission-vision-section .row {
    flex-direction: column;
  }

  .mission-vision-section .col-md-2,
  .mission-vision-section .col-md-10 {
    width: 100%;
    text-align: left;
  }

  .mission-vision-section h2 {
    font-size: 1.8rem;
  }

  .mission-vision-section .fw-bold {
    margin-bottom: 0.5rem;
  }
}
.custom-padding-left {
  padding-left: 0px; /* ou 0, 20px selon ton besoin */
}

 
.mission-title {
  margin-bottom: 50px; /* ou ajuste */
}


  .hero-section {
    background-color: #066c87;
    color: white;
    padding-top: 120px; /* espace après navbar */
    padding-bottom: 60px;
    position: relative;
  }

  .hero-section h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
  }

  .hero-image {
    max-width: 100%;
   
  }

  .text-section {
    font-size: 0.95rem;
    line-height: 1.6;
    display: inline;
  }
  

  @media (min-width: 768px) {
    .hero-section h1 {
      font-size: 3.5rem;
    }
  }

  /* Centrage vertical */
  .align-center {
    display: flex;
    align-items: center;
  }
  
  .btn.btn-primary {
    font-size: 0.85rem;
    padding: 6px 14px;
  }
  .btn-primary{
    background-color: #fff;
    color: #0fd1f8;
  
  }
  
  .fondateur-img {
    margin-bottom: -120px; /* ou ajuste selon ton besoin */
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }
  

  .valeurs-bulle {
    background-color: #F2F8F9;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }
  .valeurs-bulle i {
    font-size: 60px;
    color: #00c5f0;
    margin-right: 15px;
  }

  :root{
    --teal:#006d83;
    --teal-dark:#007b8f;
    --line:#d3d3d3;
    --card:#eef6f8;
  }
  
  /* Ligne verticale */
  .timeline::before{
    content:"";
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    width:2px;
    background:var(--line);
    transform:translateX(-50%);
  }
  
  /* Un bloc */
  .timeline-item{
    position:relative;
    margin-bottom:4rem;
    min-height:140px;
  }
  .timeline-item .dot{
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:34px;
    height:34px;
    border:6px solid #E4E4E7;
    background : #05778F;
    border-radius:50%;
    z-index:2;
  }
  
  /* Pastille date */
  .date-pill{
    background:var(--teal);
    color:#fff;
    padding:.55rem 1.6rem;
    border-radius:2rem;
    font-weight:600;
    width:max-content;
    line-height:1;
    position:absolute;
    top:50%;
    margin-left: 160px;
    transform:translateY(-50%);
    z-index:1;
  }
.item-right{
  margin-left: 160px;
}

.item-left{
  margin-right: 160px;
}

  /* Cartes */
  .bg-card{
    background:var(--card) !important;
    border-radius:12px;
  }
  
  /* Positionnement desktop */
  .timeline-item.right .card{
    width:46%;
    margin-left:54%;
  }
  .timeline-item.right .date-pill{
    right:54%;
    transform:translate(100%,-50%);
  }
  
  .timeline-item.left .card{
    width:46%;
    margin-right:54%;
  }
  .timeline-item.left .date-pill{
    left:54%;
    transform:translate(-100%,-50%);
  }
  
  /* Responsive <768px : tout à gauche */
  @media (max-width:767.98px){
    .timeline::before{
      left:20px;
      transform:none;
    }
    .timeline-item{
      padding-left:55px;
      margin-bottom:3rem;
      min-height:auto;
    }
    .timeline-item .dot{
      left:20px;
      transform:translate(-50%,-50%);
    }
    .timeline-item .date-pill{
      position:relative;
      top:auto;
      left:auto;
      right:auto;
      transform:none;
      margin-bottom:1rem;
    }
    .timeline-item .card{
      width:100%;
      margin:0;
    }
  }
  
  :root{
    --teal:#007889;
    --teal-dark:#016b79;
    --yellow:#f9b429;
    --yellow-dark:#e09b00;
  }
  
  /* Bandeau */
  .cta-banner{
    min-height: 240px;
    background: var(--teal);
    color:#fff;
    position:relative;
    overflow:hidden;
    padding:4rem 0;
    border-radius: 0 0 16px 16px;
    
  }
  
  /* petites formes décoratives */
  .cta-banner::before,
  .cta-banner::after{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    background: var(--teal-dark);
    border-radius:50%;
    opacity:.25;
  }
  .cta-banner::before{
    bottom:-60px;
    left:15%;
  }
  .cta-banner::after{
    top:-80px;
    right:10%;
    width:300px;
    height:300px;
    opacity:.18;
  }
  
  /* Titre */
  .cta-title{
    font-weight:800;
    letter-spacing:1px;
    text-transform:uppercase;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    margin:0;
  }
  
  /* Bouton */
  .btn-cta{
    background: var(--yellow);
    color:#000;
    padding:.9rem 2.2rem;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    transition: all .2s ease;
  }
  .btn-cta:hover{
    background: var(--yellow-dark);
    color:#000;
    transform: translateY(-2px);
  }
  
  /* Responsive (optionnel) */
  @media (max-width:576px){
    .cta-banner{
      padding:3rem 0;
      border-radius:0;
    }
  }
  
  .btn-danger{
    background-color: #ff0909;
  
  }
  .footer-custom {
    background-color: #ffffff;
  }
  
  .footer-logo {
    max-width: 100px;
  }
  
  .footer-bottom {
    border-top: 1px solid #e0e0e0;
  }
  
  .footer-custom h6 {
    font-size: 0.9rem;
    color: #333;
  }
  
  .footer-custom ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer-custom input::placeholder {
    color: #999999;
    font-size: 0.9rem;    
  }
  
  .icone{
    font-size: 14px;
    color: #000;
  }
  
  .text-muted{
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
  }
  
  /* 📱 RESPONSIVE MOBILE FIXES */

@media (max-width: 768px) {

  /* Navbar */
  .navbar-nav {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Hero Section */
  .hero-section h1 {
    font-size: 2rem;
    text-align: center;
  }

  .text-section p {
    text-align: justify;
    font-size: 0.95rem;
  }

  .align-center {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-image {
    margin-bottom: 1.5rem;
  }

  /* Mission / Vision */
  .mission-vision-section .row {
    flex-direction: column;
  }

  .mission-vision-section .col-md-2,
  .mission-vision-section .col-md-10 {
    width: 100%;
    padding: 0 15px;
    text-align: left;
  }

  .mission-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
  }

  /* CTA Banner */
  .cta-banner {
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0 !important;
    padding: 3rem 1rem;
  }

  .cta-title {
    font-size: 1.7rem;
  }

  .btn-cta {
    font-size: 1rem;
    width: 100%;
  }

  /* Timeline */
  .timeline::before {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    padding-left: 55px;
    margin-bottom: 3rem;
    min-height: auto;
  }

  .timeline-item .dot {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  .timeline-item .date-pill {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin-bottom: 1rem;
  }

  .timeline-item .card {
    width: 100%;
    margin: 0;
  }

  /* Footer Bottom */
  .footer-bottom .container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom p,
  .footer-bottom .icone {
    font-size: 14px;
  }

  /* Formulaire Newsletter */
  .footer-custom form {
    flex-direction: column;
  }

  .footer-custom input {
    width: 100%;
    margin-bottom: 10px;
  }

  .footer-custom button {
    width: 100%;
  }
}

