/* ==========================================================================
   1. RESET BÁSICO, TIPOGRAFIA E CONFIGURAÇÕES GERAIS
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background-color: #000000;
  color: #ffffff;
  line-height: 1.6;
}

/* Base de Links em Azul Claro para todo o site */
a {
  color: #38bdf8; /* Azul claro elegante */
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid #38bdf8;
  outline-offset: 3px;
}

p {
  color: #dddddd;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

h1, h2, h3, h4 {
  color: #ffffff;
  margin-top: 0;
}

h1 {
  font-size: 2.2rem;
  color: #FF007F; /* Rosa Choque */
  border-bottom: 2px solid #FF007F;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

h2 {
  font-size: 1.6rem;
  color: #FF007F;
  margin-bottom: 15px;
}

h3 {
  color: #ffffff;
  margin-bottom: 15px;
}

h4 {
  color: #b3b3b3;
  font-weight: normal;
}

.text-center { text-align: center; }


/* ==========================================================================
   2. SISTEMA DE GRID MODERNO (SUBSTITUTO DO ZEROGRID - FOCO EM SEO/VELOCIDADE)
   ========================================================================== */
.container {
  width: 95%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}

/* Configuração Padrão das Colunas */
[class*="col-"] {
  padding: 10px;
  box-sizing: border-box;
  width: 100%; /* No mobile, todas as colunas ocupam 100% da tela */
}

/* Colunas para Desktop/Tablets (Telas maiores que 768px) */
@media (min-width: 768px) {
  .col-full { width: 100%; }
  .col-1-2, .col-2-4, .col-3-6 { width: 50%; }
  .col-1-3, .col-2-6 { width: 33.333%; }
  .col-2-3, .col-4-6 { width: 66.666%; }
  .col-1-4 { width: 25%; }
  .col-3-4 { width: 75%; }
  .col-1-5 { width: 20%; }
  .col-2-5 { width: 40%; }
  .col-3-5 { width: 60%; }
  .col-4-5 { width: 80%; }
  .col-1-6 { width: 16.666%; }
  .col-5-6 { width: 83.333%; }
}


/* ==========================================================================
   3. BARRA SUPERIOR SOCIAL E HEADER DE NAVEGAÇÃO
   ========================================================================== */
/* Top Bar Social */
.row-top {
  background-color: #0d0d0d;
  border-bottom: 1px solid #222222;
  padding: 8px 0;
}

.list-soc {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.list-soc img {
  height: 20px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.list-soc img:hover {
  opacity: 1;
}

/* Header Principal */
header, .header-site {
  background-color: #121212;
  border-bottom: 3px solid #FF007F;
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container,
header .row,
.nav-wrapper { 
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px; /* Garante afastamento em relação ao menu */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0; /* Impede que o logo seja pressionado pelo menu */
  margin-right: 20px;
}

.logo img {
  max-height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Menus de Navegação - Sem quebrar itens para a linha de baixo */
.main-nav, nav {
  display: flex;
  align-items: center;
}

.main-nav ul, 
nav ul.menu {
  display: flex;
  flex-wrap: nowrap; /* Garante tudo em uma única linha */
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}

.main-nav a, 
nav ul.menu li a {
  color: #ffffff; /* Preserva o texto em branco nos botões do menu */
  text-decoration: none;
  font-weight: bold;
  font-size: 0.88rem;
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.main-nav a:hover, 
.main-nav a.active,
nav ul.menu li.current a,
nav ul.menu li a:hover {
  background-color: #FF007F;
  color: #ffffff;
}

/* Botão Mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
}

.hamburger-btn span {
  width: 28px;
  height: 3px;
  background-color: #FF007F;
}


/* ==========================================================================
   4. HERO BANNER INTERNO
   ========================================================================== */
.hero-banner-interno {
  position: relative;
  width: 100%;
  padding: 45px 0;
  background: #111111 url('../images/bg-header.jpg') center center no-repeat;
  background-size: cover;
  border-top: 1px solid #222222;
  border-bottom: 2px solid #333333;
  text-align: center;
  box-sizing: border-box;
}

.hero-banner-interno .banner-title,
.hero-banner-interno h2 {
  color: #ffffff;
  font-size: 2.2rem;
  font-weight: bold;
  line-height: 1.3;
  margin: 0;
  padding: 0 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}


/* ==========================================================================
   5. BOTÕES DO SITE
   ========================================================================== */
.btn-primary, 
.button {
  display: inline-block;
  background-color: #FF007F;
  color: #ffffff !important;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 0, 127, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 15px;
}

.btn-primary:hover, 
.button:hover { 
  background-color: #d6006b; 
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  color: #FF007F !important;
  border: 2px solid #FF007F;
  background-color: transparent;
  padding: 10px 22px;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  transition: all 0.3s ease;
  margin-top: 15px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #FF007F;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
  transform: translateY(-2px);
}


/* ==========================================================================
   6. CONTEÚDO E IMAGENS
   ========================================================================== */
#content {
  background-color: #121212;
  padding: 40px 0;
}

.main-block {
  background-color: #181818;
  border: 1px solid #262626;
  border-radius: 8px;
  padding: 30px;
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 6px;
  border: 2px solid #333333;
  background-color: #1a1a1a;
  transition: border-color 0.3s ease;
}

.card-image-wrapper img,
.img-rounded img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.card-image-wrapper:hover img,
.img-rounded img:hover {
  transform: scale(1.04);
  border-color: #FF007F;
}

/* =========================================================
   IMAGEM IMG-ROUNDED1 - TAMANHO CONTROLADO + HOVER
   ========================================================= */

.img-rounded1 {
    width: 70%;
    max-width: 600px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 8px;
}

.img-rounded1 a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.img-rounded1 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.45s ease;
}

/* Estica suavemente ao apontar o mouse */
.img-rounded1:hover img {
    transform: scale(1.04, 1.025);
}

/* Celular */
@media (max-width: 768px) {
    .img-rounded1 {
        width: 100%;
        max-width: 100%;
    }
}



/* =========================================================
   IMAGEM IMG-ROUNDED11 - TAMANHO CONTROLADO + HOVER
   ========================================================= */

.img-rounded11 {
    width: 95%;              /* aumentada de 70% para 95% */
    max-width: 900px;        /* aumentada de 600px para 900px */
    margin: 0 auto 25px;
    overflow: hidden;
    border-radius: 8px;
}

.img-rounded11 a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.img-rounded11 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.45s ease;
}

/* Estica suavemente ao apontar o mouse */
.img-rounded11:hover img {
    transform: scale(1.04, 1.025);
}

/* Celular */
@media (max-width: 768px) {
    .img-rounded1 {
        width: 100%;
        max-width: 100%;
    }
}


/* ==========================================================================
   7. FORMULÁRIOS DE CONTATO
   ========================================================================== */
.contact-form-wrapper {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  text-align: left;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}

.smoothborder,
#form input[type="text"],
#form input[type="email"],
#form textarea {
  width: 100%;
  padding: 12px 14px;
  background-color: #1a1a1a;
  border: 1px solid #FF007F;
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 12px;
}

.smoothborder:focus,
#form input:focus,
#form textarea:focus {
  outline: none;
  border-color: #f472b6;
  background-color: #222222;
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.btn-submit {
  cursor: pointer;
  width: 100%;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, #FF007F 0%, #38bdf8 100%);
  transition: opacity 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}


/* ==========================================================================
   8. RODAPÉ (FOOTER)
   ========================================================================== */
footer, .footer-site {
  background-color: #0d0d0d;
  border-top: 2px solid #FF007F;
  padding: 40px 0 20px 0;
  text-align: center;
}

footer h3, .footer-col h3 {
  color: #FF007F;
  font-size: 1.4rem;
  border-bottom: 1px solid #333333;
  padding-bottom: 8px;
  margin-bottom: 15px;
}

.footer-bottom, .privacy {
  margin-top: 30px;
  border-top: 1px solid #222222;
  padding-top: 20px;
  font-size: 0.85rem;
  color: #888888;
  background-color: #0a0a0a;
}


/* ==========================================================================
   9. BOTÃO FLUTUANTE DO WHATSAPP
   ========================================================================== */
/* Estilo Flutuante do Botão WhatsApp com Animação */
.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #25d366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none !important;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  
  /* Aplica a animação de pulsar e esticar continuamente */
  animation: pulseStretch 2.5s infinite ease-in-out;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Efeito ao passar o mouse: pausa a animação e ajusta a cor */
.whatsapp-btn:hover {
  animation-play-state: paused;
  background-color: #128c7e;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.05);
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  margin-right: 8px;
}

/* Regra dos Keyframes: Animação de Pulsar e Esticar */
@keyframes pulseStretch {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  14% {
    /* Leve esticada horizontal/vertical e expansão de tamanho */
    transform: scale(1.08, 0.96);
  }
  28% {
    /* Recupera com leve expansão vertical */
    transform: scale(0.96, 1.05);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.7);
  }
  42% {
    /* Retorna quase ao normal com um brilho maior */
    transform: scale(1.03, 1.02);
  }
  56% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
  100% {
    /* Pausa sutil entre os pulsares */
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }
}

/* ==========================================================================
   10. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger-btn { display: flex; }

  .main-nav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #121212;
    border-bottom: 2px solid #FF007F;
  }

  .main-nav.active { display: block; }

  .main-nav ul, nav ul.menu {
    flex-direction: column;
    padding: 15px;
    justify-content: center;
  }

  .logo img {
    max-height: 60px;
  }

  .hero-banner-interno {
    padding: 30px 0;
  }

  .hero-banner-interno .banner-title,
  .hero-banner-interno h2 {
    font-size: 1.5rem;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .hero-banner-interno {
    padding: 20px 0;
  }

  .hero-banner-interno .banner-title,
  .hero-banner-interno h2 {
    font-size: 1.2rem;
  }
}

/* ==========================================================================
   11. COMPONENTES EXCLUSIVOS DA PÁGINA DE CONTATO
   ========================================================================== */
.contact-cards-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #181818;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  border-color: #FF007F;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.15);
}

.contact-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.contact-card-title {
  margin: 0 0 5px 0;
  color: #FF007F;
  font-size: 1.1rem;
}

.contact-card-desc {
  margin: 0;
  font-size: 0.9rem;
  color: #aaaaaa;
}

.contact-card-info {
  margin: 5px 0 0 0;
  font-weight: bold;
  color: #ffffff;
}

.contact-card-hours {
  font-size: 0.85rem;
  color: #888888;
  margin: 8px 0 0 0;
}

.contact-form-wrapper {
  background: #181818;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.contact-form-wrapper .form-title {
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #FF007F;
}

.smoothborder::placeholder {
  color: #777777;
}

.smoothborder:focus {
  border-color: #FF007F;
  background-color: #2a2a2a;
  box-shadow: 0 0 0 3px rgba(255, 0, 127, 0.25);
}

textarea.smoothborder {
  resize: vertical;
  min-height: 100px;
}

.factory-info-section {
  border-top: 1px solid #222222;
  padding-top: 35px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.google-map-responsive {
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.google-map-responsive iframe {
  width: 100%;
  border: 0;
}

/* ==========================================================================
   12. AJUSTE VISUAL FINAL DO HERO INTERNO
   Mantém apenas a personalização intencional do título, sem repetir o grid.
   ========================================================================== */
.hero-banner-interno .banner-title {
  color: #B38728;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
  letter-spacing: 1px;
}

/* ==========================================================================
   13. RESPONSIVIDADE EXTRA DA PÁGINA DE CONTATO
   ========================================================================== */
@media (max-width: 767px) {
  .contact-card-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-card-row .btn-primary,
  .contact-card-row .btn-secondary {
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }
}

/* ==========================================================================
   Especial  DA PÁGINA DE Capitone para galeria
   ========================================================================== */

  :root {
    --primary-color: #1a1a1a;
    --accent-color: #8b0000;
    --text-color: #333333;
    --bg-light: #f9f9f9;
    --border-color: #e0e0e0;
    --gap-size: 24px;
  }

  /* Layout principal */
  .container-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px;
    box-sizing: border-box;
  }

  /* Grid Responsivo para Galerias */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--gap-size);
    margin: 25px 0 35px 0;
  }

  .gallery-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  }

  .gallery-card figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .gallery-card figcaption {
    padding: 12px 15px;
    font-size: 0.9rem;
    color: var(--text-color);
    line-height: 1.4;
    background: #fff;
    margin-top: auto;
  }

  /* Bloco Misto (Imagem + Conteúdo CTA) */
  .split-block {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-size);
    align-items: center;
    margin: 30px 0;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
  }

  .split-block .split-image {
    flex: 1 1 300px;
  }

  .split-block .split-content {
    flex: 2 1 400px;
  }

  .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 15px;
  }

  .btn-primary, .btn-youtube {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.2s ease;
  }

  .btn-primary {
    background-color: var(--accent-color);
    color: #ffffff !important;
  }

  .btn-youtube {
    background-color: #cc0000;
    color: #ffffff !important;
  }

  .btn-primary:hover, .btn-youtube:hover {
    opacity: 0.9;
  }

  /* Ajustes gerais de tipografia e botões em telas menores */
  @media (max-width: 768px) {
    .container-page {
      padding: 15px;
    }
    .cta-buttons {
      flex-direction: column;
    }
    .btn-primary, .btn-youtube {
      width: 100%;
      text-align: center;
    }
  }

 /* P dos links soltos com imagen nas páginas */
.modelo-chesterfield {
  margin: 18px 0 10px;
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 700;
}

.modelo-chesterfield a {
  color: #38bdf8; /* Azul claro elegante */;
  text-decoration: none;
}

.modelo-chesterfield a:hover {
  text-decoration: underline;
}