:root {
  --acip-blue: #0060e0;
  --acip-dark-blue: #004db3;
  --acip-gray: #808080;
  --acip-black: #000;
  --acip-yellow: #ffcc28;
  --acip-white: #fff;
  --acip-primary: #0965f7;
  --acip-tertiary: #002F87;

  --acip-color-primary: #002F87;
  --acip-color-quartenary: #808286;
}

body {
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.top-bar {
  background: #0965F7;
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
  color: white;
}

.navbar-brand{
  margin-top: -12px;
}

.navbar-brand img {
  height: 80px;
}

.top-bar .nav-link {
  color: white !important;
  font-weight: 500;
}

.top-bar .dropdown-menu {
  background-color: var(--acip-blue);
}

.top-bar .dropdown-item {
  color: white;
}

.top-bar .dropdown-item:hover {
  background-color: var(--acip-dark-blue);
}

.social-icons a {
  color: white;
  margin-left: 10px;
  font-size: 1.9rem;
}

.social-icons-associates a {
  color: white;
  font-size: 1.9rem;
  margin-right: 10px;
}

.social-icons-associates i {
  color: #0766f7;
  margin-left: 0px !important;
  font-size: 25px;
}

.slogan {
  font-weight: bold;
}

/* Offcanvas Menu (Mobile) Styling */
.offcanvas-start {
  background-color: var(--acip-blue);
}

.offcanvas-body .nav-link {
  color: white !important;
  font-size: 16px;
  padding: 10px 15px;
  position: relative;
}

.offcanvas-body .nav-link:hover:before,
.offcanvas-body .nav-item.show .nav-link:before,
.offcanvas-body .nav-link.active:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0;
    bottom: 0;
    background-color: var(--acip-yellow);
    transition: all 0.25s ease;
}

.offcanvas-body .dropdown-menu {
    background-color: var(--acip-dark-blue);
    border: none;
    border-radius: 0;
    padding: 5px 0;
}

.offcanvas-body .dropdown-item {
    color: white;
    padding: 8px 25px;
}

.offcanvas-body .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Desktop Navigation Styling */
.desktop-nav-wrapper {
  background: #0965F7;
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
}

.desktop-nav {
  padding-left: 0;
  padding-right: 0;
  margin-left: 0;
  margin-right: 0;
}

.desktop-nav .nav-item {
  flex-grow: 1;
  text-align: center;
  position: relative;
}

.desktop-nav .nav-item:last-child {
  border-right: none;
}

.desktop-nav .nav-link {
  color: white !important;
  font-size: 15px;
  padding: 15px 10px 19px;
  position: relative;
  text-transform: uppercase;
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

.desktop-nav .nav-link:before {
  content: "";
  position: absolute;
  width: 0;
  height: 4px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background-color: var(--acip-yellow);
  transition: all 0.25s ease;
}

.desktop-nav .nav-link.nav-item-active:before {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background-color: var(--acip-yellow);
  transition: all 0.25s ease;
}

.desktop-nav .nav-link:hover:before,
.desktop-nav .nav-item.show .nav-link:before,
.desktop-nav .nav-item.current-menu-item .nav-link:before,
.desktop-nav .nav-item.current-menu-ancestor .nav-link:before,
.desktop-nav .nav-item.current-menu-parent .nav-link:before {
  width: 100%;
}

/* Estilos base para dropdowns (não megamenu) */
.desktop-nav .dropdown-menu:not(.mega-menu) {
  border: 0;
  border-radius: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  animation: fadeIn 0.3s forwards;
  background-color: var(--acip-white);
  min-width: 160px;
  z-index: 1000;
  top: 100%;
  left: 0;
  position: absolute !important;
  margin-top: 56px !important;
  width: 100%;
}

.desktop-nav .dropdown-menu:not(.mega-menu) .dropdown-item {
  color: var(--acip-gray);
  background: none;
  padding: 8px 9px;
  transition: all 0.25s ease;
  font-size: 14px;
  text-wrap: auto;
}

.desktop-nav .dropdown-menu:not(.mega-menu) .dropdown-item:hover {
  color: var(--acip-white);
  background-color: var(--acip-primary);
}

/* --- Mega Menu Styling --- */
.desktop-nav .mega-menu {
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  max-width: calc(100vw - 30px);
  padding: 25px;
  display: none !important; /* Garante que inicia fechado */
  justify-content: space-between;
  gap: 30px;
  background-color: white;
  color: var(--acip-black);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  border: none;
  top: calc(100% + 4px);
  position: absolute !important;
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
}

/* Quando o megamenu está aberto */
.desktop-nav .nav-item.show .mega-menu {
  display: flex !important;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.desktop-nav .mega-menu .mega-menu-column {
  flex: 1;
  min-width: 150px;
}

.desktop-nav .mega-menu .mega-menu-column h6 {
  color: var(--acip-blue);
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--acip-blue);
  padding-bottom: 5px;
}

.desktop-nav .mega-menu .mega-menu-column .list-unstyled {
  margin-bottom: 0;
}

.desktop-nav .mega-menu .mega-menu-column .list-unstyled .dropdown-item {
  color: var(--acip-gray);
  padding: 5px 0;
  transition: color 0.25s ease;
  display: block;
}

.desktop-nav .mega-menu .mega-menu-column .list-unstyled .dropdown-item:hover {
  color: var(--acip-blue);
  background-color: transparent;
}

.desktop-nav .mega-menu .mega-menu-info {
  flex: 1.5;
  padding-left: 20px;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--acip-gray);
}

.desktop-nav .mega-menu .mega-menu-info h6 {
  color: var(--acip-blue);
  font-weight: bold;
  margin-bottom: 10px;
}

.desktop-nav .mega-menu .mega-menu-info p {
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 15px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 991.98px) {
  .desktop-nav-wrapper {
    display: none !important;
  }
  
  .footer-copy{
      text-align: center !important;
  }
}

@media (min-width: 992px) {
  .navbar-toggler {
    display: none !important;
  }
  .offcanvas {
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* SECTIONS SERVICES */
.servicos-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.servicos-title::before,
.servicos-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: var(--acip-color-primary);
}

.servicos-title h2 {
  margin: 0;
  color: var(--acip-color-primary);
  font-weight: 700;
  font-size: 25px;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}

.service-card {
  position: relative; /* necessário para o ::after funcionar */
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 10px;
  background-color: #fff;
  overflow: hidden; /* para esconder cantos arredondados */
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
}

.service-card:hover {
  background-color: #FDCB27 !important;
}

.service-card:hover .service-title {
  color: var(--acip-color-primary);
}

.service-content {
  display: flex;
  align-items: flex-start;    /* alinha ícone com topo do texto */
  gap: 10px;
  flex-wrap: nowrap;          /* mantém ícone ao lado do texto */
  width: 100%;
}

.service-icon img {
  max-width: 50px;
  height: auto;
  flex-shrink: 0; /* impede que o ícone diminua demais */
}

.service-title {
  color: var(--acip-color-primary);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  white-space: normal;        
  word-break: break-word;   
  flex: 1 1 auto;
  min-width: 0;
}

.card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  color: var(--bs-card-color);
  overflow: visible;
  flex-wrap: wrap;
}


.service-icon {
  font-size: 2rem;
  color: #007BFF;
}

.service-icon img{
  max-height: 70px !important;
}

.card-link {
  text-decoration: none;
}

/* Corrigir fundo inferior do card amarelo */
.bg-yellow {
  background-color: #FDCB27 !important;
}

.bg-yellow .card-footer {
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
}

.box{
  margin-top: 100px;
  margin-bottom: 100px;
}

/* FOOTER */
footer {
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
  color: white;
  padding: 3rem 1rem;
  position: relative;
}

footer h5 {
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  line-height: 1.1;
}

.footer-line {
  border-top: 1px solid #ffffff44;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: white;
  margin-right: 0.3rem;
}

.copyright {
  font-size: 0.9rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

.logo {
  max-height: 40px;
}

.chat-icon {
  position: absolute;
  right: 6rem;
  top: -2.2rem;
  height: 80px;
}

.chat-button {
  position: relative;
  right: 30px;
  bottom: 20px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: bold;
  z-index: 10;
}

.chat-button.fixed {
  position: fixed !important;
  bottom: 10px;
  right: 30px;
  z-index: 999;
}

.chat-button img{
  height: 80px;
}

@media (max-width: 767px) {
  .chat-icon {
    height: 60px;
  }

  .chat-button img{
    height: 25px;
  }

  .social-icons-menu{
    margin-bottom: 15px;
  }
}

.other-card {
  position: relative; /* necessário para o ::after funcionar */
  transition: background-color 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: none;
  height: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
  border-radius: 30px;
  background-color: #fff;
  overflow: hidden; /* para esconder cantos arredondados */
}

.other-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 10px;
  width: 100%;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
}

.other-title-divider {
  color: var(--acip-color-primary);
  font-weight: 700;
  font-size: 25px;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  margin-bottom: 25px;
  position: relative;
  display: flex; /* Usar flexbox para alinhar título e linhas */
  align-items: center; /* Centralizar verticalmente */
  justify-content: center; /* Centralizar horizontalmente */
}

.other-title-divider::before,
.other-title-divider::after {
  content: '';
  flex-grow: 1; 
  height: 1px; 
  background-color: var(--acip-tertiary); 
  margin: 0 10px; 
  max-width: 80px;
}

.other-card h5 {
  font-weight: bold;
  color: #004aad;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}
.other-card .btn-yellow {
  background-color: #ffcd29;
  color: #003366;
  font-weight: bold;
  border-radius: 8px;
  border: none;
  padding: 10px 20px;
}
.other-card input[type="text"],
.other-card input[type="email"] {
  background-color: #e5e5e5;
  border: none;
  border-radius: 8px;
  padding: 10px;
  width: 100%;
  margin-bottom: 15px;
}
.other-radio label {
  display: block;
  padding-left: 25px;
  position: relative;
  margin-bottom: 10px;
  cursor: pointer;
}
.other-radio input {
  position: absolute;
  left: 0;
  top: 3px;
}
.small-text {
  font-size: 0.8rem;
  color: #555;
  text-align: center;
  margin-bottom: 10px;
}

.post .post-section-title{
  color: var(--acip-color-primary);
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
}

.post .post-title{
  color: var(--acip-color-primary);
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  font-size: 30px;
}

.post .post-published{
  color: #808286;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.post .post-content{
  color: #808286;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.post .post-image {
  max-width: 100%;
  height: auto;
  border-radius: 0px;
  margin: 1rem 0;
}

.post .post-badge{
  background-color: #0965f7;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.gallery-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  border-radius: 0.25rem;
}

.gallery-item {
  overflow: hidden;
}

.content-wrapper {
  margin: 2rem auto;
  padding: 1rem;
}

.post-list-principal-title h2{
  margin: 0;
  color: var(--acip-color-primary);
  font-weight: 700;
  font-size: 25px;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
}

.post-list-principal-title .border-title{
  background: var(--acip-color-primary);
  height: 2px;
}


.post-list-card {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid #efefef;
  padding-bottom: 35px;
  padding-top: 35px;
}

.post-list-card:hover {
  background-color: #efefef;
}

.post-list-card img {
  max-width: 200px;
  border-radius: 5px;
  height: 90px;
  border-radius: 15px;
}


.modal-header {
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
  color: white;
}

@media (max-width: 768px) {

  .post-list-card img {
    height: 90px;
  }


  .post-list-card {
    flex-direction: column;
    align-items: center;
  }
}
.post-list-card {
  border-radius: 10px;
  transition: background-color 0.3s ease;
  padding: 1rem;
}

.post-list-card:hover {
  background-color: #efefef;
}

.post-list-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--acip-color-primary);
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.post-list-card:hover .post-list-title {
  text-decoration: underline;
}

.post-list-content p {
  margin-bottom: 0.3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #808286;
}

a.post-list-title-link {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--acip-color-primary);
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

a.post-list-title-link:hover {
  text-decoration: underline;
}

.post-list-content .post-list-published {
  margin-bottom: 0.3rem;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #808286;
}

.pagination-center{
  justify-content: center;
  display: flex;
}

.banner .title{
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #606062;
  padding-bottom: 10px;
}

.card-title-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--acip-color-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
}

.card-title-custom::before,
.card-title-custom::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: var(--acip-color-primary);
  margin: 0 0.5rem;
}

.card-image-custom {
  margin-top: 50px;
}

.card-subtitle-custom {
  font-weight: 700;
  color: var(--acip-color-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  line-height: 1.1;
  margin-bottom: 50px;
}

.card-post-title {
  font-weight: 700;
  color: var(--acip-color-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 25px;
  line-height: 1.1;
  margin-bottom: 50px;
}

.card-published-custom {
  font-weight: 500;
  color: var(--acip-color-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  line-height: 1.1;
  margin-top: 30px;
  margin-bottom: 30px;
}

.card-post-footer-description{
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 400 ;
  color: #284480;
  text-align: center;
  line-height: 1.1;
  margin-top: 30px;
}


.placeholder {
  background-color: #e0e0e0;
  height: 120px;
  border-radius: 0.5rem;
}

/* Bordas entre as linhas do calendário */
#my-calendar table tr {
  border-bottom: 1px solid #ccc;
}

/* Estilização para eventos: fundo amarelo, texto azul */
.evento-dia {
  color: #093fe4 !important;
  font-weight: bold;
  border-radius: 50%;
}

/* Centraliza título do mês */
#my-calendar .calendar-month-header {
  font-weight: bold;
  font-size: 1.2rem;
  text-transform: capitalize;
  text-align: center;
}

/* Só a primeira letra dos dias da semana */
#my-calendar th {
  font-weight: bold;
  color: #093fe4;
}
#my-calendar th::after {
  content: '';
  display: inline;
  visibility: hidden;
}


div.zabuto_calendar .table tr.calendar-dow-header th{
  color: #284480;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  background-color: #fff;
  padding-top: 5px;
}

div.zabuto_calendar .table tr td div.day{
  color: #284480;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

div.zabuto_calendar .badge-event, div.zabuto_calendar div.legend span.badge-event{
  background-color: #ffcc29;
  color: #012f87;
}

div.zabuto_calendar .badge-today, div.zabuto_calendar div.legend span.badge-today{
  text-decoration: none;
  border: 1px solid #284480;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  background: none;
  color: #284480;
  font-size: 14px;
  font-weight: 400;
}


.zabuto_calendar .table.table-bordered {
  border: none;
}

.zabuto_calendar .table.table-bordered th,
.zabuto_calendar .table.table-bordered td {
  border: none;
}

.zabuto_calendar tr {
  border-bottom: 1px solid #0766f8;
  border-top: 0;
}

.zabuto_calendar tr:first-child {
  border: 0;
}

div.zabuto_calendar .table tr:last-child{
  border:none;
}

.calendar-month-header td:first-child,
.calendar-month-header td:last-child{
  display: none;
}

.zabuto_calendar .calendar-month-header td[colspan="7"] {
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%) !important;
  color: #fff;
  text-align: center;
  padding: 10px 0; 
  border-radius: 15px;
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.zabuto_calendar .calendar-dow-header {
  margin-top: 15px; /* Ajuste este valor conforme necessário para o espaçamento desejado */
  display: table-row; /* Garante que margin-top funcione em tr se o layout estiver como table-row */
}

div.zabuto_calendar .table tr td.event div.day, div.zabuto_calendar ul.legend li.event{
  background-color: #ffcc28 !important;
  border-radius: 10px;
}

.btn-theme-1{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #284480;
  font-size: 20px;
  background-color: #ffcb2b;
  border-radius: 15px;
}

.btn-theme-1:hover{
  background-color: #284480;
  color: #ffcb2b;
  border-color: #284480;
}

 .opcao {
  border-top: 1px solid #0766f8;
  padding: 10px 0;
  display: flex;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #284480;
}

.opcao:last-child {
  border-bottom: 1px solid #0766f8;
}

.opcao input[type="radio"] {
  margin-right: 10px;
}

.button-container{
  margin-top: 50px;
}

.form-control-custom {
  background-color: #e9e9e9;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 15px;
  font-size: 18px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #284480;
}

.form-control-custom::placeholder {
  color: #284480;
  opacity: 1;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #284480;
}

.form-control-custom:focus {
  outline: none;
  background-color: #e9e9e9;
}

.header-top {
  background: linear-gradient(90deg, rgba(9, 101, 247, 1) 33%, rgba(34, 73, 148, 1) 100%);
}

.header-logo img {
  height: 60px;
}

.slogan {
  font-size: 1.2rem;
  font-weight: bold;
}

.divider-line {
  width: 80%;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  margin-left: auto;
}

@media (max-width: 768px) {
  .divider-line{
    display: none;
  }

  .slogan img{
    height: 11px !important;
    margin-bottom: 10px;
  }

  .header-logo {
    justify-content: center !important;
    margin-bottom: 1.5rem;
  }
}

.card-title-divider::before,
.card-title-divider::after {
  content: '';
  flex-grow: 1; 
  height: 1px; 
  background-color: var(--primary-blue); 
  margin: 0 10px; 
  max-width: 80px; 
}

.alphabet{
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #efefef;
}

.alphabet a{
  margin-right: 10px;
}

.alphabet .btn-active{
  background: var(--acip-color-primary);
  border-color: var(--acip-color-primary);
  color: #fff;
}

.calendar-container{

}

.calendar-container .item{
  padding: 20px;
}

.poll-result-option{
  margin-top:10px;
  justify-content: space-between;
  background: #efefef;
}

.poll_result_text{
  font-family: 'Poppins', sans-serif;
  color: var(--acip-color-primary);
  font-weight: 600;
  font-size: 18px;
  text-align: center;
  margin-top: 15px;
}

.poll_result_total_text{
  font-family: 'Poppins', sans-serif;
  color: var(--acip-color-primary);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  margin-top: 15px;
}

.link-white{
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
}

.link-white:hover{
  color: #ffcc28;
}

.footer-contact{
  padding-left: 1rem;
}

.box_search{
  background-color: #efefef;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 10px;
}

.title_search{
  font-family: 'Poppins', sans-serif;
  color: var(--acip-color-primary);
  font-weight: 600;
  font-size: 18px;
}

a.text-link:hover{
  color: #ffcb2b !important;
  text-decoration: none;
}

.chat-widget-container {
    position: fixed;
    bottom: 20px;
    right: 40px;
    display: flex;
    align-items: flex-end;
    z-index: 1000;
}

.chat-message-bubble {
    position: relative;
    margin-right: -15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.chat-message-bubble img {
    display: block;
    max-width: 100%;
    height: 80px;
}

.chat-close-button {
    position: absolute;
    top: 13px;
    right: 91px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chat-close-button img {
    display: block;
    max-width: 100%;
    height: auto;
}

.chat-agent-icon {
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.chat-agent-icon img {
    display: block;
    max-width: 100%;
    height: auto;
}

.chat-widget-container a:hover {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

/* CARD */
@media (max-width: 1366px) {
  .card-custom{
    padding: 2rem !important;
  }

  .card-title-custom{
    font-size: 18px !important;
  }

  .card-full-link {
      height: 75% !important;
  }

  .service-title{
    font-size: 15px;
  }
}

/* Estilos do Link Principal do Card */
.card-full-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 60%;
}

.card-full-link:hover .card-custom {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card-custom {
    background-color: white;
    padding: 4rem;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.3s ease-in-out;
    height: 100%;
}


.card-image-custom {
    margin-top: 50px;
    position: relative;
    /* NOVO: Define um contêiner para a imagem com proporção fixa */
    width: 100%; /* Ocupa a largura total do card */
    padding-top: 66.3194%; /* (191px / 288px) * 100% = ~66.3194% para manter a proporção 288x191 */
    height: 0; /* Zera a altura, pois padding-top já define a altura proporcional */
    overflow: hidden; /* Garante que nada transborde */
    background-color: #f0f0f0; /* Cor de fundo para as laterais transparentes, ajuste se precisar */
    border-radius: 10px; /* Mantém o border-radius para o contêiner */
    display: flex; /* Para centralizar o ícone de overlay corretamente */
    justify-content: center; /* Para centralizar o ícone de overlay corretamente */
    align-items: center; /* Para centralizar o ícone de overlay corretamente */
}

.card-image-custom img {
    position: absolute; /* A imagem precisa ser absoluta para respeitar o padding-top */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    /* NOVO: Aplica o object-fit: contain; */
    object-fit: contain; /* Enquadra a imagem sem cortar e mantém a proporção */
    border-radius: 10px; /* Mantém o border-radius na imagem */
}

/* Overlay padrão com 30% de opacidade */
.image-overlay {
  position: absolute;
  inset: 0; /* cobre toda a imagem */
  background: rgba(0, 0, 0, 0.5); /* cor e transparência do overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  pointer-events: none; /* garante que clique passe para imagem/link */
}

/* Ícone de lupa escondido inicialmente */
.image-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 2;
    pointer-events: none;
}

/* Ao passar o mouse na área da imagem */
.card-image-custom:hover .image-overlay,
.card-image-custom:hover .image-icon-overlay {
  opacity: 0.5;
}

/* Regras de hover para a imagem e o ícone (quando o card inteiro está em hover) */
.card-full-link:hover .image-overlay {
    background-color: rgba(0, 0, 0, 0.8);
}

.card-full-link:hover .image-icon-overlay {
    opacity: 1;
}

.card-full-link:hover .image-icon-overlay .bi-search {
    color: white !important;
    cursor: pointer;
}

/* Card Published Custom - Ajuste de Margens */
.card-published-custom {
    font-weight: 500;
    color: var(--acip-color-primary, #284480);
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.1;
    margin-top: 20px;
    margin-bottom: 5px;
}

/* Card Post Title - Ajuste de Margens */
.card-post-title {
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 25px;
    line-height: 1.1;
    margin-top: 5px;
    margin-bottom: 30px;
}

.post-title-link {
    color: var(--acip-color-primary, #284480);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.card-custom:hover .post-title-link {
    color: #ffcb2b;
}

.btn-theme-1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #284480;
    font-size: 20px;
    background-color: #ffcb2b;
    border-radius: 15px;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}
