/* RESET */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover; /* colle aux bords */
    z-index: 1;
}
.header-container {
    position: relative;
    z-index: 2;
}

.hr-centered {
  height: 3px;
  background-color: #e9730c !important; /* force la couleur */
  width: 181px;
  margin: 1rem auto;
  border-radius: 2px;
  border: none;
  opacity: 1; /* s'assure que c'est opaque */
}

/* HEADER */
.header-hero {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* IMAGE DE FOND */
.header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* CONTENEUR CENTRAL */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* LOGO */
.logo {
    height: 75px;
}

/* NAV LINKS */
.nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 17px;
    text-transform: uppercase;
}

.nav-link:hover {
    text-decoration: underline;
}

/* RESET TOTAL NAVBAR ACCUEIL */
.navbar-home {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

/* Bootstrap injecte parfois un bg via .navbar */
.navbar-home.navbar {
    background: none !important;
    background-color: transparent !important;
}

/* Liens blancs */
.navbar-home .nav-link {
    color: #fff !important;
    font-weight: 500;
}

/* Hover */
.navbar-home .nav-link:hover {
color: #fff !important;
  background-color: #9d2020;
  text-decoration: none;
}

/* Burger blanc */
.navbar-home .navbar-toggler {
    border-color: #fff;
}
.navbar-home .navbar-toggler-icon {
    filter: invert(1);
}



/* BURGER ICON */
.navbar-toggler {
    border: none;
    outline: none;
}

/* Burger visible en blanc */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}


/* CENTRER LES LIENS POUR DESKTOP */
@media(min-width: 992px) {
    .navbar-nav {
        gap: 39px;
        margin-top: 78px;
        margin-right: 51px;
    }

    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        margin-top: -88px;
    }
}



/* Conteneur overlay des cartes */
.header-cards {
  position: absolute;
  top: 223%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 5;
}



/* Carte individuelle */
.card-item {
  background-color: rgba(255, 255, 255, 0.7);
  color: #000;
  padding: 25px 40px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transition: transform 0.3s, background-color 0.3s;
  width: 180px;        /* largeur fixe */
height: 150px;
}

.card-item a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  text-align: center;
  justify-content: center;
  display: flex;
  font-weight: normal;
}

.card-item:hover {
    background-color: rgba(0,0,0,0.85);
    transform: translateY(-5px);
}


.single-card {
    width: 150px;        /* même largeur et hauteur */
    height: 150px;
}

/* Icône Font Awesome */
.card-item i {
  font-size: 36px;
  color: #cb3333;
  margin-top: 20px;
}
.card-item:hover {
  background-color: white;
  transform: translateY(-9px);
}
/* Responsive */
@media (max-width: 768px) {
    .cards-row {
        flex-direction: column;
    }
    .card-item {
        width: 80%;
        padding: 20px 0;
    }
}


/*Barre de recherche*/
.search-bar .card {
    border-radius: 15px;
}

.btn-check:checked + .btn {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.form-label {
    font-weight: 600;
    font-size: 14px;
}

.header-hero {
    position: relative;
    height: 100vh; /* TOUT L'ÉCRAN */
}
.header-search {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 3;
}
/* Conteneur de la barre */
.header-search .card {
    background-color: #fff0; /* fond blanc du bloc */
    border-radius: 0;       /* coins droits */
    border: 0px solid #ddd; /* léger contour */
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* optionnel : ombre légère */
}


/* Champs input / select */
.header-search .form-control,
.header-search .form-select {
    background-color: #fff; /* fond blanc */
    color: #000;            /* texte noir */
    border-radius: 0;       /* coins droits */
    border: 1px solid #ccc; /* contour gris */
}

/* Placeholder en gris clair */
.header-search .form-control::placeholder,
.header-search .form-select::placeholder {
    color: #888;
}

/* Bouton de recherche */
.header-search .btn {
    background-color: #7a1613; /* rouge bootstrap danger */
    color: #fff;
    border-radius: 0;          /* coins droits */
    border: none;
}

/* Hover bouton */
.header-search .btn:hover {
    background-color: #c9302c;
}
.header-search .form-control[type="number"] {
    color: #000;                /* texte noir */
}

/* Pour s’assurer que le placeholder est également noir/gris foncé */
.header-search .form-control[type="number"]::placeholder {
    color: #000000; /* gris foncé pour placeholder */
    opacity: 1;  /* certains navigateurs utilisent une opacité faible par défaut */
}

/*Video + text */

.video-text-section.py-5 {
  background-color: #333;
  color: white;
}

.btnsavoir {
    display: block;          /* permet de centrer le bouton */
    margin: 0 auto;          /* centre horizontalement */
    width: 24%;              /* largeur du bouton */
    padding: 10px 20px;      /* ajuste la hauteur et le padding */
    text-align: center;
    color: #fff;             /* texte blanc */
    background-color: #982727; /* couleur de fond */
    border: none;
    border-radius: 5px;      /* coins arrondis */
    text-decoration: none;   /* supprime le soulignement */
    font-weight: bold;
    transition: background-color 0.3s;
}

.btnsavoir:hover {
    background-color: #b33333; /* couleur au survol */
}










/* Section Nos services */


/* HR sous le titre */
.hr-services {
    width: 80px;
    height: 4px;
    background-color: #fff;
    border: none;
    margin: 0 auto;
}

/* Carrés services */
.service-box {
    background-color: #982727;
    border: 2px solid #fff;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

/* Titre */
.service-box h3 {
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

/* HR dans les carrés */
.service-hr {
  width: 76px;
  height: 2px;
  background-color: #fff;
  border: none;
  opacity: 1;
}

/* Effet hover */
.service-box:hover {
    background-color: #7c1f1f;
    transform: translateY(-5px);
}


                                            /*--------- PRESENTATION DE LENTREPRISE ----------*/


.presentation-section.py-5 {
  background-color: #333;
  color: white;
}

.presentation img {
    max-width: 80%;
    height: auto;
    border-radius: 10px;
    margin-left: 10%;
}

.presentation h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.presentation p {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #555;
}

.presentation .btn .contact-agency {
    background:transparent;
    color:black;
    border:2px solid black;
    padding:10px 20px;
    text-decoration:none;
    font-weight:bold;
    border-radius:5px;
    transition:background-color .3s ease , color .3s ease;
    margin-left:20px
  }

.presentation .btn:hover {
    background-color: #333;
}


                                    /*------ ICONE RESEAUX SOCIAUX ------*/
.social-icons {
    position: fixed;
    top: 50%; 
    left: 10px; 
    transform: translateY(-50%); 
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    z-index: 1000; 
}

/* Style des bulles */
.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #000; 
    border-radius: 50%; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
    transition: transform 0.3s ease, background-color 0.3s ease; 
}

/* Logo des reseaux */
.social-icon img {
    width: 24px; 
    height: 24px;
    filter: invert(1); 
}

/* Animation au survol */
.social-icon:hover {
    transform: scale(1.1); 
    background-color: #333; 
}

                                                           /* Section de contact */
.contact-agency {
    background-color: #000000; /* Fond noir */
    color: #fff; /* Texte blanc */
    padding: 40px 0;
    margin: 5% ;
    padding: 5%;
    
}

.contact-agency h2 {
    color: white; /* Titre en blanc */
    margin-bottom: 30px;
}

.contact-agency .contact-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.contact-agency .contact-info {
    width: 40%; /* Prend 40% de la largeur */
    text-align: left; /* Alignement gauche */
}

.contact-agency .contact-info h4,
.contact-agency .contact-info p {
    margin: 10px 0;
    color: white;
}

.contact-agency .contact-form {
    width: 55%; /* Prend 55% de la largeur */
}

.contact-agency .contact-form h4 {
    margin-bottom: 20px;
    color: white;
}

/* Champs côte à côte */
.contact-agency .inline-fields {
    display: flex;
    gap: 15px; /* Espacement entre les champs */
    margin-bottom: 15px;
}

.contact-agency .inline-fields .form-group {
    flex: 1; /* Les champs prennent une largeur égale */
    position: relative;
}

/* Champs de saisie */
.contact-agency .contact-form input,
.contact-agency .contact-form textarea {
    background-color: transparent;
    color: white;
    border: none;
    border-bottom: 2px solid white; /* Ligne blanche */
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
}

/* Effet focus sur les champs */
.contact-agency .contact-form input:focus,
.contact-agency .contact-form textarea:focus {
    outline: none;
    border-bottom-color: #aaa; /* Ligne gris clair au focus */
}

/* Labels */
.contact-agency .contact-form label {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 12px;
    color: white;
    transition: 0.3s;
}


/* Bouton Envoyer */
.contact-agency .btn-primary {
    background:transparent;
    color:black;
    border:2px solid black;
    padding:10px 20px;
    text-decoration:none;
    font-weight:bold;
    border-radius:5px;
    transition:background-color .3s ease , color .3s ease;
    margin-left:20px
}

.contact-agency .btn-primary {
    background-color: white;
    color: black;
}


.contact-agency .btn-primary:hover {
    background-color: #555;
    border-color: #555;
}

.contact-description {
    font-size: 90%;
    color: #fff;
    margin-bottom: 1.5rem;
    margin-left: 4%;
}


.contact-info {
    color: #ffffff; 
}

.contact-item {
    display: flex; 
    align-items: center;
    margin-bottom: 15px; 
}

.contact-icon {
    margin-right: 10px; 
    font-size: 20px; 
    color: #fff; 
}

.contact-item p {
    margin: 0; 
}


                                                            /*  AVIS CLIENT */
/* Section globale */
.client-reviews {
    background-color: #605645; /* Fond foncé élégant */
    color: #fff;
    padding: 50px 20px;
    border-radius: 10px;
}

/* Titres */
.client-reviews h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.client-reviews p {
    color: #ccc;
}

                                                    /* Carrousel */
.carousel-inner {
    min-height: 200px; 
}

.carousel-item {
    display: none; 
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1; 
}

/* Images */
.carousel-item img {
    border: 2px solid #fff;
    padding: 5px;
}

/* Texte */
.blockquote {
    color: #fff;
    font-style: italic;
    margin-bottom: 10px;
}

.blockquote-footer {
    color: #ddd;
}

/* Indicateurs */
.carousel-indicators {
    margin-top: 20px;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    background-color: #fff;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.carousel-indicators button.active {
    opacity: 1;
    background-color: #007bff; /* Couleur d'accent */
}

/* Espacement pour les textes et indicateurs */
.carousel-inner .carousel-item {
    padding: 20px 0;
}

/* Titre avec lignes horizontales */
.title-with-lines {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.title-with-lines h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ba8610;
    margin: 0 10px;
}

.title-with-lines .line-left,
.title-with-lines .line-right {
    flex: 1;
    border-top: 2px solid #fff;
    margin: 0 10px;
}


/* Footer */
.site-footer {
    background-color: #222; /* Fond gris foncé */
    color: #fff; /* Texte blanc */
    padding: 40px 20px;
    font-size: 0.9rem;
}

.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-footer .footer-content {
    display: flex;
    flex-wrap: wrap; 
    justify-content: space-between;
    gap: 20px;
}

.site-footer .footer-section {
    flex: 1;
    min-width: 200px;
}

.site-footer h4 {
  font-size: 1.7rem;
  margin-bottom: 15px;
  color: #fff;
  font-weight: bold;
  text-shadow: 5px 0px 1px black;
}

.site-footer p,
.site-footer ul {
    margin: 0;
    line-height: 1.5;
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer ul li {
    margin-bottom: 10px;
}

.site-footer ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
}

.site-footer ul li a:hover {
    color: #bb9058; /* Doré au survol */
}

.site-footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.8rem;
    border-top: 1px solid #555;
    padding-top: 10px;
}

.site-footer .footer-bottom p {
    margin: 0;
    color: #aaa;
}

/* Icônes */
.site-footer i {
    margin-right: 10px;
    color: #ffffff; /* Couleur dorée pour les icônes */
}



/* RESPONSIVE DESIGN POUR MOBILE */
@media (max-width: 768px) {
    header {
        flex-direction: column; /* Empile les éléments sur mobile */
        text-align: center;
    }

    header .logo img {
        max-height: 120px;
    }

    header nav ul {
        flex-direction: column; /* Le menu devient une colonne */
        gap: 15px;
    }

    footer .footer-content {
        padding: 15px;
    }

    footer nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

.estimation-logo {
    width: 15%;
}
