/* ====================================
   SOBRE NÓS - RESPONSIVO UNIVERSAL
   ==================================== */

#sobreNos {
    height:calc(100vh - 110px);
    padding: 2.2rem 0;
    width: 100%;
    background-color: var(--cor-bege-claro);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cor-bege-claro {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
}

.container-sobre-nos {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.sobreNosCentraliza {
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-nos-container {
    padding: 0 1rem;
    display: flex;
    gap: clamp(1rem, 3vw, 2rem);
    width: 100%;
    max-width: 1400px;
    align-items: center;
}

.imagem-sobreNos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.imagem-sobre-nos {
    width: clamp(18rem, 25vw, 25rem);
    height: auto;
    object-fit: contain;
}

.div-sobreNos {
    flex: 1;
    display: flex;
    align-items: center;
}

.apresentacao-sobreNos {
    width: 100%;
}

.titulo-sobreNos h2 {
    font-family: "times", Arial, Helvetica, sans-serif;
    color: var(--cor-titulo);
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.barra-dourada {
    margin: clamp(0.5rem, 1vh, 0.9375rem) 0;
    height: 3px;
    width: clamp(2.5rem, 5vw, 3.75rem);
    background-color: var(--cor-dourado);
}

.texto-sobreNos {
    margin: 0.5rem 0;
    display:flex;
    gap:1rem;
}

.lado-esquerdo-sobreNos,
.lado-direito-sobreNos {
    flex: 1; /* faz ambos ocuparem o mesmo espaço */
}

.texto-sobreNos p {
    font-family: Arial, sans-serif;
    color: var(--cor-texto);
    font-size: clamp(0.875rem, 2vw, 1.125rem);
    line-height: 1.4;
    margin-bottom: clamp(0.5rem, 1vh, 0.9375rem);
    text-align: justify;
    hyphens: auto;
    word-break: break-word;
}

.texto-sobreNos p:last-child {
    margin-bottom: 0;
}

.caixa-btn-escritorio {
    display: flex;
    justify-content: center;
    margin: clamp(0.5rem, 1vh, 1rem) 0;
}

.btn-escritorio-saiba-mais-desktop,
.btn-escritorio-saiba-mais-tablet {
    display: none;
    font-size: clamp(0.8rem, 1.5vw, 0.9rem);
    font-weight: bolder;
    padding: clamp(8px, 1vh, 10px) clamp(15px, 2vw, 20px);
    border-radius: 15px;
    background-color: var(--cor-laranja-queimado);
    color: #fff;
    border: transparent;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-escritorio-saiba-mais-desktop:hover,
.btn-escritorio-saiba-mais-tablet:hover {
    color: var(--cor-dourado);
    background-color: var(--cor-texto);
}

.certificacao-caixa {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(0.8rem, 1.5vh, 1.25rem);
}

.icone-sobreNos {
    height: clamp(1rem, 2vw, 1.25rem);
    width: clamp(1rem, 2vw, 1.25rem);
    flex-shrink: 0;
}

.titulo-certificado {
    margin-bottom: 0.5rem;
}

.titulo-span {
    font-family: "times", Arial, Helvetica, sans-serif;
    color: #2B2B2B;
    font-weight: 700;
    font-size: clamp(0.9rem, 2vw, 1.125rem);
    line-height: 1.2;
}

.texto-span {
    font-family: sans-serif;
    font-weight: 500;
    color: var(--cor-marrom-escuro);
    font-size: clamp(0.8rem, 1.8vw, 0.9375rem);
    line-height: 1.2;
}

.experiencia-sobreNos,
.equipe-sobreNos,
.atendimento-sobreNos,
.compromisso-sobreNos {
    padding: clamp(0.4rem, 1vh, 0.625rem);
    border: 1px solid #C9A74B;
    border-radius: clamp(0.8rem, 2vw, 1.25rem);
}

/* Modal para "Saiba Mais" */
.c {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background-color: var(--cor-creme);
    max-width: 800px;
    width: 100%;
    padding: 10px 30px 30px 30px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    max-height: 90vh;
    position: relative;
    color: var(--cor-texto);
    font-size: 1.125rem;
    line-height: 1.4;
    font-family: 'Arial', sans-serif;
    text-align: justify;
    hyphens: auto;
}

/* ====================================
   MEDIA QUERIES ESPECÍFICAS
   ==================================== */

/* Desktop Full HD: 1920×1080 */
@media (min-width: 1920px) and (min-height: 1080px) {
    #sobreNos {
        padding: 2rem 0;
    }
    
    .imagem-sobre-nos {
        width: 25rem;
    }
    
    .titulo-sobreNos h2 {
        font-size: 2rem;
    }
    
    .texto-sobreNos p {
        font-size: 1.125rem;
    }
}

/* Desktop HD e Notebooks: 1366×768 */
@media (min-width: 1200px) and (max-width: 1919px) {
    .imagem-sobre-nos {
        width: 20rem;
    }
    
    .texto-sobreNos p {
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
}

/* Notebooks pequenos: 1024-1199px */
@media (min-width: 1024px) and (max-width: 1199px) {
    #sobreNos {
        padding: 0.8rem 0;
    }
    
    .imagem-sobre-nos {
        width: 18rem;
    }
    
    .titulo-sobreNos h2 {
        font-size: 1.6rem;
    }
    
    .texto-sobreNos p {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
}

@media (max-width: 850px) {
    .texto-sobreNos {
        flex-direction:column;
    }
}

/* Tablets e telas médias: 768-1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    #sobreNos {
        padding:1rem 0;
    }
    
    .imagem-sobre-nos,
    .imagem-sobreNos {
        display: none;
    }

    .sobre-nos-container {
        justify-content: center;
    }

    .certificacao-caixa {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }
    
    .texto-sobreNos p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
}

/* Tablets portrait: 768×1024 */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #sobreNos {
        height: auto;
    }
    
    .certificacao-caixa {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Smartphones landscape */
@media (max-width: 767px) and (orientation: landscape) {
    #sobreNos {
        padding: 0.5rem 0;
        height: auto;
        min-height: calc(100vh - 110px);
    }
    
    .imagem-sobre-nos,
    .imagem-sobreNos {
        display: none;
    }
    
    .titulo-sobreNos h2 {
        font-size: 1.1rem;
    }
    
    .texto-sobreNos p {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .barra-dourada {
        margin: 0.3rem 0;
    }
    
    .certificacao-caixa {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
}

/* Smartphones portrait: 390×844 e 360×800 */
@media (max-width: 767px) and (orientation: portrait) {
    #sobreNos {
        height: auto;
        min-height: calc(100vh - 110px);
        padding: 1rem 0;
    }
    
    .imagem-sobre-nos,
    .imagem-sobreNos {
        display: none;
    }

    .sobre-nos-container {
        flex-direction: column;
    }

    .certificacao-caixa {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.6rem;
    }
    
    .titulo-sobreNos h2 {
        font-size: 1.3rem;
    }
    
    .texto-sobreNos p {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
}

/* Smartphones pequenos: 360×800 e menores */
@media (max-width: 390px) {
    .sobre-nos-container {
        padding: 0 0.5rem;
    }
    
    .titulo-sobreNos h2 {
        font-size: 1.1rem;
    }

    .texto-sobreNos p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .certificacao-caixa {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

    .titulo-span {
        font-size: 0.85rem;
    }

    .texto-span {
        font-size: 0.75rem;
    }
    
    .btn-escritorio-saiba-mais-tablet {
        font-size: 0.8rem;
        padding: 8px 15px;
    }
}

/* Extra small: 360px e menores */
@media (max-width: 360px) {
    .titulo-sobreNos h2 {
        font-size: 1rem;
    }

    .texto-sobreNos p {
        font-size: 0.85rem;
    }

    .titulo-span {
        font-size: 0.8rem;
    }

    .texto-span {
        font-size: 0.7rem;
    }
}

/* Ajuste para altura muito pequena */
@media (max-height: 700px) {
    #sobreNos {
        padding: 0.5rem 0;
    }
    
    .texto-sobreNos p {
        margin-bottom: 0.4rem;
    }
    
    .barra-dourada {
        margin: 0.4rem 0;
    }
}

/* Ajuste crítico para 768px de altura */
@media (min-height: 768px) and (max-height: 768px) {
    #sobreNos {
        padding: 3rem 0;
    }
    
    .imagem-sobre-nos {
        width: 18rem;
    }
    
    .texto-sobreNos p {
        font-size: 0.95rem;
        margin-bottom: 0.6rem;
    }
}