/* styles.css */


html {
  scroll-behavior: smooth;
	 
}

body header h1 {
    text-align: center;
    text-shadow: 0 0 100px #000000;
    color: #000000;
    font-size: 35pt;
    background-color: rgba(248,248,240,1.00);
    -webkit-box-shadow: inset 0px 0px;
    box-shadow: inset 0px 0px;
    letter-spacing: 3pt;
    border-style: double;
    border-color: rgba(236,221,221,1.00);
	
	
  margin: 0 auto;
	
	
	
	
}

 body{
        margin: 0;
        padding: 0;
        font-family: sans-serif;
        }


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #f8f9fa;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: white;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0077B6;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 4px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: white;
    position: absolute;
    top: 60px;
    left: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

main {
  text-align: center;
  padding: 2rem 1rem;
}






.intro {
  font-size: 1rem;
  margin-bottom: 2rem;
}




.formatNom
{
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}
.formatMail {
   margin-left: 40px;
}











.search-bar input,
#searchInput {
  width: 100%;
  padding: 0.7rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  color: rgba(243, 6, 6, 1.00);
  font-weight: bold;
}



 #searchInput::placeholder {
            color: red;
        }





.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 0 1rem;
}

.card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 50px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card button {
  background: #48CAE4;
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

footer {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: #0077B6;
  color: white;
}





      
.row .col-md-3 p {
    font-size: 10pt;
    text-align: center;
    font-style: normal;
    text-decoration: underline;
    font-weight: bold;
    color: rgba(23,34,232,1.00);
    min-height: 50px;
    max-height: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 15px;
    
}
.row .col-md-3 div {
    background: #fff;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 15px 50px rgba(17,131,68,0.20);
    border-color: #B1B0B0;
    border-style: ridge;
    webkit-box-shadow: 0 15px 50px rgba(17,131,68,0.20);
    margin-top: 30px;
}

.row .container {
    margin-top: 30px;

}
.container .col-xs-10.col-sm-10.col-md-10.col-lg-10 a {
    text-align: right;
    font-size: 13px;
    font-style: italic;
  
}



body h2 {
    color: rgba(243,6,6,1.00);
    text-decoration: underline;
    font-weight: bold;
    margin-top: 35px;
	text-align: left;     /* Centre le titre horizontalement */
}


.row .col-xs-12.col-sm-6.col-md-3.col-lg-3 div {
    width: 170px;
    padding-top:3px;
    border: 3px solid #B1B0B0;
    background: #fff;
}
.container-fluid .container div {
    font-style: italic;
    font-size: 9pt;
    text-align: right;
}

.container .col-xs-10.col-sm-10.col-md-10.col-lg-10 .formtMail {
    color: rgba(17,29,166,1.00);
    margin-top: -50px;
}




article {
  transition: all 0.3s ease;
}

/* styles des boutons organismes ... */




/* Ancien... */





.new-style {
    font-size: 12pt; /* Définit la taille de la police à 12 points, ce qui rend le texte légèrement plus grand que la taille par défaut. */

    text-align: center; /* Centre le texte horizontalement à l'intérieur du bouton. */

    font-style: italic; /* Rend le texte en italique, ce qui donne une inclinaison au texte. */

    text-decoration: none; /* Supprime toute décoration de texte, comme les soulignements, qui pourraient être appliqués par défaut. */

    font-weight: normal; /* Définit le poids de la police à normal, ce qui signifie que le texte n'est ni en gras ni en léger. */

    color: rgba(232, 23, 34, 1.00); /* Définit la couleur du texte en utilisant la notation RGBA, ici un rouge vif avec une opacité totale. */

    background-color: #f0f0f0; /* Définit la couleur de fond du bouton à un gris très clair, ce qui peut aider à mettre en évidence le texte. */

    padding: 10px; /* Ajoute un espace de 10 pixels autour du contenu du bouton, à l'intérieur de la bordure, ce qui augmente l'espace intérieur et améliore le confort de clic. */

    border: 1px solid #ddd; /* Ajoute une bordure solide de 1 pixel de large autour du bouton, avec une couleur gris clair. */

    width: 100%; /* Assure que le bouton prend toute la largeur disponible de son conteneur parent, ce qui permet de s'assurer que tous les boutons ont la même largeur. */

    cursor: pointer; /* Change le curseur en pointeur (une main) lorsque l'utilisateur survole le bouton, indiquant que l'élément est cliquable. */

    border-radius: 5px; /* Ajoute des coins légèrement arrondis au bouton avec un rayon de 5 pixels, ce qui adoucit l'apparence du bouton. */
}

.new-style:hover {
    background-color: #ddd; /* Change la couleur de fond du bouton à un gris légèrement plus foncé lorsque l'utilisateur survole le bouton, offrant un retour visuel à l'interaction. */
}




/* 1. Style global de chaque carte */
.mon-style-personnalise .card {
  background-color: #f9f9f9;              /* 2. Couleur de fond douce */
  border: 1px solid #ddd;                 /* 3. Bordure grise claire */
  border-radius: 0;                       /* 4. Coins carrés */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* 5. Légère ombre */
  transition: transform 0.3s ease;        /* 6. Animation fluide au survol */
}


.mon-style-personnalise .card {
    padding-left: 0.5rem; /* Réduit le padding gauche du contenu de la carte */
	min-height: 260px; /* ⇦ augmente la hauteur minimale de la carte */
}



/* 7. Effet au survol de la carte */
.mon-style-personnalise .card:hover {
  transform: translateY(-5px);            /* 8. Légère élévation de la carte */
}

/* 9. Style de base pour les boutons */
.mon-style-personnalise .btn {
  font-weight: bold;
  font-size: 1.1rem;             /* Légèrement agrandi */
  text-transform: none;          /* Garde les majuscules/minuscules comme dans le texte */
  border-radius: 0;
  border: 2px solid transparent;
  transition: all 0.3s ease-in-out;
  padding: 10px 12px;
  width: 100%;                   /* Prend toute la largeur disponible */
  white-space: normal;           /* Autorise le retour à la ligne si nécessaire */
  text-align: center;            /* Centre le texte horizontalement */
  display: flex;                 /* Flexbox pour gérer le contenu */
  justify-content: center;       /* Centre le texte dans le bouton */
  align-items: center;           /* Centre verticalement aussi */
}


/* === Bouton bleu (primary) === */
.mon-style-personnalise .btn-primary {
  background-color: #007bff;              /* 18. Bleu vif */
  border-color: #0056b3;                  /* 19. Bordure bleu foncé */
}
.mon-style-personnalise .btn-primary:hover {
  background-color: #0056b3;              /* 20. Bleu foncé au survol */
  color: #fff;                            /* 21. Texte blanc */
}

/* === Bouton vert (success) === */
.mon-style-personnalise .btn-success {
  background-color: #28a745;              /* 22. Vert vif */
  border-color: #1e7e34;                  /* 23. Bordure verte foncée */
}
.mon-style-personnalise .btn-success:hover {
  background-color: #1e7e34;              /* 24. Survol plus foncé */
  color: #fff;                            /* 25. Texte blanc */
}

/* === Bouton jaune/orange (warning) === */
.mon-style-personnalise .btn-warning {
  background-color: #ffc107;              /* 26. Jaune lumineux */
  border-color: #d39e00;                  /* 27. Bordure jaune foncé */
  color: #212529;                         /* 28. Texte noir par défaut */
}
.mon-style-personnalise .btn-warning:hover {
  background-color: #d39e00;              /* 29. Jaune foncé au survol */
  color: #fff;                            /* 30. Texte blanc au survol */
}

/* === Bouton rouge (danger) === */
.mon-style-personnalise .btn-danger {
  background-color: #dc3545;              /* 31. Rouge vif */
  border-color: #bd2130;                  /* 32. Bordure rouge foncé */
}
.mon-style-personnalise .btn-danger:hover {
  background-color: #bd2130;              /* 33. Rouge foncé au survol */
  color: #fff;                            /* 34. Texte blanc */
}



.row .card:nth-child(-n+4) {
    border-radius: 0;
	
    /* autres styles spécifiques si besoin */
}

/* classe pour l'encadrement des 4 prmeeirs boutons.*/

.custom-card-title {
    font-size: 1.45rem;
    font-weight: bold;
    height: 40px;               /* Hauteur réduite pour les remonter */
    display: flex;
    align-items: flex-start;    /* Aligne en haut du bloc */
    justify-content: center;    /* Centre horizontalement */
    margin-top: 0px;            /* Décale un peu vers le bas */
    padding: 0;
}




.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

h1 {
  text-align: center;
  margin: 0 auto;
}



.left {
  position: absolute;
  left: 0;
}

.right {
  position: absolute;
  right: 0;
}






 h1 {
      text-align: center;
      font-size: 3rem;
      margin: 2rem 0;
      color: #003049;
	 
    }

    .btn-scroll {
      background-color: #0077b6;
      color: white;
      font-weight: 600;
      border: none;
      border-radius: 6px;
      padding: 0.5rem 1.5rem;
      transition: background-color 0.3s ease;
    }

    .btn-scroll:hover {
      background-color: #023e8a;
    }







#scrollTopBtn {
  position: relative;
  width: auto;
  height: auto;
  font-size: 1.2rem;
  background-color: #0077b6;
  border-radius: 6px;
  padding: 0.5rem 1rem;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#scrollTopBtn:hover {
  background-color: #023e8a;
}


 .bottom-banner {
      position: fixed;
      bottom: 0;
      width: 100%;
      background-color: rgba(248,248,240,1.00);
      color: white;
      padding: 0.1rem;
      display: flex;
      flex-wrap: wrap;
     justify-content: center; /* Centre les éléments horizontalement */
  	  align-items: center; /* Centre les éléments verticalement */
      z-index: 999;
      box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
	 
	 
	 
	 
	 
	 
	 
	 
    }

    .bottom-banner .info {
      font-size: 0.9rem;
		color: black;
		  display: flex; /* Affiche les éléments enfants en ligne */
  align-items: center; /* Centre les éléments verticalement */
    }

    .bottom-banner .info p {
      margin: 0;
      line-height: 1.3;
		  display: flex; /* Affiche les paragraphes en ligne */
  align-items: center; /* Centre les paragraphes verticalement */
    }

    .bottom-banner .info strong {
      display: inline; /* Assure que les éléments strong restent en ligne */
  margin-right: 0.9rem; /* Ajoute une marge à droite pour séparer les éléments */
    }

    .bottom-banner .scroll-btn {
      margin-top: 0.5rem;
    }

    @media (min-width: 576px) {
      .bottom-banner {
        flex-wrap: nowrap;
      }

      .bottom-banner .scroll-btn {
        margin-top: 0;
      }
    }




