    * { margin: 0; padding: 0; box-sizing: border-box; font-family: "Playfair Display",  Arial, sans-serif; }
    body { color: #333; line-height: 1.6; }
    a { text-decoration: none; color: inherit; }
html {
  font-size: 17px; 
}
#sobre, #missao, .info{
  padding: 50px 15%; 
}
.info img{max-width: 300px; border-radius: 8px; flex-shrink: 0;}
#sobre p,  #missao p{
  margin-bottom: 20px; 
  text-align: justify; 
}
p {
  font-size: 1rem;     
  line-height: 1.6;    
  margin-bottom: 1em;   
  color: #333;
   text-align: justify;
}

h1 {
  font-size: 2rem;    
  line-height: 1.2;
}

h2 {
  font-size: 1.5rem;   
  line-height: 1.3;
  color: #003366;
}

h3 {
  font-size: 1.25rem;  
  line-height: 1.3;
  color: #004aad;
}
  .banner {
  position: relative; 
  display: flex;
  height: 90vh;
  overflow: hidden; 
  margin-top: 80px;
  width: 100%;
}

.banner-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;   
  height: 98%;
  background: #004aad;
  color: white;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* efeito de transparência na lateral direita */
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;

  mask-image: linear-gradient(to right, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
  mask-repeat: no-repeat;
  mask-size: 100% 100%;
}
.banner-left .logo{
     font-weight: 700;
    }
   
.banner-left h1 {  margin-top: 60px; text-align: center;margin-right: 30%; opacity: 0;
  transform: translateX(-80px);
  animation: slideIn 1.8s ease-out forwards;}
  
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
.banner-left p { margin-top: 100px; margin-right: 20%; }
.banner-right { flex: 1; height:98%;width: 100%; background: url('img/fachada1.jpg') center/cover no-repeat;
    }  
/* MENU SUPERIOR */
.navbar {
  position: fixed; 
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

 .navbar .logo img {
  height: 100px;   
  width: auto; 
  display: block;
}
.navbar ul {
  list-style: none;
  display: flex;
  align-items: center;     
  gap: 30px;
  padding: 0;
}
.navbar ul li {
  position: relative; 
}
.navbar ul li a {
  font-size: 1.rem;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 5px;
display: block;
}
.navbar ul li a:hover {
  background: #004aad;
  color: #fff;
}
 .navbar ul li a.active {
  color: #004aad;   
  font-weight: 700;
  border-bottom: 2px solid #004aad;
}

.navbar ul li ul.submenu {
  display: none;
  position: absolute;
  top: 100%;  
  left: 0;
  background: #fff;
  list-style: none;
  padding: 10px 0;
  margin: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 5px;
  min-width: 220px;
  z-index: 999;
}

.navbar ul li ul.submenu li {
  width: 100%;
}

.navbar ul li ul.submenu li a {
  padding: 10px 15px;
  font-size: 0.95rem;
  color: #333;
  border-radius: 0;
}

.navbar ul li ul.submenu li a:hover {
  background: #004aad;
  color: #fff;
}

/* Mostrar submenu ao passar o mouse */
.navbar ul li:hover > ul.submenu {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Seções*/
    section {
  padding: 2rem 4vw;
  scroll-margin-top: 120px;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #004aad;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.8);
  overflow: hidden;
  transition: transform 0.3s;
  text-align: center;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  color: #004aad;
  margin: 15px 0 10px;
  font-weight: 500; 
}

.card p, .card ul {
  text-align: justify;
  padding: 0 10px 10px;
  color: #333;
}

.card ul {
  list-style: disc;
  text-align: left;
  margin-left: 20px;
}
/* DIFERENCIAIS */
#diferencial .differentials {
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: diferencial; /* inicia contador */
}

#diferencial .card {
  display: grid;
  grid-template-columns: 80px 200px 1fr; 
  align-items: center;
  gap: 20px;
  background: #f5f5f5;
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

/* Número automático */
#diferencial .card::before {
  counter-increment: diferencial;
  content: counter(diferencial, decimal-leading-zero);
  font-size: 40px;
  font-weight: bold;
  color: #004aad;
  text-align: center;
}

/* Título */
#diferencial .card h3 {
  color: #004aad;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

/* Texto */
#diferencial .card p {
  color: #333;
  font-size: 17px;
  text-align: justify;
  margin: 0;
}

/* Hover */
#diferencial .card:hover {
  background: #004aad;
  color: #fff;
  transform: translateY(-8px);
}

#diferencial .card:hover h3,
#diferencial .card:hover p,
#diferencial .card:hover::before {
  color: #fff;
}
  
    /* Contato */
    .contact-form {
      display: flex;
      flex-direction: column;
      gap: 15px;
      max-width: 500px;
      margin: auto;
    }
    .contact-form input,
    .contact-form textarea {
      padding: 10px;
      border-radius: 5px;
      border: 1px solid #ccc;
      width: 100%;
    }

    .contact-form button {
      padding: 10px;
      border: none;
      border-radius: 5px;
      background-color: #2b3d8a;
      color: white;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s;
    }

    .contact-form button:hover {
      background-color: gray;
    }
    .cta-section {
    width: 100%;
    background:  #003366; 
    padding: 20px ;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 125px;
    margin-bottom: 50px;
  }
  .cta-section p {
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    margin: 0;
  }
  .links-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  margin-bottom: 4rem;
}

.links-container a {
  display: block;
  background: #fff;
  color: #004aad;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1.4;
}
.links-container a:hover {
  background: #004aad;
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
 #contatos { background: #f5f5f5; }
  .contato-grid { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1100px; margin: auto;}
  .left, .right { flex: 1; min-width: 300px; }
  .left h3 { color: #003b73; margin-bottom: 10px;margin-top: 30px; }
  .left p { margin: 12px 10px; display: flex; align-items: flex-start;  }
  iframe { width: 100%; height: 350px; border: 0; border-radius: 12px;margin: 10px; }
    /* Rodapé */
    footer { background-color: #004aad; color: white; text-align: center; padding: 10px 50px;margin-top:10px; }
.icon-blue {
  vertical-align: middle;
  height: 40px;
  margin-right: 10px;
  filter: invert(22%) sepia(93%) saturate(2552%) hue-rotate(203deg) brightness(92%) contrast(96%);
}
    .hamburger {
      display: none; 
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1100;
    }
    .hamburger span {
     display: block;
  height: 3px;
  width: 100%;
  background-color: black;
  border-radius: 2px;
  transition: all 0.3s ease;
    }

/* Animação do X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
.btn-ver-mais{
  display: inline-block;
  padding: 0 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  background: #6c757d;  
  color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform .15s ease, box-shadow .15s ease;
  }
.btn-ver-mais:hover,
.btn-ver-mais:focus{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  outline: none;
}

.footer-box {
  flex: 1 1 300px;
  margin: 20px;
}

.footer-box p{
      text-align: justify;
}
.footer-box p,
.footer-box a {
  color: #333;
  text-decoration: none;
  font-size: 16px;
  margin: 6px 0;
}

.footer-box a:hover {
  text-decoration: underline;
  color: #004aad;
}
.whatsapp-float-text {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #003366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1000;
transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.whatsapp-float-text:hover {
  transform: scale(1.1);
  background-color: #002244;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.4);
}

.whatsapp-float-text img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

.whatsapp-float-text span {
  font-size: 16px;
}
/* Container para alinhar os botões */
.fixed-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px; /* espaçamento entre os botões */
  z-index: 1010; /* acima do conteúdo da página */
}
.btn-servico-fixo {
  position: fixed;        
  bottom: 20px;        
  right: 250px;          
  background-color: #003366;
  color: #fff;
  border-radius: 50px;
  padding: 10px 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
  z-index: 1010;          /* maior que o WhatsApp */
  font-family: Arial, sans-serif;
  font-weight: bold;
  transition: transform 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.btn-servico-fixo:hover {
  transform: scale(1.1);
  background-color: #002244;
  box-shadow: 4px 4px 12px rgba(0,0,0,0.4);
}

   @media (max-width: 768px) {
  /* Ajusta a fonte base */
  html {
    font-size: 15px;
  }
  .banner {
    flex-direction: column;
    height: auto;
  }
  .banner-left {
    padding: 30px;
  }
  .banner-left nav ul {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
  }
  .banner-right {
    height: 300px;
  }
  /* Títulos */
  section h2 {
    margin-bottom: 15px;
    padding: 15px;
  }
  .hamburger {
    display: flex;
    position: absolute;
    top: 15px;
    right: 20px;
  }

  .navbar ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; 
    right: 20px;
    background: #1f2a65; 
    border-radius: 8px;
    padding: 10px;
    gap: 10px;
    width: 200px;
  }

  .navbar ul.active {
    display: flex;
  }

  .navbar ul li a {
    color: white;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  /* Link ativo no mobile */
  .navbar ul li a.active {
    background: #fff;     
    color: #004aad;      
    border-bottom: none; 
    font-weight: 700;
  }

  /* Logo reduzida no mobile */
  .navbar .logo img {
    height: 60px; 
  }
  #diferencial .card {
    grid-template-columns: 60px 1fr; 
    grid-template-rows: auto auto;  
    align-items: flex-start;
  }

  #diferencial .card h3 {
    font-size: 18px;
  }

  #diferencial .card p {
    grid-column: 1 / -1; 
    font-size: 14px;
    margin-top: 10px;
    text-align: left;
  }

  #diferencial .card::before {
    font-size: 28px;
  }
  .info {
    flex-direction: column;
  }
  .info img {
     margin: 0 auto 20px auto;
  }
}










