:root {
    --launch-black: #0b0b0a;
    --launch-paper: #f6f2e9;
    --launch-yellow: #EFEF00;
    --launch-coral: #E87560;
    --launch-grid: rgba(11, 11, 10, 0.075);
}

/* Évite le scroll lorsque l'overlay est présent */
body.launch-is-locked {
    overflow: hidden;
}

.launch-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;

    display: grid;
    place-items: center;

    padding: clamp(18px, 4vw, 55px);

    background: rgba(222, 218, 210, 0.2);
    backdrop-filter: blur(7px) saturate(0.65);
    -webkit-backdrop-filter: blur(7px) saturate(0.65);

    overflow-y: auto;
}

.launch-overlay__modal {
    width: min(1040px, 100%);
    color: var(--launch-black);
    background: var(--launch-paper);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.18),
        0 3px 12px rgba(0, 0, 0, 0.1);

    animation: launch-modal-in 600ms cubic-bezier(0.22, 1, 0.36, 1)
        both;
}

.launch-overlay__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(230px, 29vw, 330px);
    min-height: 625px;
}

.launch-overlay__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: clamp(42px, 6vw, 82px);
}

.launch-overlay__eyebrow {
    margin: 0 0 clamp(55px, 8vh, 95px);

    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.launch-overlay__title {
    display: flex;
    flex-direction: column;
    max-width: 680px;
    margin: 0 0 30px;
    font-size: 70px;
    /* font-weight: 800; */
    line-height: 0.87;
    /* letter-spacing: -0.07em; */
}

.launch-overlay__title span,
.launch-overlay__title strong {
    display: block;
}

.launch-overlay__title strong {
    color: var(--launch-coral);
    font-weight: inherit;
}

.launch-overlay__intro {
    max-width: 610px;
    margin: 0 0 32px;

    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.5;
}

.launch-overlay__form {
    width: 100%;
    max-width: 680px;
}

.launch-overlay__form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
}

.launch-overlay__form input {
    min-width: 0;
    min-height: 58px;

    padding: 0 20px;

    color: var(--launch-black);
    background: transparent;
    border: 1.5px solid var(--launch-black);
    border-right: 0;
    border-radius: 0;

    font: inherit;
    outline: none;

    transition:
        background-color 180ms ease,
        box-shadow 180ms ease;
}

.launch-overlay__form input::placeholder {
    color: rgba(11, 11, 10, 0.5);
}

.launch-overlay__form input:focus {
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--launch-yellow);
}

.launch-overlay__form button {
    min-height: 58px;
    padding: 0 30px;

    color: #fff;
    background: var(--launch-black);
    border: 1.5px solid var(--launch-black);
    border-radius: 0;

    font: inherit;
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.launch-overlay__form button:hover,
.launch-overlay__form button:focus-visible {
    color: var(--launch-black);
    background: var(--launch-yellow);
}

.launch-overlay__legal {
    margin: 10px 0 0;

    color: rgba(11, 11, 10, 0.6);

    font-size: 0.72rem;
    line-height: 1.4;
}

.launch-overlay__error {
    margin: 10px 0 0;
    color: var(--launch-coral);

    font-size: 0.84rem;
    font-weight: 700;
}

.launch-overlay__success {
    max-width: 680px;
    margin-bottom: 24px;
    padding: 22px 24px;

    background: var(--launch-yellow);
}

.launch-overlay__success strong {
    display: block;
    margin-bottom: 5px;

    font-size: 1.1rem;
}

.launch-overlay__success p {
    margin: 0;
    line-height: 1.45;
}

.launch-overlay__instagram {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;

    width: fit-content;
    min-width: min(100%, 395px);
    margin-top: 16px;
    padding: 14px 18px;

    color: var(--launch-black);
    border: 1.5px solid var(--launch-black);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-decoration: none;
    text-transform: uppercase;

    transition:
        color 180ms ease,
        background-color 180ms ease;
}

.launch-overlay__instagram:hover,
.launch-overlay__instagram:focus-visible {
    color: #fff;
    background: var(--launch-coral);
}

.launch-overlay__instagram-icon {
    width: 24px;
    height: 24px;
}

.launch-overlay__instagram-icon svg {
    width: 100%;
    height: 100%;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.launch-overlay__instagram-icon .is-filled {
    fill: currentColor;
    stroke: none;
}

.launch-overlay__arrow {
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1;
}

.launch-overlay__visual {
    position: relative;
    isolation: isolate;
    padding: 60px 42px;
    /* background: var(--launch-yellow); */
    overflow: hidden;
}

.launch-overlay__visual p {
    position: relative;
    z-index: 2;

    margin: 0;

    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.launch-overlay__visual-line {
    position: relative;
    z-index: 2;

    display: block;

    width: 1px;
    height: 90px;
    margin: 25px 0 0 50%;

    background: var(--launch-black);
}

.launch-overlay__shape {
    position: absolute;
    right: -38%;
    bottom: -9%;
    width: 148%;
    aspect-ratio: 1 / 1.15;
    background: url(../img/forme.png) no-repeat center / 100% 100%;
    /* border-radius: 50% 50% 0 0; */
    transform: rotate(-7deg);
    animation: launch-shape 3s ease-in-out infinite alternate;
}

.launch-overlay__meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;

    min-height: 80px;
    padding: 18px clamp(28px, 5vw, 70px);

    border-top: 1px solid rgba(11, 11, 10, 0.14);

    background-image:
        linear-gradient(
            var(--launch-grid) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            var(--launch-grid) 1px,
            transparent 1px
        );

    background-size: 22px 22px;
}

.launch-overlay__reassurance {
    display: flex;
    align-items: center;
    gap: 28px;

    font-size: 0.72rem;
}

.launch-overlay__reassurance span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.launch-overlay__reassurance strong {
    color: var(--launch-coral);
    font-size: 0.64rem;
    letter-spacing: 0.08em;
}

.launch-overlay__languages {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 0.82rem;
    font-weight: 800;
}

.launch-overlay__languages a {
    position: relative;

    padding: 7px 3px;

    color: var(--launch-black);
    text-decoration: none;
}

.launch-overlay__languages a::after {
    position: absolute;
    right: 3px;
    bottom: 3px;
    left: 3px;

    height: 3px;

    background: var(--launch-coral);

    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.launch-overlay__languages a:hover::after,
.launch-overlay__languages a:focus-visible::after,
.launch-overlay__languages a.is-active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.launch-overlay__honeypot {
    position: absolute !important;
    left: -10000px !important;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;

    border: 0;
}

@keyframes launch-modal-in {
    from {
        opacity: 0;
        transform: translateY(25px) scale(0.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes launch-shape {
    from {
        transform: rotate(-7deg) translateY(0);
    }

    to {
        transform: rotate(-3deg) translateY(-12px);
    }
}

@media (max-width: 850px) {
    .launch-overlay {
        align-items: start;
        padding: 15px;
    }

    .launch-overlay__modal {
        margin: auto 0;
    }

    .launch-overlay__main {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .launch-overlay__visual {
        order: -1;
        min-height: 115px;
        padding: 25px 28px;
    }

    .launch-overlay__visual-line {
        display: none;
    }

    .launch-overlay__shape {
        right: -10%;
        bottom: -180%;

        width: 72%;
        aspect-ratio: 1;
    }

    .launch-overlay__content {
        padding: 36px 28px 42px;
    }

    .launch-overlay__eyebrow {
        margin-bottom: 45px;
    }

    .launch-overlay__title {
        font-size: clamp(3.1rem, 14vw, 5rem);
    }

    .launch-overlay__meta {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .launch-overlay__reassurance {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }
}

@media (max-width: 550px) {
    .launch-overlay {
        padding: 0;
    }

    .launch-overlay__modal {
        min-height: 100%;
        box-shadow: none;
    }

    .launch-overlay__form-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .launch-overlay__form input {
        border-right: 1.5px solid var(--launch-black);
    }

    .launch-overlay__form button {
        width: 100%;
    }

    .launch-overlay__instagram {
        width: 100%;
        min-width: 0;
    }

    .launch-overlay__meta {
        padding: 22px 28px 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-overlay__modal,
    .launch-overlay__shape {
        animation: none;
    }
}


.shop-preview-bar {
    position: relative;
    z-index: 99999;

    display: flex;
    justify-content: center;
    gap: 20px;

    padding: 10px 20px;

    background: #f3f000;
    color: #0b0b0a;

    font-size: 12px;
    font-weight: 700;
}

.shop-preview-bar a {
    color: inherit;
    text-decoration: underline;
}