/* ===== Seção Sobre ===== */
.sobre {
    box-sizing: border-box;
}

/* Container do Banner */
.sobre__banner {
    min-height: 250px;
    display: flex;
    align-items: center;
    padding: var(--PADDING-ARTICLE);
    background: url('../img/mapa.jpg') no-repeat center/cover;
}

.sobre__banner-titulo {
    font-size: var(--FS-HERO);
    color: var(--cor-primaria);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Container de Conteúdo */
.sobre__conteudo {
    padding: var(--PADDING-ARTICLE);
    display: flex;
    flex-wrap: wrap;
    gap: var(--GAP-M);
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

/* Bloco de Texto */
.sobre__texto {
    flex: 1;
    min-width: 300px;
    max-width: 40rem;
}

.sobre__subtitulo {
    color: var(--cor-secundaria);
    font-size: var(--FS-HERO-M);
    margin-bottom: 1.5rem;
}

.sobre__separador {
    width: 150px;
    height: 5px;
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.534);
    border: none;
}

.sobre__paragrafo {
    font-size: var(--FS-M);
    line-height: 1.6;
    text-align: justify;
}

.main__trabalho.invert {
    flex-direction: row-reverse;
}

article.imagem {
    background-color: rgb(51, 51, 51);
    color: white;
    box-shadow: inset 6px 6px 13px 0px rgba(0, 0, 0, 0.433);
    background-size: cover;
    background-attachment: fixed;
}

.imagem h2 {
    color: white;
}

article.imagem p,
.imagem h2 {
    display: inline-block;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.7);
    text-shadow: 1px 1px 0px black;
}

.trabalho__imagems img {
    border-radius: var(--BORDER-R);
}

article#img01 {
    background-image: url('../img/desafios.jpeg');
    background-position: right;
}

article#img02 {
    background-image: url('../img/um_futuro_brilhante.jpeg');
    background-position: bottom right;
}

/* ===== Characteristics Section ===== */
.caracteristica {
    display: flex;
    justify-content: center;
    align-items: center;
}

.caracteristica__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: var(--GAP-M);
    width: 100%;
}

.caracteristica__box {
    background: var(--cor-primaria);
    border-radius: var(--BORDER-R);
    padding: 1.5rem;
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.caracteristica__box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.caracteristica__box h3 {
    font-size: var(--FS-HERO-P);
    margin-bottom: 1rem;
    color: var(--cor-secundaria);
    line-height: 1.2;
}

.caracteristica__box p {
    font-size: var(--FS-P);
    color: var(--cor-secundaria);
    line-height: 1.4;
    max-width: 30ch;
}

div.video {
    padding: 20px;
    padding-bottom: 45%;
    position: relative;
}

div.video>iframe {
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    border-radius: var(--BORDER-R);
}

@media (max-width: 820px) {
    .sobre__conteudo {
        flex-direction: column;
    }
}