:root {
    --gold: rgb(212, 175, 55);
    --dark-bg: rgba(0, 0, 0, 0.85);
    --light-bg: #f9f9f9;
    --primary-color: #d4af37;
    --secondary-color: #8B0000;
    --transition: all 0.3s ease;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: var(--light-bg);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header - Melhorias principais */
header {
    background: var(--dark-bg);
    color: white;
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--gold);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-branding {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 200px; /* Evita quebra muito cedo */
}

.site-logo {
    width: 50px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.site-logo:hover {
    transform: scale(1.05);
}

.site-title {
    color: var(--gold);
    font-size: clamp(1.5rem, 4vw, 2.2rem); /* Responsivo */
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    white-space: nowrap; /* Evita quebra de linha */
}

.tagline {
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    font-size: clamp(0.8rem, 2vw, 1rem); /* Responsivo */
    white-space: nowrap;
}

/* Navegação - Melhorias principais */
nav {
    flex: 1;
    min-width: 0; /* Permite que encolha */
}

nav ul {
    display: flex;
    list-style: none;
    gap: clamp(10px, 2vw, 25px); /* Gap responsivo */
    justify-content: flex-end; /* Alinha à direita */
    align-items: center;
    flex-wrap: nowrap; /* Impede quebra em linhas */
    padding: 0;
    margin: 0;
    overflow-x: auto; /* Permite scroll horizontal se necessário */
    scrollbar-width: none; /* Esconde scrollbar no Firefox */
    -ms-overflow-style: none; /* Esconde scrollbar no IE/Edge */
}

nav ul::-webkit-scrollbar {
    display: none; /* Esconde scrollbar no Chrome/Safari */
}

nav li {
    flex-shrink: 0; /* Impede que os itens encolham */
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: clamp(0.9rem, 1.5vw, 1rem); /* Tamanho responsivo */
    white-space: nowrap; /* Evita quebra de texto */
}

nav a:hover {
    color: var(--gold);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gold);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

/* Página principal */
.main-page {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--light-bg);
}

.main-page h1 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    margin-bottom: 30px;
}

.main-page p {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    text-align: justify;
    margin-bottom: 20px;
}

/* Título de seção */
.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2rem);
    margin: 10% auto 2rem;
    color: #bfa05a;
}

/* Produtos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.product-item {
    background-color: #f8f8f8;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-item:hover {
    transform: translateY(-5px);
}

.product-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
    text-align: center;
}

.product-info h3 {
    margin-top: 0;
    color: #222;
}

.product-info p {
    color: #555;
    font-size: 0.95rem;
}

/* Rodapé */
footer {
    background: var(--dark-bg);
    color: white;
    padding: 30px 15px;
    text-align: center;
    border-top: 3px solid var(--gold);
    font-size: 0.95rem;
}

footer a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: white;
}

/* Responsivo - Melhorias principais */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row; /* Mantém em linha */
        align-items: center;
        gap: 10px;
    }

    .header-branding {
        min-width: auto;
    }

    nav ul {
        justify-content: flex-start; /* Permite scroll horizontal */
        padding-bottom: 5px; /* Espaço para scroll */
    }

    .main-page {
        padding-top: 100px;
    }

    .section-title {
        margin-top: 20%;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-wrap: nowrap; /* Impede quebra */
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .header-content::-webkit-scrollbar {
        display: none;
    }
    
    .header-branding {
        flex-shrink: 0;
    }
    
    nav {
        flex-shrink: 0;
    }
}
    .section-title{
    margin-top: 25%;
}
    .products-grid {
    margin-bottom: 10%;
    }

/* === ESTRUTURA PRINCIPAL === */
.container-botao {
  width: 100%;
  text-align: center; /* Centraliza horizontalmente */
  padding: 20px 0; /* Espaçamento vertical */
}

/* === BOTÃO PRINCIPAL === */
.botao-whatsapp {
  /* Layout */
  display: inline-block; /* Permite centralização com text-align */
  padding: 12px 30px;
  min-width: 200px; /* Largura mínima */
  
  /* Estilo */
  background: linear-gradient(to right, #25D366, #128C7E);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  
  /* Efeitos */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* === EFEITO HOVER === */
.botao-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* === PULSAÇÃO SUAVE (OPCIONAL) === */
@keyframes pulsar {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.botao-whatsapp {
  animation: pulsar 3s infinite ease-in-out;
}

.botao-whatsapp:hover {
  animation: none; /* Pausa ao passar o mouse */
}

/* === RESPONSIVIDADE === */
@media (max-width: 768px) {
  .botao-whatsapp {
    padding: 10px 25px;
    font-size: 15px;
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .botao-whatsapp {
    padding: 10px 20px;
    font-size: 14px;
    min-width: 160px;
  }
}