﻿.hero {
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: flex-end; /* desce pro rodapé */
    justify-content: flex-end; /* vai pra direita */
    padding: 2rem;
}

.hero-carousel {
    margin-left: -12px;
    width: calc(100vw - 15px) !important;
}

/* Quando a tela for até 980px (pode ser 950 também, depende do seu layout) */
@media (max-width: 1200px) {
    .hero-carousel {
        width: calc(100vw + 15px) !important;
    }
}

.hero-content {
    text-align: right;
    color: #fff;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* reduz a área clicável e mantém o ícone verticalmente centralizado */
.carousel-control-prev,
.carousel-control-next {
    width: auto !important; /* tira a faixa lateral padrão (que costuma ser ~15%) */
    height: 48px; /* altura clicável desejada */
    top: 50%; /* posiciona verticalmente no meio */
    bottom: auto; /* cancela bottom: 0; que deixa a faixa com altura total */
    transform: translateY(-50%); /* centraliza com exatidão */
    padding: 0.35rem; /* area ao redor do ícone para facilitar clique */
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* opcional */
}

/* deslocamento lateral (ajusta a distância da borda) */
.carousel-control-prev {
    left: 0.5rem;
}

.carousel-control-next {
    right: 0.5rem;
}

/* garante que o ícone escale bem */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-size: 100% 100%;
}

.secao_atuacao {
    background-color: #e6e6e6;
    padding: 40px 0 !important;
}

.secao_produtos{
    background-color: #e6e6e6;
    padding: 40px 0 !important;
}

.secao_noticias {
    background-color: #002f6b;
    padding: 40px 0 !important;
    color: #fff !important;
}

.secao_numeros {
    background-color: #002f6b;
    padding: 40px 0 !important;
    color: #fff !important;
}

.secao_numeros h1 {
    color: #fff !important;
}

.secao_numeros img, .icone_numeros_setor {
    width: 25%;
    max-width: 90px;
    padding: 30px 0 30px 0;
}


.secao_agenda {
    padding: 40px 0 !important;
}

.secao_agenda a{
    color: #fff;
}

    .secao_agenda h1 {
        color: #333 !important;
    }

.secao_banners {
    padding: 40px 0 10px 0 !important;
}

.secao_banners img {
    margin-bottom: 30px !important;
}


h1 {
    font-size: 230%;
    font-weight: bold;
    margin-bottom: 0;
    line-height: 1;
}


.divisor-titulo {
    font-size: 100%;
    font-weight: 300;
}


.link-titulo {
    font-size: 100%;
    text-decoration: none;
    font-weight: 400;
    color: #000;
}

.link-titulo:hover {
    color: #FF6600;
    text-decoration: none;
    filter: brightness(1.2);
}

.card-noticia-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.card-square {
    position: relative;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Gradiente específico para notícias */
.card-noticia-gradient {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100% );
}

/* Conteúdo dentro da metade inferior */
.card-noticia-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
}

.card-noticia-content h3 {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: bold;
}

.card-noticia-content p {
    margin: 0;
    font-size: 1rem;
}

/* serviços */

.atuacao-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.atuacao-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

    .atuacao-track::-webkit-scrollbar {
        display: none;
    }

.atuacao-item {
    box-sizing: border-box;
    flex: 0 0 calc(50% - 0.5rem);
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .atuacao-item {
        flex: 0 0 calc(25% - 0.75rem);
    }
}

.atuacao-item img {
    width: 100%;
    display: block;
}

.atuacao-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
    cursor: pointer;
}

    .atuacao-arrow.left {
        left: 10px;
    }

    .atuacao-arrow.right {
        right: 10px;
    }


/* ===== NÚMEROS DO SETOR ===== */

.numeros-setor {
    margin-top: 40px;
}

.numero-item {
    position: relative;
}

    /* linha vertical entre os itens */
    .numero-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 15%;
        right: 0;
        width: 1px;
        height: 70%;
        background: #fff;
        opacity: 0.4;
    }

.numero-conteudo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

    .numero-conteudo img {
        width: 60px;
        height: auto;
    }

    .numero-conteudo strong {
        display: block;
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
        line-height: 1.1;
    }

    .numero-conteudo span {
        font-size: 0.95rem;
        color: #fff;
    }

/* Mobile */
@media (max-width: 767px) {
    .numero-item:not(:last-child)::after {
        display: none;
    }

    .numero-conteudo {
        justify-content: center;
        margin-bottom: 30px;
    }

    .bloco-titulo {
        flex-direction: column;
        align-items: flex-start;
    }

    .divisor-titulo {
        display: none;
    }

    .link-titulo {
        margin-top: 10px;
    }
}

/* Estilo base do Card */
.card-agenda {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    min-height: 200px;
}

/* Cor do Título (Laranja por padrão) */
.card-title-agenda {
    color: #FF6600;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

/* Texto interno */
.card-text-agenda {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* EFEITO HOVER - Onde o card fica laranja */
.card-agenda:hover {
    background-color: #FF8C00; /* Laranja de fundo */
    border-color: #FF8C00;
}

    /* Muda a cor dos textos para branco quando passa o mouse */
    .card-agenda:hover .card-title-agenda,
    .card-agenda:hover .card-text-agenda {
        color: #FFF !important;
    }

/* Remove o sublinhado do link */
.text-decoration-none:hover {
    text-decoration: none;
}
