/* Layout, Espaçamento e Respiro – Comando 3.1 e 3.2
   - Padding vertical das seções: 100px 0
   - Cards com border-radius: 8px e sombra sutil */

/* Espaçamento vertical consistente nas seções principais */
section,
.section,
.hero,
.features,
.services,
.products,
.contact,
.cta,
.testimonials,
.clients,
.about {
  padding: 56px 0 !important;
}

/* Responsivo: reduzir alturas em telas pequenas */
@media (max-width: 768px) {
  section,
  .section,
  .hero,
  .features,
  .services,
  .products,
  .contact,
  .cta,
  .testimonials,
  .clients,
  .about {
    padding: 40px 0 !important;
  }
}

/* Refinamento de cards de serviço/produto e elementos similares */
.service-card,
.product-card,
.card,
.process-step,
.feature-card {
  background: var(--surface-bg, #FFFFFF);
  border-radius: 16px !important; /* Tópico 18: cards com 16px */
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color, rgba(255,255,255,0.10));
  padding: 22px !important;
}

/* Interação sutil ao hover para reforçar o efeito premium */
.service-card:hover,
.product-card:hover,
.card:hover,
.feature-card:hover {
  box-shadow: 0px 6px 28px rgba(0, 0, 0, 0.06);
}

/* Grids mais respirados e responsivos */
.services-grid,
.products-grid,
.process-grid {
  gap: 24px !important;
}

/* Cabeçalhos de seção com acento dourado discreto */
.section-header {
  text-align: center;
  margin-bottom: 40px !important;
}
.section-header h2 {
  color: var(--text-color);
  position: relative;
}
.section-header h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  margin: 12px auto 0;
  background: var(--primary-color);
  border-radius: 999px;
}
.section-header p { color: var(--muted-text) !important; }

/* Comando 11.2 – Separadores sutis entre seções principais */
section + section,
.section + .section,
.hero + section,
section + .cta,
.features + .contact,
.services + .contact,
.products + .contact {
  border-top: 1px solid var(--border-color, #E0E0E0);
}

/* Comando 14.1 – Contato em duas colunas com diferenciação sutil */
.contact-section .contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px; /* identidade oficial: raio base 16px */
  overflow: hidden;
  border: 1px solid var(--border-color, #E0E0E0);
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.07);
}
.contact-section .contact-info {
  background: #FFFFFF;
  padding: 40px;
}
.contact-section .contact-form {
  /* Seção de contato com fundo branco e ocultar antigo banner CTA */
  #contact.contact-form-section { background: #121212; }
  #cta, .cta-section { display: block !important; }
  padding: 40px;
}
@media (max-width: 768px) {
  .contact-section .contact-container { grid-template-columns: 1fr; }
  .contact-section .contact-form { background: #FFFFFF; }
}

/* Mapa com moldura de superfície para harmonizar com o tema */
.map-section .map-container {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* WhatsApp FAB - Topic 42.2 */
.whatsapp-button,
.whatsapp-float a,
.floating-whatsapp {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important; /* tamanho do ícone */
  line-height: 1 !important;
  background: #25D366 !important;
  color: #FFFFFF !important;
  box-shadow: var(--box-shadow) !important;
  z-index: 1300 !important;
}

/* Pill-style variation for .whatsapp-fab */
.whatsapp-fab {
  position: fixed !important;
  right: 18px !important;
  bottom: 18px !important;
  width: auto !important;
  height: 56px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 16px !important;
  background: #C0A062 !important; /* gold */
  color: #1A1A1A !important; /* black text/icons */
  text-decoration: none !important;
  z-index: 1300 !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.28) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  transform: scale(1.25) !important; /* +25% size */
}
.whatsapp-fab i { color: #1A1A1A !important; }
.whatsapp-fab .fab-label, .whatsapp-fab .wa-label { font-weight: 600 !important; }
 
 /* Optional pill label next to icon */
 .whatsapp-fab::after {
   content: attr(data-label);
   margin-left: 8px;
   font-weight: 600;
   background: rgba(0,0,0,0.08);
   color: #111827;
   padding: 6px 10px;
   border-radius: 999px;
 }

/* Simple keyframe for 'notebook opening' icon animation */
@keyframes openNotebook {
  0% { transform: rotateX(0deg); }
  50% { transform: rotateX(35deg); }
  100% { transform: rotateX(0deg); }
}
.whatsapp-fab .fa-laptop { animation: openNotebook 2s ease-in-out infinite; transform-origin: bottom; }
/* Hover for WhatsApp buttons - Topic 42.2 */
.whatsapp-button:hover,
.whatsapp-float a:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px) !important;
  filter: brightness(1.05) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,0.16) !important;
}
.whatsapp-fab:hover {
  transform: scale(1.25) translateY(-2px) !important;
  box-shadow: 0 16px 24px rgba(0,0,0,0.34) !important;
  filter: none !important;
}

/* Footer adjustments - Topic 42.1 */
.footer {
  background: #121212 !important;
  color: #AAAAAA !important;
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}
.footer .footer-simple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
}
.footer .footer-admin { color: #AAAAAA !important; }
.footer .footer-copy { color: #AAAAAA !important; }
.footer .footer-brand { color: #C0A062 !important; font-weight: 600; letter-spacing: 0.6px; transition: color .18s ease; }
.footer .footer-brand:hover { color: #FFFFFF !important; }
.footer-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-left .logo img { height: 44px; }
.footer-center h4, .footer-right h4 { color: var(--text-color); margin-bottom: 12px; }
.footer-nav, .footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-contact i { color: var(--primary-color); margin-right: 8px; }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  margin-top: 28px;
  padding-top: 16px;
  text-align: center;
  color: var(--muted-text);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .footer-content { grid-template-columns: 1fr; }
}

/* Header – Reforço da marca (Comando 20.2 – Opção A) */
.header .container { height: 80px; }
.header .logo img { height: 48px; }
.header .logo span { font-size: 1.3rem; line-height: 1.1; }

/* Footer – Tipografia e ícones sociais (Comando 21.2 e 21.3) */
.footer h4 { color: var(--text-color); }
.footer a { color: var(--text-color); }
.footer a:hover { color: var(--primary-color); }
.footer-bottom { color: var(--muted-text); }
.footer-socials { display: flex; gap: 12px; margin-top: 12px; }
.footer-socials a { font-size: 1.25rem; color: var(--text-color); }
.footer-socials a:hover { color: var(--primary-color); }

/* Tópico 37.3 — Separador dourado abaixo do Hero */
.section-divider {
  height: 3px !important;
  width: 200px !important;
  margin: 24px auto !important;
  border-radius: 3px !important;
  background: linear-gradient(90deg, #D4AF37 0%, #C0A062 100%) !important;
  box-shadow: 0 2px 6px rgba(192, 160, 98, 0.25) !important;
}
/* Tópico 38.1 — Processo em cards (grid 2x2 por padrão) */
.process-section .process-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  justify-items: center !important; /* centraliza os cards no grid */
}
@media (max-width: 1024px) {
  .process-section .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 640px) {
  .process-section .process-grid { grid-template-columns: 1fr !important; }
}
.process-section .process-step {
  background: #FFFFFF !important;
  border-radius: 16px !important;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.07) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  padding: 24px !important;
  transition: all 0.25s ease-in-out !important;
  max-width: 560px !important; /* respirar texto similar aos depoimentos */
  margin: 0 auto !important;

  /* Harmonização tipográfica e layout */
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* Harmonização adicional dos cards do Processo */
.process-section .process-step .number {
  background: linear-gradient(180deg, #D4AF37, #C0A062) !important;
  color: #fff !important;
  border: 1px solid rgba(212,175,55,0.35) !important;
  box-shadow: 0 6px 18px rgba(212,175,55,0.24) !important;
}
.process-section .process-step h4 {
  font-size: 1.12rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  color: var(--text-color) !important;
  margin: 6px 0 8px !important;
}
.process-section .process-step p {
  color: #5f6b7a !important;
  line-height: 1.65 !important;
}
.process-section .process-icon {
  color: #C0A062 !important;
  font-size: 32px !important;
  line-height: 1 !important;
  margin-bottom: 8px !important;
}

/* Topic 39: Sobre Nós consolidated layout */
.about-section { padding-top: 0 !important; }
.about-section .about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-bottom: 0; /* deixar o espaçamento central controlado pelo container dos botões */
}

@media (max-width: 1024px) {
  .about-section .about-columns {
    grid-template-columns: 1fr;
  }
}

.about-section .values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0; /* deixar o espaçamento central controlado pelo container dos botões */
}

@media (max-width: 1024px) {
  .about-section .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .about-section .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Reuse the Process card style for MVV cards */
.about-section .process-step {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.07);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.about-section .process-icon {
  color: #C0A062;
  font-size: 24px;
  margin-bottom: 10px;
}