/* RESET E ESTILOS GERAIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  background-color: #f8f9fa;
  color: #333333;
  line-height: 1.6;
  overflow-x: hidden;
}

/* CABEÇALHO (HERO SECTION) */
header {
  background-color: #0c2033;
  width: 100%;
  padding: 40px 8%;
  box-sizing: border-box;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-brand img {
  max-width: 350px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-photo img {
  max-height: 450px;
  width: auto;
  display: block;
  border-radius: 15px;
}

/* BOTÃO DE AÇÃO (CTA) */
.cta-container {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
}

.cta-container a {
  display: inline-block;
  background-color: #c59b27;
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.05rem;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.cta-container a:hover {
  background-color: #a37f1e;
  transform: translateY(-2px);
}

/* SEÇÕES EM GERAL */
section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

section h2 {
  text-align: center;
  font-size: 2rem;
  color: #0d233a;
  margin-bottom: 40px;
  position: relative;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #c59b27;
  margin: 10px auto 0 auto;
}

/* GRID DE ÁREAS DE ATUAÇÃO */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.card h3 {
  color: #0d233a;
  margin-bottom: 12px;
  font-size: 1.25rem;
}

/* SOBRE & DIFERENCIAIS */
.sobre,
.diferenciais {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.diferenciais ul {
  list-style: none;
}

.diferenciais ul li {
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
  font-size: 1.05rem;
}

.diferenciais ul li::before {
  content: "✓";
  color: #c59b27;
  font-weight: bold;
  font-size: 1.2rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* FAQ */
.faq-item {
  background-color: #ffffff;
  margin-bottom: 16px;
  padding: 24px;
  border-left: 4px solid #c59b27;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.faq-item h3 {
  color: #0d233a;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

/* RODAPÉ */
footer {
  background-color: #0d233a;
  color: #a0aec0;
  padding: 50px 20px;
  margin-top: 70px;
  font-size: 0.95rem;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.footer-info {
  flex: 1;
  text-align: left;
}

.footer-info h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.footer-info p {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* CONTAINER DO MAPA */
.mapa-container {
  flex: 1;
  width: 100%;
  max-width: 450px;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  margin: 0;
}

.mapa-container iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* RESPONSIVIDADE PARA CELULARES */
@media (max-width: 768px) {
  header {
    padding: 30px 15px;
  }

  .card {
    width: 100%;
  }

  .sobre,
  .diferenciais {
    padding: 25px 15px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .hero-brand img {
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-photo img {
    max-height: 300px;
    margin: 0 auto;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .footer-info {
    text-align: center;
  }

  .mapa-container {
    max-width: 100%;
    height: 180px;
  }
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}
