/* =====================================================
   PAGE ELEVAGE - STYLE COMPLET
   ===================================================== */


/* =====================================================
   ORDINATEUR
   ===================================================== */

.hero-elevage {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}


/* TITRE EN HAUT */

.hero-elevage .top-title {
    font-size: 32px;
    line-height: 1.2;
}


/* MENU */

.hero-elevage nav a {
    font-size: 18px;
}


/* CONTENU DU HERO */

.hero-content.elevage {
    position: absolute;
    left: 7%;
    bottom: 10%;
    width: 85%;
    box-sizing: border-box;
    text-align: left;
    padding: 0;
}


/* GRAND TITRE */

.hero-content.elevage h1 {
    font-size: 72px;
    line-height: 1.05;
    margin: 0 0 15px;
}


/* SOUS-TITRE */

.hero-content.elevage h2 {
    font-size: 48px;
    line-height: 1.15;
    margin: 0 0 18px;
}


/* PETIT TITRE */

.hero-content.elevage h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 0;
}


/* TEXTE */

.hero-content.elevage p {
    font-size: 18px;
    line-height: 1.7;
}


/* IMAGES */

.hero-content.elevage img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
    object-fit: cover;
}


/* VIDEOS */

.hero-content.elevage video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 25px auto;
}


/* BLOCS */

.hero-content.elevage > div {
    max-width: 100%;
    box-sizing: border-box;
}


/* SEPARATEUR */

.hero-content.elevage .separator {
    width: 70%;
    margin: 35px auto;
}


/* =====================================================
   IPHONE / MOBILE
   ===================================================== */

@media screen and (max-width: 768px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }


    /* HERO */

    .hero-elevage {
        position: relative;
        height: 760px;
        min-height: 760px;
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
    }


    /* MENU */

    .hero-elevage nav {
        width: 100%;
        padding: 15px 10px;
        box-sizing: border-box;
    }


    .hero-elevage nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }


    .hero-elevage nav li {
        margin: 0;
        padding: 0;
    }


    .hero-elevage nav a {
        font-size: 19px;
        line-height: 1.2;
        text-decoration: none;
    }


    /* TITRE DU HAUT */

    .hero-elevage .top-title {
        font-size: 21px;
        line-height: 1.2;
        text-align: center;
        margin: 0 auto 15px;
        padding: 0 10px;
        box-sizing: border-box;
    }


    /* CONTENU DU HERO */

    .hero-content.elevage {
        position: absolute;
        left: 0;
        bottom: 45px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        text-align: center;
    }


    /* GRAND TITRE */

    .hero-content.elevage h1 {
        font-size: 38px;
        line-height: 1.1;
        margin: 0 0 14px;
        word-break: normal;
    }


    /* SOUS-TITRE */

    .hero-content.elevage h2 {
        font-size: 27px;
        line-height: 1.2;
        margin: 0 0 14px;
    }


    /* PETIT TITRE */

    .hero-content.elevage h3 {
        font-size: 18px;
        line-height: 1.35;
        margin: 0;
    }


    /* TEXTE */

    .hero-content.elevage p {
        font-size: 16px;
        line-height: 1.6;
        margin: 0 auto 20px;
        padding: 0;
    }


    /* IMAGES */

    .hero-content.elevage img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px auto;
        object-fit: cover;
    }


    /* VIDEOS */

    .hero-content.elevage video {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 20px auto;
    }


    /* SEPARATEUR */

    .hero-content.elevage .separator {
        width: 70%;
        margin: 25px auto;
    }


    /* TITRE DE LA SECTION BEIGE */

    section.about h2 {
        font-size: 30px;
        line-height: 1.15;
        margin: 0;
        padding: 35px 20px 15px;
        box-sizing: border-box;
    }


    section.about p {
        font-size: 16px;
        line-height: 1.6;
        padding: 0 20px;
        box-sizing: border-box;
    }
}


/* =====================================================
   PETITS IPHONE
   ===================================================== */

@media screen and (max-width: 480px) {

    .hero-elevage {
        height: 760px;
        min-height: 760px;
    }


    .hero-elevage .top-title {
        font-size: 20px;
    }


    .hero-elevage nav a {
        font-size: 19px;
    }


    .hero-content.elevage {
        bottom: 40px;
        padding: 0 15px;
    }


    .hero-content.elevage h1 {
        font-size: 34px;
    }


    .hero-content.elevage h2 {
        font-size: 24px;
    }


    .hero-content.elevage h3 {
        font-size: 17px;
    }


    section.about h2 {
        font-size: 28px;
        padding-left: 15px;
        padding-right: 15px;
    }
}