/* =========================================================
COREME - Comissão de Residência Médica
Hospital Dr. Adolfo Bezerra de Menezes
========================================================= */

/* =========================================================
RESET & BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #13233b;
    background: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

section {
    padding: 80px 0;
}

/* =========================================================
HERO SECTION
========================================================= */
.hero-coreme {
    min-height: 52vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
            rgba(19, 35, 59, 0.82),
            rgba(19, 35, 59, 0.82)
        ),
        url("../Imagens/teste1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 100px;
    padding: 70px 0;
}

.hero-content {
    color: #ffffff;
}

.hero-content span {
    display: inline-block;
    margin-bottom: 16px;
    color: #67cbbf;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    max-width: 860px;
    margin-bottom: 20px;
    font-size: 46px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-content p {
    max-width: 720px;
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.95;
    color: #e5e9f0;
}

/* =========================================================
INTRO SECTION
========================================================= */
.coreme-intro {
    background: #ffffff;
    padding-top: 90px;
    padding-bottom: 80px;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.tag {
    display: inline-block;
    margin-bottom: 12px;
    color: #00ab98;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.intro-texto h2 {
    font-size: 36px;
    font-weight: 800;
    color: #13233b;
    margin-bottom: 20px;
    line-height: 1.25;
}

.intro-texto p {
    font-size: 16px;
    color: #526177;
    margin-bottom: 18px;
    line-height: 1.8;
}

.contato-box-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #eef2f6;
}

.contato-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.contato-icone {
    font-size: 24px;
}

.contato-item small {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.contato-item strong {
    font-size: 16px;
    color: #13233b;
}

.contato-item a {
    color: #00ab98;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.contato-item a:hover {
    color: #13233b;
}

/* CARD DE DESTAQUE LATERAL */
.intro-destaque-card {
    background: linear-gradient(145deg, #13233b, #1e3a5f);
    padding: 38px 32px;
    border-radius: 20px;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(19, 35, 59, 0.15);
}

.badge-tag {
    display: inline-block;
    background: rgba(103, 203, 191, 0.2);
    color: #67cbbf;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.destaque-header h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
}

.destaque-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 14px;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.link-card-action:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-3px);
    border-color: #67cbbf;
}

.link-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 44px;
    height: 44px;
    background: rgba(103, 203, 191, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.link-info strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
    color: #ffffff;
}

.link-info p {
    font-size: 12.5px;
    color: #cbd5e1;
    line-height: 1.4;
    margin: 0;
}

.seta-link {
    font-size: 20px;
    color: #67cbbf;
    font-weight: bold;
    transition: transform 0.2s ease;
}

.link-card-action:hover .seta-link {
    transform: translateX(4px);
}

/* =========================================================
COORDENAÇÃO SECTION
========================================================= */
.coordenacao-section {
    background: #f8fafc;
    padding: 90px 0;
}

.section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 55px auto;
}

.section-title span {
    display: block;
    color: #00ab98;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 38px;
    font-weight: 800;
    color: #13233b;
    margin-bottom: 14px;
}

.section-title p {
    font-size: 16px;
    color: #64748b;
}

.coordenadores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 35px;
    max-width: 960px;
    margin: 0 auto;
}

.coordenador-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.coordenador-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-foto-wrapper {
    position: relative;
    width: 100%;
    height: 310px;
    background: #f1f5f9;
    overflow: hidden;
}

.coordenador-foto {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.4s ease;
}

.coordenador-card:hover .coordenador-foto {
    transform: scale(1.04);
}

.cargo-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: #00ab98;
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 171, 152, 0.35);
}

.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: #13233b;
    margin-bottom: 6px;
}

.crm {
    display: inline-block;
    color: #00ab98;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 20px;
}

.info-resumo {
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    border-left: 3px solid #00ab98;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.info-resumo p {
    font-size: 13.5px;
    color: #526177;
    line-height: 1.55;
    margin: 0;
}

.info-resumo strong {
    color: #1e293b;
}

.btn-perfil {
    display: block;
    text-align: center;
    background: #f1f5f9;
    color: #13233b;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-perfil:hover {
    background: #13233b;
    color: #ffffff;
}

/* =========================================================
DOCUMENTOS & SERVIÇOS SECTION
========================================================= */
.documentos-section {
    background: #ffffff;
    padding: 60px 0 80px 0;
}

.doc-card-container {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 40px;
}

.doc-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.doc-divider {
    width: 1px;
    height: 140px;
    background: #e2e8f0;
}

.doc-icon {
    font-size: 36px;
}

.doc-text h3 {
    font-size: 20px;
    font-weight: 700;
    color: #13233b;
    margin-bottom: 6px;
}

.doc-text p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
}

.btn-doc {
    display: inline-block;
    align-self: flex-start;
    padding: 12px 24px;
    background: #f8fafc;
    color: #13233b;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-doc:hover {
    background: #13233b;
    color: #ffffff;
    border-color: #13233b;
}

.btn-doc.btn-destaque {
    background: #00ab98;
    color: #ffffff;
    border-color: #00ab98;
    box-shadow: 0 4px 14px rgba(0, 171, 152, 0.25);
}

.btn-doc.btn-destaque:hover {
    background: #008f7f;
    border-color: #008f7f;
    transform: translateY(-2px);
}

/* =========================================================
CONTATO COREME SECTION
========================================================= */
.contato-coreme-section {
    background: #f8fafc;
    padding: 70px 0;
}

.contato-box-final {
    background: linear-gradient(135deg, #13233b 0%, #1e3a5f 100%);
    border-radius: 24px;
    padding: 55px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 40px rgba(19, 35, 59, 0.15);
}

.contato-texto {
    max-width: 600px;
}

.contato-texto span {
    display: block;
    color: #67cbbf;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.contato-texto h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 14px;
    line-height: 1.25;
}

.contato-texto p {
    font-size: 16px;
    color: #cbd5e1;
    line-height: 1.7;
}

.contato-botoes {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 250px;
}

.btn-cta-phone,
.btn-cta-email {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-cta-phone {
    background: #00ab98;
    color: #ffffff;
}

.btn-cta-phone:hover {
    background: #008f7f;
    transform: translateY(-2px);
}

.btn-cta-email {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-email:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* =========================================================
RESPONSIVIDADE
========================================================= */
@media (max-width: 992px) {
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .doc-card-container {
        flex-direction: column;
        gap: 30px;
    }

    .doc-divider {
        width: 100%;
        height: 1px;
    }

    .contato-box-final {
        flex-direction: column;
        text-align: center;
        padding: 40px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .intro-texto h2 {
        font-size: 28px;
    }

    .coordenadores-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
