/* =========================================
   FONTES E CONFIGURAÇÕES GERAIS
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #111;
  background-color: #f4f4f4;
}

/* =========================================
   HEADER / NAVBAR (FIXO E PROFISSIONAL)
========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(221, 221, 221, 0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding: 12px 0;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: height .25s ease;
}

/* MENU HAMBURGUER */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle .bar {
  width: 26px;
  height: 3px;
  background: #000;
  transition: transform .25s ease, opacity .2s ease;
}

/* animação X */
.menu-toggle.is-active .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* LINKS DESKTOP */
.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  color: #000;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
  transition: color .2s ease, transform .2s ease;
}

.nav-links li a:hover {
  transform: translateY(-2px);
  color: #28a745;
}

/* =========================================
   HERO (SEM FAIXA BRANCA + OVERLAY)
========================================= */
.hero {
  position: relative;
  margin-top: 110px;                 /* compensa header fixo */
  height: calc(100vh - 110px);
  background-image: url('https://www.publicdomainpictures.net/pictures/310000/velka/wooden-bacground.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
}

/* overlay escuro profissional */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.45)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.3rem;
  color: #f1f1f1;
  margin-bottom: 20px;
}

.cta-btn {
  background-color: #28a745;
  color: #fff;
  padding: 14px 26px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.25);
}

/* =========================================
   SEÇÃO QUALIDADE
========================================= */
.quality-section {
  padding: 60px 0;
  background: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.quality-text {
  flex: 1;
}

.quality-text h2 {
  color: #28a745;
  margin-bottom: 8px;
}

.quality-text h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.quality-text p {
  color: #333;
  line-height: 1.6;
  margin-bottom: 14px;
}

.cta-link {
  color: #28a745;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid #28a745;
}

.quality-image {
  flex: 1;
}

.quality-image img {
  width: 100%;
  max-width: 450px;
  display: block;
}

/* =========================================
   PRODUTOS (CARROSSEL)
========================================= */
.products-section {
  padding: 40px 0;
}

.product-carousel {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding: 12px;
  scroll-snap-type: x mandatory;
}

.card {
  flex: 0 0 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  scroll-snap-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transition: transform .2s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 16px;
  text-align: center;
}

/* =========================================
   LOCALIZAÇÃO
========================================= */
.location-section {
  padding: 60px 0;
  background: #f9f9f9;
}

.location-section h2 {
  text-align: center;
  color: #28a745;
  margin-bottom: 20px;
}

.location-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 20px;
}

.contact-info {
  flex: 1;
}

.map-iframe {
  flex: 1;
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: 10px;
}

/* =========================================
   BOTÃO WHATSAPP
========================================= */
.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.whatsapp-button img {
  width: 36px;
}

/* =========================================
   MOBILE (NÃO QUEBRA)
========================================= */
@media (max-width: 768px) {

  .logo img {
    height: 60px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ddd;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    padding: 14px 20px;
  }

  .hero {
    margin-top: 90px;
    height: calc(60vh - 90px);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

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

  .quality-image img {
    max-width: 300px;
    margin: 0 auto;
  }

  .map-iframe {
    height: 320px;
  }

  .product-carousel {
    padding: 10px;
  }

  .card {
    flex: 0 0 85%;
    max-width: 85%;
  }

  .card img {
    height: 180px;
  }
}

/* =========================================
   DESKTOP — GARANTE LADO A LADO
========================================= */
@media (min-width: 769px) {
  .container,
  .location-container {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .products-section .container {
    display: block;
  }

  .product-carousel {
    display: flex;
    gap: 16px;
    padding: 16px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .product-carousel .card {
    flex: 0 0 88%;
    max-width: 88%;
    scroll-snap-align: center;
  }
}

@media (max-width: 768px) {

  .nav-links {
    background: #f2f2f2;
    border-top: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.12);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links li a {
    width: 100%;
    padding: 16px 22px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
  }

  .nav-links li a:active {
    background: rgba(0,0,0,0.06);
  }
}

@media (max-width: 768px) {
  .nav-links {
    animation: slideDown .25s ease forwards;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* =========================================
   FOOTER / CRÉDITOS
========================================= */
.site-footer {
  background: #111;
  padding: 18px 20px;
  text-align: center;
}

.footer-credits p {
  color: #bbb;
  font-size: 0.9rem;
}

.credit-link {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: color 0.2s ease;
}

/* efeito hover desktop */
.credit-link:hover {
  color: #28a745;
}

/* dica visual ao passar o mouse */
.credit-link::after {
  content: " • WhatsApp";
  opacity: 0;
  font-size: 0.8rem;
  color: #25d366;
  transition: opacity 0.2s ease;
}

.credit-link:hover::after {
  opacity: 1;
}

/* =========================================
   MOBILE — mantém simples (sem hover fake)
========================================= */
@media (max-width: 768px) {
  .credit-link::after {
    display: none;
  }

  .footer-credits p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}

/* ajuste texto CSS formatacao */
/* =========================================
   MELHORIA DE LEITURA — MOBILE FIRST
========================================= */
@media (max-width: 768px) {

  .quality-section {
    padding: 40px 0;
  }

  .quality-text {
    max-width: 340px;
    margin: 0 auto;
  }

  /* subtítulo */
  .quality-text h2 {
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
  }

  /* título principal */
  .quality-text h3 {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 18px;
    font-weight: 700;
  }

  /* texto */
  .quality-text p {
    font-size: 0.95rem;
    line-height: 1.85;
    color: #555;
    margin-bottom: 20px;
  }

  /* cria pausa visual automática */
  .quality-text p::after {
    content: "";
    display: block;
    height: 8px;
  }

  /* CTA */
  .cta-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 1rem;
    padding-bottom: 2px;
  }

  /* imagem */
  .quality-image img {
    margin-top: 24px;
    border-radius: 10px;
  }
}

