* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Faz o html e body ocuparem toda a altura da tela */
html,
body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

/* Conteúdo principal que cresce */
main,
.hero,
.slide-container {
  flex: 1 0 auto; /* Permite que o conteúdo cresça e empurre o footer */
}

body {
  background: url(./assets/sl_030220_28570_03.jpg) no-repeat top center/cover;
  font-family: "Inter", Arial, sans-serif;
  color: #eaeaea;
  margin: 0;
  background-color: #f4f4f4;
  background-attachment: fixed;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.5px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 26px;
  margin-bottom: 16px;
}
p,
label {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

header {
  background-color: #000000;

  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
}

.conteudo {
  color: rgb(255, 255, 255);
  font-size: 16px;
}

.logo-area img {
  height: 80px;
  margin-right: 10px;
  border-radius: 50%;
}

header nav a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-weight: bold;
}

header nav a:hover {
  text-decoration: underline;
}

.hero {
  padding: 40px;

  text-align: center;
}

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 12px;
  flex-shrink: 0; /* Não deixa o footer encolher */
}

.hero {
  background-size: cover;
  background-position: center;
  height: 300px;

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px 30px;
  text-align: center;
  border-radius: 5px;
}

#container {
  width: 360px;
  margin: 56px auto 0px;
  padding: 0 24px;
}

ul {
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 16px;

  padding: 24px 0;
}

ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  padding: 16px 24px;

  background-color: rgba(172, 172, 166, 0.959);
  border: 1px solid rgba(0, 0, 0, 0.849);
  border-radius: 8px;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  text-decoration: none;
  font-weight: 500;

  transition: background 0.3s;
}

ul li a:hover {
  background: rgba(158, 168, 98, 0.74);
  border: 1.5px solid black;
}

/* social-links */

#social-links {
  display: flex;
  justify-content: center;

  padding: 24px 0;

  font-size: 24px;
}

#social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: white;

  transition: background 0.2s;
  border-radius: 50px;
}
#social-links a:hover {
  background: rgb(14, 13, 13);
}

/* Botão de menu mobile */
.btn-menu {
  display: none; /* Escondido no desktop */
  background: none;
  border: none;
  cursor: pointer;
}

.btn-menu .linha {
  width: 30px;
  height: 4px;
  background-color: white;
  margin: 6px 0;
  display: block;
  transition: 0.3s;
  position: relative;
}

/* Menu mobile */
.menu-mobile {
  background-color: #000000;
  position: fixed;
  top: 77px;
  left: 0;
  width: 100%;
  height: 0;
  visibility: hidden;
  transition: 0.3s;
  overflow: hidden;
  z-index: 1000;
}

.menu-mobile nav a {
  display: block;
  color: white;
  padding: 15px;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid #fff;
}

.menu-mobile nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.menu-mobile.abrir {
  visibility: visible;
  height: calc(100vh - 77px);
}

/* Responsivo para telas menores */
@media screen and (max-width: 1000px) {
  /* Menu desktop escondido */
  .menu {
    display: none;
  }

  /* Botão de menu aparece no mobile */
  .btn-menu {
    display: block;
  }
}

/* Adicionando animação no botão */
.btn-menu.ativo .linha:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}

.btn-menu.ativo .linha:nth-child(2) {
  opacity: 0;
}

.btn-menu.ativo .linha:nth-child(3) {
  transform: rotate(-45deg);
  top: -10px;
}

#contato {
  padding: 30px;
  color: #f4f4f4;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
}

form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

form label {
  margin: 10px 0 5px;
}

form input,
form textarea {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #000000;
  border-radius: 4px;
  font-size: 16px;
}
form input,
form textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: 0.3s;
}

form button {
  background-color: #003366;
  color: #fff;
  border: none;
  padding: 12px 0;
  font-size: 18px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid black;
}

form button:hover {
  background-color: #001f3d;
}

/*  teste  */

/* Container com efeito vidro (Quem Somos) */
.glass-box {
  max-width: 1000px;
  margin: 40px auto;
  padding: 32px;

  /* Fundo translúcido */
  background: rgba(0, 0, 0, 0.45);

  /* Desfoque */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Borda */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;

  /* Sombra */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.conteudo pre {
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin-top: 20px;
}

.conteudo h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .glass-box {
    padding: 20px;
    margin: 20px 10px;
  }

  .conteudo h2 {
    font-size: 22px;
  }

  .conteudo pre {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  #container {
    width: 100%;
  }
}

/* Seção do slider */
.slider-section {
  margin-top: 40px;
  padding: 0 20px;
}

/* Container do slider */
.slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: clamp(220px, 30vw, 380px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
}

/* Imagens do slide */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* 🔥 ajuste automático */
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  /* Borda */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
}

/* Slide ativo */
.slide.active {
  opacity: 1;
}
