/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #2b2b2b;
  background-color: #f9fafc;
  line-height: 1.8;
  font-weight: 400;
}

/* ===== TÍTULOS ===== */
h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.4px;
  color: #0033a0;
  line-height: 1.3;
}

/* ===== PARÁGRAFOS ===== */
p {
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.9;
  letter-spacing: 0.1px;
}

/* ===== LINKS / HOVER ===== */
a {
  transition: all 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

/* ===== SUAVIZAÇÃO VISUAL ===== */
.text strong {
  color: #002b7a;
  font-weight: 600;
}

.sobre-section p {
  color: #505b73;
}

.pilar-card p {
  color: #5f677b;
}

.pilar-card h3 {
  color: #002b7a;
  font-weight: 600;
  letter-spacing: 0.2px;
}


img {
  max-width: 100%;
  display: block;
}

/* ===== CONTAINER ===== */
.container {
  width: 90%;
  max-width: 600px;
  margin: 0 auto;
}



/* ====== NAVBAR  ====== */
.navbar.navbar-dark {
  background: linear-gradient(180deg, #0a1f44 0%, #0f3a63 100%) !important;
  padding: 12px 20px !important;
  box-shadow: none !important;
}


.navbar .container {
  gap: 0 !important;
}


.navbar-brand img {
  height: 40px !important;
}


.navbar-nav {
  gap: 10px !important;
}
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500 !important;
  padding: .25rem .5rem !important;
  margin: 0 !important;
  transition: color .3s ease, background .3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: #fff !important;
  color: #f95f2c !important;  
  border-radius: 5px !important;
}

.navbar .dropdown-menu {
  background: #fff !important;
  border: none !important;
  box-shadow: 0 4px 6px rgba(0,0,0,.1) !important;
  border-radius: 5px !important;
}
.navbar .dropdown-item {
  color: #0056b3 !important; 
  font-weight: 500 !important;
}
.navbar .dropdown-item:hover {
  background: #f1f1f1 !important;
}

#cnpj-input {
  border-radius: 5px !important;
  border: 1px solid #ced4da !important; /* deixar neutro como Bootstrap */
}


#cnpj-search-form #cnpj-input { 
  width: 350px !important;  
}


#cnpj-search-form { gap: 8px; 
}


.btn-cta {
  background: #f95f2c !important;
  color: #fff !important;
  padding: 7px 20px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  display: inline-block !important;
  transition: all .3s ease !important;
}
.btn-cta:hover {
  transform: scale(1.08) !important;
  filter: brightness(1.1) !important;
}



/* ===== SEÇÃO QUEM SOMOS ===== */
.sobre-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh; 
  padding: 140px 0 120px; 
  background: linear-gradient(120deg, #c6d7ee, #a6dfed);
  background-size: 200% 200%;
  animation: gradientMove 10s ease infinite;
} 
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.sobre-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-right: 220px;
  gap: 60px; 
}

.sobre-section .text {
  background: linear-gradient(135deg, #f9fbff, #eef5ff);
  border-radius: 20px;
  flex: 1;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.05);
  padding: 45px 55px;
  max-width: 900px;
  margin: 70px auto;
}


.sobre-section h2 {
  color: #0033a0;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.sobre-section p {
  color: #444;
  margin-bottom: 18px;
  font-size: 1.05rem;
}

/* ===== LOGO FLUTUANTE ===== */
.logo-flutuante {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 380px;
  height: 380px;
  position: relative;
}

.logo-flutuante img {
  width: 200px;
  height: auto;
  animation: flutuar 6s ease-in-out infinite, brilho 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 8px 25px rgba(0, 102, 204, 0.3));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-flutuante img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 30px rgba(0, 102, 204, 0.4));
}

@keyframes flutuar {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes brilho {
  0% {
    opacity: 0.9;
    filter: drop-shadow(0 5px 20px rgba(0, 191, 255, 0.25));
  }
  100% {
    opacity: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 191, 255, 0.45));
  }
}



/* ===== Seção Nossos Pilares - Card 3D Flutuante com grid ===== */
#pilares {
  position: relative;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(120deg, #c6d7ee, #a6dfed);
}

.pilares-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 80px 60px;
  max-width: 1200px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transform: translateY(0px);
  transition: all 0.6s ease;
  backdrop-filter: blur(8px);
  margin-bottom: 150px;
}

.pilares-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* Título e subtítulo */
#pilares h2 {
  color: #003087;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 2.2rem;
  text-align: center;
}

#pilares p.subtitulo {
  color: #5a6b7a;
  font-size: 1rem;
  margin-bottom: 60px;
  text-align: center;
}

/* GRID dos cards */
.pilares-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  justify-items: center;
}

/* Cards individuais */
.pilar-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  padding: 30px 25px;
  width: 90%;
  max-width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.pilar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.pilar-card h3 {
  color: #003087;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.pilar-card p {
  color: #5b6c7d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsividade */
@media (max-width: 900px) {
  .pilares-cards {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}





/* ===== FOOTER ===== */
.footer {
   background: linear-gradient(180deg, #0a1f44 0%, #0f3a63 100%);
  color: #fff;
  padding: 50px 0 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding: 0 20px;
}

.footer-logo {
  flex: 1 1 250px;
}
.footer-logo-img {
  height: 45px;
  margin-bottom: 10px;
}
.footer-logo p {
  font-size: 14px;
  opacity: 0.9;
}

.footer-links,
.footer-social,
.footer-contact {
  flex: 1 1 200px;
}

.footer-links h4,
.footer-social h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 8px;
}
.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #ff7a00;
}

.social-icons a {
  color: #fff;
  font-size: 22px;
  margin-right: 12px;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #ff7a00;
}

.footer-contact p {
  font-size: 14px;
  margin-bottom: 6px;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  margin-top: 30px;
  font-size: 13px;
  opacity: 0.8;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .social-icons a {
    margin: 0 10px;
  }
}

/* ===== Botão Voltar ao Topo  ===== */
#btn-topo {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 9999;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 115, 230, 0.9), rgba(0, 180, 255, 0.9));
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  box-shadow: 0 4px 12px rgba(0, 100, 255, 0.25);
  backdrop-filter: blur(6px);
  animation: floatButton 3s ease-in-out infinite;
}

/* Efeito hover */
#btn-topo:hover {
  transform: translateY(-4px) scale(1.1);
  background: linear-gradient(135deg, rgba(0, 140, 255, 1), rgba(0, 190, 255, 1));
  box-shadow: 0 6px 18px rgba(0, 100, 255, 0.4);
}

/* Mostra o botão ao rolar */
#btn-topo.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* ===== BOTÃO WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5d;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
  animation: pulseIcon 2.5s ease-in-out infinite;
}

/* Animação do ícone (pulsar leve) */
@keyframes pulseIcon {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.9; }
}




/* ===== Animação de flutuação suave ===== */
@keyframes floatButton {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}





/* ===== RESPONSIVO ===== */
@media (max-width: 992px) {
  .sobre-section {
    padding: 80px 20px;
  }
  .sobre-section .container {
    flex-direction: column;
  }
  .sobre-section .text {
    margin-right: 0;
    text-align: center;
  }
  .sobre-section img {
    margin-top: 30px;
  }
}



/* ====== FONTES GERAIS (igual Home) ====== */
html, body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
               Arial, 'Noto Sans', 'Liberation Sans', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ====== NAVBAR — degradê e tipografia iguais à Home ====== */
.navbar.navbar-dark {
  /* mesmo degradê da Home */
  background: linear-gradient(180deg, #0a1f44 0%, #0f3a63 100%) !important;
  padding: 12px 20px !important;
  box-shadow: none !important;
}

/* mesma respiração dos elementos */
.navbar .container { gap: 0 !important; }

/* logo na mesma escala da Home */
.navbar-brand img { height: 40px !important; }

/* tipografia/estilo dos links como na Home */
.navbar-nav { gap: 10px !important; }
.navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: .2px !important;
  padding: .25rem .5rem !important;
  margin: 0 !important;
  transition: color .3s ease, background .3s ease;
}

/* “pill” branco no hover igual à Home */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: #ffffff !important;
  color: #f95f2c !important;   /* mesmo accent da Home */
  border-radius: 5px !important;
}

/* Dropdown como na Home */
.navbar .dropdown-menu {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 6px rgba(0,0,0,.1) !important;
  border-radius: 5px !important;
}
.navbar .dropdown-item {
  color: #0056b3 !important; /* primary da Home */
  font-weight: 500 !important;
}
.navbar .dropdown-item:hover { background: #f1f1f1 !important; }

/* Campo de busca com mesmo acabamento */
#cnpj-input {
  border-radius: 5px !important;
  border: 1px solid #ced4da !important;
  font-family: inherit !important;
}

/* CTA igual à Home */
.btn-cta {
  background: #f95f2c !important;
  color: #fff !important;
  padding: 7px 20px !important;
  font-weight: 600 !important;
  border-radius: 10px !important;
  display: inline-block !important;
  transition: all .3s ease !important;
}
.btn-cta:hover {
  transform: scale(1.08) !important;
  filter: brightness(1.1) !important;
}


