/* Foto do hero: panorama do Rio de Janeiro visto de Santa Teresa.
   Autor: Chensiyuan — Wikimedia Commons, licença CC BY 3.0
   https://commons.wikimedia.org/wiki/File:1_santa_teresa_panorama_2014.jpg */
.hero-section {
    height: 500px;
    background:
        linear-gradient(65.99deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%),
        url('/static/assets/rio-banner.jpg') center/cover no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    color: #fff;
    padding: 0 50px;
}

.hero-content {
    padding: 30px 40px;
    border-radius: 12px;
    max-width: 700px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-left: -30px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
}

.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    letter-spacing: 0.5px;
}

.hero-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #e63946;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.hero-btn:hover {
    background-color: #d62828;
    transform: translateY(-2px);
}

/* 🔹 Responsividade */
@media (max-width: 992px) {
    .hero-section {
        height: 400px; /* reduz altura */
        padding: 0 30px;
    }

    .hero-title {
        font-size: 2rem;
        margin-left: 0; /* tira deslocamento */
        text-align: center;
    }

    .hero-text {
        font-size: 1.1rem;
        text-align: center;
    }

    .hero-content {
        max-width: 90%;
        padding: 20px;
        margin: 0 auto;
        text-align: center; /* centraliza no tablet */
    }

    .hero-btn {
        font-size: 1rem;
        padding: 10px 24px;
    }
}

@media (max-width: 600px) {
    .hero-section {
        height: auto; /* deixa se ajustar ao conteúdo */
        padding: 40px 20px;
        justify-content: center;
        text-align: center;
    }

    .hero-title {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-text {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hero-btn {
        display: block; /* botão ocupa a largura toda */
        margin: 20px auto 0;
        width: fit-content;
    }
}
