/* ==========================================================
   ACCUEIL - TABLETTE 768px à 991.98px
   ========================================================== */

@media screen and (min-width: 768px) and (max-width: 991.98px) {
    /* ---- PRESENTATION ---- */

    .presentation {
        position: relative;
        width: 100%;
        max-width: 100%;
    }

    .presentation__row {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        --bs-gutter-x: 0;
        align-items: stretch;
    }

    .presentation__content {
        position: relative;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        padding-right: clamp(32px, 6vw, 60px);
        padding-left: clamp(32px, 6vw, 60px);
    }

    .presentation__intro {
        width: 100%;
        max-width: 720px;
        margin-top: 0;
        margin-bottom: 2.5rem;
        font-size: clamp(18px, 2.3vw, 21px) !important;
        line-height: 1.5;
        overflow-wrap: break-word;
    }

    .presentation__texte-fort {
        width: 100%;
        max-width: 720px;
        font-size: clamp(32px, 4.5vw, 38px) !important;
        line-height: 1.2 !important;
        overflow-wrap: normal;
        word-break: normal;
    }

    .presentation__visual {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
        margin-top: 2.5rem;
        padding-right: clamp(32px, 6vw, 60px);
        padding-left: clamp(32px, 6vw, 60px);
        overflow: visible;
    }

    .presentation__picture {
        position: relative;
        display: block;
        flex-shrink: 1;
        width: min(560px, 100%);
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
        overflow: visible;
    }

    .presentation__picture img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* ---- CLIM ATOUTS ---- */

    .clim-atouts {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .clim-atouts__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 35px;
    }

    .clim-atouts__item {
        justify-content: flex-start;
        width: min(320px, 100%);
        margin-right: auto;
        margin-left: auto;
        gap: 22px;
    }

    .clim-atouts__icon {
        width: 46px;
    }

    .clim-atouts__text {
        font-size: clamp(26px, 4vw, 34px) !important;
    }

    .clim-atouts__background {
        display: none !important;
    }


    /* ---- CLIMATISATION / BLOCS IMAGE-TEXTE ---- */

    .climatisation {
        background-position: left center;
    }

    .climatisation__content {
        padding: 60px clamp(40px, 7vw, 70px);
    }

    .climatisation__title {
        font-size: clamp(30px, 4vw, 38px);
    }

    .climatisation__content p {
        max-width: 100%;
        font-size: clamp(17px, 2.3vw, 20px);
    }

    .climatisation__right {
        min-height: 0;
    }

    .climatisation__picture {
        position: relative;
        inset: auto;
        width: 100%;
        height: auto;
    }

    .climatisation__picture img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }


    /* ---- AUTRES PRODUITS ---- */

    .autres-produits {
        padding: 50px 0 65px;
    }

    .autres-produits__grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 25px;
    }

    .autres-produits__logo {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 170px;
        margin: 0 auto;
    }

    .produit--poele {
        grid-column: 1;
        grid-row: 2;
    }

    .produit--brasero {
        grid-column: 2;
        grid-row: 2;
    }

    .produit {
        flex-direction: column;
        gap: 20px;
    }

    .produit__contenu {
        flex: none;
        width: min(100%, 240px);
    }

    .produit--poele .produit__visuel img {
        width: 175px;
    }

    .produit--brasero .produit__visuel img {
        width: 245px;
    }


    /* ---- PRESTATIONS RÉNOVATION ---- */

    .prestations-renovation {
        padding: 65px 35px 100px;
    }

    .prestations-renovation__grille {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 55px 30px;
        max-width: 800px;
    }

    .prestation-renovation:nth-child(1),
    .prestation-renovation:nth-child(2),
    .prestation-renovation:nth-child(3),
    .prestation-renovation:nth-child(4) {
        grid-column: auto;
    }

    .prestation-renovation:nth-child(5) {
        grid-column: 1 / -1;
        width: 50%;
        margin-right: auto;
        margin-left: auto;
    }

    .prestation-renovation__icone {
        width: 52px;
        height: 52px;
    }

    .prestation-renovation__titre {
        font-size: clamp(20px, 2.6vw, 24px);
    }

    .prestation-renovation__trait {
        width: min(180px, 75%);
    }


    /* ---- SERVICES PISCINE ---- */

    .piscine-services {
        padding: 35px 20px 40px;
    }

    .piscine-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 25px;
    }

    .piscine-services__item--liner {
        grid-column: auto;
    }


    /* ---- EXPERT / SOCIAL ---- */

    .pbc-expert {
        min-height: 310px;
    }

    .pbc-expert__visual {
        --person-width: 202px;
        --person-right: 0px;
        min-height: 310px;
    }

    .pbc-expert__list {
        gap: 10px;
    }

    .pbc-expert__check {
        width: 15px;
        height: 15px;
    }

    .pbc-expert__container {
        grid-template-columns: minmax(330px, 47%) minmax(0, 53%);
        width: min(940px, calc(100% - 32px));
        min-height: 310px;
    }

    .pbc-expert__person {
        top: 28px;
        right: 0;
        width: 202px;
        height: clamp(275px, 32vw, 310px);
    }

    .pbc-expert__button {
        font-size: 12px;
        right: clamp(140px, 18vw, 180px);
    }

    .pbc-expert__content {
        padding: 38px 10px 50px 25px;
    }

    .pbc-expert__item {
        grid-template-columns: 16px minmax(0, 1fr);
        gap: 12px;
        font-size: 13px;
        line-height: 1.35;
    }


    /* ---- LABELS ---- */

    .labels-section {
        padding: 45px
                    25px
                    65px;
    }

    .labels-section__title {
        font-size: clamp(36px, 5vw, 44px);
    }

    .labels-section__trait {
        width: 220px;
    }

    .labels-section__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 20px;
        margin-top: 45px;
    }

    .labels-section__item {
        min-height: 95px;
        padding: 8px;
    }

    .labels-section__item--eparco img {
        width: min(100%, 155px);
    }

    .labels-section__item--everblue img {
        width: min(100%, 120px);
    }

    .labels-section__item--qualipac img,
    .labels-section__item--qualibois img {
        width: min(100%, 115px);
    }
}
