/* Reset e estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /* Barra de navegação */
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
  }
  
  .navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.5rem;
  }
  
  .logo-icon {
    height: 40px;
    margin-right: 10px;
  }
  
  .logo span {
    color: #ec1d24;
    font-weight: 800;
  }
  
  .nav-links {
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
  }
  
  .nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ec1d24;
    transition: width 0.3s ease;
  }
  
  .nav-links a:hover {
    color: #ec1d24;
  }
  
  .nav-links a:hover:after {
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: #333;
    transition: all 0.3s ease;
  }
  
  /* Hero da Página de Produto */
  .product-hero {
    position: relative;
    padding: 12rem 0 8rem;
    color: white;
    overflow: hidden;
    z-index: 1;
  }
  
  .product-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background-position: center;
    background-size: cover;
    opacity: 0.3;
    z-index: -1;
  }
  
  .product-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 700px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .product-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Detalhes do Produto */
  .product-details {
    padding: 5rem 0;
  }
  
  .product-section {
    margin-bottom: 5rem;
  }
  
  .product-section:last-of-type {
    margin-bottom: 2rem; /* Reduzir o espaço após a última seção (galeria) */
  }
  
  .product-section h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: #222;
    position: relative;
    padding-bottom: 10px;
  }
  
  .product-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #ec1d24;
  }
  
  .product-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
  }
  
  /* Lista de características */
  .features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
  }
  
  .feature-item {
    display: flex;
    align-items: flex-start;
    background-color: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  .feature-icon {
    width: 48px;
    height: 48px;
    margin-right: 1rem;
    padding: 0.5rem;
    background-color: rgba(245, 158, 11, 0.1);
    border-radius: 8px;
  }
  
  .feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #222;
  }
  
  .feature-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1; /* Força o contêiner a ser quadrado */
  }
  
  .gallery-item:hover {
    transform: scale(1.02);
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche o contêiner, cortando o que exceder */
    display: block;
    transition: transform 0.5s ease;
    /* Remover aspect-ratio aqui, pois o contêiner já define */
  }
  
  .gallery-item:hover img {
    transform: scale(1.05);
  }
  
  /* Botão de WhatsApp */
  .whatsapp-button {
    margin: 2rem 0 3rem; /* Reduzido de 4rem para 2rem no topo */
    text-align: center;
  }
  
  /* Footer */
  .footer {
    background-color: #1f2937;
    color: #f1f1f1;
    padding: 2rem 0;
    text-align: center;
  }
  
  /* Media Queries para Responsividade */
  @media (max-width: 992px) {
    .product-hero h1 {
      font-size: 2.8rem;
    }
    
    .features-list {
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
  }
  
  @media (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      width: 250px;
      height: 100vh;
      background-color: white;
      flex-direction: column;
      padding: 80px 30px 30px;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      transition: right 0.3s ease;
      gap: 1.5rem;
      z-index: 1000;
    }
    
    .nav-links.active {
      right: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
      opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }
    
    .product-hero {
      padding: 10rem 0 6rem;
    }
    
    .product-hero h1 {
      font-size: 2.2rem;
    }
    
    .product-hero p {
      font-size: 1rem;
    }
    
    .features-list {
      grid-template-columns: 1fr;
    }
    
    .gallery-grid {
      grid-template-columns: 1fr;
    }
    
    .product-section:last-of-type {
      margin-bottom: 1.5rem; /* Espaço ainda menor em telas menores */
    }
    
    .whatsapp-button {
      margin: 1.5rem 0 3rem; /* Espaço ainda menor em dispositivos móveis */
    }
  }
  
  @media (max-width: 480px) {
    .product-hero h1 {
      font-size: 1.8rem;
    }
    
    .product-section h2 {
      font-size: 1.8rem;
    }
    
    .feature-item {
      padding: 1.2rem;
    }
    
    .feature-icon {
      width: 40px;
      height: 40px;
    }
  }