@charset "UTF-8";

/* estilos equipe */

.equipe {
    background: var(--bg-light);
    padding: 150px 0px;
    color: var(--text-dark);
}
 
.equipe .interface {
    display: flex;
    align-items: center;
    height: 100%;
}
 
.equipe .itens-container {
    display: flex;
    flex-direction: column;
    gap: 56px;
}
 
/* ----- Cabeçalho da seção ----- */

.equipe{
    padding: 150px 0;
    background-color: var(--bg-light);
}

.equipe .txt-cabecalho {
    text-align: center;
}
 
.equipe .txt-cabecalho h2 {
    font-size: 48px;
    text-align: center;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}
 
.equipe .txt-cabecalho p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text-dark);
}
 
/* ----- Card: imagem à esquerda, texto à direita ----- */
.equipe .box-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px;
}
 
.equipe .img-itens {
    flex: 0 0 45%;
    max-width: 45%;
}
 
.equipe .img-itens img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 16px 16px 0 var(--border-gold);
}
 
.equipe .txt-advogado {
    flex: 1;
    min-width: 0;
}
 
.equipe .txt-advogado h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--border-gold);
    width: fit-content;
}
 
/* ----- Blocos de informação ----- */
.equipe .linha {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-accent);
}
 
.equipe .linha:last-child {
    border-bottom: 0;
}
 
.equipe .linha span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-accent);
}
 
.equipe .linha ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
 
.equipe .linha li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 6px;
    font-size: 1.2em;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
}
 
.equipe .linha li:last-child {
    margin-bottom: 0;
}
 
.equipe .linha li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 8px;
    height: 2px;
    background: var(--color-accent);
}
.equipe .box-container.invertido {
    flex-direction: row-reverse;
}

.equipe .box-container.invertido .img-itens img {
    box-shadow: -16px 16px 0 var(--border-gold); /* sombra vai para o outro lado */
}


/* Tablets */
@media screen and (max-width: 1024px) {
    .equipe {
        padding: 90px 0;
    }

    .equipe .interface {
        width: 100%;
        max-width: 100%;
        padding: 0 32px;
        box-sizing: border-box;
    }

    .equipe .itens-container {
        width: 100%;
        min-width: 0;
        gap: 64px;
    }

    .equipe .txt-cabecalho h2 {
        font-size: 36px;
    }

    .equipe .txt-cabecalho p {
        font-size: 17px;
    }

    .equipe .box-container {
        gap: 40px;
    }

    .equipe .img-itens {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .equipe .txt-advogado h2 {
        font-size: 1.7em;
        margin-bottom: 20px;
    }

    .equipe .linha li {
        font-size: 1.05em;
    }
}

/* Tablets menores e celulares */
@media screen and (max-width: 768px) {
    .equipe {
        padding: 64px 0;
    }

    .equipe .interface {
        padding: 0 24px;
        height: auto;
    }

    .equipe .itens-container {
        gap: 56px;
    }

    .equipe .txt-cabecalho h2 {
        font-size: 2em;
        line-height: 1.2;
    }

    .equipe .txt-cabecalho h2 br {
        display: none;
    }

    .equipe .txt-cabecalho p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .equipe .box-container, .equipe .box-container.invertido {
        flex-direction: column;
        align-items: stretch;
        gap: 32px;
    }

    .equipe .img-itens {
        flex: 0 1 auto;
        width: 100%;
        max-width: 360px;
        align-self: center;
    }

    .equipe .img-itens img,
    .equipe .box-container.invertido .img-itens img {
        box-shadow: 10px 10px 0 var(--border-gold);
    }

    .equipe .txt-advogado {
        display: flex;
        align-items: center;
        flex-direction: column;
        width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .equipe .txt-advogado h2 {
        font-size: 1.6em;
        margin-bottom: 16px;
        padding-bottom: 14px;
        text-align: center;
    }

    .equipe .linha {
        padding: 16px 0;
    }

    .equipe .linha li {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* Celulares menores */
@media screen and (max-width: 480px) {
    .equipe {
        padding: 48px 0;
    }

    .equipe .interface {
        padding: 0 20px;
    }

    .equipe .txt-cabecalho h2 {
        font-size: 1.7em;
    }

    .equipe .img-itens {
        max-width: 280px;
    }

    .equipe .txt-advogado h2 {
        font-size: 1.4em;
    }

    .equipe .linha span {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }
}

@media (max-width: 767px) {
 .equipe { padding: 75px 0; }
 .equipe .txt-cabecalho { text-align: center; margin-inline: auto; }
 .equipe .box-container, .equipe .box-container.invertido { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
 .equipe .box-container > * { width: 100%; max-width: 100%; min-width: 0; }
 .equipe .img-itens img, .equipe .box-container.invertido .img-itens img { display: block; max-width: min(100%, 420px); height: auto; margin-inline: auto; }
 .equipe .txt-advogado { text-align: center; }
 .equipe .linha ul { text-align: left; display: inline-block; max-width: 100%; }
}
