/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-dourado: #D4A43C;
    --cor-dourado-escuro: #B8892A;
    --cor-preto: #1A1A1A;
    --cor-cinza-escuro: #2D2D2D;
    --cor-bege: #F5F1E8;
    --cor-bege-escuro: #E8DFC8;
    --cor-branco: #FFFFFF;
    --cor-texto: #333333;
    --fonte-principal: 'Georgia', 'Times New Roman', serif;
    --fonte-secundaria: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

body {
    font-family: var(--fonte-secundaria);
    color: var(--cor-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background-color: var(--cor-preto);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    height: 60px;
}

.logo {
    height: 100%;
    width: auto;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: var(--cor-bege);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
}

.nav a:hover {
    color: var(--cor-dourado);
}

/* Hero Section */
.hero {
    position: relative;
    height: 600px;
    background: linear-gradient(135deg, var(--cor-preto) 0%, var(--cor-cinza-escuro) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23D4A43C" stroke-width="0.5" opacity="0.1"/></svg>');
    background-size: 200px 200px;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(26, 26, 26, 0.7) 100%);
}

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

.hero-title {
    font-family: var(--fonte-principal);
    font-size: 3.5rem;
    color: var(--cor-bege);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--cor-dourado);
    margin-bottom: 2rem;
}

.hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background-color: rgba(212, 164, 60, 0.2);
    border: 2px solid var(--cor-dourado);
    border-radius: 50px;
    color: var(--cor-bege);
    font-size: 1.2rem;
    font-weight: 600;
}

.hero-phone svg {
    color: var(--cor-dourado);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--cor-dourado);
    color: var(--cor-preto);
}

.btn-primary:hover {
    background-color: var(--cor-dourado-escuro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 164, 60, 0.4);
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-title {
    font-family: var(--fonte-principal);
    font-size: 2.5rem;
    color: var(--cor-preto);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--cor-dourado);
    margin: 1rem auto 0;
}

/* Sobre Section */
.sobre {
    background-color: var(--cor-bege);
}

.sobre-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sobre-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--cor-cinza-escuro);
}

/* Marcas Section */
.marcas {
    background-color: var(--cor-branco);
}

.marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
}

.marca-card {
    background-color: var(--cor-bege);
    border: 3px solid var(--cor-dourado);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.marca-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 164, 60, 0.3);
}

.marca-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.marca-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.marca-content {
    padding: 2rem;
}

.marca-title {
    font-family: var(--fonte-principal);
    font-size: 2rem;
    color: var(--cor-preto);
    margin-bottom: 0.5rem;
}

.marca-slogan {
    font-style: italic;
    color: var(--cor-dourado);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.marca-description {
    color: var(--cor-cinza-escuro);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.marca-estilos h4 {
    color: var(--cor-preto);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.marca-estilos ul {
    list-style: none;
    padding-left: 0;
}

.marca-estilos li {
    padding: 0.3rem 0;
    color: var(--cor-cinza-escuro);
}

.marca-estilos li::before {
    content: '🍺 ';
    margin-right: 0.5rem;
}

/* Serviços Section */
.servicos {
    background-color: var(--cor-bege);
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servico-card {
    background-color: var(--cor-branco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--cor-dourado);
}

.servico-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.servico-card h3 {
    font-family: var(--fonte-principal);
    color: var(--cor-preto);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.servico-card p {
    color: var(--cor-cinza-escuro);
    line-height: 1.6;
}

/* Contato Section */
.contato {
    background-color: var(--cor-branco);
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contato-info h3 {
    font-family: var(--fonte-principal);
    font-size: 2rem;
    color: var(--cor-preto);
    margin-bottom: 1rem;
}

.contato-info > p {
    color: var(--cor-cinza-escuro);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contato-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contato-item svg {
    color: var(--cor-dourado);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.contato-item strong {
    display: block;
    color: var(--cor-preto);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contato-item p {
    color: var(--cor-cinza-escuro);
    margin: 0;
}

.contato-item a {
    color: var(--cor-dourado);
    text-decoration: none;
}

.contato-item a:hover {
    text-decoration: underline;
}

/* Formulário */
.contato-form-container {
    background-color: var(--cor-bege);
    padding: 2rem;
    border-radius: 10px;
    border: 2px solid var(--cor-dourado);
}

.contato-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--cor-preto);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--cor-bege-escuro);
    border-radius: 5px;
    font-family: var(--fonte-secundaria);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cor-dourado);
}

.form-group textarea {
    resize: vertical;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Footer */
.footer {
    background-color: var(--cor-preto);
    color: var(--cor-bege);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: var(--cor-dourado);
    font-style: italic;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--cor-dourado);
    margin-bottom: 1rem;
    font-family: var(--fonte-principal);
}

.footer-links a,
.footer-contact a {
    color: var(--cor-bege);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cor-dourado);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid var(--cor-cinza-escuro);
    padding-top: 1rem;
    text-align: center;
    color: var(--cor-bege-escuro);
}

/* Responsividade */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-phone {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .marcas-grid {
        grid-template-columns: 1fr;
    }
    
    .servicos-grid {
        grid-template-columns: 1fr;
    }
    
    .contato-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* =============================
   BOTÃO WHATSAPP - MOBILE FIX
============================= */

/* Estilo normal do botão (desktop) */
.btn-whatsapp {
  margin-left: 1rem;
  transition: all 0.3s ease;
}

/* MOBILE: transforma em botão flutuante */
@media (max-width: 768px) {
  .btn-whatsapp {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 9999;
    border-radius: 999px;
    padding: 14px 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    background-color: #25d366;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
  }

  .btn-whatsapp:hover {
    background-color: #1ebe5d;
  }

  /* Se quiser mostrar só o ícone no celular (sem texto) */
  /*
  .btn-whatsapp {
    width: 56px;
    height: 56px;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .btn-whatsapp::before {
    content: "";
    width: 28px;
    height: 28px;
    background: url("./icons/whatsapp.svg") no-repeat center/contain;
    display: block;
  }
  */
}

/* Botão WhatsApp flutuante apenas no mobile */
@media (max-width: 768px) {
  #whatsBtn {
    position: fixed !important;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
    border-radius: 999px;
    padding: 14px 18px;
    background: #25d366;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
  }

  #whatsBtn:hover {
    background: #1ebe5d;
    color: #fff;
  }
}

/* (Opcional) Se quiser garantir mesmo sem ID,
   também força qualquer link do header com wa.me */
@media (max-width: 768px) {
  header a[href*="wa.me"] {
    position: fixed !important;
    right: 16px;
    bottom: 16px;
    z-index: 10000;
  }
}

/* Botão WhatsApp flutuante — mobile */
@media (max-width: 768px) {
  #whatsBtn{
    position: fixed !important;
    /* Respeita áreas seguras (iPhone) e mantém um espaçamento bom */
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 10000;

    display: inline-flex;
    align-items: center;
    gap: 8px;                 /* espaço se tiver ícone + texto */

    /* Tamanho confortável para toque (mín. ~44px de altura) */
    min-height: 48px;
    padding: 0 18px;

    border-radius: 9999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;

    background: #25d366;
    color: #fff !important;
    text-decoration: none;

    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    -webkit-tap-highlight-color: transparent; /* remove flash no Android */
  }

  #whatsBtn:hover{
    background: #1ebe5d;
    color: #fff !important;
  }
}

/* Evita scroll horizontal/“faixa branca” */
html, body {
  overflow-x: hidden;
}

/* Também ajuda a prevenir estouros */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Imagens/SVG nunca ultrapassam a largura */
img, svg {
  max-width: 100%;
  height: auto;
}

/* Esconde a logo no mobile */
@media (max-width: 768px) {
  .logo,
  .logo img,
  .logo-container,
  header .logo {
    display: none !important;
  }
}
