/* EMPRESA: IGUAL AO SITE ANTIGO (css/personalizados/empresa.css), SÓ OS BLOCOS QUE A PÁGINA USA. */

/* SEÇÃO 1: APRESENTAÇÃO + VALORES (NO ANTIGO, pt-60 pb-60 DO TEMA) */
.empresa-sec {
    padding: 60px 0;
    background: #fff;
}

.empresa-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.empresa-card--historia {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(2, 8, 40, .07);
}

.empresa-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    background: rgba(28, 109, 175, .06);
    border: 1px solid rgba(28, 109, 175, .14);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 16px;
}

.empresa-card__titulo {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b1b3a;
    line-height: 1.3;
    margin: 0 0 18px;
}

.empresa-card__texto {
    font-size: 15.5px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 14px;
}

.empresa-card__texto strong {
    color: #0b1b3a;
    font-weight: 700;
}

.empresa-selos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.empresa-selo {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(28, 109, 175, .05);
    border: 1px solid rgba(28, 109, 175, .14);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cor-site-1);
}

.empresa-selo svg {
    font-size: 13px;
}

.empresa-valores {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.empresa-valor {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(2, 8, 40, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}

.empresa-valor:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(2, 8, 40, .1);
}

.empresa-valor__icone {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: rgba(28, 109, 175, .07);
    border: 1px solid rgba(28, 109, 175, .14);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: var(--cor-site-1);
}

.empresa-valor__rotulo {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    margin-bottom: 6px;
}

.empresa-valor__texto {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    font-weight: 500;
}

/* SEÇÃO 2: SERVIÇOS EM ABAS (NO ANTIGO, pt-60 pb-60 DO TEMA) */
.servicos-sec {
    padding: 60px 0;
    background: #fff;
}

.servicos-header {
    margin-bottom: 36px;
}

.pill-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    color: var(--cor-site-1);
    background: rgba(28, 109, 175, .06);
    border: 1px solid rgba(28, 109, 175, .14);
    border-radius: 999px;
    padding: 5px 13px;
    margin-bottom: 14px;
}

.servicos-titulo {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    color: #0b1b3a;
    line-height: 1.2;
    margin: 0;
}

.servicos-titulo strong {
    font-weight: 800;
    color: var(--cor-site-1);
}

/* ABAS */
.tabs-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(28, 109, 175, .12);
    padding-bottom: 0;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #777;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color .2s, border-color .2s;
    font-family: inherit;
}

.tab-btn:hover {
    color: var(--cor-site-1);
}

.tab-btn--active {
    color: var(--cor-site-1);
    border-bottom-color: var(--cor-site-1);
}

.tab-btn svg {
    font-size: 13px;
}

/* NO ANTIGO O TEMA TIRA O CONTORNO DO BOTÃO CLICADO; NO TECLADO ELE CONTINUA APARECENDO. */
.tab-btn:focus:not(:focus-visible) {
    outline: 0;
}

.tab-content {
    display: none;
}

.tab-content--active {
    display: block;
}

.tab-intro {
    background: rgba(28, 109, 175, .04);
    border-left: 3px solid var(--cor-site-1);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin-bottom: 28px;
}

.tab-intro p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* CARTÕES DE INFORMAÇÃO */
.cards-grid {
    display: grid;
    gap: 16px;
    margin-bottom: 8px;
}

.cards-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.info-card {
    background: #f8f9fc;
    border: 1px solid rgba(28, 109, 175, .1);
    border-radius: 14px;
    padding: 24px 20px;
    transition: transform .2s, box-shadow .2s, border-color .2s;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--cor-site-1);
    opacity: 0;
    transition: opacity .2s;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(28, 109, 175, .11);
    border-color: rgba(28, 109, 175, .2);
}

.info-card:hover::before {
    opacity: 1;
}

.info-card__icone {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: rgba(28, 109, 175, .08);
    border: 1px solid rgba(28, 109, 175, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    color: var(--cor-site-1);
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0b1b3a;
    margin: 0 0 10px;
}

.info-card p {
    font-size: 13.5px;
    line-height: 1.65;
    color: #555;
    margin: 0;
}

/* PASSOS DA VENDA */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 8px;
}

.step-item {
    background: #f8f9fc;
    border: 1px solid rgba(28, 109, 175, .1);
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    transition: transform .18s, box-shadow .18s, border-color .18s;
}

.step-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(28, 109, 175, .1);
    border-color: rgba(28, 109, 175, .22);
}

.step-num {
    font-size: 20px;
    font-weight: 900;
    color: rgba(28, 109, 175, .2);
    line-height: 1;
    flex-shrink: 0;
    min-width: 28px;
}

.step-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.step-body strong {
    font-size: 13px;
    font-weight: 700;
    color: #0b1b3a;
    line-height: 1.3;
}

.step-body span {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
}

/* BOTÕES */
.servicos-acoes {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(28, 109, 175, .1);
}

.sc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .18s, box-shadow .18s;
}

.sc-btn:hover,
.sc-btn:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.sc-btn--prim {
    background: var(--cor-site-1);
    color: #fff;
}

.sc-btn--prim:hover,
.sc-btn--prim:focus {
    color: #fff;
}

.sc-btn--wpp {
    background: #25d366;
    color: #fff;
}

.sc-btn--wpp:hover,
.sc-btn--wpp:focus {
    color: #fff;
}

@media (max-width: 1100px) {
    .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 992px) {
    .empresa-grid { grid-template-columns: minmax(0, 1fr); }
    .cards-grid--5,
    .cards-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .cards-grid--5,
    .cards-grid--3,
    .steps-grid { grid-template-columns: minmax(0, 1fr); }
    .tabs-nav { gap: 4px; }
    .tab-btn { padding: 10px 14px; font-size: 13px; }
    .servicos-acoes { flex-direction: column; }
    .sc-btn { justify-content: center; }
}

/* PERGUNTAS FREQUENTES DO PAINEL (MENU FAQ; NÃO HAVIA NO SITE ANTIGO): SANFONA DE details, "+" QUE VIRA "×" AO ABRIR */
.emp-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emp-faq__item {
    background: #fff;
    border: .5px solid #dde6f0;
    border-radius: 12px;
    transition: border-color .2s, box-shadow .2s;
}

.emp-faq__item[open] {
    border-color: rgba(28, 109, 175, .35);
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.emp-faq__pergunta {
    position: relative;
    display: block;
    padding: 18px 60px 18px 22px;
    color: #0b1b3a;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    list-style: none;
    cursor: pointer;
    transition: color .2s;
}

.emp-faq__pergunta::-webkit-details-marker {
    display: none;
}

.emp-faq__pergunta::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    width: 26px;
    height: 26px;
    margin-top: -13px;
    background: rgba(28, 109, 175, .08);
    border-radius: 50%;
    color: var(--cor-site-1);
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    text-align: center;
    transition: transform .2s;
}

.emp-faq__pergunta:hover {
    color: var(--cor-site-1);
}

.emp-faq__item[open] .emp-faq__pergunta::after {
    transform: rotate(45deg);
}

.emp-faq__resposta {
    padding: 0 22px 20px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 640px) {
    .emp-faq__pergunta {
        padding: 16px 54px 16px 18px;
        font-size: 15px;
    }

    .emp-faq__resposta {
        padding: 0 18px 18px;
    }
}

/* EQUIPE DO PAINEL (MENU COLABORADORES; NÃO HAVIA NO SITE ANTIGO): partials/card-pessoa.php, NO CARTÃO DO SITE */
.emp-equipe__grupo {
    margin: 0 0 18px;
    color: #0b1b3a;
    font-size: 18px;
    font-weight: 800;
}

.emp-equipe__grade + .emp-equipe__grupo {
    margin-top: 40px;
}

.emp-equipe__grade {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.emp-pessoa {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: .5px solid #dde6f0;
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.emp-pessoa:hover {
    box-shadow: 0 12px 28px rgba(15, 23, 42, .08);
    transform: translateY(-4px);
}

.emp-pessoa__foto {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f5ff;
}

/* A FOTO QUE FALHA SE ESCONDE (onerror) E O BONEQUINHO APARECE: O hidden TEM QUE VENCER O display DA FOTO */
.emp-pessoa__foto [hidden] {
    display: none !important;
}

.emp-pessoa__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.emp-pessoa__vazia {
    color: rgba(28, 109, 175, .35);
    font-size: 64px;
    line-height: 1;
}

.emp-pessoa__corpo {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    padding: 18px 18px 20px;
    text-align: center;
}

.emp-pessoa__nome {
    margin: 0;
    color: #0b1b3a;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
}

.emp-pessoa__cargo {
    margin: 0;
    color: var(--cor-site-1);
    font-size: 13px;
    font-weight: 700;
}

.emp-pessoa__creci {
    margin: 0;
    color: #9ca3af;
    font-size: 12px;
}

.emp-pessoa__contatos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
}

.emp-pessoa__icone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(28, 109, 175, .08);
    border-radius: 50%;
    color: var(--cor-site-1);
    font-size: 15px;
    transition: background-color .2s, color .2s;
}

.emp-pessoa__icone:hover {
    background: var(--cor-site-1);
    color: #fff;
}

.emp-pessoa__icone--whats {
    background: rgba(37, 211, 102, .12);
    color: #1fa855;
}

.emp-pessoa__icone--whats:hover {
    background: #25d366;
    color: #fff;
}

@media (max-width: 992px) {
    .emp-equipe__grade {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .emp-equipe__grade {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}
