/* Estilo do Botão */
.btn-leia-mais {
  /* background-color: #2563eb; */
  background-color: #ffffff;
  color: #4a9fd8;
  border: #4a9fd8 1px solid;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: background-color 0.2s;
  margin: auto;
}

.btn-leia-mais:hover {
  color: #2e5c8a;
  border: #2e5c8a 1px solid;
}

.icone {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.icone.girado {
  transform: rotate(180deg);
}

/* Animação do Texto */
.texto-expansivel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.4s ease,
    opacity 0.3s ease;
}

.texto-expansivel > div {
  overflow: hidden;
}

.texto-expansivel.ativo {
  grid-template-rows: 1fr;
  opacity: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
  /* background-color: #f5f5f5; */
  overflow-x: hidden;
}

/* Header */
header {
  /* background: linear-gradient(135deg, #001F3F 0%, #1F2B4A 100%); */
  background-color: #fff;
  color: white;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-header {
  height: 60px;
}

.logo-header img {
  height: 100%;
  width: auto;
}

/* Botão do Menu Hambúrguer (Oculto no Desktop) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #2e5c8a;
  cursor: pointer;
  padding: 5px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #2e5c8a;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  border-bottom: 2px solid transparent;
  padding-bottom: 5px;
  text-transform: uppercase;
}

nav a:hover {
  color: #4a9fd8;
  border-bottom-color: #4a9fd8;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #4a9fd8 0%, #2e5c8a 100%);
  color: white;
  text-align: center;
  width: 100%;
}

.banner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Sections */
section {
  max-width: 1200px;
  margin: 0px auto;
  padding: 0px;
}

h2 {
  font-size: 36px;
  color: #001f3f;
  margin-bottom: 30px;
  padding-bottom: 15px;
  display: inline-block;
}

.biography h2 {
  border-bottom: 4px solid #168a41;
}

.contatos h2 {
  border-bottom: 4px solid #e7d72e;
}

h3 {
  color: #4a9fd8;
  margin-top: 20px;
  margin-bottom: 15px;
}

/* Biography Section */
#biografia,
#contatos,
#mapa {
  max-width: 100%;
  margin: 0px;
  padding: 0;
}

#biografia h2,
#contatos h2 {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
  text-align: left;
  display: block;
  width: 100%;
  margin-top: 50px;
  padding-bottom: 40px;
  text-transform: uppercase;
  color: #2e5c8a;
}

.biography,
.contatos {
  padding: 40px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.biography {
  background-color: #f9f9f9;
}

.contatos {
  background-color: white;
}

.contatos .address-content a {
  text-decoration: none;
  color: #4a9fd8;
}

.contatos .address-content a:hover {
  color: #126094;
}

.contatos .address-content a i {
  font-weight: bold;
}

.biography-content,
.address-content {
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
}

.address-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.address-info {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.8;
  font-size: 18px;
}

.biography-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  text-align: justify;
  color: #555;
  font-size: 18px;
  text-indent: 30px;
}

.mapa {
  border-top: 1px solid #f9f9f9;
  height: 400px;
}

.mapa iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #001f3f 0%, #1f2b4a 100%);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cnpj {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  /* Exibe o botão do menu hambúrguer no mobile */
  .menu-toggle {
    display: block;
  }

  /* Esconde o menu por padrão no mobile */
  header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 20px 0;
  }

  /* Classe para exibir o menu quando aberto pelo JS */
  header nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  nav a {
    display: inline-block;
    padding: 8px 0;
  }

  .biography {
    grid-template-columns: 1fr;
  }

  .address-content {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 28px;
  }
}