.lato-thin {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.lato-light {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: normal;
}

p {
    text-align: justify;
}


.lato-regular {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.lato-bold {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.lato-black {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.lato-thin-italic {
  font-family: "Lato", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.lato-light-italic {
  font-family: "Lato", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.lato-regular-italic {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.lato-bold-italic {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.lato-black-italic {
  font-family: "Lato", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.lavishly-yours-regular {
  font-family: "Lavishly Yours", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  background-color: rgb(212, 180, 131)
}

h1 {
  font-size: 1.2rem;
}

.corso-page {
        background: #1A1200;
        color: #fff;
        overflow-x: clip;
    }

    .corso-spacer {
        display: grid;
        min-height: 100vh;
        place-items: center;
        padding: 6rem 1.5rem;
        background: rgb(26, 18, 0);
        color: #F2EAD3;
    }

    .corso-spacer-inner {
        width: min(960px, 100%);
    }

    .corso-spacer h1 {
        margin: 0 0 1rem;
        font-size: clamp(2.5rem, 8vw, 7rem);
        font-weight: 800;
        line-height: 0.92;
        text-transform: uppercase;
    }

    .corso-spacer p {
        max-width: 560px;
        margin: 0;
        font-size: clamp(1rem, 2vw, 1.4rem);
        line-height: 1.5;
        text-align: left;
    }

    .corso-video-mask {
        --mask-scale: 129.6;
        --mask-progress: 0;
        --promo-progress: 0;
        --mask-opacity: 1;
        position: relative;
        min-height: 390vh;
        background: #1A1200;
    }

    .corso-video-mask-stage {
        position: sticky;
        top: 0;
        height: 100vh;
        min-height: 560px;
        overflow: hidden;
        background: #1A1200;
        isolation: isolate;
    }

    .corso-mask-video-shell,
    .corso-mask-video,
    .corso-mask-overlay {
        position: absolute;
        inset: 0;
    }

    .corso-mask-video-shell {
        background-image: url('{{ asset('images/duane-mendes-p-gGii_xGK8-unsplash.jpg') }}');
        background-position: center;
        background-size: cover;
        transform: scale(1.02);
    }

    .corso-mask-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .corso-mask-overlay {
        z-index: 2;
        width: 100%;
        height: 100%;
        pointer-events: none;
    }

    .corso-mask-word-wrap {
        transform-box: view-box;
        transform-origin: 50% 50%;
        transform: scale(var(--mask-scale));
        opacity: var(--mask-opacity);
    }

    .corso-mask-word {
        font-family: "Montserrat", sans-serif;
        font-size: 14px;
        font-weight: 700;
        letter-spacing: 0.1em;
    }

    .corso-mask-copy {
        position: absolute;
        right: max(1.25rem, 5vw);
        bottom: max(1.5rem, 7vh);
        z-index: 3;
        width: min(420px, calc(100% - 2.5rem));
        opacity: var(--mask-progress);
        transform: translateY(calc((1 - var(--mask-progress)) * 44px));
        color: rgba(255, 255, 255, 0.84);
        transition: opacity 0.12s linear;
    }

    .corso-mask-copy h2 {
        margin: 0 0 0.7rem;
        font-size: clamp(1.7rem, 4vw, 3.5rem);
        font-weight: 800;
        line-height: 0.95;
        text-transform: uppercase;
    }

    .corso-mask-copy p {
        margin: 0;
        color: rgba(255, 255, 255, 0.68);
        font-size: 1rem;
        line-height: 1.55;
        text-align: left;
    }

    .corso-mask-promo {
        position: absolute;
        top: 60%;
        left: 50%;
        z-index: 3;
        width: min(860px, calc(100% - 3rem));
        opacity: var(--promo-progress);
        transform: translate(-50%, calc((1 - var(--promo-progress)) * 32px));
        pointer-events: none;
    }

    .corso-mask-promo p {
        margin: 0;
        color: #fff;
        font-size: 1.5rem;
        font-weight: 400;
        line-height: 1.25;
        text-align: center;
    }

    .corso-mask-toggle {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        z-index: 4;
        display: inline-grid;
        width: 3rem;
        height: 3rem;
        place-items: center;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        cursor: pointer;
        backdrop-filter: blur(10px);
    }

    .corso-mask-toggle i {
        font-size: 1rem;
    }

    .corso-next-content {
        min-height: 80vh;
        padding: 7rem 1.5rem;
        background: #fff;
        color: #111;
    }

    .corso-next-content .container {
        max-width: 980px;
    }

    .corso-next-content h2 {
        margin-bottom: 1rem;
        font-size: clamp(2rem, 6vw, 5rem);
        font-weight: 800;
        line-height: 1;
        text-transform: uppercase;
    }

    .corso-next-content p {
        max-width: 620px;
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: left;
    }

    @media (max-width: 767.98px) {
        .corso-video-mask {
            --mask-scale: 100.8;
            min-height: 330vh;
        }

        .corso-video-mask-stage {
            min-height: 520px;
        }

        .corso-mask-word {
            font-size: 13px;
        }

        .corso-mask-copy {
            right: 1.25rem;
            bottom: 1.5rem;
        }

        .corso-mask-promo {
            top: 58%;
            width: min(560px, calc(100% - 2.5rem));
        }

        .corso-mask-promo p {
            font-size: 1.35rem;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .corso-video-mask {
            --mask-scale: 1.1;
        }
    }

.covercopertina {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.covercopertina-image {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: scale(1);
    transform-origin: center;
    transition: transform 0.6s ease;
}

.covercopertina::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.6s ease;
}

.covercopertina > .covercopertina-content {
    position: absolute;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    width: auto;
    height: auto;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.covercopertina-content .btn {
    flex-shrink: 0;
}

.covercopertina-text {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 0.25rem;
}

.covercopertina-text h2,
.covercopertina-text p {
    margin: 0;
    text-align: left;
}

.covercopertina-text h2 {
    font-size: 1.4rem;
    font-weight: 400;
}

.covercopertina-text p {
    line-height: 1.4;
}

.covercopertina:hover .covercopertina-image {
    transform: scale(1.1);
}

.covercopertina:hover::after {
    background-color: rgba(0, 0, 0, 0.5);
}

.covercopertina:hover .covercopertina-content,
.covercopertina:focus-within .covercopertina-content {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .covercopertina-image,
    .covercopertina::after,
    .covercopertina-content {
        transition: none;
    }
}
