body {
  background: #ffffff;
  color: #222;
  font-family: system-ui, sans-serif;
}
p {
  font-size: 16px;
}

/* NAVBAR */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='black' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Offcanvas fundo branco */
.offcanvas {
  background: #ffffff;
}

/* Ícone hamburguer escuro */
.navbar-toggler-icon {
  filter: invert(0);
}

/* Hover submenu apenas no desktop */
@media (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.offcanvas-header {
    border-bottom: 2px solid #219CBC !important;
    box-shadow: 0 4px 12px rgba(33, 156, 188, 0.25) !important;
}

.navbar-custom {
  background: #ffffff;
  border-bottom: 2px solid #219CBC;
  box-shadow: 0 4px 12px rgba(33, 156, 188, 0.25);
}

.navbar-nav .nav-link {
  color: #222;
  font-weight: 500;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #219CBC;
}

/* SUBMENU */
.dropdown:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  border: 1px solid #219CBC;
  box-shadow: 0 4px 12px rgba(33, 156, 188, 0.25);
}
.dropdown-item:last-child { border-bottom: none; }

.dropdown-item:hover {
  background: #219CBC;
  color: #fff;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: #219CBC;
}

 /* Garante que o texto dentro do offcanvas nunca sai do quadrado */
.offcanvas .nav-link,
.offcanvas .dropdown-item {
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: break-word !important;
  max-width: 100%;
}

.dropdown-menu li {
  border-bottom: 1px solid #219CBC !important;
    box-shadow: 0 4px 12px rgba(33, 156, 188, 0.25) !important;
}
.dropdown-menu li:last-child { 
  border-bottom: none !important; 
box-shadow: none !important;
}

@media (max-width: 576px) {
  #offcanvasMenu {
    width: 85% !important;
  }

/* Ajusta o padding para evitar que o texto encoste às bordas */
.offcanvas .nav-link,
.offcanvas .dropdown-item {
  padding-right: 20px;
}
}


/* CONTENT */
.content {
  padding: 4rem 0;
}
.link-footer {
  color: grey;
}

.btn-main {
  border: 1px solid #219CBC;
  background: #219CBC;
  color: #FFF;
  padding: 10px 22px;
  font-weight: bold;
}
.btn-main:hover {
  background: #fff;
  color: #219CBC;
  padding: 10px 22px;
  font-weight: bold;
  border: 1px solid #219CBC;
}

.logo-assinatura {
  padding: 18px 0px;
  background: #219CBC;
}
.logo-assinatura img {
  max-width: 40%;
  margin: 0 auto;
  display: block;
}

/*Separador de texto*/
.text-separator {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.20rem;
  color: #219CBC;
}

.text-separator::before,
.text-separator::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    #219CBC,
    transparent
  );
  opacity: 0.7;
}

.text-separator::before {
  margin-right: 0.75rem;
}

.text-separator::after {
  margin-left: 0.75rem;
}

.text-separator span {
  position: relative;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(33, 156, 188, 0.25);
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.06),
    0 0 0 1px rgba(33, 156, 188, 0.12);
}

/* Versão em fundo escuro (opcional) */
.dark .text-separator span {
  background: #0b1720;
  border-color: rgba(33, 156, 188, 0.5);
}
.dark .text-separator {
  color: #8fd5ea;
}

/*LIGHTBOX*/
/* Imagem pequena */
.lightbox-trigger {
  width: 250px;
  cursor: pointer;
  border-radius: 6px;
  transition: transform .3s;
}

.lightbox-trigger:hover {
  transform: scale(1.03);
}

/* Lightbox */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* Botão fechar */
#closeBtn {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: .3s;
}

#closeBtn:hover {
  color: #ccc;
}
.pointer:hover {
  cursor: pointer;
}

#lightbox2 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox2 img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

/* Botão fechar */
#closeBtn2 {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 50px;
  color: white;
  cursor: pointer;
  font-weight: bold;
  transition: .3s;
}

#closeBtn2:hover {
  color: #ccc;
}
.pointer:hover {
  cursor: pointer;
}

/*Estilo dos social links*/
.social-block {
    display: flex;
    gap: 16px;
    padding: 12px 0;
  }

  .social-block a {
    color: #ffffff;
    font-size: 26px;
    transition: color 0.2s ease;
  }

  .social-block a:hover {
    color: #bfbfbf; /* cinzento */
  }

  .linkArtigos {
    text-decoration: none;
    color: #000;
  }
  .linkArtigos:hover {
    color: #219CBC;
  }

/* ===========================
   SLIDER BASE
   =========================== */
.slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1200/640;
  margin: 120px auto auto auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Container das imagens */
.slides {
  display: flex;
  transition: transform 0.6s ease;
}

/* Cada slide */
.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===========================
   LEGENDA (TÍTULO + BOTÃO)
   =========================== */
.caption {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  max-width: 80%;
  color: #fff;
  text-shadow: 0 3px 10px rgba(0,0,0,0.6);

  display: flex;              /* garante alinhamento vertical */
  flex-direction: column;     /* título em cima, botão em baixo */
  align-items: center;        /* centra tudo */
}

/* Fundo semi-transparente APENAS no título */
.caption h2 {
  font-size: 20px;
  margin-bottom: 18px;        /* espaço entre título e botão */
  background: rgba(0, 0, 0, 0.45);
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-block;
}

/* Botão por baixo do título */
.caption .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #219CBC;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.caption .btn:hover {
  background: #167a92;
}

/* ===========================
   SETAS SVG
   =========================== */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.nav svg {
  width: clamp(25px, 4vw, 45px);
  height: auto;
}

.prev { left: 15px; }
.next { right: 15px; }

.nav:hover {
  background: rgba(0,0,0,0.7);
}

/* ===========================
   MOBILE
   =========================== */
@media (max-width: 768px) {

  .caption {
    top: 50%;
    max-width: 100%;
  }

  .caption h2 {
    font-size: 16px;
    padding: 10px 16px;
  }

  .caption .btn {
    padding: 10px 20px;
  }

  .nav {
    padding: 6px;
  }
}

.parallax-section {
    height: 60vh; /* Altura responsiva */
    background-image: url('../img/banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Efeito parallax */
    background-attachment: fixed;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Conteúdo */
.parallax-content {
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    padding: 20px;
}

/* Responsividade para mobile */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll; /* Evita bugs em iOS */
    }
}



/*MediaQueries*/
@media (min-width:992px) {
  .mobile-logo {
    display: none;
  }
}


