/* ------------------------------ */
/* 🌐 GERAL */
/* ------------------------------ */
body { 
  background-color: #f9f9f9;
  margin: 0;
  padding: 0;
}

:root {
    --bs-primary: #2d4181;
    --bs-primary-rgb: 45, 65, 129;

    /* tonalidades derivadas */
    --bs-link-color: #2d4181;
    --bs-link-hover-color: #25336b;
    --bs-focus-ring-color: rgba(45, 65, 129, 0.25);

    /* NOVA COR WARNING (#ec9e00) */
    --bs-warning: #ec9e00;
    --bs-warning-rgb: 236, 158, 0;

    /* Ajustes opcionais de contraste */
    --bs-warning-text-emphasis: #7a5200;
    --bs-warning-bg-subtle: #ffe7b3;
    --bs-warning-border-subtle: #ffcf80;
}

a {
  text-decoration: none;
  color: inherit; /* mantém a cor do texto do contexto atual */
}

a:hover {
  text-decoration: none;
  color: #0d6efd; /* cor opcional ao passar o mouse */
}
@media (max-width: 768px) {
   .sidebar-mobile-block {
      margin-top: 25px !important;
   }
}

.navbar {
  padding: 1px;
  font-weight: 700;
  
}
   .btn-logout:hover {
      background-color: #ff5252;
      color: white;
    }

.navbar-brand {
  font-weight: 700;
  color: #2d4181 !important;
  font-size: 1.6rem;
  padding: 1px;
}
  .btn-primary {
    background-color: #2d4181 !important;
    border-color: #2d4181 !important;
    color: #fff !important;
  }
.btn-outline-primary {
    background-color: #fff  !important;
    border-color: #2d4181  !important;
    color: #2d4181 !important;
  }
  
  .btn-primary:hover {
    background-color: #fff  !important;
    border-color: #2d4181  !important;
    color: #2d4181 !important;
  }

.category-card {
  transition: all 0.3s ease;
  cursor: pointer;
  border: 0;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}


#btnUp {
  position: fixed;
  font-weight: 900;
  bottom: 85px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #ec9e00;
  color: black;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  font-size: 40px;
  cursor: pointer;
  display: none;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

#btnUp:hover {
  transform: scale(1.1);
  background-color: #2d4181;
  color: #fff;
}


    .navbar-toggler {
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
    }

    @media (max-width: 991px) {
      .navbar-collapse .btn {
        display: block;
        margin: 8px auto;
        width: fit-content;
      }

    }

    .navbar-nav .nav-link {
      text-align: center;
    }

    .navbar-nav .dropdown-toggle {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-bottom: 6px;
    }

    .navbar-nav .dropdown-toggle::after {
      margin-top: -3px;
      font-size: 1.2rem;
      color: #ec9e00;
      border-top-color: #ec9e00;
      transform: scale(1.1);
    }
/* 00 */
/* ======================================================
   SLIDER / CAROUSEL – CAMADAS E CONTROLES
   ====================================================== */

.carousel,
.carousel-inner,
.carousel-item {
  width: 100%;
}

.carousel-item {
  position: relative;
}

/* ------------------------------------------------------
   IMAGEM
   ------------------------------------------------------ */
.carousel-item img {
  object-fit: cover;
  max-height: 420px;
}

/* ------------------------------------------------------
   LAYER PRETO SOBRE A IMAGEM
   ------------------------------------------------------ */
.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
  pointer-events: none; /* não bloqueia cliques */
}

/* ------------------------------------------------------
   TEXTO (SEM FUNDO)
   ------------------------------------------------------ */
.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 10px 15px;
  text-align: center;
  z-index: 2;
}

/* Texto */
.text-overlay h1 {
  color: #fff;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.4em;
  text-shadow: 0 3px 6px rgba(0,0,0,0.8);
}

.text-overlay h4 {
  color: #f1f1f1;
  font-size: 1.25rem;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

/* ------------------------------------------------------
   BOTÕES PREV / NEXT
   ------------------------------------------------------ */
.carousel-control-prev,
.carousel-control-next {
  z-index: 5; /* acima do layer e texto */
  width: 12%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 6px rgba(0,0,0,.9));
  transform: scale(1.15);
}

/* ------------------------------------------------------
   INDICATORS
   ------------------------------------------------------ */
.carousel-indicators {
  z-index: 6;
}

.carousel-indicators button {
  background-color: #fff;
  opacity: 0.6;
}

.carousel-indicators .active {
  opacity: 1;
}

/* ======================================================
   MOBILE FIRST – MELHOR VISUAL
   ====================================================== */

@media (max-width: 768px) {

  .carousel-item img {
    max-height: 260px;
  }

  .text-overlay {
    padding: 5px 12px;
  }

  .text-overlay h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  .text-overlay h4 {
    font-size: 1rem;
  }

  .texto-celular {
    display: none;
  }

  /* Botões maiores no mobile */
  .carousel-control-prev,
  .carousel-control-next {
    width: 18%;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    transform: scale(1.3);
  }
}

/* ======================================================
   ANIMAÇÃO SUAVE DO TEXTO
   ====================================================== */

.carousel-item.active .text-overlay {
  animation: slideFadeIn 0.9s ease forwards;
}

@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -65%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}


/* 00 */

/* Oculta quando a tela tiver largura menor que 768px (tamanho comum de celular) */
@media (max-width: 768px) {
  .texto-celular {
    display: none;
  }
  
  #btnUp {
  bottom: 90px;
}  
}
/* ======================================================
   POSICIONAR BOTÕES PREV / NEXT NA PARTE INFERIOR
   ====================================================== */

.carousel-control-prev,
.carousel-control-next {
  top: auto;
  bottom: 15px;            /* altura do rodapé */
  transform: none;
  align-items: center;
  width: auto;
  padding: 0 12px;
}

/* afastar das laterais */
.carousel-control-prev {
  left: 5%;
}

.carousel-control-next {
  right: 5%;
}

/* estilo dos ícones */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.2rem;
  height: 2.2rem;
  background-size: 100% 100%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.8));
}

/* mobile: mais centralizados */
@media (max-width: 768px) {
  .carousel-control-prev {
    left: 1%;
  }

  .carousel-control-next {
    right: 1%;  
  }
}
.section-head {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  margin-bottom: 20px;
}

.section-title {
  margin: 0;
  font-weight: 900;
  color: #ec9e00;
  font-size: 2.0rem;
  position: relative;
  padding-bottom: 5px;
  text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.section-title:hover {
  color: #2d4181;	
}	
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 55px;
  height: 3px;
  background: #ec9e00;
  border-radius: 2px;
}
@media (max-width: 576px) {
  .section-title {
    font-size: 1.2rem;
  }
  .section-title::after {
    width: 40px;
  }
}
.card-video {
    border: none;
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
    cursor: pointer;
  }
 .card-servicos img {
    height: 180px;
    object-fit: cover;
  }
  .card-produto img {
    height: 180px;
    object-fit: cover;
  }
  .card-imovel img {
    height: 180px;
    object-fit: cover;
  }
 .card-gastro img {
    height: 180px;
    object-fit: cover;
  }
  .card-produto img {
    height: 180px;
    object-fit: cover;
  }
 

  .card-doacao img {
    height: 180px;
    object-fit: cover;
  }

 .form-control, .form-select {
    border-radius: .4rem;
  }
 
  .card-side {
    border: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    height: 180px;
  }
  .card-side .card-body {
    padding: 18px;
  }
  .card-side .img-side {
    width: 40%;
    min-width: 140px;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .card-side .content-side {
    width: 60%;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .card-side h5 {
    margin-bottom: 6px;
  }
  /* Oculta banners conforme o dispositivo */

/* Exibe o banner de PC e oculta o de celular */
.banner-pc {
  display: block;
}
.banner-mobile {
  display: none;
}

/* Quando a tela for menor que 768px (celular e tablet) */
@media (max-width: 768px) {
  .banner-pc {
    display: none !important;
  }
  .banner-mobile {
    display: block !important;
  }
}
    .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
  }

  .img-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  
  .card-body h5 {
    color: #ec9e00;
    font-weight: 600;
  }
   .card-livro img {
    height: 220px;
    object-fit: cover;
  }
  .card-musica img {
    height: 220px;
    object-fit: cover;
  }
   .card-curiosidade img {
    height: 220px;
    object-fit: cover;
  }
  .card-side p { margin-bottom: 8px; }
  .card-delivery img {
    height: 180px;
    object-fit: cover;
  }
  @media (max-width: 767.98px) {
    .card-side {
      height: auto;
    }
    .card-side .img-side,
    .card-side .content-side {
      width: 100%;
      padding-left: 0;
    }
    .card-side .img-side {
      height: 180px;
    }
    .card-side .content-side { padding: 12px; }
  }
  .btn-group-doacao .btn {
    margin-right: 5px;
  }
  .leaflet-container {
    width: 100%;
    height: 250px;
    border-radius: 10px;
  }
  .btn-group-delivery .btn {
    margin-right: 5px;
  }
 
  .btn-group-produto .btn {
    margin-right: 5px;
  }
  .card-app img {
    height: 180px;
    object-fit: cover;
  }

  .btn-detalhe {
    width: 100%;
  }
  .btn-detalhe {
    width: 100%;
  }
  .card-imovel .card-body {
    padding: 15px;
  }

  .card-imovel .preco {
    font-weight: bold;
    color: #0d6efd;
  }
  .card-produto .card-body {
    padding: 15px;
  }

  .card-produto .preco {
    font-weight: bold;
    color: #0d6efd;
  }
  .btn-group-servicos .btn {
    margin-right: 5px;
  }
  .card-video:hover { transform: translateY(-4px); }

  .card-video img {
    height: 180px;
    object-fit: cover;
    width: 100%;
    border-radius: 5px 5px 0 0;
  }

  .card-video .card-body {
    background: #fff;
    border-top: 1px solid #eee;
  }
 .card-auto img {
    height: 180px;
    object-fit: cover;
  }

  .card-auto .card-body {
    padding: 15px;
  }

  .card-auto .preco {
    font-weight: bold;
    color: #0d6efd;
  }
  .btn-video {
    background: #dc3545;
    color: white;
  }
  .btn-video:hover {
    background: #b02a37;
    color: white;
  }
.form-box {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-box h4 {
  color: #2d4181;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

  .nav-tabs .nav-link {
    color: #333;
    border: none;
    font-weight: 500;
  }

  .nav-tabs .nav-link.active {
    background-color: #185fd3;
    color: white;
    border-radius: 10px;
  }

  .tab-content {
    margin-top: 20px;
  }

  .card {
    transition: 0.3s;
  }

  .img-thumbnail:hover {
    transform: scale(1.03);
  }
.btn-enviar {
  background: #2d4181;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 25px;
  border: none;
  transition: 0.2s;
}

.btn-enviar:hover {
  background: #0d6efd;
}

/* CAMPOS */
.form-label {
  font-weight: 600;
  color: #333;
}

  .modal-fullscreen iframe {
    width: 100%;
    height: 90vh;
    border: none;
  }
footer a {
    color: #ffffff;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #4da3ff !important;
}

/* ------------------------------ */
/* 📰 NEWS */
/* ------------------------------ */
.news-section { margin-top: 50px; }

.news-main { position: relative; overflow: hidden;height:100%; }

.news-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 15px;
  border-radius: 0 0 10px 10px;
}

.news-small img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

.news-small {
  font-size: 0.9rem;
}

.news-small .title {
  font-weight: 600;
  margin-top: 5px;
  color: #000;
}

.news-small:hover .title {
  color: #0d6efd;
}



/* ------------------------------ */
/* 🧭 PAGE HEADER / BREADCRUMB */
/* ------------------------------ */
.page-header {
  margin-top: 45px;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  color: #fff;
  padding: 0 0.35rem;
}

.page-header .breadcrumb-item a:hover {
  text-decoration: underline;
}

.page-header h1 {
  letter-spacing: 0.5px;
}

.breadcrumb {
  font-size: 0.75rem;
  margin-top: 15px;
}

.breadcrumb-item::before {
  color: #fff !important;
 
}

@media (max-width: 768px) {
  .breadcrumb {
    font-size: 0.65rem;
    margin-top: 5px;
  }
   }
   .bairro-card {
      border: none;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .map-box {
      height: 300px;
      border-radius: 10px;
    }
    .list-group-item {
      border: none;
      border-bottom: 1px solid #eee;
    }
.bairro-title {
    border-left: 4px solid #0d6efd;
    padding-left: 10px;
    margin-bottom: 1rem;
  }
  .foto-thumb {
    cursor: pointer;
    border-radius: 6px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .foto-thumb:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  .foto-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .btn-ver-mais {
    margin-top: 15px;
  }
/* ------------------------------ */
/* 🔵 TOPO DAS PÁGINAS (TÍTULO E SUBTÍTULO) */
/* ------------------------------ */
.top-box {
  background: #2d4181;
  color: white;
  text-align: center;
  padding: 40px 20px 5px;
      background: linear-gradient(to right, #2d4181, #0d6efd);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  
}

.top-box h2 {
  font-size: 3.5rem !important;
  margin-bottom: 4px !important;
}

.top-box p {
  font-size: 0.85rem;
  margin-top: 1px;
  margin-bottom: 0;
}
.top-box2 {
  text-align: center;
  padding: 0px 20px 10px;
}

.top-box2 h2 {
  font-size: 3.5rem !important;
  margin-bottom: 4px !important;
}

.top-box2 p {
  font-size: 0.85rem;
  margin-top: 1px;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .top-box {
    padding: 50px 15px 15px;
  }
  .top-box h2 {
    margin-top: 20px;
    font-size: 1.6rem !important;
  }
  .top-box p {
    font-size: 0.8rem;
  }
}

 
.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
}
.carousel-caption h1, .carousel-caption h3 {
  color: white; /* ou outra cor que fique legível */
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7); /* melhora contraste sobre a imagem */
}
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 250px;
}

@media (max-width: 768px) {
  .carousel-item img {
    min-height: 200px;
  }
}

 
@media (max-width: 991px) {
  .navbar-collapse {
    text-align: center;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
	margin-bottom: 5px;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    display: inline-block;
  }

  .dropdown-menu {
    text-align: center;
  }
}


  .breadcrumb-guia a {
    color: #fff;
  }

  .breadcrumb-guia .active {
    color: #ec9e00;
  }

  .info-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
  }

  .promo-box {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
  }

  .promo-box:hover {
    transform: translateY(-3px);
  }

  .promo-box h5 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2d4181;
  }

  .photo-gallery img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s;
  }

  .photo-gallery img:hover {
    transform: scale(1.05);
  }

  iframe {
    border-radius: 10px;
  }


.modal-rgpd-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(3px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-rgpd {
  background: #fff;
  max-width: 500px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  text-align: left;
  animation: fadeIn 0.4s ease;
}

.modal-rgpd h4 {
  margin-top: 0;
  font-size: 1.3rem;
  color: #333;
}

.modal-rgpd p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.btn-warning {
  background-color: #ec9e00;
  color: #000;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.btn-warning:hover {
  background-color: #ffcd39;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
 
.square-btn {
  border-radius: 8px; /* deixa mais quadrado */
  text-align: center;
}

@media (min-width: 768px) {
  .square-btn {
    padding: 12px 0;
    font-size: 0.95rem;
  }
}
  .card img {
    height: 180px;
    object-fit: cover;
  }

  .card-title {
    color: #2d4181;
  }

  .card .btn-outline-primary {
    border-color: #2d4181;
    color: #2d4181;
  }
.logo-nav {
    width: 3em;
}
  .card .btn-outline-primary:hover {
    background-color: #2d4181;
    color: #fff;
  }

  .card-header.bg-primary {
    background-color: #2d4181 !important;
  }
.pagination .page-link {
    border-radius: 5px !important;
}

.pagination .page-item.active .page-link {
    background-color: #2d4181;
    border-color: #2d4181;
}
hr.style-two {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
 