.hero-capoeira {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

#video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2;
}

.hero-capoeira::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content-capoeira h1 {
    font-size: 4.5em;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

.hero-content-capoeira p {
    font-size: 1.6em;
    font-weight: 300;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* --- Seção de Introdução --- */
.intro-capoeira {
    padding: 80px 5%;
    background-color: #F9F5EC;
}
.container-flex {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}
.texto-intro {
    flex: 1.5;
}
.texto-intro h2 {
    font-size: 2.5em;
    color: #4E342E;
    margin-bottom: 20px;
    line-height: 1.3;
}
.texto-intro p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #333;
}
.imagem-intro {
    flex: 1;
    text-align: center;
    min-width: 280px;
}
.imagem-intro img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* --- Seção Pilares --- */
.pilares-capoeira {
    padding: 80px 5%;
    background-color: #fff;
}
.grid-pilares {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}
.card-pilar {
    background-color: #F9F5EC;
    padding: 35px;
    text-align: center;
    border-bottom: 5px solid #E67E22;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-pilar:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}
.card-pilar i {
    font-size: 3em;
    color: #E67E22;
    margin-bottom: 20px;
}
.card-pilar h3 {
    font-size: 1.4em;
    color: #145A32;
    margin-bottom: 10px;
}
.card-pilar p {
    color: #333;
    line-height: 1.6;
}

/* --- Seção Instrumentos --- */
.instrumentos-capoeira {
    padding: 80px 5%;
    background: #fff;
}
.container-instrumentos {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.card-instrumento {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    background-color: #F9F5EC;
}
.card-instrumento img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
.card-instrumento h4 {
    font-size: 1.5em;
    color: #145A32;
    padding: 15px 15px 5px 15px;
}
.card-instrumento p {
    color: #333;
    padding: 0 15px 20px 15px;
}

/* --- Seção de Informações --- */
.info-capoeira {
    padding: 80px 5%;
    background: linear-gradient(to right, #F9F5EC, #fdf6f9);
    color: #000;
}
.titulo-entreroda {
    font-size: 2.5em;
    color: #145A32; 
    margin-bottom: 30px;
}

.container-info {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.info-texto-capoeira h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}
.info-texto-capoeira p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 10px;
}
.botao-capoeira {
    background-color: #F1C40F;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.3s, color 0.3s;
    display: inline-block;
}
.botao-capoeira:hover {
    background-color: #E67E22;
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

/* --- Título Padrão --- */
.titulo-secao {
    text-align: center;
    font-size: 2.5em;
    font-weight: 600;
    color: #145A32;
    margin-bottom: 50px;
}

/* ==========================================
RESPONSIVIDADE
========================================== */

/* Telas até 1200px */
@media (max-width: 1200px) {

    .hero-content-capoeira h1 {
        font-size: 3.8rem;
    }

    .hero-content-capoeira p {
        font-size: 1.4rem;
    }

    .texto-intro h2,
    .titulo-secao,
    .titulo-entreroda,
    .info-texto-capoeira h2 {
        font-size: 2.2rem;
    }

}

/* Tablets */
@media (max-width: 992px) {

    .hero-capoeira {
        height: 70vh;
        padding: 0 25px;
    }

    .hero-content-capoeira h1 {
        font-size: 3rem;
    }

    .hero-content-capoeira p {
        font-size: 1.2rem;
    }

    .container-flex,
    .container-info {
        flex-direction: column;
        text-align: center;
        gap: 35px;
    }

    .texto-intro,
    .imagem-intro,
    .info-texto-capoeira {
        width: 100%;
    }

    .texto-intro h2,
    .titulo-secao,
    .titulo-entreroda,
    .info-texto-capoeira h2 {
        font-size: 2rem;
    }

    .texto-intro p,
    .info-texto-capoeira p {
        font-size: 1rem;
    }

    .grid-pilares {
        grid-template-columns: repeat(2, 1fr);
    }

    .container-instrumentos {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* Celulares grandes */
@media (max-width: 768px) {

    .hero-capoeira {
        height: 60vh;
        padding: 0 20px;
    }

    #video-bg {
        width: auto;
        height: 100%;
    }

    .hero-content-capoeira h1 {
        font-size: 2.3rem;
        line-height: 1.2;
    }

    .hero-content-capoeira p {
        font-size: 1rem;
        margin-top: 15px;
    }

    .intro-capoeira,
    .pilares-capoeira,
    .instrumentos-capoeira,
    .info-capoeira {
        padding: 60px 20px;
    }

    .texto-intro h2,
    .titulo-secao,
    .titulo-entreroda,
    .info-texto-capoeira h2 {
        font-size: 1.8rem;
    }

    .texto-intro p,
    .info-texto-capoeira p,
    .card-pilar p,
    .card-instrumento p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .grid-pilares,
    .container-instrumentos {
        grid-template-columns: 1fr;
    }

    .card-pilar {
        padding: 30px 25px;
    }

    .card-instrumento img {
        height: 250px;
    }

    .botao-capoeira {
        width: 100%;
        max-width: 320px;
        text-align: center;
        padding: 15px;
    }

}

/* Celulares pequenos */
@media (max-width: 480px) {

    .hero-capoeira {
        height: 55vh;
        padding: 0 15px;
    }

    .hero-content-capoeira h1 {
        font-size: 1.8rem;
    }

    .hero-content-capoeira p {
        font-size: 0.95rem;
    }

    .texto-intro h2,
    .titulo-secao,
    .titulo-entreroda,
    .info-texto-capoeira h2 {
        font-size: 1.5rem;
    }

    .texto-intro p,
    .info-texto-capoeira p,
    .card-pilar p,
    .card-instrumento p {
        font-size: 0.95rem;
    }

    .card-pilar {
        padding: 25px 20px;
    }

    .card-pilar h3 {
        font-size: 1.2rem;
    }

    .card-pilar i {
        font-size: 2.5rem;
    }

    .card-instrumento img {
        height: 200px;
    }

    .card-instrumento h4 {
        font-size: 1.3rem;
    }

    .botao-capoeira {
        font-size: 1rem;
        padding: 14px;
    }

}

/* Celulares muito pequenos */
@media (max-width: 360px) {

    .hero-content-capoeira h1 {
        font-size: 1.6rem;
    }

    .hero-content-capoeira p {
        font-size: 0.9rem;
    }

    .titulo-secao,
    .titulo-entreroda,
    .texto-intro h2,
    .info-texto-capoeira h2 {
        font-size: 1.3rem;
    }

}