@import "config.css";
@import "components.css";
@import "jenius.css";
@import "stars.css";

/* Global */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background-color: var(--secondary);
}

body {
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--neutral);
    /* Mac Safari bug */
    /*background-color: var(--secondary);
    transition: color var(--anim), background-color var(--anim);*/
}

/* Header */
header {
    overflow: hidden;
    display: flex;
    align-items: center;
    height: var(--headerH);
}

header .logo-link {
    margin-right: auto;
}

header .lang-switch {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-stretch: 125%;
    margin-top: 0.25rem;
}

header .lang-switch .link {
    display: block;
}

header .lang-switch .link:not(.active) {
    font-weight: 200;
}

header .lang-switch .lang-separate {
    opacity: 50%;
    user-select: none;
    margin-inline: 0.3rem;
}

header .menu-btn {
    --gapY: 0.375rem;
    position: relative;
    width: 2rem;
    aspect-ratio: 1 / 1;
    margin-left: 2.25rem;
    transition: opacity var(--anim);
}

header .menu-btn::before,
header .menu-btn::after {
    content: "";
    position: absolute;
    left: 0;
    top: calc(50% - 1.5px);
    translate: 0 calc(var(--gapY) * -1);
    width: 100%;
    height: 3px;
    border-radius: 2.5rem;
    background-color: var(--neutral);
    transition: translate var(--anim), background-color var(--anim);
}

header .menu-btn::after {
    translate: 0 var(--gapY);
}

@media (min-width: 1000px) {
    header .menu-btn {
        width: 2.5rem;
        margin-left: 3.75rem;
    }

    header .menu-btn:hover,
    header .menu-btn:active {
        --gapY: 0.5625rem;
    }

    header .menu-btn:active {
        opacity: 0.25;
    }
}

/* Menu */
.menu {
    --navW: 67%;
    --sideW: 33%;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: end;
    color: var(--secondary);
    visibility: hidden;
}

.menu .menu-close {
    width: var(--sideW);
    display: grid;
    place-items: center;
}

.menu .menu-close .close-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    opacity: 0.75;
    scale: 0.75;
    transition: opacity var(--anim);
}

.menu .menu-close .close-btn .btn-icon {
    --btnRot: 45deg;
    position: relative;
    width: 1.625rem;
    aspect-ratio: 1 / 1;
}

.menu .menu-close .close-btn .btn-icon::before,
.menu .menu-close .close-btn .btn-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 2.25rem;
    height: 0.1875rem;
    background-color: var(--secondary);
    border-radius: 2.25rem;
    rotate: var(--btnRot);
    transition: rotate var(--anim);
}

.menu .menu-close .close-btn .btn-icon::after {
    rotate: calc(var(--btnRot) * -1);
}

.menu .menu-close .close-btn .btn-text {
    margin-top: 0.875rem;
    text-transform: uppercase;
}

.menu .menu-nav {
    width: var(--navW);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu .menu-nav a {
    --lineS: 1;
    --lineX: 0;
    display: block;
    width: fit-content;
    padding-block: 0.875rem;
    padding-left: 2.25rem;
    line-height: 100%;
    font-weight: 800;
    font-stretch: 125%;
    font-size: 1.75rem;
    text-transform: lowercase;
    position: relative;
    transition: color var(--anim);
}

.menu .menu-nav a::before,
.menu .menu-nav a:first-child::after {
    content: "";
    position: absolute;
    z-index: 3;
    left: 0;
    top: 50%;
    translate: var(--lineX) -50%;
    height: 100%;
    border-left: 4px solid transparent;
    margin-left: -2px;
    scale: 1 var(--lineS);
    transform-origin: top center;
    transition: border-color var(--anim);
}

.menu .menu-nav a:first-child::after {
    z-index: 2;
    scale: 1 calc(var(--lineS) * 6);
    border-color: var(--secondary);
}

.menu .menu-nav a.active,
.menu .menu-nav a:hover,
.menu .menu-nav a.active::before,
.menu .menu-nav a:hover::before {
    color: var(--primary);
    border-color: var(--primary);
}

.menu .menu-nav a.active::before {
    border-left-width: 8px;
    margin-left: -4px;
}

.menu .menu-bg {
    position: absolute;
    z-index: -1;
    top: 0;
    width: 100vw;
    height: 100%;
}

.menu .menu-bg:first-child {
    left: calc(100% - var(--navW));
    background-color: var(--neutral);
}

.menu .menu-bg:nth-child(2) {
    z-index: -2;
    left: calc(100% - var(--navW) - var(--sideW));
    background-color: var(--neutral-dark);
}

@media (min-width: 480px) {
    .menu .menu-nav a {
        font-size: 2rem;
    }
}

@media (min-width: 640px) {
    .menu {
        --navW: 60%;
        --sideW: 18%;
    }

    .menu .menu-nav a {
        padding-left: 3.125rem;
        font-size: 2.5rem;
    }

    .menu .menu-nav a::before,
    .menu .menu-nav a:first-child::after {
        border-left-width: 6px;
        margin-left: -3px;
    }

    .menu .menu-nav a.active::before {
        border-left-width: 12px;
        margin-left: -6px;
    }
}

@media (min-width: 1000px) {
    .menu {
        --navW: 48%;
        --sideW: 14%;
    }

    .menu .menu-close .close-btn {
        scale: 1;
    }

    .menu .menu-close .close-btn:hover {
        opacity: 1;
    }

    .menu .menu-close .close-btn:hover .btn-icon,
    .menu .menu-close .close-btn:active .btn-icon {
        --btnRot: 35deg;
    }

    .menu .menu-close .close-btn:active {
        opacity: 0.25;
        transition: opacity 0.15s;
    }
}

@media (min-width: 1440px) {
    .menu .menu-nav a {
        padding-block: 1.25rem;
        font-size: 3.75rem;
    }
}

/* Footer */
footer {
    margin-top: auto;
    position: relative;
    padding-block: 3.125rem 4.0625rem;
}

footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-top: 1px solid;
    opacity: 50%;
    pointer-events: none;
    user-select: none;
}

.footer-nav {
    display: flex;
    align-items: center;
    flex-direction: column;
    row-gap: 1rem;
    text-align: center;
}

.footer-nav a {
    font-weight: 300;
    font-stretch: 125%;
    text-transform: lowercase;
}

footer .footer-link {
    display: block;
    margin-bottom: 3rem;
    text-align: center;
}

footer .logo-link {
    display: inline-block;
}

footer .network-link {
    display: inline-block;
}

footer .network-link:first-of-type {
    margin-right: 4.5rem;
}

footer .network-link:last-of-type {
    margin-left: 4.5rem;
}

@media (max-width: 400px) {
    footer .network-link:first-of-type {
        margin-right: 2.5vw;
    }

    footer .network-link:last-of-type {
        margin-left: 2.5vw;
    }
}

footer .network-link img {
    height: 2rem;
}

footer.footer-dark {
    color: var(--secondary);
    background-color: var(--neutral);
}

footer.footer-dark .logo-link {
    filter: none;
}

@media (min-width: 1000px) {
    .footer-nav {
        flex-direction: row;
        justify-content: center;
        column-gap: 2.75rem;
    }

    footer .footer-link {
        margin-bottom: 1.875rem;
    }
}

/* -- Home Page */
#home {
    visibility: hidden;
}

/* Video block */
.video-block {
    position: relative;
    z-index: -1;
    height: 13.125rem;
}

.video-block::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    filter: blur(10.9375rem);
    background-image: linear-gradient(var(--accent), var(--primary));
}

.video-block .square {
    display: none;
}

.video-block .block-content {
    position: relative;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.video-block .block-content::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    opacity: 75%;
    background-image: linear-gradient(0deg, var(--secondary), transparent 50%);
}

.video-block .block-content .hero {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-block .block-content .bg {
    position: absolute;
    z-index: 2;
    inset: 0;
    background-color: var(--neutral);
    opacity: 0;
}

@media (min-width: 1000px) {
    .video-block {
        --lightOpa: 0;
        aspect-ratio: unset;
        position: fixed;
        z-index: -1;
        bottom: 0;
        right: 0;
        width: 50%;
        height: calc(100vh - var(--headerH));
    }

    .video-block::before {
        opacity: var(--lightOpa);
    }

    .video-block .square {
        display: block;
        position: absolute;
        z-index: 1;
        bottom: 0;
        left: 50%;
        translate: -50% 0;
        width: 100%;
        aspect-ratio: 1 / 1;
        opacity: 0.28;
        background-color: var(--neutral);
    }

    .video-block .block-content {
        border-radius: 6.25rem 0 0 0;
    }

    .video-block .block-content::after {
        opacity: 50%;
        background-image: linear-gradient(90deg,
                var(--secondary),
                transparent 33%);
    }
}

/* Hero */
#home #hero {
    overflow: hidden;
    margin-top: -1.5rem;
}

#home #hero .title:first-child {
    font-weight: 200;
    max-width: 61.625rem;
}

#home #hero .title:last-child {
    max-width: 69.75rem;
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-top: clamp(1rem, 2vw, 1.5rem);
}

#home #hero .para {
    position: relative;
    margin-left: 8vw;
    font-size: 1.125rem;
    max-width: 33.0625rem;
    margin-block: 3.125rem 2.1875rem;
}

#home #hero .para .para-content {
    font: inherit;
    line-height: inherit;
}

#home #hero .home-line {
    position: absolute;
    z-index: 5;
    left: -1.25rem;
    height: 5.625rem;
    opacity: 75%;
    border-left: 1px solid var(--neutral);
    mix-blend-mode: difference;
}

#home #hero .btn-ctn {
    position: relative;
    z-index: 888;
    height: var(--btnH);
}

#home #hero .btn {
    --btnIconRot: 45deg;
    margin-inline: auto;
}

#home #hero .ai-label {
    display: none;
}

@media (min-width: 1000px) {
    #home #hero {
        margin-top: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: calc(100vh - var(--headerH));
        min-height: 43.75rem;
    }

    #home #hero .title-group {
        margin-left: min(6.75rem, 6vw);
    }

    #home #hero .para {
        font-size: 1.5rem;
        margin-left: 10vw;
    }

    #home #hero .home-line {
        left: -1.75rem;
        height: 7.25rem;
    }

    #home #hero .btn {
        position: absolute;
        right: 50%;
        margin-right: calc(var(--btnH) / 2 * -1);
    }

    #home #hero .btn:hover::after {
        rotate: 90deg;
    }

    #home #hero .ai-label {
        display: block;
        position: absolute;
        z-index: 3;
        right: 0;
        top: calc(100vh - max(7rem, 12vh));
        width: 9.9375rem;
        opacity: .7;
    }
}

@media (min-width: 1440px) {
    #home #hero {
        justify-content: space-evenly;
    }

    #home #hero .para {
        margin-block: 0;
    }

    #home #hero .btn-ctn {
        margin-top: -3.5rem;
    }
}

@media (min-width: 1840px) {
    #home #hero .para {
        margin-left: min(13.5625rem, 13vw);
    }
}

/* Steps */
#home #steps {
    position: relative;
    z-index: 99;
}

#home .step {
    max-width: 38.75rem;
    padding-top: 7rem;
}

#home .step .step-nb {
    font-weight: 900;
    font-size: 12.5rem;
    opacity: 0.2;
    color: var(--accent);
    margin-bottom: -2rem;
}

#home .step:nth-child(2) .step-nb {
    color: var(--primary-light);
}

#home .step:nth-child(3) .step-nb {
    color: var(--primary);
}

#home .step .step-content {
    margin-left: 4rem;
}

#home .step-content .title {
    font-weight: 700;
    font-size: 1.875rem;
    margin-top: -5rem;
}

#home .step-content .para {
    margin-top: 0.5rem;
    will-change: transform;
}

#home .steps-infos {
    margin-top: 10rem;
    padding-block: 6rem;
    position: relative;
    color: var(--secondary);
}

#home .steps-infos::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 100vw;
    height: 100%;
    top: 0;
    left: 50%;
    translate: -50% 0;
    background-color: var(--neutral);
}

#home .steps-infos .image {
    position: static;
    margin-bottom: 1rem;
    margin-left: -0.25rem;
}

#home .steps-infos .image .image-img {
    margin-inline: auto;
}

#home .steps-infos .image .image-clip {
    display: none;
}

#home .steps-infos .title {
    position: relative;
    z-index: 1;
    font-size: 1.875rem;
    margin-bottom: 2.25rem;
}

#home .steps-infos-list {
    position: relative;
    z-index: 1;
    opacity: 0.8;
    display: grid;
    row-gap: 1.5rem;
    padding-left: 1rem;
}

@media (min-width: 1000px) {
    #home .step {
        width: 55%;
        padding-top: 15.625rem;
    }

    #home .steps-infos {
        opacity: 0;
        position: fixed;
        left: 63%;
        top: 50%;
        translate: 0 -50%;
        max-width: 31.25rem;
        margin-top: 0;
        padding-block: 0;
        padding-right: 4rem;
    }

    #home .steps-infos::before,
    #home .steps-infos .image {
        display: none;
    }

    #home .steps-infos .image .image-img {
        margin: 0;
    }
}

@media (min-width: 1440px) {
    #home .step {
        width: 100%;
    }

    #home .step .step-nb {
        font-size: 18.75rem;
    }

    #home .step-content .title {
        font-size: 2.5rem;
        margin-top: -7.25rem;
    }

    #home .step-content .para {
        font-size: 1.25rem;
        margin-top: 1.375rem;
    }

    #home .steps-infos .image {
        position: absolute;
        display: block;
        z-index: -2;
        top: -4.75rem;
        right: calc(95% + 2vw);
        width: 10.9375rem;
    }

    #home .steps-infos .image .image-clip {
        display: block;
        position: absolute;
        inset: -200%;
        z-index: -1;
        top: 50%;
        left: 50%;
        translate: -50% -50%;
        -webkit-mask-image: linear-gradient(90deg, black 48%, transparent 75%);
    }

    #home .steps-infos .image .image-light {
        width: 17.75rem;
        filter: blur(3.875rem);
        opacity: 0.5;
    }
}

@media (min-width: 1440px) and (min-height: 800px) {
    #home .steps-infos .title {
        font-size: 2rem;
        margin-bottom: 2.8125rem;
    }

    #home .steps-infos-list {
        row-gap: 2.1875rem;
    }

    #home .steps-infos-list li {
        font-size: 1.25rem;
    }

    #home .steps-infos .image {
        right: 95%;
        width: 12.375rem;
    }
}

@media (min-width: 1600px) {
    #home .step {
        margin-left: 5vw;
    }

    #home .steps-infos .image {
        right: calc(95% + 2vw);
    }
}

@media (min-width: 1840px) {
    #home .step {
        margin-left: min(14.75rem, 12.5vw);
    }
}

/* Informations */
#home .infos-container {
    position: relative;
    z-index: 3;
    padding-top: 7rem;
    border-radius: 6.25rem 6.25rem 0 0;
}

#home .infos-content {
    display: contents;
    max-width: 96.875rem;
}

#home .infos-content .title {
    margin-bottom: 2.5rem;
}

#home .infos-when .title {
    font-size: 32px;
    font-weight: 200;
    line-height: 125%;
}

#home .infos-when .title span {
    display: block;
    margin-top: 0.5rem;
    font-size: 2.5rem;
}

#home .infos-why {
    margin-top: 6.25rem;
}

#home .infos-why .title span {
    font-size: 2.5rem;
}

#home .infos-why .infos-list {
    counter-reset: infos-list;
    margin-top: 1.5em;
    list-style: none;
}

#home .infos-why .infos-list li::before {
    counter-increment: infos-list;
    content: counter(infos-list) ". ";
    font-weight: 600;
    font-size: inherit;
    color: var(--neutral);
}

#home .infos-content .image {
    margin: 5rem auto -2rem auto;
    position: relative;
    width: 100%;
    max-width: 22.75rem;
}

#home .infos-content .image .image-img {
    width: 80%;
    margin-inline: auto;
}

#home .infos-content .image .image-light {
    width: 162%;
    max-width: 100vw;
    opacity: 0.33;
    filter: blur(9.375rem);
}

@media (min-width: 640px) {
    #home .infos-content .image .image-light {
        opacity: 0.25;
    }
}

@media (min-width: 1000px) {
    #home #infos {
        margin-top: 21.875rem;
    }

    #home .infos-container {
        padding-block: 12.5rem;
    }

    #home .infos-content {
        display: block;
    }

    #home .para {
        font-size: 1.25rem;
    }

    #home .infos-when .title {
        font-size: 3rem;
    }

    #home .infos-when .title span {
        margin-top: 0;
        font-size: 3.5rem;
    }

    #home .infos-why {
        width: 68%;
        margin-top: 9.375rem;
    }

    #home .infos-why .infos-list li {
        font-size: 1.25rem;
    }

    #home .infos-content .image {
        position: absolute;
        z-index: 9;
        right: 0;
        bottom: -2.75rem;
        margin: 0;
    }
}

@media (min-width: 1440px) {
    #home .infos-content .image {
        right: 8%;
    }

    #home .infos-content .image .image-img {
        width: 100%;
    }
}

/* Cta */
#home .cta-container {
    padding-block: 12.5rem;
    background-color: var(--neutral);
}

#home .cta-container .btn-cta {
    margin-block: 0;
}

/* -- Terms Page */
#terms .terms-infos {
    margin-top: 5rem;
    padding-block: 6.25rem;
    color: var(--secondary);
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    row-gap: 5rem;
}

#terms .terms-infos::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 50%;
    translate: -50% 0;
    width: 100vw;
    height: 100%;
    background-color: var(--neutral);
}

#terms .terms-infos .title {
    font-size: clamp(1.75rem, 2vw, 2rem);
    margin: 1.375rem 0;
}

#terms .terms-infos .para,
#terms .terms-infos .para strong {
    color: inherit;
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
    text-align: justify;
    margin-bottom: 1rem;
}

#terms .terms-infos .para a {
    font-size: clamp(1.125rem, 1.5vw, 1.25rem);
}

@media (min-width: 1000px) {

    #terms .terms-infos {
        margin-top: 7.5rem;
        flex-direction: row;
        padding-inline: var(--padX);
    }

    #terms .terms-infos::before {
        left: 0;
        width: 100%;
        translate: 0 0;
        border-radius: 6.25rem 6.25rem 0 0;
    }

    #terms .terms-infos .infos-box {
        width: 40%;
    }
}

/* -- Offers Page */
#offers .page-content>.container {
    display: contents;
}

#offers .offers {
    position: relative;
    margin-top: 3.75rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-areas:
        "tab1 tab2 tab3 tab4 tab5"
        "content content content content content";
    gap: 0.125rem;
}

#offers .offer-tab {
    position: relative;
    z-index: 99;
    grid-area: tab1;
    cursor: pointer;
    height: 5rem;
    padding-inline: 0.2rem;
    word-break: break-word;
    hyphens: auto;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
}

#offers .tab-name:first-letter {
    text-transform: capitalize;
}

#offers .offer-tab::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.25;
    transform-origin: top;
    background-color: var(--primary);
    transition: background-color var(--anim), opacity var(--anim),
        scale var(--anim);
}

#offers .offer-tab:hover::before {
    opacity: 0.5;
}

#offers .offer-tab .tab-name {
    position: relative;
    text-transform: lowercase;
    font-size: 0.875rem;
    font-weight: 700;
    font-stretch: 125%;
    line-height: 100%;
    max-width: 12.5rem;
    transition: translate var(--anim);
}

#offers .offer-tab .tab-name::after {
    content: "";
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    translate: -50% 0;
    width: 50%;
    border-bottom: 4px solid var(--primary);
    scale: 0 1;
    transition: scale .4s var(--ease);
}

#offers .offers input:checked+.offer-group .offer-tab {
    color: var(--secondary);
}

#offers .offers input:checked+.offer-group .offer-tab::before {
    opacity: 1;
    scale: 1 1.15;
    background-color: var(--neutral);
}

#offers .offers input:checked+.offer-group .offer-tab .tab-name {
    translate: 0 1.375rem;
}

#offers .offers input:checked+.offer-group .offer-tab .tab-name::after {
    scale: 1 1;
}

#offers .offer-group {
    display: contents;
}

#offers .offer-group:nth-of-type(2) .offer-tab {
    grid-area: tab2;
}

#offers .offer-group:nth-of-type(3) .offer-tab {
    grid-area: tab3;
}

#offers .offer-group:nth-of-type(4) .offer-tab {
    grid-area: tab4;
}

#offers .offer-group:nth-of-type(5) .offer-tab {
    grid-area: tab5;
}

#offers .offer-content {
    visibility: hidden;
    grid-area: content;
    color: var(--secondary);
    background-color: var(--neutral);
    position: relative;
    z-index: 9;
    display: flex;
    align-items: center;
}

#offers .offer-content .content-container {
    translate: -3.125rem 0;
    padding-inline: clamp(1rem, 8vw, 10rem);
    padding-block: clamp(4rem, 5vw, 5.625rem) 7.5rem;
    transition: translate .4s var(--ease);
}

#offers .offer-content .offer-title {
    font-weight: 700;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-stretch: 125%;
    margin-bottom: 1.4rem;
}

#offers .offer-content .para {
    opacity: 0.85;
    color: inherit;
}

#offers .offer-details {
    margin-top: 4.375rem;
}

#offers .offer-details .detail {
    margin-top: 2.25rem;
    display: grid;
    column-gap: 0.875rem;
    grid-template-columns: 2.875rem auto;
    grid-template-rows: 2.875rem auto;
}

#offers .offer-details .detail-icon {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

#offers .offer-details .detail-name {
    opacity: 0.6;
    font-size: 1.125rem;
    align-self: center;
}

#offers .offer-details .para {
    grid-column: 2 / 3;
}

#offers .offers input {
    opacity: 0;
    position: absolute;
    z-index: -999;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

#offers .offers input:checked+.offer-group .offer-content {
    visibility: inherit;
}

#offers .offers input:checked+.offer-group .offer-content .content-container {
    opacity: 1;
    translate: 0 0;
}

#offers .space {
    display: none;
}

#offers .offer-content .offer-illustration {
    margin-top: 4rem;
    position: relative;
}

#offers .offer-illustration .img {
    width: 25rem;
    position: relative;
    margin-inline: auto;
    z-index: 10;
}

#offers .offer-illustration .light {
    position: absolute;
    z-index: 9;
    inset: 0;
    scale: 1.2;
    opacity: 0.25;
    filter: blur(4.6875rem);
}

#offers .offer-illustration .btn {
    position: absolute;
    z-index: 11;
    bottom: 0;
    left: 0;
    translate: 8% 40%;
}

@media (min-width: 640px) {
    #offers .page-content>.container {
        display: block;
    }

    #offers .offers {
        gap: 0.5rem;
    }

    #offers .offer-tab {
        height: 4rem;
    }

    #offers .offer-tab .tab-name {
        font-size: 1rem;
    }

    #offers .offer-illustration .btn {
        translate: 8% 18%;
    }
}

@media (min-width: 1000px) {
    #offers .offers {
        grid-template-columns: repeat(6, 1fr);
        grid-template-areas:
            "tab1 tab2 tab3 tab4 tab5 input"
            "content content content content content space";
    }

    #offers .offer-content {
        box-shadow: none;
    }

    #offers .offer-content .offer-title {
        margin-bottom: 2.25rem;
    }

    #offers .offer-content .para {
        width: 85%;
        font-size: 1.25rem;
    }

    #offers .offers input:checked+.offer-group .offer-tab .tab-name {
        translate: 0 1.875rem;
    }

    #offers .offers input {
        grid-area: input;
    }

    #offers .space {
        display: block;
        position: relative;
        grid-area: space;
        border-radius: 0 6.25rem 0 0;
        background-color: var(--neutral-dark);
        box-shadow: -0.5rem 0 0 var(--neutral-dark);
    }

    #offers .offer-content .offer-illustration {
        margin-top: 0;
        position: absolute;
        z-index: 9;
        top: 50%;
        right: 0;
        translate: 50% -50%;
    }

    #offers .offer-illustration .img {
        margin-inline: 0;
    }

    #offers .offer-illustration .btn {
        translate: 15% 35%;
    }
}

@media (min-width: 1440px) {
    #offers .page-content>.container {
        display: block;
    }

    #offers .offers {
        margin-top: 5.625rem;
    }

    #offers .offer-tab {
        height: 5rem;
    }

    #offers .offer-tab .tab-name {
        font-size: 1.25rem;
    }

    #offers .offer-illustration .img {
        width: 31.25rem;
    }

    #offers .offer-illustration .btn {
        translate: -40% 0;
    }
}