/* ========================================================== */
/* ====== HOME SINDIFISCO - ÁREA RESTRITA (PROTÓTIPO 1.PNG) = */
/* ========================================================== */

/* Container Principal Envolvente */
.home-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Card Principal Branco */
.home-box-principal {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 35px 40px 35px;
    margin-top: 30px;
    margin-bottom: 45px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
}

/* Bloco de Boas-Vindas */
.home-boas-vindas {
    margin-bottom: 32px;
}

.home-saudacao {
    font-family: 'Open Sans', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #2b396b;
    margin-bottom: 12px;
    line-height: 1.25;
}

.home-subtexto {
    font-family: 'Open Sans', sans-serif;
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
    margin-left: 48px;
    width: calc(100% - 48px);
}

/* Divisores de Seção com Linha Horizontal */
.home-secao-header {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    margin-top: 10px;
}

.home-secao-titulo {
    font-family: 'Open Sans', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1e2b6e;
    margin: 0;
    padding-right: 18px;
    white-space: nowrap;
    line-height: 1.2;
}

.home-secao-linha {
    flex: 1;
    height: 1px;
    background-color: #cbd5e1;
}

.home-secao-wrapper {
    width: 100%;
    margin-bottom: 35px;
}

.home-secao-wrapper:last-child {
    margin-bottom: 10px;
}

/* Carrossel */
.home-carousel {
    position: relative;
    padding: 0 46px;
}

.home-carousel .carousel-inner {
    width: 100%;
    margin: auto;
}

/* Cards (Notícias e Fotos) - FIXOS (sem movimento no hover) */
.home-card-link {
    height: 100%;
    display: flex;
    text-decoration: none !important;
    color: inherit;
}

.home-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    /* Manter estritamente fixo */
    transform: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-card:hover {
    /* Sem elevação ou movimento vertical */
    transform: none !important;
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Thumbnail / Imagem do Card */
.home-card-thumb {
    width: 100%;
    height: 185px;
    overflow: hidden;
    position: relative;
    background-color: #f1f5f9;
}

.home-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fixo: sem zoom no hover */
    transform: none !important;
}

/* Corpo do Card */
.home-card-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Data Limpa com Ícone */
.home-card-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
}

.home-card-date i {
    color: #64748b;
    font-size: 13px;
}

/* Título do Card */
.home-card-title {
    color: #1e2b6e;
    font-family: 'Open Sans', sans-serif;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 14px 0;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.home-card:hover .home-card-title {
    color: #2b7bb9;
}

/* Link de Ação (Leia mais / Ver galeria) */
.home-card-action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1e2b6e;
    font-size: 13.5px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.home-card-action i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.home-card:hover .home-card-action {
    color: #2b7bb9;
}

.home-card:hover .home-card-action i {
    transform: translateX(3px);
}

/* Controles de Navegação (Setas) */
.home-carousel .carousel-control-prev,
.home-carousel .carousel-control-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    z-index: 10;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

/* Seta Anterior: Branca com borda cinza clara */
.home-carousel .carousel-control-prev {
    left: -4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #64748b !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.home-carousel .carousel-control-prev:hover {
    background: #f8fafc;
    color: #1e2b6e !important;
    border-color: #94a3b8;
}

/* Seta Próxima: Azul marinho com ícone branco */
.home-carousel .carousel-control-next {
    right: -4px;
    background: #1e2b6e;
    border: 1px solid #1e2b6e;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(30, 43, 110, 0.3);
}

.home-carousel .carousel-control-next:hover {
    background: #151e50;
    border-color: #151e50;
    color: #ffffff !important;
    box-shadow: 0 6px 16px rgba(30, 43, 110, 0.4);
}

/* Indicadores de Paginação */
.home-carousel .carousel-indicators {
    position: static;
    margin: 18px 0 12px 0;
    justify-content: center;
    display: flex;
}

.home-carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: none;
    margin: 0 4px;
    cursor: pointer;
    transition: background-color 0.25s ease;
    opacity: 1;
}

.home-carousel .carousel-indicators li.active {
    background-color: #1e2b6e;
    width: 8px;
    border-radius: 50%;
}

/* Botão Pílula Centralizado */
.btn-home-pill {
    background-color: #2b7bb9 !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    padding: 10px 34px !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: 0 3px 8px rgba(43, 123, 185, 0.25) !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.btn-home-pill:hover {
    background-color: #206296 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 12px rgba(43, 123, 185, 0.35) !important;
    transform: translateY(-1px);
}

/* Responsividade */
@media (max-width: 991px) {
    .home-box-principal {
        padding: 25px 20px;
    }

    .home-carousel {
        padding: 0 35px;
    }

    .home-carousel .carousel-control-prev {
        left: 0;
    }

    .home-carousel .carousel-control-next {
        right: 0;
    }
}

@media (max-width: 767px) {
    .home-box-principal {
        padding: 20px 15px;
    }

    .home-carousel {
        padding: 0;
    }

    .home-carousel .carousel-control-prev,
    .home-carousel .carousel-control-next {
        display: none;
    }

    .home-saudacao {
        font-size: 20px;
    }

    .home-subtexto {
        margin-left: 0;
        width: 100%;
    }
}
