@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --cor-primaria: #000000;
  --cor-secundaria: #20ba5a;
  --cor-secundaria-hover: #3aae4a;
  --cor-fundo-leve: #f8fcf9;
  --cor-texto: #2d312e;
  --cor-texto-mutado: #606662;
  --fonte-principal: "Roboto", sans-serif;
  --sombra-suave: 0 10px 30px rgba(0, 0, 0, 0.03);
  --sombra-hover: 0 15px 35px rgba(0, 0, 0, 0.06);
}

body {
  font-family: var(--fonte-principal);
  color: var(--cor-texto);
  line-height: 1.65;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--cor-primaria);
  font-weight: 700;
  letter-spacing: -0.5px;
}

p {
  color: var(--cor-texto-mutado);
  font-size: 1.05rem;
}

a,
button,
.card,
.card-pilar,
.card-numero,
.card-pipeline {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-padding {
  padding: 80px 0;
}

.section-padding-detail {
  padding: 20px 0;
}

header {
  width: 100%;
  background-color: #ffffff;
  z-index: 1030;
}

.top-bar {
  background-color: var(--cor-primaria);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
}

.top-bar a:hover {
  color: var(--cor-secundaria);
}

.main-navbar {
  background-color: #ffffff !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.navbar-brand img {
  height: 42px;
  width: auto;
}

.navbar-brand-footer img {
  height: 65px;
  width: auto;
}

.footer-small {
  font-size: 0.75em;
}

.nav-link {
  color: var(--cor-texto) !important;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 18px !important;
}

.nav-link.active {
  color: var(--cor-secundaria) !important;
}

.hero-section {
  position: relative;
  background-size: contain;
  background-position: left;
  background-repeat: no-repeat;
}

.hero-badge {
  background-color: var(--cor-secundaria);
  color: var(--cor-primaria);
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  padding: 8px 20px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
}

.btn-principal {
  background-color: var(--cor-secundaria) !important;
  color: var(--cor-primaria) !important;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 14px 36px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.btn-principal:hover {
  background-color: var(--cor-secundaria-hover) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.pilar-item i {
  color: var(--cor-secundaria);
  transition: transform 0.3s ease;
}
.pilar-item:hover i {
  transform: scale(1.1);
}

.card-numero {
  background-color: var(--cor-fundo-leve);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
}

.card-numero:hover {
  background-color: #ffffff;
  border-color: rgba(212, 197, 161, 0.3);
  transform: translateY(-5px);
  box-shadow: var(--sombra-hover);
}

.card-pipeline {
  background-color: rgba(10, 10, 10, 0.82) !important;
  border: 1px solid rgba(77, 166, 106, 0.3) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.75rem;
  border-radius: 16px;
  transition: all 0.3s ease;
}

.card-pipeline:hover {
  transform: translateY(-5px);
  border-color: var(--cor-primaria) !important;
  box-shadow: 0 8px 25px rgba(77, 166, 106, 0.2);
}

.pipeline-numero {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--cor-secundaria);
  position: absolute;
  top: 11px;
  right: 11px;
  line-height: 1;
}

.card-pipeline:hover .pipeline-numero {
  color: rgba(212, 197, 161, 0.3);
}

.cta-box {
  background-color: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--sombra-suave);
}

.footer-institucional {
  background-color: var(--cor-primaria);
  color: #ffffff;
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
}

.footer-institucional h5 {
  color: var(--cor-secundaria);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1.2px;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cor-secundaria);
  padding-left: 4px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8) !important;
  border-radius: 50%;
  font-size: 1.15rem;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--cor-secundaria);
  color: var(--cor-primaria) !important;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 50px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  color: #ffffff !important;
}

.card-estudo-overlay .badge {
  background-color: rgba(0, 0, 0, 0.75) !important;
  color: #ffffff !important;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.5px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

main {
  display: flex;
  flex-direction: column;
}

.hero-section {
  order: 1;
}

#pilares-atuacao {
  order: 2;
}

main > section:not(.hero-section):not(#pilares-atuacao) {
  order: 3;
}

#pilares-atuacao {
  overflow: hidden;
}

.pilares-especies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pilares-especies button {
  border: 1px solid rgba(32, 186, 90, 0.35);
  background: #ffffff;
  color: var(--cor-primaria);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 700;
}

.pilares-especies button.active,
.pilares-especies button:hover {
  background: var(--cor-secundaria);
  color: #ffffff;
  border-color: var(--cor-secundaria);
}

.pilar-slide {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  background: #000000;
}

.pilar-slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  opacity: 0.58;
}

.pilar-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px;
  color: #ffffff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.92));
}

.pilar-slide-content span {
  display: block;
  color: var(--cor-secundaria);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.pilar-slide-content h3 {
  color: #ffffff;
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.pilar-slide-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.98rem;
  margin-bottom: 14px;
}

.pilar-slide-content a {
  color: var(--cor-secundaria);
  font-weight: 800;
  text-decoration: none;
}

.pilares-control {
  width: 54px;
  height: 54px;
  top: 50%;
  bottom: auto;
  border-radius: 50%;
  background: var(--cor-secundaria);
  opacity: 1;
  transform: translateY(-50%);
}

.pilares-control.carousel-control-prev {
  left: 18px;
}

.pilares-control.carousel-control-next {
  right: 18px;
}

.pilares-control:hover {
  background: var(--cor-secundaria-hover);
}

main > section.py-4.py-lg-5.bg-white {
  display: none;
}

@media (max-width: 991.98px) {
  .pilar-slide,
  .pilar-slide img {
    min-height: 420px;
    height: 420px;
  }

  .pilar-slide-content {
    padding: 24px;
  }
}
