/* ================= GERAL ================= */
body {
  margin: 0;
  font-family: 'Mulish', sans-serif;
  line-height: 1.6;
  color: #272f5a; /* Azul escuro para textos */
}

/* ================= CABEÇALHO ================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(90deg, #9ec4e8, #0a5394);
  color: white;
}

header .logo img {
  height: 75px;
}

header ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

header a {
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.4rem;
  transition: color 0.3s;
}

header a:hover {
  color: #f49937; /* destaque laranja */
}

/* Botão hambúrguer (aparece apenas em mobile) */
.menu-toggle {
  display: none; /* padrão escondido */
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  color: white;
}

/* ================= HERO ================= */
.hero {
  background: linear-gradient(90deg, #9ec4e8, #0a5394);
  color: white;
  text-align: left;
  padding: 120px 60px;
  position: relative;
  z-index: 2;
  font-family: 'Mulish', sans-serif;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  max-width: 900px;
}

.hero p {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 30px;
  max-width: 650px;
}

.hero .cta {
  display: inline-block;
  padding: 14px 28px;
  background: #f49937;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}
.hero .cta:hover { background: #0a5394; }

.hero > * { position: relative; z-index: 1; }

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -180px;
  width: 900px;
  height: 900px;
  background: url("pattern azul.png") no-repeat left bottom / contain;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* ================= SEÇÃO SOBRE ================= */
section {
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  color: #0a5394;
  margin-bottom: 20px;
}

#sobre {
  text-align: center;
  padding: 60px 20px;
}

#sobre p {
  font-size: 1.8rem;
  line-height: 1.6;
  max-width: 1500px;
  margin: 20px auto 40px auto;
  font-family: 'Mulish', sans-serif;
  color: #272f5a;
  text-align: center;
}

#sobre h3 {
  margin-top: 40px;
  color: #0a5394;
  font-size: 3rem;
  font-family: 'Mulish', sans-serif;
}

/* ================= EQUIPE ================= */
.team {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #272f5a;
  transition: transform 0.3s;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-member span {
  margin-top: 10px;
  font-weight: 600;
  font-family: 'Mulish', sans-serif;
}

.team-member:hover img {
  transform: scale(1.2);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

/* Botão abaixo da equipe */
.team-button {
  margin-top: 40px;
  text-align: center;
}

.btn-team {
  display: inline-block;
  padding: 14px 28px;
  background: #0a5394;      /* azul principal da Nexo */
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.btn-team:hover {
  background: #f49937;       /* laranja de destaque */
  transform: translateY(-3px);
}

/* ================= CARDS DE PRODUTOS ================= */
.cards {
  display: grid;
  grid-template-columns: repeat(2, auto); /* 2 colunas do tamanho do conteúdo */
  gap: 20px;                              /* espaço entre colunas e linhas */
  justify-content: center;                 /* centraliza as colunas na tela */
  margin: 20px auto;                       /* centraliza o grid */
}

.card {
  background: white;
  border: 1px solid #dadada;
  border-radius: 10px;
  width: 100%;       /* ocupa toda a célula do grid */
  max-width: 400px;
  height: 200px;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* logo no topo, texto logo abaixo */
  padding: 20px;
  text-decoration: none;       /* permite que o <a> seja clicável sem sublinhado */
  color: #272f5a;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.product-logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  margin-top: auto;  /* mantém proporção do logo no topo */
  transition: transform 0.3s;
}

.card:hover .product-logo {
  transform: scale(1.2);
}

.card p {
  font-size: 1rem;
  color: #272f5a;
  margin: auto 0 0 0;  /* centraliza verticalmente no espaço restante */
  text-align: center;
}

#produtos h3 {
  font-size: 3rem;       /* aumenta o tamanho da fonte */
  color: #0a5394;        /* mantém a cor azul principal */
  margin-top: 5px;
  margin-bottom: 40px;   /* afasta do topo dos cards */
  font-weight: 700;      /* deixa em negrito */
  font-family: 'Mulish', sans-serif;
  text-align: center;    /* garante que fique centralizado */
}




/* ================= RODAPÉ ================= */
footer {
  background: #272f5a;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
}

.nexovent-logo {
  max-width: 280px;
  width: 80%;
  height: auto;
  margin-bottom: 20px;
}


/* seta animada */
.arrow-down {
  position: absolute;
  bottom: 20px;   /* agora cola no fundo da hero */
  left: 50%;
  width: 24px;
  height: 24px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: translateX(-50%) rotate(-45deg);
  animation: bounce 1.5s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) rotate(-45deg) translateY(0);
  }
  40% {
    transform: translateX(-50%) rotate(-45deg) translateY(8px);
  }
  60% {
    transform: translateX(-50%) rotate(-45deg) translateY(4px);
  }
}

/* agrupa logo + card, agora com logo à direita */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center; /* centraliza o conjunto */
  gap: 120px; /* espaço entre logo e card */
  flex-direction: row; /* logo à direita, card à esquerda */
}

/* logo ajustado */
.nexovent-logo {
  max-width: 360px;
  transform: translateX(0); /* remove o deslocamento anterior */
  filter: drop-shadow(4px 4px 10px rgba(0,0,0,0.2));
}

/* card transparente e elegante */
.hero-card-produtos {
  background: rgba(10, 83, 148, 0.4); /* azul principal com transparência */
  backdrop-filter: blur(12px); /* efeito blur de fundo */
  border-radius: 15px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.3); /* sombra elegante */
  max-width: 400px;
  padding: 50px 25px 25px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: right;
  font-style: italic;
  color: white;
  border: 1px solid rgba(255,255,255,0.2); /* contorno leve para definição */
  background-image: linear-gradient(135deg, rgba(10,83,148,0.5), rgba(10,83,148,0.8)); /* gradiente leve */
}

/* hover do card */
.hero-card-produtos:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.5);
}
/* ================= NEXOVENT ================= */
/* Hero NexoVent com imagem de fundo */
.hero-nexovent {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("ventilador.jpeg") no-repeat center center/cover;
  color: white;
  overflow: hidden;
}

/* overlay azul */
.hero-nexovent .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 83, 148, 0.65); /* azul com transparência */
  backdrop-filter: blur(4px); /* deixa mais moderno */
  z-index: 1;
}

/* conteúdo da hero */
.hero-nexovent .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 0 40px;
}

/* logo */
.hero-nexovent .nexovent-logo {
  max-width: 300px;
  filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.5));
}

/* card transparente com blur */
.hero-nexovent .hero-card-produtos {
  background: rgba(10, 83, 148, 0.35);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 25px;
  max-width: 420px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-style: italic;
}






/* ================= RESPONSIVIDADE ================= */

/* Tablets grandes / Notebooks pequenos */
@media (max-width: 1200px) {
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.1rem; }
  .team-member img { width: 180px; height: 180px; }
}

/* Tablets */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    gap: 15px;
  }

  header ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .hero {
    padding: 80px 30px;
    text-align: center;
  }

  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; margin: 0 auto 20px auto; }
  .hero .cta { padding: 12px 24px; }

  .team { gap: 15px; }
  .team-member img { width: 150px; height: 150px; }
  #sobre p { font-size: 1.2rem; padding: 0 10px; }
}

/* Celulares */
@media (max-width: 480px) {
  header .logo img { height: 55px; }

  header ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .hero {
    padding: 60px 20px;
  }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 0.95rem; }
  .hero .cta { font-size: 0.9rem; padding: 10px 20px; }

  .team-member img { width: 120px; height: 120px; }
  #sobre h3 { font-size: 2rem; }
  #sobre p { font-size: 1rem; }

  .card {
    width: 90%;
    margin: auto;
  }
}

.parcerias-section {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.parcerias-section h3 {
  font-size: 2rem;
  color: #0a5394;
  margin: 40px 0 20px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  margin-bottom: 40px;
}

.logos-grid img {
  max-width: 150px;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.logos-grid img:hover {
  filter: grayscale(0%);
}

.logo-maior {
  max-width: 300px !important;
  height: auto;
}

.logo-menor {
  max-width: 100px !important; /* diminui só este */
}



