* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

body {
  font-family:"Elms Sans", sans-serif;
  ;
  /* font-optical-sizing: auto; */
  /* font-weight: weight;
  font-style: normal; */
  /* background: #b8b2b2; */
  
  
background-image: linear-gradient(195deg, transparent 0%, transparent 35%,rgba(0,0,0,0.02) 35%, rgba(0,0,0,0.02) 88%,transparent 88%, transparent 100%),radial-gradient(circle at 59% 11%, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.01) 2%,transparent 2%, transparent 100%),radial-gradient(circle at 80% 89%, rgba(0,0,0,0.01) 0%, rgba(0,0,0,0.01) 2%,transparent 2%, transparent 100%),radial-gradient(circle at 68% 7%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.03) 2%,transparent 2%, transparent 100%),radial-gradient(circle at 2% 85%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.03) 2%,transparent 2%, transparent 100%),radial-gradient(circle at 99% 21%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.03) 8%,transparent 8%, transparent 100%),radial-gradient(circle at 7% 79%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.03) 8%,transparent 8%, transparent 100%),radial-gradient(circle at 68% 39%, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.02) 8%,transparent 8%, transparent 100%),radial-gradient(circle at 63% 32%, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.02) 8%,transparent 8%, transparent 100%),radial-gradient(circle at 44% 24%, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.02) 8%,transparent 8%, transparent 100%),radial-gradient(circle at 79% 49%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.03) 5%,transparent 5%, transparent 100%),radial-gradient(circle at 93% 55%, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.02) 5%,transparent 5%, transparent 100%),radial-gradient(circle at 66% 50%, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0.03) 5%,transparent 5%, transparent 100%),linear-gradient(90deg, rgba(193,135,19, 0.01),rgba(48,60,128, 0.19));

  margin: 0;
}

/********************************NAVBAR************************************/
nav {
    background-color: #eaeae2af;
    border-bottom: 1px solid #181818;
    top: 0;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    position: fixed;
    height: 140px;
    width: 100%;
    align-items: center;
    z-index: 99;
}


/*********LOGO************/
.logo {
    width: 140px;
    margin: 10px;
    padding: 0;
}
/********MENU************/
/***MENU UL***/
.menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin-right: 20px;
}
.menu ul a {
    color: black;
    text-transform: uppercase;
    font-size: 1.1rem;
    font-weight: 600;
    transition: color 0.3s, filter 0.5s;
}
/* .menu ul:hover a:not(:hover) {
    filter: blur(1.6px);
    color: #303c80;
} */

.menu > ul:hover > li > a:not(:hover) {
    filter: blur(1px);
    color: #303c80;
}


/***MENU DROPDOWN****/
.menu .dropdown {
    position: relative;
}
.menu .dropdown ul {
    position: absolute;
    top: 30px;
    background-color:#eaeae2af;
    width: max-content;
    margin: 0;
    padding: 30px;
    border-radius: 7px;
    flex-direction: column;
    visibility: hidden;
    transform: translateY(-40px);
    transition: transform 1s, opacity 0.5s;
    opacity: 0;
}
.menu .dropdown.active > ul {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.menu .dropdown li a:hover {
    color: #c18713;
    font-weight: 900;
}
.menu .dropdown > a i {
    transition: transform 0.5s;
} 
.menu .dropdown.active > a i {
    transform: rotate(-180deg);
}

/*************BURGER***************/
.burger {
    display: none;
}

@media screen and (max-width: 915px) {
    nav {
        position: fixed;
        
    }
    .menu {
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        overflow: auto;
        width: 80%;
        background-color: #eaeae2ee;
        border-right: 1px solid #181818;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: left 0.5s;
    }
  
    .menu.active {
        left: 0;
    }
    .menu ul {
        flex-direction: column;
        gap: 25px;
        font-size: 0.5rem;
    }
    .menu .dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .menu .dropdown ul {
        display: none;
    }
    .menu .dropdown.active > ul {
        display: block;
        position: relative;
        padding: 20px;
        width: 100%;
        top: 0;
    }
    .menu .dropdown ul li {
        margin-bottom: 15px;
    }
    .burger {
        display: block;
        cursor: pointer;
        font-size: 1.5rem;
        margin: 10px;
    }
}

/******************************HEADER********************************/

.container {
    background-image: url(fichier/fond6.jpg);
    border-bottom: 1px solid #181818;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: relative;
    min-height: 750px;
    /* position:relative; */
}
.fond {
    /* padding-top: 200px; */
    text-align: center;
}

h1, h2 {
    color: rgba(6, 17, 48, 0.819);
}
h3, h4 {
color: #303c80;
}
h1 {
    font-size: 3.5em;
    font-weight: 700;
    /* font-style: italic; */
}
h2 {
    font-size: 2em;
    font-weight: 600;
    font-style: italic;
}
h1, h2 {
    text-align: center;
}
.tel {
    color: #303c80;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 2px solid #c18713;
    border-radius: 5px;
    transition: all 0.25s ease;
    
}
.tel:hover {
  background-color: #c18713;
  color: #303c80;
}
.tel-container {
  display: flex;
  justify-content: center;
  /* margin: 40px 0; */
}


.fond p {
    font-weight: 500;
    font-size: 1.2rem;
}
.ligne {
     line-break: auto;
}
.fond {
    padding-top: 170px;
    line-height: 2;
}
.contact {
    /* background: linear-gradient(#303c80, #c18713); */
     color: black;
    border-radius: 20px;
    border: 2px solid black;
    font-size: 1.3em;
    padding: 15px 20px;
}
.fond .lien-contact {
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact:hover {
    /* background: linear-gradient(#170f4b, #a1984a); */
    background: linear-gradient(#4a58a9, #ba913f);
    text-decoration: none;
    color:black;
}


.push-down-hero {
    display: none;
}

@media screen and (max-width: 1220px) {
    .fond .lien-contact {
        margin-top: 10px;
    }  
    .contact {
        font-size: 1rem;
        padding: 10px 15px;
    }  
    .fond {
        padding-top: 150px;
    }
}

@media screen and (max-width: 915px){
    h1 {
        font-size: 3rem;
    }
    h2, .tel {
        font-size: 1.8rem;
    }
    .fond {
        padding-top: 130px;
        line-height: 1.6;
    }
    .container {
        background-position: top center;
        min-height: 700px;
    }
    .push-down-hero {
        display: flex;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        /* background-color:#eaeae2af; */
        border: 1px solid black;
        position: absolute;
        /* bottom: 100; */
        margin-bottom: 50px;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 15px;
    }
    .push-down-hero img {
        width: 30px;
        pointer-events: none;
    }
}


@media screen and (max-width: 700px) {
  h1 {
        font-size: 2.5rem;
    }
    h2, .tel {
        font-size: 1.5rem;
    }
    .fond {
        padding-top: 130px;
        line-height: 1.8;
    }
    .push-down-hero {
        margin-bottom: 130px;
        
    }
     .container {
        /* background-position: top center; */
        min-height: 550px;
    }
    .fond p {
        font-size: 1rem;
    }

}
@media screen and (max-width: 487px) {
    h1 {
        font-size: 2rem;
    }
    h2, .tel {
        font-size: 1.2rem;
        padding-top: 10px;
    }
    .fond {
        padding-top: 150px;
    }
}
@media screen and (max-width: 389px){
    .push-down-hero {
        margin-bottom: 115px;
    }

}

/***************************MAIN***********************************/

h3 {
    font-size: 1.5em;
    padding: 15px;
    text-align: center;
}

.description-famille h4,
.description h4,
.description-commerce h4,
.description-immobilier h4
 {
    font-size: 1.2em;
    font-style: italic;
    text-decoration: underline;
}

main {
    padding: 0 200px 50px;
    /* background-image: repeating-linear-gradient(305deg, rgba(0,0,0,0.03) 0px, rgba(0,0,0,0.03) 2px,transparent 2px, transparent 4px),linear-gradient(215deg, rgba(48,60,128, 0.85),rgba(193,135,19, 0.61)); */
}

.negativ-container {
    transform: translateY(-100px);
    background-color:#eaeae2af;
    border-radius: 5px;
    padding: 40px 25px 112px;
    margin: auto;
    position: relative;
    box-shadow: 0 2px 4px rgba(17, 17, 17, 0.502);
}
.propos, .personnes, .civil, .immobilier, .commerce {
    max-width: 800px;
    margin: 20px auto;
    padding: 25px;
    min-height: 200px;
    display: flex;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(17, 17, 17, 0.502);
    background-color: #eaeae2c0;
    justify-content: space-between;
}
.propos {
    text-align: justify;
}
section ul {
    list-style-type: none;
}
.li li {
    line-height: 1.5;
}
.livres {
    border-radius: 5%;
    width: 50%;
    height: 450px;
    padding-top: 35px;
    object-fit: cover;
}
.famille {
    border-radius: 5%;
    width: 50%;
    /* padding: 25px; */
    /* padding-top: 20px; */
    margin-right: 5px;
}
.description-famille, .description-immobilier {
    padding: 30px 25px;
}
.contrats {
    border-radius: 8%;
    width: 50%;
    padding: 15px;
    margin-left: 5px;
}
.immo {
    border-radius: 5%;
    width: 50%;
    margin-right: 5px;
}
.business {
    border-radius: 8%;
    width: 355px;
    /* width: 50%; */
    height: 256px;
    /* height: auto; */
    padding: 15px;
    margin-right: 5px;
}
.famille:hover, .contrats:hover, .business:hover, .immo:hover {
    opacity: 0.5;
}
.description {
    display: flex;
    flex-direction: column;
    padding: 25px;
}
.plus {
    /* background-color: #b3a055f5; */
    font-weight: 400;
    color: #181818;
    /* color: #303c80; */
    border-radius: 10px;
    border: 1px solid black;
    align-items: center;
    font-size: 1em;
    padding: 8px 15px;
}

.plus:hover {
    opacity: 0.5;
}
@media screen and (max-width: 1260px) {
    main {
        padding: 0 100px 50px;
    }
}
@media screen and (max-width:1050) {
    main {
        padding: 0 60px 20px;
    }
}

@media screen and (max-width: 915px) {
    main {
        padding: 0 50px 20px;
    }
}
@media screen and (max-width: 750px) {
    main {
        padding: 0 30px 10px;
    }
    .negativ-container {
    padding: 20px 30px 40px;
    }
    .propos {
        max-width: 500px;
        flex-wrap: wrap;
    }
    .personnes, .civil, .commerce, .immobilier {
        max-width: 500px;
        flex-wrap: wrap;
    }
    .personnes .description-famille {
        order: 2;
    }
    .personnes img {
        order: 1;
    }
    .immobilier .description-immobilier {
        order: 2;
    }
    .immobilier img {
        order: 1;;
    }
    .propos img, .personnes img, .civil img, .immobilier img, .business img {
        width: 100%;
        padding: 25px;
    }
    .propos .description, .personnes .description-famille, .civil .description, .immobilier .description-immobilier {
        padding: 0 25px 25px;
        width: 100%;
    }
  

}
@media screen and (max-width: 701px) {
    .container {
        height: 600px;
    } 
    .push-down-hero {
        bottom: -200px;
    }
    main {
        padding: 0 15px 10px;
    }
    .negativ-container {
        transform: translateY(-60px);
    }
   
}

@media screen and (max-width: 389px) {
    .negativ-container {
        transform: translateY(-50px);
        padding: 10px 10px 10px;
    }
    .livres {
        width: 300px;
        height: 300px;
        margin: 10px;
        padding: 10px;
    }
}

/********************FOOTER****************************/

footer {
    padding: 55px 5px;
    font-size: 1rem;
    background-color:#eaeae25a;
    width: 100%;
    border-top: 1px solid #181818;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0 0 10px;
}
.bloc {
    width: 25%;
    margin: 0 10px;
}   
.categories h4, .coordonnees h4 {
    padding-bottom: 20px;
    font-size: 20px;
}
.logo-cabinet {
    padding-top: 40px;
}
.bloc .lien-contact {
    margin-top: 100px;
}
.bloc .lien-contact a {
    display: inline-block;
    max-width: 100%;
    box-sizing: border-box;
}
.categories p {
    width: auto;
    max-width: 100%;
    padding-left: 0;
    margin: 0;
    box-sizing: border-box;
}
.categories p {
    list-style-type: none;
    line-height: 1.5;
}
.categories a {
    color: black;
    line-height: 1.2;
}
.categories a:hover {
    text-decoration: underline;
}
.coordonnees {
    line-height: 1.5;
}

@media screen and (max-width: 1220px) {
    .footer {
        padding: 5px 5px;
    }
    .footer-container {
        /* width: 700px; */
        flex-wrap: wrap;
    }
    .bloc .lien-contact a {
        font-size: 1.3rem;
        padding: 15px 20px;
    }
    /* .logo-cabinet {
        margin-right: 60px;
    } */
    /* .coordonnees {
        margin-left: 60px;
    } */
    .bloc {
        width: 40%;
        margin: 0 0;
    }
    .bloc:nth-child(1),
    .bloc:nth-child(2) {
        margin-bottom: 30px;
    }
    .bloc:nth-child(2),
    .bloc:nth-child(4) {
        margin-left: 50px;
    }
   }

@media screen and (max-width: 720px) {
    .footer-container {
        /* width: 320px; */
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .categories p {
        line-height: 1.3;
    }
    .bloc {
        width: 100%;
        max-width: 300px;
        margin: 15px auto;
    }
    .bloc:nth-child(1),
    .bloc:nth-child(2) {
        margin-bottom: 10px;
    }
    /* .bloc:nth-child(1) {
        margin-top: 0;
    } */
    .logo-cabinet {
        display: none;
    }
    .categories, .coordonnees {
        font-size: 0.9rem;
        margin: 10;
        padding: 10;
    }
    .bloc .lien-contact {
        margin-top: -30px;
    }
}
@media screen and (max-width: 390px){
    .footer-container{
        margin: 0;
        padding: 0;
    }
    .categories, .coordonnees {
        font-size: 0.7rem;
    }
    /* .categories ul li {
        line-height: 2.5;
    } */
  
}
@media screen and (max-width: 370px) {
    h1 {
        font-size: 1.7rem;
    }
    h2 {
        font-size: 1rem;
    }
    .fond p {
        font-size: 0.8rem;
    }
    .push-down-hero {
        margin-bottom: 160px;
    }
    h3 {
        font-size: 1.3rem;
    }
    section p {
        font-size: 0.9rem;
    }
    .personnes h4, .civil h4, .commerce h4 {
        font-size: 1rem; 
        margin-bottom: 10px;
    }
    .categories p {
        font-size: 0.8rem;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start; 
        padding: 5px;
    }
    .bloc {
        width: 90% !important;
        margin: 5px 5px !important; 
    }
    .categories p, .bloc .lien-contact a {
        width: 90%;
        max-width: 90%;
        padding: 5px 0;
    }
}



/* * {
  outline: 1px solid red;
} */

