:root {
    --aulink-hero-min-height: 32rem;
    --aulink-button-shadow: 0 0.5rem 1.25rem rgba(76, 31, 81, 0.24);
}

.page-aulink {
    background: #f4f3f7;
}

.conhecer_portifolio {
    display: none;
}

.container__hero {
    width: 100%;
    min-height: var(--aulink-hero-min-height);
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 4rem var(--page-gutter) 2rem;
    border-radius: 0 0 1rem 1rem;
    background-image: url('../images/aulink/aulink-bg.webp');
    background-position: 20% center;
    background-size: cover;

    &::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(246, 245, 250, 0.8) 0%,
            rgba(240, 237, 246, 0.7) 42%,
            rgba(76, 31, 81, 0.58) 100%
        );
    }

    .content {
        width: 100%;
        max-width: 32rem;
        position: relative;
        z-index: 1;
        display: grid;
        gap: 2rem;
        margin: 0 auto;
    }

    figure {
        width: min(100%, 15rem);
        justify-self: center;

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

    nav {
        display: grid;
        gap: 0.75rem;

        a {
            width: 100%;
            min-height: 3rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.375rem;
            padding: 0.75rem 1.5rem;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 0.25rem;
            color: var(--white);
            font-size: 0.875rem;
            font-weight: 600;
            line-height: 1;
            background: #5a2063;
            box-shadow: var(--aulink-button-shadow);
            transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
        }

        a:hover {
            background: #421748;
            box-shadow: 0 0.75rem 1.5rem rgba(76, 31, 81, 0.3);
            transform: translateY(-0.125rem);
        }

        a:focus-visible {
            outline: 0.1875rem solid rgba(255, 255, 255, 0.82);
            outline-offset: 0.1875rem;
        }

        i {
            width: 1rem;
            font-size: 1rem;
            line-height: 1;
            text-align: center;
        }
    }
}

@media (min-width: 576px) {
    .container__hero {
        min-height: 38rem;

        .content {
            max-width: 36rem;
        }

        nav {
            gap: 1rem;
        }
    }
}

@media (min-width: 768px) {
    .container__hero {
        min-height: 42rem;
        padding-top: 5rem;
        padding-bottom: 5rem;

        figure {
            width: min(100%, 19rem);
        }
    }
}

@media (min-width: 992px) {
    .container__hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 4rem;
        padding-bottom: 4rem;
        background-position: center;

        .content {
            max-width: var(--page-max);
            grid-template-columns: minmax(0, 0.95fr) minmax(28rem, 1.05fr);
            align-items: center;
            gap: 5rem;
        }

        figure {
            width: min(100%, 23rem);
        }

        nav {
            gap: 1.5rem;

            a {
                min-height: 2.75rem;
                font-size: 0.875rem;
            }
        }
    }
}

@media (min-width: 1200px) {
    .container__hero {
        .content {
            gap: 6rem;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .container__hero nav a {
        transition: none;
    }
}
