
/* ---------------- section hero header (bannière accueil + titres) sur la page d'accueil -------------- */
.hero-header{
    padding: 120px 80px 60px 80px;
    display:flex;
    align-items: start;
    position:relative;
    z-index:1;
    background-image:url('../../images/accueil.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

.hero-header-img{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(90deg,rgba(16, 89, 116, 0.3) 0%, rgba(232, 247, 252, 0.25) 51%, rgba(255, 255, 255, 0.25) 100%);
}

.hero-header-textes{
    width:50%;
    display:flex;
    flex-direction: column;
    justify-content: space-between;
    position:relative;
    z-index:2;
    gap:100px;
    & h1{
        color:var(--white);
        font-family:'DidotBold';
        font-size: 5rem;
        line-height: 1.1;
        width:100%;
        text-shadow: 1px 1px 7px #10597424;

    }
    & h2{
        font-family:'DidotItalic';
        font-size: 2rem;
        line-height: 1;
        color:var(--black);
    }
    & p{
        margin:20px 0;
        color:var(--black);
        width:100%;
        max-width:450px;
    }
}

.hero-header-titre{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-header-logo{
    width:50%;
    display:flex;
    justify-content: center;
    position:relative;
    left:60px;
    z-index:2;
    & img{
        width:100%;
        max-width:350px;
    }
}

.hero-header-cta button{
    padding:15px 40px;
    & a{
        font-size:1rem;
    }
}



/* ------------------------ responsive -------------------- */
@media screen and (max-width:1280px){
    .hero-header{
        padding: 100px 80px 60px 80px;
    }

    .hero-header-textes{
        gap:50px;
        width:60%;
        & h1{
            font-size:4.8rem;
        }
        & h2{
            font-size:1.8rem;
        }
    }

    .hero-header-logo{
        width:40%;
        & img{
            max-width:250px;
        }
    }
}

@media screen and (max-width:1024px){
    .hero-header{
        flex-direction: column;
        background-attachment: scroll;
        padding: 100px 80px 30px 80px;
    }
    .hero-header-textes{
        width:100%;
        align-items:center;
        & h1{
            text-align:center;
        }
        & h2{
            text-align:center;
        }
        & p{
            text-align:center;
        }
    }
    .hero-header-cta{
        display:flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-header-logo {
        width: 100%;
        padding-top:30px;
        left: 0;
        & img{
            max-width:150px;
        }
  }

  .hero-header-img {
    background: linear-gradient(180deg,rgba(16, 89, 116, 0.3) 0%, rgba(232, 247, 252, 0.35) 70%, rgba(255, 255, 255, 0.35) 100%);
}

nav ul ul{
    box-shadow: none;
}
}

@media screen and (max-width:768px){
    .hero-header{
        padding: 80px 50px 20px 50px;
    }

    .hero-header-textes {
    & h1 {
      font-size:3.5rem;
      text-shadow: 1px 1px 7px #1818182b;
    }
    & h2{
        font-size:1.4rem;
        text-shadow: 1px 1px 7px #ffffff36;
    }
    & p{
        font-size:0.9rem;
    }
  }

  .hero-header-cta button{
    padding: 12px 30px;
    & a{
        font-size:0.9rem;
    }
  }
}

@media screen and (max-width:480px){
    .hero-header{
        padding: 50px 30px 20px 30px;
    }

    .hero-header-titre{
        gap:10px;
    }

    .hero-header-textes {
    & h1 {
      font-size:2.5rem;
    }
    & h2{
        font-size:1.2rem;
    }
    & p{
        font-size:0.9rem;
    }
  }

  .hero-header-cta button{
    padding: 12px 30px;
    & a{
        font-size:0.9rem;
    }
  }

    .hero-header-logo {
    & img {
      max-width: 120px;
    }
  }
}
