@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  --primary: #3e4095;
}


.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.navbar-logo {
  display: flex;
  align-items: center;
}

.navbar-logo img {
  max-height: 50px;
  width: auto;
}

/* MENU */
.navbar-menu {
  display: flex;
  align-items: center;
}

.navbar-menu ul {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* LINKS */
.navbar-menu a {
  color: #3e4095;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  line-height: 1;
}

.navbar-menu a:hover {
  opacity: 0.8;
}


/* =========================
   HERO
========================= */
#hero {
  position: relative;
  margin-top: 8px; /* espaço da navbar */
  padding: 120px 0;
  overflow: hidden;
  color: #ffffff;
}

/* IMAGEM DO HERO (HTML) */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

/* CONTEÚDO */
#hero .container {
  position: relative;
  z-index: 2;
}

/* TEXTO */
#hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
}

#hero h2 {
  font-size: 20px;
  font-weight: 400;
  max-width: 520px;
}

/* =========================
   FORM
========================= */
.hero-form {
  background: #ffffff;
  padding: 40px;
  border-radius: 8px;
  color: #222;
}

/* =========================
   BOTÕES (GERAL + FORM)
========================= */
button,
.btn,
input[type="submit"] {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 600;
}

/* =========================
   DIFERENCIAIS
========================= */
#diferenciais {
  padding: 100px 0; /* separa da hero */
  background: #f6f6f6;
}

#diferenciais h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 64px;
  color: #222;
}

/* CARD */
.diferencial-item {
  background: #ffffff;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  border-radius: 8px;
}

/* TÍTULO */
.diferencial-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

/* TEXTO CURTO ABAIXO DO H3 */
.diferencial-intro {
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

/* IMAGEM */
.diferencial-item img {
  max-width: 100px;
  margin: 0 auto 16px;
}

/* TEXTO FINAL */
.diferencial-item p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

/* =========================
   PRODUTOS
========================= */
#produtos {
  padding: 100px 0;
  background: #ffffff; /* fundo branco */
}

#produtos h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 64px;
  color: #222;
}

/* CARD (agora é só um container invisível) */
.produto-card {
  background: transparent;   /* remove caixa branca */
  padding: 0;
  text-align: center;
}

/* IMAGEM */
.produto-card img {
  width: 100%;
  max-width: 280px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 24px;
  display: block;

  /* remove qualquer “efeito de moldura” */
  border: none;
  box-shadow: none;
  border-radius: 0;
}

/* TÍTULO */
.produto-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0;
}

/* BOTÃO */
#produtos .btn-secondary {
  display: inline-block;
  margin-top: 56px;
  padding: 14px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  background: #3e4095;
  color: #ffffff;
}

/* =========================
   SOBRE
========================= */
#sobre {
  padding: 100px 0;
  background: #f6f6f6;
}

/* TÍTULO */
#sobre h2 {
  text-align: center;
  font-size: 32px;
  color: #222;
  margin-bottom: 64px;
}

/* IMAGEM */
.sobre-imagem img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
}

/* TEXTO */
#sobre p {
  font-size: 16px;
  line-height: 3.0;
  color: #444;
  margin-bottom: 24px;
}

/* =========================
   CTA FINAL
========================= */
#contato {
  position: relative;
  padding: 80px 0; /* ↓ diminui altura */
  overflow: hidden;
  text-align: center; /* centraliza texto */
}

/* IMAGEM DE FUNDO */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTEÚDO */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px; /* ↓ conteúdo mais compacto */
  margin: 0 auto;   /* centraliza horizontalmente */
  color: #ffffff;
}

/* TÍTULO */
#contato h2 {
  font-size: 30px; /* ↓ menor que hero */
  font-weight: 600;
  margin-bottom: 20px;
}

/* TEXTO */
#contato p {
  font-size: 16px; /* ↓ mais enxuto */
  line-height: 1.6;
  margin-bottom: 28px;
}

/* BOTÃO CTA */
.btn-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #3e4095;
  color: #ffffff;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: filter 0.2s ease;
}

.btn-cta:hover {
  filter: brightness(0.9);
}

/* =========================
   FOOTER
========================= */
.footer {
  padding: 30px 10px;
  text-align: center;
  background: #ffffff;
}

/* LOGO */
.footer-logo img {
  max-width: 140px;
  margin-bottom: 16px;
}

/* LINKS */
.footer-text {
  font-size: 13px;
  margin-bottom: 8px;
}

.footer-link {
  color: #3e4095;
  text-decoration: none;
  font-weight: 500;
}

.footer-link i {
  margin-right: 6px;
}

.footer-link:hover {
  opacity: 0.8;
}

/* COPYRIGHT */
.footer-copy {
  font-size: 12px;
  color: #666;
  margin: 0;
}

/* =========================
   MOBILE ONLY
========================= */
@media (max-width: 991px) {

  /* =========================
     NAVBAR
  ========================= */
  .navbar {
    height: 70px;
  }

  /* BOTÃO HAMBURGUER */
  .navbar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .navbar-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
  }

  /* ESCONDE MENU */
  .navbar-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    padding: 24px 0;
  }

  /* MENU ABERTO */
  .navbar-menu.active {
    display: block;
  }

  .navbar-menu ul {
    flex-direction: column;
    gap: 24px;
  }

  .navbar-menu a {
    font-size: 16px;
  }

  /* =========================
     HERO
  ========================= */
  #hero {
    padding: 80px 0;
    text-align: center;
  }

  #hero h1 {
    font-size: 30px;
  }

  #hero h2 {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-form {
    margin-top: 32px;
  }

  /* =========================
     DIFERENCIAIS
  ========================= */
  #diferenciais {
    padding: 80px 0;
  }

  .diferencial-item {
    margin-bottom: 24px;
  }

  /* =========================
     PRODUTOS
  ========================= */
  #produtos {
    padding: 80px 0;
  }

  .produto-card {
    margin-bottom: 40px;
  }

  /* =========================
     SOBRE
  ========================= */
  #sobre {
    padding: 80px 0;
  }

  #sobre p {
    line-height: 1.8;
    text-align: center;
  }

  .sobre-imagem img {
    margin: 0 auto 32px;
  }

  /* =========================
     CTA
  ========================= */
  #contato {
    padding: 64px 0;
  }

  #contato h2 {
    font-size: 24px;
  }

  #contato p {
    font-size: 15px;
  }

}

#header {
  position: relative;
  z-index: 9999;
}

.navbar {
  position: relative;
}

.navbar-toggle {
  position: relative;
  z-index: 10001;
  background: none !important;
  border: none !important;
}

.navbar-menu {
  z-index: 10000;
}
@media (max-width: 991px) {

  .navbar {
    padding: 0 16px; /* respiro lateral geral */
  }

  .navbar-logo img {
    max-height: 44px; /* levemente menor no mobile */
  }

  .navbar-toggle {
    margin-left: 16px; /* afasta do logo */
  }

}

/* =========================
   AJUSTE DESKTOP NAVBAR
========================= */
@media (min-width: 992px) {
  .navbar {
    padding-left: 24px;
    padding-right: 24px;
  }
}
