/* ==========================================================
   HOME - SINDIRUSSAS
========================================================== */

.home-hero {
    position: relative;

    min-height: 560px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            135deg,
            #12355b,
            #1d5d8f
        );

    color: #fff;

    overflow: hidden;
}


.home-hero::before {
    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    right: -150px;
    top: -150px;

    border-radius: 50%;

    background: rgba(255,255,255,.06);
}


.home-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.25),
            transparent
        );
}


.home-hero-content {
    position: relative;

    max-width: 720px;

    padding: 80px 0;
}


.home-hero-kicker,
.home-kicker {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #0d6efd;
}


.home-hero-kicker {
    color: rgba(255,255,255,.75);
}


.home-hero h1 {
    margin: 0 0 16px;

    font-size: clamp(
        38px,
        6vw,
        62px
    );

    line-height: 1.08;

    font-weight: 800;
}


.home-hero p {
    max-width: 620px;

    margin-bottom: 30px;

    color: rgba(255,255,255,.85);

    font-size: 19px;

    line-height: 1.6;
}


.home-hero-botoes {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}


/* ==========================================================
   APRESENTAÇÃO
========================================================== */

.home-apresentacao {
    padding: 90px 0;

    background: #fff;
}


.home-section-titulo {
    margin: 0 0 20px;

    font-size: clamp(
        30px,
        4vw,
        44px
    );

    font-weight: 800;

    line-height: 1.15;
}


.home-apresentacao p {
    color: #6c757d;

    line-height: 1.8;
}


.home-apresentacao-box {
    min-height: 280px;

    padding: 45px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-radius: 16px;

    background: #f1f6fa;
}


.home-apresentacao-box > i {
    margin-bottom: 20px;

    color: #0d6efd;

    font-size: 55px;
}


.home-apresentacao-box h3 {
    font-size: 24px;

    font-weight: 700;
}


/* ==========================================================
   LINKS
========================================================== */

.home-links {
    padding: 80px 0;

    background: #f8f9fa;
}


.home-section-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 35px;
}


.home-link-card {
    height: 100%;

    min-height: 170px;

    padding: 28px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border: 1px solid #e9ecef;

    border-radius: 12px;

    background: #fff;

    color: #212529;

    text-decoration: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.home-link-card:hover {
    transform: translateY(-4px);

    color: #0d6efd;

    box-shadow:
        0 10px 25px rgba(0,0,0,.07);
}


.home-link-card i {
    margin-bottom: 15px;

    font-size: 32px;

    color: #0d6efd;
}


.home-link-card strong {
    margin-bottom: 5px;

    font-size: 18px;
}


.home-link-card span {
    color: #6c757d;

    font-size: 13px;
}


/* ==========================================================
   GALERIAS
========================================================== */

.home-galerias {
    padding: 90px 0;

    background: #fff;
}


.home-ver-tudo {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #0d6efd;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;
}


.home-galeria-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid #e9ecef;

    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 4px 15px rgba(0,0,0,.04);
}


.home-galeria-imagem {
    display: block;

    aspect-ratio: 16 / 10;

    overflow: hidden;

    background: #f1f3f5;
}


.home-galeria-imagem img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .3s ease;
}


.home-galeria-card:hover
.home-galeria-imagem img {
    transform: scale(1.05);
}


.home-galeria-sem-capa {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #adb5bd;

    font-size: 50px;
}


.home-galeria-conteudo {
    padding: 20px;
}


.home-galeria-data {
    display: block;

    margin-bottom: 8px;

    color: #6c757d;

    font-size: 12px;
}


.home-galeria-conteudo h3 {
    margin: 0 0 12px;

    font-size: 19px;

    font-weight: 700;
}


.home-galeria-conteudo h3 a {
    color: #212529;

    text-decoration: none;
}


.home-galeria-conteudo h3 a:hover {
    color: #0d6efd;
}


.home-galeria-fotos {
    color: #6c757d;

    font-size: 13px;
}


/* ==========================================================
   VAZIO
========================================================== */

.home-vazio {
    padding: 50px;

    text-align: center;

    color: #6c757d;
}


.home-vazio i {
    display: block;

    margin-bottom: 15px;

    font-size: 45px;
}


/* ==========================================================
   CTA
========================================================== */

.home-cta {
    padding: 65px 0;

    background: #12355b;

    color: #fff;
}


.home-cta-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.home-cta h2 {
    margin: 0 0 8px;

    font-size: 32px;

    font-weight: 800;
}


.home-cta p {
    margin: 0;

    color: rgba(255,255,255,.75);
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767.98px) {

    .home-hero {
        min-height: 500px;
    }


    .home-hero-content {
        padding: 60px 0;
    }


    .home-hero h1 {
        font-size: 28px;
    }


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


    .home-apresentacao,
    .home-links,
    .home-galerias {
        padding: 60px 0;
    }


    .home-section-header {
        align-items: flex-start;

        flex-direction: column;
    }


    .home-apresentacao-box {
        padding: 30px;

        min-height: 220px;
    }


    .home-cta-content {
        flex-direction: column;

        align-items: flex-start;
    }

}


/* ==========================================================
   NOTÍCIAS NA HOME
========================================================== */

.home-noticias {
    padding: 90px 0;
    background: #f8f9fa;
}

.home-noticia-card {
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.home-noticia-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.home-noticia-imagem {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f3f5;
}

.home-noticia-imagem img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .3s ease;
}

.home-noticia-card:hover .home-noticia-imagem img {
    transform: scale(1.05);
}

.home-noticia-sem-imagem {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 45px;
}

.home-noticia-conteudo {
    padding: 20px;
}

.home-noticia-data {
    display: block;
    margin-bottom: 8px;
    color: #6c757d;
    font-size: 12px;
}

.home-noticia-conteudo h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
}

.home-noticia-conteudo h3 a {
    color: #212529;
    text-decoration: none;
}

.home-noticia-conteudo h3 a:hover {
    color: #0d6efd;
}

.home-noticia-conteudo p {
    margin: 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.6;
}

/* ==========================================================
   EVENTOS NA HOME
========================================================== */

.home-eventos {
    padding: 90px 0;
    background: #fff;
}


.home-evento-card {
    height: 100%;
    overflow: hidden;

    border: 1px solid #e9ecef;
    border-radius: 12px;

    background: #fff;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}


.home-evento-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);
}


.home-evento-imagem {
    display: block;

    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #f1f3f5;
}


.home-evento-imagem img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .3s ease;
}


.home-evento-card:hover
.home-evento-imagem img {
    transform: scale(1.05);
}


.home-evento-data {
    position: absolute;

    left: 15px;
    bottom: 15px;

    width: 55px;
    height: 60px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #fff;

    box-shadow:
        0 4px 12px rgba(0,0,0,.15);

    text-align: center;
}


.home-evento-data strong {
    font-size: 22px;
    line-height: 1;
}


.home-evento-data small {
    margin-top: 4px;

    color: #0d6efd;

    font-size: 10px;

    font-weight: 700;
}


.home-evento-sem-imagem {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #adb5bd;

    font-size: 50px;
}


.home-evento-conteudo {
    padding: 20px;
}


.home-evento-tipo {
    display: block;

    margin-bottom: 7px;

    color: #0d6efd;

    font-size: 11px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .6px;
}


.home-evento-conteudo h3 {
    margin: 0 0 12px;

    font-size: 19px;

    line-height: 1.35;
}


.home-evento-conteudo h3 a {
    color: #212529;

    text-decoration: none;
}


.home-evento-conteudo h3 a:hover {
    color: #0d6efd;
}


.home-evento-meta {
    display: flex;

    flex-direction: column;

    gap: 6px;

    color: #6c757d;

    font-size: 12px;
}


.home-evento-meta span {
    display: flex;

    align-items: center;

    gap: 6px;
}

/* ==========================================================
   DESTAQUES / CAROUSEL DE NOTÍCIAS
   ========================================================== */

.home-destaque {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #12355b;
    color: #fff;
}

.home-destaque .carousel {
    width: 100%;
    overflow: hidden;
}

.home-destaque .carousel-inner,
.home-destaque .carousel-item,
.home-destaque-slide {
    height: 380px;
}

.home-destaque .carousel-item {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home-destaque-slide {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home-destaque-imagem {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.home-destaque-imagem img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border: 0;
}

.home-destaque-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.40) 45%, rgba(0,0,0,.10) 100%);
}

.home-destaque-slide > .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.home-destaque-conteudo {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    max-width: 700px;

    width: calc(100% - 120px);
}

.home-destaque-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.home-destaque-kicker i {
    font-size: 12px;
}

.home-destaque h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 6vw, 32px);
    line-height: 1.08;
    font-weight: 800;
}

.home-destaque p {
    max-width: 680px;
    margin-bottom: 12px;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.65;
}

.home-destaque-data {
    display: block;
    margin-bottom: 18px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
}

.home-destaque-data i {
    margin-right: 5px;
}

.home-destaque .carousel-control-prev,
.home-destaque .carousel-control-next {
    z-index: 5;
    width: 70px;
}

.home-destaque .carousel-control-prev-icon,
.home-destaque .carousel-control-next-icon {
    width: 35px;
    height: 35px;
}

.home-destaque .carousel-indicators {
    z-index: 5;
    margin-bottom: 25px;
}

.home-destaque .carousel-indicators button {
    width: 30px;
    height: 3px;
    margin: 0 4px;
    border: 0;
    opacity: .6;
}

.home-destaque .carousel-indicators button.active {
    opacity: 1;
}

.home-destaque-sem-noticia {
    min-height: 380px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #12355b, #1d5d8f);
}

/* ==========================================================
   8. BANNERS
   Proporção: 1320 x 250
========================================================== */

.home-banners {
    width: calc(100% - 40px);
    max-width: 1320px;
    aspect-ratio: 1320 / 250;

    margin: 25px auto;

    overflow: hidden;
    border-radius: 10px;
}

.home-banners .carousel {
    width: 100%;
    height: 100%;
}

.home-banners .carousel-inner {
    width: 100%;
    height: 100%;
}

.home-banners .carousel-item {
    width: 100%;
    height: 100%;
}

.home-banner-link {
    display: block;

    width: 100%;
    height: 100%;

    color: inherit;
    text-decoration: none;
}

.home-banner-slide {
    position: relative;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #f1f1f1;
}

.home-banner-slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.home-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.65) 0%,
            rgba(0,0,0,.35) 45%,
            rgba(0,0,0,.05) 100%
        );
}

.home-banner-conteudo {
    position: absolute;

    left: 7%;
    right: 7%;
    top: 50%;

    transform: translateY(-50%);

    max-width: 650px;

    color: #fff;
}

.home-banner-conteudo h2 {
    margin: 0 0 12px;

    font-size: clamp(24px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.1;
}

.home-banner-conteudo p {
    margin: 0 0 15px;

    font-size: 16px;
    line-height: 1.4;
}

.home-banner-conteudo .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-weight: 600;
}

.home-banners .carousel-control-prev,
.home-banners .carousel-control-next {
    width: 7%;
}

.home-banners .carousel-indicators {
    margin-bottom: 10px;
}

/* ==========================================================
   VAZIO
========================================================== */

.home-vazio {
    padding: 50px;

    text-align: center;

    color: #6c757d;
}


.home-vazio i {
    display: block;

    margin-bottom: 15px;

    font-size: 45px;
}


/* ==========================================================
   CTA
========================================================== */

.home-cta {
    padding: 65px 0;

    background: #12355b;

    color: #fff;
}


.home-cta-content {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;
}


.home-cta h2 {
    margin: 0 0 8px;

    font-size: 32px;

    font-weight: 800;
}


.home-cta p {
    margin: 0;

    color: rgba(255,255,255,.75);
}



/* ==========================================================
   RESPONSIVIDADE — CELULAR
   ========================================================== */

@media (max-width: 767.98px) {

    .home-hero { min-height: 500px; }
    .home-hero-content { padding: 60px 0; }
    .home-hero h1 { font-size: 28px; }
    .home-hero p { font-size: 16px; }

    .home-apresentacao,
    .home-links,
    .home-galerias { padding: 60px 0; }

    .home-section-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-apresentacao-box {
        padding: 30px;
        min-height: 220px;
    }

    .home-cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Carousel de notícias */
    .home-destaque,
    .home-destaque .carousel,
    .home-destaque .carousel-inner,
    .home-destaque .carousel-item,
    .home-destaque-slide {
        height: 220px !important;
        min-height: 220px !important;
    }

    .home-destaque-overlay {
        background: linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.45));
    }

    .home-destaque-conteudo {
        position: absolute;
        top: auto;
        bottom: 18px;
        left: 15px;
        right: 15px;
        transform: none;
        max-width: none;
    }

    .home-destaque h1 {
        margin-bottom: 8px;
        font-size: 20px;
        line-height: 1.15;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    .home-destaque p { display: none !important; }

    .home-destaque .carousel-control-prev,
    .home-destaque .carousel-control-next { width: 45px; }

    .home-destaque-conteudo .btn {
        display: inline-flex;
        align-items: center;
        height: 34px;
        padding: 5px 12px;
        font-size: 13px;
        line-height: 1;
    }

    /* ======================================================
   BANNERS — CELULAR
====================================================== */

.home-banners {
    width: calc(100% - 20px);
    max-width: none;

    aspect-ratio: 1320 / 250;

    margin: 15px auto;

    border-radius: 8px;
}

.home-banner-slide {
    height: 100%;
}

.home-banner-conteudo {
    left: 6%;
    right: 6%;
}

.home-banner-conteudo h2 {
    font-size: 20px;
    line-height: 1.1;
}

.home-banner-conteudo p {
    font-size: 12px;
    margin-bottom: 10px;
}

.home-banner-conteudo .btn {
    padding: 5px 10px;
    font-size: 12px;
}

.home-banners .carousel-control-prev,
.home-banners .carousel-control-next {
    width: 10%;
}

.home-banners .carousel-indicators {
    margin-bottom: 5px;
}