/********** Global ***********/
:root {
    --main-color: #6c594a;
    --secondary-color: #9d8063;
    --contast-main-color: #eddbc2;
    --blue: #248792;
    --azur: #5fc9a3;
    --orange: #b15133;

}

h1 {
    color: var(--main-color);
    font-size: 2em;
    font-weight: bold;
}

h2 {
    color: var(--main-color);
    font-size: 1.5em;
    font-weight: bold;
}

h3 {
    margin-bottom: 16px;
    font-size: 1.17em;
    font-weight: bold;
}

p {
    line-height: 24px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
}

section {
    padding: 30px 0;
}

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

/**********  Barre de navigation ***********/

body.menu-open {
    overflow: hidden;
}

.header {
    position: relative;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.nav {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

    .logo {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        color: #111;
        font-size: 1.3rem;
        font-weight: 700;
        z-index: 1002;

        img {
            display: block;
            height: 38px;
            width: auto;
        }
    }


    .menu-toggle {
        border: none;
        background: transparent;
        cursor: pointer;
        color: #111;
        padding: 0;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        z-index: 1002;
        font-size: 2rem;
        line-height: 1;
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        background: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1001;

        .nav-links {
            display: flex;
            flex-direction: column;
            gap: 28px;
            text-align: center;

            a {
                text-decoration: none;
                color: #111;
                font-size: 2rem;
                font-weight: 600;
            }

            a:hover,
            .desktop-links a:hover {
                opacity: 0.7;
            }
        }

        .desktop-links {
            display: none;
        }
    }

    .mobile-menu.open {
        transform: translateX(0);
    }
}

/*********** Section produit mis en avant ***********/

#product-section {
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: var(--main-color);

    .product-title {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        width: fit-content;
        margin: 8px auto 28px;
        color: var(--contast-main-color);
        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(2.7rem, 13vw, 5.6rem);
        font-weight: 900;
        line-height: 0.82;
        letter-spacing: -0.08em;
        text-align: center;
        text-transform: uppercase;

        .product-title-la {
            display: inline-flex;
            align-items: flex-end;
            margin-right: 0.08em;
            padding-bottom: 0.05em;
            font-size: 0.76em;
            font-weight: 700;
            letter-spacing: -0.12em;
            transform: scaleX(0.72);
            transform-origin: right bottom;

            span {
                display: inline-block;
            }

            .letter-la-a {
                transform: translateY(-0.13em);
            }
        }

        .product-title-baz {
            display: inline-flex;
            align-items: flex-end;

            span {
                display: inline-block;
                transform-origin: center bottom;
            }

            .letter-b {
                transform: scaleX(0.72) translateY(0.02em);
            }

            .letter-a {
                margin-left: -0.05em;
                font-weight: 800;
                transform: scaleX(0.82) translateY(-0.045em);
            }

            .letter-z {
                position: relative;
                z-index: 2;
                margin-left: -0.07em;
                transform: scaleX(0.74) translateY(0.035em);

                &::after {
                    content: "";
                    position: absolute;
                    z-index: 3;
                    right: -1.4em;
                    bottom: 0.07em;
                    width: 1.6em;
                    height: 0.13em;
                    background: var(--contast-main-color);
                }
            }
        }

        .product-title-cule {
            position: relative;
            z-index: 1;
            margin-left: -0.5em;
            margin-bottom: 0.58em;
            padding: 0.16em 0.28em 0.12em 0.42em;
            clip-path: polygon(17% 0%, 126% 3%, 100% 127%, 0% 100%);
            background: var(--orange);
            color: var(--contast-main-color);
            font-size: 0.38em;
            font-style: italic;
            font-weight: 700;
            letter-spacing: 0.1em;
            line-height: 0.9;
            text-transform: lowercase;
        }
    }

    #product-description-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 2;

        .visual-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;

            .main-picture-box {
                width: 100%;
                overflow: hidden;

                .product-visual-stage {
                    --circle-size: min(109vw, 560px);
                    --bottle-height: min(calc(125vw + 50px), 646px);
                    --illustration-height: min(102.5vw, 528px);
                    position: relative;
                    width: 100%;
                    height: var(--bottle-height);

                    .circle {
                        position: absolute;
                        top: 40px;
                        left: 50%;
                        width: var(--circle-size);
                        aspect-ratio: 1 / 1;
                        border-radius: 50%;
                        background: var(--contast-main-color);
                        transform: translateX(-50%);
                    }

                    .visual-assets {
                        position: absolute;
                        inset: 0 auto auto 50%;
                        width: var(--circle-size);
                        height: var(--bottle-height);
                        transform: translateX(-50%);

                        .beer-illustration {
                            position: absolute;
                            z-index: 1;
                            top: 95px;
                            left: -4%;
                            width: auto;
                            height: var(--illustration-height);
                            object-fit: contain;
                        }

                        .main-picture {
                            position: absolute;
                            z-index: 2;
                            top: 0;
                            left: -15%;
                            width: auto;
                            height: var(--bottle-height);
                            max-height: 646px;
                        }
                    }
                }
            }
        }

        .description-column {
            display: flex;
            justify-content: center;
            width: 100%;
        }

        .description-box {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 40px;
            width: 94%;
            height: auto;
            min-height: 550px;
            background-color: var(--contast-main-color);
            padding: 20px 16px;
            border-radius: 16px;

            #description-choice {
                display: flex;
                gap: 6px;
                width: 100%;
                max-width: 360px;
                margin-bottom: 22px;
                padding: 5px;
                border: 1px solid rgba(108, 89, 74, 0.28);
                border-radius: 999px;
                background: rgba(108, 89, 74, 0.1);
                box-shadow: inset 0 1px 3px rgba(108, 89, 74, 0.12);
                text-align: center;

                .info-tab {
                    position: relative;
                    flex: 1;
                    min-height: 44px;
                    padding: 9px 18px;
                    border: 1px solid transparent;
                    border-radius: 999px;
                    background: transparent;
                    color: var(--main-color);
                    cursor: pointer;
                    font: inherit;
                    font-size: 1rem;
                    font-weight: 600;
                    letter-spacing: 0.02em;
                    transition: color 0.25s ease, background-color 0.25s ease,
                        box-shadow 0.25s ease, transform 0.2s ease;
                }

                .info-tab:hover:not(.active) {
                    background: rgba(255, 255, 255, 0.3);
                    transform: translateY(-1px);
                }

                .info-tab:focus-visible {
                    outline: 3px solid var(--blue);
                    outline-offset: 3px;
                }

                .info-tab.active {
                    border-color: var(--main-color);
                    background: var(--main-color);
                    color: var(--contast-main-color);
                    box-shadow: 0 5px 14px rgba(108, 89, 74, 0.28);
                    transform: translateY(-1px);
                }

                .info-tab.inactive {
                    color: var(--secondary-color);
                }
            }

            #details-description-box {
                display: flex;
                flex: 1;
                align-items: center;
                justify-content: center;
                width: 100%;
                min-height: 0;
                overflow: hidden;
            }

            #global-description-box {
                display: flex;
                flex-direction: column;
                align-items: center;
                width: 100%;
                text-align: center;

                .product-summary {
                    width: calc(100% - 24px);
                    max-width: 470px;
                    margin: 0 auto 18px;
                    color: #44372e;
                    font-size: 1rem;
                    font-weight: 600;
                    line-height: 1.65;
                }

                .pairing-card {
                    width: calc(100% - 24px);
                    max-width: 470px;
                    margin-bottom: 18px;
                    padding: 10px 14px;
                    border-left: 4px solid var(--orange);
                    border-radius: 0 10px 10px 0;
                    background: rgba(255, 255, 255, 0.3);
                    text-align: left;

                    .information-label {
                        display: block;
                        margin-bottom: 2px;
                        color: var(--orange);
                        font-size: 0.7rem;
                        font-weight: 800;
                        letter-spacing: 0.1em;
                        line-height: 1.2;
                        text-transform: uppercase;
                    }

                    p {
                        color: var(--main-color);
                        font-size: 0.88rem;
                        line-height: 1.55;
                    }
                }

                .beer-stats {
                    display: flex;
                    gap: 8px;
                    width: 100%;
                    max-width: 470px;
                    margin-bottom: 14px;

                    .beer-stat {
                        display: flex;
                        flex: 1;
                        flex-direction: column;
                        padding: 9px 6px;
                        border: 1px solid rgba(108, 89, 74, 0.18);
                        border-radius: 10px;
                        background: rgba(255, 255, 255, 0.24);

                        strong {
                            color: var(--main-color);
                            font-size: 1.05rem;
                            line-height: 1.2;
                        }

                        span {
                            margin-top: 2px;
                            color: var(--secondary-color);
                            font-size: 0.72rem;
                            line-height: 1.2;
                        }
                    }
                }

                #ibu-box {
                    display: flex;
                    flex-direction: column;
                    width: 100%;
                    max-width: 470px;
                    margin-bottom: 14px;

                    .ibu-heading,
                    .ibu-limits {
                        display: flex;
                        justify-content: space-between;
                    }

                    .ibu-heading {
                        align-items: baseline;
                        margin-bottom: 4px;
                        color: var(--main-color);
                        font-size: 0.78rem;

                        strong {
                            font-size: 0.82rem;
                        }
                    }

                    #ibu-level {
                        display: flex;
                        align-items: center;
                        position: relative;
                        height: 18px;

                        #ibu-line {
                            display: block;
                            height: 7px;
                            width: 100%;
                            border-radius: 999px;
                            background: linear-gradient(90deg, var(--contast-main-color), var(--secondary-color),
                                    var(--main-color));
                            box-shadow: inset 0 0 0 1px rgba(108, 89, 74, 0.2);
                        }

                        #ibu-cursor {
                            position: absolute;
                            left: 31.25%;
                            height: 17px;
                            width: 17px;
                            border-radius: 50%;
                            background-color: var(--contast-main-color);
                            border: 3px solid var(--main-color);
                            box-shadow: 0 2px 5px rgba(108, 89, 74, 0.28);
                            transform: translateX(-50%);
                        }
                    }

                    .ibu-limits {
                        color: var(--secondary-color);
                        font-size: 0.7rem;
                        font-style: italic;
                    }
                }

                .product-notes {
                    width: calc(100% - 24px);
                    max-width: 470px;
                    margin-bottom: 16px;
                    padding: 9px 12px;
                    border-radius: 10px;
                    background: rgba(108, 89, 74, 0.08);
                    text-align: left;

                    p {
                        color: var(--secondary-color);
                        font-size: 0.75rem;
                        line-height: 1.55;
                    }

                    p + p {
                        margin-top: 9px;
                        color: var(--main-color);
                        font-weight: 700;
                    }
                }

                #additional-information {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    width: 100%;
                    max-width: 470px;
                    padding-top: 10px;
                    border-top: 1px solid rgba(108, 89, 74, 0.22);

                    #allergen {
                        display: flex;
                        flex-direction: column;
                        align-items: flex-start;
                        color: var(--secondary-color);
                        font-size: 0.72rem;

                        strong {
                            color: var(--main-color);
                            font-size: 0.9rem;
                        }
                    }

                    #label-bio {
                        width: 62px;
                    }
                }

            }

        }

    }
}

/*********** Section autres produits ***********/

#section-other-product {
    text-align: center;

    h2{
        margin-bottom: 20px;
    }

    .product-carousel {
        position: relative;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        padding: 0 42px 28px;
        box-sizing: border-box;

        .carousel-viewport {
            overflow: hidden;
            width: 100%;
            touch-action: pan-y;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.35s ease;
            will-change: transform;

            .product-card {
                flex: 0 0 100%;
                position: relative;
                overflow: hidden;
                box-sizing: border-box;
                border: 1px solid rgba(108, 89, 74, 0.25);
                border-radius: 20px;
                padding: 16px 16px 26px;
                background: #f1eeeb;
                box-shadow: 0 12px 30px rgba(108, 89, 74, 0.16);
                transition: transform 0.3s ease, box-shadow 0.3s ease;

                &:hover {
                    box-shadow: 0 18px 38px rgba(108, 89, 74, 0.25);
                    transform: translateY(-6px);
                }

                .img-box {
                    position: static;
                    margin-bottom: 14px;

                    img {
                        display: block;
                        width: 100%;
                        height: auto;
                    }

                    .new-badge {
                        position: absolute;
                        z-index: 3;
                        top: 24px;
                        right: -55px;
                        width: 200px;
                        padding: 9px 12px;
                        background: var(--main-color);
                        color: var(--contast-main-color);
                        font-size: 0.7rem;
                        font-weight: 800;
                        letter-spacing: 0.1em;
                        text-align: center;
                        text-transform: uppercase;
                        box-shadow: 0 5px 12px rgba(68, 55, 46, 0.28);
                        transform: rotate(35deg);
                    }
                }

                h3 {
                    margin: 0 0 8px;
                    color: var(--main-color);
                    font-size: 1.45rem;
                    font-weight: 800;
                    line-height: 1.1;
                }

                i {
                    display: block;
                    margin-bottom: 10px;
                    color: var(--secondary-color);
                    font-size: 0.68rem;
                    font-style: normal;
                    font-weight: 800;
                    letter-spacing: 0.12em;
                    line-height: 1.3;
                    text-transform: uppercase;
                }

                .type-alc {
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    gap: 12px;
                    margin-bottom: 18px;
                    padding-bottom: 14px;
                    border-bottom: 1px solid rgba(108, 89, 74, 0.16);

                    p {
                        margin: 0;
                    }

                    p:first-child {
                        color: #44372e;
                        font-size: 0.95rem;
                        font-weight: 600;
                    }

                    p:last-child {
                        color: var(--main-color);
                        font-size: 0.78rem;
                        font-weight: 800;
                        letter-spacing: 0.04em;
                    }
                }

                .discover-button {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    gap: 10px;
                    min-width: 150px;
                    padding: 11px 20px;
                    border: 2px solid var(--main-color);
                    border-radius: 999px;
                    background: var(--main-color);
                    color: var(--contast-main-color);
                    font-weight: 700;
                    text-decoration: none;
                    box-shadow: 0 7px 16px rgba(108, 89, 74, 0.2);
                    transition: background-color 0.25s ease, color 0.25s ease,
                        transform 0.25s ease, box-shadow 0.25s ease;

                    &:hover {
                        background: transparent;
                        color: var(--main-color);
                        box-shadow: 0 10px 22px rgba(108, 89, 74, 0.28);
                        transform: translateY(-2px);
                    }

                    &:focus-visible {
                        outline: 3px solid var(--blue);
                        outline-offset: 3px;
                    }
                }
            }
        }

        .carousel-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 2;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: var(--main-color);
            color: #fff;
            font-size: 18px;
            display: grid;
            place-items: center;
            cursor: pointer;
        }

        .carousel-btn:disabled {
            visibility: hidden;
        }

        .carousel-btn.prev {
            left: 0;
            display: none;
        }

        .carousel-btn.next {
            right: 0;
            display: none;
        }

        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 14px;
        }

        .carousel-dot {
            width: 8px;
            height: 8px;
            border: none;
            border-radius: 50%;
            background: #cfcfcf;
            padding: 0;
            cursor: pointer;
        }

        .carousel-dot.active {
            background: var(--main-color);
            transform: scale(1.2);
        }
    }
}

/*********** Footer ***********/

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--main-color);

    hr {
        width: 100%;
        height: 2px;
        color: red;
        background: var(--secondary-color);
        border: none;
    }

    #prevention-message {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 12px 18px;
        background: #f6ede1;
        color: var(--main-color);

        p {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin: 0;
            font-size: 0.88rem;
            font-weight: 700;
            letter-spacing: 0.025em;
            line-height: 1.35;
        }
    }

    #footer-practical-information {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        width: min(94%, 1200px);
        padding: 30px 0 8px;
        color: var(--contast-main-color);

        .practical-card {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            width: 100%;
            padding: 22px;
            border: 1px solid rgba(237, 219, 194, 0.2);
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.055);
            text-align: left;

            h3 {
                position: relative;
                margin: 0 0 18px;
                padding-bottom: 10px;
                color: #fff;
                font-size: 1.05rem;

                &::after {
                    content: "";
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 38px;
                    height: 2px;
                    background: var(--secondary-color);
                }
            }

            .card-introduction {
                margin: 0 0 16px;
                color: rgba(237, 219, 194, 0.82);
                font-size: 0.88rem;
                line-height: 1.55;
            }

            a {
                color: #fff;
                font-weight: 700;
                text-decoration-color: rgba(237, 219, 194, 0.55);
                text-decoration-thickness: 1px;
                text-underline-offset: 4px;
                transition: color 0.2s ease, text-decoration-color 0.2s ease;

                &:hover {
                    color: var(--azur);
                    text-decoration-color: currentColor;
                }

                &:focus-visible {
                    outline: 3px solid var(--azur);
                    outline-offset: 3px;
                }
            }

            #rs-box {
                display: flex;
                align-items: center;
                justify-content: flex-start;
                gap: 12px;

                a {
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    opacity: 1;
                    transition: opacity 0.2s ease, transform 0.2s ease;
                }

                a:first-child img {
                    width: 28px;
                }

                a:last-child img {
                    width: 31px;
                }

                a:hover {
                    opacity: 0.72;
                    transform: translateY(-3px);
                }
            }

            address {
                display: flex;
                flex-direction: column;
                gap: 20px;
                font-style: normal;
            }

            .contact-line,
            .practical-list li {
                display: flex;
                align-items: center;
                gap: 11px;
                margin: 0;
                color: rgba(237, 219, 194, 0.9);
                font-size: 0.88rem;
                line-height: 1.55;
            }

            .footer-icon {
                display: inline-grid;
                flex: 0 0 32px;
                place-items: center;
                width: 32px;
                min-height: 32px;
                color: var(--contast-main-color);
                font-size: 1.4rem;
                line-height: 1;

                svg {
                    width: 27px;
                    height: 27px;
                    fill: none;
                    stroke: currentColor;
                    stroke-width: 1.8;
                    stroke-linecap: round;
                    stroke-linejoin: round;
                }

            }

            .practical-list {
                display: flex;
                flex-direction: column;
                gap: 20px;
                margin: 0;
                padding: 0;
                list-style: none;
            }
        }
    }

    #card-true-site {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: min(calc(100% - 40px), 450px);
        padding: 30px 34px 32px;
        border: 2mm ridge var(--secondary-color);
        background: var(--contast-main-color);
        text-align: center;
        color: var(--main-color);
        margin: 30px;
        margin-bottom: 50px;
        max-width: 450px;

        &::before {
            display: none;
        }

        .official-site-label {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: -10px 0 40px;

            > span {
                position: relative;
                z-index: 2;
                display: inline-block;
                min-width: 210px;
                padding: 11px 24px;
                border: 3px solid #44372e;
                background: var(--main-color);
                box-shadow: 0 4px 0 rgba(68, 55, 46, 0.28);
                color: var(--contast-main-color);
                font-size: 1rem;
                font-weight: 900;
                letter-spacing: 0.1em;
                line-height: 1.2;
                text-align: center;
                text-transform: uppercase;
            }

            &::before,
            &::after {
                content: "";
                position: absolute;
                z-index: 1;
                top: 50%;
                width: 72px;
                height: 40px;
                border: 2px solid #44372e;
                background: #755e47;
                transform: translateY(-38%);
            }

            &::before {
                left: -58px;
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%);
            }

            &::after {
                right: -58px;
                clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%);
            }
        }

        img {
            width: min(80%, 320px);
            margin-bottom: 20px;
        }

        p {
            max-width: 330px;
            margin: 16px 0 22px;
            color: #44372e;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .official-site-button {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            padding: 11px 20px;
            border: 1mm ridge var(--main-color);
            background: var(--secondary-color);
            color: var(--contast-main-color);
            font-weight: 800;
            text-decoration: none;
            box-shadow: 0 6px 14px rgba(108, 89, 74, 0.18);
            transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;

            span {
                font-size: 1.05rem;
                transition: transform 0.25s ease;
            }

            &:hover {
                background: var(--main-color);
                color: var(--contast-main-color);
                box-shadow: 0 10px 22px rgba(108, 89, 74, 0.3);
                transform: translateY(-3px) scale(1.02);

                span {
                    transform: translate(2px, -2px);
                }
            }

            &:focus-visible {
                outline: 3px solid var(--blue);
                outline-offset: 3px;
            }
        }
    }
}

/*********** Graphique radar ***********/

.radar-wrap {
    margin: 0;
    pointer-events: none;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 470px;
    aspect-ratio: 1 / 1;
}

.radar-wrap #radar {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.radar-wrap .grid circle,
.radar-wrap .grid polygon,
.radar-wrap .grid line {
    stroke: rgba(108, 89, 74, 0.38);
    stroke-width: 1.2;
    fill: none;
}

.radar-wrap .shape {
    fill: var(--secondary-color);
    fill-opacity: .72;
    stroke: var(--main-color);
    stroke-width: 2;
    stroke-linejoin: round;
}

.radar-wrap .vertex {
    fill: var(--main-color);
    stroke: var(--contast-main-color);
    stroke-width: 1.5;
}

.radar-wrap .label {
    fill: var(--main-color);
    font-weight: 700;
    font-size: 16px;
    text-anchor: middle;
    dominant-baseline: middle;
    user-select: none;
}

.radar-wrap .scale {
    fill: var(--main-color);
    font-weight: 800;
    font-size: 19px;
    text-anchor: middle;
    user-select: none;
}

/*********** Modal ***********/

.modal-overlay {
    position: fixed;
    inset: 0;
    padding: 20px;
    background: rgba(38, 29, 22, 0.72);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9009;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    &.is-visible {
        opacity: 1;
        visibility: visible;
    }

    .modal {
        background: var(--contast-main-color);
        width: 100%;
        max-width: 560px;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        padding: 48px 32px 34px;
        border: 2px solid var(--secondary-color);
        border-radius: 24px;
        position: relative;
        box-shadow: 0 24px 70px rgba(25, 17, 12, 0.38);
        text-align: center;
        transform: translateY(24px) scale(0.96);
        opacity: 0;
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;

        .close-btn {
            position: absolute;
            top: 14px;
            right: 14px;
            display: grid;
            place-items: center;
            width: 38px;
            height: 38px;
            padding: 0;
            border: 1px solid rgba(108, 89, 74, 0.25);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.35);
            font-size: 28px;
            line-height: 1;
            cursor: pointer;
            color: var(--main-color);
            transition: transform 0.2s ease, background-color 0.2s ease;
        }
    
        .close-btn:hover {
            background: rgba(255, 255, 255, 0.7);
            transform: rotate(6deg) scale(1.05);
        }

        .close-btn:focus-visible,
        .bottom-btn:focus-visible,
        a:focus-visible {
            outline: 3px solid var(--blue);
            outline-offset: 3px;
        }

        .modal-kicker {
            position: relative;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin: 0 0 40px;

            > span {
                position: relative;
                z-index: 2;
                min-width: 172px;
                padding: 8px 16px;
                border: 2px solid #44372e;
                background: var(--main-color);
                color: var(--contast-main-color);
                font-size: 0.72rem;
                font-weight: 800;
                letter-spacing: 0.12em;
                line-height: 1.2;
                text-transform: uppercase;
            }

            &::before,
            &::after {
                content: "";
                position: absolute;
                z-index: 1;
                top: 50%;
                width: 52px;
                height: 29px;
                border: 1px solid #44372e;
                background: #755e47;
                transform: translateY(-36%);
            }

            &::before {
                left: -43px;
                clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 34% 50%);
            }

            &::after {
                right: -43px;
                clip-path: polygon(0 0, 100% 0, 66% 50%, 100% 100%, 0 100%);
            }
        }

        h2 {
            margin: 0 auto 22px;
            max-width: 430px;
            color: var(--main-color);
            font-size: clamp(1.7rem, 5vw, 2.25rem);
            line-height: 1.1;
        }

        p {
            max-width: 460px;
            margin: 0 auto 16px;
            color: #44372e;
            font-size: 1rem;
            line-height: 1.65;
        }

        .modal-link {
            margin-top: 22px;
            font-size: 0.95rem;
        }

        .modal-disclaimer {
            display: flex;
            align-items: flex-start;
            gap: 7px;
            max-width: 430px;
            margin-top: 18px;
            padding: 10px 12px;
            border-left: 3px solid var(--secondary-color);
            background: rgba(255, 255, 255, 0.24);
            color: var(--secondary-color);
            font-size: 0.76rem;
            line-height: 1.45;
            text-align: left;

            span {
                color: var(--main-color);
                font-size: 1.25rem;
                font-weight: 900;
                line-height: 0.9;
            }
        }

        a {
            color: var(--main-color);
            font-weight: 700;
            text-underline-offset: 3px;
        }

        a:hover {
            color: var(--blue);
        }

        .modal-actions {
            margin-top: 26px;
        }

        .bottom-btn {
            width: 100%;
            max-width: 310px;
            padding: 14px 24px;
            border: 2px solid var(--main-color);
            background: var(--main-color);
            color: var(--contast-main-color);
            border-radius: 999px;
            cursor: pointer;
            font-size: 1rem;
            font-weight: 700;
            box-shadow: 0 8px 20px rgba(108, 89, 74, 0.22);
            transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
        }

        .bottom-btn:hover {
            background: var(--secondary-color);
            box-shadow: 0 10px 24px rgba(108, 89, 74, 0.3);
            transform: translateY(-2px);
        }
    }
}

.modal-overlay.is-visible .modal {
    opacity: 1;
    transform: translateY(0) scale(1);
}

body.modal-open {
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 480px) {
    .modal-overlay {
        align-items: center;
        padding: 12px;
    }

    .modal-overlay .modal {
        padding: 46px 22px 26px;
        border-radius: 22px;
        transform: translateY(36px) scale(0.98);
    }

    .modal-overlay.is-visible .modal {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Classe cachée */
.hidden,
[hidden] {
    display: none !important;
}

/* =========================
        TABLETTE
========================= */
@media (min-width: 768px) {

    .nav {
        .menu-toggle {
            display: none;
        }

        .mobile-menu {
            position: static;
            transform: none;
            transition: none;
            width: auto;
            height: auto;
            background: transparent;
            flex-direction: row;
            align-items: center;
            justify-content: flex-end;

            .nav-links {
                display: none;
            }

            .desktop-links {
                display: flex;
                align-items: center;
                gap: 24px;

                a {
                    text-decoration: none;
                    color: #111;
                    font-size: 1rem;
                    font-weight: 500;
                }
            }
        }
    }

    #product-section {
        #product-description-container {
            .visual-box {
                .main-picture-box {
                    .product-visual-stage {
                        --circle-size: min(72vw, 560px);
                        --bottle-height: 646px;
                        --illustration-height: min(68vw, 528px);

                        .circle {
                            top: 50px;
                        }

                        .visual-assets {
                            .beer-illustration {
                                top: 95px;
                            }
                        }
                    }
                }
            }
        }
    }

    /*********** Section autres produits ***********/

    #section-other-product {

        .product-carousel {
            .carousel-btn.prev {
                display: block;
            }

            .carousel-btn.next {
                display: block;
            }
        }
    }

    /*********** Footer ***********/

    footer {
        text-align: start;

        #prevention-message {
            text-align: center;
        }

        #footer-practical-information {
            grid-template-columns: repeat(3, minmax(0, 1fr));

            .practical-card {
                #rs-box {
                    justify-content: start;

                    a:first-child img {
                        width: 28px;
                    }

                    a:last-child img {
                        width: 31px;
                    }
                }
            }
        }

        #card-true-site {
            height: auto;
        }
    }
}

@media (max-width: 1023px) {
    footer {
        #footer-practical-information {
            .practical-card {
                align-items: center;
                text-align: center;

                h3::after {
                    left: 50%;
                    transform: translateX(-50%);
                }
            }

            .social-card {
                flex-direction: row;
                justify-content: space-between;
                gap: 18px;

                h3 {
                    margin: 0;
                    padding: 0;

                    &::after {
                        display: none;
                    }
                }

                .card-introduction {
                    display: none;
                }
            }

            .contact-card {
                address {
                    align-items: center;
                }
            }

            .contact-line,
            .practical-list li {
                justify-content: center;
                text-align: center;

                .footer-icon {
                    display: none;
                }
            }
        }
    }

}


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

@media (min-width: 1024px) {

    /*********** Section produit mis en avant ***********/

    #product-section {
        align-items: center;
        padding: 30px 0 70px 0;

        #product-description-container {
            flex-direction: row;
            justify-content: space-between;
            width: 100%;
            height: min(50vw, 560px);


            .visual-box {
                display: flex;
                flex-direction: column;
                align-items: center;
                flex: 0 0 50%;
                width: 50%;

                .main-picture-box {
                    width: 100%;
                    overflow: hidden;

                    .product-visual-stage {
                        --circle-size: min(50vw, 560px);
                        --bottle-height: min(60vw, 700px);
                        --illustration-height: min(48vw, 559px);

                        .circle {
                            top: 50px;
                        }

                        .visual-assets {
                            .beer-illustration {
                                top: 95px;
                            }

                            .main-picture {
                                max-height: 700px;
                            }
                        }
                    }
                }
            }

            .description-column {
                display: flex;
                flex: 0 0 50%;
                align-items: flex-start;
                justify-content: center;
                width: 50%;
                height: 100%;
            }

            .description-box {
                max-width: 660px;
                height: 100%;
                min-height: 0;
                margin: 0;

                .radar-wrap {
                    max-width: 100%;
                }
            }
        }
    }

    /*********** Section autres produits ***********/

    #section-other-product {

        .product-carousel {
            max-width: none;

            .carousel-track {
                display: grid;
                grid-template-columns: repeat(3, minmax(0, 304px));
                grid-template-rows: 1fr;
                grid-column-gap: 20px;
                grid-row-gap: 0px;
                justify-content: space-between;
                width: 100%;
                max-width: 1200px;
                margin: 0 auto;

                .product-card {
                    max-width: 304px;
                    max-height: none;
                    margin: auto;

                    .img-box {
                        img {
                            max-width: 268px;
                        }
                    }
                }
            }

            .carousel-btn.prev {
                display: none;
            }

            .carousel-btn.next {
                display: none;
            }

            .carousel-dots {
                display: none;
            }
        }
    }

    /*********** Footer ***********/

    footer {
        #footer-practical-information {
            gap: 0;
            width: min(calc(100% - 84px), 1200px);

            .practical-card {
                min-height: 220px;
                padding: 12px 30px;
                border: none;
                border-radius: 0;
                background: transparent;
            }

            .practical-card + .practical-card {
                border-left: 1px solid rgba(157, 128, 99, 0.6);
            }

            .practical-card:first-child {
                padding-left: 0;
            }

            .practical-card:last-child {
                padding-right: 0;
            }


        }
    }
}


@media (min-width: 1400px) {
     /*********** Section produit mis en avant ***********/

    #product-section {

        #product-description-container {

            .description-box {
                margin: 0 auto;
            }
        }
    }
}
