/* 
Theme Name:		 techlage child 
Theme URI:		 http://childtheme-generator.com/
Description:	 techlage child  is a child theme of TechLage, created by ChildTheme-Generator.com
Author:			 Eriel Miquilino
Author URI:		 http://childtheme-generator.com/
Template:		 techlage
Version:		 1.0.0
Text Domain:	 techlage-child
*/

/* ===================================
   RESET E BASE
   =================================== */
* {
  box-sizing: border-box;
}

html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body::after {
  content: '';
  display: table;
  clear: both;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #111827;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* ===================================
   WHATSAPP FLOATING BUTTON
   =================================== */
.whatsapp-float {
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;
  z-index: 999999 !important;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
  pointer-events: none;
  display: block !important;
}

.whatsapp-float.show {
  opacity: 1 !important;
  transform: scale(1) !important;
  pointer-events: auto !important;
}

.whatsapp-float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #20ba5a);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float-btn:hover {
  background: linear-gradient(135deg, #20ba5a, #1da851);
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.whatsapp-float-btn svg {
  transition: transform 0.3s ease;
}

.whatsapp-float-btn:hover svg {
  transform: scale(1.1);
}

@keyframes whatsapp-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }
  
  .whatsapp-float-btn {
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-float-btn svg {
    width: 26px;
    height: 26px;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
  }
  
  .whatsapp-float-btn svg {
    width: 24px;
    height: 24px;
  }
}

/* ===================================
   MANUTENÇÃO DESABILITADA
   =================================== */
.manutencao-desabilitado {
  text-align: center;
  padding: 4rem 2rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.desabilitado-icon {
  margin-bottom: 2rem;
  opacity: 0.8;
}

.desabilitado-titulo {
  font-size: 2.5rem;
  color: #f59e0b;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.desabilitado-mensagem {
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.desabilitado-mensagem p {
  font-size: 1.125rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 0;
}

.desabilitado-contato {
  margin-top: 1.5rem;
}

.desabilitado-contato p {
  margin-bottom: 1rem;
  color: #374151;
  font-weight: 600;
}

.btn-whatsapp {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  gap: 0.5rem;
}

/* Responsivo para mensagem desabilitada */
@media (max-width: 768px) {
  .manutencao-desabilitado {
    padding: 3rem 1rem;
    min-height: 50vh;
  }
  
  .desabilitado-titulo {
    font-size: 2rem;
  }
  
  .desabilitado-icon svg {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .desabilitado-titulo {
    font-size: 1.75rem;
  }
  
  .desabilitado-mensagem p {
    font-size: 1rem;
  }
  
  .desabilitado-icon svg {
    width: 50px;
    height: 50px;
  }
}

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

/* ===================================
   HEADER
   =================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
  margin: 0;
  border: 0;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.site-header.scrolled .header-container {
  padding: 0 20px;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  text-decoration: none;
  color: inherit;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-image img {
  max-height: 40px;
  width: auto;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #16a34a;
  line-height: 1.2;
}

.site-tagline {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
  line-height: 1.1;
}

.site-navigation .nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.site-navigation .nav-menu li {
  display: inline-block;
}

.site-navigation .nav-menu a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
  position: relative;
}

.site-navigation .nav-menu a:hover {
  color: #16a34a;
}

.site-navigation .nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #16a34a;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.site-navigation .nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle .hamburger {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #374151;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ===================================
   HERO SECTION
   =================================== */
.tl-hero {
  padding: 20px 0 80px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #ffffff 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.tl-hero::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  top: -250px;
  right: -250px;
  z-index: 0;
}

.tl-hero__content {
  position: relative;
  z-index: 1;
}

.tl-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #064e3b;
  font-weight: 800;
}

.tl-hero .lead {
  color: #6b7280;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.tl-hero .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Otimização para CTA único */
.tl-hero .actions:has(.btn:only-child) {
  justify-content: center;
}

.tl-hero .actions .btn:only-child {
  min-width: 240px;
}

/* ===================================
   BOTÕES
   =================================== */
.btn,
.btn:link,
.btn:visited,
.btn:active {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 50px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary,
.btn-primary:link,
.btn-primary:visited,
.btn-primary:active {
  background-color: #16a34a;
  color: #ffffff !important;
  border-color: #16a34a;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: #15803d;
  border-color: #15803d;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.2);
}

.btn-outline,
.btn-outline:link,
.btn-outline:visited,
.btn-outline:active {
  background-color: transparent;
  color: #16a34a !important;
  border-color: #16a34a;
  text-decoration: none;
}

.btn-outline:hover {
  background-color: #16a34a;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-comprar,
.btn-comprar:link,
.btn-comprar:visited,
.btn-comprar:active {
  background-color: #16a34a;
  color: #ffffff !important;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  text-decoration: none;
}

.btn-comprar:hover {
  background-color: #15803d;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ===================================
   MARCAS/BRANDS CAROUSEL
   =================================== */
.tl-brands {
  padding: 3rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #e8fdf1 100%);
  border-top: 1px solid rgba(22, 163, 74, 0.1);
  border-bottom: 1px solid rgba(22, 163, 74, 0.1);
  overflow: hidden !important;
  position: relative;
}

.tl-brands::before,
.tl-brands::after {
  content: '';
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.tl-brands::before {
  left: 0;
  background: linear-gradient(to right, #f0fdf4, transparent);
}

.tl-brands::after {
  right: 0;
  background: linear-gradient(to left, #e8fdf1, transparent);
}

.brands-carousel-wrapper {
  width: 100%;
  overflow: hidden !important;
  position: relative;
  max-width: 100vw;
}

.brands-carousel {
  display: flex;
  align-items: center;
  height: 150px;
  width: 100%;
}

.brands-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: scroll-brands 30s linear infinite !important;
  animation-fill-mode: both;
  animation-play-state: running !important;
  will-change: transform;
  -webkit-animation: scroll-brands 30s linear infinite !important;
  -moz-animation: scroll-brands 30s linear infinite !important;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

@keyframes scroll-brands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / 2));
  }
}

@-webkit-keyframes scroll-brands {
  from {
    -webkit-transform: translate3d(0, 0, 0);
  }
  to {
    -webkit-transform: translate3d(-50%, 0, 0);
  }
}

@-moz-keyframes scroll-brands {
  from {
    -moz-transform: translate3d(0, 0, 0);
  }
  to {
    -moz-transform: translate3d(-50%, 0, 0);
  }
}

.brand-item {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(22, 163, 74, 0.1);
  transition: all 0.3s ease;
}

.brand-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.15);
}

.brand-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  opacity: 1;
  transition: all 0.3s ease;
}


.brand-placeholder {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
  padding: 1rem;
}

/* Pausar animação ao passar o mouse */
.brands-carousel:hover .brands-track {
  animation-play-state: paused;
}

/* Responsivo do Carousel */
@media (max-width: 768px) {
  .tl-brands {
    padding: 2rem 0;
  }
  
  .brands-track {
    gap: 2rem;
    animation-duration: 25s;
  }
  
  .brand-item {
    width: 120px;
    height: 120px;
  }
  
  .brand-logo {
    width: 90px;
    height: 90px;
  }
  
  .tl-brands::before,
  .tl-brands::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .brands-track {
    gap: 1.5rem;
    animation-duration: 20s;
  }
  
  .brand-item {
    width: 100px;
    height: 100px;
  }
  
  .brand-logo {
    width: 75px;
    height: 75px;
  }
}

/* Respeitar preferências de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .brands-track {
    animation: none;
  }
  
  .brand-item,
  .brand-logo {
    transition: none;
  }
}

/* ===================================
   SEÇÕES
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #064e3b;
}

.section-header p {
  color: #6b7280;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

.tl-services,
.tl-equip {
  padding: 5rem 0;
}

.tl-services {
  background-color: #f9fafb;
}

/* ===================================
   CARDS GRID
   =================================== */
.grid {
  display: grid;
  gap: 2rem;
}

.cards {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Otimização para poucos cards - compatibilidade universal */
.cards {
  place-items: center;
}

.produtos-grid {
  place-items: center;
}

/* Fallback para browsers sem suporte a place-items */
.cards,
.produtos-grid {
  justify-items: center;
  align-items: start;
}

/* ===================================
   SERVICE CARDS
   =================================== */
.service-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

.service-card:hover::before {
  transform: translateX(0);
}

.service-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card .icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #064e3b;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===================================
   PRODUCT CARDS
   =================================== */
.product-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card .thumb {
  display: block;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f3f4f6;
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.05);
}

.product-card .content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card .title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: #111827;
  font-weight: 600;
}

.product-card .meta {
  margin-bottom: 1.5rem;
  flex: 1;
}

.product-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #16a34a;
}

.product-card .actions {
  display: flex;
  gap: 0.75rem;
}

.product-card .actions .btn {
  flex: 1;
  text-align: center;
  padding: 0.625rem 1rem;
}

/* Correção específica para botão comprar - força cor branca */
.product-card .actions .btn-primary,
.product-card .actions .btn-primary:link,
.product-card .actions .btn-primary:visited,
.product-card .actions .btn-primary:active {
  color: #ffffff !important;
  text-decoration: none;
}

.product-card .actions .btn-primary:hover {
  color: #ffffff !important;
  background-color: #15803d;
  border-color: #15803d;
}

/* ===================================
   PRODUTOS SHORTCODE
   =================================== */
.produtos-destaque {
  margin: 3rem 0;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.produto-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
}

.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.produto-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.produto-titulo {
  font-size: 1.125rem;
  margin: 1rem 0 0.5rem;
  color: #111827;
  font-weight: 600;
}

.produto-titulo a,
.produto-titulo a:link,
.produto-titulo a:visited,
.produto-titulo a:active {
  color: #111827 !important;
  text-decoration: none;
}

.produto-titulo a:hover {
  color: #16a34a !important;
  text-decoration: none;
}

.produto-preco {
  font-size: 1.375rem;
  font-weight: 700;
  color: #16a34a;
  margin-bottom: 1rem;
}

.product-description,
.produto-description {
  margin: 0.5rem 0;
}

.product-description p,
.produto-description p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.produtos-cta {
  text-align: center;
  margin-top: 3rem;
}

.btn-ver-todos {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.tl-about {
  padding: 5rem 0;
  background-color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.about-overlay {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem 0;
  border-radius: 0;
}

.tl-about[style*="background-image"] {
  color: #ffffff;
}

.tl-about[style*="background-image"] .about-overlay {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
}

.tl-about[style*="background-image"] .section-header h2 {
  color: #ffffff;
}

.tl-about[style*="background-image"] .about-subtitle {
  color: #e5e7eb;
}

.tl-about[style*="background-image"] .wysiwyg {
  color: #f3f4f6;
}

.about-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 2rem;
  font-weight: 500;
}

.tl-about .wysiwyg {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: #4b5563;
  line-height: 1.8;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.tl-contact {
  padding: 5rem 0;
  background-color: #f9fafb;
}

.tl-contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #064e3b;
}

.two-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   FORMULÁRIOS (WPForms)
   =================================== */
.wpforms-container {
  margin-top: 2rem;
}

.wpforms-form .wpforms-field {
  margin-bottom: 1.5rem;
}

.wpforms-form .wpforms-field-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea,
.wpforms-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background-color: #ffffff;
}

.wpforms-form input[type="text"]:focus,
.wpforms-form input[type="email"]:focus,
.wpforms-form input[type="tel"]:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.wpforms-form button[type="submit"],
.wpforms-submit {
  background-color: #16a34a;
  color: #ffffff;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.wpforms-form button[type="submit"]:hover,
.wpforms-submit:hover {
  background-color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(22, 163, 74, 0.2);
}

/* ===================================
   CTA SECTIONS
   =================================== */
.section-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.muted {
  color: #6b7280;
}

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

/* ===================================
   SINGLE PRODUTO - LAYOUT MELHORADO
   =================================== */
.single-produto {
  padding: 4rem 0 0 0;
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  margin-top: 0;
}

.single-produto .container {
  flex: 1;
}

.produto-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 1rem;
}

.produto-header .produto-titulo {
  font-size: 2.5rem;
  color: #064e3b;
  margin-bottom: 1rem;
}

/* Layout em duas colunas */
.produto-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

/* Galeria de Imagens (Esquerda) */
.produto-gallery {
  position: sticky;
  top: 100px;
}

.produto-image-main {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.produto-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.produto-image:hover {
  transform: scale(1.02);
}

.produto-image-placeholder {
  background: #f9fafb;
  border: 2px dashed #d1d5db;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  color: #6b7280;
}

.produto-image-placeholder p {
  margin-top: 1rem;
  font-size: 1rem;
  color: #9ca3af;
}

/* Informações do Produto (Direita) */
.produto-info {
  padding: 1.5rem 0;
}

.produto-preco-section {
  margin-bottom: 2rem;
}

.produto-preco-section .produto-preco {
  font-size: 2.5rem;
  font-weight: 700;
  color: #16a34a;
  margin: 0;
  line-height: 1.2;
}

.produto-badges {
  margin-bottom: 2.5rem;
}

.produto-cta {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
}

.produto-cta h3 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 1rem;
  font-weight: 600;
}

.produto-cta p {
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.produto-cta .btn-comprar {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  width: 100%;
  max-width: 280px;
}

/* Descrição do Produto (Largura Total) */
.produto-description {
  border-top: 1px solid #e5e7eb;
  padding-top: 3rem;
  margin-bottom: 3rem;
}

.produto-description h3 {
  font-size: 1.75rem;
  color: #111827;
  margin-bottom: 1.5rem;
  text-align: center;
}

.produto-conteudo {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto;
}

.produto-conteudo h2,
.produto-conteudo h3 {
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.produto-conteudo ul,
.produto-conteudo ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

/* Descrição Detalhada ACF */
.produto-description-acf {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.produto-description-acf::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  border-radius: 16px 16px 0 0;
}

.produto-descricao-detalhada {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #374151;
  max-width: 800px;
  margin: 0 auto;
}

.produto-descricao-detalhada p {
  margin-bottom: 1.5rem;
}

.produto-descricao-detalhada p:last-child {
  margin-bottom: 0;
}

.produto-descricao-detalhada h2,
.produto-descricao-detalhada h3,
.produto-descricao-detalhada h4 {
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.produto-descricao-detalhada ul,
.produto-descricao-detalhada ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: #4b5563;
}

.produto-descricao-detalhada ul li,
.produto-descricao-detalhada ol li {
  margin-bottom: 0.5rem;
}

.produto-descricao-detalhada strong {
  color: #111827;
  font-weight: 600;
}

.produto-descricao-detalhada em {
  color: #16a34a;
  font-style: normal;
  font-weight: 500;
}

/* Breadcrumb */
.breadcrumb {
  margin-bottom: 2rem;
  margin-top: 1rem;
  padding-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

.breadcrumb a {
  color: #16a34a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: #15803d;
  text-decoration: underline;
}

.breadcrumb .separator {
  margin: 0 0.5rem;
  color: #d1d5db;
}

/* Badges - ajustado para nova posição */
.produto-info .produto-badges {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

/* Badges gerais */
.produto-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #f0fdf4;
  color: #16a34a;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
}

.badge svg {
  width: 16px;
  height: 16px;
}

/* Post Navigation */
.navigation.post-navigation {
  margin-top: 4rem;
  margin-bottom: 3rem;
  padding-top: 3rem;
  padding-bottom: 2rem;
  border-top: 1px solid #e5e7eb;
}

.navigation.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

.navigation.post-navigation .nav-previous,
.navigation.post-navigation .nav-next {
  flex: 1;
}

.navigation.post-navigation a {
  display: block;
  text-decoration: none;
  color: #4b5563;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.navigation.post-navigation a:hover {
  border-color: #16a34a;
  background-color: #f0fdf4;
}

.navigation.post-navigation .nav-subtitle {
  display: block;
  font-size: 0.875rem;
  color: #16a34a;
  margin-bottom: 0.25rem;
}

.navigation.post-navigation .nav-title {
  display: block;
  font-weight: 600;
  color: #111827;
}

/* ===================================
   ARCHIVE PRODUTO
   =================================== */
.page-header-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #ffffff 100%);
  padding: 2rem 0 4rem 0;
  text-align: center;
  margin-bottom: 3rem;
  margin-top: 0;
  position: relative;
  top: 0;
}

/* Simplificado: page-header sem espaço extra */
body.archive .page-header-section,
body.post-type-archive-produto .page-header-section {
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

/* Formulário de Filtros */
.produtos-filter {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.filter-form {
  margin-bottom: 1.5rem;
}

.filter-group {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1.5rem;
  align-items: end;
}

.search-field {
  position: relative;
  flex: 1;
}

.search-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.search-input {
  width: 100%;
  padding: 0.6rem 1rem;
  padding-right: 3rem;
  border: 1px solid #d1d5db;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background-color: #ffffff;
  height: 42px;
}

.search-input:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  pointer-events: none;
}

.price-filter {
  min-width: 180px;
}

.price-filter label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.price-select {
  width: 100%;
  padding: 0.6rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: #ffffff;
  transition: border-color 0.3s ease;
  height: 42px;
}

.price-select:focus {
  outline: none;
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.1);
}

.filter-actions {
  display: flex;
  gap: 0.75rem;
  align-items: end;
}

.filter-actions .btn {
  white-space: nowrap;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Contador de resultados */
.results-info {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.results-count {
  color: #6b7280;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 500;
}

/* Loading state para botão */
.btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Screen reader only */
.screen-reader-text {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Responsivo do filtro */
@media (max-width: 768px) {
  .produtos-filter {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .filter-group {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .filter-actions {
    justify-content: center;
  }
  
  .filter-actions .btn {
    flex: 1;
    max-width: 140px;
  }
}

@media (max-width: 480px) {
  .produtos-filter {
    padding: 1rem;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  
  .filter-actions {
    flex-direction: column;
  }
  
  .filter-actions .btn {
    width: 100%;
    max-width: none;
  }
}

.page-header .page-title {
  font-size: 2.5rem;
  color: #064e3b;
  margin-bottom: 0.5rem;
}

.page-header .page-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

.archive-content {
  padding-bottom: 5rem;
}

.produto-thumb-link {
  display: block;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.produto-thumb-placeholder {
  width: 100%;
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-acoes {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.produto-acoes .btn {
  flex: 1;
}

/* Correção específica para botões nos cards de produto da archive */
.produto-acoes .btn-outline,
.produto-acoes .btn-outline:link,
.produto-acoes .btn-outline:visited,
.produto-acoes .btn-outline:active {
  color: #16a34a !important;
  background-color: transparent;
  border-color: #16a34a;
  text-decoration: none;
}

.produto-acoes .btn-outline:hover {
  background-color: #16a34a;
  color: #ffffff !important;
}

.produto-acoes .btn-comprar,
.produto-acoes .btn-comprar:link,
.produto-acoes .btn-comprar:visited,
.produto-acoes .btn-comprar:active {
  background-color: #16a34a;
  color: #ffffff !important;
  text-decoration: none;
}

.produto-acoes .btn-comprar:hover {
  background-color: #15803d;
  color: #ffffff !important;
}

.no-results {
  text-align: center;
  padding: 4rem 0;
  max-width: 600px;
  margin: 0 auto;
}

.no-results-icon {
  margin-bottom: 2rem;
  opacity: 0.7;
}

.no-results h3 {
  font-size: 1.75rem;
  color: #111827;
  margin-bottom: 1rem;
  font-weight: 600;
}

.no-results p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.no-results-suggestions {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.no-results-suggestions h4 {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
  font-weight: 600;
}

.no-results-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.no-results-suggestions li {
  padding: 0.5rem 0;
  color: #6b7280;
  font-size: 0.95rem;
  position: relative;
  padding-left: 1.5rem;
}

.no-results-suggestions li::before {
  content: '•';
  color: #16a34a;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.no-results-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.no-results-actions .btn {
  min-width: 180px;
}

/* Responsivo para no-results */
@media (max-width: 480px) {
  .no-results {
    padding: 3rem 1rem;
  }
  
  .no-results h3 {
    font-size: 1.5rem;
  }
  
  .no-results p {
    font-size: 1rem;
  }
  
  .no-results-suggestions {
    margin-left: -1rem;
    margin-right: -1rem;
    border-radius: 8px;
  }
  
  .no-results-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .no-results-actions .btn {
    width: 100%;
    max-width: 280px;
    min-width: auto;
  }
}

/* Paginação Melhorada */
.pagination-wrapper {
  margin-top: 4rem;
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.page-numbers {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.page-numbers a,
.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 50px;
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.page-numbers a:hover {
  background-color: #16a34a;
  border-color: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.page-numbers .current {
  background-color: #16a34a;
  color: #ffffff;
  border-color: #16a34a;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.page-numbers .prev,
.page-numbers .next {
  padding: 0.5rem 1rem;
  min-width: auto;
  border-radius: 50px;
  font-size: 0.95rem;
}

.page-numbers .dots {
  border: none;
  background: none;
  color: #9ca3af;
  font-weight: 700;
}

.page-numbers .dots:hover {
  background: none;
  color: #9ca3af;
  transform: none;
  box-shadow: none;
}

/* Info da paginação */
.pagination-info {
  margin-top: 1.5rem;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Responsivo da paginação */
@media (max-width: 480px) {
  .pagination-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
  }
  
  .page-numbers {
    gap: 0.25rem;
  }
  
  .page-numbers a,
  .page-numbers span {
    min-width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .page-numbers .prev,
  .page-numbers .next {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: center;
  }
  
  .produtos-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: center;
  }
  
  .tl-hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  
  .logo-container {
    gap: 8px;
  }
  
  .logo-image img {
    max-height: 32px;
  }
  
  .site-title {
    font-size: 1.25rem;
  }
  
  .site-tagline {
    font-size: 0.75rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .site-navigation {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: #ffffff;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .site-navigation.active {
    left: 0;
  }
  
  .site-navigation .nav-menu {
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
  }
  
  .site-navigation .nav-menu li {
    width: 100%;
  }
  
  .site-navigation .nav-menu a {
    display: block;
    padding: 0.75rem;
    font-size: 16px;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .site-navigation .nav-menu a::after {
    display: none;
  }
  
  .tl-hero {
    padding: 20px 0 60px;
  }
  
  .tl-hero h1 {
    font-size: 2rem;
  }
  
  .tl-hero .lead {
    font-size: 1.125rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .brands {
    gap: 2rem;
  }
  
  .product-card .thumb {
    height: 200px;
  }
  
  /* Centralização dos botões em tablets */
  .product-card .actions {
    justify-content: center;
  }
  
  .produto-acoes {
    justify-content: center;
  }
  
  /* Layout responsivo para single produto */
  .produto-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  
  .produto-gallery {
    position: relative;
    top: auto;
    order: 1;
  }
  
  .produto-info {
    order: 2;
    padding: 0;
  }
  
  .produto-info .produto-badges {
    justify-content: center;
  }
  
  .produto-preco-section .produto-preco {
    text-align: center;
    font-size: 2rem;
  }

  /* Padding removido - agora aplicado especificamente */
  
  /* Específico para single produto em mobile */
  body.single-produto-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }
}

@media (max-width: 480px) {
  .logo-container {
    gap: 6px;
  }
  
  .logo-image img {
    max-height: 28px;
  }
  
  .site-title {
    font-size: 1.125rem;
  }
  
  .site-tagline {
    font-size: 0.7rem;
  }
  
  .tl-hero .actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .product-card .actions {
    flex-direction: column;
    align-items: center;
  }
  
  .product-card .actions .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Centralização dos botões de produtos na archive */
  .produto-acoes {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .produto-acoes .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Grid de produtos em mobile */
  .produtos-grid,
  .grid.cards {
    grid-template-columns: 1fr;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
    place-items: center;
  }
  
  .produto-card,
  .product-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
}

/* ===================================
   MAIN CONTENT
   =================================== */
main, .site-main, .tl-home {
  flex: 1;
  margin-top: 0;
  padding-top: 0;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background-color: #111827;
  color: #f9fafb;
  padding: 3rem 0 2rem;
  margin-top: auto;
  flex-shrink: 0;
  position: relative;
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #111827;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Dados de Contato (Esquerda) */
.footer-contact {
  flex: 1;
  max-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  color: #16a34a;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.contact-item span {
  flex: 1;
}

/* Centralização específica para mobile */
@media (max-width: 768px) {
  .contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 0 auto;
  }
  
  .contact-item span {
    margin-left: 0.5rem;
    flex: none;
  }
}

/* Redes Sociais (Direita) */
.footer-social {
  flex-shrink: 0;
  text-align: center;
}

.social-title {
  color: #f9fafb;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 0;
  line-height: 1.4;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 0.3s ease;
  transform: scale(0);
  z-index: 1;
}

.social-link svg {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

/* Facebook */
.social-link.facebook {
  color: #1877f2;
  border: 2px solid #1877f2;
}

.social-link.facebook::before {
  background-color: #1877f2;
}

.social-link.facebook:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.3);
}

.social-link.facebook:hover::before {
  transform: scale(1);
}

/* Instagram */
.social-link.instagram {
  color: #e4405f;
  border: 2px solid #e4405f;
}

.social-link.instagram::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(228, 64, 95, 0.3);
}

.social-link.instagram:hover::before {
  transform: scale(1);
}

/* LinkedIn */
.social-link.linkedin {
  color: #0077b5;
  border: 2px solid #0077b5;
}

.social-link.linkedin::before {
  background-color: #0077b5;
}

.social-link.linkedin:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 119, 181, 0.3);
}

.social-link.linkedin:hover::before {
  transform: scale(1);
}

/* TikTok */
.social-link.tiktok {
  color: #ff0050;
  border: 2px solid #ff0050;
}

.social-link.tiktok::before {
  background: linear-gradient(45deg, #ff0050 0%, #00f2ea 100%);
}

.social-link.tiktok:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 0, 80, 0.3);
}

.social-link.tiktok:hover::before {
  transform: scale(1);
}

/* Copyright */
.footer-copyright {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.5;
}

/* Responsivo Footer */
@media (max-width: 768px) {
  .site-footer {
    padding: 2rem 0 1.5rem;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 2.5rem;
    text-align: center;
    max-width: none;
  }
  
  .footer-contact {
    max-width: none;
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-social {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .social-title {
    font-size: 1rem;
    margin-bottom: 1.25rem;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
    gap: 1.25rem;
  }
  
  .social-link {
    width: 44px;
    height: 44px;
  }
  
  .social-link svg {
    width: 20px;
    height: 20px;
  }
  
  .contact-item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    font-size: 0.9rem;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .contact-item span {
    margin-left: 0;
    flex: none;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-content {
    gap: 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .social-title {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .social-links {
    gap: 1rem;
    justify-content: center;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link svg {
    width: 18px;
    height: 18px;
  }
  
  .footer-contact {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    text-align: center;
  }
  
  .footer-social {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
  }
  
  .contact-item {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    font-size: 0.85rem;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .contact-item:last-child {
    margin-bottom: 0;
  }
  
  .contact-item span {
    margin-left: 0;
    flex: none;
    text-align: center;
  }
  
  .contact-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-right: 0;
  }
  
  .footer-copyright {
    text-align: center !important;
    width: 100%;
  }
  
  .footer-copyright p {
    font-size: 0.8rem;
    text-align: center;
    margin: 0 auto;
  }
}

/* ===================================
   WORDPRESS SPECIFIC FIXES
   =================================== */
/* Remove any potential white space from WordPress elements */
#wpadminbar {
  display: none !important;
}

/* CORREÇÃO ESPECÍFICA: WordPress Admin Bar */
html {
  margin-top: 0 !important;
}

body {
  margin-top: 0 !important;
}

/* Remover margin-top aplicado pelo admin bar */
.admin-bar body,
.admin-bar html {
  margin-top: 0 !important;
}

/* Força remoção de qualquer margin-top de 32px (admin bar) */
html[style*="margin-top: 32px"],
body[style*="margin-top: 32px"] {
  margin-top: 0 !important;
}

/* Garantir que o site funcione sem admin bar */
body.admin-bar {
  margin-top: 0 !important;
  padding-top: 80px !important;
}

html.admin-bar {
  margin-top: 0 !important;
}

.wp-block-spacer, 
.wp-block-separator,
.entry-footer,
.post-navigation,
.comments-area {
  margin-bottom: 0 !important;
}

/* Remove default WordPress margins that might cause white space */
.wp-site-blocks {
  margin: 0 !important;
}

/* Ensure no floating elements extend beyond footer */
.site-footer ~ * {
  display: none !important;
}

/* EXCEÇÃO: Permitir botão flutuante WhatsApp */
.site-footer ~ #whatsapp-float,
#whatsapp-float {
  display: block !important;
}

/* Remove any potential margin/padding from WordPress generated content */
body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===================================
   SINGLE PRODUTO - RESPONSIVO
   =================================== */
/* Tablets */
@media (max-width: 1024px) {
  .produto-layout {
    gap: 3rem;
  }
  
  .produto-header .produto-titulo {
    font-size: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .produto-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
  }
  
  .produto-gallery {
    position: relative;
    top: auto;
    order: 1;
  }
  
  .produto-info {
    order: 2;
    padding: 0;
  }
  
  .produto-info .produto-badges {
    justify-content: center;
  }
  
  .produto-preco-section .produto-preco {
    text-align: center;
    font-size: 2rem;
  }
  
  .produto-header .produto-titulo {
    font-size: 1.75rem;
  }
  
  .produto-cta {
    padding: 1.5rem;
  }
  
  .produto-description {
    padding-top: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Responsivo para descrição ACF em tablets */
  .produto-description-acf {
    padding: 2rem;
    margin-bottom: 2.5rem;
  }
  
  .produto-descricao-detalhada {
    font-size: 1.05rem;
  }
  
  /* Espaçamento da navegação em tablets */
  .navigation.post-navigation {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
  }
  
  /* Removido: regra geral já atualizada */
}

@media (max-width: 480px) {
  .single-produto {
    padding: 2.5rem 0 0 0;
  }
  
  .produto-header {
    margin-bottom: 2rem;
  }
  
  .produto-layout {
    gap: 2rem;
  }
  
  .produto-cta {
    padding: 1.25rem;
  }
  
  .produto-cta .btn-comprar {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
  }
  
  /* Responsivo para descrição ACF em mobile */
  .produto-description-acf {
    padding: 1.5rem;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  
  .produto-descricao-detalhada {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  /* Espaçamento da navegação em mobile */
  .navigation.post-navigation {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
  }
  
  /* Removido: regra geral já atualizada */
  
  /* Correção footer em mobile para single produto */
  body.single-produto-page {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    overflow-x: hidden;
  }
}

/* Correção do footer para single-produto - baseada nas correções que funcionaram */
body.single-produto-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow-x: hidden;
  height: 100%;
}

body.single-produto-page::after {
  content: '';
  display: table;
  clear: both;
}

body.single-produto-page main {
  flex: 1;
}

body.single-produto-page .single-produto {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
  margin-bottom: 0 !important;
  padding-top: 2rem;
}

body.single-produto-page .single-produto .container {
  flex: 1;
}

body.single-produto-page .site-footer {
  margin-top: auto;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  clear: both;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.single-produto-page .site-footer::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #111827;
}

/* Remove elementos WordPress que podem causar espaço branco */
body.single-produto-page .wp-block-spacer, 
body.single-produto-page .wp-block-separator,
body.single-produto-page .entry-footer,
body.single-produto-page .post-navigation,
body.single-produto-page .comments-area {
  margin-bottom: 0 !important;
}

body.single-produto-page > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.single-produto-page .site-footer ~ * {
  display: none !important;
}

/* EXCEÇÃO: Permitir botão flutuante WhatsApp em páginas de produto */
body.single-produto-page .site-footer ~ #whatsapp-float,
body.single-produto-page #whatsapp-float {
  display: block !important;
}

/* Força viewport sem espaço branco - solução definitiva */
html {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Remove qualquer scroll ou espaço extra */
body.single-produto-page {
  scroll-behavior: smooth;
}

/* Correção específica: eliminar espaço entre header e conteúdo */
body {
  margin-top: 0 !important;
}

body > * {
  margin-top: 0;
}

.tl-home,
.site-main,
.single-produto {
  margin-top: 0 !important;
}

/* Ajustar padding inicial baseado no header fixo */
.tl-home {
  padding-top: 0;
  margin-top: 0;
}

.site-main {
  padding-top: 0;
  margin-top: 0;
}

/* Simplificado: primeira seção sem espaço extra */
body.home .tl-hero,
body.front-page .tl-hero {
  margin-top: 0 !important;
  position: relative;
  z-index: 1;
}

/* Removido: duplicata - regras estão mais abaixo */

/* Garantir que primeira seção não tenha margin extra */
body.home > *:first-child,
body.front-page > *:first-child,
body.archive > *:first-child,
body.post-type-archive-produto > *:first-child,
body.single-produto-page > *:first-child {
  margin-top: 0 !important;
}

/* Força zero margin/padding na primeira seção após header */
body > main:first-of-type,
body > .site-main:first-of-type,
body > .tl-home:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Primeira seção de cada página */
.tl-hero,
.page-header-section {
  margin-top: 0 !important;
}

/* Correção específica para eliminar qualquer espaço fantasma */
body.archive,
body.post-type-archive-produto {
  padding-top: 80px !important;
}

body.home,
body.front-page {
  padding-top: 80px !important;
}

body.single-produto-page {
  padding-top: 80px !important;
}

/* ===================================
   PÁGINA MANUTENÇÃO
   =================================== */
.manutencao-content-main {
  padding-bottom: 5rem;
  min-height: calc(100vh - 80px);
}

.manutencao-content {
  padding: 3rem 0;
}

/* Header personalizado da página de manutenção */
.manutencao-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.manutencao-titulo {
  font-size: 2.75rem;
  color: #064e3b;
  margin-bottom: 1rem;
  font-weight: 800;
}

.manutencao-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* Seção Download PDF */
.pdf-download-section {
  margin-bottom: 4rem;
  text-align: center;
}

.download-card {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 2px solid #bbf7d0;
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.1);
}

.download-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.15);
  border-color: #16a34a;
}

.download-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
}

.download-icon {
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.download-card h3 {
  font-size: 1.75rem;
  color: #064e3b;
  margin-bottom: 1rem;
  font-weight: 700;
}

.download-card p {
  color: #166534;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-size: 1.125rem;
}

.download-btn {
  font-size: 1.125rem;
  padding: 1rem 2rem;
  min-width: 200px;
  border-color: #16a34a;
  color: #16a34a;
}

.download-btn:hover {
  background-color: #16a34a;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Seção Formulário */
.formulario-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 4rem;
}

.formulario-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.formulario-section h2 {
  font-size: 2.25rem;
  color: #064e3b;
  margin-bottom: 1rem;
  font-weight: 700;
}

.formulario-section .muted {
  font-size: 1.125rem;
  margin-bottom: 0;
}

.formulario-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Cards de Informações Adicionais */
.info-adicional {
  margin-top: 4rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #16a34a, #22c55e);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: #d1d5db;
}

.info-card:hover::before {
  transform: translateX(0);
}

.info-icon {
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.info-card h4 {
  font-size: 1.25rem;
  color: #111827;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.info-card p {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Responsivo da Página Manutenção */
@media (max-width: 768px) {
  .manutencao-content {
    padding: 2rem 0;
  }
  
  .manutencao-header {
    margin-bottom: 3rem;
    padding-top: 1.5rem;
  }
  
  .manutencao-titulo {
    font-size: 2.25rem;
  }
  
  .manutencao-subtitle {
    font-size: 1.125rem;
  }
  
  .download-card {
    padding: 2rem 1.5rem;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  
  .download-card h3 {
    font-size: 1.5rem;
  }
  
  .download-card p {
    font-size: 1rem;
  }
  
  .formulario-section {
    padding: 2rem 1.5rem;
    margin-left: -20px;
    margin-right: -20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  
  .formulario-section h2 {
    font-size: 1.875rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .info-card {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .manutencao-header {
    margin-bottom: 2.5rem;
    padding-top: 1rem;
  }
  
  .manutencao-titulo {
    font-size: 1.875rem;
  }
  
  .manutencao-subtitle {
    font-size: 1rem;
  }
  
  .download-card {
    padding: 1.5rem 1rem;
  }
  
  .download-card h3 {
    font-size: 1.25rem;
  }
  
  .download-btn {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    min-width: auto;
    width: 100%;
    max-width: 280px;
  }
  
  .formulario-section {
    padding: 1.5rem 1rem;
  }
  
  .formulario-section h2 {
    font-size: 1.5rem;
  }
  
  .info-card {
    padding: 1.25rem;
  }
  
  .info-icon svg {
    width: 28px;
    height: 28px;
  }
}

/* Página manutenção específica */
body.manutencao-page {
  padding-top: 80px !important;
}

body.manutencao-page > *:first-child {
  margin-top: 0 !important;
}

/* CORREÇÃO DEFINITIVA: Eliminar espaço branco acima do conteúdo */
body::before,
body::after,
main::before,
main::after,
.site-main::before,
.site-main::after {
  display: none !important;
}

/* Força altura específica do header e posicionamento correto */
.site-header {
  height: 80px !important;
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Primeira seção sempre colada ao header */
body > main:first-child,
body > .site-main:first-child {
  position: relative;
  top: 0;
  margin-top: 0 !important;
}

/* Correção específica para classes body do WordPress */
body.post-type-archive-produto,
body.archive {
  margin: 0;
  padding: 0;
  padding-top: 80px !important;
}

body.home,
body.front-page {
  margin: 0;
  padding: 0;  
  padding-top: 80px !important;
}

/* CORREÇÃO FORÇADA: Sobrescrever margin-top aplicado por plugins/WP */
html[style*="margin-top"],
body[style*="margin-top"],
main[style*="margin-top"],
.site-main[style*="margin-top"],
.tl-home[style*="margin-top"],
.page-header-section[style*="margin-top"],
.tl-hero[style*="margin-top"] {
  margin-top: 0 !important;
}

/* Força específica para o valor de 32px */
html[style*="margin-top: 32px"],
body[style*="margin-top: 32px"],
main[style*="margin-top: 32px"],
.site-main[style*="margin-top: 32px"] {
  margin-top: 0 !important;
}

/* Correção geral para qualquer elemento com margin-top inline */
*[style*="margin-top"] {
  margin-top: 0 !important;
}

/* Específico para elementos principais que podem receber CSS inline */
body.post-type-archive-produto *[style*="margin-top"],
body.archive *[style*="margin-top"],
body.home *[style*="margin-top"],
body.front-page *[style*="margin-top"] {
  margin-top: 0 !important;
}

/* Correção específica apenas para elementos principais */
main,
.site-main,
.tl-home {
  transform: none !important;
}

/* Última tentativa: reset completo de espaçamentos problemáticos */
body.post-type-archive-produto main,
body.archive main {
  margin: 0 !important;
  padding: 0 !important;
}

body.post-type-archive-produto .page-header-section,
body.archive .page-header-section {
  margin: 0 !important;
  margin-bottom: 3rem !important;
}

/* Aplicar correção específica no mobile também */
@media (max-width: 768px) {
  body.single-produto-page {
    height: auto;
    min-height: 100vh;
    max-height: none;
  }
}
