html,
body {
    margin: 0;
    padding: 0;
    font-size: 16px;
    box-sizing: border-box;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

@font-face {
    font-family: 'AvenirLTStd-Roman';
    src: url('../fonts/AvenirLTStd-Roman.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AvenirLTStd-Black';
    src: url('../fonts/AvenirLTStd-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'PPFragment-SerifRegular';
    src: url('../fonts/PPFragment-SerifRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'AvenirLTStd-Roman', sans-serif;
}

header, #banner{
    text-align: center;
}

header,
#banner {
    width: 100%;
}

#banner{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
#banner #hero {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 0;
}

#agora {
    position: absolute;
    top: 5%;
    left: 5%;
    right: 5%;
    width: auto;
    text-align: left;
    z-index: 1;
}
#agora img {
    width: clamp(180px, 30vw, 220px);
    max-width: 100%;
    height: auto;
}
#agora p {
    margin: 4px 0;
    color: rgba(103, 103, 103, 1);
    font-size: clamp(12px, 1.6vw, 18px);
}

.text {
    position: absolute;
    top: 150px;
    left: 5%;
    width: 100%;
    /* text-align: center; */
    color: black;
    font-size: clamp(21px, 3.5vw, 26px);
    line-height: 1.1;
    z-index: 1;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'AvenirLTStd-Black';
}
.text p {
    margin: 0;
    text-align: left;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
    /* font-family: 'PPFragment-SerifRegular', serif; */
}

.btn-presentation {
    position: absolute;
    z-index: 1;
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-size: clamp(12px, 1.6vw, 15px);
    letter-spacing: 0.5px;
    padding: 12px 24px;
    border: none;
    border-radius: 0;
    transition: background 0.2s ease;
}
.btn-presentation:hover {
    background: rgba(232, 100, 48, 1);
}

#content {
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    padding: 20px 16px;
    color: black;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: clamp(15px, 2.2vw, 20px);
}
#content a{
    color: black;
    text-decoration: none;
    word-break: break-word;
}

/* ---------- Footer ---------- */

footer {
    padding: 50px 0 30px;
    /* border-top: 1px solid rgba(103, 103, 103, 0.3); */
    font-size: 14px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 80px;
    flex-wrap: wrap;
    padding: 0 5%;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}

/* La colonne brand prend tout l'espace disponible,
   les colonnes Contact et Eyquem Fund se calent à droite sur leur contenu */
.footer-brand {
    flex: 1 1 auto;
}

.footer-contact,
.footer-address {
    flex: 0 0 auto;
    min-width: 200px;
}

/* Aligne le contenu des colonnes Contact et Eyquem Fund sur le bas de la colonne brand */
.footer-contact,
.footer-address {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Aligne les colonnes Contact et Eyquem Fund à droite (bord du texte légal),
   mais le contenu (titres et texte) reste aligné à gauche à l'intérieur */
.footer-contact,
.footer-address {
    align-items: flex-end;
    text-align: left;
}

.footer-contact h3,
.footer-contact p,
.footer-address h3,
.footer-address p {
    align-self: stretch;
    text-align: left;
}

.footer-logo {
    width: clamp(120px, 15vw, 180px);
    height: auto;
    margin-bottom: 20px;
}

.footer-brand h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-brand p {
    margin: 0;
    color: rgba(103, 103, 103, 1);
    font-size: 13px;
}

.footer-brand .dot {
    color: rgba(232, 100, 48, 1);
}

.footer-col h3 {
    margin: 0 0 16px;
    font-size: 15px;
    font-weight: 500;
    color: black;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'PPFragment-SerifRegular', serif;
}

.footer-col p,
.footer-col a {
    margin: 0;
    color: rgba(171, 171, 171, 1);
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.5;
}
.footer-col p.text-normal {
    text-transform: none;
    font-size: 12px;
}

.footer-legal {
    margin-top: 40px;
    padding: 20px 5% 0;
    border-top: 1px solid rgba(103, 103, 103, 0.3);
    text-align: center;
}

.footer-legal p {
    margin: 0;
    color: rgba(171, 171, 171, 1);
    font-size: 11px;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */

/* Tablettes */
@media (max-width: 992px) {
    .text {
        bottom: 16px;
    }

    .footer-top {
        gap: 30px;
    }
}

/* Mobiles */
@media (max-width: 768px) {
    #banner #hero {
        height: 60vh;
        object-fit: cover;
    }

    #agora {
        top: 4%;
    }

    .text {
        bottom: 12px;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    #banner #hero {
        height: 70vh;
    }

    #agora img {
        width: clamp(150px, 50vw, 220px);
    }

    .text {
        bottom: 8px;
    }

    footer {
        padding: 30px 0 20px;
    }

    .footer-logo {
        margin-bottom: 24px;
    }
}