/* ===== RESET E FONTES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* ===== BODY ===== */
body {
  background-color: #000;
  color: #fff;
  min-height: 100vh;
}

/* ===== CONTAINER ===== */
.interface {
  max-width: 1280px;
  margin: 0 auto;
}

/* ===== FLEX ===== */
.flex {
  display: flex;
  gap: 20px;
}

/* ===== HEADER ===== */
header {
  padding: 20px 4%;
}

header > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header a {
  color: #7d7d7d;
  text-decoration: none;
  display: inline-block;
  transition: .2s;
}

header a:hover {
  color: #fff;
  transform: scale(1.05);
}

header nav ul {
  list-style-type: none;
}

header nav li {
  display: inline-block;
  padding: 0 40px;
}

header .btn-contato button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: #FFF700;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  transition: .2s;
}

/* ===== TÍTULO DA SEÇÃO ===== */
h2.titulo {
  color: #fff;
  font-size: 38px;
  text-align: center;
  margin-bottom: 40px;
}

h2.titulo span {
  color: #FFF700;
}

button:hover,
form .btn-enviar input:hover {
  box-shadow: 0px 0px 8px #f6ff00ea;
  transform: scale(1.05);
}

/* ===== SEÇÃO TOPO DO SITE ===== */
section.topo-do-site {
  padding: 20px 4% 0 4%;
}

.topo-do-site .flex {
  align-items: center;
  justify-content: center;
  gap: 90px;
}

.txt-topo-site {
  flex: 1;
  color: #fff;
}

.txt-topo-site h1 {
  font-size: 42px;
  line-height: 50px;
  margin-bottom: 20px;
}

.txt-topo-site h1 span {
  color: #FFF700;
}

.txt-topo-site p {
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.txt-topo-site .btn-contato button {
  padding: 10px 40px;
  font-size: 18px;
  font-weight: 600;
  background-color: #FFF700;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
  transition: .2s;
}

.img-top-site img {
  width: 300px;
  height: auto;
  position: relative;
  border-radius: 20px;
  animation: flutuar 2s ease-in-out infinite alternate;
  box-shadow: 0 0 40px 10px #424243;
}

@keyframes flutuar {
  0% { top: 0; }
  100% { top: 30px; }
}

/* ===== SEÇÃO ESPECIALIDADES ===== */
section.especialidades {
  padding: 40px 4%;
}

.especialidades .flex {
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.especialidades-box {
  flex: 1;
  background-color: #111;
  text-align: center;
  padding: 30px 20px;
  border-radius: 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.especialidades-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255,255,0,0.3);
}

.especialidades-box i {
  font-size: 50px;
  color: #FFF700;
  margin-bottom: 15px;
}

.especialidades-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.especialidades-box p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.4;
}

/* ===== GARANTIR FONT AWESOME ===== */
i {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

/* ===== SEÇÃO SOBRE ===== */
section.sobre {
  padding: 80px 4%;
}

section.sobre .flex {
  align-items: center;
  gap: 60px;
}

.img-sobre img {
  width: 300px;
  height: auto;
  border-radius: 20px;
  transition: 5s;
}

.sobre .txt-sobre {
  color: #fff;
}

.sobre .txt-sobre h2 {
  font-size: 40px;
  line-height: 40px;
  margin-bottom: 30px;
}

.sobre .txt-sobre h2 span {
  color: #FFF700;
  display: block;
}

.sobre .txt-sobre p {
  margin: 20px 0;
  text-align: justify;
}

.sobre .txt-sobre .btn-social button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background-color: #FFF700;
  font-size: 22px;
  cursor: pointer;
  margin: 0 5px;
}

/* ===== SEÇÃO PORTFÓLIO ===== */
section.portifolio {
  padding: 80px 4%;
  box-shadow: 0 0 40px 10px #424243;
}

.portifolio .titulo {
  color: #fff;
  text-align: center;
  font-size: 36px;
  margin-bottom: 40px;
}

.portifolio .titulo span {
  color: #f9ff00;
}

.portifolio .flex {
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.img-ferro {
  position: relative;
  width: 350px;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
  overflow: hidden;
}

.img-ferro:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 30px rgba(255, 255, 0, 0.3);
  filter: brightness(1.2);
}

.img-ferro .texto {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px 0;
  background: rgba(0, 0, 0, 0.6);
  color: #ff0;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.img-ferro:hover .texto {
  opacity: 1;
  bottom: 0;
}

/* ===== FORMULÁRIO ===== */
section.formulario {
  padding: 80px 4%;
}

section.interface h2 {
  margin-top: 40px;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
}

form input,
form textarea {
  width: 100%;
  background-color: #242424;
  border: 0;
  outline: 0;
  padding: 20px 15px;
  border-radius: 15px;
  color: #fff;
  font-size: 18px;
}

form textarea {
  resize: none;
  max-height: 200px;
}

form .btn-enviar {
  margin-top: 20px;
  text-align: center;
}

form .btn-enviar input {
  width: 120px;
  background-color: #f9ff00;
  color: black;
  font-weight: 700;
  cursor: pointer;
}

/* ===== FOOTER ===== */
footer {
  background-color: #000;
  padding: 40px 4%;
  text-align: center;
}

.logo-footer img {
  width: 180px;
  max-width: 100%;
  height: auto;
  opacity: 0.9;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-footer img:hover {
  transform: scale(1.05);
  opacity: 1;
}

.rodape {
  background-color: #111;
  padding: 15px 0;
  text-align: center;
  color: #aaa;
  font-size: 14px;
  border-top: 1px solid #333;
}

.rodape p {
  margin: 0;
}

/* ===== LINHA ABAIXO DO LOGO ===== */
.logo-header {
  display: inline-block;
  width: 115%;
  border-bottom: 1px solid #FFF700;
  padding-bottom: 5px;
}

/* ===== RESPONSIVIDADE GERAL ===== */
@media (max-width: 1024px) {
  header nav li {
    padding: 0 20px;
  }

  .topo-do-site .flex {
    flex-direction: column;
    gap: 40px;
  }

  .img-top-site img {
    width: 250px;
  }

  .especialidades .flex {
    flex-direction: column;
    align-items: center;
  }

  .img-ferro {
    width: 300px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  header .interface {
    flex-direction: column;
    gap: 15px;
  }

  header nav ul {
    text-align: center;
  }

  header nav li {
    display: block;
    padding: 10px 0;
  }

  .txt-topo-site h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .txt-topo-site p {
    font-size: 14px;
  }

  .img-top-site img {
    width: 200px;
  }

  .portifolio .flex {
    flex-direction: column;
    align-items: center;
  }

  .img-ferro {
    width: 90%;
    height: 200px;
  }

  form {
    width: 90%;
  }
}

/* ===== RESPONSIVIDADE DA SEÇÃO SOBRE/FUNDADOR ===== */
@media (max-width: 1024px) {
  /* Ajustes para tablets */
  .sobre .flex {
    flex-direction: column; /* coloca imagem em cima e texto embaixo */
    text-align: center;
    gap: 30px;
  }

  .img-sobre img {
    width: 250px; /* diminui o tamanho da imagem */
  }

  .sobre .txt-sobre h2 {
    font-size: 32px;
    line-height: 38px;
  }

  .sobre .txt-sobre p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  /* Ajustes para celulares */
  .sobre .flex {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .img-sobre img {
    width: 200px; /* deixa menor para caber na tela */
  }

  .sobre .txt-sobre h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .sobre .txt-sobre p {
    font-size: 14px;
  }
}
