/* ========================================================
   ESTILOS SST & ESCOPO ESTRATÉGICO - CLÍNICA FÊNIX
   Alinhamento Web: Medicina do Trabalho, Engenharia e eSocial
   ======================================================== */

:root {
    --sst-primary: #215df9;
    --sst-primary-dark: #0f3399;
    --sst-navy: #0b1a3d;
    --sst-warning: #f59e0b;
    --sst-warning-bg: #fffbeb;
    --sst-warning-border: #fcd34d;
    --sst-danger: #ef4444;
    --sst-success: #10b981;
    --sst-gray-bg: #f8fafc;
    --sst-border: #e2e8f0;
}

/* 1. SEÇÃO: O DESAFIO DA CONFORMIDADE (ALERTA ESOCIAL) */
.s-conformidade-esocial {
    padding: 3rem 0;
    background: #f1f5f9;
}

.esocial-alert-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
    border: 2px solid var(--sst-warning-border);
    position: relative;
    overflow: hidden;
}

.esocial-alert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--sst-warning), #d97706);
}

.esocial-alert-card .alert-header {
    margin-bottom: 2rem;
}

.badge-alerta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
    border: 1px solid #fde68a;
}

.esocial-alert-card h2 {
    color: #0f172a;
    font-size: 1.85rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.esocial-alert-card .alert-header p {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 850px;
    margin: 0;
}

.eventos-esocial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 900px) {
    .eventos-esocial-grid {
        grid-template-columns: 1fr;
    }
}

.evento-card {
    background: #f8fafc;
    border: 1px solid var(--sst-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(33, 93, 249, 0.08);
    border-color: rgba(33, 93, 249, 0.3);
    background: #ffffff;
}

.evento-code {
    display: inline-block;
    background: #1e293b;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 8px;
    margin-bottom: 1rem;
    align-self: flex-start;
    letter-spacing: 0.5px;
}

.evento-info strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.evento-info span {
    display: block;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--sst-border);
    flex-wrap: wrap;
}

.alert-note {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-note i {
    font-size: 1.4rem;
    color: var(--sst-success);
}

.btn-warning-alert {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 28px;
    font-size: 0.95rem;
    border: none;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-warning-alert:hover {
    background: linear-gradient(135deg, #b45309, #92400e);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.4);
    color: #ffffff !important;
}

/* 2. VITRINE DE SOLUÇÕES (ESCOPO CENTRALIZADO) */
.s-solucoes-sst {
    padding: 5rem 0;
    background: #ffffff;
}

.solucoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .solucoes-grid {
        grid-template-columns: 1fr;
    }
}

.solucao-card {
    background: #ffffff;
    border: 1px solid var(--sst-border);
    border-radius: 1.5rem;
    padding: 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.solucao-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(33, 93, 249, 0.1);
    border-color: rgba(33, 93, 249, 0.25);
}

.solucao-card.highlight-pillar {
    border-color: rgba(33, 93, 249, 0.35);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 12px 35px rgba(33, 93, 249, 0.07);
}

.solucao-header {
    margin-bottom: 1.5rem;
}

.solucao-icon {
    width: 60px;
    height: 60px;
    border-radius: 1rem;
    background: rgba(33, 93, 249, 0.08);
    color: var(--sst-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.solucao-card:hover .solucao-icon {
    background: linear-gradient(135deg, var(--sst-primary), var(--sst-primary-dark));
    color: #ffffff;
    transform: scale(1.05);
}

.solucao-card h3 {
    color: #0f172a;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.solucao-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
    background: #e0f2fe;
    color: #0369a1;
}

.solucao-tag.tag-eng {
    background: #fef3c7;
    color: #92400e;
}

.solucao-tag.tag-esocial {
    background: #dcfce7;
    color: #15803d;
}

.solucao-desc {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
}

.solucao-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.solucao-features li {
    font-size: 0.92rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.45;
}

.solucao-features li i {
    color: var(--sst-primary);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* 3. DIFERENCIAIS COMPETITIVOS */
.s-diferenciais-sst {
    padding: 5rem 0;
    background: #f8fafc;
}

.diferenciais-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

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

@media (max-width: 600px) {
    .diferenciais-grid {
        grid-template-columns: 1fr;
    }
}

.diferencial-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 2rem 1.5rem;
    border: 1px solid var(--sst-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diferencial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(33, 93, 249, 0.08);
    border-color: rgba(33, 93, 249, 0.3);
}

.dif-icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(33, 93, 249, 0.1), rgba(15, 51, 153, 0.15));
    color: var(--sst-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.diferencial-card:hover .dif-icon-circle {
    background: linear-gradient(135deg, var(--sst-primary), var(--sst-primary-dark));
    color: #ffffff;
    transform: scale(1.1);
}

.diferencial-card h4 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.35;
}

.diferencial-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

/* 4. SEÇÃO: PRÓXIMOS PASSOS (REUNIÃO ESTRATÉGICA) */
.s-proximos-passos {
    padding: 5rem 0;
    background: #ffffff;
}

.proximos-passos-banner {
    background: linear-gradient(135deg, #0b1a3d 0%, #123eab 60%, #215df9 100%);
    border-radius: 2rem;
    padding: 3.5rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(11, 26, 61, 0.25);
}

.proximos-passos-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.badge-passos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.proximos-passos-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.proximos-passos-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.action-row {
    margin-bottom: 2.5rem;
}

.btn-reuniao {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0b1a3d !important;
    font-weight: 800;
    font-size: 1.15rem;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.btn-reuniao:hover {
    background: #f8fafc;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    color: #215df9 !important;
}

.contatos-diretos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 900px) {
    .contatos-diretos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .contatos-diretos-grid {
        grid-template-columns: 1fr;
    }
}

.contato-pill {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contato-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #ffffff;
}

.contato-pill i {
    font-size: 1.4rem;
    color: #38bdf8;
    flex-shrink: 0;
}

.contato-pill div {
    display: flex;
    flex-direction: column;
}

.contato-pill span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contato-pill strong {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}
