:root{
    --rouge: #ff0000;
    --clair: #fff;
    --sombre: #343434;
    --noir: #191b17;
    --transition: all 0.5s ease-in-out;
}

.rouge {
    color: #ff0000;
}

  
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    word-spacing:0.1em;
}

html, body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
}

html{
    color: var(--noir);
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}


img{
    width: 100%;
}
a{
    text-decoration: none;
    color: var(--noir);
}
li{
    list-style-type: none;
}
/* button{
    cursor: pointer;
    outline: 0;
    background: transparent;
}  */
.container{
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 1rem;
}
h1, h2, h3, h4, h5, h6{
    line-height: 1.25;
    font-weight: 400;
}

i {
    color: #ff0000;
}

.text{
   
    opacity: 0.8;
}
.center{
    display: flex;
    justify-content: center;
    align-items: center;
}
section{
    padding: 3rem 0;
}
.title{
    padding: 0.6rem 0;
    text-align: center;
}
.title h2{
    font-size: 2.2rem;
    color: var(--sombre);
}
.title .text{
    font-weight: 500;
    font-size: 1.1rem;
}
nav a {
    text-shadow: 1px 1px 1px rgba(255, 123, 0, 0.34);
}

nav img {
    height: 2rem;
    width: auto;
}

video#bgvideo {
    object-fit: cover;
    width: 100vw;
    height: auto;
    z-index: -1;
    position: absolute;
    height: 100vh;
    top: 0;
    left: 0;
  }

/* header */
.header{
    min-height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    color: #fff;
    display: flex;
    flex-direction: row;

}
.navbar{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.65)!important;
    z-index: 999;
}
.brand-and-toggler{
    font-size: 1.65rem;
    padding: 0.8rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.navbar-brand{
    font-weight: 700;
    color: var(--rouge)!important;
}
.navbar-brand span{
    color: #fff;
}


.navbar-toggler{
   position: relative;
   z-index: 1000;
   font-size: 1.8rem;
     color: var(--rouge);
  width: 2.5rem;            /* espace pour le pseudo-élément */
  height: 2.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}




.navbar-nav{
    margin: 0.2rem 0 0.6rem 0;
    color: #fff;
}
.nav-item{
    padding: 0.6rem 0;
}
.nav-link{
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    font-weight: 400;
      opacity: 0.85;
    transition: color var(--transition), opacity var(--transition);
    color: #fff;
}
.nav-link:hover{
    opacity: 1;
  color: var(--rouge) !important;
}
.navbar-collapse {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.navbar-collapse.show {
  display: block;
  opacity: 1;
}

#herodivrow {
    width: 100%;
    display: flex;
    align-items: center;
}
.hero-div{
    /* flex: 1; */
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    gap: 20px;
    justify-content: space-around;
}
.hero-div h1{
    font-size: 2.55rem;
    padding-bottom: 0.4rem;
    color: var(--rouge);
    text-shadow: #ff0000 1px 1px 2px; 
}

.hero-div h1, h2, h3 strong{
    color: #ff0000;
    text-decoration: none;
}


/* .hero-div .promo {
    color: #ff0000;
    padding-bottom: 0;
} */

.hero-div h2 {
    font-size: 5em;
}

.hero-div p{
    color: var(--clair);
    font-size: 1.05rem;
    letter-spacing: 3px;
}

.carousel-card {
    border-radius: 25px;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-div p em {
    font-size: 0.8em;
}


.hero-btns{
    margin-top: 1rem;
}
.hero-btns button{
    border: 3.5px solid #ff0000;
    color: #ff0000;
    border-radius: 2rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
}

.hero-btns button p {
    color: #ff0000;
}

.hero-btns button:hover{
    border: 3.5px solid #fff;
    border-color: #fff;
    color: #ff0000;
}


.btn-white{
    background: #fff;
    color: var(--rouge);
    transition: var(--transition);
}
.btn-white:hover{
    background: var(--rouge);
    border-color: var(--rouge);
    color: #fff;
}

.btn-white a:hover{
    color: #fff;
}




/* intro */
.intro {
    background-image: linear-gradient(rgba(220, 220, 220, 0.938), rgba(255, 255, 255, 0.915)), url(../img/poele-a-bois.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #000000;

}
.intro a{
    font-size: 2.2rem;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--noir);
    padding-left: 7px;
    margin: 0 auto;
}
.intro h2 {
    font-size: 2rem;
    color: var(--noir);
    padding: 1.2rem 0;
}

.intro h2 span{
    font-style: italic;
    color: var(--rouge);
}
.intro p {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: var(--noir);
    opacity: 1;
}

.intro strong {
    color: var(--rouge);
}


/* intro2 */
.intro2 {
    background-image: linear-gradient(rgba(45, 45, 45, 0.938), rgba(121, 121, 121, 0.915)), url(../img/poele-a-bois.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #000000;

}
.intro2 a{
    font-size: 2.2rem;
    color: #fff;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--clair);
    padding-left: 7px;
    margin: 0 auto;
}
.intro2 h2 {
    font-size: 2rem;
    color: var(--clair);
    padding: 1.2rem 0;
}

.intro2 h2 span{
    font-style: italic;
    color: var(--rouge);
}
.intro2 p {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    color: var(--clair);
    opacity: 1;
}

.intro2 strong {
    color: var(--rouge);
}


/* prestation */
.prestation .title{
    text-align: center;
}

.prestation h2 {
    color: var(--rouge);
}

.prestation-left {
    display: flex;
    justify-content: center;
}

.prestation-left img{
    width: 80%;
    margin: 0 auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prestation-right{
    margin-top: 4rem;
}
.prestation-item{
    margin: 1.4rem 0;
    display: flex;
    box-shadow: 0.5px 0.5px 0.5px 0.5px rgba(0, 0, 7, 0.2);
}
.prestation-item:hover{
    margin: 1.4rem 0;
    display: flex;
    transition: var(--transition);
    transform: scale(1.05);
}

.prestation-item h3:first-of-type:hover{
    color: var(--rouge);
}

.prestation-item div h3{
    margin-top: 0;
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.85;
}
.prestation-item span{
    font-size: 1.1rem;
    color: #fff;
    background: var(--rouge);
    align-self: flex-start;
    padding: 0.4rem 0.7rem;
    border-radius: 2px;
    margin-right: 1.4rem;
}

.prestation.agences-immobilier {
  position: relative;     
  overflow: hidden;
  background-image: 
    linear-gradient(
      rgba(45, 45, 45, 0.938),
      rgba(121, 121, 121, 0.915)
    ),
    url('../img/poele-a-bois.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  position: relative;  
}


.prestation.agences-immobilier > .container {
  position: relative;
  z-index: 1;
}

.prestation.agences-immobilier i,
.prestation.agences-immobilier .title .text,
.prestation.agences-immobilier .intro-text,
.prestation.agences-immobilier .pack-price span {
  color: #fff;
}

.prestation.agences-immobilier .prestation-item {
  background-color: rgba(71, 69, 69, 0.85); 
}

.prestation.agences-immobilier .prestation-item .text {
  opacity: 0.85; 
}



.prestation.agences-immobilier .prestation-item {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;  
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.prestation.agences-immobilier .prestation-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}







/* tarifs */

.prixbarre {
    text-decoration: line-through;
}

.tarifs{
    background: var(--clair);
    background-image: linear-gradient(rgb(202, 202, 202), rgba(239, 239, 239, 0.839)), url(../img/ramoneur.webp);
    /* background-image: url('../img/ramonage-toit.jpg'); */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}
.tarifs .title{
    padding-bottom: 2rem;
}

.tarifs h2 {
    color: #ff0000;
}

.tarifs-item{
    background: #fff;
    text-align: center;
    box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    -webkit-box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    -moz-box-shadow: 0 1px 2px 0 rgba(90, 91, 95, 0.1);
    margin: 2rem 0;
    padding: 3.5rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
}
.tarifs-item:hover{
    -webkit-box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    -moz-box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    box-shadow: 0 21px 19px -2px rgba(217, 217, 217, 1);
    transform: translateY(-5px);
}
.tarifs-item span{
    font-size: 2.6rem;
    letter-spacing: 2px;
    color: var(--rouge);
}
.tarifs-item h2{
    font-size: 1.4rem;
    opacity: 0.8;
    font-weight: 300;
}
.line{
    width: 45px;
    margin: 1.2rem auto;
    background: var(--rouge);
    height: 2.5px;
}

.tarifs img{
    width: 5rem;
    height: auto;
    align-self: center;
}


.tarifs .certificat {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.tarifs .certificat img {
    padding-top: 2rem;
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 0.5rem rgb(255, 255, 255));
}


/* apropos */
.apropos{
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)), url(../img/ramoneur.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: #fff;
}

.apropos h2{
    font-size: 2rem;
    color: var(--rouge);
    padding: 1.5rem 0;
}
.apropos p{
    font-size: 1rem;
    color: var(--clair);
    opacity: 1;
}

.apropos strong{
    font-size: 1rem;
    color: var(--rouge);
}

.apropos strong{
    font-size: 1.5rem;
    color: var(--rouge);
}






/* secteur */
.secteur{
    background-image: linear-gradient(rgba(2, 0, 0, 0.742), rgba(255, 0, 0, 0.9)), url(../img/ramoneur.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
}
.secteur .title h2, .secteur .title {
    color: #fff;
    font-size: 2rem;
    padding: 1.5rem 0;
}

.secteur a {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    padding: 1.5rem 0;
}


.secteur .row{
    margin-top: 2rem;
}
.secteur-img{
    border: 1px solid #fff;
    width: 80%;
    max-width: 600px;
    height: auto;
    border-radius: 10%;
    padding: 0.5rem;
}




/* contact */


.contact .title a {
    color: #ff0000;
}

.contact .title h2 a:hover {
    transition: transform .5s ease;
    transform: scale(1.05);
}

.contact .row{
    margin-top: 2rem;
    align-content: center;
    
}
.contact .row > div{
    margin: 2rem 0;
    

}
.contact .row > div h2{
    font-size: 1.4rem;
    font-weight: 300;
    opacity: 0.9;

}



.contact-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    background-color: rgba(127, 127, 127, 0.05);
    text-align: center;
}

.contact-right h2 {
    color: #ff0000;
    padding: 1rem;
}

.contact-right div{
    margin: 2rem 0;
}

.contact-right p {
    padding: 2rem;
}




/* footer */


.footer{
    text-align: center;
    background: var(--noir);
    color: var(--clair);
    padding: 2rem 0;
}
.footer .text{
    opacity: 0.8;
}

 #dr {
    color: #FFADAD;
}

.footer a {
    text-align: center;
    color: var(--clair);
}





/* #### Media Queries #### */

@media screen and (min-width: 768px){
    .nav-link a{
        text-decoration: none;
        color: var(--clair);
    }
    .btn-white a {
        color: #ff0000;
        letter-spacing: 1rem;
    }
    .nav-link a:hover{
        color: #ff0000;
        letter-spacing: .4rem;
    }
    .tarifs .row{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    .tarifs-item{
        margin: 0;
    }
    .intro h2{
        font-size: 2.6rem;
    }
    .intro p{
        font-size: 1.2rem;
        width: 75%;
        margin: 0 auto;
    }
    .apropos h2{
        font-size: 2.6rem;
    }
    .apropos p{
        font-size: 1.2rem;
        width: 75%;
        margin: 0;
    }
    .secteur-item p{
        width: 75%;
        margin-left: auto;
        margin-right: auto;
    }
    .contact .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
    .contact-right > div:first-child{
        margin-top: 1rem;
    }
}


@media screen and (min-width: 992px){
    .navbar{
        background: transparent;
    }
    .navbar .container{
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .navbar-brand{
        color: var(--clair);
        font-size: 2rem;
    }
    .navbar-toggler{
        display: none;
    }
    .navbar-collapse{
        display:flex !important;
        opacity: 1 !important;
    }


    .navbar-nav{
        display: flex;
        margin: 0;
    }
    .nav-item{
        margin-left: 1.8rem;
        color: #fff;
    }
    .nav-link{
        color: var(--clair);
    }

    .nav-link a:hover{
        color: #ff0000;
    }
    .hero-div h1{
        font-size: 3rem;
    }

    
    .btn-white{
        display: inline-block;
        min-height: 44px;
        min-width: 44px;
        margin: 10px;
    }



    /* navbar resp */
    .respnavbar{
        -webkit-box-shadow: 0 2px 5px 0 rgba(207, 205, 207, 0.3);
        -moz-box-shadow: 0 2px 5px 0 rgba(207, 205, 207, 0.3);
        box-shadow: 0 2px 5px 0 rgba(207, 205, 207, 0.3);
        margin-top: 0;
        background: black;
    }
    .respnavbar .navbar-brand{
        color: var(--rouge);
    }


    .intro p{
        width: 80%;
    }

    .prestation .row{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
        column-gap: 2rem;
    }
    .prestation-right{
        margin-top: 0;
    }
    .apropos p{
        width: 80%;
    }
}



/* Section Toiture */
.toiture-img {
    display: block;
    width: 100%;
    max-width: 60%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 16 / 9;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transition: box-shadow .25s ease;
    border-radius: 8px;
}

@media screen and (max-width: 767px){
    .toiture-img{
        max-width: 90%;
    }
}

.toiture-img:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

/* Lien vers Dessemberg Toiture */
.toiture-link {
    color: var(--rouge);
    text-decoration-color: var(--rouge);
    text-decoration-thickness: 1px;
    transition: color .25s ease, text-underline-offset .25s ease, text-decoration-color .25s ease, text-decoration-thickness .25s ease;
}
.toiture-link:visited,
.toiture-link:hover,
.toiture-link:active {
    color: var(--rouge);
}

/* Soulignement au survol */
.toiture-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}
