/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Poppins", sans-serif;
  color: #000;
  background: #fff;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

/* HEADER FIXO */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  z-index: 999;
}

.logo img {
  max-height: 40px;
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
}
.nav a:hover {
  color: #1e6cff;
}

.social a img {
  height: 20px;
  margin-left: 10px;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}
.hamburger span {
  display: block;
  height: 3px;
  background: #000;
  border-radius: 2px;
}

/* mobile menu escondido por padrão */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: right 0.3s ease;
  }

  .nav ul {
    flex-direction: column;
    gap: 30px;
  }

  .hamburger {
    display: flex;
  }

  .social {
    display: none; /* opcional esconder ícones sociais no mobile */
  }

  .nav.active {
    right: 0;
  }
}

/* HERO */
.hero {
  position: relative;
  margin-top: 80px;
  padding: 80px 5%;
  color: #fff;
  display: grid;
  grid-template-columns: 2fr 3fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-text,
.cards {
  position: relative;
  z-index: 2;
}

.hero-text {
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-text h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-text p {
  margin-bottom: 20px;
  padding-left: 15px;
  border-left: 4px solid #1e6cff;
}
.cards {
  position: relative;
  z-index: 2;
}

.btn {
  background: #1e6cff;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 20px;
}

.card {
  position: relative;
  background: #fff;
  color: #000;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  transition: 0.3s;
  max-width: 300px;
  overflow: hidden;
}

.card-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit;
  text-decoration: none;
  height: 100%;
  width: 100%;
}

.card-link img {
  height: 80px;
  width: auto; /* não estica horizontal */
  max-width: 100%;
  object-fit: contain; /* não distorce */
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.card-link h3 {
  font-size: 0.9rem;
  color: #555;
  margin-top: 10px;
  transition: color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.card:hover img {
  transform: scale(1.05);
}

.card:hover h3 {
  color: #1e6cff;
}

.card a {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #555;
  text-decoration: none;
}

.card.destaque {
  background: #1e6cff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card.destaque a {
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
}
@media (min-width: 2100px) {
  .hero-text {
    justify-self: end;
  }
  .cards {
    justify-self: start;
  }
}
/* Tablets (até 1024px) */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr; /* stack hero-text acima dos cards */
    text-align: center;
  }
  .hero-text {
    margin: 0 auto 30px;
  }
  .hero-text p {
    border-left: none;
    border-top: 4px solid #1e6cff;
    padding-left: 0;
    padding-top: 10px;
  }
  .cards {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
    grid-template-rows: auto;
  }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
  .hero {
    padding: 30px 20px;
    gap: 20px;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .cards {
    grid-template-columns: 1fr; /* 1 coluna */
    gap: 15px;
  }
  .card {
    padding: 15px;
    justify-self: center;
    width: 100%;
  }
  .card.destaque {
    min-height: 167px;
  }
  .btn {
    width: 100%;
    text-align: center;
  }
}

/* STATS */
.stats {
  max-width: 900px;
  margin: -24px auto 40px;
  position: relative;
  z-index: 2;
  padding: 20px 40px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.stats div {
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.stats div:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: #000;
}

.stats span {
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #1e6cff;
}

.about {
  padding: clamp(2rem, 5vw, 4rem) 6rem;
  background: #fff;
}

.about-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-image {
  flex: 1 1 45%;
  min-width: 280px;
}

.about-image img {
  width: 100%;
  height: 100%;
  max-height: 364px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.about-content {
  flex: 1 1 45%;
  min-width: 280px;
}

.about-content h2 {
  font-size: clamp(2.8rem, 2.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-content p {
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #222;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  background-color: #355aff;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
  .stats {
    flex-wrap: wrap;
    padding: 20px;
    gap: 20px;
  }

  .stats div {
    flex: 1 1 45%;
    padding: 10px;
  }

  .stats div:not(:last-child)::after {
    display: none; /* remove linhas verticais */
  }

  .about {
    padding: 2rem;
  }

  .about-container {
    gap: 1.5rem;
  }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .stats div {
    flex: 1 1 100%;
    padding: 10px 0;
  }

  .stats div:not(:last-child)::after {
    display: none;
  }

  .stats span {
    font-size: 1.25rem;
  }

  .about {
    padding: 1.5rem;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content h2 {
    font-size: 2rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}

.depo {
  padding: 0 6rem;
}
.depo h2 {
  font-size: 40px;
  text-align: center;
}
@media (max-width: 768px) {
  .depo {
    padding: 0;
  }
  .depo h2 {
    font-size: 2rem;
    margin: 2rem 0 0;
  }
}
.produtos-destaque {
  padding: clamp(2rem, 5vw, 4rem) 6rem;
  text-align: center;
}

.produtos-destaque h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.produtos-destaque h2 span {
  color: #2a5bff;
}

.produtos-destaque p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 30px;
  text-align: left;
}
.slider-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible !important;
}
.slider {
  display: flex;
  overflow-x: auto; /* rolagem horizontal */
  overflow-y: visible; /* deixa a sombra aparecer */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.produto-card {
  flex: 0 0 80%;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-right: 1rem;
  padding: 1rem;
  text-align: center;
}
@media (min-width: 768px) {
  .produto-card {
    flex: 0 0 30%;
  }
}
.produto-card img {
  max-width: 100%;
  object-fit: contain;
  height: auto;
  border-radius: 0.5rem;
}
.produto-card h3 {
  font-size: 1rem;
  margin: 0.75rem 0;
  text-align: left;
}
.produto-card svg {
  transform: rotate(-45deg);
  width: 40%;
}
.btn-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #1e6cff;
  color: #fff;
  transition: background 0.3s;
}
.btn-link:hover {
  background: #0044cc;
}
.link-produtos {
  text-decoration: none;
  color: #111;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.card-footer h3 {
  margin: 0;
  font-size: 1rem;
  flex: 1;
}

.card-footer .btn-link {
  flex-shrink: 0;
}
/* mantém o código original acima */

/* Monitores grandes (24"+, até 1440px de largura útil) */
@media (min-width: 1440px) {
  .produto-card {
    flex: 0 0 22%; /* mostra mais cards no carrossel */
    margin-right: 1.25rem;
  }
}

/* Tablets (até 1024px) */
@media (max-width: 1024px) {
  .produtos-relacionados {
    padding: 1.5rem;
  }

  .produtos-relacionados h2 {
    font-size: 1.75rem;
  }

  .produtos-relacionados .intro {
    font-size: 0.95rem;
  }

  .produto-card {
    flex: 0 0 45%; /* 2 cards lado a lado no slider */
    margin-right: 1rem;
  }

  .produto-card h3 {
    font-size: 0.95rem;
  }

  .btn-link {
    width: 50px;
    height: 50px;
  }
}

/* Celulares médios (até 768px) */
@media (max-width: 768px) {
  .produtos-relacionados {
    padding: 1.25rem;
  }

  .produtos-relacionados h2 {
    font-size: 1.5rem;
  }

  .produtos-relacionados .intro {
    font-size: 0.9rem;
  }
  .produtos-relacionados .slider-wrapper .slider {
    max-width: 100%;
  }
  .produto-card {
    flex: 0 0 80%; /* volta para 1 card em destaque */
  }

  .produto-card h3 {
    font-size: 0.9rem;
  }

  .btn-link {
    width: 45px;
    height: 45px;
  }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
  .produtos-relacionados {
    padding: 1rem 0.75rem;
  }

  .produtos-relacionados h2 {
    font-size: 1.25rem;
  }

  .produtos-relacionados .intro {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .produto-card {
    flex: 0 0 100%; /* ocupa quase toda a largura */
    max-width: 100% !important;
    padding: 0.75rem;
  }

  .produto-card h3 {
    font-size: 0.85rem;
  }

  .btn-link {
    width: 40px;
    height: 40px;
  }
}

.lista-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  justify-items: center;
}

.box-produto {
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.box-img {
  background: #e0e0e0;
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 15px;
}

.box-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.box-produto h3 {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #000;
  text-align: left;
}

.box-produto .btn {
  align-self: flex-start;
  background: #2a5bff;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 20px;
  transition: background 0.3s ease;
}

.box-produto .btn:hover {
  background: #1740c8;
}

@media (min-width: 1400px) {
  .produtos-destaque h2 {
    font-size: 2.4rem;
  }

  .lista-produtos {
    gap: 30px;
  }

  .box-produto h3 {
    font-size: 1.2rem;
  }
}

/* Tablets (até 1024px) */
@media (max-width: 1024px) {
  .produtos-destaque {
    padding: 2rem 3rem;
    text-align: center;
  }

  .produtos-destaque h2,
  .produtos-destaque p {
    text-align: center;
  }

  .lista-produtos {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }

  .box-produto h3 {
    font-size: 1rem;
  }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
  .produtos-destaque {
    padding: 1.5rem;
  }

  .produtos-destaque h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .produtos-destaque p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .lista-produtos {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .box-produto {
    padding: 12px;
  }

  .box-produto h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    text-align: center;
  }

  .box-produto .btn {
    align-self: center;
    font-size: 0.85rem;
    padding: 7px 12px;
  }
}

.blog-destaque {
  padding: clamp(2rem, 5vw, 4rem) 6rem;
  font-family: "Poppins", sans-serif;
}
.blog-destaque .container h2.titulo {
  font-size: 44px;
  margin: 2rem 0;
}

.header-blog {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.header-blog h2 {
  font-size: 2rem;
  font-weight: bold;
}

.header-blog .btn {
  background: #2a5bff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.header-blog .btn:hover {
  background: #1740c8;
}

.conteudo-blog {
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 30px;
}

.post-principal {
  background: #fff;
}

.post-principal img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
  display: block;
}

.post-principal h3 {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.post-principal p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.post-principal .tags {
  margin-bottom: 10px;
}

.tags span {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.8rem;
  margin: 3px 5px 3px 0;
}

.leia {
  display: inline-block;
  font-weight: 600;
  color: #2a5bff;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid #2a5bff;
  border-radius: 20px;
  padding: 0.2rem 1rem;
}

.leia:hover {
  text-decoration: none;
}

.lista-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.post-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.post-item img {
  width: 180px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.post-item h3 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 2px;
}

.post-item p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 2px;
}

.post-item .tags {
  margin-bottom: 2px;
}

@media (max-width: 1024px) {
  .conteudo-blog {
    grid-template-columns: 1fr; /* empilha o conteúdo */
  }

  .header-blog {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .post-item img {
    width: 40%;
    height: auto;
  }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
  .blog-destaque {
    padding: clamp(1.5rem, 4vw, 2rem);
  }

  .header-blog h2 {
    font-size: 1.6rem;
  }

  .conteudo-blog {
    gap: 20px;
  }

  .post-principal h3 {
    font-size: 1.2rem;
  }

  .post-principal p {
    font-size: 0.9rem;
  }

  .lista-posts {
    gap: 15px;
  }

  .post-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .post-item img {
    width: 100%;
    height: auto;
  }

  .post-item h3 {
    font-size: 1rem;
  }

  .post-item p {
    font-size: 0.85rem;
  }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
  .header-blog h2 {
    font-size: 1.6rem;
  }

  .post-principal h3 {
    font-size: 1rem;
  }

  .post-principal p,
  .post-item p {
    font-size: 0.8rem;
  }

  .header-blog .btn {
    display: none;
  }
}
.separador {
  position: relative;
  padding: 40px 5%;
  background: url("../imagens/hero.webp") no-repeat center/cover;
  height: 300px;
  margin-top: -150px;
}
.separador::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
@media (max-width: 768px) {
  .separador {
    display: none;
  }
}

/* --- RODAPÉ --- */
.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding: 40px 5%;
  background: #fff;
  border-top: 1px solid #eee;
}
@media (max-width: 768px) {
  .footer {
    gap: 20px;
  }
}

.footer-logo img {
  max-height: 50px;
  margin-bottom: 15px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #444;
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #355aff;
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
}
.footer ul li a:hover {
  color: #1e6cff;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 900px) {
  .contato {
    grid-template-columns: 1fr;
  }
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    margin-bottom: 20px;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Destaques */
.blog-destaque {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.post-destaque {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border-radius: 30px;
  padding: 2.7rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}
.post-destaque img {
  border-radius: 16px;
}
.post-destaque .conteudo {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.post-destaque h2 {
  font-size: 1.4rem;
  font-weight: bold;
  color: #0f0f0f;
}
.post-destaque p {
  color: #555;
  font-size: 0.95rem;
}
.post-destaque .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.post-destaque .tag {
  border: 1px solid #ccc;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.8rem;
}
.post-destaque .tag:hover {
  background: #f1f1f1;
}
.btn-primario {
  margin-top: auto;
  align-self: flex-end;
  background: #355aff;
  color: #fff;
  text-decoration: none;
  padding: 0.1rem 1.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}
.btn-primario:hover {
  background: #0f0f0f;
}

/* Grid últimas postagens */

.ultimas-postagens h2 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}
.grid-posts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.card-post {
  background: #fff;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-post h3 {
  font-size: 1.1rem;
  font-weight: bold;
}
.card-post p {
  font-size: 0.9rem;
  color: #555;
}
.card-post img {
  max-width: 100%;
  border-radius: 8px;
}

/* Paginação */
.paginacao {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.paginacao .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #355aff;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
.paginacao .current {
  background: #0f0f0f;
}

/* Desktop */
@media (min-width: 768px) {
  .post-destaque {
    flex-direction: row;
    align-items: center;
  }
  .post-destaque img {
    width: 40%;
    height: auto;
  }
  .post-destaque .conteudo {
    width: 60%;
    padding-left: 1.5rem;
  }
  .grid-posts {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* --- CONTATO --- */
.contato {
  position: relative;
  background-color: #fff;
  max-width: 80vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 36px 5%;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  z-index: 2;
}

.contato-info h2 {
  font-size: 2.8rem;
  font-weight: bold;
}

.contato-info p {
  color: #2f2e44;
  font-weight: 500;
}

.contato-info img {
  width: 24px;
  height: 24px;
  margin-top: 20px;
  vertical-align: bottom;
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contato-form input,
.contato-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: "Gotham", sans-serif;
  font-size: 1rem;
  height: 54px;
}
input[type="email"][required]::before {
  content: " *"; /* O asterisco e o espaço antes dele */
  color: red; /* A cor vermelha desejada */
}

.contato-form textarea {
  min-height: 100px;
}

.contato-form button {
  background-color: #355aff;
  color: #fff;
  padding: 14px 20px;
  width: 150px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.3s;
}

.contato-form button:hover {
  opacity: 0.9;
}
@media (max-width: 1024px) {
  .contato {
    grid-template-columns: 1fr; /* empilha formulário e info */
    max-width: 90vw;
    gap: 30px;
    padding: 30px 5%;
  }

  .contato-info h2 {
    font-size: 2.2rem;
  }

  .contato-info img {
    margin: 20px auto 0;
    display: block;
  }

  .contato-form button {
    width: 100%;
    max-width: 200px;
    align-self: flex-start;
  }
}

/* Celulares (até 768px) */
@media (max-width: 768px) {
  .contato {
    padding: 24px;
    margin: 20px auto;
  }

  .contato-info h2 {
    font-size: 1.8rem;
  }

  .contato-info p {
    font-size: 0.95rem;
    text-align: center;
  }

  .contato-form input,
  .contato-form textarea {
    font-size: 0.9rem;
    height: auto;
  }

  .contato-form button {
    width: 100%;
    max-width: none;
  }
}

/* Smartphones pequenos (até 480px) */
@media (max-width: 480px) {
  .contato {
    gap: 20px;
    padding: 20px;
  }

  .contato-info h2 {
    font-size: 1.5rem;
  }

  .contato-info p {
    font-size: 0.85rem;
  }

  .contato-form button {
    padding: 12px;
    font-size: 0.9rem;
    border-radius: 20px;
  }
}

/* Orçamento e modal */
.cta-section {
  position: relative;
  background: url("../imagens/hero.webp") no-repeat center/cover;
  color: #fff;
  padding: 3rem 1.5rem;
}

/* Overlay escuro */
.cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

/* Conteúdo centralizado */
.cta-overlay {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Flex container */
.cta-content {
  display: flex;
  flex-direction: column; /* mobile first */
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

/* Coluna de texto */
.cta-texto h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.cta-texto p {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #ddd;
}

/* Coluna do botão */
.cta-botao {
  display: flex;
  justify-content: center;
}
.cta-whats {
  justify-content: flex-start;
  margin: 5rem 0 0 8rem;
}
@media (max-width: 768px) {
  .cta-whats {
    margin: 2rem auto;
    justify-content: center;
  }
}

/* Botão */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.btn-whatsapp:hover {
  background: #1e6cff; /* exigência */
}
.whats-produto {
  background: #1e6cff;
  padding: 0.8rem;
  gap: 0;
  color: #fff;
}
.whats-produto:hover {
  background: #111;
}

/* Ícone */
.whatsapp-icon {
  width: 50px;
  height: 30px;
  background: url("../imagens/whatsapp-white-icon.svg") no-repeat center/contain;
  display: inline-block;
}
.preto {
  background: url("../imagens/whatsapp.svg") no-repeat center/contain;
}

/* --- Responsividade --- */
@media (min-width: 768px) {
  .cta-content {
    flex-direction: row; /* 2 colunas no desktop */
    justify-content: space-between;
    text-align: left;
    align-items: center;
  }

  .cta-texto {
    flex: 1;
    max-width: 656px;
  }

  .cta-botao {
    flex-shrink: 0;
  }
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: #fff;
  color: #000;
  padding: 2rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
}
.modal-content h2 {
  text-align: center;
  color: #1e6cff;
}
.modal-content h3 {
  margin: 1rem 0;
  color: #767676;
}

.modal-close {
  position: absolute;
  top: -35px;
  right: -20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

#lead-form input {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.submit-btn {
  background: #1e6cff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  width: 100%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

.submit-btn:hover {
  background: #1552cc;
}

.single-post-container {
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 1rem;
}

/* título */
.single-title {
  margin: 2rem 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  color: #0f0f0f;
}

/* meta (data + leitura) */
.single-meta {
  text-align: center;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1.5rem;
}

/* imagem destacada */
.single-thumb {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 2rem;
}
.single-thumb img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

/* conteúdo */
.single-content {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
}
.single-content p {
  margin-bottom: 1.2rem;
  padding: 0 4rem;
}
.single-content h2,
.single-content h3 {
  padding: 0 4rem;
}
/* responsivo */
@media (max-width: 768px) {
  .single-title {
    font-size: 2rem;
  }
  .single-meta {
    font-size: 0.85rem;
  }
}

/* container principal */
.setores-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* título */
.setores-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin: 4rem 0 2.4rem;
}

/* grid */
.setores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* força 3 colunas */
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .setores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 567px) {
  .setores-grid {
    grid-template-columns: 1fr;
  }
}

/* card */
.setor-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  text-align: center;
  padding: 2rem 1rem 0.5rem 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.setor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}
.setor-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 768px) {
  .setor-link {
    height: auto;
  }
}

/* imagem */
.setor-thumb {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}
.setor-thumb img {
  max-width: 80px;
  height: auto;
}

/* título */
.setor-name {
  font-size: 1.6rem;
  font-weight: 600;
  margin: 1rem 0 1.5rem 0;
  color: #343434;
}

/* saiba mais */
.setor-saiba {
  font-size: 1.3rem;
  color: #555;
  margin-top: auto;
  align-self: flex-end;
}

/* card final fixo */
.setor-card.setor-todos {
  background: #355aff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.setor-todos-inner {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}
.setor-todos-inner span {
  display: inline-block;
}
/* Container principal */
.catalogos-container {
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 2rem 1rem;
}

/* Grid responsivo */
.catalogos-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr; /* mobile */
}

@media (min-width: 768px) {
  .catalogos-grid {
    grid-template-columns: repeat(3, 1fr); /* desktop */
    align-items: stretch;
  }
}

/* Card genérico */
.catalogo-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.catalogo-card:hover {
  transform: translateY(-4px);
}
.catalogo-card a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.catalogo-card img {
  max-width: 100%;
  border-radius: 10px;
  margin-bottom: 1rem;
  object-fit: contain;
}
.catalogo-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0.5rem 0 0;
}

/* Card texto */
.catalogo-info {
  text-align: left;
  display: flex;
  flex-direction: column;
}
.catalogo-info h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative; /* necessário para posicionar o pseudo-elemento */
  margin-top: 0;
  line-height: 1.08;
}
.catalogo-info h2::before {
  content: "";
  position: absolute;
  left: 0; /* alinha à esquerda do título */
  top: -10px; /* posiciona a linha acima do texto */
  width: 56px; /* comprimento da barra (ajuste se quiser maior/menor) */
  height: 4px; /* espessura da barra */
  background: #355aff; /* cor azul do layout */
  border-radius: 3px;
  display: block;
  pointer-events: none;
  will-change: transform;
}

/* Ajuste em telas pequenas */
@media (max-width: 767px) {
  .catalogo-info h2::before {
    width: 44px;
    height: 4px;
    top: -0.45rem;
  }
}
.catalogo-info p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1.5rem;
}

/* Botão */
.btn-cta {
  background: #355aff;
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 25px;
  display: inline-block;
  transition: background 0.2s ease;
}
.btn-cta:hover {
  background: #2744cc;
}
.produtos {
  padding: clamp(2rem, 5vw, 4rem) 1rem;
  text-align: center;
}

.produtos-titulo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.grid-produtos {
  display: grid;
  grid-template-columns: 1fr; /* mobile */
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .grid-produtos {
    grid-template-columns: repeat(3, 1fr); /* desktop: 3 colunas */
  }
}

.produto-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.produto-thumb {
  background: #f5f5f5;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  overflow: hidden;
}

.produto-thumb img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.produto-info {
  padding: 1rem;
  text-align: left;
}

.produto-nome {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.btn-saiba-mais {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 24px;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-saiba-mais:hover {
  background: #1e40af;
}

/* Container principal */
.institucional {
  max-width: 1200px;
  margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem);
}

/* Hero */
.institucional-hero {
  display: grid;
  grid-template-columns: 1fr; /* mobile first */
  gap: clamp(1rem, 3vw, 2rem);
  margin: clamp(2rem, 5vw, 4rem) 0;
}

.institucional-hero__texto {
  font-size: clamp(0.95rem, 1vw + 0.8rem, 1.15rem);
  line-height: 1.6;
  color: #333;
}

.institucional-hero__texto h1,
.institucional-hero__texto h2,
.institucional-hero__texto h3 {
  font-weight: bold;
  color: #000;
  margin: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.8rem, 2vw, 1rem);
}

.institucional-hero__texto p {
  margin-bottom: clamp(0.8rem, 2vw, 1.2rem);
}

.institucional-hero__imagem img,
.institucional-hero__placeholder {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.institucional-hero__placeholder {
  background: #ccc;
  min-height: clamp(220px, 35vw, 400px);
}

/* Conteúdo fixo */
.institucional-conteudo {
  margin: clamp(2rem, 5vw, 4rem) 0;
  font-size: clamp(0.95rem, 1vw + 0.7rem, 1.1rem);
  line-height: 1.7;
  color: #333;
}

.institucional-conteudo h2 {
  font-size: clamp(1.2rem, 1.5vw + 1rem, 1.8rem);
  font-weight: bold;
  margin: clamp(1rem, 3vw, 1.5rem) 0 clamp(0.8rem, 2vw, 1rem);
}

/* Galeria */
.produto-galeria {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  position: relative;
  justify-content: center;
}
.produto-galeria-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 4px;
}
.produto-galeria-item {
  flex: 0 0 auto;
  opacity: 0.6;
  transition: transform 0.3s, opacity 0.3s;
  cursor: pointer;
}
.produto-galeria-item.ativo {
  opacity: 1;
  transform: scale(1.05);
}
.produto-galeria-thumb {
  border-radius: 6px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.galeria-prev,
.galeria-next {
  border: none;
  background: transparent;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
}
/* Modal fullscreen */
.galeria-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}

.galeria-modal img {
  margin: auto;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  transition: opacity 0.3s ease;
  object-fit: contain;
}
.modal-content h2 {
  text-align: center;
  color: #1e6cff;
}
.modal-content h3 {
  margin: 1rem 0;
  color: #767676;
}
.modal-close {
  position: absolute;
  top: -35px;
  right: -20px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.modal-controls .modal-prev,
.modal-controls .modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  user-select: none;
  transition: 0.3s;
}

.modal-prev {
  left: 0;
}
.modal-next {
  right: 0;
}
.modal-prev:hover,
.modal-next:hover {
  color: #ccc;
}

/* Layout responsivo */
@media (min-width: 768px) {
  .institucional-hero {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}
/* CTA Flutuante */
.cta-flutuante {
  position: fixed;
  bottom: 85px;
  right: 20px;
  background: #fff;
  color: #000;
  border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 999;
}

.cta-flutuante .cta-msg {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}

#cta-flutuante-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 0.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

#cta-flutuante-btn:hover {
  background: #1552cc;
}

#form-feedback {
  font-weight: 600;
  transition: all 0.3s ease;
}
