.btnPaiement {
  background-color: #233a84;
  border-color: #233a84;
  color: #ffffff;
}
.btnPaiement:hover {
  background-color: #ffffff !important;
  border-color: #233a84 !important;
  color: #233a84 !important;
}

.btnContact {
  background-color: #3456c7;
  border-color: #3456c7;
}
.btnContact:hover {
  background-color: #ffffff !important;
  border-color: #3456c7 !important;
  color: #3456c7 !important;
}

#mainMenu nav > ul > li > a:hover {
  color: #233a84 !important;
}

.txt-5 {
  margin-top: 5em;
}
.txt-2 {
  margin-top: 2em;
}

.portrait {
  border-radius: 20px;
  height: 24em;
}
.blanc {
  color: #ffffff !important;
}
.rouge {
  color: #233a84;
}
.centrer {
  text-align: center;
}

.zoom {
  width: 100%;
  /*height: 240px;*/
}
.image {
  width: 100%;
  height: 100%;
}
.image img {
  /* La transition s'applique à la fois sur la largeur et la hauteur, avec une durée d'une seconde. */
  -webkit-transition: all 1s ease; /* Safari et Chrome */
  -moz-transition: all 1s ease; /* Firefox */
  -ms-transition: all 1s ease; /* Internet Explorer 9 */
  -o-transition: all 1s ease; /* Opera */
  transition: all 1s ease;
}
.image:hover img {
  /* L'image est grossie de 25% */
  -webkit-transform: scale(1.05); /* Safari et Chrome */
  -moz-transform: scale(1.05); /* Firefox */
  -ms-transform: scale(1.05); /* Internet Explorer 9 */
  -o-transform: scale(1.05); /* Opera */
  transform: scale(1.05);
}

.lienPaiement {
  color: #233a84 !important;
}
.lienPaiement:hover {
  color: #3456c7 !important;
}

.titreBleu {
  display: inline;
  position: relative;
  color: #233a84;
  text-decoration: none;
}

.titreBleu:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 2px;
  width: 0%;
  left: 0px;
  height: 1px;
  transition: 0.25s cubic-bezier(0.72, -0.01, 0.19, 0.92);
  background: #1d1d1b;
}

.titreBleu:hover:after {
  width: 100%;
}

.xl-1 {
  text-decoration: underline;
  text-decoration-color: #233a84;
  text-decoration-thickness: from-font;
}
.txt-justify {
  text-align: justify;
}

@font-face {
	font-family: "Raleway Bold";
  src: url("font/Raleway-Bold_1.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: "Raleway Bold Italic";
  src: url("font/Raleway-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
	font-family: "Raleway Medium";
  src: url("font/Raleway-Medium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
	font-family: "Raleway Medium Italic";
  src: url("font/Raleway-MediumItalic.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-x1  {
	font-family: 'Raleway Bold', serif !important;
}
.font-x2  {
	font-family: 'Raleway Bold Italic', serif !important;
}
.font-x3  {
	font-family: 'Raleway Medium', serif !important;
}
.font-x4  {
	font-family: 'Raleway Medium Italic', serif !important;
}

/* Structure du slide */
#slider,
#slider .slide {
    height: 100vh; /* toujours toute la hauteur de l'écran */
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center; /* centre l'image sur tous les écrans */
}

/* Filtre blanc */
#slider .slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

/* Contenu centré verticalement */
#slider .slide .slide-captions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.logo-wrapper {
    display: inline-block;
    padding: 10px; /* espace autour du logo */
    background: rgba(255,255,255,0.3); /* blanc semi-transparent */
    border-radius: 8px; /* arrondi facultatif */
}
.logo-wrapper img {
    width: 600px !important;
    max-width: 90%;
    height: auto;
    transition: all 0.3s ease;
}

/* Tablette : logo un peu plus petit */
@media (max-width: 768px) {
    #slider .slide {
        height: 100vh; /* force la pleine hauteur */
    }

    #slider .slide .slide-captions img {
        width: 180px;
    }
}

/* Mobile : logo réduit et image centrée */
@media (max-width: 480px) {
    #slider .slide {
        height: 100vh; /* garde la pleine hauteur sur mobile */
        background-position: center center; /* évite le rognage haut */
    }

    #slider .slide .slide-captions img {
        width: 160px; /* logo réduit */
    }
}


.mission-card {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* Hover */
.mission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.15);
}

.mission-card img {
    transition: transform 0.25s ease;
}

.mission-card:hover img {
    transform: translateY(-2px);
}

.mission-card h4 {
    transition: color 0.25s ease;
}

.mission-card:hover h4 {
    color: #6c757d; /* gris Bootstrap soft */
}

.mission-card:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.btn-pers {
    background-color: #233a84;
    color: #ffffff;
    border: none !important;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-radius: 5px;
}

.btn-pers:hover {
    background-color: #3456c7 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-pers:disabled {
    background-color: #aaaaaa !important;
    color: #eeeeee !important;
    cursor: not-allowed;
    transform: none;
    opacity: 0.7;
}

#map-section {
    overflow: hidden;
}

#map-container {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Style du texte pour le rendre plus lisible */
#map-section h3 {
    color: #1d1d1b;
    font-weight: 600;
}

#map-section ul li {
    margin-bottom: 10px;
    color: #555;
}

@media (min-width: 768px) {
    .accueil {
        padding: 0 100px !important;
    }
}

@media (max-width: 767px) {
    .accueil {
        display: flex;
        justify-content: center; /* centre horizontalement */
        align-items: center;     /* centre verticalement si nécessaire */
        padding: 20px !important; /* marge légère autour */
    }

    .accueil img {
        max-width: 80%;  /* empêche le logo d’être trop large */
        height: auto;    /* garde le ratio */
    }
}

@media (min-width: 768px) {
    .w-md-60 {
        width: 60% !important;
    }
}

@media (min-width: 992px) {
    .w-lg-30 {
        width: 30% !important;
    }

    .w-lg-40 {
        width: 40% !important;
    }
}

.mentions p {
  color: #233a84 !important;
}

#confirm_paiement .modal-content,
#confirm_paiement .modal-body,
#confirm_paiement .modal-header,
#confirm_paiement .table td,
#confirm_paiement .table th,
#confirm_paiement p {
    color: #1d1d1b !important;
    background-color: #ffffff;
}

.object-fit-cover {
    object-fit: cover;
}
