:root {
      --primary-color: #1a1a1a;
      --secondary-color: #ae936a; /* Tom terroso/dourado similar */
      --bg-light: #f7f7f7;
      --bg-dark: #121212;
      --text-color: #333333;
      --text-muted: #777777;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      color: var(--text-color);
      background-color: #ffffff;
      line-height: 1.6;
    }

    /* Cabeçalho */
    header {
      position: sticky;
      top: 0;
      background: #ffffff;
      z-index: 1000;
      box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }

    .nav-container {
      max-width: 1300px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
    }

    .logo {
      font-size: 24px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--primary-color);
      text-decoration: none;
    }
    .logo span {
      color: var(--secondary-color);
    }

    nav ul {
      display: flex;
      list-style: none;
      gap: 30px;
    }

    nav a {
      text-decoration: none;
      color: var(--primary-color);
      font-weight: 600;
      font-size: 14px;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: color 0.3s;
    }

    nav a:hover {
      color: var(--secondary-color);
    }

    /* Hero Banner */
    .hero {
      position: relative;
      height: 80vh;
      background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                  url('uploads/images/WhatsApp Image 2026-05-19 at 18.03.03.jpeg') center/cover no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #ffffff;
    }

    .hero.is-changing { opacity: .78; }
    .carousel-controls { position: absolute; inset: 0; pointer-events: none; }
    .carousel-arrow {
      position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
      width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%;
      background: rgba(0,0,0,.28); color: #fff; font-size: 24px; cursor: pointer; pointer-events: auto;
      transition: background-color .2s ease, transform .2s ease;
    }
    .carousel-arrow:hover { background: rgba(0,0,0,.62); transform: translateY(-50%) scale(1.05); }
    .carousel-previous { left: clamp(14px, 3vw, 44px); }
    .carousel-next { right: clamp(14px, 3vw, 44px); }
    .carousel-dots { position: absolute; left: 50%; bottom: 24px; z-index: 2; display: flex; gap: 10px; transform: translateX(-50%); pointer-events: auto; }
    .carousel-dot { width: 11px; height: 11px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: transparent; cursor: pointer; }
    .carousel-dot.is-active { background: #fff; transform: scale(1.2); }
    .empty-state { padding: 30px; text-align: center; color: var(--text-muted); }

    .hero-content h1 {
      font-size: 48px;
      font-weight: 300;
      letter-spacing: 3px;
      text-transform: uppercase;
      margin-bottom: 15px;
    }

    .hero-content p {
      font-size: 18px;
      margin-bottom: 30px;
      font-weight: 300;
    }

    .btn {
      display: inline-block;
      padding: 14px 35px;
      border: 1px solid var(--secondary-color);
      background-color: var(--secondary-color);
      color: #ffffff;
      text-decoration: none;
      text-transform: uppercase;
      font-size: 13px;
      letter-spacing: 2px;
      transition: all 0.3s;
    }

    .btn:hover {
      background-color: transparent;
      color: #ffffff;
      border-color: #ffffff;
    }

    /* Sessão de Busca / Filtro */
    .filter-section {
      background-color: var(--bg-light);
      padding: 60px 20px;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .section-title {
      font-size: 28px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 2px;
      margin-bottom: 40px;
      text-align: center;
    }

    .filter-box {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .filter-box select {
      padding: 15px;
      min-width: 250px;
      border: 1px solid #ddd;
      border-radius: 0;
      font-family: inherit;
      background: #fff;
    }

    /* Galeria de Linhas */
    .products-section {
      padding: 80px 20px;
    }

    .grid-products {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .product-card {
      position: relative;
      overflow: hidden;
      height: 420px;
      cursor: pointer;
    }

    .product-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }

    .product-card:hover img {
      transform: scale(1.05);
    }

    .product-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0,0,0,0.8));
      padding: 30px;
      color: #ffffff;
    }

    .product-overlay h3 {
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
    }

    /* Sobre / Institucional */
    .about-section {
      background-color: var(--bg-light);
      padding: 80px 20px;
    }

    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    /* Formulário de Contato / Footer */
    footer {
      background-color: var(--bg-dark);
      color: #ffffff;
      padding: 80px 20px 20px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 60px;
    }

    .footer-col h4 {
      color: var(--secondary-color);
      text-transform: uppercase;
      font-size: 16px;
      letter-spacing: 2px;
      margin-bottom: 20px;
    }

    .footer-col p, .footer-col a {
      color: #aaa;
      font-size: 14px;
      text-decoration: none;
      display: block;
      margin-bottom: 10px;
    }

    .footer-col a:hover {
      color: #ffffff;
    }

    .copyright {
      text-align: center;
      border-top: 1px solid #222;
      padding-top: 20px;
      font-size: 12px;
      color: #666;
    }

    .mobile-menu-button {
      display: none; /* Oculto em telas grandes */
      background: none;
      border: none;
      color: var(--primary-color);
      font-size: 24px;
      cursor: pointer;
    }

    .whatsapp-button {
      position: fixed;
      right: 24px;
      bottom: 24px;
      z-index: 1500;
      display: inline-flex;
      align-items: center;
      gap: 9px;
      padding: 13px 19px;
      border-radius: 999px;
      background: #25d366;
      color: #ffffff;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
      font-size: 14px;
      font-weight: 700;
      line-height: 1;
      text-decoration: none;
      transition: transform 0.2s ease, background-color 0.2s ease;
    }

    .whatsapp-button i { font-size: 24px; }

    .whatsapp-button:hover,
    .whatsapp-button:focus-visible {
      background: #1ebd5a;
      color: #ffffff;
      transform: translateY(-3px);
    }

    @media (max-width: 768px) {
      .about-grid {
        grid-template-columns: 1fr;
      }
      
      nav ul {
        display: none; /* Menu principal oculto */
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
      }

      nav.mobile-nav-open ul {
        display: flex; /* Exibe o menu quando a classe é adicionada */
      }

      nav li {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
      }

      .mobile-menu-button {
      display: block; /* Exibe o botão de menu em telas pequenas */
      }
    }

    /* Estilos do Lightbox */
    .lightbox {
      position: fixed;
      z-index: 2000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.85);
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .lightbox-content {
      max-width: 90%;
      max-height: 80%;
      animation: zoomIn 0.3s ease-in-out;
    }

    .lightbox-close {
      position: absolute;
      top: 20px;
      right: 35px;
      color: #fff;
      font-size: 40px;
      font-weight: bold;
      cursor: pointer;
      transition: 0.3s;
    }

    .lightbox-close:hover {
      color: #bbb;
    }

    @keyframes zoomIn {
      from { transform: scale(0.8); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    /* Page-specific Headers */
    .page-header {
      padding: 60px 20px;
      background-color: var(--bg-light);
      text-align: center;
    }
    .page-header h1 {
      font-size: 40px;
      text-transform: uppercase;
      letter-spacing: 3px;
    }

    /* Downloads Page */
    .downloads-section {
      padding: 80px 20px;
      text-align: center;
    }
    .download-item {
      border: 1px solid #ddd;
      padding: 30px;
      margin-bottom: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      text-align: left;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
    .download-item h3 {
      font-weight: 600;
      margin-bottom: 5px;
    }
    .download-item p {
      color: var(--text-muted);
      font-size: 14px;
    }

    /* Contact Page */
    .contact-section {
      padding: 80px 20px;
    }
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: flex-start;
    }
    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 15px;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      font-family: inherit;
    }
    .contact-info p {
      margin-bottom: 20px;
      font-size: 16px;
    }
    .contact-info i {
      color: var(--secondary-color);
      margin-right: 15px;
      font-size: 20px;
      width: 30px;
      text-align: center;
    }

    /* Additional Responsive rules */
    @media (max-width: 768px) {
      .whatsapp-button {
        right: 16px;
        bottom: 16px;
        padding: 14px;
      }

      .whatsapp-button span { display: none; }

      .download-item {
        flex-direction: column;
        text-align: center;
        gap: 20px;
      }
      .contact-grid {
        grid-template-columns: 1fr;
      }
    }

/* Responsividade, acessibilidade e estabilidade visual */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }
button, select, input, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--secondary-color); outline-offset: 3px; }
.nav-container { min-height: 80px; }
    .logo img {
      display: block;
      width: auto;
      max-width: min(220px, 55vw);
      object-fit: contain;
      opacity: 0;
      transition: opacity .15s ease;
    }
    .logo img.is-loaded { opacity: 1; }
.hero-content { width: min(100%, 760px); padding-inline: 20px; }
.hero-content h1 { font-size: clamp(2rem, 5vw, 3rem); }
.hero-content p { font-size: clamp(1rem, 2vw, 1.125rem); }
.page-header h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
.product-card {
  width: 100%;
  padding: 0;
  border: 0;
  background: #e9e9e9;
  text-align: left;
}
.product-card:focus-visible img { transform: scale(1.05); }
.contact-form input,
.contact-form textarea { font-size: 16px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.875rem; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.lightbox-close { border: 0; background: transparent; line-height: 1; }

@media (max-width: 768px) {
  .nav-container { min-height: 68px; padding: 12px 16px; }
  .logo img { height: 36px !important; }
  .hero {
    min-height: 520px;
    height: calc(100svh - 68px);
    padding: 48px 0;
  }
  .hero-content h1 { letter-spacing: 2px; }
  .filter-section, .products-section, .about-section,
  .downloads-section, .contact-section { padding: 56px 16px; }
  .section-title { font-size: 1.45rem; margin-bottom: 28px; }
  .filter-box { display: grid; grid-template-columns: 1fr; }
  .filter-box select, .filter-box .btn { width: 100%; min-width: 0; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .product-card { height: 330px; }
  .product-overlay { padding: 22px 16px; }
  .product-overlay h3 { font-size: 1rem; }
  .page-header { padding: 44px 16px; }
  footer { padding: 56px 16px 20px; }
  nav ul {
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
}

@media (max-width: 520px) {
  .carousel-arrow { width: 40px; height: 40px; font-size: 19px; }
  .carousel-previous { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-dots { bottom: 18px; }
  .grid-products { grid-template-columns: 1fr; }
  .product-card { height: 380px; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form .btn { width: 100%; }
}

@media (max-width: 360px) {
  .product-card { height: 320px; }
  .hero-content h1 { font-size: 1.75rem; }
  .btn { padding: 13px 20px; letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Aviso de privacidade */
.privacy-notice {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2500;
  max-width: 920px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.15);
  background: #191919;
  color: #fff;
  box-shadow: 0 12px 38px rgba(0,0,0,.3);
}
.privacy-notice p { margin: 0; font-size: .875rem; }
.privacy-notice a { color: #dcc397; }
.privacy-notice-button { flex: 0 0 auto; border: 0; cursor: pointer; padding: 11px 22px; }
.legal-section { padding: 64px 20px; }
.legal-content { max-width: 850px; margin-inline: auto; }
.legal-content h2 { margin: 30px 0 10px; font-size: 1.25rem; }
.legal-content p, .legal-content li { margin-bottom: 10px; color: var(--text-muted); }
.legal-content ul { padding-left: 22px; }

@media (max-width: 640px) {
  .privacy-notice { left: 12px; right: 12px; bottom: 12px; flex-direction: column; align-items: stretch; gap: 14px; }
  .privacy-notice-button { width: 100%; }
}
