:root {
    --yellow: #fff600;
    --blue: #030039;
    --white: #fff;
    --gray: #d1d5dc;
    --text-gray: #4a5565;
    --brown: #534400;
    --background: #f9fafb;
    --error: #df0000;

    --linear-yellow: linear-gradient(to bottom, #fff600, #ffd000);
    --linear-blue: linear-gradient(to bottom, #5dffcc, #31c6eb);

    --font-family: 'Poppins', 'Arial';
}

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

body {
    background-color: var(--background);
    color: var(--blue);
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.44px;

    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

main {
    overflow: hidden;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

/**
    COMPONENTS
*/

.btn-cta {
    padding: 12px 20px;
    background: var(--linear-yellow);
    color: var(--blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 11px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
    display: inline-block;

    &:hover {
        opacity: 0.85;
    }

    &:disabled {
        cursor: not-allowed;
        opacity: 0.5;
    }

    @media screen and (min-width: 768px) {
        padding-inline: 24px;
        font-size: 14px;
    }
}

.btn-cta-large {
    width: 100%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form {
    position: relative;
    padding: 1.5rem;
    color: var(--blue);
    background-color: var(--white);
    border-radius: 1rem;
    max-width: calc(100vw - 40px);

    .anchor {
        position: absolute;
        top: calc(-1 * var(--header-h));
    }

    .form__title {
        font-size: 20px;
        line-height: 1.15;
        margin-bottom: 12px;
    }
    .form__subtitle {
        margin-block: 22px 1rem;
        font-size: 20px;
        line-height: 1.15;
    }

    .form__required {
        font-size: 11px;
        text-align: center;
        color: #6a7282;
    }

    .form__input {
        display: block;
        width: 100%;
        padding: 11px 9px;
        font-size: 14px;
        outline: none;
        border: 1px solid var(--gray);
        border-radius: 10px;
        margin-bottom: 1rem;
    }

    .iti {
        width: 100%;
    }

    .errorMsg {
        font-size: 12px;
        color: var(--error);
        margin-bottom: 1rem;
        padding-top: 2px;
    }

    .form__input::placeholder {
        color: #0a0a0a80;
    }
    .form__input:focus,
    .form__input:active {
        border-color: var(--blue);
    }

    .form__checkbox-wrapper,
    .form__radio-wrapper {
        margin-block: 1rem;
        display: flex;
        align-items: start;
        gap: 0.5rem;
        font-size: 12px;
        cursor: pointer;
        color: #4a5565;
        line-height: 20px;
    }

    .form__radio-wrapper {
        margin-block: 0.5rem;
        margin-right: 1rem;
        display: inline-flex;
        align-items: center;
        font-size: 16px;

        input {
            width: 16px;
            height: 16px;
            accent-color: var(--blue);
        }
    }

    .form__radio-outer {
        margin-block: 1rem;
    }

    .form__radio-outer--inline {
        display: flex;
        align-items: center;
        gap: 14px;

        .form__radio-wrapper {
            margin-block: 0;
        }

        @media screen and (max-width: 768px) {
            .form__label--radio,
            .form__radio-wrapper {
                font-size: 14px;
            }
            .form__radio-wrapper {
                margin-right: 2px;
            }
        }
    }

    .form__label--radio {
        display: block;
    }

    .form__select-outer {
        position: relative;
    }

    .form__select {
        appearance: none;
        cursor: pointer;
    }

    .form__select__arrow {
        position: absolute;
        top: 50%;
        right: 0.5rem;
        transform: translate(-50%, -50%);
        pointer-events: none;
    }

    .form__select:has([value='']:checked),
    .form__select__label {
        color: #0a0a0a80;
    }

    .form__select__label:has(+ .form__select__label) {
        color: inherit;
    }

    .form__select__dropdown {
        position: absolute;
        display: none;
        top: 100%;
        left: 0;
        border: 1px solid currentColor;
        border-radius: 12px;
        background-color: var(--white);
        padding: 4px 16px;
        width: 100%;
    }

    .form__select--multiple:is(:focus, :active, :focus-within) .form__select__dropdown {
        display: block;
    }
    .form__select--multiple {
        > .form__select__label {
            max-width: 90%;
            display: none;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        > .form__select__label:first-child {
            display: block;
        }
    }

    .form__grid {
        display: grid;
    }

    .btn-cta {
        margin-bottom: 1rem;
    }

    @media screen and (min-width: 768px) {
        padding: 24px;

        .form__title {
            font-size: 2rem;
        }
        .form__subtitle {
            font-size: 1.5rem;
        }

        .form__input {
            padding: 13px 17px;
            font-size: 1rem;
        }

        .form__checkbox {
            width: 1rem;
            height: 1rem;
            border: 1px solid #c7c7c7;
            border-radius: 3px;
            flex-shrink: 0;
            margin-top: 3px;
            cursor: pointer;
        }

        .form__checkbox-wrapper {
            gap: 0.75rem;
            font-size: 14px;
        }

        .form__grid {
            margin-bottom: 1rem;
            .form__input {
                margin-bottom: 0;
            }
        }

        .form__grid.two-cols {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .form__required {
            font-size: 12px;
        }
    }

    @media screen and (min-width: 1240px) {
        .form__title {
            margin-top: 28px;
        }
    }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.container--large {
    max-width: 1360px;
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/**
    BLOCS
*/

.header {
    position: sticky;
    top: 0;
    z-index: 99;
}

.notification-bar {
    padding: 10px 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.25rem 1rem;
    background-color: var(--yellow);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;

    a {
        font-weight: 400;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

    @media screen and (min-width: 768px) {
        font-size: 14px;
    }
}

.navbar {
    padding: 20px;
    background-color: var(--blue);

    @media screen and (min-width: 1024px) {
        padding: 16px 80px;
    }
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.navbar__logo {
    width: 120px;

    @media screen and (min-width: 1024px) {
        width: 165px;
    }
}

.hero {
    padding: 25px 20px 48px;
    background-color: var(--blue);
    color: var(--white);
    overflow: hidden;

    .hero__container {
        display: grid;
        align-items: start;
        gap: 45px 120px;
    }

    .hero__content {
        position: relative;
    }

    .hero__content > .form {
        margin-bottom: 2rem;
        z-index: 10;
    }

    .hero__banner {
        max-width: min(100%, 450px);
        height: auto;
    }

    .hero__title {
        margin-block: 42px 25px;
        font-size: 20px;
        font-weight: 600;
        line-height: 100%;
    }

    .hero__subtitle {
        position: relative;
        line-height: 1.5;
    }

    .hero__list {
        margin: 2rem 0;
        list-style-type: none;
        font-size: 16px;
        display: grid;
        gap: 10px;

        li {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .icon,
        .icon img {
            width: 22px;
            height: 22px;
        }

        .check-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 99px;
            background-image: var(--linear-yellow);

            img {
                width: 10px;
                height: 8px;
            }
        }
    }

    .hero__avis {
        --gap: 18px;
        display: flex;
        align-items: center;
        gap: var(--gap);
        transform: scale(0.93);
        transform-origin: center left;

        .avis-score-wrapper {
            padding-left: var(--gap);
            border-left: 1px solid rgba(255 255 255 / 30%);
            font-size: 25px;
            font-weight: 500;
            line-height: 1.5;
        }

        .stars {
            display: flex;
            gap: 2px;
        }
    }

    .hero__footer {
        margin-top: 1.5rem;
        font-size: 12px;
        line-height: 14px;
        max-width: 30ch;

        p {
            margin-top: 5px;
        }
    }

    .hero__form {
        display: none;
    }

    .hero__img-rond {
        position: absolute;
        top: var(--top, 35%);
        right: 0;
        width: 235px;
        height: auto;
        object-fit: cover;
        transform: translate(50%, -50%);
    }

    .hero__title:has(.title-solaire) {
        margin-top: 0;
        max-width: unset;
    }

    .hero__title:has(.title-solaire) + .hero__subtitle br {
        display: none;
    }

    .title-solaire {
        text-transform: uppercase;
        font-style: italic;
        font-weight: 900;
        font-size: 28px;
        line-height: 1;
    }

    .title-solaire span {
        display: block;
    }

    .title-solaire .yellow {
        width: fit-content;
        margin-bottom: 1px;
        padding: 6px 12px 4px 4px;
        background-color: var(--yellow);
        font-size: 20px;
        line-height: 1.1;
        color: var(--blue);
    }
}

@media screen and (min-width: 1240px) {
    .hero {
        .hero__container {
            grid-template-columns: auto 555px;
        }

        .hero__img-rond {
            --top: calc(50% - 50px);
            left: var(--left, 450px);
            transform: translate(0, -50%);
        }

        .hero__img-rond--bottom {
            --top: calc(100% + 150px);
        }
    }
}
@media screen and (min-width: 1024px) {
    .hero {
        padding: 25px 80px 80px;

        .hero__title,
        .hero__subtitle > .content {
            max-width: 55vw;
        }

        .hero__title {
            margin-top: 25px;
        }
        .hero__banner {
            max-width: 100%;
        }

        .hero__content > .form {
            display: none;
        }

        .hero__form {
            display: block;
        }
    }
}

@media screen and (min-width: 768px) {
    .hero {
        .hero__title {
            font-size: 40px;
        }

        .hero__list {
            font-size: 18px;

            .icon,
            .icon img {
                width: 25px;
                height: 25px;
            }

            .check-icon {
                img {
                    width: 12px;
                    height: 10px;
                }
            }
        }

        .hero__avis {
            transform: scale(1);
        }

        .hero__title:has(.title-solaire) + .hero__subtitle br {
            display: block;
        }

        .hero__img-rond {
            width: 410px;
            height: 410px;
        }

        .title-solaire {
            font-size: 54px;
        }

        .title-solaire .yellow {
            padding: 6px 12px 4px 4px;
            font-size: 40px;
        }
    }
}

.advantages {
    padding: 48px 20px;
    background-position: center;
    background-size: cover;

    @media screen and (min-width: 1024px) {
        padding: 120px 80px;
    }

    .advantages__title {
        color: var(--white);
        padding-bottom: 2rem;
        text-align: center;
        font-size: 22px;
        font-weight: 600;

        @media screen and (min-width: 768px) {
            padding-bottom: 2.5rem;
            font-size: 30px;
        }
    }
}

.cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
    --gap: 2rem;

    .card {
        flex: 0 0 100%;
        padding: 25px;
        background-color: var(--white);
        border-radius: 14px;
    }

    .card__image {
        width: 48px;
        height: 48px;
    }
    .card__img {
        width: 56px;
        height: 56px;
    }

    .card__title {
        margin-top: 1rem;
        font-size: 20px;
        font-weight: 600;
    }

    .card__body {
        line-height: 1.5;

        p {
            margin-top: 1rem;
        }
    }

    .card__list {
        margin-top: 25px;
        font-weight: 600;
        list-style: none;

        li {
            margin-block: 1rem;
            display: flex;
            gap: 0.75rem;
            align-items: center;
        }
    }

    @media screen and (min-width: 768px) {
        .card {
            flex: 0 0 calc(50% - (var(--gap) / 2));
            padding: 40px;
        }

        .card__title {
            font-size: 24px;
        }
    }
    @media screen and (min-width: 1024px) {
        .card__header {
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .card__image {
            width: 56px;
            height: 56px;
        }

        .card__title {
            margin-top: 0;
        }

        .card__body,
        .card__list {
            padding-left: 76px;
        }

        .card__body {
            p {
                margin-top: 1.25rem;
            }
        }
    }
}

.product {
    padding: 64px 20px;

    .product__image {
        position: relative;
        background-color: var(--blue);
        border-radius: 18px;
        overflow: hidden;

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

        .cover {
            width: 100%;
            object-fit: cover;
        }

        .product__image-wrapper {
            height: 100%;
            overflow: hidden;
        }
    }

    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 56px;
        height: 56px;
        background: var(--white);
        border: none;
        border-radius: 99px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition:
            transform 0.2s,
            opacity 0.2s;
        z-index: 2;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

        svg {
            width: 20px;
            height: 20px;
        }
    }

    .play-button:hover {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }

    .product__content {
        padding-top: 2rem;
    }
    .product__title {
        color: var(--blue);
        font-size: 24px;
        font-weight: 600;
    }
    .product__subtitle {
        margin-block: 0.5rem;
        color: #6b7280;
        font-size: 14px;
    }

    .feature-card-carousel {
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: var(--white);
        padding-bottom: 1.75rem;

        .carousel-icon-img {
            width: 60px;
            height: 60px;
        }

        .swiper-slide {
            padding: 1rem;
        }

        .swiper-nav {
            padding: 1rem;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;
        }

        .swiper-arrow {
            color: var(--blue);
            position: static !important;
            height: 12px;
            margin-top: 0;
        }

        .swiper-arrow::after {
            font-size: 12px;
        }

        .swiper-pagination {
            position: static;
            width: fit-content;
        }

        .swiper-pagination-bullet {
            width: 8px;
            height: 8px;
            background: #e5e7eb;
            transition: background 0.2s;
            opacity: 1;
        }

        .swiper-pagination-bullet-active {
            background: var(--blue);
        }

        .feature-card-inner:has(.feature-card-image) {
            display: grid;
            grid-template-columns: 1.3fr 1fr;
            align-items: center;
            gap: 12px;
        }

        .feature-card-title {
            margin-block: 1.25rem;
            font-size: 18px;
            font-weight: 600;
            line-height: 1.25;
            text-transform: uppercase;
        }

        .feature-card-description {
            color: #6b7280;
            font-size: 13px;
            line-height: 1.5;
            letter-spacing: 0;
        }

        .carousel-indicators {
            margin-top: 40px;
            display: flex;
            align-items: center;
            gap: 12px;
            justify-content: center;
            align-items: center;
        }

        .carousel-arrow {
            background: none;
            border: none;
            font-size: 1.25em;
            line-height: 1;
            color: #9ca3af;
            cursor: pointer;
            transition: color 0.2s;
        }

        .carousel-arrow:hover {
            color: var(--blue);
        }
    }

    .mini-cards {
        margin-block: 0.5rem;
        display: grid;
        gap: 0.5rem;
    }

    .mini-card {
        display: flex;
        width: 100%;
        padding: 1rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: var(--white);
        text-align: center;
        line-height: 1.5;

        .mini-card-title {
            font-size: 20px;
            line-height: 1.125;
            font-weight: 600;
        }

        .mini-card-subtitle {
            color: #6b7280;
            font-size: 13px;
        }

        .flag {
            width: 30px;
            height: 30px;
            border-radius: 99px;
        }

        .flag--all {
            background: linear-gradient(to bottom, #000 33.33%, #dc0000 33.33%, #dc0000 66.67%, #fece00 66.67%);
        }
    }

    .rating-section {
        padding: 1.5rem;
        border-radius: 12px;
        display: flex;
        gap: 0.75rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        background: #f0f6fc;
        box-shadow:
            0 1px 3px 0 rgba(0, 0, 0, 0.1),
            0 1px 2px 0 rgba(0, 0, 0, 0.1);

        .rating-score {
            font-size: 40px;
            font-weight: 600;
            line-height: 1;
        }

        .rating-stars {
            display: flex;
            gap: 2px;
        }

        .rating-text {
            color: #485c7f;
            font-size: 14px;
        }
    }

    @media screen and (min-width: 1024px) {
        padding: 200px 80px;

        .product__container {
            padding: 40px;
            display: flex;
            gap: 48px;
        }

        .product__container > * {
            flex: 0 1 calc(50% - 24px);
            overflow: hidden;
        }

        .product__image {
            img {
                position: absolute;
                bottom: 0;
                left: 50%;
                height: 100%;
                width: auto;
                object-fit: contain;
                max-width: 200%;
                transform: translatex(-50%);
            }
        }

        .play-button {
            width: 64px;
            height: 64px;
        }
        .product__content {
            padding-top: 0;
        }

        .product__title {
            font-size: 2rem;
        }

        .product__subtitle {
            margin-block: 1.5rem 2rem;
            font-size: 1rem;
        }

        .feature-card-carousel {
            .swiper-slide {
                padding: 1.5rem;
            }

            .carousel-icon-img {
                width: 72px;
                height: 72px;
            }

            .feature-card-title {
                margin-block: 2.5rem;
                font-size: 20px;
            }

            .feature-card-description {
                font-size: 14px;
            }

            .carousel-indicators {
                margin-top: 60px;
                gap: 1rem;
            }
        }

        .mini-cards {
            margin-block: 2rem;
            grid-template-columns: repeat(var(--cols, 2), 1fr);
            gap: 1rem;
        }

        .mini-card {
            padding: 1.25rem 0.25rem;

            .mini-card-title {
                font-size: 24px;
            }

            .mini-card-subtitle {
                font-size: 14px;
            }
        }

        .rating-section {
            padding: 2rem;

            .rating-score {
                font-size: 48px;
            }

            .rating-text {
                font-size: 16px;
            }

            .rating-stars svg {
                width: 24px;
                height: 24px;
            }
        }
    }
}

.reviews {
    background-color: var(--blue);
    padding: 3rem 20px;

    .reviews__bg-logo {
        display: none;
        position: absolute;
    }

    .reviews__header {
        color: var(--white);
    }

    .reviews__title {
        color: var(--white);
        font-size: 30px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .reviews__rating {
        padding-block: 20px 48px;
        display: flex;
        align-items: center;
        gap: 1rem;

        > img {
            width: 80px;
        }

        .avis-verifies-content {
            padding-left: 1rem;
            border-left: 1px solid rgba(255 255 255 / 30%);
        }

        .avis-verifies-score {
            font-size: 14px;
            font-weight: 500;
            margin-bottom: 4px;
        }
        .avis-verifies-stars {
            display: flex;
            gap: 2px;

            svg {
                width: 16px;
                height: 16px;
            }
        }
    }

    .avis-carousel-wrapper {
        position: relative;
        width: 100%;
    }

    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        border-radius: 99px;
        background: var(--white);
        border: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition:
            background-color 0.2s,
            transform 0.2s,
            opacity 0.2s;
        color: var(--blue);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 10;
    }

    .carousel-nav.carousel-prev {
        left: 16px;
    }

    .carousel-nav.carousel-next {
        right: 16px;
    }

    .carousel-nav:hover {
        background-color: #f0f0f0;
        transform: translateY(-50%) scale(1.05);
    }

    .carousel-nav:active {
        transform: translateY(-50%) scale(0.95);
    }

    .carousel-nav svg {
        width: 24px;
        height: 24px;
    }

    .avis-carousel {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
        touch-action: pan-x pan-y;
        cursor: grab;

        .swiper-wrapper {
            height: auto;
        }
    }

    .avis-carousel:active {
        cursor: grabbing;
    }

    .avis-carousel::-webkit-scrollbar {
        display: none;
    }

    .avis-card {
        background: #fff;
        border-radius: 14px;
        padding: 1rem;
        min-width: 260px;
        height: 100%;
        min-height: 100%;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .avis-card-note {
        display: block;
        margin-bottom: 6px;
        font-size: 12px;
        font-weight: 600;
    }

    .avis-card-stars {
        display: flex;
        gap: 2px;

        svg {
            width: 16px;
            height: 16px;
        }
    }

    .avis-card-text {
        display: block;
        margin-block: 1rem;
        font-size: 14px;
        line-height: 1.5;
    }

    .avis-card-author {
        display: block;
        margin-top: auto;
        font-size: 12px;
        font-weight: 600;
    }

    @media screen and (min-width: 1024px) {
        position: relative;
        padding: 80px 40px;

        .reviews__bg-logo {
            display: block;
            left: 0;
            bottom: 0;
            transform: translateX(-63%);
        }

        .reviews__header {
            padding-bottom: 80px;
            display: flex;
            align-items: end;
            justify-content: end;
            gap: 40px;
        }

        .reviews__title {
            font-size: 40px;
        }

        .reviews__rating {
            padding: 0;

            > img {
                width: 92px;
            }

            .avis-verifies-score {
                font-size: 16px;
                margin-bottom: 6px;
            }

            .avis-verifies-stars {
                svg {
                    width: 20px;
                    height: 20px;
                }
            }
        }

        .avis-carousel {
            gap: 1.5rem;
        }

        .avis-card {
            padding: 2rem;
            width: auto;
            min-width: 320px;
            max-width: 400px;
        }

        .avis-card-note {
            margin-bottom: 8px;
            font-size: 14px;
        }
        .avis-card-stars {
            svg {
                width: 18px;
                height: 18px;
            }
        }

        .avis-card-text {
            font-size: 1rem;
        }

        .avis-card-author {
            font-size: 14px;
        }
    }
}

.footer {
    padding: 2rem;
    background-color: var(--blue);
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: 500;

    .footer__container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }

    a {
        text-decoration: none;
        text-underline-offset: 2px;
        text-decoration-thickness: 1px;

        &:hover {
            text-decoration: underline;
        }
    }

    @media screen and (min-width: 1024px) {
        padding-inline: 80px;
    }
}

.video-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-lightbox-content {
    position: relative;
    width: auto;
    max-width: 90vw;
    height: 90vh;
    max-height: 90vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 99px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-color 0.2s,
        transform 0.2s;
    color: var(--white);
    z-index: 10001;
}

.video-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.video-lightbox-close svg {
    width: 24px;
    height: 24px;
}

.video-lightbox-iframe-wrapper {
    position: relative;
    width: auto;
    height: 100%;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    background: var(--black);
}

.video-lightbox-iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: var(--black);
}

.video-lightbox:fullscreen .video-lightbox-content {
    width: auto;
    height: 100vh;
    max-width: none;
    max-height: none;
}

.video-lightbox:fullscreen .video-lightbox-iframe-wrapper {
    height: 100vh;
    aspect-ratio: 9 / 16;
}

.video-lightbox:-webkit-full-screen .video-lightbox-content {
    width: auto;
    height: 100vh;
    max-width: none;
    max-height: none;
}

.video-lightbox:-webkit-full-screen .video-lightbox-iframe-wrapper {
    height: 100vh;
    aspect-ratio: 9 / 16;
}

.video-lightbox:-moz-full-screen .video-lightbox-content {
    width: auto;
    height: 100vh;
    max-width: none;
    max-height: none;
}

.video-lightbox:-moz-full-screen .video-lightbox-iframe-wrapper {
    height: 100vh;
    aspect-ratio: 9 / 16;
}

/* Responsive : ajuster la hauteur sur mobile */
@media (max-width: 768px) {
    .video-lightbox-content {
        max-width: 95vw;
        height: 85vh;
        max-height: 85vh;
    }
}

.tpl-confirmation {
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    .navbar__container {
        justify-content: center;
    }

    main {
        padding: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: var(--blue);
        flex-grow: 1;
    }

    .confirmation__card {
        padding: 24px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 480px;
        text-align: center;
        font-size: 14px;
        background-color: var(--white);
        border-radius: 1rem;

        .btn-cta {
            margin-top: 0.5rem;
            padding: 12px 16px;
            font-size: 13px;
        }
    }

    .confirmation__icon {
        margin-bottom: 1.5rem;
        width: 60px;
        height: 60px;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 99px;
        background: var(--linear-yellow);
    }

    .confirmation__title,
    .confirmation__content p {
        margin-bottom: 0.5rem;
    }

    .confirmation__title {
        font-size: 18px;
        font-weight: 600;
    }
    .confirmation__content {
        color: #4b5563;
    }

    @media screen and (min-width: 768px) {
        .confirmation__card {
            padding: 40px;
            font-size: 15px;

            .btn-cta {
                font-size: 1rem;
                padding: 12px 24px;
                height: 56px;
            }
        }

        .confirmation__icon {
            margin-bottom: 2rem;
            width: 70px;
            height: 70px;

            svg {
                width: 38px;
                height: 38px;
            }
        }

        .confirmation__title {
            font-size: 20px;
        }
    }

    @media screen and (min-width: 1024px) {
        .confirmation__card {
            padding: 48px;
            font-size: 16px;
        }

        .confirmation__icon {
            margin-bottom: 2rem;
            width: 80px;
            height: 80px;

            svg {
                width: 44px;
                height: 44px;
            }
        }

        .confirmation__title,
        .confirmation__content p {
            margin-bottom: 1rem;
        }

        .confirmation__title {
            font-size: 28px;
        }
    }
}

.cf-turnstile {
    margin-bottom: 1rem;
}
.cf-turnstile-error {
    display: block;
    margin: 0.5rem 0;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--error);
}

.swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    min-width: 0; /* important en grid/flex */
}

.tpl-lp {
    .title-solaire .yellow {
        margin-top: 10px;
    }

    @media screen and (max-width: 767px) {
        .hero {
            .title-solaire {
                font-size: 25px;
                line-height: 1.15;

                br {
                    display: none;
                }
            }

            .hero__subtitle {
                font-size: 12px;
                > .content {
                    max-width: 100ch;
                }
            }

            .hero__img-rond {
                display: block;
                margin: 0 auto;
                position: static;
                transform: none;
            }

            .hero__list {
                margin-top: 0;
            }
        }
    }

    @media screen and (min-width: 768px) {
        .hero {
            .title-solaire {
                font-size: 40px;
                line-height: 1.15;
                position: relative;
                z-index: 10;
            }

            .title-solaire .yellow {
                margin-top: 16px;
            }

            .hero__subtitle {
                max-width: 40ch;

                > .content {
                    position: relative;
                    z-index: 10;
                }
            }
        }
    }
}
