/* La vidéo et son texte partagent la grille sur grand écran. */
@layer base {
    #alp-main .alp-home-refresh .alp-home-hero-section > .relative {
        padding-inline: 0 !important;
    }
    html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero {
        --dg-hero-cols: minmax(0, 1fr);
        --dg-hero-gap: 0;
        --dg-hero-padding: 0;
        --dg-film-column: 1;
        --dg-film-row: 1;
        --dg-film-height: clamp(520px, 53vw, 760px);
        position: relative;
        isolation: isolate;
        background: #202625;
    }
    html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-panel {
        grid-area: 1 / 1;
        align-self: center;
        justify-content: flex-start !important;
        z-index: 4 !important;
        width: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        pointer-events: none;
    }
    html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-copy {
        display: block !important;
        width: min(100%, 45rem) !important;
        max-width: 45rem !important;
        margin: 0 !important;
        padding: clamp(2rem, 4vw, 4rem) clamp(1.4rem, 5vw, 4.6rem) !important;
        box-sizing: border-box !important;
        text-align: left !important;
        color: #fff !important;
    }
    html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-copy .alp-home-hero-title {
        color: #fff !important;
        max-width: 16ch !important;
        text-align: left !important;
        font-size: clamp(2.25rem, 5.1vw, 4.75rem) !important;
        line-height: 1.04 !important;
        margin-inline: 0 !important;
    }
    html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-copy :is(.alp-home-hero-lead, .alp-home-hero-note, .alp-home-intro-eyebrow, .alp-home-hero-services) {
        color: #fff !important;
        text-align: left !important;
        margin-inline: 0 !important;
    }
    html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-hero-actions {
        justify-content: flex-start !important;
    }
    #alp-nevers-video-hero .alp-home-hero-actions a,
    #alp-nevers-video-hero .alp-home-hero-services {
        pointer-events: auto;
    }
    #alp-nevers-video-hero .alp-home-split-video video {
        inset: 0;
        width: 100%;
        height: 100%;
        min-width: 0;
        min-height: 0;
        object-fit: cover;
        object-position: 56% center;
    }
    #alp-nevers-video-hero .alp-nevers-hero-shade {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 2;
        border-radius: 12px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(14, 21, 19, .92), rgba(14, 21, 19, .8) 32%, rgba(14, 21, 19, .63) 57%, transparent 82%);
    }
    @media (max-width: 900px) {
        html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero {
            --dg-film-height: clamp(265px, 61vw, 470px);
        }
        html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-panel {
            grid-row: 2 !important;
            background: #202625 !important;
        }
        html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-copy {
            width: 100% !important;
            padding: 1.45rem clamp(1rem, 4vw, 2.4rem) 2rem !important;
        }
        html:root body #alp-main .alp-home-refresh .alp-home-hero-section #alp-nevers-video-hero .alp-home-intro-copy .alp-home-hero-title {
            font-size: clamp(2rem, 5.4vw, 3rem) !important;
            max-width: 23ch !important;
        }
        #alp-nevers-video-hero .alp-nevers-hero-shade { display: none; }
    }
}

.alp-nevers {
    --alp-nevers-ink: #202625;
    --alp-nevers-accent: #a71624;
    --alp-nevers-line: #e0ded7;
    max-width: 75rem;
    margin: 2.4rem auto 3.4rem;
    padding: 0 clamp(1rem, 3vw, 2.25rem);
    color: var(--alp-nevers-ink);
    text-align: left;
    box-sizing: border-box;
}
.alp-nevers *, .alp-nevers *::before, .alp-nevers *::after { box-sizing: border-box; }
.alp-nevers section { scroll-margin-top: 7rem; }
.alp-nevers h2 { margin: 0 0 .65rem; font-size: clamp(1.5rem, 3.2vw, 2.35rem); line-height: 1.16; }
.alp-nevers h3 { margin: 0 0 .45rem; font-size: 1.15rem; line-height: 1.3; }
.alp-nevers p { margin: .45rem 0 .85rem; line-height: 1.57; }
.alp-nevers a { color: #8e1420; text-decoration: underline; text-underline-offset: .16em; }
.alp-nevers :is(a, button, summary, input, select):focus-visible {
    outline: 3px solid #8e1420;
    outline-offset: 3px;
}
.alp-nevers-panel {
    padding: clamp(1.15rem, 3vw, 2.25rem);
    background: #f7f6f2;
    border: 1px solid var(--alp-nevers-line);
    border-radius: 14px;
    margin: 1.35rem 0;
}
.alp-nevers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.4rem), 1fr));
    gap: 1rem;
    align-items: stretch;
    margin: 1rem 0 0;
}
.alp-nevers-card {
    display: block;
    background: #fff;
    border-radius: 11px;
    padding: 1.05rem 1.15rem;
    border: 1px solid var(--alp-nevers-line);
    color: var(--alp-nevers-ink);
    overflow-wrap: anywhere;
}
.alp-nevers-card > :last-child { margin-bottom: 0; }
.alp-nevers-links {
    margin: .6rem 0 0;
    padding: 0;
    list-style: none;
}
.alp-nevers-links li { margin: .4rem 0; padding: 0; }
.alp-nevers-links.alp-nevers-towns { columns: 4 10.5rem; column-gap: 1.4rem; }
.alp-nevers-towns li { break-inside: avoid; }
.alp-nevers summary {
    cursor: pointer;
    font-weight: 650;
    padding: .55rem 0;
}
.alp-nevers summary::marker { color: var(--alp-nevers-accent); }
.alp-nevers-details + .alp-nevers-details { border-top: 1px solid var(--alp-nevers-line); }
.alp-nevers-photo {
    margin: 1.1rem 0 .25rem;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--alp-nevers-line);
}
.alp-nevers-photo img {
    display: block;
    width: 100%;
    max-height: 24rem;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}
.alp-nevers-photo figcaption { padding: .8rem 1rem; font-size: .95rem; }
.alp-nevers .alp-nevers-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--alp-nevers-accent);
    color: #fff;
    font-weight: 700;
    border: 1px solid transparent;
    border-radius: 8px;
    min-height: 44px;
    padding: .6rem 1rem;
    text-decoration: none;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.alp-nevers-calculator {
    display: grid;
    gap: .85rem;
    max-width: 43rem;
}
.alp-nevers-calculator label { display: grid; gap: .25rem; font-weight: 600; }
.alp-nevers-calculator input, .alp-nevers-calculator select {
    width: 100%;
    border: 1px solid #b4b1a9;
    border-radius: 7px;
    padding: .55rem .65rem;
    background: #fff;
    color: var(--alp-nevers-ink);
    font: inherit;
    min-height: 44px;
}
.alp-nevers-inputs {
    display: grid;
    gap: .7rem;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
}
.alp-nevers-calculator [hidden] { display: none !important; }
.alp-nevers-calculator output { font-weight: 700; line-height: 1.45; }
.alp-nevers-sources { display: flex; gap: .5rem 1.15rem; flex-wrap: wrap; }
.alp-nevers-quick {
    position: fixed;
    top: 38%;
    right: 1rem;
    z-index: 35;
    width: auto;
    max-width: min(19rem, calc(100vw - 2rem));
    background: #fff;
    border: 1px solid #d6d4cc;
    border-radius: 10px;
    box-shadow: 0 9px 38px rgb(24 30 27 / .18);
}
.alp-nevers-quick summary { padding: .65rem .85rem; line-height: 1.2; }
.alp-nevers-quick nav {
    padding: .2rem .85rem .75rem;
    max-height: 55vh;
    overflow: auto;
}
.alp-nevers-quick a { display: block; padding: .45rem 0; }
@media (max-width: 900px) {
    .alp-nevers-quick {
        top: auto;
        bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
        right: .65rem;
    }
}
@media print { .alp-nevers-quick { display: none; } }
