/*-----------------------------------police--------------------------------*/
@font-face {
    font-family: 'Bauer Bodoni';
    src: url('fonts/bb.ttf') format('truetype');
}

@font-face {
    font-family: 'Tenor Sans';
    src: url('fonts/TenorSans-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Cinzel';
    src: url('fonts/CinzelDecorative.otf') format('opentype');
}

/* Appliquer les polices */
h3, .text-box h3 {font-family: 'Cinzel'; font-size: 16pt;}
body { font-family: 'Tenor Sans'; font-size: large; background-color: #2f1a19 !important;}
h5, h4 {margin-bottom: 5px; font-family: 'Bauer Bodoni';}
p {font-size: 14pt;}
.accueil, .text-box p, .text-box ul {font-size: 12pt; color: #000;}

/*------------------------------------fin police--------------------------------*/
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgb(10, 31, 68);
    color: white;
    z-index: 1000;
    display: flex;
    align-items: center;
}

/*-------------------------------------------menu--------------------------------*/
.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:0 20px;
    margin: 0 auto;
    list-style: none;
    max-width: 100%;
    background-color: rgb(10, 31, 68);
}

.bg-custom {
    background-color: rgb(10, 31, 68) !important;
  }

  .navbar-nav .nav-link {
    color: white !important;
    font-size: 18px;
    font-weight: 500;
  }
  .navbar-nav .nav-link:hover {
    color: #9f7a02 !important;
  }

  /* === MENU HAMBURGER === */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
}
/*------------------------------------------fin menu--------------------------------*/
/*--------------------------------------scroll+flèche--------------------------------*/
.scroll-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-family: Gill Sans;
    font-size: 24pt;
    z-index: 10;
}

.scroll-indicator .arrow {
    font-size: 2rem;
    display: block;
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/*------------------------------------------fin scroll--------------------------------*/
/*------------------------------------------photos--------------------------------*/
/*--photo de couverture*/
.cover-photo  {
    background: url('image/bal.png') no-repeat center center/cover;
    position: relative;
    height: 100vh;
}

.degrade {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(163, 159, 159, 0), #2f1a19);
}
/*-------------------------------------------fin photos --------------------------------*/

/* liens page 1 iany */
#accueil {background: #2f1a19; color: #fff}

#services {
    background: rgb(10, 31, 68);
    color: #fff;
}

#contact {background: #fff;}
/*-------------------------------------------accueil--------------------------------*/
.section {
    display: flex;
    justify-content: center;
    text-align: center;
    padding:  100px 5px;
}
/*-------------------------------------EXPERTISE--------------------------------*/
#services { width: 80%; margin: auto; }
.info{
    text-align: center; 
    padding: 20px;
    align-items: flex-start; /* Aligne les images en haut */
    flex-wrap: wrap; /* Permet l’adaptation sur petits écrans */
}
.info-box {
    display: inline-block;
    margin: 0 10px; 
    position: relative;
    overflow: hidden;
    
  
}

.info-box img {
    display: block;
    margin: 0 auto;
    width: 100%; 
    max-width: 400px; 
    height: 250px;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 10pt;
}

.info-box:hover img {
    transform: scale(1.1);
}

.overlay-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    
}

.info-box:hover .overlay-text {
    opacity: 1;
}


.info-box h3 {
    color: rgb(209, 211, 214);
}
.title {
   
    margin-bottom: 20px; /* Espace entre le titre et les images */
}

/*----------------------------------------fin expetise--------------------------------*/

/*-------------------------------------------contact--------------------------------*/
* {box-sizing: border-box;}

/* Section de contact avec image de fond */
.contact-section {
    background: url('image/o.png') no-repeat center center/cover;
    height: 600px;
    max-height: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 20px;
    width: 80%;
    margin: auto;
    
}

/* Conteneur du formulaire */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 950px;
    width: 100%;
    background: rgba(140, 140, 140, 0.6);
    padding: 40px;
    border-radius: 10px;
    
}

/* Informations sur le contact */
.contact-info {
    flex: 1;
    padding-right: 30px;
}

.contact-info h2 {
    margin-bottom: 10px;
}

/* Formulaire */
.contact-form {flex: 1;}

.contact-form form {
    display: flex;
    flex-direction: column;
}


input, textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: #000;
    font-family: 'Times New Roman', Times, serif;
    font-size: 12pt; 
}

.form-field {
    margin-bottom: 15px !important;
    display: block;
    width: 100%;
    padding: 10px;
  }
  

button {
    padding: 12px;
    background: rgb(10, 31, 68);
    color: rgb(254, 252, 252);
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-family: 'Tenor Sans';
    

}

button:hover {background:  #eaeaed;color: rgb(10, 31, 68)}
/*----------------------------------------fin contact------------------------------------*/


/*-------------------------------------page1------------------------------------*/

body, html {
    margin: 0;
    padding: 0;
}

/* Conteneur principal avec l'image de fond */
.paragraphe-container {
    background-image: url('image/cont.png'); 
    background-size: cover;
    background-position: center;
    /*background-attachment: fixed;*/
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Bloc de texte */
.text-box {
    background: rgba(255, 255, 255, 0.9); 
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    
}
/* Responsive pour petits écrans */
@media screen and (max-width: 600px) {
    .text-box {
        padding: 20px;
        font-size: 0.95rem;
    }
}

/* Styles pour les titres et le texte */
.text-box h3 {
    color: rgb(10, 31, 68);
    text-align: center;
    
}

.text-box p {
    line-height: 1.6;
    text-align: justify;
    text-indent: 40px; /* retrai d'espacement de 1er paragraphe */
}

.text-box ul {
    list-style-type: square;
    padding-left: 20px;
    line-height: 2;
}



/*lien*/
.accueil {
    display: block; /* Le met sur une ligne séparée */
    text-align: right;
    margin-right: 20px; /* Évite qu'il colle trop au bord droit */
    color: rgb(126, 49, 193);
    font-size: 12pt;
    font-family: 'Tenor Sans'
}
.accueil:hover{color: rgb(10, 31, 68);}
/*-----------------------------------fin page1------------------------------------*/

/*--------------------------------adresses pied------------------------------------*/
.footer-section {
    background-color: #2f1a19 !important;
    display: flex;
    justify-content: center;
    text-align: left;
    padding: 1px 0;
    flex-wrap: wrap;
}

.footer-section > div {
    margin: 10px ;
    padding: 50px;
    color: white;
   
}

.footer-section > div:last-child {
    border-right: none;
}

/*----------------------------------------footer------------------------------------*/
footer {
    background-color: rgb(10, 31, 68);
    color: white;
    text-align: center;
    padding: 10px 20px;
    
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0; 
    right: 0;
    
}

footer p {margin: 0; font-family: 'Tenor Sans'; font-size: 13pt;}

/*--------------------------------------fin footer------------------------------------*/