/* ============================================================
   HERO SECTION — Fernando Henrique Consultor Imobiliário
   Adaptado da LP The City Tower com cores laranja (logo)
   ============================================================ */

/* Fonte: Outfit (padrão do site) */

/* Variáveis do hero */
:root {
    --fh-laranja: #E84E0F;
    --fh-laranja-claro: #F05C20;
    --fh-laranja-escuro: #C93B00;
    --fh-laranja-borda: rgba(232, 78, 15, 0.25);
    --fh-laranja-borda-forte: rgba(232, 78, 15, 0.5);
    --fh-branco: #F0EAD6;
    --fh-cinza: #9A9A9A;
    --fh-fonte-titulo: 'Outfit', sans-serif;
    --fh-fonte-corpo: 'Outfit', sans-serif;
    --fh-transicao: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Keyframes de animação */
@keyframes fhSubir {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

@keyframes fhExpandir {
    from {
        transform: scaleX(0);
        opacity: 0;
    }

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

.fh-animar-subir {
    animation: fhSubir 1s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.fh-animar-expandir {
    animation: fhExpandir 1s cubic-bezier(0.4, 0, 0.2, 1) both;
    transform-origin: left;
}

/* ============================================================ HERO WRAP */
.fh-hero-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* ============================================================ HERO */
.fh-hero {
    position: relative;
    width: 100%;
    min-height: 70vh;
    background-image: url('../img/the-city-tower/32.jpg');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    max-height: 70%;
}

.fh-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(0, 0, 0, 0.90) 0%, rgba(0, 0, 0, 0.5) 45%, transparent 100%),
        linear-gradient(105deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 1;
}

/* Grain texture */
.fh-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 2;
    pointer-events: none;
}

/* Text-shadows para legibilidade */
.fh-hero-pre,
.fh-hero-titulo,
.fh-hero-destaque,
.fh-hero-sub,
.fh-hero-badge span {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7), 0 3px 18px rgba(0, 0, 0, 0.5);
}

/* ============================================================ CONTEÚDO */
.fh-hero-conteudo {
    position: relative;
    z-index: 3;
    padding: 80px 0 80px 80px;
    width: 55%;
    max-width: 700px;
}

/* ============================================================ IMAGEM DO EMPREENDIMENTO */
.fh-hero-imagem {
    position: relative;
    z-index: 3;
    padding: 50px 60px 50px 30px;
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    align-self: flex-end;
}

.fh-hero-imagem img {
    max-width: 100%;
    height: auto;
    max-height: 88vh;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    bottom: -70px;
    position: absolute;
}

/* ============================================================ TIPOGRAFIA HERO */
.fh-hero-pre {
    font-family: var(--fh-fonte-corpo);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--fh-laranja);
    margin-bottom: 18px;
    display: block;
    font-weight: 500;
}

.fh-hero-linha {
    width: 40px;
    height: 2px;
    background: var(--fh-laranja);
    margin-bottom: 32px;
}

.fh-hero-tem-novo-nome {
    font-family: var(--fh-fonte-corpo);
    font-size: 13px;
    font-weight: 300;
    color: rgba(240, 234, 214, 0.55);
    letter-spacing: 0.15em;
    margin-bottom: 4px;
    font-style: italic;
}

.fh-hero-titulo {
    font-family: var(--fh-fonte-titulo);
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.0;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.fh-hero-titulo em {
    font-style: italic;
    font-weight: 300;
    color: rgba(240, 234, 214, 0.75);
}

.fh-hero-destaque {
    font-family: var(--fh-fonte-titulo);
    font-size: 20px;
    font-weight: 600;
    color: var(--fh-laranja);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 18px;
    margin-top: 14px;
    display: block;
}

.fh-hero-sub {
    font-family: var(--fh-fonte-corpo);
    font-size: 15px;
    font-weight: 300;
    color: rgba(240, 234, 214, 0.75);
    letter-spacing: 0.06em;
    margin-bottom: 40px;
    display: block;
}

/* ============================================================ BADGE DESTAQUE */
.fh-hero-badge {
    display: inline-block;
    border-left: 2px solid var(--fh-laranja);
    padding-left: 14px;
    margin-bottom: 22px;
    margin-top: 20px;
}

.fh-hero-badge span {
    font-family: var(--fh-fonte-corpo);
    font-size: 12px;
    font-weight: 500;
    color: var(--fh-laranja);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ============================================================ BOTÃO HERO */
.fh-btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #ffffff;
    font-family: var(--fh-fonte-corpo);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 18px 40px;
    transition: var(--fh-transicao);
    min-height: 56px;
    text-decoration: none;
    border: 2px solid #25D366;
    cursor: pointer;
}

.fh-btn-hero:hover {
    background: #128C7E;
    border-color: #128C7E;
    color: #ffffff;
    gap: 18px;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.fh-btn-hero-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: rgba(240, 234, 214, 0.9);
    font-family: var(--fh-fonte-corpo);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    padding: 18px 36px;
    transition: var(--fh-transicao);
    min-height: 56px;
    text-decoration: none;
    border: 1.5px solid rgba(232, 78, 15, 0.4);
    cursor: pointer;
    margin-left: 16px;
}

.fh-btn-hero-outline:hover {
    background: rgba(232, 78, 15, 0.12);
    border-color: var(--fh-laranja);
    color: var(--fh-laranja);
    gap: 18px;
}

.fh-hero-btns {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

/* ============================================================ SCROLL INDICATOR */
.fh-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 80px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.fh-hero-scroll span {
    font-size: 9px;
    letter-spacing: 0.35em;
    color: rgba(240, 234, 214, 0.45);
    text-transform: uppercase;
    font-family: var(--fh-fonte-corpo);
}

.fh-hero-scroll-linha {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(232, 78, 15, 0.6), transparent);
    animation: fhScrollBlink 2.2s ease-in-out infinite;
}

@keyframes fhScrollBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ============================================================ STATS STRIP */
.fh-hero-stats {
    position: relative;
    z-index: 3;
    width: 100%;
    background: #f7f4ef;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    padding: 0;
    overflow: hidden;
}

.fh-hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--fh-laranja) 25%, var(--fh-laranja-claro) 50%, var(--fh-laranja) 75%, transparent 100%);
}

.fh-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 38px 72px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    transition: background 0.35s ease;
}

.fh-stat-item:last-child {
    border-right: none;
}

.fh-stat-item:hover {
    background: rgba(232, 78, 15, 0.06);
}

.fh-stat-item::before {
    content: '';
    display: block;
    width: 18px;
    height: 1px;
    background: var(--fh-laranja);
    margin-bottom: 14px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.fh-stat-item:hover::before {
    width: 36px;
}

.fh-stat-num {
    font-family: var(--fh-fonte-titulo);
    font-size: 52px;
    font-weight: 300;
    color: var(--fh-laranja);
    line-height: 1;
    letter-spacing: -0.02em;
}

.fh-stat-label {
    font-family: var(--fh-fonte-corpo);
    font-size: 9px;
    font-weight: 500;
    color: rgba(30, 20, 10, 0.45);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 10px;
}

/* ============================================================ LOGO NO HERO */
.fh-hero-logo {
    position: absolute;
    top: 28px;
    left: 80px;
    z-index: 10;
}

.fh-hero-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

/* ============================================================ MEDIA QUERIES */
@media (max-width: 1199px) {
    .fh-hero-conteudo {
        padding: 130px 0 60px 50px;
    }

    .fh-hero-titulo {
        font-size: 64px;
    }

    .fh-hero-imagem {
        padding: 50px 40px 50px 20px;
    }

    .fh-hero-logo {
        left: 50px;
    }

    .fh-hero-scroll {
        left: 50px;
    }
}

@media (max-width: 991px) {
    .fh-hero {
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
        min-height: 70vh;
    }

    .fh-hero-conteudo {
        padding: 140px 30px 32px 30px;
        width: 100%;
        max-width: 100%;
    }

    .fh-hero-imagem {
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 0 24px 32px 24px;
        align-self: auto;
    }

    .fh-hero-imagem img {
        max-height: 320px;
        position: static;
        bottom: auto;
    }

    .fh-hero-titulo {
        font-size: 56px;
    }

    .fh-hero-stats {
        flex-wrap: wrap;
        margin-top: -60px;
    }

    .fh-stat-item {
        padding: 28px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        width: 50%;
    }

    .fh-hero-logo {
        left: 30px;
        top: 20px;
    }

    .fh-hero-scroll {
        display: none;
    }

    .fh-btn-hero-outline {
        margin-left: 0;
        margin-top: 12px;
    }

    .fh-hero-btns {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 575px) {
    .fh-hero-titulo {
        font-size: 44px;
    }

    .fh-hero-conteudo {
        padding: 120px 20px 28px 20px;
    }

    .fh-stat-item {
        width: 50%;
    }

    .fh-stat-num {
        font-size: 38px;
    }

    .fh-hero-logo {
        left: 20px;
    }
}

/* ============================================================ BANNER PÁGINAS INTERNAS */
.fh-page-banner {
    position: relative;
    width: 100%;
    background-color: #0a0a0a;
    background-image:
        linear-gradient(105deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 60%, rgba(0, 0, 0, 0.6) 100%),
        url('../img/layout/fundo-banner-faixa.jpg');
    background-size: cover;
    background-position: center 40%;
    padding: 100px 80px 48px 80px;
    border-bottom: 1px solid rgba(232, 78, 15, 0.2);
}

.fh-page-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.06'/%3E%3C/svg%3E");
    opacity: 0.4;
    pointer-events: none;
}

.fh-page-banner-inner {
    position: relative;
    z-index: 1;
}

.fh-page-banner-linha {
    width: 32px;
    height: 2px;
    background: var(--fh-laranja);
    margin-bottom: 20px;
}

.fh-page-banner h1 {
    font-family: var(--fh-fonte-titulo);
    font-size: 54px;
    font-weight: 300;
    color: #ffffff;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.fh-page-banner-breadcrumb {
    font-family: var(--fh-fonte-corpo);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240, 234, 214, 0.5);
    margin: 0;
}

.fh-page-banner-breadcrumb a {
    color: var(--fh-laranja);
    text-decoration: none;
}

.fh-page-banner-breadcrumb a:hover {
    color: var(--fh-laranja-claro);
}

@media (max-width: 991px) {
    .fh-page-banner {
        padding: 90px 30px 40px 30px;
    }

    .fh-page-banner h1 {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .fh-page-banner {
        padding: 80px 20px 32px 20px;
    }

    .fh-page-banner h1 {
        font-size: 32px;
    }
}