/*
 * Winter 2026 campaign homepage (index-winter.html / index-winter-fr.html)
 * Copied from Juan's mockup on Sandy (css/winter-home.css). Loaded only by app/views/frontend/index_winter.html.erb
 * (content_for :css), after frontend.css, which includes style.css and responsive.css.
 * Temporary: load this file only on the winter homepage, after style.css and responsive.css.
 * Every class here starts with "wh-" so it can be removed in one piece after the campaign.
 * Reused from style.css: .section-heading (dash, Aracne title, intro), .btn.chaleur-btn,
 * .chaleur-welcome-area, .carousel-fade, .colors-links, .down-link-area.
 */

/* ---------- Hero ---------- */

/* The hero grows past the screen height when its text needs it (short screens, longer French) */

.wh-hero.chaleur-welcome-area {
    display: flex;
    height: auto;
    min-height: 100vh;
}

.wh-hero .carousel {
    position: absolute;
    inset: 0;
}

.wh-hero .carousel-inner,
.wh-hero .carousel-item {
    height: 100%;
    min-height: 0;
}

/* The site's red tint on the slider is replaced by the dark gradient below */
.wh-hero .carousel::after {
    content: none;
}

.wh-hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.18) 86.875%);
}

.wh-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 130px 20px 110px;
}

.wh-hero__inner {
    max-width: 715px;
}

.wh-hero__title {
    font-family: 'aracneultracondreg', sans-serif;
    font-weight: normal;
    font-size: 64px;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
    max-width: 643px;
    margin: 0 0 30px;
}

.wh-hero__text {
    font-size: 16px;
    line-height: 1.4;
    color: #fff;
    margin: 0 0 30px;
}

/* ---------- Buttons (modifier on .btn.chaleur-btn) ---------- */

.chaleur-btn.wh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 48px;
    padding: 8px 30px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    white-space: normal;
}

/* ---------- Sections ---------- */

.wh-section {
    position: relative;
    padding: 50px 0 60px;
}

.wh-section--dark {
    background-color: #414042;
}

.wh-section--light {
    background-color: #eff7ff;
}

.wh-section--red {
    background-color: #b12028;
}

.wh-section--photo {
    background-size: cover;
    background-position: center;
}

.wh-section--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(65, 64, 66, 0.6);
}

.wh-section > .container {
    position: relative;
}

.wh-section .section-heading {
    margin-bottom: 40px;
}

.wh-section .section-heading h2,
.wh-section .section-heading .wh-closing__title {
    font-size: 60px;
    letter-spacing: 0;
}

.wh-section .section-heading p {
    font-size: 18px;
    line-height: 1.4;
}

.wh-section--light .section-heading span {
    background-color: #212529;
}

.wh-section--light .section-heading h2 {
    color: #212529;
}

.wh-section .section-heading .wh-closing__title {
    margin-bottom: 0;
}

/* ---------- Cards ---------- */

.wh-cards > [class*="col-"] {
    margin-bottom: 30px;
}

.wh-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: #fff;
    overflow: hidden;
}

.wh-card__media {
    position: relative;
    height: 260px;
    margin: 0;
    background-color: #414042;
}

.wh-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wh-card__labels {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.wh-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}

.wh-label--red {
    background-color: #b12028;
}

.wh-label--blue {
    background-color: #005f9e;
}

.wh-label--yellow {
    background-color: #e6b711;
}

.wh-label--days {
    font-weight: 700;
    text-transform: none;
}

.wh-label--days i {
    font-size: 18px;
}

.wh-card__body {
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
}

.wh-card__title {
    font-size: 18px;
    font-weight: 800;
    line-height: 20px;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 20px;
}

.wh-card__text {
    font-size: 14px;
    line-height: 25px;
    color: #848484;
    max-width: 594px;
    margin: 0 0 20px;
}

.wh-card .wh-btn {
    margin-top: auto;
}

/* ---------- Breakpoints (mobile first) ---------- */

@media (min-width: 576px) {
    .wh-hero__content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .wh-hero__title {
        font-size: 90px;
    }

    .wh-hero__text {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .wh-hero__content {
        padding-left: 60px;
    }

    .wh-hero__title {
        font-size: min(110px, 16vh);
    }

    .wh-section {
        padding-bottom: 60px;
    }

    .wh-section .section-heading {
        margin-bottom: 60px;
    }

    .wh-section .section-heading h2,
    .wh-section .section-heading .wh-closing__title {
        font-size: 96px;
    }

    .wh-section .section-heading p {
        font-size: 22px;
    }

    .wh-card__media {
        height: 340px;
    }

    .wh-card__labels {
        top: 30px;
        left: 30px;
    }

    .wh-label {
        min-height: 60px;
        padding: 8px 40px;
        font-size: 16px;
    }

    .wh-label--days {
        padding-left: 30px;
        padding-right: 30px;
    }

    .wh-label--days i {
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    .wh-container.container {
        max-width: 1320px;
    }

    .wh-hero__content {
        padding-left: 132px;
    }

    .wh-hero__title {
        font-size: min(150px, 19vh);
    }

    .wh-hero__text {
        font-size: 20px;
    }

    .wh-section {
        padding-bottom: 90px;
    }

    .wh-section .section-heading {
        margin-bottom: 80px;
    }

    .wh-section--light .section-heading {
        margin-bottom: 64px;
    }

    .wh-section .section-heading h2 {
        font-size: 150px;
    }

    .wh-section .section-heading .wh-closing__title {
        font-size: 128px;
    }

    .wh-section .section-heading p {
        font-size: 25px;
    }

    .wh-card__media {
        height: 417px;
    }

    .wh-cards--wide .wh-card__media {
        height: 400px;
    }

    .wh-cards > [class*="col-"] {
        margin-bottom: 0;
    }
}
