/* =================================================
RESET / BASE
================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}

/* =================================================
LAYOUT GLOBAL
================================================= */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

section {
  padding: 80px 0;
}

h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

h2 {
  font-size: 32px;
  margin-bottom: 30px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

/* =================================================
HEADER MODERNO COMPACTO AO ROLAR
================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

body {
  padding-top: 90px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 0;
  transition: 0.3s;
}

.site-header.scrolled .header-container {
  padding: 2px 0;
}

/* LOGO */

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 75px;
  transition: 0.3s;
}

/* LOGO REDUZIR AO ROLAR */
.site-header.scrolled .logo-img {
  height: 45px;
}

/* MENU */

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: 0.2s;
}

.menu a:hover {
  color: #0b4b78;
}

/* DROPDOWN */
/* DROPDOWN CORRETO */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;

  background: #fff;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);

  display: flex;
  flex-direction: column;

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;

  min-width: 180px;
  z-index: 999;
}

.dropdown-menu a {
  padding: 10px 15px;
  white-space: nowrap;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* MENU ATIVO */

.menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.menu a.active {
  color: #333;
  font-weight: 600;
  position: relative;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #0b4b78;
}

/* BOTÃO HEADER */
/* ITEM CONTATO DO MENU */

.btn-header {
  color: #333;
  font-weight: 500;
  background: none;
  padding: 0;
  border-radius: 0;
}

.btn-header:hover {
  color: #0b4b78;
  background: none;
}

/* MENU MOBILE */

.menu-mobile-btn {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  border-top: 1px solid #eee;
}

.mobile-menu a {
  padding: 15px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #333;
}

.mobile-menu.active {
  display: flex;
}

/* =================================================
BOTÕES
================================================= */

.btn {
  display: inline-block;
  background: #0b4b78;
  color: white;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #08395c;
}

/* =================================================
HERO (PÁGINA INICIAL)
================================================= */

.hero {
  background: white;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

/* =================================================
CARDS
================================================= */
.card {
  background: white;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  border-top: 4px solid transparent;

  /* melhoria aqui */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-top 0.25s ease;
}

.card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
  border-top: 4px solid #0b4b78;
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

/* =================================================
APLICAÇÕES
================================================= */

.aplicacoes {
  background: #eef2f7;
}

/* =================================================
FORMULÁRIO
================================================= */

form {
  max-width: 500px;
  display: grid;
  gap: 15px;
  margin: auto;
}

input,
textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}

button {
  background: #0b4b78;
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

/* =================================================
WHATSAPP FIXO
================================================= */

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: white;
  padding: 14px 20px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.05);
}

/* =================================================
PRODUTO HERO
================================================= */

.produto-hero {
  padding-top: 30px;
  padding-bottom: 80px;
  background: #f8fafc;
}

.produto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.produto-texto {
  max-width: 520px;
}

.frase-efeito {
  font-size: 18px;
  color: #0b4b78;
  font-weight: 600;
  margin-bottom: 10px;
}

.descricao {
  margin-bottom: 25px;
  color: #555;
  line-height: 1.7;
}

.produto-imagem img {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* =================================================
RECURSOS E5000
================================================= */

.recursos-e5000 {
  padding: 90px 0;
  background: #ffffff;
}

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.recurso-card {
  background: #f8fafc;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #e6edf3;
  transition: 0.3s;
}

.recurso-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* =================================================
APLICAÇÕES E5000
================================================= */

.aplicacoes-e5000 {
  padding: 90px 0;
  background: #f8fafc;
}

.aplicacoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.aplicacao-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #e6edf3;
  transition: 0.3s;
}

.aplicacao-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* =================================================
SOBRE
================================================= */

.empresa-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.empresa-imagem img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.empresa-texto p {
  margin-bottom: 18px;
  line-height: 1.6;
}

/* =================================================
TABELA TÉCNICA
================================================= */

.tabela-tecnica {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  font-size: 16px;
  background: white;
}

.tabela-tecnica thead {
  background: #0b4b78;
  color: white;
}

.tabela-tecnica th {
  padding: 14px;
}

.tabela-tecnica td {
  padding: 12px;
  border-bottom: 1px solid #e5e5e5;
}

.tabela-tecnica tbody tr:nth-child(even) {
  background: #fafafa;
}

/* =================================================
GALERIA
================================================= */

.galeria img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
}

.galeria img:hover {
  transform: scale(1.03);
}

/* =================================================
FOOTER NOVO
================================================= */

.site-footer {
  background: #0b4b78;
  color: white;
  padding: 70px 0 20px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-col h3 {
  margin-bottom: 15px;
}

.footer-col p {
  color: #d6e3ef;
}

.footer-col a {
  display: block;
  color: #d6e3ef;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
}

.produtos-inline a {
  display: inline;
}

/* =================================================
RESPONSIVO
================================================= */

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .menu-mobile-btn {
    display: block;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .produto-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .recursos-grid {
    grid-template-columns: 1fr 1fr;
  }

  .aplicacoes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .recursos-grid {
    grid-template-columns: 1fr;
  }

  .aplicacoes-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
ANIMAÇÕES DE SCROLL
========================================= */

/* estado inicial (invisível) */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

/* quando aparece */
.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* variações */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/*Evita engasgos em alguns navegadores*/

.reveal,
.reveal-left,
.reveal-right {
  will-change: transform, opacity;
}
