/* ============================================================
   MEDNEXUS — cruzada.css
   Carregado em: cruzada, archive especialidade, archive cidade, single especialista
   Atualizado: 15/04/2026
   ============================================================ */


/* ============================================================
   SEÇÃO 3 — QUANDO PROCURAR
   Fundo: #E0F4F7 | Ícone à esquerda | Grid 2 colunas
   ============================================================ */

.cruzada-grid-s3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.cruzada-card-s3 {
    background: #E0F4F7;
    border: 1px solid rgba(77, 196, 216, 0.39);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    box-sizing: border-box;
}
.cruzada-icone-s3 {
    background: #1A8FA0;
    border-radius: 10px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cruzada-icone-s3 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.cruzada-texto-s3 { display: flex; flex-direction: column; gap: 6px; }
.cruzada-titulo-s3 { font-family: "Red Hat Display", sans-serif; font-size: 24px; font-weight: 700; color: #07131A; line-height: 1.3; }
.cruzada-desc-s3   { font-family: "Red Hat Text", sans-serif;    font-size: 16px; font-weight: 300; color: #07131A; line-height: 1.5; }


/* ============================================================
   SEÇÃO 4 — COMO ESCOLHER
   Fundo: #FFFFFF | Ícone em cima | Grid 2 colunas
   ============================================================ */

.cruzada-grid-s4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.cruzada-card-s4 {
    background: #FFFFFF;
    border: 1px solid rgba(77, 196, 216, 0.39);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
}
.cruzada-icone-s4 {
    background: #0E4A59;
    border-radius: 8px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cruzada-icone-s4 img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.cruzada-texto-s4 { display: flex; flex-direction: column; gap: 6px; }
.cruzada-titulo-s4 { font-family: "Red Hat Display", sans-serif; font-size: 24px; font-weight: 700; color: #0E4A59; line-height: 1.3; }
.cruzada-desc-s4   { font-family: "Red Hat Text", sans-serif;    font-size: 16px; font-weight: 300; color: #07131A; line-height: 1.5; }


/* ============================================================
   SEÇÃO 5 — BAIRROS E REGIÕES
   Ícone SVG verde | Grid 2 colunas
   ============================================================ */

.cruzada-bairros {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 24px 0;
}
.cruzada-bairro-item {
    background: #fff;
    border: 1px solid #DDE8EC;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Red Hat Text", sans-serif;
    font-size: 15px;
    color: #07131A;
}
.cruzada-bairro-icone {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: invert(40%) sepia(100%) saturate(500%) hue-rotate(90deg) brightness(90%) contrast(110%);
}
.cruzada-bairro-nome { font-weight: 400; }


/* ============================================================
   FAQ — Usado em todas as páginas (cruzada, esp, cidade, médico)
   ============================================================ */

.mednexus-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}
.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #DDE8EC;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.faq-item:hover { border-color: #1A8FA0; box-shadow: 0 4px 16px rgba(26, 143, 160, 0.2); }
.faq-item.aberto { border-color: #1A8FA0; box-shadow: 0 4px 16px rgba(26, 143, 160, 0.2); }
.faq-pergunta {
    font-family: "Red Hat Display", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #07131A;
    padding: 20px 24px;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    transition: background 0.3s, color 0.3s;
}
.faq-item:hover .faq-pergunta  { background: #E0F4F7; color: #0E4A59; }
.faq-item.aberto .faq-pergunta { background: #0E4A59; color: #fff; }
.faq-pergunta::after {
    content: "+";
    font-size: 22px;
    font-weight: 400;
    color: #1A8FA0;
    transition: color 0.3s;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item:hover .faq-pergunta::after  { color: #0E4A59; }
.faq-item.aberto .faq-pergunta::after { content: "−"; color: #fff; }
.faq-resposta {
    display: none;
    padding: 16px 24px 20px;
    color: #4A6372;
    font-size: 15px;
    line-height: 1.6;
    box-sizing: border-box;
    width: 100%;
}
.faq-item.aberto .faq-resposta { display: block; }


/* ============================================================
   ARCHIVE CIDADE — Cards de especialidades
   ============================================================ */

.cidade-especialidades {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}
.cidade-esp-card {
    background: #fff;
    border: 1px solid #DDE8EC;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.cidade-esp-card:hover {
    border-color: #1A8FA0;
    box-shadow: 0 4px 16px rgba(26, 143, 160, 0.2);
}
.cidade-esp-nome {
    font-family: "Red Hat Display", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #07131A;
}
.cidade-esp-link {
    font-family: "Red Hat Text", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1A8FA0;
}


/* ============================================================
   TAGS — Modalidade, Público, Convênios
   ============================================================ */

.mn-tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}
.mn-tag {
    display: block;
    background: #0E4A59;
    color: #ffffff;
    padding: 3px 16px;
    border-radius: 10px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}


/* ============================================================
   ESTRELAS AVALIAÇÃO
   ============================================================ */

.mn-estrelas {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: "Red Hat Text", sans-serif;
}
.mn-estrela        { font-size: 22px; }
.mn-estrela.cheia  { color: #F5A623; }
.mn-estrela.vazia  { color: #DDE8EC; }
.mn-estrelas-nota  { font-size: 14px; font-weight: 700; color: #07131A; }
.mn-estrelas-total { font-size: 12px; color: #4A6572; }
.mn-estrelas-sem   { font-size: 12px; color: #4A6572; }


/* ============================================================
   RESPONSIVO — Mobile (max 768px)
   ============================================================ */

@media (max-width: 768px) {
    .cruzada-grid-s3,
    .cruzada-grid-s4,
    .cruzada-bairros {
        grid-template-columns: 1fr;
    }

    .cruzada-titulo-s3,
    .cruzada-titulo-s4 {
        font-size: 18px;
    }

    .cidade-especialidades {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .cidade-esp-card {
        padding: 18px;
    }

    .cidade-esp-nome {
        font-size: 28px;
    }

    .mn-tag {
        font-size: 20px;
    }
}


/* ============================================================
   MENU MOBILE DROPDOWN
   ============================================================ */

@media (max-width: 1024px) {
    .elementor-nav-menu .menu-item-has-children .sub-menu {
        display: none;
    }
    .elementor-nav-menu .menu-item-has-children.mn-open > .sub-menu {
        display: block;
    }
}