/* ==========================================================================
   AZUL COMEX DISTRIBUIDORA - DESIGN SYSTEM & STYLESHEET
   Paleta: Tons de Azul Oceano/Piscina + Toque Verão Laranja Solar
   Foco: B2B para Lojistas e Revendedores de Piscinas, Insumos e Peças
   Otimizado para: Desktop, Tablets e Smartphones Estreitos (Samsung S24, etc.)
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Blue Palette (Destaque Principal) */
  --blue-950: #021226;
  --blue-900: #062347;
  --blue-850: #0a3160;
  --blue-800: #0c3e7c;
  --blue-700: #0052a3;
  --blue-600: #0066cc;
  --blue-500: #0284c7;
  --blue-400: #0ea5e9;
  --blue-300: #38bdf8;
  --blue-200: #7dd3fc;
  --blue-100: #e0f2fe;
  --blue-50:  #f0f9ff;

  /* Summer Orange Palette (Toque Verão / Ações Principais) */
  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-300: #fdba74;
  --orange-100: #ffedd5;
  --orange-50:  #fff7ed;

  /* Amber & Solar Accents */
  --solar-gold: #ffaa00;
  --cyan-accent: #06b6d4;
  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Elevations */
  --container-max: 1240px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(6, 35, 71, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(6, 35, 71, 0.10);
  --shadow-lg: 0 16px 36px -6px rgba(6, 35, 71, 0.14);
  --shadow-xl: 0 24px 50px -10px rgba(6, 35, 71, 0.20);
  --shadow-orange: 0 12px 30px -4px rgba(249, 115, 22, 0.40);
  --shadow-glow: 0 0 35px rgba(2, 132, 199, 0.35);

  /* Transitions */
  --trans-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--trans-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  box-sizing: border-box;
}

/* --- Utility Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* --- Top Utility Bar --- */
.top-bar {
  background: linear-gradient(90deg, var(--blue-950) 0%, var(--blue-900) 100%);
  color: var(--white);
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 50;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-200);
  font-weight: 500;
  flex-wrap: wrap;
}

.top-bar-badge {
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.top-bar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.84rem;
  transition: color var(--trans-fast);
}

.top-contact-link:hover {
  color: var(--orange-400);
}

.top-contact-link svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --- Main Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(12, 62, 124, 0.08);
  box-shadow: 0 4px 20px -2px rgba(6, 35, 71, 0.05);
  transition: all var(--trans-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 30px -4px rgba(6, 35, 71, 0.12);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 20px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform var(--trans-fast);
}

.brand-logo:hover {
  transform: scale(1.02);
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--blue-900);
  padding: 6px 0;
  position: relative;
  transition: color var(--trans-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  border-radius: 2px;
  transition: width var(--trans-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue-600);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Primary, Blue and WhatsApp Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.96rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-normal);
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--orange-400) 0%, var(--orange-500) 100%);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(249, 115, 22, 0.50);
  color: var(--white);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-800) 100%);
  color: var(--white);
  box-shadow: 0 10px 25px -4px rgba(0, 102, 204, 0.40);
}

.btn-blue:hover {
  background: linear-gradient(135deg, var(--blue-500) 0%, var(--blue-700) 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -4px rgba(0, 102, 204, 0.55);
  color: var(--white);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue-900);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp-hero {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.40);
}

.btn-whatsapp-hero:hover {
  background: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(37, 211, 102, 0.55);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--blue-900);
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background-color: var(--blue-950);
  overflow: hidden;
  padding: 60px 0 100px 0;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.85);
  transform: scale(1.03);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1.00); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(2, 18, 38, 0.94) 0%,
    rgba(6, 35, 71, 0.82) 48%,
    rgba(0, 102, 204, 0.55) 100%
  );
  z-index: 2;
}

.hero-sunburst-accent {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  max-width: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.28) 0%, rgba(255, 158, 0, 0.08) 50%, transparent 70%);
  filter: blur(60px);
  z-index: 3;
  pointer-events: none;
}

.hero-water-accent {
  position: absolute;
  bottom: -20%;
  left: 20%;
  width: 450px;
  height: 450px;
  max-width: 80vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%);
  filter: blur(70px);
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 820px;
  color: var(--white);
  width: 100%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  box-shadow: 0 0 10px var(--orange-500);
  flex-shrink: 0;
  animation: blink 2s infinite ease-in-out;
}

@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
  word-break: break-word;
}

.hero-title .highlight-blue {
  color: var(--blue-300);
}

.hero-title .highlight-summer {
  color: var(--orange-400);
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(0.98rem, 1.8vw, 1.25rem);
  color: var(--blue-100);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 720px;
  font-weight: 400;
  word-break: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  width: 100%;
}

/* Floating B2B Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  width: 100%;
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform var(--trans-normal), background var(--trans-normal);
  box-sizing: border-box;
  min-width: 0;
}

.hero-stat-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-3px);
  border-color: rgba(251, 146, 60, 0.4);
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3) 0%, rgba(249, 115, 22, 0.3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.stat-icon-wrap svg {
  width: 20px;
  height: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  word-break: break-word;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--blue-200);
  font-weight: 500;
  word-break: break-word;
}

/* Wave Divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 15;
  pointer-events: none;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 48px;
}

.wave-divider .shape-fill {
  fill: var(--gray-50);
}

/* --- Section Shared Headers --- */
.section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px auto;
  box-sizing: border-box;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
  max-width: 100%;
  box-sizing: border-box;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--blue-950);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.6;
  word-break: break-word;
}

/* --- Product Categories Section --- */
.products-section {
  background: var(--gray-50);
}

.products-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 38px;
  width: 100%;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  background: var(--white);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--trans-fast);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.filter-btn:hover {
  color: var(--blue-600);
  border-color: var(--blue-300);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 6px 18px -2px rgba(0, 102, 204, 0.35);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(12, 62, 124, 0.08);
  display: flex;
  flex-direction: column;
  transition: all var(--trans-normal);
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(2, 132, 199, 0.25);
}

.product-image-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: var(--gray-200);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-category-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 35, 71, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-summer-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange-500);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.product-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 8px;
  line-height: 1.3;
  word-break: break-word;
}

.product-summary {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.5;
  word-break: break-word;
}

.product-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.product-specs-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-700);
  font-weight: 500;
}

.spec-check-icon {
  width: 18px;
  height: 18px;
  color: var(--orange-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.product-stock-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  font-weight: 600;
  color: #15803d;
}

.stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
}

.product-cta-btn {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--blue-100);
  transition: all var(--trans-fast);
  cursor: pointer;
}

.product-cta-btn:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

/* Quick Inquiry Callout */
.catalog-callout-banner {
  margin-top: 40px;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
}

.callout-text h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 6px;
  word-break: break-word;
}

.callout-text p {
  color: var(--blue-100);
  font-size: 0.94rem;
  word-break: break-word;
}

.callout-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* --- Reseller Advantages Section --- */
.advantages-section {
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.advantage-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  transition: all var(--trans-normal);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--orange-500));
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.advantage-card:hover {
  transform: translateY(-4px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--orange-50) 100%);
  border: 1px solid var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: 18px;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.advantage-card:hover .advantage-icon-box {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-600) 100%);
  color: var(--white);
  border-color: transparent;
  transform: scale(1.06);
}

.advantage-icon-box svg {
  width: 24px;
  height: 24px;
}

.advantage-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 8px;
  word-break: break-word;
}

.advantage-desc {
  font-size: 0.90rem;
  color: var(--gray-600);
  line-height: 1.55;
  word-break: break-word;
}

/* --- About Azul Comex Section --- */
.about-section {
  background: linear-gradient(180deg, var(--gray-50) 0%, #eef5fc 100%);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.about-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.about-lead {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--blue-800);
  margin-bottom: 14px;
  line-height: 1.4;
  word-break: break-word;
}

.about-text {
  font-size: 0.96rem;
  color: var(--gray-600);
  margin-bottom: 18px;
  line-height: 1.65;
  word-break: break-word;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 26px;
  width: 100%;
}

.about-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--white);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
  min-width: 0;
}

.pillar-icon {
  color: var(--orange-500);
  margin-top: 2px;
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.pillar-text h4 {
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--blue-950);
  word-break: break-word;
}

.pillar-text p {
  font-size: 0.78rem;
  color: var(--gray-500);
  word-break: break-word;
}

.about-card-visual {
  position: relative;
  min-width: 0;
}

.about-card-main {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--blue-100);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.about-logo-display {
  max-width: 250px;
  width: 100%;
  height: auto;
  margin-bottom: 22px;
}

.about-kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-100);
  width: 100%;
}

.about-kpi-item {
  padding: 8px;
  min-width: 0;
}

.kpi-big {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--blue-600);
  line-height: 1;
  margin-bottom: 4px;
  word-break: break-word;
}

.kpi-big.orange {
  color: var(--orange-500);
}

.kpi-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  font-weight: 600;
  word-break: break-word;
}

/* --- Contact & Wholesale Quote Section ("Última Dobra Inferior") --- */
.contact-section {
  background: linear-gradient(145deg, var(--blue-950) 0%, var(--blue-900) 50%, var(--blue-850) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.contact-section-decor {
  position: absolute;
  top: -150px;
  right: -150px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: flex-start;
  width: 100%;
}

/* Contact Info Column */
.contact-info-col {
  padding-right: 10px;
  min-width: 0;
}

.contact-info-col .section-tag {
  background: rgba(255, 122, 0, 0.18);
  color: var(--orange-400);
}

.contact-info-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 14px;
  word-break: break-word;
}

.contact-info-col p {
  color: var(--blue-100);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 30px;
  word-break: break-word;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
  width: 100%;
}

.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: all var(--trans-fast);
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.contact-channel-card:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateX(4px);
  border-color: var(--orange-400);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.phone {
  background: rgba(2, 132, 199, 0.25);
  color: var(--blue-300);
}

.channel-icon.whatsapp {
  background: rgba(37, 211, 102, 0.25);
  color: #4ade80;
}

.channel-icon svg {
  width: 22px;
  height: 22px;
}

.channel-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.channel-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--blue-200);
  font-weight: 600;
}

.channel-value {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 700;
  color: var(--white);
  word-break: break-word;
}

.contact-security-badges {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.security-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  color: var(--blue-200);
}

.security-badge-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange-400);
  flex-shrink: 0;
}

/* Contact Form Box (Glassmorphism & Security Protected) */
.contact-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  color: var(--gray-800);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}

.form-header-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue-950);
  margin-bottom: 6px;
  word-break: break-word;
}

.form-header-subtitle {
  font-size: 0.88rem;
  color: var(--gray-500);
  margin-bottom: 24px;
  word-break: break-word;
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
  width: 100%;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 5px;
}

.form-label .req {
  color: var(--orange-500);
}

.input-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 12px;
  color: var(--gray-400);
  pointer-events: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.form-control {
  width: 100%;
  padding: 12px 14px 12px 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200);
  background-color: var(--gray-50);
  color: var(--gray-800);
  font-size: 0.92rem;
  transition: all var(--trans-fast);
  outline: none;
  box-sizing: border-box;
}

.form-control:focus {
  background-color: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.form-control:user-invalid {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.form-control:user-valid:not(:placeholder-shown) {
  border-color: #22c55e;
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 32px;
}

textarea.form-control {
  padding-left: 12px;
  resize: vertical;
  min-height: 80px;
}

.honeypot-trap {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: clamp(0.92rem, 3.2vw, 1.05rem);
  font-weight: 800;
  margin-top: 8px;
  position: relative;
  text-align: center;
  white-space: normal;
  word-break: break-word;
  line-height: 1.3;
}

.form-security-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 12px;
  text-align: center;
}

.form-security-note svg {
  width: 14px;
  height: 14px;
  color: #16a34a;
  flex-shrink: 0;
}

/* Form Response Messages */
.form-response-alert {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.90rem;
  font-weight: 600;
  align-items: center;
  gap: 10px;
  word-break: break-word;
}

.form-response-alert.success {
  display: flex;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.form-response-alert.error {
  display: flex;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Spinner */
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

.loading .spinner {
  display: inline-block;
}

.loading .btn-text {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Floating WhatsApp Pulse Button ("Parte inferior direita") --- */
.whatsapp-floating-pulse {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.whatsapp-pulse-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: transform var(--trans-fast);
}

.whatsapp-pulse-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65);
}

.whatsapp-pulse-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.55);
  animation: waPulse 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
  z-index: -1;
  pointer-events: none;
}

.pulse-ring-delayed {
  animation-delay: 0.9s;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.85; }
  100% { transform: scale(2.2); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--blue-950);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: all var(--trans-fast);
  display: flex;
  align-items: center;
  gap: 8px;
}

.whatsapp-floating-pulse:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.tooltip-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
  flex-shrink: 0;
}

/* --- Footer --- */
.site-footer {
  background: var(--blue-950);
  color: var(--blue-100);
  padding: 50px 0 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--blue-200);
  font-size: 0.90rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 340px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--orange-500);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--blue-200);
  font-size: 0.88rem;
  transition: color var(--trans-fast);
}

.footer-links-list a:hover {
  color: var(--orange-400);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--blue-200);
}

.footer-contact-item svg {
  width: 17px;
  height: 17px;
  color: var(--orange-400);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.80rem;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS (TABLETS & CELLPHONES)
   ========================================================================== */

/* Tablets / Medium Desktops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding: 60px 0;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .top-bar-notice {
    justify-content: center;
    font-size: 0.78rem;
  }

  .top-bar-contacts {
    gap: 14px;
    justify-content: center;
  }

  .brand-logo {
    height: 42px;
    max-width: 175px;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px;
    gap: 18px;
    border-bottom: 2px solid var(--blue-600);
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--trans-normal);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav-toggle {
    display: block;
  }

  .header-cta-group .btn {
    display: none;
  }

  .hero-section {
    padding: 40px 0 80px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-image-wrap {
    height: 220px;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .product-footer .product-cta-btn {
    width: 100%;
    justify-content: center;
  }

  .catalog-callout-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 20px;
    text-align: center;
  }

  .callout-actions {
    flex-direction: column;
    width: 100%;
  }

  .callout-actions .btn {
    width: 100%;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
  }

  .about-card-main {
    padding: 24px 18px;
  }

  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-box {
    padding: 28px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* Narrow Smartphones & Samsung S24 Optimization (<= 480px / 360px - 412px) */
@media (max-width: 480px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-bar {
    padding: 6px 0;
  }

  .top-bar-notice {
    font-size: 0.74rem;
    text-align: center;
  }

  .top-bar-contacts {
    flex-direction: column;
    gap: 4px;
  }

  .top-contact-link {
    font-size: 0.78rem;
  }

  .navbar {
    height: 64px;
  }

  .brand-logo {
    height: 38px;
    max-width: 155px;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.94rem;
  }

  .hero-actions .btn {
    padding: 12px 14px;
    font-size: 0.90rem;
    white-space: normal;
  }

  .hero-stat-card {
    padding: 12px 14px;
  }

  .stat-icon-wrap {
    width: 36px;
    height: 36px;
  }

  .stat-number {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-subtitle {
    font-size: 0.92rem;
  }

  /* Filter buttons: Horizontal swipeable chips on narrow screens */
  .products-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 4px 6px 12px 6px;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .products-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
    flex-shrink: 0;
  }

  .product-info {
    padding: 18px 14px;
  }

  .product-title {
    font-size: 1.20rem;
  }

  .product-summary {
    font-size: 0.88rem;
  }

  .product-specs-item {
    font-size: 0.82rem;
  }

  .advantage-card {
    padding: 22px 16px;
  }

  .about-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .kpi-big {
    font-size: 1.65rem;
  }

  .contact-channel-card {
    padding: 14px;
    gap: 12px;
  }

  .channel-icon {
    width: 40px;
    height: 40px;
  }

  .channel-value {
    font-size: 1.05rem;
  }

  .contact-form-box {
    padding: 22px 14px;
    border-radius: var(--radius-md);
  }

  .form-header-title {
    font-size: 1.20rem;
  }

  .form-header-subtitle {
    font-size: 0.84rem;
  }

  .form-control {
    padding: 11px 12px 11px 36px;
    font-size: 0.88rem;
  }

  .form-submit-btn {
    padding: 13px 14px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .whatsapp-pulse-btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-pulse-btn svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-floating-pulse {
    bottom: 16px;
    right: 16px;
  }
}
