/* clamp(MIN, calc(MAX / VIEWPORT * 100vw), MAX) */

:root {
    --obtenez-dm-sans-font: "DM Sans", "Segoe UI", Roboto, Arial;
    --obtenez-poppins-font: "Poppins", "Trebuchet MS", "Noto Sans", Arial;
    --obtenez-trs-medium: 500ms ease-in-out;
    --obtenez-coral: #FF5833;
}

.cta-button {
    display: block;
    width: fit-content;
    padding: 18px 32px;
    font-family: var(--obtenez-dm-sans-font, "DM Sans"), sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    border-radius: 32px;
    border: 2px solid var(--obtenez-coral);
    background-color: var(--obtenez-coral);
    transition: color var(--obtenez-trs-medium), background-color var(--obtenez-trs-medium), padding var(--obtenez-trs-medium);
}

.cta-button:hover, .cta-button:focus {
    background-color: #FFFFFF;
    color: var(--obtenez-coral);
}

.cta-button--icon {
    display: flex;
    align-items: center;
    gap: 22px;

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

.main-header.scrolled .cta-button {
    padding-top: 12px;
    padding-bottom: 12px;
}

.main-header .cta-button {
    @media (width < 1280px) {
        padding: 12px;
    }
}

.video-trigger {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "DM Sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    color: #053639;
    text-decoration-line: underline;
    text-transform: uppercase;
    transition: color .5s ease-out;
}

.video-trigger:hover, .video-trigger:focus {
    color: #ff5833;
}

.video-modal[hidden] { display: none; }
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}
.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}
.video-modal__dialog {
    position: relative;
    width: min(900px, calc(100% - 32px));
    margin: 8vh auto 0;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
.video-modal__content {
    aspect-ratio: 16 / 9;
}
.video-modal__content iframe,
.video-modal__content video {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.video-modal__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}