/* ═══════════════════════════════════════════════════════════════
   GUZTEC - CHEMICAL TECHNOLOGY & INNOVATION
   Design System & Global Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────── */
/* 1. CSS VARIABLES - DESIGN TOKENS */
/* ─────────────────────────────────────────────────────────────── */

:root {
  /* Colors - Refinadas */
  --color-navy-primary: #0f3554;      /* Navy vibrante (novo) */
  --color-navy-dark: #002147;         /* Navy escuro */
  --color-navy-medium: #003366;       /* Navy médio */
  --color-gold-primary: #d6a700;      /* Dourado vibrante (novo) */
  --color-gold: #DAA520;              /* Dourado padrão */
  --color-gold-light: #f4d03f;        /* Dourado claro (novo) */
  --color-gold-dark: #b8860b;         /* Dourado escuro (novo) */
  --color-white: #FFFFFF;
  --color-gray-light: #f8f9fa;        /* Cinza claro (novo) */
  --color-gray-medium: #e9ecef;       /* Cinza médio (novo) */
  --color-gray-dark: #6c757d;         /* Cinza escuro (novo) */
  --color-text-dark: #1A1A1A;
  --color-text-medium: #666666;

  /* Overlays */
  --overlay-navy: rgba(15, 53, 84, 0.9);
  --overlay-navy-light: rgba(15, 53, 84, 0.85);
  --overlay-gold: rgba(214, 167, 0, 0.1);
  --overlay-gold-medium: rgba(214, 167, 0, 0.3);

  /* Typography - Refinada */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --font-size-hero: 3.5rem;
  --font-size-h1: 3rem;
  --font-size-h2: 2.25rem;            /* Ajustado */
  --font-size-h3: 1.5rem;             /* Ajustado */
  --font-size-h4: 1.25rem;            /* Ajustado */
  --font-size-body: 1rem;
  --font-size-small: 0.875rem;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.2;           /* Novo */
  --line-height-normal: 1.5;          /* Novo */
  --line-height-relaxed: 1.7;         /* Novo */
  --letter-spacing-tight: -0.5px;     /* Novo */
  --letter-spacing-normal: -0.3px;    /* Novo */

  /* Spacing (8px system) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 8rem;

  /* Effects - Refinados */
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-gold: 0 4px 15px rgba(214, 167, 0, 0.3);
  --shadow-gold-hover: 0 6px 20px rgba(214, 167, 0, 0.4);
  --shadow-hover: 0 12px 40px rgba(214, 167, 0, 0.2);
  --shadow-text: 2px 2px 8px rgba(0, 0, 0, 0.3);
  --transition-smooth: 0.3s ease;
  --transition-fast: 0.2s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-card: 12px;         /* Aumentado */
  --border-radius-button: 30px;       /* Aumentado */
  --border-radius-input: 8px;         /* Novo */

  /* Layout */
  --container-max-width: 1280px;
  --header-height: 80px;
  
  /* Refinamento Dourado - Contorno Azul + Brilho */
  --gold-border-color: rgba(0, 33, 71, 0.25);
  --gold-border-subtle: rgba(0, 33, 71, 0.15);
  --gold-shine: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.4) 0%, 
    rgba(255, 255, 255, 0) 50%, 
    rgba(255, 255, 255, 0.2) 100%);
}

/* ─────────────────────────────────────────────────────────────── */
/* 1.5. ACABAMENTO REFINADO DOURADO - CONTORNO AZUL + BRILHO SUTIL */
/* ─────────────────────────────────────────────────────────────── */

/* Botões dourados - contorno azul + brilho */
.btn-primary,
.btn.btn-primary,
a.btn-primary {
  border: 1px solid var(--gold-border-color) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 12px rgba(218, 165, 32, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.btn.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  box-shadow: 
    0 0 0 1px var(--gold-border-color),
    0 6px 20px rgba(218, 165, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Ícones hexagonais dourados */
.icon-hexagon,
.hexagon-icon {
  border: 1px solid var(--gold-border-color) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 15px rgba(218, 165, 32, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.3),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.icon-hexagon::after,
.hexagon-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(255, 255, 255, 0.3) 0%, 
    transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.icon-hexagon:hover,
.hexagon-icon:hover {
  box-shadow: 
    0 0 0 2px var(--gold-border-color),
    0 6px 20px rgba(218, 165, 32, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* Elementos circulares dourados (badges, stats) */
[style*="background: #DAA520"][style*="border-radius: 50%"],
[style*="background:#DAA520"][style*="border-radius: 50%"] {
  border: 1px solid var(--gold-border-color) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 12px rgba(218, 165, 32, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.35);
}

/* Textos dourados - sombra azul sutil */
[style*="color: #DAA520"],
[style*="color:#DAA520"],
h2[style*="color: #DAA520"],
h3[style*="color: #DAA520"],
.innovation-title[style*="color: #DAA520"] {
  text-shadow: 
    0 0 1px rgba(0, 33, 71, 0.2),
    0 1px 3px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(218, 165, 32, 0.3);
  filter: brightness(1.05) contrast(1.02);
}

/* Linha decorativa dourada após títulos */
.section-title::after,
.section-title-refined::after {
  border: 1px solid var(--gold-border-subtle) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 2px 8px rgba(218, 165, 32, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════════════════════════
   REGRAS ABRANGENTES - TODOS OS ELEMENTOS DOURADOS INLINE
   ═══════════════════════════════════════════════════════════════ */

/* Todos os elementos com background dourado (inline styles) */
[style*="background: #DAA520"],
[style*="background:#DAA520"],
[style*="background-color: #DAA520"],
[style*="background-color:#DAA520"] {
  border: 1px solid var(--gold-border-color) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 15px rgba(218, 165, 32, 0.3),
    inset 0 2px 4px rgba(255, 255, 255, 0.35),
    inset 0 -2px 4px rgba(0, 0, 0, 0.1) !important;
  position: relative;
}

/* Elementos com background dourado que têm ::before ou ::after */
[style*="background: #DAA520"]::before,
[style*="background:#DAA520"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    transparent 50%, 
    rgba(255, 255, 255, 0.15) 100%);
  pointer-events: none;
  border-radius: inherit;
  opacity: 0.7;
  z-index: 1;
}

/* Cards/boxes com border dourado */
[style*="border: 2px solid #DAA520"],
[style*="border: 4px solid #DAA520"],
[style*="border-left: 4px solid #DAA520"],
[style*="border-color: #DAA520"] {
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 20px rgba(218, 165, 32, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Números/textos grandes dourados (estatísticas) */
div[style*="font-size: 2.5rem"][style*="color: #DAA520"],
div[style*="font-size: 3rem"][style*="color: #DAA520"],
div[style*="font-size: 3.5rem"][style*="color: #DAA520"] {
  text-shadow: 
    0 0 2px rgba(0, 33, 71, 0.25),
    0 2px 4px rgba(0, 0, 0, 0.15),
    0 0 30px rgba(218, 165, 32, 0.4) !important;
  filter: brightness(1.08) contrast(1.03);
  font-weight: 700;
}

/* Badges/labels dourados */
[style*="background: #DAA520"][style*="padding"] {
  border: 1px solid var(--gold-border-color) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 12px rgba(218, 165, 32, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15) !important;
}

/* Hover do menu - refinamento especial */
.nav-menu li a:hover,
.nav-menu li a.active {
  border: 1px solid var(--gold-border-color) !important;
  box-shadow: 
    0 0 0 1px var(--gold-border-subtle),
    0 4px 12px rgba(218, 165, 32, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* Animação de brilho no hover do menu */
.nav-menu li a {
  position: relative;
  overflow: hidden;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3), 
    transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.nav-menu li a:hover::before,
.nav-menu li a.active::before {
  left: 100%;
}

/* Language selector hover refinamento */
.lang-option:hover,
.lang-option.active {
  box-shadow: 
    0 0 0 2px var(--gold-border-color),
    0 4px 12px rgba(218, 165, 32, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* ─────────────────────────────────────────────────────────────── */
/* 2. RESET & BASE STYLES */
/* ─────────────────────────────────────────────────────────────── */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-dark);
  line-height: var(--line-height-relaxed);  /* 1.7 - mais legível */
  overflow-x: hidden;
  padding-top: 220px; /* Aumentado para vídeo aparecer inteiro abaixo do header */
  transition: padding-top 0.3s ease;
}

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ─────────────────────────────────────────────────────────────── */
/* 3. TYPOGRAPHY */
/* ─────────────────────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-dark);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-normal);
}

p {
  margin-bottom: var(--space-sm);
}

/* ─────────────────────────────────────────────────────────────── */
/* 4. LAYOUT UTILITIES */
/* ─────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-title {
  text-align: center;
  font-size: var(--font-size-h2);
  color: var(--color-navy-dark);
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-gold);
  margin: var(--space-sm) auto 0;
}

/* ─────────────────────────────────────────────────────────────── */
/* 5. HEADER & NAVIGATION */
/* ─────────────────────────────────────────────────────────────── */

/* Header unificado - Logo + Navegação juntos */
.header-unified,
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 0.18rem 0; /* Reduzido 30%: 0.25 × 0.7 = 0.175 */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-unified .container,
.header .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.18rem; /* Reduzido 30%: 0.25 × 0.7 = 0.175 */
}

/* Container dentro do nav-wrapper (para centralizar conteúdo) */
.nav-wrapper-full-width .container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Seção da Logo - Centralizada */
.logo-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0; /* Zero padding - mínimo absoluto */
  text-align: center;
  overflow: visible;
  width: 100%;
  transition: opacity 0.3s ease, max-height 0.3s ease, margin-bottom 0.3s ease;
}

/* Wrapper para bordas douradas de ponta a ponta */
.nav-wrapper-full-width {
  width: 100%;
  /* border-top removida - apenas borda inferior */
  border-bottom: 2px solid var(--color-gold);
  background: var(--color-white);
}

/* Seção de Navegação - Abaixo da logo */
.nav-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.56rem; /* Reduzido 30%: 0.8 × 0.7 = 0.56 */
  padding: 0.18rem 0; /* Reduzido 30%: 0.25 × 0.7 = 0.175 */
  flex-wrap: wrap;
}

/* Header - Tamanho fixo (não muda ao rolar) */
/* .scrolled removido - logo mantém tamanho constante */

/* Regras antigas .header removidas - usando apenas .header-unified */

/* Container antigo removido - agora usando .header-unified .container */

/* Regra removida - já definida acima na linha 488 */

/* Navegação no header unificado */
.nav-section {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Menu à esquerda, bandeiras à direita */
  width: 100%;
  flex-wrap: nowrap; /* Mantém tudo em uma linha */
  gap: 1rem;
}

/* Regra removida - agora usando .header-unified.scrolled */

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-image {
  height: auto !important; /* Altura automática */
  width: 420px !important; /* Reduzido 30%: 600px × 0.7 = 420px */
  min-width: 420px !important;
  max-width: 90vw !important; /* Máximo 90% da tela */
  object-fit: contain;
  transition: var(--transition-smooth);
  margin: 0 auto;
  display: block;
  transform: none;
}

/* Logo tamanho fixo - regra .scrolled removida (não muda ao rolar) */

.logo-image:hover {
  transform: scale(1.05); /* Hover suave */
}

.logo-hexagon {
  width: 50px;
  height: 50px;
  background: var(--color-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-dark);
}

.logo-text {
  display: none; /* Logo real já tem o texto */
}

.logo-title {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  font-family: var(--font-heading);
  line-height: 1;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--color-gold);
  font-weight: var(--font-weight-normal);
}

/* Navigation */
nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
  margin: 0;
  flex: 1; /* Ocupa espaço disponível */
  justify-content: center; /* Centraliza os links */
}

.nav-menu li a {
  color: var(--color-navy-dark);
  font-weight: var(--font-weight-semibold);
  padding: 0.25rem 0.5rem; /* Reduzido 30%: 0.35 × 0.7 = 0.245, 0.7 × 0.7 = 0.49 */
  font-size: 0.85rem; /* Fonte reduzida proporcionalmente */
  border-radius: var(--border-radius-button);
  transition: var(--transition-smooth);
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background: var(--color-gold);
  color: var(--color-navy-dark);
}

/* Language Selector - Na mesma linha do menu, à direita */
.language-selector {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto; /* Empurra para a direita */
  padding: 0.25rem 0.35rem;
  background: rgba(218, 165, 32, 0.1);
  border-radius: 50px;
  border: 1px solid rgba(218, 165, 32, 0.3);
  flex-shrink: 0; /* Não encolhe */
}

.lang-option {
  width: 20px; /* Reduzido 30%: 24 × 0.7 = 16.8 ≈ 20px */
  height: 20px; /* Reduzido 30% */
  min-width: 20px !important; /* Força largura mínima */
  min-height: 20px !important; /* Força altura mínima */
  max-width: 20px !important; /* Força largura máxima */
  max-height: 20px !important; /* Força altura máxima */
  border-radius: 50% !important;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3); /* Borda mais fina */
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  padding: 0 !important;
  position: relative;
  flex-shrink: 0 !important; /* Previne distorção */
  aspect-ratio: 1 / 1 !important; /* Força proporção 1:1 (círculo perfeito) */
}

.lang-option::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, transparent 0%, rgba(218, 165, 32, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lang-option:hover::before {
  opacity: 1;
}

.lang-option img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 50% !important;
  position: relative;
  z-index: 1;
  display: block !important; /* Remove espaçamento extra */
  margin: 0 !important;
  padding: 0 !important;
}

.lang-option:hover {
  transform: translateY(-2px) scale(1.1);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(218, 165, 32, 0.4);
}

.lang-option.active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.2),
              0 4px 12px rgba(218, 165, 32, 0.3);
  transform: scale(1.05);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: var(--color-navy-dark);
  transition: var(--transition-smooth);
}

/* ─────────────────────────────────────────────────────────────── */
/* 6. HERO BANNER INDUSTRIAL */
/* ─────────────────────────────────────────────────────────────── */

.hero-banner-industrial {
  width: 100%;
  height: 360px; /* Reduzido 10% (400px → 360px) */
  /* margin-top calculado dinamicamente por js/main.js */
  overflow: hidden;
  position: relative;
  background: #000;
}

.hero-banner-video,
.hero-banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-banner-video {
  position: absolute;
  top: 0;
  left: 0;
  background: url('../images/hero-banner-industrial.jpg') center/cover no-repeat;
}

/* Overlay escuro sutil para legibilidade */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 33, 71, 0.3) 0%,
    rgba(0, 33, 71, 0.5) 50%,
    rgba(0, 33, 71, 0.7) 100%
  );
  z-index: 1;
}

/* Conteúdo sobre o vídeo */
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 90%;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

/* Título com efeito de luz dourada */
.banner-title {
  font-size: 3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 
    0 0 20px rgba(218, 165, 32, 0.8),
    0 0 40px rgba(218, 165, 32, 0.6),
    0 0 60px rgba(218, 165, 32, 0.4),
    2px 2px 10px rgba(0, 0, 0, 0.8);
  animation: glowPulse 3s ease-in-out infinite;
}

/* Subtítulo com glow sutil */
.banner-subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  color: #FFFFFF;
  line-height: 1.6;
  text-shadow: 
    0 0 15px rgba(218, 165, 32, 0.5),
    0 0 30px rgba(218, 165, 32, 0.3),
    2px 2px 8px rgba(0, 0, 0, 0.8);
  opacity: 0.95;
}

/* Animação de pulso dourado */
@keyframes glowPulse {
  0%, 100% {
    text-shadow: 
      0 0 20px rgba(218, 165, 32, 0.8),
      0 0 40px rgba(218, 165, 32, 0.6),
      0 0 60px rgba(218, 165, 32, 0.4),
      2px 2px 10px rgba(0, 0, 0, 0.8);
  }
  50% {
    text-shadow: 
      0 0 30px rgba(218, 165, 32, 1),
      0 0 50px rgba(218, 165, 32, 0.8),
      0 0 80px rgba(218, 165, 32, 0.6),
      2px 2px 10px rgba(0, 0, 0, 0.8);
  }
}

/* Animação de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner-industrial {
    height: 250px;
    margin-top: 70px;
  }
  
  .banner-title {
    font-size: 2rem;
  }
  
  .banner-subtitle {
    font-size: 1.1rem;
  }
  
  .banner-content {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-banner-industrial {
    height: 200px;
  }
  
  .banner-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .banner-subtitle {
    font-size: 0.95rem;
  }
  
  .banner-content {
    padding: 1rem;
  }
}

/* ─────────────────────────────────────────────────────────────── */
/* 7. HEXAGON COMPONENTS */
/* ─────────────────────────────────────────────────────────────── */

.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-icon {
  width: 120px;
  height: 120px;
  background: var(--color-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: var(--transition-smooth);
}

.hexagon-icon i {
  font-size: 3rem;
  color: var(--color-white);
}

.hexagon-decorative {
  position: absolute;
  opacity: 0.05;
  pointer-events: none;
}

.hexagon-decorative.top-right {
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
}

.hexagon-decorative.bottom-left {
  bottom: -50px;
  left: -50px;
  width: 250px;
  height: 250px;
}

/* SVG Hexagon Outline */
.hexagon-outline {
  width: 150px;
  height: 150px;
  opacity: 0.2;
}

.hexagon-outline polygon {
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1;
}

/* ─────────────────────────────────────────────────────────────── */
/* 7. BUTTONS */
/* ─────────────────────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 14px 40px;
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  border-radius: var(--border-radius-button);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-light) 100%);
  color: var(--color-navy-primary);
  border: none;
  box-shadow: var(--shadow-gold);
  font-weight: var(--font-weight-semibold);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-hover);
  background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-gold-primary) 100%);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-secondary:hover {
  background: var(--color-white);
  color: var(--color-navy-dark);
}

.btn-angular {
  clip-path: polygon(
    0% 0%,
    calc(100% - 12px) 0%,
    100% 50%,
    calc(100% - 12px) 100%,
    0% 100%,
    12px 50%
  );
  padding: 16px 48px;
}

/* ─────────────────────────────────────────────────────────────── */
/* 8. CARDS */
/* ─────────────────────────────────────────────────────────────── */

.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-medium);
  border-radius: var(--border-radius-card);
  padding: var(--space-md);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-gold);
}

.card-title {
  font-size: var(--font-size-h3);
  color: var(--color-navy-dark);
  margin-bottom: var(--space-sm);
  text-align: center;
}

.card-text {
  color: var(--color-text-medium);
  line-height: 1.7;
  text-align: center;
  margin-bottom: var(--space-md);
}

/* Expertise Card */
.expertise-card {
  text-align: center;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.expertise-card .icon-hexagon {
  margin-bottom: 1.5rem;
}

.expertise-card .card-title {
  margin-bottom: 1rem;
}

.expertise-card .card-text {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.expertise-card .btn {
  margin-top: auto;
}

.expertise-card .hexagon-icon:hover {
  transform: rotate(180deg) scale(1.1);
}

/* ─────────────────────────────────────────────────────────────── */
/* 9. HERO SECTION */
/* ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
  margin-top: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 33, 71, 0.85) 0%,
    rgba(0, 51, 102, 0.7) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  text-shadow: var(--shadow-text);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-lg);
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 2rem;
  color: var(--color-gold);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

/* Hero Internal (Pages) */
.hero-internal {
  min-height: 360px; /* Reduzido 10% (400px → 360px) */
  margin-top: 200px; /* Espaço para o header fixo */
  background: var(--color-navy-dark);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* Abaixo do header (z-index: 1000) */
}

/* Marca d'água hexagonal (pseudo-elemento para não conflitar com backgrounds inline) */
.hero-internal::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/watermark-guztec-hexagon.png');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 80%; /* 80% do tamanho para não ocupar tudo */
  opacity: 0.08; /* Muito sutil, apenas 8% de opacidade */
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: overlay; /* Blend mode para integrar com o fundo */
}

/* Garantir que o conteúdo fique acima da marca d'água */
.hero-internal > * {
  position: relative;
  z-index: 2;
}

/* Hero Content - Centralizado */
.hero-internal .hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-internal .hero-title {
  font-size: var(--font-size-h1);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

.hero-internal .hero-subtitle {
  text-align: center;
  margin-top: 1rem;
}

.breadcrumb {
  color: var(--color-gold);
  font-size: var(--font-size-small);
  margin-top: var(--space-sm);
}

.breadcrumb span {
  margin: 0 var(--space-xs);
}

/* ─────────────────────────────────────────────────────────────── */
/* 10. FOOTER */
/* ─────────────────────────────────────────────────────────────── */

.footer {
  background: var(--color-navy-dark);
  color: var(--color-white);
  padding: var(--space-lg) 0 var(--space-md);
  position: relative;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-column h4 {
  color: var(--color-gold);
  font-size: var(--font-size-h4);
  margin-bottom: var(--space-md);
}

.footer-column p,
.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-column a:hover {
  color: var(--color-gold);
  padding-left: 5px;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-tagline {
  font-style: italic;
  color: var(--color-gold);
  margin-bottom: var(--space-sm);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  background: var(--color-white);
  color: var(--color-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
  font-size: 18px;
  text-decoration: none;
}

.social-icon i {
  line-height: 1;
}

.social-icon:hover {
  background: var(--color-gold);
  transform: translateY(-5px);
}

/* Copyright */
.footer-copyright {
  text-align: center;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: var(--font-size-small);
  color: rgba(255, 255, 255, 0.7);
}

/* ─────────────────────────────────────────────────────────────── */
/* FOUNDER STORY SECTION */
/* ─────────────────────────────────────────────────────────────── */

/* Cards da timeline hover */
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* Responsivo para a seção do fundador */
@media (max-width: 768px) {
  .innovation-grid {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────── */
/* 11. GRID SYSTEM */
/* ─────────────────────────────────────────────────────────────── */

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ─────────────────────────────────────────────────────────────── */
/* 12. UTILITY CLASSES */
/* ─────────────────────────────────────────────────────────────── */

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

.text-gold {
  color: var(--color-gold);
}

.bg-white {
  background: var(--color-white);
}

.bg-gray {
  background: var(--color-gray-light);
}

.bg-navy {
  background: var(--color-navy-dark);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.relative {
  position: relative;
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─────────────────────────────────────────────────────────────── */
/* 13. DESIGN REFINEMENTS - HEXAGONS & VISUAL ENHANCEMENTS */
/* ─────────────────────────────────────────────────────────────── */

/* Padrão hexagonal de fundo para seções */
.hexagon-pattern-bg {
  position: relative;
  overflow: hidden;
}

.hexagon-pattern-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(30deg, transparent 45%, rgba(214, 167, 0, 0.03) 45%, rgba(214, 167, 0, 0.03) 55%, transparent 55%),
    linear-gradient(150deg, transparent 45%, rgba(214, 167, 0, 0.03) 45%, rgba(214, 167, 0, 0.03) 55%, transparent 55%);
  background-size: 60px 104px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.hexagon-pattern-bg > * {
  position: relative;
  z-index: 1;
}

/* Hexágonos decorativos flutuantes */
.hexagon-decor {
  position: absolute;
  border: 2px solid var(--color-gold-primary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  opacity: 0.2;
  animation: float-hexagon 6s ease-in-out infinite;
  pointer-events: none;
}

.hexagon-decor.large {
  width: 150px;
  height: 150px;
}

.hexagon-decor.medium {
  width: 120px;
  height: 120px;
}

.hexagon-decor.small {
  width: 80px;
  height: 80px;
}

@keyframes float-hexagon {
  0%, 100% { 
    transform: translateY(0) rotate(0deg); 
    opacity: 0.2;
  }
  50% { 
    transform: translateY(-20px) rotate(5deg); 
    opacity: 0.3;
  }
}

/* Cards refinados */
.card-refined,
.service-card,
.product-card,
.experience-card {
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(214, 167, 0, 0.1);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.card-refined::before,
.service-card::before,
.product-card::before,
.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold-primary), var(--color-gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-refined:hover,
.service-card:hover,
.product-card:hover,
.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-color: var(--overlay-gold-medium);
}

.card-refined:hover::before,
.service-card:hover::before,
.product-card:hover::before,
.experience-card:hover::before {
  transform: scaleX(1);
}

/* Ícones com hexágonos dourados */
.icon-hexagon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-gold-primary) 0%, var(--color-gold-light) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-smooth);
}

.icon-hexagon i {
  font-size: 2rem;
  color: var(--color-navy-primary);
}

.icon-hexagon:hover {
  transform: rotate(5deg) scale(1.1);
}

/* Seções com fundo navy refinado */
.section-navy-refined {
  background: linear-gradient(135deg, var(--color-navy-primary) 0%, var(--color-navy-dark) 100%);
  position: relative;
  overflow: hidden;
}

.section-navy-refined::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(30deg, transparent 45%, rgba(214, 167, 0, 0.03) 45%, rgba(214, 167, 0, 0.03) 55%, transparent 55%),
    linear-gradient(150deg, transparent 45%, rgba(214, 167, 0, 0.03) 45%, rgba(214, 167, 0, 0.03) 55%, transparent 55%);
  background-size: 60px 104px;
  opacity: 0.3;
  pointer-events: none;
}

/* Títulos de seção refinados */
.section-title-refined {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy-primary);
  text-align: center;
  margin-bottom: var(--space-lg);
  position: relative;
  padding-bottom: 1rem;
}

.section-title-refined::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-gold-primary), var(--color-gold-light));
  border-radius: 2px;
}

/* Botões de link com animação */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gold-primary);
  font-weight: var(--font-weight-semibold);
  transition: var(--transition-smooth);
}

.link-arrow:hover {
  gap: 1rem;
  color: var(--color-gold-dark);
}

.link-arrow i {
  transition: var(--transition-smooth);
}

/* Stats cards refinados */
.stat-card-refined {
  text-align: center;
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--border-radius-card);
  border: 2px solid var(--color-gold-primary);
  position: relative;
  overflow: hidden;
}

.stat-card-refined::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, var(--overlay-gold), transparent);
  transform: rotate(45deg);
  transition: var(--transition-smooth);
}

.stat-card-refined:hover::before {
  animation: shimmer 1.5s ease infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) rotate(45deg); }
  100% { transform: translateX(100%) rotate(45deg); }
}

.stat-number {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 1rem;
  color: var(--color-navy-primary);
  font-weight: var(--font-weight-semibold);
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────── */
/* 14. RESPONSIVE DESIGN */
/* ─────────────────────────────────────────────────────────────── */

/* Tablet (640px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --font-size-hero: 2.5rem;
    --font-size-h1: 2.5rem;
    --font-size-h2: 2rem;
    --space-xl: 4rem;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Mobile (<640px) */
@media (max-width: 639px) {
  :root {
    --font-size-hero: 2rem;
    --font-size-h1: 2rem;
    --font-size-h2: 1.75rem;
    --font-size-h3: 1.5rem;
    --space-xl: 3rem;
    --space-lg: 2rem;
  }

  .container {
    padding: 0 var(--space-sm);
  }

  .header {
    height: 80px;
    padding: 5px 0;
  }

  .logo-image {
    width: 210px !important; /* Mobile: 210px (300 × 0.7 = 210px) */
    height: auto !important;
    min-width: 175px !important; /* 250 × 0.7 = 175px */
  }

  .hero {
    margin-top: 80px;
  }

  .hero-internal {
    margin-top: 150px; /* Ajustado para mobile */
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - var(--header-height));
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
    transition: right 0.3s ease;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: var(--space-sm);
  }

  .menu-toggle {
    display: flex;
  }
  
  /* Language Selector Mobile - Melhorado */
  .language-selector {
    position: fixed;
    bottom: 1.5rem;
    right: 1rem;
    left: auto;
    transform: none;
    background: rgba(0, 33, 71, 0.95);
    backdrop-filter: blur(20px);
    padding: 0.5rem 0.75rem;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(218, 165, 32, 0.3);
    z-index: 1001;
    gap: 0.75rem;
  }
  
  .lang-option {
    width: 36px;
    height: 36px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hexagon-icon {
    width: 100px;
    height: 100px;
  }

  .hexagon-icon i {
    font-size: 2.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
