@charset "UTF-8";

/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BASE ================= */
body {
    font-family: "Poppins", sans-serif;
    background: #f4f6f9;
    color: #222;
    line-height: 1.7;
}

/* ================= HERO VIDEO ================= */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* overlay do hero */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.55),
        rgba(0,0,0,.65)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

/* texto do hero */
.hero-overlay h1 {
    font-size: clamp(2.4rem, 4vw, 4rem);
    color: #fff;
    font-weight: 700;
    max-width: 900px;
}

.hero-overlay span {
    display: block;
    margin-top: 15px;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255,255,255,.9);
}

/* ================= BOTÃO MUTE ================= */
.mute-btn {
    margin-top: 25px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: #0a2a66;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all .3s ease;
}

.mute-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
}

/* ================= HISTÓRIA ================= */
.history-section {
    padding: 100px 6%;
    background: #ffffff;
}

.history-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.history-block img {
    width: 100%;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0,0,0,.15);
    object-fit: cover;
}

.history-text h2 {
    font-size: 2.4rem;
    color: #0a2a66;
    margin-bottom: 20px;
}

.history-text p {
    font-size: 1.05rem;
    color: #444;
}

/* ================= TEXTO FULL ================= */
.history-full {
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

.history-full h2 {
    font-size: 2.6rem;
    color: #0a2a66;
    margin-bottom: 30px;
}

.history-full p {
    font-size: 1.1rem;
    color: #444;
}

/* ================= PARALLAX 120 ANOS ================= */
.parallax-120 {
    position: relative;
    width: 100%;
    height: 70vh;

    background-image: url("../imagens/historia/parallax-120.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* camada escura por cima da imagem */
.parallax-120::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,.55),
        rgba(0,0,0,.65)
    );
    z-index: 1;
}

/* conteúdo do parallax */
.parallax-overlay {
    position: relative;
    z-index: 2;

    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);

    padding: 60px 40px;
    text-align: center;
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
}

.parallax-overlay h2 {
    font-size: clamp(2.4rem, 4vw, 3.5rem);
    color: #fff;
    font-weight: 700;
}

.parallax-overlay span {
    display: block;
    margin-top: 15px;
    font-size: 1.2rem;
    color: rgba(255,255,255,.9);
    letter-spacing: 1px;
}

/* ================= RESPONSIVO ================= */
@media (max-width: 900px) {

    .history-block {
        grid-template-columns: 1fr;
    }

    .history-full {
        text-align: left;
    }

    .hero-overlay h1 {
        font-size: 2.2rem;
    }

    .parallax-120 {
        height: 55vh;
        background-attachment: scroll;
    }

    .parallax-overlay {
        padding: 40px 25px;
    }
}
