* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: #fff;
  color: #222;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: auto;
}

/* HEADER */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 999;
  backdrop-filter: blur(8px);
  transition: 0.4s;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 70px;
}

nav ul {
  display: flex;
  gap: 35px;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;

  transition: 0.3s;
}

nav a:hover {
  color: #ff3d3d;
}

.btn-orcamento {
  background: #d81e2b;
  padding: 14px 25px;
  border-radius: 50px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;

  transition: 0.3s;
}

.btn-orcamento:hover {
  background: #0c3f82;
}

.menu-mobile {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* BANNER */

.banner {
  height: 100vh;

  /* background: url("../img/logo.png") center center; */
  background-size: cover;

  position: relative;

  display: flex;
  align-items: center;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(15, 61, 142, 0.9),
    rgba(15, 61, 142, 0.8),
    rgba(15, 61, 142, 0.7)
  );
}

/* 15, 61, 142, 0.9), */
/* #0d3d75 */

.hero {
  position: relative;
  z-index: 2;

  padding-top: 120px;
}

.texto {
  width: 650px;
  color: white;
}

.texto span {
  letter-spacing: 4px;
  font-size: 20px;
  color: #ffffff;
}

.texto h1 {
  font-size: 68px;
  line-height: 72px;
  margin: 20px 0;
}

.texto strong {
  color: #fff;
}

.texto p {
  font-size: 24px;
  margin-bottom: 40px;
}

.botoes {
  display: flex;
  gap: 20px;
}

.btn1 {
  background: #d81e2b;
  color: #fff;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;

  transition: 0.3s;
}

.btn1:hover {
  transform: translateY(-5px);
}

.btn2 {
  border: 2px solid white;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: 600;

  transition: 0.3s;
}

.btn2:hover {
  background: white;
  color: #0d3d75;
}

header.ativo {
  background: #fff;

  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);

  padding: 12px 0;
}

header.ativo nav a {
  color: #222;
}

header.ativo .menu-mobile {
  color: #0d3d75;
}

/*======================================
            SERVIÇOS
=======================================*/

.servicos {
  padding: 120px 0;

  background: #fff;
}

.titulo {
  text-align: center;

  margin-bottom: 70px;
}

.titulo span {
  color: #d81e2b;

  font-weight: 700;

  letter-spacing: 3px;

  font-size: 14px;
}

.titulo h2 {
  font-size: 46px;

  margin: 15px 0;

  color: #0d3d75;
}

.titulo p {
  max-width: 750px;

  margin: auto;

  color: #666;

  font-size: 18px;

  line-height: 30px;
}

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 35px;
}

.card {
  background: #fff;

  padding: 45px;

  border-radius: 20px;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);

  transition: 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);

  cursor: pointer;

  border-top: 5px solid transparent;
}

.card:hover {
  transform: translateY(-12px);

  border-top: 5px solid #d81e2b;

  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.icone {
  width: 90px;
  height: 90px;

  background: #eef5ff;

  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 25px;

  transition: 0.4s;
}

.icone img {
  width: 55px;
  height: 55px;

  object-fit: contain;

  transition: 0.35s;

  filter: brightness(0) saturate(100%) invert(18%) sepia(91%) saturate(1462%)
    hue-rotate(198deg) brightness(95%) contrast(95%);
}

.card:hover .icone {
  background: #d81e2b;

  transform: translateY(-5px);
}

.card:hover .icone img {
  transform: scale(1.15);

  filter: brightness(0) invert(1);
}

.card h3 {
  font-size: 24px;

  margin-bottom: 15px;

  color: #0d3d75;
}

.card p {
  color: #666;

  line-height: 28px;
}

/*======================================
          DIFERENCIAIS
======================================*/

.diferenciais {
  padding: 120px 0;

  background: #f6f8fc;
}

.diferenciais .container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 70px;

  align-items: center;
}

.texto-dif span {
  color: #d81e2b;

  font-weight: 700;

  letter-spacing: 2px;
}

.texto-dif h2 {
  font-size: 46px;

  color: #0d3d75;

  margin: 20px 0;

  line-height: 58px;
}

.texto-dif p {
  font-size: 18px;

  line-height: 34px;

  color: #666;
}

.itens {
  display: grid;

  grid-template-columns: 1fr;

  gap: 25px;
}

.item {
  background: white;

  padding: 30px;

  border-radius: 18px;

  display: flex;

  align-items: center;

  gap: 25px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
}

.item:hover {
  transform: translateX(12px);
}

.item i {
  width: 75px;

  height: 75px;

  background: #0d3d75;

  color: white;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 30px;

  border-radius: 50%;

  transition: 0.3s;
}

.item:hover i {
  background: #d81e2b;
}

.item h3 {
  color: #0d3d75;

  margin-bottom: 8px;

  font-size: 22px;
}

.item p {
  color: #666;

  line-height: 28px;
}

/*======================================
            GALERIA
======================================*/

.galeria {
  padding: 120px 0;

  background: white;
}

.galeria-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;
}

.foto {
  position: relative;

  overflow: hidden;

  border-radius: 20px;

  height: 320px;

  cursor: pointer;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.foto img {
  width: 100%;

  height: 100%;

  object-fit: cover;

  transition: 0.8s;
}

.foto:hover img {
  transform: scale(1.12);
}

.descricao {
  position: absolute;

  left: 0;
  bottom: 0;

  width: 100%;

  padding: 25px;

  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));

  color: white;

  transition: 0.4s;
}

.descricao h3 {
  font-size: 24px;

  font-weight: 600;
}

.foto:hover .descricao {
  padding-bottom: 40px;
}

/*======================================
            CONTATO
======================================*/

.contato {
  padding: 120px 0;

  background: #f5f7fb;
}

.contato-grid {
  display: flex;

  justify-content: center;

  margin-top: 60px;
}

.info-contato {
  width: 100%;
  max-width: 700px;
}

.info {
  display: flex;

  align-items: center;

  gap: 25px;

  margin-bottom: 25px;

  padding: 25px;

  background: white;

  border-radius: 18px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  transition: 0.3s;
}

.info:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.info i {
  width: 65px;

  height: 65px;

  background: #0d3d75;

  color: white;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  font-size: 26px;

  flex-shrink: 0;
}

.info h3 {
  color: #0d3d75;

  margin-bottom: 8px;
}

.info p {
  color: #666;

  line-height: 28px;
}

.btn-whatsapp {
  /* display: inline-flex; */

  align-items: center;

  gap: 12px;

  margin-top: 25px;

  padding: 18px 35px;

  background: #25d366;

  color: white;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 600;

  transition: 0.3s;

  display: flex;

  justify-content: center;

  margin: 40px auto 0;

  width: 320px;
}

.btn-whatsapp:hover {
  transform: translateY(-5px);
}

.formulario {
  background: white;

  padding: 45px;

  border-radius: 20px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.formulario form {
  display: flex;

  flex-direction: column;

  gap: 20px;
}

.formulario input,
.formulario textarea {
  padding: 18px;

  border: 1px solid #ddd;

  border-radius: 12px;

  font-size: 16px;

  font-family: Poppins;
}

.formulario textarea {
  height: 180px;

  resize: none;
}

.formulario button {
  background: #d81e2b;

  color: white;

  border: none;

  padding: 18px;

  border-radius: 50px;

  font-size: 18px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.35s;
}

.formulario button:hover {
  background: #0d3d75;
}

/*======================================
            RODAPÉ
======================================*/

footer {
  background: #0d3d75;

  color: white;

  padding-top: 70px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr;

  gap: 60px;

  padding-bottom: 60px;
}

.logo-footer {
  height: 75px;

  margin-bottom: 20px;
}

footer h3 {
  margin-bottom: 20px;
}

footer p,
footer li {
  color: #dcdcdc;

  line-height: 30px;

  list-style: none;
}

.copyright {
  text-align: center;

  padding: 25px;

  background: #08284f;

  font-size: 15px;
}

/*==================================
        WHATSAPP
==================================*/

.whatsapp-float {
  position: fixed;

  right: 25px;

  bottom: 25px;

  width: 70px;

  height: 70px;

  background: #25d366;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  text-decoration: none;

  color: white;

  font-size: 36px;

  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);

  z-index: 9999;

  transition: 0.3s;

  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

#topo {
  position: fixed;

  bottom: 110px;

  right: 28px;

  width: 55px;

  height: 55px;

  border: none;

  border-radius: 50%;

  background: #0d3d75;

  color: white;

  font-size: 22px;

  cursor: pointer;

  display: none;

  z-index: 999;

  transition: 0.3s;
}

#topo:hover {
  background: #d81e2b;
}

nav {
  transition: 0.4s;
}

.contato {
  padding: 120px 0;
  background: #f5f7fb;
}

.contato-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-top: 60px;
  align-items: stretch;
}

.contato-card {
  background: #0d3d75;

  padding: 40px 25px;

  border-radius: 18px;

  text-align: center;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

  transition: 0.3s;

  color: white;
}

.contato-card:hover {
  transform: translateY(-10px);

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);

  background: #0b2f5c;
}

.contato-card i {
  font-size: 35px;

  color: white;

  margin-bottom: 20px;
}

.contato-card h3,
.contato-card p {
  color: white;
}

.contato-card p {
  color: white;
  line-height: 26px;
}

.contato-card.destaque {
  background: #0d3d75;
  color: white;
}

.contato-card.destaque i,
.contato-card.destaque h3,
.contato-card.destaque p {
  color: white;
}

.contato-card.destaque a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #25d366;
  color: white;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
}

header nav ul li a {
  position: relative;

  color: #ffffff;

  text-decoration: none;

  font-weight: 600;

  padding: 12px 18px;

  border-radius: 8px;

  transition: 0.3s;
}

header nav ul li a:hover {
  background: #0d3d75;

  color: #fff;
}

header nav ul li a.ativo {
  background: #d81e2b;

  color: #fff;
}
header.ativo nav a {
  color: #0d3d75;
}

header.ativo nav ul {
  background-color: #fff;
}
