/*******************************/
/********* General CSS *********/
/*******************************/
:root {
    --top-bar-height: 45px;
    --navbar-height-desktop: 125px;
    --navbar-height-mobile: 75px;
    
    

    --header-height-desktop: calc(var(--top-bar-height) + var(--navbar-height-desktop));
    --header-height-mobile: var(--navbar-height-mobile);
}


body {
    color: #777777;
    font-weight: 500;
    background: #ffffff;
    font-family: 'Quicksand', sans-serif;
}

h1,
h2, 
h3, 
h4,
h5, 
h6 {
    color: #4a4c70;
}

a {
    color: #4a4c70;
    transition: .3s;
}

a:hover,
a:active,
a:focus {
    color: #00a043;
    outline: none;
    text-decoration: none;
}

.btn.btn-custom {
    padding: 12px 20px;
    text-align: center; 
   font-size: 16px;
    font-weight: 500;
    color: #777777;
    border-radius: 0;
    border: 2px solid #00a043;
    box-shadow: inset 0 0 0 0 #00a043;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn.btn-custom:hover {
    color: #20212B;
    background: #ff030b;
    box-shadow: inset 0 0 0 30px #00a043;
}

.btn:focus,
.form-control:focus {
    box-shadow: none;
}

.btn.btn-site {
    padding: 12px 20px;
    text-align: center; 
   font-size: 15px;
    font-weight: 500;
    color: #71BD43;
    border-radius:20px;
    border: 2px solid #00a043;
    transition: ease-out 0.3s;
    -webkit-transition: ease-out 0.3s;
    -moz-transition: ease-out 0.3s;
}

.btn.btn-site:hover {
    color: #fff;
    background: #71BD43;
    border: 2px solid #71BD43;
}



/**********************************
.container-fluid {
    max-width: 1366px;
} 
***/

[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {   
    font-size: inherit;
    margin-left: 0;
}


/**********************************/
/****** Loader & Back to Top ******/
/**********************************/
/**********************************/
/****** LOADER INSTITUCIONAL ******/
/**********************************/

/* camada de fundo */
#loader{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .45s ease;
  z-index: 9999;
}

#loader.show{
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* container fixo (NÃO gira) */
#loader .loader{
  position: relative;
  width: 92px;
  height: 92px;

  display: flex;
  align-items: center;
  justify-content: center;

  /* remove qualquer animação aqui */
  animation: none !important;
  transform: none !important;
}

/* o anel (só ele gira) */
#loader .loader::before{
  content: "";
  position: absolute;
  inset: 0;
  border: 5px solid rgba(0,0,0,0.08);
  border-top-color: #00a043;
  border-radius: 50%;
  animation: loaderSpin 1.1s linear infinite;
}

/* logo central (fica imóvel) */
#loader .loader img{
  position: relative; /* acima do ::before */
  z-index: 1;
  width: 56px;
  height: auto;
  object-fit: contain;
}

/* rotação do anel */
@keyframes loaderSpin{
  to { transform: rotate(360deg); }
}


.back-to-top {
    position: fixed;
    display: none;
    background: #00a043;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top i {
    color: #4a4c70;
    padding-top: 10px;
}

.back-to-top:hover {
    background: #00a043;
}

.back-to-top:hover i {
    color: #ffffff;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative; /* ou static */
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    background: linear-gradient(to right, #00a043, #007a2f);

}

.top-bar .top-bar-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.top-bar .top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end; 
}

.top-bar .text {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    height: 45px;
    padding: 0 10px;
    text-align: center;
}

.top-bar .text:last-child {
}

.top-bar .text i {
    font-size: 14px;
    color: rgba(255, 255, 255, .9);
    margin-right: 5px;
}

.top-bar .text p {
    color: rgba(255,255,255,.8); 
    font-size: 13px;
    font-weight: 400;
    margin: 0;
}

.top-bar .social {
    display: flex;
    height: 28px;
    font-size: 0;
    justify-content: flex-end;
    margin-right: 40px;
    margin-top: 5px;
}

.phone-right {
    transform: rotate(180deg);
}

.botaodelegacoes  {
    margin-left: 10px;
}

.botaodelegacoes a {
    
    width: 100%;
    height: 100%;
    font-size: 13px;
    letter-spacing: 1px;
    
    font-weight: 600;
    color: #ffffff;
    text-align: center;
    font-size: 27px;
}

.botaodelegacoes a:hover {
    color: rgba(255, 255, 255, 1);
    /*text-shadow: 0 0 4px rgba(255, 255, 0, 0.9);*/
}

.top-bar .social a {
    display: flex;
    align-items: center; 
    justify-content: center;
    margin-left: 12px;
    width: 28px;
    height: 100%;
    font-size: 12px;
    color: #00a043;
    background: rgba(255,255,255,.90);
    /*color: rgba(255,255,255,.85);*/
        border-radius: 20px;

    /* sombra dupla: funciona em fundo verde e branco */
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.18),   /* aparece no fundo branco */
        0 2px 6px rgba(0, 160, 67, 0.15); /* aparece no fundo verde */

    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}



.top-bar .social a:hover {
    color: #ffffff;
    background: #71BD43;
    /*color: #00a043;
    background: #ffffff;*/
}

@media (min-width: 992px) {
    .top-bar {
        padding: 0 60px;
    }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.navbar {
    position: relative;
    z-index: 999;
    will-change: transform;
}

.navbar-logo {
    max-height: 85px;
    width: auto;
    padding-left: 10px;
}


.navbar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    transition: .5s;
}

.navbar.nav-sticky + .carousel {
    margin-top: var(--navbar-height-mobile);
}

@media (min-width: 768px) {
    .navbar.nav-sticky + .carousel {
        margin-top: var(--navbar-height-desktop) !important;
    }
}


.navbar .navbar-brand {
    margin: 0;
    color: #ffffff;
    font-size: 45px;
    line-height: 0px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
}

.navbar .navbar-brand img {
    max-width: 100%;
    max-height: 85px;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 15px 8px 15px;
    
}

@media (min-width: 992px){
  .navbar-nav .nav-item:last-child,
  .navbar-nav .nav-link:last-child{
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
}


.navbar-dark .navbar-nav .nav-link {
    color: rgba(1,1,1,.9);
    border-bottom: 3px solid transparent; /* reserva o espaço */
    
}



.navbar-dark .navbar-nav .nav-link:hover {
    color: #007a2f;
    transition: none;
}

.navbar-dark .navbar-nav .nav-link.active {
    color: #007a2f; 
    transition: none; 
}


.navbar .dropdown-menu {
    
    background: #71BD43;
    margin-top: 0;
    border: none;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.navbar .dropdown-menu a {
    font-size: 13px;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 1);
}

.navbar .dropdown-menu a:hover {
    font-size: 13px;
    color: rgba(255, 255, 255, 1);
    background: #00a043 !important;
}

/* Mantém o item principal visível quando o dropdown está aberto */
.navbar-dark .navbar-nav .nav-item.dropdown.show > .nav-link {
    color: #007a2f;
    background-color: rgba(0, 160, 67, 0.08);
}


@media (min-width: 992px) {
    .navbar {
        position: relative;
        width: 100%;
        padding: 15px 60px;
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, .3);
        z-index: 9;
    }
    
    .navbar.nav-sticky {
        padding: 10px 60px;
        background: rgba(255, 255, 255, 1) !important;
        border-bottom: none;
    }
    
    .page .navbar {
        background: #20212B !important;
    }
    
    .navbar a.nav-link {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 1px;
    }
    .navbar a.nav-link::last-child {
        padding: 8px 15px;
        font-size: 14px;
        letter-spacing: 1px;
         color: red;
    }
    
   
   
    
}


@media (max-width: 991.98px) {   
    .navbar {
        padding: 15px;
        background: white !important;
    }
    
    .navbar a.nav-link {
        padding: 5px;
    }
    
    .navbar .dropdown-menu {
        box-shadow: none;
    }
}



/*******************************/
/********** Hero CSS ***********/
/*******************************/

.carousel {
    /* margin-top: var(--header-height-mobile); */
}

@media (min-width: 992px) {
    .carousel {
       /* margin-top: var(--header-height-desktop); */
    }
}

.carousel {
    position: relative;
    width: 100%;
    min-height: 600px;
    background: #ffffff;
    z-index: 1;
}



.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}




.carousel .carousel-img {
    position: relative;
    width: 100%;
    min-height: 600px;
    height: 600px;
    
    text-align: right;
    overflow: hidden;
}



.carousel .carousel-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;   /* cobre toda a largura do carrossel */
    height: 100%;  /* cobre toda a altura do carrossel */
    background: rgba(1,1,1,0.75);  /* verde escuro semi-transparente */
    
    z-index: 1;        /* atrás do texto */
    pointer-events: none; /* não bloqueia interações */
}



.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-text {
    position: absolute;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;  /* alinha horizontalmente à esquerda */
    justify-content: center;  /* mantém centralizado verticalmente */
    z-index: 2;
    padding: 30px 70px;
    text-align: left;         /* garante que o texto dentro fique à esquerda */
}

.carousel .carousel-text h1 {
    text-align: center;
    color: transparent;
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 20px;
}

.carousel .carousel-text p {
    color: #ffffff;
    text-align: center;
    font-size: 27px;
    margin-bottom: 25px;
}

/* estado base: texto visível */
.carousel-text p {
    opacity: 1;
    transform: translateY(0);
}

/* só os slides NÃO ativos ficam ocultos */
.owl-item:not(.active) .carousel-text p {
    opacity: 0;
    transform: translateY(25px);
}

/* animação quando entra */
.owl-item.active .carousel-text p {
    transition:
        opacity 0.8s ease-out,
        transform 0.8s ease-out;
}


.carousel .carousel-btn .btn.btn-custom {
    color: #000000;
    background: #007a2f;              /* verde escuro */
    border: 1px solid #007a2f;
    padding: 10px 22px;
    font-weight: 600;
    transition: all 0.1s ease;
    font-size: 16px;
    
    /* sombra moderna e discreta */
    box-shadow:
        0 6px 16px rgba(0, 160, 67, 0.25),
        0 2px 4px rgba(0, 0, 0, 0.08);
}

.carousel .carousel-btn .btn.btn-custom a {
  
    font-size: 18px;
}
.carousel .carousel-btn .btn.btn-custom:hover {
    color: #fff;
    background: #71BD43;              /* ainda mais escuro no hover */
    border-color: #71BD43;
}


.carousel .carousel-btn .btn:first-child {
    margin-right: 15px;
}

.carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 60px;
    top: calc(50% - 30px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 9;
}

.carousel .owl-nav .owl-prev{
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    /*background: rgba(1, 1, 1, .4);*/
    font-size: 22px;
    transition: .3s;
}

.carousel .owl-nav .owl-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    /*background: rgba(1, 1, 1, .4);*/
    font-size: 22px;
    transition: .3s;
}

.carousel .owl-nav .owl-prev:hover,
.carousel .owl-nav .owl-next:hover {
    color: rgba(0, 122, 47, 1);
    background: rgba(255, 255, 255, .6);
}

.carousel .owl-nav .owl-prev {
    margin-right: 2px;
}

.carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .carousel .carousel-text h1 {
        font-size: 35px;
    }
    
    .carousel .carousel-text p {
        font-size: 16px;
    }
    
    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {
    .carousel .carousel-text h1 {
        font-size: 30px;
    }
    
    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 575.98px) {
    .carousel .carousel-text h1 {
        font-size: 25px;
    }
    
    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
        letter-spacing: 0;
    }
}

/*******************************/
/********** Hero CSS ***********/
/*******************************/ 

.banner {
    /*margin-top: var(--header-height-mobile); */
}

@media (min-width: 992px) {
    .banner {
        /*margin-top: var(--header-height-desktop);*/
    }
}

.banner {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: #ffffff;
    z-index: 1;
    background: url('../img/fundogaleriahistorial.png') center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center; 
}

/* Camada preta por cima da imagem */
.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75); /* preto leve */
    z-index: 1;
}

/* Conteúdo do banner acima do overlay */
.banner > * {
    position: relative;
    z-index: 2;
}

/* Conteúdo acima do overlay */
.banner-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
}

.banner-content h1 {
    color: rgba(255, 255, 255, .95);
    font-size: 27px;
    margin: 0;
    padding-left: 15px; /* alinha com container */
}

/* Desktop */
@media (min-width: 992px) {
    .banner-content h1 {
        font-size: 44px;
        padding-left: 60px;
    }
}

/*******************************/
/********** Hero CSS ***********/
/*******************************/ 

.bannermap {
    position: relative;
    width: 100%;
    min-height: 50px;
    background-color: rgba(0, 160, 67, 0.08);
    display: flex;
    align-items: center;
    
    box-shadow: 0 6px 8px -6px rgba(0, 0, 0, 0.25);
}

/* Conteúdo alinhado à esquerda */
.bannermap .mapdescricao {
    display: flex;
    align-items: center;
}

/* Texto */
.bannermap .mapdescricao h4 {
    margin: 0;
    padding: 10px 0;
    font-weight: 600;
    font-size: 15px;
}
 
/*******************************/
/********** Historial CSS ***********/
/*******************************/ 
.historialspecial {
    position: relative;
    width: 100%;
    background: #71BD43;
    padding: 50px 0px;

    position: relative;
    width: 100%;
    padding: 50px 0;

    /* Imagem de fundo 
    background-image: url("../img/carousel-2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */

    overflow: hidden;
}

/* Overlay verde por cima da imagem */
.historialspecial::before {
    content: "";
    position: absolute;
    inset: 0;

    /* sombra/overlay verde */
    background: linear-gradient(
        to right,
        rgba(0, 160, 67, 0.85),
        rgba(0, 122, 47, 0.85)
    );

    z-index: 1;
}

/* Garante que o conteúdo fique acima do overlay */
.historialspecial .container {
    position: relative;
    z-index: 2;
}


.historialspecial .historial-text p {
    color: rgba(255,255,255,.89);
    
}

.historial {
    padding: 20px 0 0px 0;
}

.historial-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.historial-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.historial-card p,
.historial-text p,
.historial-text-full p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

/* Estado inicial dos parágrafos */
.historial-card p,
.historial-text-full p,
.historial-text p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.historial-card {
    padding: 20px;
    background: #00a043;
    border-radius: 20px;
    
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
}

.historial-card:hover {
    background: #71BD43;
}

.historial-card p{
 
    color: rgba(255, 255, 255, .8);
    
}

.historial-card h3{
 
    color: rgba(255, 255, 255, 1);
    
}


/* Quando ativo */
.historial-card p.show,
.historial-text-full p.show,
.historial-text p.show {
    opacity: 1;
    transform: translateY(0);
}

.historial-text-fullhp p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 17px;
    text-align: center;
}

.historial-text-full {
    padding-top: 10px;
    /*border-top: 1px solid rgba(0, 0, 0, 0.08);*/
}

.historial-text-full h4 {
    margin-bottom: 5px;
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: #4a4c70;
}

/* Responsivo */
@media (max-width: 991px) {
    .historial-text {
        margin-top: 30px;
    }
}
 
/* Card específico das delegações regionais */
.historial .delegacao-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow:
        0 4px 8px rgba(0, 160, 67, 0.1),
        0 8px 16px rgba(0, 160, 67, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.historial .delegacao-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 8px 16px rgba(0, 160, 67, 0.15),
        0 12px 24px rgba(0, 160, 67, 0.12);
}

.historial .delegacao-card p {
    font-size: 15px !important;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
}

/* =========================
   DIRIGENTES – TIMELINE
   ========================= */

.dirigentes-timeline{
  padding: 10px 0 45px 0;
  margin-left: -10px;   /* ajusta se quiser mais/menos */
  padding-left: 0 !important;
}

.dirigentes-title{
  font-size: 28px;
  font-weight: 800;
  color: #4a4c70;
  margin-bottom: 8px;
}

.dirigentes-subtitle{
  margin: 0 auto;
  max-width: 820px;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* container da timeline */
.timeline{
  position: relative;
  margin-top: 20px;
  padding-left: 0;
}

/* linha vertical */
.timeline::before{
  content:"";
  position: absolute;
  left: 170px;          /* alinha com a coluna do ano */
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(0,160,67,0.25);
}

/* item */
.timeline-item{
  position: relative;
  display: grid;
  grid-template-columns: 160px 20px 1fr; /* ano | dot | card */
  column-gap: 10px;
  align-items: start;
  margin-bottom: 16px;
}

.timeline-year{
  text-align: right;
  font-weight: 800;
  color: #007a2f;
  font-size: 14px;
  padding-top: 14px;
  padding-right: 10px;
  white-space: nowrap;
}

.timeline-dot{
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 18px;
  background: #00a043;
  box-shadow: 0 0 0 5px rgba(0,160,67,0.14);
  z-index: 2;
}

/* card */
.timeline-card{
  background: #ffffff;
  border: 1px solid rgba(0, 160, 67, 0.14);
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.timeline-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.10);
}

.timeline-card h4{
  font-size: 16px;
  font-weight: 800;
  color: #4a4c70;
  margin: 0 0 10px 0;
}

/* badges */
.badge-inst{
  background: rgba(0, 160, 67, 0.12);
  color: #007a2f;
  font-weight: 800;
  padding: 7px 10px;
  border-radius: 30px;
  border: 1px solid rgba(0, 160, 67, 0.22);
}

/* meta */
.timeline-meta{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-meta .periodo{
  font-size: 13px;
  font-weight: 700;
  color: #007a2f;
  background: rgba(113, 189, 67, 0.12);
  border: 1px solid rgba(113, 189, 67, 0.22);
  padding: 6px 10px;
  border-radius: 30px;
  white-space: nowrap;
}

/* multi-linhas (Samuel) */
.timeline-meta.multi{
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.timeline-meta.multi .tag{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* responsivo */
@media (max-width: 767.98px){
  .timeline::before{
    left: 16px;
  }

  .timeline-item{
    grid-template-columns: 20px 1fr; /* dot | card */
    column-gap: 12px;
  }

  .timeline-year{
    display: none; /* no mobile escondemos a coluna do ano */
  }

  .timeline-dot{
    margin-top: 16px;
  }

  .timeline-card{
    padding: 14px 14px;
  }
}


/* Estado inicial dos parágrafos */
.delegacao-card p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Quando ativo */
.delegacao-card p.show {
    opacity: 1;
    transform: translateY(0);
}


.delegacao-card {
    padding-top: 10px;
    /*border-top: 1px solid rgba(0, 0, 0, 0.08);*/
}

/* Nome da província em destaque */
.destaque-provincia {
    color: #00a043;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 15px;
}

/* Ícones verdes consistentes */
.delegacao-card i {
    color: #00a043;
    margin-right: 8px;
}

.carddelegacao {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow:
        0 4px 8px rgba(0, 160, 67, 0.1),
        0 8px 16px rgba(0, 160, 67, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carddelegacao:hover {
    background: #71BD43;
    color: rgba(255, 255, 255, 1);
    transform: translateY(-5px);
    box-shadow:
        0 8px 16px rgba(0, 160, 67, 0.15),
        0 12px 24px rgba(0, 160, 67, 0.12);
}

.carddelegacao p {
    font-size: 15px;
    line-height: 1.8;
    color: rgb(68, 68, 68);
    margin-bottom: 15px;
    text-align: justify;
}

.carddelegacao:hover p
{
    color: rgba(255, 255, 255, 1);
}



.carddelegacao .historial-text-full:hover p {
    background: #fff;
}

.carddelegacao-map iframe {
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 10px;
}

.carddelegacao .form-control{
  border-radius: 10px;
  padding: 12px 14px;
}

.carddelegacao .btn{
  border-radius: 10px;
  padding: 10px 18px;
}

.carddelegacao .form-control:focus{
  border-color: rgba(0,160,67,.45);
}

/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 210px 0 90px 0;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .5)), url(../img/page-header.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header h2 {
    position: relative;
    color: #FDBE33;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: #FDBE33;
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: #ffffff;
}

.page-header a:hover {
    color: #FDBE33;
}

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: #ffffff;
}

.page-header a:last-child::after {
    display: none;
}

@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 45px;
    }
    
    .page-header a {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 45px 0;
    }
    
    .page-header h2 {
        font-size: 35px;
    }
    
    .page-header a {
        font-size: 18px;
    }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 45px auto;
}

.section-header p {
    margin-bottom: 5px;
    position: relative;
    font-size: 20px;
    font-weight: 700;
    text-transform: capitalize;
    color: #4a4c70;
}

.section-headerhomepage {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto 25px auto;
}

.section-headerhomepage p {
    margin-bottom: 5px;
    position: relative;
    font-size: 20px;
    text-transform: capitalize;
    color: #4a4c70;
    text-align: center;
}

.section-header h2 {
    margin: 0;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 45px;
    }
}

@media (max-width: 767.98px) {
    .section-header h2 {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .section-header h2 {
        font-size: 35px;
    }
}

.section-headerhomepage h2 {
    margin: 0;
    font-size: 45px;
    font-weight: 700;
}

@media (max-width: 991.98px) {
    .section-headerhomepage h2 {
        font-size: 45px;
    }
}

@media (max-width: 767.98px) {
    .section-headerhomepage h2 {
        font-size: 40px;
    }
}

@media (max-width: 575.98px) {
    .section-headerhomepage h2 {
        font-size: 35px;
    }
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header {
    margin-bottom: 30px;
    margin-left: 0;
}

.about .about-img {
    width: 100%;
    height: 100vh;
}

.about .about-tab {
    width: 100%;
}

.about .about-tab .nav.nav-pills .nav-link {
    padding: 8px;
    font-weight: 600;
    background: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    transition: none;
}

.about .about-tab .nav.nav-pills .nav-link:hover,
.about .about-tab .nav.nav-pills .nav-link.active {
    color: #00a043;
    padding-bottom: 7px;
    border-bottom: 3px solid #00a043;
}

.about .about-tab .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.about .about-tab .tab-content .container {
    padding: 0;
}

@media (max-width: 991.98px) {
    .about .section-header {
        margin-top: 30px;
    }
}

.fastservice {
    position: relative;
    width: 100%;
    padding: 0;
    
    /*max-height: 200px; */
    z-index: 5;           /* fica acima do carrossel */
    margin-top: -100px; 
}

.fastservice .fastservice-item-left {
    height: 100px;
    background: #00a043;
}


.fastservice .fastservice-item-left p {
    margin-bottom: 5px;
    position: relative;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    color: #ffffff;
}

.fastservice .service-item {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    padding: 20px 15px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    border: 1px solid rgba(0, 160, 67, 0.15);

    box-shadow:
        /* sombra verde suave */
        0 12px 28px rgba(0, 160, 67, 0.28),

        /* sombra neutra para profundidade */
        0 6px 12px rgba(0, 0, 0, 0.12);

    transition:
        box-shadow 0.9s ease,
        transform 0.9s ease,
        border-color 0.9s ease;
}



.fastservice .service-item {
    transition:
        background-color 0.9s ease,
        box-shadow 0.9s ease,
        transform 0.9s ease;
}

.fastservice .service-item:hover {
    transform: translateY(-8px);
    background: #71BD43;
    box-shadow:
        0 16px 36px rgba(0, 160, 67, 0.35),
        0 8px 14px rgba(0, 0, 0, 0.12);

}




.fastservice .service-icon { 
    position: relative;
    width: 60px;
    margin-top: 20px;
}

.fastservice .service-icon i {
    position: relative;
    display: block;
    color: #00a043;
    font-size: 50px;
    line-height: 60px;
    margin-top: 5px;
}

.fastservice .service-text {
    margin-top: 15px;
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
    margin-bottom: 15px;
}

.fastservice .service-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 10px);
    top: 5px;
    left: 0;
    background: rgba(0, 0, 0, .1);
}

.fastservice .service-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #00a043;
}

.fastservice .service-text h3 {
    margin-bottom: 10px;
    font-size: 17.5px;
    font-weight: 700;
    letter-spacing: .5px;
    color: rgba(1,1,1,1);
}



.fastservice .service-text p { 
    margin: 0;
    font-size: 15px;
}

/* quando passa o mouse no CARD */
.fastservice .service-item:hover .service-text h3{
    color: rgba(255,255,255,1);
}

/* quando passa o mouse no CARD */
.fastservice .service-item:hover .service-text p{
  color: rgba(255, 255, 255, .8);
}

.fastservice .service-link{
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.fastservice .service-link:hover{
  text-decoration: none !important;
  color: inherit !important;
}

/* garante que hover do card funciona normalmente */
.fastservice .service-link:hover .service-item{
  /* não precisa repetir efeitos, apenas garante comportamento */
}

/* cursor de link */
.fastservice .service-link .service-item{
  cursor: pointer;
}

/* =========================
   ANIMAÇÃO FASTSERVICE
   ========================= */

/* estado inicial (invisível) */
.fastservice .service-item {
    opacity: 0;
    transform: translateY(30px); 
}




/* Estado visível */
.fastservice .service-item.show {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

.icc {
    position: relative;
    width: 100%;
    padding: 0;
    margin-bottom: 60px;
    margin-top: 20px;
    z-index: 5;           /* fica acima do carrossel */
   
}




.icc .icc-item-left {
    height: 100px;
    background: #00a043;
}

.icc .icc-item-left p {
    margin-bottom: 5px;
    position: relative;
    font-size: 22px;
    font-weight: 600;
    text-transform: capitalize;
    color: #ffffff;
}

.icc .service-item {
    height: 100%;
    position: relative;
    width: 100%;
    display: flex;
    background: #ffffff;
    padding: 20px;
    border-top-left-radius: 20px;
     
    flex-direction: row;
    align-items: flex-start;
    gap: 15px;
    border: 1px solid rgba(0, 160, 67, 0.15);

    box-shadow:
        /* sombra verde suave */
        0 12px 28px rgba(0, 160, 67, 0.28),

        /* sombra neutra para profundidade */
        0 6px 12px rgba(0, 0, 0, 0.12);

    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease,
        border-color 0.35s ease;
}

.icc .service-item:hover {
    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.18),
        0 6px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
}

/* ÍCONE (GIF) */
.icc .service-icon { 
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.icc .service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* TEXTO */
.icc .service-text {
    flex: 1;
    margin: 0;
    padding: 0;
    text-align: justify;
}

@media (max-width: 768px) {
    .icc .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* aplica clamp só no fastservice e icc (serviços) */
.fastservice .service-text p,
.icc .service-text p {
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



/* Limita visualmente o texto 
.service-text p {
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 6;       
    -webkit-box-orient: vertical;
    overflow: hidden;
} */

.icc .service-text h3 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

.icc .service-text p {
    margin: 0;
    font-size: 15px;
    text-align: left;
}

/* Botão ICC - outline */
.btn-icc-outline {
    display: inline-block;
    padding: 8px 20px;
    border: 2px solid #00a043;
    color: #4a4c70;
    background: transparent;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    border-radius: 30px;
    text-decoration: none;
    transition: 
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease;
}


/* Hover elegante */
.btn-icc-outline:hover {
    background: #00a043;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 160, 67, 0.25);
    transform: translateY(-2px);
}

/* === ORGANOGRAMA (HTML/CSS) === */
.org-chart{
  background: rgba(0,160,67,0.03);
  border: 1px solid rgba(0,160,67,0.12);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
}

.org-level{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.org-level--3 .org-node{ width: 290px; }
.org-level--4 .org-node{ width: 260px; }

.org-node{
  background: #ffffff;
  border: 1px solid rgba(0,160,67,0.15);
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  text-align: left;
  display: flex;
  flex-direction: column;
  min-height: 120px; /* deixa as caixas consistentes */
}

.org-node--main{
  width: 380px;
  border: 2px solid rgba(0,160,67,0.35);
  box-shadow: 0 14px 30px rgba(0,160,67,0.18), 0 10px 22px rgba(0,0,0,0.08);
}

.org-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 10px;          /* centraliza horizontalmente */
  border-radius: 12px;
  background: rgba(0, 160, 67, 0.08);

  display: flex;
  align-items: center;          /* centro vertical */
  justify-content: center;      /* centro horizontal */
}

.org-icon i {
  font-size: 22px;
  line-height: 1;               /* evita desalinhamento vertical */
  color: #00a043;
  display: block;
}



.org-title{
  font-weight: 700;
  color: #4a4c70;
  font-size: 15px;
  margin-bottom: 6px;
  text-align: center;
}

.org-sub{
  font-size: 13px;
  color: #666; 
  line-height: 1.5;
  text-align: center;
}

.org-connector{
  height: 22px;
  position: relative;
  margin: 10px 0;
}

.org-connector::before{
  content:"";
  position:absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: rgba(0,160,67,0.35);
}

/* responsivo */
@media (max-width: 575.98px){
  .org-level--3 .org-node,
  .org-level--4 .org-node,
  .org-node--main { width: 100%; }
}

/* =========================
   FINANCIAMENTO – CARDS COM IMAGEM
   ========================= */

.financiamento{
  padding: 10px 0 20px 0;
}

.fin-card{
  position: relative;
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid rgba(255, 255, 255, .7);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18), 0 10px 24px rgba(0, 160, 67, 0.20);
}

.fin-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 38px rgba(0,0,0,0.22);
}

/* metade esquerda com sombra verde */
.fin-overlay{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 70%;

  padding: 28px 24px;

  background: linear-gradient(
    to right,
    rgba(0,160,67,0.95) 0%,
    rgba(0,122,47,0.90) 70%,
    rgba(0,0,0,0.0) 100%
  );

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fin-overlay h3{
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.fin-overlay p{
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fin-overlay:hover{
  background: linear-gradient(
    to right,
    rgba(113,189,67,0.95) 0%,
    rgba(113,189,67,0.88) 60%,
    rgba(113,189,67,0.70) 75%,
    rgba(0,0,0,0.0) 100%
  );
}

/* botão branco sobre verde */
.btn-icc-outline--white{
  border-color: rgba(255,255,255,0.9) !important;
  color: #ffffff !important;
  background: transparent !important;
}

.btn-icc-outline--white:hover{
  background: #ffffff !important;
  color: #007a2f !important;
  border-color: #ffffff !important;
}

/* responsivo */
@media (max-width: 991.98px){
  .fin-overlay{
    width: 80%;
  }
}

@media (max-width: 575.98px){
  .fin-card{
    height: 230px;
  }

  .fin-overlay{
    width: 100%;
    background: linear-gradient(
      to bottom,
      rgba(0,160,67,0.95) 0%,
      rgba(0,122,47,0.90) 70%,
      rgba(0,0,0,0.0) 100%
    );
  }
}

/*******************************/
/********* Service CSS *********/
/*******************************/



.service .service-text h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service .service-text p {
    margin: 0;
}



/* =========================
   ANIMAÇÃO FASTSERVICE
   ========================= */

/* estado inicial (invisível) */
.icc .service-item {
    opacity: 0;
    transform: translateY(30px); 
}




/* Estado visível */
.icc .service-item.show {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}



/*************** Missao, visao e valores *************/

.missaoevisao {
    position: relative;
    width: 100%;
    padding: 0;
    
    z-index: 5;        
}

.historial-hero img{
  width: 100%;
  height: 680px;     /* ajuste se quiser */
  object-fit: cover;
  border-radius: 12px; /* opcional */
}


.missaoevisao .service-item {
    position: relative;
    width: 100%;
    display: flex;
    background: rgba(255,255,255,1);
    padding: 0 30px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.08);
    min-height: 430px;
    height: auto;
    flex-direction: column;
    align-items: stretch;
    text-align: center;

    /* sem animação de entrada */
    opacity: 1;
    transform: none;
    transition: .3s; /* mantém transição geral (hover) */
}


.missaoevisao .service-item:hover {
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.14);
    transform: translateY(-6px);
    color: rgba(255, 255, 255, 1);
    background: #71BD43;
}


.missaoevisao .service-item:hover h3 {
    
    color: rgba(255, 255, 255, 1);
}

.missaoevisao .service-item:hover p {
    
    color: rgba(255, 255, 255, .7);
}

.missaoevisao .service-item:hover i {
    
    color: rgba(255, 255, 255, 1);
}

.missaoevisao .service-item:hover li {
    
    color: rgba(255, 255, 255, 1);
}

.missaoevisao .service-icon { 
    position: relative;
    margin-top: 20px;
}

.missaoevisao .service-icon i {
    position: relative;
    display: block;
    color: #00a043;
    font-size: 50px;
    line-height: 60px;
    margin-top: 5px;
}

.missaoevisao .service-text {
    margin-top: 15px;
    position: relative;
    margin-bottom: 15px;
}



.missaoevisao .service-text h3 {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
}

.missaoevisao .service-text p {
    margin: 0;
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
    text-align: justify;
    overflow: hidden;
    -webkit-line-clamp: 9;
}

.missaoevisao .service-text .valores-lista {
    padding-left: 28px;
    margin: 10px 0 0;
    list-style: none;
    text-align: left;
}

.missaoevisao .service-text .valores-lista li {
    position: relative;
    margin-bottom: 11px;
    padding-left: 28px;
    font-size: 15px;
    color: #555;
}



.missaoevisao .service-text ul {
    text-transform: none;
    text-align: left;
}
.missaoevisao .service-text ul li {
    margin: 0;
    font-size: 15px;
    line-height: 1.0;
    color: #444;
    margin-bottom: 15px;
    text-align: left;
}

.missaoevisao .service-text ul li i {
  
    color: #00a043;
}

.org-icon{
  width: 62px;
  height: 62px;
  margin: 0 auto 10px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0,160,67,0.06);
  border: 2px solid rgba(0,160,67,0.22);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.org-icon img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   ORGANOGRAMA – FIX SCROLL
   ========================= */

/* garante que nada vaza lateralmente */
.org-chart{
  overflow-x: hidden;
  max-width: 100%;
}

/* níveis do organograma */
.org-level{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;   /* ← ISSO É O MAIS IMPORTANTE */
  width: 100%;
}

/* evita que os cards forcem largura extra */
.org-node{
  flex: 1 1 260px;   /* largura mínima inteligente */
  max-width: 320px;
  min-width: 220px;
}

/* em telas médias reorganiza melhor */
@media (max-width: 1200px){
  .org-node{
    flex: 1 1 240px;
  }
}

/* tablets */
@media (max-width: 992px){
  .org-node{
    flex: 1 1 45%;
  }
}

/* mobile */
@media (max-width: 576px){
  .org-node{
    flex: 1 1 100%;
  }
}


/* =========================
   ICC – ÁREA VERDE (HOME)
   ========================= */
.icc-highlight{
  position: relative;
  width: 100%;
  padding: 45px 0;
  margin: 25px 0 25px 0;
}

.icc-highlight-box{
  position: relative;
  border-radius: 18px;
  padding: 34px 28px;

  /* fundo verde institucional */
  background: linear-gradient(to right, #00a043, #007a2f);

  /* borda + sombra elegante */
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 18px 34px rgba(0,0,0,0.18),
    0 10px 24px rgba(0,160,67,0.20);

  overflow: hidden;
}

/* brilho sutil por cima */
.icc-highlight-box::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at top, rgba(255,255,255,0.12), transparent 55%);
  pointer-events:none;
}

.icc-highlight-box:hover {
    background: #71BD43;
} 

.icc-highlight-title{
  position: relative;
  z-index: 1;
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #ffffff;
}

/* linha/barrinha central abaixo do título */
.icc-highlight-title::after{
  content:"";
  display:block;
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255,255,255,0.85);
  margin: 12px auto 0;
}

.icc-highlight-text{
  position: relative;
  z-index: 1;
  margin: 16px auto 22px auto;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

/* versão branca do botão outline (mesmo “modelo” do btn-icc-outline) */
.btn-icc-outline--white{
  background: #ffffff !important;
  color: #007a2f !important;
  border-color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transform: translateY(-2px);
}

.btn-icc-outline--white:hover{
  
  border-color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.9) !important;
  color: #ffffff !important;
  background: transparent !important;
}

/* responsivo */
@media (max-width: 575.98px){
  .icc-highlight-box{
    padding: 26px 18px;
    border-radius: 16px;
  }

  .icc-highlight-title{
    font-size: 18px;
  }
}



/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
    transition: .3s;
}

.service .service-icon {
    position: relative;
    width: 60px;
}

.service .service-icon i {
    position: relative;
    display: block;
    color: #FDBE33;
    font-size: 60px;
    line-height: 60px;
    margin-top: 5px;
}

.service .service-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.service .service-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 10px);
    top: 5px;
    left: 0;
    background: rgba(0, 0, 0, .1);
}

.service .service-text::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: #FDBE33;
}

.service .service-text h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.service .service-text p {
    margin: 0;
}


/*******************************/
/********* Donate CSS **********/
/*******************************/
.donate {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: rgba(0, 0, 0, .5);
}

.donate .donate-content {
    padding: 45px 0 15px 0;
}

.container .donate {
    margin: 90px 0;
}

.container .donate .donate-content {
    padding: 45px 30px 15px 30px;
}

.donate .donate-content .section-header {
    margin-bottom: 30px;
}

.donate .donate-content .section-header h2 {
    color: #ffffff;
}

.donate .donate-text p {
    color: #ffffff;
    font-size: 18px;
}

.donate .donate-form {
    padding: 90px 30px;
    background: #FDBE33;
}

.donate .donate-form .control-group {
    margin-bottom: 15px;
}

.donate .donate-form .form-control {
    height: 60px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid #ffffff;
    background: transparent;
}

.donate .donate-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.donate .donate-form .form-control:-ms-input-placeholder,
.donate .donate-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.donate .donate-form .btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.donate .donate-form .btn.btn-custom {
    padding: 15px 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 0 #ffffff;
}

.donate .donate-form .btn.btn-custom:hover,
.donate .donate-form .btn.btn-custom.active {
    color: #FDBE33; 
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 30px #ffffff;
}


/*******************************/
/********** Causes CSS *********/
/*******************************/
.causes {
    position: relative;
    width: 100%;
    padding: 20px 0 45px 0;
}


/* Espaço entre o título e o carrossel */
.causes .section-header{
  margin: 0 auto 20px auto; /* antes era 45px */
}


.causes .causes-carousel {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
}

/* CARD */
.causes .causes-item {
    margin: 0 15px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(0, 160, 67, 0.15);

    box-shadow:
        0 12px 28px rgba(0, 160, 67, 0.28),
        0 6px 12px rgba(0, 0, 0, 0.12);

    transition:
        box-shadow 0.35s ease,
        transform 0.35s ease,
        border-color 0.35s ease;

    /* ✅ garante base consistente e botão no fundo */
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 15px; /* espaço inferior consistente */
}

/* IMAGEM */
.causes .causes-img {
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    width: 100%;
   height: 230px;     /* ajuste: 200~280 conforme o teu layout */
}


  
 



/* badge por cima da imagem */
.news-badge{
    position: absolute;
    top: 14px;         /* ajuste se quiser mais alto/baixo */
    left: 50%;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;   /* evita quebra da data */
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;

    color: #ffffff;
    background: rgba(0, 160, 67, .7);
    border-radius: 30px;

    box-shadow: 0 10px 22px rgba(0,0,0,0.20);
    transform: translateX(-50%);
    text-align: center;
}

.news-badge i{
    font-size: 12px;
}

.causes .causes-img img {
    width: 100%;
    transition: .3s;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: block;
    position: relative;
    z-index: 0;
    height: 100%;
      object-fit: cover;   /* mantém proporção e corta o excesso */
      display: block;
}


  
  

.causes .causes-item:hover .causes-img img {
    transform: scale(1.08);
}

.causes .causes-item:hover img {
    transform: scale(1.1);
}

.causes .progress-text {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    font-weight: 700;
}

/* Barra verde institucional */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #00a043;
    border-radius: 2px;
}

.section-titlee{
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  font-size: 20px;
  font-weight: 700;
  color: #4a4c70;
}

.section-titlee::after{
  content:"";
  position:absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  background:#00a043;
  border-radius: 2px;
}

.causes .progress-text p {
    margin: 0;
}

/* TEXTO (cresce e empurra o botão para baixo) */
.causes .causes-text {
    padding: 10px 20px;
    text-align: justify;
    flex: 1; /* ✅ faz o conteúdo ocupar espaço e alinhar o botão */
}

.causes .causes-text h3 {
    font-size: 17px;
    font-weight: 700;
}

.causes .causes-text p {
    margin: 0;
    font-size: 15px;
}

/* BOTÃO SEM "margem por baixo" variável */
.causes .causes-btn {
    display: flex;
    justify-content: center; /* em vez de space-between (tens 1 botão) */
    margin-top: auto;        /* ✅ cola no fundo do card */
}

.causes .causes-btn .btn {
    padding: 10px 0;
    width: 50%;
    border-radius: 10px;
    display: block;
    margin: 0 auto;          /* ✅ tira variações */
    margin-bottom: 0 !important; /* ✅ remove o espaço do botão */
}

.causes .causes-btn .btn:last-child {
    color: #00a043;
    background: transparent;
    border: none;
    font-size: 14px;
    display: inline-block;
    padding: 8px 20px;

    letter-spacing: 0.5px;
    border-radius: 30px;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.causes .causes-btn .btn:last-child:hover {
    border: 2px solid #00a043;
    color: #fff;
    background: transparent;
}

.causes .causes-btn .btn:hover {
    border: 2px solid #71BD43;
    color: #fff;
    background: #71BD43;
}

.causes .owl-item{
  height: 100%;
}

.causes .owl-stage{
  display: flex;
}

.causes .owl-item{
  display: flex;
}

.causes .causes-item{
  width: 100%;
}


/* =========================
   CAUSES – APARIÇÃO (SCROLL)
   ========================= */

.causes .causes-item {
    opacity: 0;
    transform: translateY(30px);
}

/* MOBILE: desliga o efeito de sobreposição do fastservice */
@media (max-width: 991.98px){
  .fastservice{
    margin-top: 0;      /* remove o “subir” no mobile */
    max-height: none;   /* evita cortar/encolher */
    padding: 20px 0;    /* dá respiro */
    z-index: auto;      /* evita ficar por cima de outras secções */
  }

  .causes{
    margin-top: 20px;   /* aproxima/afasta do fastservice como quiseres */
    padding-top: 10px;
  }

  .causes .section-header{
    margin-bottom: 15px;
  }
}

/* visível */
.causes .causes-item.show {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

/* =========================
   CAUSES – HOVER (SOMBRA)
   ========================= */

.causes .causes-item {
    transition:
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.causes .causes-item:hover {
    box-shadow:
        0 14px 34px rgba(0, 0, 0, 0.20),
        0 6px 14px rgba(0, 0, 0, 0.14);
    transform: translateY(-6px);
}


/*******************************/
/********** Facts CSS **********/
/*******************************/
.facts {
    position: relative;
    width: 100%;
    min-height: 250px;
    margin: 45px 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
    z-index: 0;
    text-align: center;
}

.facts .facts-item {
    display: flex;
    flex-direction: row;
    margin: 25px 0;
    z-index: 5;
    align-items: center;
    text-align: center;
}

.facts::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(
        to right,
        rgba(0, 122, 47, 0.75) 0%,
        rgba(0, 122, 47, 0.75) 100%
    );

    z-index: 1;
    pointer-events: none;
}

.facts .facts-item i {
    font-size: 16px;
    line-height: 16px;
    color: #ff030b;
}

.facts .facts-text {
    padding-left: 20px;
    position: relative; /* garante referência para z-index */
    z-index: 2; 
    text-align: center;
}

.facts .facts-text h3 {
    position: relative;
    display: inline-block;
    color: #ffffff;
    font-size: 45px;
    font-weight: 700;
}

.facts .facts-text h3::after {
    position: absolute;
    top: 0px;
    color: #ffffff;
    font-size: 25px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.facts .facts-text h3.facts-plus::after {
    content: "\f067";
    right: -25px;
}

.facts .facts-text h3.facts-dollar::after {
    content: "\f155";
    right: -18px;
}

.facts .facts-text p {
    color: #ffffff;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.btn-facts {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 26px;
    background-color: rgba(255,255,255,.8);
    color: #007a2f;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    border-radius: 30px;
    border: 2px solid rgba(255,255,255,.8);

    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    transition: all .25s ease;
}

/* Ícones */
.btn-facts i,
.btn-facts img {
    font-size: 16px;
    opacity: .9;
}

/* Hover institucional */
.btn-facts:hover {
    background-color: #00a043;
    color: #ffffff;
    border-color: #00a043;
    transform: translateY(-2px);

    box-shadow: 0 10px 24px rgba(0, 160, 67, 0.35);
}

.btn-facts:hover i,
.btn-facts:hover img {
    filter: brightness(0) invert(1);
}




/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item {
    position: relative;
    margin-bottom: 35px;
}

.team .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-img img {
    width: 100%;
    transform: scale(1.1);
    margin-bottom: -15px;
    transition: .3s;
}

.team .team-item:hover img {
    margin: -15px 0 0 0;
}

.team .team-text {
    position: absolute;
    width: calc(100% - 40px);
    height: 96px;
    bottom: 0;
    left: 20px;
    padding: 22px 0;
    text-align: center;
    background: #ffffff;
    transition: .3s;
    overflow: hidden;
}

.team .team-text h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.team .team-text p {
    margin-bottom: 20px;
}

.team .team-social {
    position: relative;
    font-size: 0;
}

.team .team-social a {
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 3px;
    padding: 5px 0;
    text-align: center;
    font-size: 14px;
    color: #4a4c70;
    border: 2px solid #FDBE33;
    transition: .3s;
}

.team .team-social a:hover {
    color: #20212B;
    background: #FDBE33;
}

.team .team-item:hover .team-text {
    height: 160px;
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.testimonial .testimonials-carousel {
    position: relative;
    width: calc(100% + 30px);
    margin: 0 -15px;
}

.testimonial .testimonial-item {
    position: relative;
    width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial .testimonial-profile {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.testimonial .testimonial-profile img {
    width: 80px;
    margin-bottom: -1px;
}

.testimonial .testimonial-name {
    padding-left: 15px;
    width: calc(100% - 95px);
}

.testimonial .testimonial-name h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.testimonial .testimonial-name p {
    margin: 0;
    font-style: italic;
}

.testimonial .testimonial-text p {
    margin: 0;
}

.testimonial .owl-dots {
    margin-top: 15px;
    text-align: center;
}

.testimonial .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 0;
    background: #FDBE33;
}

.testimonial .owl-dot.active {
    background: #20212B;
}


/*******************************/
/******** Volunteer CSS ********/
/*******************************/
.volunteer {
    position: relative;
    width: 100%;
    margin: 45px 0;
    background: rgba(0, 0, 0, .5);
}

.volunteer .volunteer-content {
    padding: 30px 0 45px 0;
}

.container .volunteer {
    margin: 90px 0;
}

.container .volunteer .volunteer-content {
    padding: 45px 30px 15px 30px;
}

.volunteer .volunteer-content .section-header {
    margin-bottom: 30px;
}

.volunteer .volunteer-content .section-header h2 {
    color: #ffffff;
}

.volunteer .volunteer-text p {
    color: #ffffff;
    font-size: 18px;
}

.volunteer .volunteer-form {
    padding: 90px 30px;
    background: #FDBE33;
}

.volunteer .volunteer-form .control-group {
    margin-bottom: 15px;
}

.volunteer .volunteer-form .form-control {
    height: 60px;
    color: #ffffff;
    padding: 0 15px;
    border-radius: 0;
    border: 1px solid #ffffff;
    background: transparent;
}

.volunteer .volunteer-form textarea.form-control {
    height: 120px;
    padding: 15px;
}

.volunteer .volunteer-form .form-control::placeholder {
    color: #ffffff;
    opacity: 1;
}

.volunteer .volunteer-form .form-control:-ms-input-placeholder,
.volunteer .volunteer-form .form-control::-ms-input-placeholder {
    color: #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom {
    padding: 15px 0;
    width: 100%;
    height: 60px;
    color: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 0 #ffffff;
}

.volunteer .volunteer-form .btn.btn-custom:hover {
    color: #FDBE33;
    border: 1px solid #ffffff;
    box-shadow: inset 0 0 0 30px #ffffff;
}




/*******************************/
/********** Event CSS **********/
/*******************************/
.event {
    position: relative;
    width: 100%;
    padding: 5px 0 0px 0;
}

.event .section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
        font-size: 20px;
    font-weight: 700;
    z-index: 5;
}

/* Barra verde institucional */
.event .section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #00a043;
    border-radius: 2px;
}

.event .event-item {
    margin-bottom: 30px;
    background: #f3f6ff;
}

.event .event-item img {
    width: 100%;
}

.event .event-content {
    padding: 30px;
    display: flex;
}

.event .event-meta {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    z-index: 4;
}

.event .event-meta p {
    position: relative;
    margin-bottom: 8px;
    padding-bottom: 8px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    color: rgba(255,255,255,.7);
    font-size: 14px;
}

.event .event-meta p:last-child { 
    border-bottom: none;
}

.event .event-meta i {
    color: rgba(1,1,1,.9);
    width: 25px;
}

.event .event-text {
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

.event .event-text::before {
    position: absolute;
    content: "";
    width: 1px;
    height: calc(100% - 5px);
    top: 6px;
    left: 0;
    background: rgba(0, 0, 0, .15);
}

.event .event-text::after {
    position: absolute; 
    content: "";
    width: 3px;
    height: 40px;
    top: calc(50% - 20px);
    left: -1px;
    background: rgba(1,1,1,.4);
}

.event .event-text h3 {
    font-size: 17px;
    font-weight: 700;
    color: rgba(255,255,255,1);
    margin-bottom: 10px;
}

.event .event-text p {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,.7);
}

.event .btn.btn-custom {
    margin-top: 20px;
    padding: 8px 30px;
}

/* Container principal com imagem fixa */
.event-bg {
    position: relative;
    background-image: url("../img/espectaculo.jpg"); /* tua imagem */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* imagem estática */
    padding: 45px 0;
    overflow: hidden;
}

/* Overlay verde com sombra */
.event-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 122, 47, 0.75) 0%, rgba(0, 122, 47, 0.75) 100%);
    box-shadow: inset 0 0 120px rgba(0, 255, 0, 0.35);
    z-index: 0;
}

/* Garante que o conteúdo fica por cima do overlay */
.event .event-bg .container {
    position: relative;
    z-index: 2;
}

/* Cards com leve transparência para elegância */
.event-bg .event-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* Botão ajustado */
.event-bg .btn-custom {
    background: #00c853;
    border: none;
    color: #fff;
}

.event-bg .btn-custom:hover {
    background: #00a846;
}

@media (max-width: 575.98px) {
    .event .event-content {
        flex-direction: column;
    }

    .event .event-meta {
        flex-direction: row;
    }

    .event .event-meta p {
        font-size: 14px;
        padding-right: 7px;
    }

    .event .event-meta p:last-child {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }

    .event .event-meta i {
        width: 18px;
    }

    .event .event-text {
        margin: 0;
        padding: 0;
    }

    .event .event-text::before,
    .event .event-text::after {
        display: none;
    }
}

/* =========================
   ANIMAÇÃO EVENTOS (SCROLL)
   ========================= */
.event-item {
    opacity: 0;
    transform: translateY(25px);
}

.event-item.show {
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

/* ==========================================================
   NOVO: AGENDA CULTURAL EM CARDS (IMAGEM + TICKET + TÍTULO NO BG)
   Só ativa quando você usar: <div class="event event--cards">
   ========================================================== */

/* Mantém teu fundo, mas dá mais espaço para o título dentro do background */
.event.event--cards .event-bg{
    padding: 70px 0 45px; /* mais topo para caber o título */
}

/* Opcional: se você usar <div class="event-overlay"></div> no HTML */
.event.event--cards .event-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1;
}

/* Garante que tudo dentro do container fica acima do overlay extra */
.event.event--cards .event-bg .container{
    position: relative;
    z-index: 2;
}

/* Título dentro do background */
.event.event--cards .event-title-wrap{
    margin-bottom: 28px;
}

.event.event--cards .section-title{
    color: #fff;
}

.event.event--cards .event-subtitle{
    color: rgba(255,255,255,.85);
    margin-bottom: 0;
    font-weight: 500;
}

/* Card novo */
.event.event--cards .event-card{
    background: rgba(255, 255, 255, .1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0,0,0,.12);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Imagem com tamanho controlado (resolve “imagem gigante”) */
.event.event--cards .event-card-img{
    position: relative;
    width: 100%;
    height: 180px; /* ajuste: 160-230 */
    overflow: hidden;
}

.event.event--cards .event-card-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ticket/Badge da categoria */
.event.event--cards .event-ticket{
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0,160,67,.95);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Corpo do card */
.event.event--cards .event-card-body{
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event.event--cards .event-card-title{
    font-size: 16px;
    margin: 8px 0 10px;
    color: #4a4c70;
    font-weight: 700;
}

.event.event--cards .event-card-text{
    color: #777;
    margin-bottom: 12px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* limita linhas */
    -webkit-box-orient: vertical;
}

/* Meta do card (não herda o teu estilo branco do .event-meta antigo) */
.event.event--cards .event-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 6px;
    flex-direction: row; /* evita coluna do layout antigo */
}

.event.event--cards .event-meta p{
    margin: 0;
    font-size: 13px;
    color: #666;
    border-bottom: none; /* remove linha */
    padding-bottom: 0;
}

.event.event--cards .event-meta i{
    color: #00a043;
    width: auto; /* não força 25px */
    margin-right: 6px;
}

/* Botão sempre no fundo do card */
.event.event--cards .event-card-btn{
    margin-top: auto;
    display: inline-block;
}

/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.blog .blog-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    background: #f3f6ff;
}

.blog .blog-img {
    width: 100%;
}

.blog .blog-img img {
    width: 100%;
}

.blog .blog-text {
    padding: 30px 30px 15px 30px;
}

.blog .blog-text h3 {
    font-size: 22px;
    font-weight: 700;
}

.blog .blog-text h3 a {
    color: #4a4c70;
}

.blog .blog-text h3 a:hover {
    color: #FDBE33;
}

.blog .blog-text p {
    margin: 0;
}

.blog .blog-meta {
    margin: 0 30px;
    padding-top: 15px;
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, .15);
}

.blog .blog-meta p {
    margin: 0;
    color: #777777;
    padding: 0 30px;
    border-right: 1px solid rgba(0, 0, 0, .15);
}

.blog .blog-meta p:first-child {
    padding-left: 0;
}

.blog .blog-meta p:last-child {
    padding-right: 0;
    border: none;
}

.blog .blog-meta i {
    color: #4a4c70;
    margin-right: 8px
}

.blog .pagination {
    margin-bottom: 15px;
}

.blog .pagination .page-link {
    color: #4a4c70;
    border-radius: 0;
    border-color: #4a4c70;
}

.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link {
    color: #FDBE33;
    background: #4a4c70;
}

.blog .pagination .disabled .page-link {
    color: #999999;
}


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact .contact-img {
    position: relative;
    width: 100%;
}

.contact .contact-img img {
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.contact .contact-form {
    position: relative;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    margin-top: -220px;
    padding: 30px;
    background: #f3f6ff;
}

@media (max-width: 991.98px) {
    .contact .contact-form {
        max-width: 600px;
    }
}

@media (max-width: 767.98px) {
    .contact .contact-form {
        max-width: 400px;
    }
}

@media (max-width: 575.98px) {
    .contact .contact-form {
        max-width: 300px;
    }
}

.contact .contact-form input {
    padding: 15px;
    background: none;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form textarea {
    height: 150px;
    padding: 8px 15px;
    background: none;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, .1);
}

.contact .contact-form .btn.btn-custom {
    width: 100%;
}

.contact .help-block ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}


/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single {
    position: relative;
    padding: 45px 0;
}

.single .single-content {
    position: relative;
    margin-bottom: 30px;
    margin-right: 20px;
    overflow: hidden;
}

.single .single-content img {
    margin-bottom: 20px;
    width: 100%;
}

.single .single-tags {
    margin: -5px -5px 41px -5px;
    font-size: 0;
}

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
}

.single .single-tags a:hover {
    color: #ffffff;
    background: #FDBE33;
    border-color: #FDBE33;
}

.single .single-bio {
    margin-bottom: 45px;
    padding: 30px;
    background: #f3f6ff;
    display: flex;
}

.single .single-bio-img {
    width: 100%;
    max-width: 100px;
}

.single .single-bio-img img {
    width: 100%;
    border: 15px solid #ffffff;
}

.single .single-bio-text {
    padding-left: 30px;
}

.single .single-bio-text h3 {
    font-size: 20px;
    font-weight: 700;
}

.single .single-bio-text p {
    margin: 0;
}

.single .single-related {
    margin-bottom: 45px;
}

.single .single-related h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .related-slider {
    position: relative;
    margin: 0 -15px;
    width: calc(100% + 30px);
}

.single .related-slider .post-item {
    margin: 0 15px;
}

.single .post-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.single .post-item .post-img {
    width: 100%;
    max-width: 80px;
}

.single .post-item .post-img img {
    width: 100%;
}

.single .post-item .post-text {
    padding-left: 15px;
}

.single .post-item .post-text a {
    font-size: 15px;
    font-weight: 600;
}

.single .post-item .post-text a:hover {
    color: #71BD43;
}

.single .post-item .post-meta {
    display: flex;
    margin-top: 8px;
}

.single .post-item .post-meta p {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
    font-size: 14px;
    font-weight: 500;
    font-style: italic;
}

.single .post-item .post-meta p a {
    margin-left: 5px;
    color: #999999;
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
}

.single .related-slider .owl-nav {
    position: absolute;
    width: 90px;
    top: -55px;
    right: 15px;
    display: flex;
}

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a4c70;
    background: #FDBE33;
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover {
    color: #FDBE33;
    background: #4a4c70;
}

.single .single-comment {
    position: relative;
    margin-bottom: 45px;
}

.single .single-comment h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-list {
    list-style: none;
    padding: 0;
}

.single .comment-child {
    list-style: none;
}

.single .comment-body {
    display: flex;
    margin-bottom: 30px;
}

.single .comment-img {
    width: 60px;
}

.single .comment-img img {
    width: 100%;
    border-radius: 0;
}

.single .comment-text {
    padding-left: 15px;
    width: calc(100% - 60px);
}

.single .comment-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

.single .comment-text span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    background: #dddddd;
    border-radius: 0;
}

.single .comment-text .btn:hover {
    background: #FDBE33;
}

.single .comment-form {
    position: relative;
}

.single .comment-form h2 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 25px;
}

.single .comment-form form {
    padding: 30px;
    background: #f3f6ff;
}

.single .comment-form form .form-group:last-child {
    margin: 0;
}

.single .comment-form input,
.single .comment-form textarea {
    border-radius: 0;
}

.single .comment-form input:focus,
.single .comment-form textarea:focus {
    border-color: #FDBE33;
}


/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar {
    position: relative;
    width: 100%;
}

@media(max-width: 991.98px) {
    .sidebar {
        margin-top: 45px;
    }
}

.sidebar .sidebar-widget {
    position: relative;
    margin-bottom: 45px;
}

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 25px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #FDBE33;
}

.sidebar .sidebar-widget .search-widget {
    position: relative;
}

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 0;
}

.sidebar .search-widget input:focus {
    box-shadow: none;
    border-color: #FDBE33;
}

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: #FDBE33;
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover {
    color: #4a4c70;
}

.sidebar .sidebar-widget .recent-post {
    position: relative;
}

.sidebar .sidebar-widget .tab-post {
    position: relative;
}

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: #4a4c70;
    background: #FDBE33;
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: #FDBE33;
    background: #4a4c70;
}

.sidebar .tab-post .tab-content {
    padding: 15px 0 0 0;
    background: transparent;
}

.sidebar .tab-post .tab-content .container {
    padding: 0;
}

.sidebar .sidebar-widget .category-widget {
    position: relative;
}

.sidebar .category-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sidebar .category-widget ul li {
    margin: 0 0 12px 22px; 
}

.sidebar .category-widget ul li:last-child {
    margin-bottom: 0; 
}

.sidebar .category-widget ul li a {
    display: inline-block;
    line-height: 23px;
}

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #FDBE33;
    left: 1px;
}

.sidebar .category-widget ul li span {
    display: inline-block;
    float: right;
}

.sidebar .sidebar-widget .tag-widget {
    position: relative;
    margin: -5px -5px;
}

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #4a4c70;
    border: 1px solid #4a4c70;
    border-radius: 0;
}

.single .tag-widget a:hover {
    color: #ffffff;
    background: #FDBE33;
    border-color: #FDBE33;
}

.sidebar .image-widget {
    display: block;
    width: 100%;
    overflow: hidden;
}

.sidebar .image-widget img {
    max-width: 100%;
    transition: .3s;
}

.sidebar .image-widget img:hover {
    transform: scale(1.1);
}


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    padding-top: 90px;
        background: rgba(1,1,1,.8);
}

.footer .footer-contact,
.footer .footer-link,
.footer .footer-newsletter {
    position: relative;
    margin-bottom: 45px;
    color: #ffffff;
}

.footer .footer-contact h2,
.footer .footer-link h2,
.footer .footer-newsletter h2 {
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 700;
    color: #00a043;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    
    color: rgba(255,255,255,.6);
    font-size: 14px;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #00a043;
    letter-spacing: 1px;
}

.footer .footer-contact p  {
    color: rgba(255,255,255,.6);
    font-size: 14px;
}

.footer .footer-contact i {
    
    color: rgba(255,255,255,.9);
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
}

.footer .footer-social a {
    width: 40px;
    height: 40px;
    padding: 6px 0;
}

.footer .footer-social a {
    margin-top: 5px;
}

.footer .footer-newsletter form {
    position: relative;
    width: 100%;
}

.footer .footer-newsletter input {
    margin-bottom: 15px;
    height: 60px;
    border: none;
    border-radius: 50px;
}

.footer .footer-newsletter label {
    margin-top: 5px;
    color: #777777;
    font-size: 14px;
    letter-spacing: 1px;
}

.footer .footer-newsletter .btn.btn-custom {
    width: 100%;
    padding: 10px 0;
    color: rgba(255, 255, 255, 1);
}

.footer .copyright {
    padding: 0 30px;
}

.footer .copyright .row {
    padding-top: 25px;
    padding-bottom: 25px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright p {
    margin: 0;
    color: #999999;
    font-size: 14px;
}

.footer .copyright .col-md-6:last-child p {
    text-align: right;
}

.footer .copyright p a {
    color: #ffffff;
}

.footer .copyright p a:hover {
    color: #00a043;
}

.btn-whatsapp {
    position: fixed;
    right: 90px; /* distância calculada para ficar AO LADO do botão UP */
    bottom: 25px;
    width: 55px;
    height: 55px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
    color: #fff;
}


@media (max-width: 767.98px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p {
        margin: 5px 0;
        text-align: center;
    }
}

.navbar .navbar-toggler{
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: .35rem .5rem; /* opcional */
}
.navbar .navbar-toggler:focus{
  outline: none !important;
  box-shadow: none !important;
}


.navbar-dark .navbar-toggler-icon{
  width: 28px;
  height: 22px;
  background-size: 28px 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='22' viewBox='0 0 28 22'%3E%3Cpath d='M2 3h24' stroke='rgba(0,160,67,1)' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M2 11h24' stroke='rgba(0,160,67,1)' stroke-width='3.6' stroke-linecap='round'/%3E%3Cpath d='M2 19h24' stroke='rgba(0,160,67,1)' stroke-width='3.6' stroke-linecap='round'/%3E%3C/svg%3E");
}


@media (min-width: 992px) and (max-width: 1074.98px) {
  .navbar .navbar-nav .nav-link {
    padding-left: 9px !important;
    padding-right: 9px !important;

  }
  
  .navbar-nav .nav-item:last-child,
  .navbar-nav .nav-link:last-child{
    padding-right: 0 !important;
    margin-right: 0 !important;
  }
}

/* =========================================================
   FIXES: FASTSERVICE + CAUSES (mobile + consistência de cards)
   Cole este bloco no FINAL do CSS
   ========================================================= */

/* 1) FASTSERVICE - corrigir sobreposição e cortes no mobile */
@media (max-width: 991.98px){
  .fastservice{
    margin-top: 0 !important;     /* remove o “subir” por cima do carrossel */
    max-height: none !important;  /* evita cortar conteúdo */
    padding: 20px 0 !important;   /* dá respiro */
    z-index: auto !important;     /* evita ficar por cima de outras secções */
  }

  /* se existir container dentro, garante espaço lateral */
  .fastservice .container,
  .fastservice .container-fluid{
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* 2) CAUSES - melhorar espaçamento e consistência dos slides/cards */


/* título do causes um pouco mais próximo do carrossel */
.causes .section-header{
  margin: 0 auto 20px auto;
}

/* carrossel: garante que os itens esticam em altura e não “quebram” */
.causes .owl-stage{
  display: flex !important;
}
.causes .owl-item{
  display: flex !important;
  height: auto !important;
}
.causes .causes-item{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* texto cresce e empurra botão para o fundo do card */
.causes .causes-text{
  flex: 1;
}

/* botão sempre colado em baixo e centrado */
.causes .causes-btn{
  margin-top: auto;
  display: flex;
  justify-content: center;
}

/* 3) CAUSES + FASTSERVICE - ajuste no mobile para não ficar “colado” */
@media (max-width: 991.98px){
  .causes{
    margin-top: 20px !important;
    padding-top: 10px !important;
  }

  .causes .section-header{
    margin-bottom: 15px !important;
  }
}

/* 4) (opcional mas recomendado) reduzir animações em mobile para ficar fluido */
@media (prefers-reduced-motion: reduce){
  .fastservice .service-item,
  .causes .causes-item{
    transition: none !important;
    transform: none !important;
  }
}


/* =========================
   ORGANOGRAMA – 4 DIRECTORES NA MESMA LINHA (DESKTOP)
   ========================= */

/* garante que o nível --4 comporta 4 colunas no desktop */
.org-level--4{
  display: flex;
  flex-wrap: nowrap;          /* não deixa quebrar em 2 linhas no desktop */
  gap: 14px;
  align-items: stretch;
}

/* cada card ocupa 25% (4 por linha) */
.org-level--4 .org-node{
  flex: 0 0 calc(25% - 11px); /* 4 colunas (ajuste pelo gap) */
  max-width: calc(25% - 11px);
  min-width: 0;              /* importante p/ não estourar layout */
}

/* reduz um pouco fonte/altura do título para caber melhor */
.org-level--4 .org-title{
  font-size: 13px;
  line-height: 1.25;
}

/* ícone menor para não “empurrar” */
.org-level--4 .org-icon{
  width: 52px;
  height: 52px;
  margin: 0 auto 8px;
}

/* em telas menores, deixa quebrar naturalmente */
@media (max-width: 991.98px){
  .org-level--4{
    flex-wrap: wrap;          /* volta a quebrar */
  }
  .org-level--4 .org-node{
    flex: 1 1 calc(50% - 14px); /* 2 por linha no tablet */
    max-width: calc(50% - 14px);
  }
}

@media (max-width: 575.98px){
  .org-level--4 .org-node{
    flex: 1 1 100%;           /* 1 por linha no mobile */
    max-width: 100%;
  }
}



