/* Estilos Customizados & Tema Claro (Light Theme) Moderno GG Piscinas & GG Locações */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Cores Piscinas (Cyan / Ocean) */
  --piscina-primary: #0284c7;
  --piscina-dark: #0369a1;
  --piscina-light: #e0f2fe;

  /* Cores Máquinas (Amber / Industrial) */
  --maquina-primary: #d97706;
  --maquina-dark: #b45309;
  --maquina-light: #fef3c7;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 76px; /* Espaço para a barra de contato fixa no mobile */
}

@media (min-width: 1024px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Painéis de Vidro Claro (Light Glassmorphism) */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px -2px rgba(15, 23, 42, 0.04);
}

/* Efeitos de Sombra e Elevação Suave */
.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.08);
}

/* Scrollbar Customizada Claro */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Barra de Ação Rápida Mobile Fixa */
.mobile-action-bar {
  box-shadow: 0 -4px 20px -2px rgba(15, 23, 42, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 8px);
}

/* Linha do tempo de Sinergia (Timeline Claro) */
.synergy-step::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -24px;
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #0284c7, #f59e0b);
  display: none;
}

@media (min-width: 1024px) {
  .synergy-step::after {
    display: block;
  }
  .synergy-step:last-child::after {
    display: none;
  }
}

/* Preservação Rigorosa das Proporções Originais das Imagens */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Proteção rigorosa e dimensionamento exato para logos (cabeçalho aumentado em 100%, drawer mobile e rodapé) */
.header-logo-img,
nav a img,
nav .brand-logo img,
header img {
  height: 88px !important;
  max-height: 88px !important;
  width: auto !important;
  max-width: 320px !important;
  object-fit: contain !important;
  display: block !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: none !important;
  background: transparent !important;
  filter: none !important;
}

/* Garante espaço e alinhamento do cabeçalho com o novo tamanho do logo */
nav .max-w-7xl > div.flex {
  min-height: 104px !important;
  height: auto !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

/* Espaçamento generoso garantido entre os links e o botão de ação */
nav a[href*="simulador"].rounded-xl {
  margin-left: 1rem;
}

@media (max-width: 640px) {
  .header-logo-img,
  nav a img,
  header img {
    height: 64px !important;
    max-height: 64px !important;
  }
}

#mobile-menu-drawer img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 180px !important;
  object-fit: contain !important;
  display: block !important;
}

footer img {
  height: 36px !important;
  max-height: 36px !important;
  width: auto !important;
  max-width: 140px !important;
  object-fit: contain !important;
  display: block !important;
}

/* ==========================================================================
   CARDS E IMAGENS: PROPORÇÃO ORIGINAL SEM ESPAÇOS EM BRANCO
   ========================================================================== */
main img:not(.header-logo-img):not(nav img):not(footer img):not(#mobile-menu-drawer img),
section img:not(.header-logo-img):not(nav img):not(footer img):not(#mobile-menu-drawer img),
.catalog-card-item img,
#catalog-grid img,
.space-y-4 img,
.product-card img,
.catalog-item-card img,
.card-img-wrapper img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
  margin: 0 !important;
  display: block !important;
}

/* Containers de fotos dos cards: moldam-se 100% à proporção da imagem sem faixas vazias */
.catalog-card-item > div > div:first-child,
#catalog-grid > div > div:first-child,
.catalog-card-item .relative.w-full.overflow-hidden,
.product-card > div:first-child,
.card-img-wrapper,
.space-y-4 > div.rounded-2xl,
.space-y-4 > div.rounded-xl {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 !important;
  background-color: #ffffff !important;
  overflow: hidden !important;
}






