@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&family=Poppins:wght@400;500;700&display=swap');

:root {
  --primaria: #1a1a1a;
  --secundaria: #ff0055;
  --fundo: #00BCD4;
  --fundo-branco: #F5FCFD;
  --texto: #ffffff;
  --footer: #263238;
  --cinza: #808080;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--fundo);
  color: var(--texto);
}

/* ===== HEADER ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background-color: var(--fundo-branco);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .logo {
  width: 120px;
}

header nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

header nav ul li a {
  text-decoration: none;
  color: var(--primaria);
  font-weight: 500;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: var(--secundaria);
}

/* ===== HOME ===== */
.home {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5% 10%;
  background: var(--fundo);
  min-height: 90vh;
}

.home_textos h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--fundo-branco);
  font-weight: 450;
}

.home_textos p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--fundo-branco);
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--secundaria);
  color: var(--texto);
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
  color: var(--texto);
  transform: scale(1.1);
}

.home_imagem img {
  width: 280px;
  max-width: 100%;
}

/* ===== SEÇÕES GERAIS ===== */
.sobre, .servicos, .contato, .clientes, .cases {
  padding: 5% 10%;
  text-align: center;
  background-color: var(--fundo-branco);
}

.sobre h2, .servicos h2, .contato h2, .clientes h2, .cases h2 {
  font-size: 2.2rem;
  color: var(--primaria);
  padding: 1rem 0 3rem 0;
}

.sobre p, .contato p, .clientes p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--primaria);
}

/* ===== SERVIÇOS ===== */
.servico-linha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.card-servico img {
  width: 320px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.descricao-servico {
  max-width: 500px;
  text-align: left;
}

.descricao-servico h1 {
  color: var(--footer);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.descricao-servico p {
  color: var(--cinza);
  font-size: 1rem;
  line-height: 1.6;
}

/* ===== CLIENTES ===== */
.logos_clientes {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.cliente {
  width: 200px;
  height: 140px;
  padding: 12px;
  background-color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.cliente img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: none;
  transition: transform 0.25s ease;
  border-radius: 0;
}

.cliente:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.cliente:hover img {
  transform: scale(1.03);
}

/* ===== CASES ===== */
.cases {
  text-align: center;
}

.case-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-top: 3rem;
  flex-wrap: wrap;
}

.case-item.stock {
  flex-wrap: nowrap !important;
  padding-top: 6rem;
}

.case-item.stock .case-imagem img {
  width: 90% !important;
  min-width: 300px;
}

.case-item.stock .case-texto {
  max-width: 50%;
}

.case-imagem img {
  width: 50%;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.case-texto {
  max-width: 500px;
}

.case-texto h3 {
  font-size: 1.8rem;
  color: var(--footer);
  margin-bottom: 1rem;
}

.case-texto p {
  color: var(--cinza);
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: left;
}

.btn-case {
  text-decoration: none;
  background-color: var(--secundaria);
  padding: 0.7rem 1.8rem;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-case:hover {
  transform: scale(1.05);
  background-color: #e0004c;
}

/* ===== FOOTER ===== */
footer {
  background-color: var(--footer);
  padding: 3rem;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.menu_lateral_esquerda {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.nome {
  color: var(--fundo);
  padding-bottom: 2rem;
}

.localizacao p {
  font-size: 15px;
  color: var(--texto);
}

.direitos {
  color: var(--cinza);
  font-size: 12px;
}

.menu_lateral_direito {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.menu_icones {
  display: flex;
  flex-direction: row;
  color: var(--cinza);
  gap: 1rem;
  align-items: center;
}

.icones img {
  width: 18%;
  padding-left: 0.7rem;
}

.menu_contato {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  color: var(--cinza);
}

.contatos, .contatos_descricao {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contatos a {
  font-size: 15px;
  text-decoration: underline;
  font-weight: 650;
  color: var(--texto);
}

/* ===== ANIMAÇÕES ===== */
.animar, .animar-esquerda, .animar-direita {
  opacity: 0;
  transition: all 0.8s ease-out;
}

.animar {
  transform: translateY(60px);
}

.animar-esquerda {
  transform: translateX(-60px);
}

.animar-direita {
  transform: translateX(60px);
}

.mostrar {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 900px) {
  .header {
    display: flex;
    flex-direction: column;
  }

  .header_menu ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .home {
    flex-direction: column;
    min-height: 80vh;    
  }

  .home_textos {
    align-items: center;
    text-align: center;
  }

  .home_textos h1 {
    font-size: 2rem;
    text-align: center;
  }

  .home_imagem img {
    width: 220px;
  }

  .descricao-servico {
    text-align: center;
  }

  .case-item,
  .case-item.stock {
    flex-direction: column;
    text-align: center;
    flex-wrap: wrap !important;
  }

  .case-item.stock .case-texto {
    max-width: 100%;
  }

  .case-texto {
    text-align: center;
    max-width: 100%;
  }

  .case-texto p {
    text-align: center;
  }

  .case-imagem img {
    width: 100% !important;
  }

  footer {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    text-align: center;
  }

  /* === FORÇA A ORDEM CORRETA NOS SERVIÇOS (mobile) === */
  .servico-linha {
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
  }

  .servico-linha .descricao-servico {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .servico-linha .descricao-servico h1 {
    order: 1;
    width: 100%;
  }

  .servico-linha .descricao-servico p {
    order: 2;
    width: 100%;
  }

  .servico-linha .card-servico {
    order: 3;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .servico-linha .card-servico img {
    max-width: 360px;
    width: 100%;
    height: auto;
  }

  /* === FOOTER MOBILE AJUSTADO === */
  .menu_contato {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    width: 100%;
    color: var(--texto);
    text-align: center;
  }

  .contatos_descricao,
  .contatos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  contatos_descricao p {
  display: none;
  }

  .contatos a {
    font-size: 15px;
    color: var(--texto);
    margin: 0;
    padding: 0;
    text-decoration: none;
    white-space: nowrap;
    text-align: center;
    font-weight: 500;
  }

  .contatos_descricao p {
    display: none;
  }

  .icones img {
    width: 40px;
  }
}

/* ===== TELAS GRANDES ===== */
@media (min-width: 1600px) {
  .home_textos h1 {
    font-size: 4rem;
  }

  .home_textos p {
    font-size: 1.5rem;
  }

  .descricao-servico h1 {
    font-size: 2rem;
  }

  .case-texto h3 {
    font-size: 2rem;
  }
}
