.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75)), 
                url('../images/hero-silk.webp') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-container {
    max-width: 520px;
    width: 88%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(1.8rem, 5vh, 3rem);
    padding: 0 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-light);
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9);
    letter-spacing: -0.04em;
    word-spacing: 0.05em;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 3.4vw, 1.1rem);
    font-weight: 300;
    line-height: 1.65;
    color: #e5e5e5;
    max-width: 95%;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    margin-top: -0.5rem;
}

.hero-kicker {
    font-size: clamp(0.7rem, 2.6vw, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--primary-yellow);
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.85);
    margin-bottom: -0.8rem;
}

/* Hero de subpágina: mesmo visual, sem ocupar a tela inteira */
.hero-sub {
    height: auto;
    min-height: 0;
    padding: clamp(3rem, 10vh, 5.5rem) 0;
}

/* CTA principal do hero (usa .btn-pill de buttons.css) */
.hero-cta {
    margin-top: -0.4rem;
    max-width: 100%;
    white-space: normal;
}

.scroll-indicator {
    position: absolute;
    bottom: clamp(1.25rem, 4vh, 2rem);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.arrow {
    width: clamp(18px, 4.5vw, 26px);
    height: clamp(18px, 4.5vw, 26px);
    border-left: 3.5px solid var(--primary-yellow);
    border-bottom: 3.5px solid var(--primary-yellow);
    transform: rotate(-45deg);
    animation: bounce 2s infinite ease-in-out;
    opacity: 0.95;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.arrow-2 {
    animation-delay: 0.15s;
    opacity: 0.75;
    margin-top: -2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(-45deg) translateY(0);
    }
    40% {
        transform: rotate(-45deg) translateY(-12px);
    }
    60% {
        transform: rotate(-45deg) translateY(-6px);
    }
}

/* Tablets */
@media (min-width: 768px) {
    .hero-container {
        max-width: 680px;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: clamp(3.2rem, 7vw, 4.8rem);
        letter-spacing: -0.045em;
    }

    .hero-subtitle {
        font-size: clamp(1.05rem, 2.5vw, 1.2rem);
        max-width: 90%;
        font-weight: 300;
    }

    .scroll-indicator {
        bottom: 2rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {

    .hero-container {
        max-width: 880px;
        gap: 2.6rem;
    }

    .hero-title {
        font-size: clamp(3.2rem, 4.4vw, 4.4rem);
        letter-spacing: -0.045em;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        max-width: 85%;
    }

    .scroll-indicator {
        bottom: 2.5rem;
    }
    
    .arrow {
        width: 28px;
        height: 28px;
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .hero-title {
        font-size: 4.6rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Landscape mobile fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-container {
        gap: 1.2rem;
    }

    .hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }

    .scroll-indicator {
        bottom: 1.5rem;
    }
    
    .arrow {
        width: 16px;
        height: 16px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-container {
        width: 92%;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.92rem;
    }
}