/* =====================================================
   BEGO
   CENTRE D'AIDE
===================================================== */


/* =====================================================
   HERO
===================================================== */

.bego-help-hero {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;

    padding:
        150px
        0
        100px;
}


.bego-help-hero__inner {

    max-width: 900px;
}


/* =====================================================
   EYEBROW
===================================================== */

.bego-help-hero__eyebrow {

    display: block;

    margin-bottom: 25px;

    color: var(--bego-black-60);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;
}


/* =====================================================
   TITLE
===================================================== */

.bego-help-hero h1 {

    margin: 0;

    color: var(--bego-black);

    font-size: clamp(
        58px,
        8vw,
        110px
    );

    line-height: .88;

    letter-spacing: -.065em;

    font-weight: 650;
}


.bego-help-hero h1 span {

    display: block;

    color: var(--bego-black-60);
}


/* =====================================================
   DESCRIPTION
===================================================== */

.bego-help-hero p {

    max-width: 560px;

    margin: 35px 0 0;

    color: var(--bego-black-60);

    font-size: 17px;

    line-height: 1.7;
}


/* =====================================================
   SEARCH
===================================================== */

.bego-help-search {

    position: relative;

    display: flex;

    align-items: center;

    width: min(
        100%,
        650px
    );

    height: 68px;

    margin-top: 45px;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            .12
        );

    border-radius: 999px;

    background: var(--bego-white);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}


.bego-help-search:focus-within {

    border-color: var(--bego-black);

    box-shadow:
        0 15px 40px
        rgba(
            0,
            0,
            0,
            .08
        );
}


.bego-help-search__icon {

    margin-left: 25px;

    color: var(--bego-black);

    font-size: 28px;

    line-height: 1;
}


.bego-help-search input {

    width: 100%;

    height: 100%;

    padding:
        0
        25px
        0
        15px;

    border: 0;

    outline: none;

    background: transparent;

    color: var(--bego-black);

    font-family: inherit;

    font-size: 15px;
}


.bego-help-search input::placeholder {

    color: var(--bego-black-60);
}


/* =====================================================
   SECTION HEADER
===================================================== */

.bego-help-section-header {

    margin-bottom: 50px;
}


.bego-help-section-header > span {

    display: block;

    margin-bottom: 18px;

    color: var(--bego-black-60);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;
}


.bego-help-section-header h2 {

    max-width: 750px;

    margin: 0;

    color: var(--bego-black);

    font-size: clamp(
        42px,
        5vw,
        70px
    );

    line-height: .95;

    letter-spacing: -.055em;

    font-weight: 650;
}


/* =====================================================
   CATEGORIES
===================================================== */

.bego-help-categories {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto;

    padding:
        40px
        0
        120px;
}


/* =====================================================
   GRID
===================================================== */

.bego-help-grid {

    display: grid;

    grid-template-columns:
        repeat(
            2,
            1fr
        );

    gap: 1px;

    overflow: hidden;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            .10
        );
}


/* =====================================================
   CARD
===================================================== */

.bego-help-card {

    position: relative;

    min-height: 270px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

    padding: 30px;

    background: var(--bego-white);

    color: var(--bego-black);

    text-decoration: none;

    transition:
        background var(--transition),
        transform var(--transition);
}


.bego-help-card:hover {

    background: #f7f7f7;

    transform: translateY(-3px);

    z-index: 2;
}


/* =====================================================
   CARD NUMBER
===================================================== */

.bego-help-card__number {

    color: var(--bego-black-60);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .15em;
}


/* =====================================================
   CARD CONTENT
===================================================== */

.bego-help-card h3 {

    margin: 0;

    color: var(--bego-black);

    font-size: 34px;

    line-height: 1;

    letter-spacing: -.04em;

    font-weight: 650;
}


.bego-help-card p {

    max-width: 280px;

    margin: 14px 0 0;

    color: var(--bego-black-60);

    font-size: 14px;

    line-height: 1.6;
}


/* =====================================================
   CARD ARROW
===================================================== */

.bego-help-card__arrow {

    position: absolute;

    right: 30px;
    bottom: 30px;

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--bego-black);

    color: var(--bego-white);

    font-size: 18px;

    transition:
        transform var(--transition);
}


.bego-help-card:hover
.bego-help-card__arrow {

    transform: rotate(45deg);
}


/* =====================================================
   FAQ
===================================================== */

.bego-help-faq {

    width: min(
        calc(100% - 48px),
        1000px
    );

    margin: 0 auto;

    padding:
        40px
        0
        130px;
}


/* =====================================================
   FAQ LIST
===================================================== */

.bego-help-faq__list {

    border-top:
        1px solid
        rgba(
            0,
            0,
            0,
            .12
        );
}


/* =====================================================
   FAQ ITEM
===================================================== */

.bego-help-faq__item {

    border-bottom:
        1px solid
        rgba(
            0,
            0,
            0,
            .12
        );
}


/* =====================================================
   QUESTION
===================================================== */

.bego-help-faq__question {

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding:
        28px
        0;

    border: 0;

    background: transparent;

    color: var(--bego-black);

    font-family: inherit;

    font-size: 19px;

    font-weight: 650;

    text-align: left;

    cursor: pointer;
}


/* =====================================================
   PLUS
===================================================== */

.bego-help-faq__plus {

    flex-shrink: 0;

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(
            0,
            0,
            0,
            .15
        );

    border-radius: 50%;

    font-size: 22px;

    font-weight: 400;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition);
}


/* =====================================================
   ANSWER
===================================================== */

.bego-help-faq__answer {

    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows .35s ease;
}


.bego-help-faq__answer p {

    min-height: 0;

    overflow: hidden;

    max-width: 700px;

    margin: 0;

    color: var(--bego-black-60);

    font-size: 15px;

    line-height: 1.7;

    transition:
        padding .35s ease;
}


/* =====================================================
   ACTIVE FAQ
===================================================== */

.bego-help-faq__item.is-open
.bego-help-faq__answer {

    grid-template-rows: 1fr;
}


.bego-help-faq__item.is-open
.bego-help-faq__answer p {

    padding:
        0
        0
        30px;
}


.bego-help-faq__item.is-open
.bego-help-faq__plus {

    transform: rotate(45deg);

    background: var(--bego-black);

    color: var(--bego-white);
}


/* =====================================================
   CONTACT
===================================================== */

.bego-help-contact {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin: 0 auto 100px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    padding:
        60px;

    border-radius: 30px;

    background: var(--bego-black);

    color: var(--bego-white);
}


.bego-help-contact__content > span {

    display: block;

    margin-bottom: 18px;

    color: var(--bego-white-60);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .18em;
}


.bego-help-contact h2 {

    max-width: 600px;

    margin: 0;

    color: var(--bego-white);

    font-size: clamp(
        42px,
        5vw,
        70px
    );

    line-height: .9;

    letter-spacing: -.055em;

    font-weight: 650;
}


.bego-help-contact h2 strong {

    display: block;

    color: var(--bego-white-60);

    font-weight: inherit;
}


.bego-help-contact p {

    max-width: 480px;

    margin: 25px 0 0;

    color: var(--bego-white-60);

    font-size: 15px;

    line-height: 1.6;
}


/* =====================================================
   CONTACT BUTTON
===================================================== */

.bego-help-contact__button {

    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    gap: 18px;

    padding:
        8px
        8px
        8px
        24px;

    border-radius: 999px;

    background: var(--bego-white);

    color: var(--bego-black);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform var(--transition);
}


.bego-help-contact__button:hover {

    transform: translateY(-4px);
}


.bego-help-contact__button span:last-child {

    width: 44px;
    height: 44px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: var(--bego-black);

    color: var(--bego-white);

    font-size: 18px;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .bego-help-hero {

        width: calc(100% - 48px);

        padding:
            130px
            0
            80px;
    }


    .bego-help-categories {

        width: calc(100% - 48px);
    }


    .bego-help-contact {

        width: calc(100% - 48px);

        padding: 45px;
    }

}


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

@media (max-width: 700px) {

    .bego-help-hero {


        width: calc(100% - 32px);

        padding:
            110px
            0
            70px;
    }


    .bego-help-hero h1 {

        font-size: 52px;
    }


    .bego-help-hero p {

        font-size: 15px;
    }


    .bego-help-search {

        height: 60px;

        margin-top: 35px;
    }


    .bego-help-categories {

        width: calc(100% - 32px);

        padding-bottom: 80px;
    }


    .bego-help-section-header h2 {

        font-size: 42px;
    }


    .bego-help-grid {

        grid-template-columns: 1fr;
    }


    .bego-help-card {

        min-height: 230px;
    }


    .bego-help-faq {

        width: calc(100% - 32px);

        padding-bottom: 90px;
    }


    .bego-help-faq__question {

        font-size: 16px;

        padding: 24px 0;
    }


    .bego-help-contact {

        width: calc(100% - 32px);

        flex-direction: column;

        align-items: flex-start;

        margin-bottom: 70px;

        padding: 40px 28px;

        border-radius: 24px;
    }


    .bego-help-contact__button {

        width: 100%;

        justify-content: space-between;
    }

}


/* =====================================================
   MOBILE PETIT
===================================================== */

@media (max-width: 480px) {

    .bego-help-hero {

        width: calc(100% - 24px);

        padding:
            95px
            0
            60px;
    }


    .bego-help-hero h1 {

        font-size: 43px;
    }


    .bego-help-categories {

        width: calc(100% - 24px);
    }


    .bego-help-faq {

        width: calc(100% - 24px);
    }


    .bego-help-contact {

        width: calc(100% - 24px);
    }

}