/* =========================================
   SFG CONSULTORIA IMOBILIÁRIA
   HERO SECTION
========================================= */

.sfg-hero {

    position: relative;
    isolation: isolate;

    padding-top: 80px;

    display: flex;
    align-items: center;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;
    background: var(--hero-navy);
    color: var(--hero-white);
}


/* =========================================
   IMAGEM DE FUNDO
========================================= */

.sfg-hero__background {
    position: absolute;
    z-index: -2;
    inset: 0;

    overflow: hidden;
}

.sfg-hero__image {
    display: block;

    width: 100%;
    height: 100%;

    position: absolute;
    inset: 0;

    object-fit: cover;
    object-position: center 55%;

    animation: sfg-hero-image-enter 1.2s ease-out both;
}


/* =========================================
   SOBREPOSIÇÃO ESCURA
========================================= */

.sfg-hero::before {
    content: "";

    position: absolute;
    z-index: -1;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(11, 21, 36, 0.96) 0%,
            rgba(11, 21, 36, 0.88) 30%,
            rgba(11, 21, 36, 0.64) 55%,
            rgba(11, 21, 36, 0.24) 100%
        );

    pointer-events: none;
}


/* Degradê inferior para transição entre seções */

.sfg-hero::after {
    content: "";

    position: absolute;
    z-index: -1;
    inset: auto 0 0;

    height: 150px;

    background: linear-gradient(
        0deg,
        rgba(11, 21, 36, 0.58),
        transparent
    );

    pointer-events: none;
}


/* =========================================
   CONTAINER
========================================= */

.sfg-hero__container {
    width: 100%;
    max-width: 1440px;

    margin: 0 auto;
    padding: 100px 5% 120px;
}


/* =========================================
   CONTEÚDO
========================================= */

.sfg-hero__content {
    width: 100%;
    max-width: 720px;
}


/* =========================================
   TEXTO SUPERIOR
========================================= */

.sfg-hero__eyebrow {
    display: flex;
    align-items: center;

    gap: 14px;
    margin-bottom: 28px;

    color: var(--hero-gold);

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.2em;
    line-height: 1.6;
    text-transform: uppercase;
}

.sfg-hero__eyebrow-line {
    display: block;

    width: 38px;
    height: 1px;

    flex-shrink: 0;

    background: var(--hero-gold);
}


/* =========================================
   TÍTULO PRINCIPAL
========================================= */

.sfg-hero__title {
    margin: 0;
    max-width: 720px;
    color: var(--hero-white);
    font-size: clamp(44px, 5.1vw, 72px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.035em;

    text-wrap: balance;
}

.sfg-hero__highlight {
    display: block;

    margin-top: 5px;

    color: var(--hero-gold);
    font-weight: 500;
}


/* =========================================
   DESCRIÇÃO
========================================= */

.sfg-hero__description {
    max-width: 560px;

    margin: 25px 0 0;

    color: var(--hero-muted);

    font-family: 'Montserrat', sans-serif;
    font-size: var(--text-clamp);
    font-weight: 400;

    line-height: 1.9;
    letter-spacing: 0.005em;
}


/* =========================================
   BOTÕES
========================================= */

.sfg-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;
    margin-top: 34px;
}

.sfg-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 54px;
    padding: 0 23px;

    border: 1px solid transparent;
    border-radius: 3px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;

    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.sfg-hero__button svg {
    flex-shrink: 0;
}


/* Botão principal */

.sfg-hero__button--primary {
    background: var(--hero-gold);
    border-color: var(--hero-gold);

    color: var(--hero-navy);
}

.sfg-hero__button--primary:hover {
    background: #d6b982;
    border-color: #d6b982;

    color: var(--hero-navy);

    transform: translateY(-2px);
}


/* Botão secundário */

.sfg-hero__button--secondary {
    background: rgba(16, 29, 48, 0.18);
    border-color: rgba(255, 255, 255, 0.42);

    color: var(--hero-white);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sfg-hero__button--secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--hero-gold);

    color: var(--hero-gold);

    transform: translateY(-2px);
}


/* =========================================
   LOCALIZAÇÃO
========================================= */

.sfg-hero__location {
    display: flex;
    align-items: center;

    gap: 9px;
    margin-top: 35px;

    color: rgba(255, 255, 255, 0.78);

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;

    line-height: 1.6;
}

.sfg-hero__location svg {
    flex-shrink: 0;
    color: var(--hero-gold);
}


/* =========================================
   INDICADOR INFERIOR
========================================= */

.sfg-hero__bottom {
    position: absolute;
    right: 5%;
    bottom: 30px;
    left: 5%;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 18px;

    pointer-events: none;
}

.sfg-hero__bottom-label {
    color: rgba(255, 255, 255, 0.66);

    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.sfg-hero__bottom-line {
    display: block;

    width: 58px;
    height: 1px;

    background: var(--hero-gold);
}


/* =========================================
   ANIMAÇÃO DE ENTRADA
========================================= */

@keyframes sfg-hero-image-enter {
    from {
        opacity: 0.7;
        transform: scale(1.035);
    }

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


/* =========================================
   NOTEBOOKS
========================================= */

@media (max-width: 1100px) {

    .sfg-hero {
        min-height: 610px;
    }

    .sfg-hero__container {
        padding: 90px 4% 110px;
    }

    .sfg-hero__content {
        max-width: 650px;
    }

    .sfg-hero__title {
        font-size: clamp(43px, 5.5vw, 62px);
    }

    .sfg-hero__bottom {
        right: 4%;
        left: 4%;
    }
}


/* =========================================
   TABLETS E CELULARES
========================================= */

@media (max-width: 768px) {

    .sfg-hero {
        min-height: 620px;
        align-items: center;
    }

    .sfg-hero__image {
        object-position: 60% center;
    }

    .sfg-hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(11, 21, 36, 0.93) 0%,
                rgba(11, 21, 36, 0.83) 55%,
                rgba(11, 21, 36, 0.62) 100%
            ),
            linear-gradient(
                0deg,
                rgba(11, 21, 36, 0.3),
                transparent 70%
            );
    }

    .sfg-hero__container {
        padding: 85px 7% 105px;
    }

    .sfg-hero__content {
        max-width: 590px;
    }

    .sfg-hero__eyebrow {
        gap: 11px;
        margin-bottom: 24px;

        font-size: 10px;
        letter-spacing: 0.16em;
    }

    .sfg-hero__eyebrow-line {
        width: 28px;
    }

    .sfg-hero__title {
        font-size: clamp(42px, 7.5vw, 58px);
        line-height: 1.13;
    }

    .sfg-hero__actions {
        gap: 12px;
        margin-top: 29px;
    }

    .sfg-hero__button {
        min-height: 51px;
        padding: 0 17px;

        font-size: 11px;
    }

    .sfg-hero__location {
        margin-top: 29px;
        font-size: 11px;
    }

    .sfg-hero__bottom {
        right: 7%;
        bottom: 23px;
        left: 7%;
    }

}


/* =========================================
   CELULARES
========================================= */

@media (max-width: 480px) {

    .sfg-hero {
        min-height: 640px;
        min-height: min(700px, 88svh);
    }

    .sfg-hero__image {
        object-position: 62% center;
    }

    .sfg-hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(11, 21, 36, 0.91),
                rgba(11, 21, 36, 0.73)
            ),
            linear-gradient(
                0deg,
                rgba(11, 21, 36, 0.55),
                transparent 80%
            );
    }

    .sfg-hero__container {
        padding: 65px 23px 85px;
    }

    .sfg-hero__content {
        max-width: 100%;
    }

    .sfg-hero__eyebrow {
        margin-bottom: 22px;

        font-size: 9px;
        letter-spacing: 0.14em;
    }

    .sfg-hero__eyebrow-line {
        width: 24px;
    }

    .sfg-hero__title {
        font-size: clamp(37px, 10vw, 46px);
        line-height: 1.14;
        letter-spacing: -0.035em;
    }

    .sfg-hero__highlight {
        margin-top: 7px;
    }

    .sfg-hero__actions {
        align-items: stretch;
        flex-direction: column;

        gap: 11px;
        margin-top: 27px;
    }

    .sfg-hero__button {
        width: 100%;
        min-height: 53px;

        padding: 0 17px;

        font-size: 12px;
    }

    .sfg-hero__location {
        margin-top: 25px;
        font-size: 11px;
    }

    .sfg-hero__bottom {
        right: 23px;
        bottom: 19px;
        left: 23px;

        justify-content: flex-start;
        gap: 12px;
    }

    .sfg-hero__bottom-label {
        font-size: 9px;
        letter-spacing: 0.08em;
    }

    .sfg-hero__bottom-line {
        width: 35px;
    }

}


/* =========================================
   CELULARES MUITO PEQUENOS
========================================= */

@media (max-width: 350px) {

    .sfg-hero__container {
        padding-right: 18px;
        padding-left: 18px;
    }

    .sfg-hero__title {
        font-size: 35px;
    }

    .sfg-hero__bottom {
        right: 18px;
        left: 18px;
    }

}


/* =========================================
   ACESSIBILIDADE
========================================= */

.sfg-hero__button:focus-visible {
    outline: 2px solid var(--hero-white);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .sfg-hero__image {
        animation: none;
    }

    .sfg-hero__button {
        transition: none;
    }

}