/* ============================================================
   IMPÉRIO SOLUÇÕES EM AÇO — Design System
   Palette: Black #000 | Gold #c9a961 | White #fff
   
   ESTRUTURA DO ARQUIVO:
   1. Variáveis CSS (cores, fontes, espaçamentos)
   2. Reset e estilos base
   3. Utilitários globais
   4. Componentes de navegação
   5. Seções da página (Hero, Sobre, Produtos, etc.)
   6. Componentes reutilizáveis (cards, botões, modais)
   7. Responsividade (tablet e mobile)
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
/* Variáveis CSS customizadas para facilitar manutenção e consistência */
:root {
  /* Paleta de cores - Tons de preto */
  --black: #000000;
  /* Preto puro - fundo principal */
  --black-deep: #0a0a0a;
  /* Preto profundo - seções alternadas */
  --black-card: #111111;
  /* Preto para cards e elementos */
  --black-soft: #1a1a1a;
  /* Preto suave - hover states */

  /* Paleta de cores - Tons de dourado (identidade da marca) */
  --gold: #c9a961;
  /* Dourado principal */
  --gold-light: #dfc07a;
  /* Dourado claro - hover */
  --gold-dark: #a88942;
  /* Dourado escuro - contraste */

  /* Paleta de cores - Tons de branco e cinza */
  --white: #ffffff;
  /* Branco puro */
  --white-ice: #f7f9fc;
  /* Branco gelo - fundos claros */
  --gray-100: #f0f2f5;
  /* Cinza muito claro */
  --gray-200: #d4d8de;
  /* Cinza claro */
  --gray-400: #8a8f9a;
  /* Cinza médio - textos secundários */
  --gray-600: #555a65;
  /* Cinza escuro */

  /* Tipografia - Famílias de fontes */
  --font-title: 'Space Grotesk', sans-serif;
  /* Títulos e headings */
  --font-body: 'Inter', sans-serif;
  /* Corpo de texto */
  --font-mono: 'JetBrains Mono', monospace;
  /* Código e labels técnicos */

  /* Border radius - Arredondamento de cantos */
  --radius-sm: 6px;
  /* Pequeno - botões, inputs */
  --radius-md: 12px;
  /* Médio - cards */
  --radius-lg: 20px;
  /* Grande - imagens, containers */
  --radius-xl: 32px;
  /* Extra grande - elementos especiais */

  /* Sombras - Profundidade visual */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .3);
  /* Sombra pequena */
  --shadow-md: 0 8px 32px rgba(0, 0, 0, .4);
  /* Sombra média */
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .5);
  /* Sombra grande */
  --shadow-gold: 0 4px 24px rgba(201, 169, 97, .25);
  /* Sombra dourada - destaque */

  /* Transições - Animações suaves */
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  /* Transição padrão com easing */

  /* Layout - Dimensões fixas */
  --nav-h: 80px;
  /* Altura da barra de navegação */
}

/* ── Reset ─────────────────────────────────────────────────── */
/* Reset CSS para garantir consistência entre navegadores */

/* Box-sizing para todos os elementos incluindo pseudo-elementos */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Configurações base do HTML */
html {
  scroll-behavior: smooth;
  /* Scroll suave para âncoras */
  font-size: 16px;
  /* Tamanho base para rem */
}

/* Estilos base do body */
body {
  font-family: var(--font-body);
  /* Fonte padrão do corpo */
  background: var(--black);
  /* Fundo preto */
  color: var(--white);
  /* Texto branco */
  line-height: 1.6;
  /* Altura de linha para legibilidade */
  overflow-x: hidden;
  /* Previne scroll horizontal */
}

/* Imagens responsivas por padrão */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Links sem decoração padrão */
a {
  text-decoration: none;
  color: inherit;
}

/* Listas sem marcadores */
ul {
  list-style: none;
}

/* Botões com cursor pointer e sem estilos padrão */
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Inputs herdam a fonte do body */
input,
textarea,
select {
  font-family: inherit;
}

/* ── Utility ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad {
  padding: 50px 0;
}

.gold {
  color: var(--gold);
}

.text-center {
  text-align: center;
}

/* Skip Navigation Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--gold);
  color: var(--black);
  padding: 8px 16px;
  text-decoration: none;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
}

.section-title .gold {
  color: var(--gold);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Ajustes de Cor para Seções Claras ─────────────────────── */
#trust .section-title {
  color: var(--black);
}

#trust .sobre-lead,
#trust .sobre-body {
  color: var(--black-soft);
}

#trust strong {
  color: var(--black);
}

/* ── Garantir Visibilidade em Seções Escuras ──────────────── */
#contato label,
#setores label {
  color: var(--white);
}

#contato .section-title,
#setores .section-title {
  color: var(--white);
}

#contato .section-sub,
#setores .section-sub {
  color: var(--gray-400);
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--black-soft);
  border: 1px solid rgba(201, 169, 97, .3);
  color: var(--white);
}

.btn-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: .875rem;
}

/* ── Scroll animations ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: .12s;
}

.delay-2 {
  transition-delay: .24s;
}

.delay-3 {
  transition-delay: .36s;
}

.delay-4 {
  transition-delay: .48s;
}

/* ── Hero → Trust transition wave ──────────────────────────── */
.hero-wave {
  position: relative;
  z-index: 2;
  margin-top: -2px;
  background: var(--black);
  line-height: 0;
}

/* Sobre (white) → Produtos (black): wave sits on white background, fills black */
.hero-wave--dark {
  background: var(--white-ice);
  margin-top: -1px;
  margin-bottom: -2px;
}

.hero-wave svg {
  display: block;
  width: 100%;
  height: 120px;
}

/* Wave-gradient + steel bars: Sobre → Produtos */
.wave-bars-wrap {
  position: relative;
  background: transparent;
  line-height: 0;
  overflow: hidden;
}

.wave-bars-svg {
  display: block;
  width: 100%;
  height: 200px;
  position: relative;
  z-index: 1;
}

.wave-bars-img {
  position: absolute;
  bottom: 0;
  left: -280px;
  width: 900px;
  z-index: 2;
  pointer-events: none;
}

.wave-bars-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* Transition bars image (Sobre → Produtos) */
.transition-bars-img {
  display: block;
  max-width: 900px;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-left: -280px;
  padding: 0;
}

/* Mobile: mantém à esquerda como desktop, mais deslocada */
@media (max-width: 767px) {
  .transition-img {
    display: block;
    overflow: hidden;
  }

  .transition-bars-img {
    margin-left: -140px;
    max-width: 130%;
    object-fit: cover;
  }
}

/* ── NAV ────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo .logo-icon {
  width: 44px;
  height: 44px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  flex-shrink: 0;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-logo .logo-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}

.nav-logo .logo-tagline {
  font-size: .7rem;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-logo-img {
  height: 70px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-menu a {
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gray-200);
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-menu a:hover {
  color: var(--white);
}

.nav-menu a:hover::after {
  width: calc(100% - 28px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  color: var(--gray-200);
  transition: color var(--transition);
}

.nav-phone:hover {
  color: var(--gold);
}

.nav-phone svg {
  color: var(--gold);
}

.nav-cta {
  display: flex;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, .1);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .97);
  backdrop-filter: blur(16px);
  z-index: 999;
  flex-direction: column;
  padding: 40px 24px;
  gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav .mobile-cta {
  margin-top: 32px;
}

/* WAP sticky button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: pulse-wap 2.5s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, .6);
}

@keyframes pulse-wap {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 40px rgba(37, 211, 102, .7);
  }
}

/* Back to top */
#backToTop {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 990;
  width: 44px;
  height: 44px;
  background: var(--black-soft);
  border: 1px solid rgba(201, 169, 97, .4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

#backToTop.visible {
  opacity: 1;
  pointer-events: all;
}

#backToTop:hover {
  background: var(--gold);
  color: var(--black);
}

/* ── HERO ───────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-left {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 24px 80px;
  position: relative;
  z-index: 5;
  background: transparent;
}

.hero-left::after {
  display: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 169, 97, .12);
  border: 1px solid rgba(201, 169, 97, .3);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 800px;
}

.hero-title .accent {
  color: var(--gold);
  text-shadow: 0 0 30px rgba(201, 169, 97, 0.3);
}

.hero-sub {
  font-size: 1.15rem;
  color: #d1d5db;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 48px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .15);
  width: fit-content;
}

.stat-item .stat-num {
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-item .stat-label {
  font-size: .8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-right {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.85) 20%,
      rgba(0, 0, 0, 0.4) 60%,
      rgba(0, 0, 0, 0.2) 100%);
  z-index: 2;
}

/* Geometric overlay */
.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-image:
    repeating-linear-gradient(45deg,
      transparent,
      transparent 40px,
      rgba(201, 169, 97, .04) 40px,
      rgba(201, 169, 97, .04) 41px);
  pointer-events: none;
}

/* ── TRUST BAND ─────────────────────────────────────────────── */
#trust {
  background: var(--white-ice);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg,
      transparent,
      transparent 30px,
      rgba(0, 0, 0, .025) 30px,
      rgba(0, 0, 0, .025) 31px);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 1;
}

.trust-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid rgba(0, 0, 0, .08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.trust-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.trust-card,
.product-card,
.setor-card,
.blog-card {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.trust-icon {
  width: 52px;
  height: 52px;
  background: rgba(201, 169, 97, .1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.trust-card h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.trust-card p {
  font-size: .875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ── PRODUTOS ───────────────────────────────────────────────── */
#produtos {
  background: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#produtos .container {
  overflow: visible;
  padding-bottom: 0;
}

.produtos-header {
  margin-bottom: 56px;
}

.produtos-header .section-sub {
  max-width: 500px;
}

/* Grid de produtos - SEM scroll horizontal, apenas wrap */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  overflow: visible;
  touch-action: auto;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: auto;
}

/* ── Componente Reutilizável: GlowCard ── */
.glow-card {
  background: rgba(17, 17, 17, 0.75) !important;
  backdrop-filter: blur(12px);
  border-radius: 16px !important;
  box-shadow: 0 1rem 2rem -1rem black;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  position: relative;
  border: none !important;
}

/* Efeito Spotlight Nas Bordas Dourado Neon */
.glow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  /* Borda mais espessa para destacar o neon */
  background: radial-gradient(500px circle at var(--mouse-x, -999px) var(--mouse-y, -999px),
      #ffe600 0%,
      #ffaa00 25%,
      rgba(255, 255, 255, 0.05) 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 50;
  /* Garante cobertura completa por cima de tudo */
}

/* Modificadores Específicos para Produtos */
.product-card.glow-card {
  flex: 0 1 350px;
  touch-action: auto;
}

.product-card.glow-card:hover {
  transform: scale(1.05);
  z-index: 10;
}

/* Estruturação do Conteúdo Interno */
.product-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card.glow-card:hover .product-card-img img {
  transform: scale(1.1);
}

.product-card-img .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(17, 17, 17, 0.75) 100%);
}

.product-card-body {
  padding: 24px;
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-cat {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.product-card-body h3 {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.product-card-body p {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

/* Base de Ação (Botoes) */
.product-link {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 12px 24px;
  font-size: .875rem;
  font-weight: 600;
  background: rgba(201, 169, 97, 0.1);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: var(--radius-sm);
  color: var(--gold);
  transition: all 0.4s ease;
  overflow: hidden;
  text-decoration: none;
}

.product-link:hover {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.btn-text-anim {
  grid-area: 1 / 1;
  transform: translateX(-12px);
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  white-space: nowrap;
}

.btn-icon-anim {
  grid-area: 1 / 1;
  transform: translateX(46px);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
}

.product-link:hover .btn-text-anim {
  clip-path: inset(0 100% 0 0);
  /* Apaga o texto da direita para a esquerda progressivamente */
  opacity: 0;
}

.product-link:hover .btn-icon-anim {
  transform: translateX(0);
  /* Desliza a seta exatamente para o centro */
}

/* ── SETORES ────────────────────────────────────────────────── */
#setores {
  background: var(--black-deep);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

#setores .container {
  position: relative;
  z-index: 10;
}

.setores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 56px;
}

.setor-card {
  position: relative;
  height: 380px;
  overflow: hidden;
  cursor: pointer;
}

.setor-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.setor-card:hover img {
  transform: scale(1.06);
}

.setor-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .3) 60%, transparent 100%);
  transition: var(--transition);
}

.setor-card:hover .setor-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .5) 100%);
}

.setor-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px;
  transition: var(--transition);
}

.setor-tag {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.setor-content h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.setor-desc {
  font-size: .9rem;
  color: var(--gray-200);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s ease, opacity .4s ease, margin .4s ease;
  margin-bottom: 0;
}

.setor-card:hover .setor-desc {
  max-height: 80px;
  opacity: 1;
  margin-bottom: 16px;
}

/* ── DIFERENCIAIS ───────────────────────────────────────────── */
#diferenciais {
  background: var(--black);
  padding: 80px 0;
}

.dif-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 0;
}

.dif-left .section-sub {
  margin-top: 16px;
  margin-bottom: 40px;
}

.dif-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dif-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--black-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .06);
  transition: var(--transition);
}

.dif-item:hover {
  border-color: rgba(201, 169, 97, .3);
  background: rgba(201, 169, 97, .04);
}

.dif-icon {
  width: 48px;
  height: 48px;
  background: rgba(201, 169, 97, .12);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.dif-item h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.dif-item p {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* Right side visual */
.dif-right {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 560px;
}

.dif-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dif-badge {
  position: absolute;
  bottom: 32px;
  left: 32px;
  background: var(--gold);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  color: var(--black);
}

.dif-badge .badge-num {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  display: block;
}

.dif-badge .badge-label {
  font-size: .8rem;
  font-weight: 600;
  opacity: .8;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── DESTAQUE PRODUTOS ──────────────────────────────────────── */
#destaque {
  background: var(--black-deep);
  padding: 80px 0;
}

.destaque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.destaque-card {
  background: var(--black-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: var(--transition);
}

.destaque-card:hover {
  border-color: rgba(201, 169, 97, .35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.destaque-img {
  height: 200px;
  background: linear-gradient(135deg, #111 0%, #1c1c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  position: relative;
  overflow: hidden;
}

.destaque-img svg {
  opacity: .5;
}

.destaque-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.destaque-body {
  padding: 24px;
}

.destaque-body h3 {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.destaque-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.spec-row .spec-k {
  color: var(--gray-400);
}

.spec-row .spec-v {
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: .75rem;
}

/* ── BLOG ───────────────────────────────────────────────────── */
#blog {
  background: var(--black);
  padding: 80px 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.blog-card {
  background: var(--black-card);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .07);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(201, 169, 97, .3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.blog-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.06);
}

.blog-img-placeholder {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  opacity: .4;
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.blog-body h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}

.blog-body p {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 20px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .875rem;
  font-weight: 600;
  color: var(--gold);
  transition: gap var(--transition);
  margin-top: auto;
}

.blog-link:hover {
  gap: 10px;
}

.blog-footer {
  text-align: center;
  margin-top: 48px;
}

/* ── CONTATO ────────────────────────────────────────────────── */
#contato {
  background: var(--black-deep);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* BACKGROUND GLOWING LINES */
.glow-lines-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.gl-path {
  stroke-width: 2px;
  transition: opacity 0.3s ease;
}

.gl-base .gl-path {
  stroke: rgba(201, 169, 97, 0.05);
  /* Linhas iniciais bem apagadas */
}

/* Máscara que revela o neon apenas num raio do mouse */
.gl-active {
  -webkit-mask-image: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), black 5%, transparent 100%);
  mask-image: radial-gradient(400px circle at var(--mouse-x, -999px) var(--mouse-y, -999px), black 5%, transparent 100%);
}

.gl-active .gl-neon {
  stroke: #ffe600;
  /* Amarelo/Dourado Neon muito luminoso */
  stroke-width: 3px;
  filter: drop-shadow(0 0 12px rgba(255, 230, 0, 0.8)) drop-shadow(0 0 24px rgba(255, 170, 0, 0.5));
}

#contato .container {
  position: relative;
  z-index: 10;
  /* Mantém todo o conteúdo acima do background */
}

.contato-grid {
  display: grid;
  grid-template-columns: 580px 280px;
  justify-content: center;
  gap: 56px;
  align-items: stretch;
  margin-top: 56px;
  margin-bottom: 56px;
}

@media (max-width: 1000px) {
  .contato-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Form */
.form-card {
  background: var(--black-card);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gray-200);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .9rem;
  color: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(201, 169, 97, .06);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, .12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.form-group .error-msg {
  font-size: .75rem;
  color: #ef4444;
  display: none;
}

.form-group.invalid .error-msg {
  display: block;
}

.form-group select option {
  background: var(--black-soft);
  color: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
  margin-top: 8px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
  color: var(--gold);
}

.form-success svg {
  margin: 0 auto 16px;
  display: block;
}

.form-success h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--gray-400);
}

/* Contact info card (30%) */
.contact-info-card {
  background: var(--black-card);
  border: 1px solid rgba(201, 169, 97, .2);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  position: relative;
  overflow: hidden;
}

.info-card-header h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}

.info-card-header p {
  font-size: .875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.info-card-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 20px 0;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item .i-icon {
  width: 44px;
  height: 44px;
  background: rgba(201, 169, 97, .12);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex-shrink: 0;
}

.info-item .i-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-item .i-text span {
  font-size: .675rem;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}

.info-item .i-text a,
.info-item .i-text p {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--white);
  transition: var(--transition);
}

.info-item .i-text a:hover {
  color: var(--gold);
}

.info-card-footer {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.info-card-footer p {
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 4px;
}

.info-card-footer span {
  font-size: .9rem;
  color: var(--white);
  font-weight: 500;
}

/* Full width map */
.contato-map-full {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  position: relative;
  background: var(--black-card);
}

.contato-map-full iframe {
  display: block;
  filter: grayscale(.8) contrast(1.1) invert(0.9) hue-rotate(180deg);
}

.contato-map-full iframe:hover {
  filter: grayscale(.4) contrast(1.05) invert(0.9) hue-rotate(180deg);
}

.map-address-bar {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(10, 10, 10, .85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.map-address-bar svg {
  color: var(--gold);
  flex-shrink: 0;
}

.map-address-bar span {
  font-size: .9rem;
  font-weight: 500;
  flex: 1;
}

.btn-map-link {
  font-family: var(--font-title);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: underline;
  transition: var(--transition);
}

.btn-map-link:hover {
  color: var(--white);
}

@media (max-width: 900px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }

  .map-address-bar {
    flex-direction: column;
    text-align: center;
    bottom: 16px;
    left: 16px;
    right: 16px;
    padding: 20px;
  }
}

/* ── FOOTER ─────────────────────────────────────────────────── */
#footer {
  background: #050505;
  border-top: 1px solid rgba(201, 169, 97, .15);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 10px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--gray-400);
  transition: var(--transition);
}

.footer-socials a:hover {
  background: rgba(201, 169, 97, .12);
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: .875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201, 169, 97, .2);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: .875rem;
  color: var(--gray-400);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item span {
  font-size: .85rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--gray-600);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: .8rem;
  color: var(--gray-600);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}


/* ── RESPONSIVE ─────────────────────────────────────────────── */

/* ┌─────────────────────────────────────────────────────────────┐
   │  TABLET  max-width: 1023px                                  │
   └─────────────────────────────────────────────────────────────┘ */
@media (max-width: 1023px) {

  /* -- Global -- */
  .section-pad {
    padding: 40px 0;
  }

  .container {
    padding: 0 24px;
  }

  /* -- Typography -- */
  .section-title {
    font-size: 1.5rem;
  }

  /* 24px */
  .section-sub {
    font-size: .875rem;
  }

  /* 14px */

  /* -- Navigation -- */
  .nav-menu,
  .nav-phone,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  /* -- Hero -- */
  #hero {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
  }

  .hero-left {
    padding: calc(var(--nav-h) + 40px) 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 5;
    min-height: 100vh;
  }

  .hero-left::after {
    display: none;
  }

  .hero-right {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
  }

  .hero-title {
    font-size: clamp(3.2rem, 10vw, 4.2rem);
    line-height: 1.1;
  }

  .hero-sub {
    font-size: 1.45rem;
    margin-bottom: 32px;
    max-width: 600px;
  }

  .hero-stats {
    gap: 20px;
  }

  /* -- Sobre -- */
  .sobre-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .sobre-left .section-title {
    font-size: 1.5rem;
  }

  .sobre-lead,
  .sobre-body {
    font-size: .875rem;
  }

  .sobre-quote {
    font-size: .875rem;
  }

  .sobre-img-wrap img {
    height: 300px;
  }

  /* -- Produtos: 2 colunas no tablet, SEM scroll horizontal -- */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    display: grid;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    touch-action: auto;
  }

  .product-card {
    touch-action: auto;
  }

  /* -- Setores: empilhar um sobre o outro no tablet -- */
  #setores .container {
    overflow: visible;
    padding-bottom: 0;
  }

  .setores-grid {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    touch-action: auto;
    gap: 16px;
    padding-bottom: 0;
  }

  .setor-card {
    flex: 0 0 auto;
    height: 300px;
    /* Mesma altura generosa do mobile */
    min-height: auto;
    scroll-snap-align: none;
    touch-action: auto;
  }

  .setor-card:hover img {
    transform: none;
  }

  .setor-card:hover .setor-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .3) 60%, transparent 100%);
  }

  /* -- Blog: 2 cards estáticos no tablet (sem carrossel) -- */
  #blog .container {
    overflow: visible;
    padding-bottom: 0;
  }

  .blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    touch-action: auto;
    gap: 24px;
    padding-bottom: 0;
  }

  .blog-card {
    height: 100%;
    min-height: 380px;
    scroll-snap-align: none;
    touch-action: auto;
  }

  /* Show only the first 2 cards */
  .blog-card:nth-child(n+3) {
    display: none;
  }

  .blog-card:hover,
  .blog-card:active {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .blog-card:hover .blog-img img {
    transform: none !important;
  }

  .blog-card-img {
    height: 160px;
  }

  /* -- Contato -- */
  .contato-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    justify-content: unset;
    gap: 24px;
  }

  .contato-map-full iframe {
    height: 350px;
  }

  /* -- Footer: Tablet layout (Logo em cima, 3 colunas lado a lado embaixo) -- */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px 24px;
    text-align: left;
  }

  .footer-logo-col {
    grid-column: 1 / -1;
    /* Logo ocupa a linha toda */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-col:nth-child(2) {
    grid-column: 1;
  }

  .footer-col:nth-child(3) {
    grid-column: 2;
  }

  .footer-col:nth-child(4) {
    grid-column: 3;
  }

  .footer-col:nth-child(4) .footer-contact-item {
    justify-content: flex-start;
  }
}

/* ┌─────────────────────────────────────────────────────────────┐
   │  MOBILE  max-width: 767px                                   │
   └─────────────────────────────────────────────────────────────┘ */
@media (max-width: 767px) {

  /* -- Global -- */
  :root {
    --nav-h: 80px;
  }

  .section-pad {
    padding: 40px 0;
  }

  .container {
    padding: 0 16px;
  }

  /* -- Typography -- */
  .section-title {
    font-size: 1.65rem;
  }

  /* ~26px — mais impacto */
  .section-sub {
    font-size: .9rem;
  }

  /* -- Navigation: logo maior, centrada, barra estilo desktop -- */
  #navbar {
    height: 80px;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .5);
    border-bottom: 1px solid rgba(201, 169, 97, .18);
  }

  .nav-inner {
    height: 80px;
    justify-content: center;
    position: relative;
  }

  .nav-logo {
    margin: 0 auto;
  }

  .nav-logo-img {
    height: 60px;
  }

  .hamburger {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
  }

  .mobile-link {
    font-size: .95rem;
    padding: 16px 24px;
  }

  /* -- Hero: foto de fundo + overlay adaptado para mobile -- */
  .hero-title {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 1);
  }

  .hero-sub {
    font-size: 1.1rem;
    margin-bottom: 36px;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 1);
    font-weight: 500;
  }

  .hero-actions {
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 36px;
  }

  .hero-stats {
    gap: 20px;
    padding-top: 24px;
  }

  /* No mobile o gradiente muda para vertical: foto aparece no centro/direita,
     texto fica sobre camada escura sem cobrir a foto inteira */
  .hero-right::after {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.55) 40%,
        rgba(0, 0, 0, 0.45) 100%);
  }

  .hero-right img {
    object-position: 50% center;
  }

  .hero-left {
    padding: calc(var(--nav-h) + 120px) 20px 60px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 100vh;
  }

  .hero-stats {
    justify-content: flex-start;
    width: 100%;
    border-top-color: rgba(255, 255, 255, 0.3);
  }

  /* -- Sobre -- */
  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sobre-left .section-title {
    font-size: 1.65rem;
  }

  .sobre-lead,
  .sobre-body {
    font-size: .85rem;
  }

  .sobre-quote {
    font-size: .85rem;
  }

  .sobre-img-wrap img {
    height: 240px;
  }

  /* -- Produtos: 1 coluna no mobile, SEM scroll horizontal -- */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    display: grid;
    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .product-card {
    min-height: 200px;
    touch-action: auto;
  }

  .product-card-img {
    height: 200px;
  }

  /* -- Setores: 1 card, altura generosa -- */
  #setores .container {
    overflow: hidden;
    padding-bottom: 20px;
  }

  .setores-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .setores-grid::-webkit-scrollbar {
    display: none;
  }

  .setor-card {
    flex: 0 0 100%;
    min-height: 320px;
    height: auto;
    scroll-snap-align: start;
    /* touch-action removed to allow horizontal swiping */
  }

  .setor-card:hover img {
    transform: none;
  }

  /* -- Blog: 1 card, altura generosa, restaura o carrossel no celular -- */
  #blog .container {
    overflow: hidden;
    padding-bottom: 20px;
  }

  .blog-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    gap: 16px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }

  .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-card {
    flex: 0 0 100%;
    min-height: 420px;
    height: auto;
    scroll-snap-align: start;
    /* touch-action removed to allow horizontal swiping */
  }

  /* Restore the display of the 3rd card on mobile carousel */
  .blog-card:nth-child(n+3) {
    display: flex;
  }

  .blog-card:hover,
  .blog-card:active {
    transform: none !important;
    box-shadow: var(--shadow-sm) !important;
  }

  .blog-card:hover .blog-img img {
    transform: none !important;
  }

  .blog-card-img,
  .blog-img {
    height: 200px;
  }

  /* -- Contato -- */
  .contato-grid {
    gap: 16px;
  }

  .contato-map-full iframe {
    height: 250px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-info-card {
    padding: 20px;
  }

  /* -- Footer: Produtos + Recursos lado a lado, Contato abaixo, tudo centralizado -- */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 28px 16px;
    text-align: center;
  }

  /* Logo col: largura total no topo */
  .footer-logo-col {
    grid-column: 1 / -1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Produtos = col 1 row 2 */
  .footer-col:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  /* Recursos = col 2 row 2 */
  .footer-col:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  /* Contato: largura total na row 3, centralizado */
  .footer-col:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 3;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col:nth-child(4) .footer-contact-item {
    justify-content: center;
    text-align: left;
  }

  .footer-logo-img {
    height: 160px;
    margin: 0 auto;
    display: block;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 12px;
  }

  .footer-col h4 {
    font-size: .9rem;
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-col ul li a {
    font-size: .8rem;
    justify-content: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* -- Misc -- */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  #backToTop {
    bottom: 86px;
    right: 20px;
  }

  /* -- Desabilita transform hover nos cards em toque -- */
  .product-card:hover,
  .trust-card:hover {
    transform: none;
  }
}

/* ─── Scroll-snap dots indicator (shared for Setores + Blog carousels) ── */
.carousel-wrap {
  position: relative;
}

.carousel-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

@media (max-width: 1023px) {
  .carousel-dots {
    display: flex;
  }

  /* Setores is NOT a carousel on tablet, so hide its dots */
  #setoresDots {
    display: none !important;
  }

  /* Blog is NOT a carousel on tablet either, hide its dots */
  #blogDots {
    display: none !important;
  }
}

@media (max-width: 767px) {

  /* Setores IS a carousel on mobile, so show its dots */
  #setoresDots {
    display: flex !important;
  }

  /* Blog IS a carousel on mobile, so show its dots */
  #blogDots {
    display: flex !important;
  }
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(201, 169, 97, .3);
  transition: background .3s;
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
}

/* ── SOBRE (Company About) ──────────────────────────────────── */
#trust {
  background: var(--white-ice);
  padding: 50px 0;
  position: relative;
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sobre-left .section-label {
  color: var(--gold-dark);
}

.sobre-left .section-label::before {
  background: var(--gold-dark);
}

.sobre-left .section-title {
  color: var(--black);
}

.sobre-lead {
  font-size: 1.1rem;
  color: var(--black-soft);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 400;
}

.sobre-lead strong {
  color: var(--black);
  font-weight: 700;
}

.sobre-body {
  font-size: .95rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 16px;
}

.sobre-body strong {
  color: var(--black);
}

.sobre-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.sobre-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.value-icon {
  color: var(--gold-dark);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.sobre-value strong {
  display: block;
  font-family: var(--font-title);
  font-size: .95rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.sobre-value p {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

/* sobre right / image */
.sobre-right {
  position: relative;
}

.sobre-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.sobre-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.sobre-quote {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  font-weight: 500;
  font-style: italic;
  color: var(--gold-dark);
  text-align: center;
  margin-top: 24px;
  line-height: 1.5;
  padding: 0 10px;
  max-width: 100%;
}

/* Responsive */
@media (max-width: 900px) {
  .sobre-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .sobre-img-wrap img {
    height: 320px;
  }
}

/* ── UNIFIED SPLIT LAYOUT ──────────────────────────────────── */
.section-split-wrap {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: var(--white-ice);
}

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.split-reverse {
  direction: rtl;
}

.split-reverse>* {
  direction: ltr;
}

.split-left .section-label {
  color: var(--gold-dark);
}

.split-left .section-label::before {
  background: var(--gold-dark);
}

.split-left .section-title {
  color: var(--black);
}

.split-lead {
  font-size: 1.1rem;
  color: var(--black-soft);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 400;
}

.split-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, .1);
}

.split-list-item {
  position: relative;
  padding-left: 20px;
}

.split-list-item::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--gold);
  font-size: 12px;
}

.split-list-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--black);
  margin-bottom: 4px;
}

.split-list-item p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.split-right {
  position: relative;
}

.split-img-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-img-box img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.split-img-box:hover img {
  transform: scale(1.05);
}

/* Blog specific in split layout */
.blog-simple-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}

.blog-row {
  display: block;
  padding: 16px;
  background: var(--white-ice);
  border-radius: var(--radius-sm);
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.blog-row:hover {
  background: var(--white);
  border-left-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.blog-row-date {
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--gold-dark);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.blog-row-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.4;
}

/* Form overrides for split */
#contato .form-row-2 {
  flex-direction: column;
  gap: 16px;
}

#contato .form-group {
  width: 100%;
}

@media (max-width: 900px) {
  .section-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .split-reverse {
    direction: ltr;
  }

  .split-img-box img {
    height: 320px;
  }
}

/* ── MODAL PRODUTO (Mini Card) ────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
  visibility: hidden;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

.mini-card {
  background: var(--black-card);
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(201, 169, 97, .2);
  overflow: hidden;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .8);
}

.modal-overlay.active .mini-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, .5);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  color: var(--white);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.modal-header {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black-card), transparent);
}

.modal-body {
  padding: 32px;
}

.modal-cat {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 500;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 8px;
  display: block;
}

.modal-body h2 {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}

.modal-specs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.spec-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 8px;
  flex-shrink: 0;
}

.spec-text {
  font-size: .95rem;
  color: var(--gray-400);
  line-height: 1.5;
}

.spec-text strong {
  color: var(--white);
  font-weight: 600;
}

.modal-footer {
  padding: 0 32px 32px;
  display: flex;
  gap: 12px;
}

.modal-footer .btn {
  flex: 1;
  justify-content: center;
  padding: 14px 10px;
  font-size: .95rem;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .modal-overlay {
    padding: 16px;
  }

  .mini-card {
    max-width: 100%;
  }

  .modal-header {
    height: 160px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-body h2 {
    font-size: 1.5rem;
    margin-bottom: 16px;
  }

  .modal-footer {
    padding: 0 20px 20px;
  }
}

/* ── WHATSAPP FLOATING BUTTON ───────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  animation: wpp-pulse 2.5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.7);
  animation: none;
}

@keyframes wpp-pulse {
  0%   { box-shadow: 0 0 0 0    rgba(37,211,102, 0.6); }
  50%  { box-shadow: 0 0 0 14px rgba(37,211,102, 0);   }
  100% { box-shadow: 0 0 0 0    rgba(37,211,102, 0);    }
}

/* Tooltip "Fale conosco!" */
.wpp-tooltip {
  position: absolute;
  right: 70px;
  background: #111111;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.wpp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #111111;
}

.whatsapp-float:hover .wpp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── HONEYPOT ANTI-SPAM ─────────────────────────────────────── */
/* Campo visualmente oculto — bots preenchem, humanos não veem */
.form-honeypot {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Estilo do título das seções CTA dos artigos */
.article-cta-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

/* ── BANNER DE COOKIES (LGPD) ───────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  color: var(--gray-200);
  padding: 20px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
}

#cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.cookie-text {
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

#btn-accept-cookies {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 10px 24px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
}

#btn-accept-cookies:hover {
  background: var(--white);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  .cookie-buttons {
    width: 100%;
  }

  #btn-accept-cookies {
    width: 100%;
  }
}


/* ── ARTIGOS / BLOG POSTS ───────────────────────────────────── */
/* Estilos compartilhados pelos 3 artigos do blog */

.article-hero { padding: calc(var(--nav-h) + 60px) 0 60px; background: var(--black); }
.article-meta { display:flex; gap:16px; align-items:center; margin-bottom:24px; flex-wrap:wrap; }
.article-cat { background:var(--gold); color:var(--black); font-family:var(--font-mono); font-size:.7rem; font-weight:600; letter-spacing:.1em; text-transform:uppercase; padding:4px 12px; border-radius:100px; }
.article-date { font-family:var(--font-mono); font-size:.8rem; color:var(--gray-400); }
.article-title { font-family:var(--font-title); font-size:clamp(1.6rem,4vw,2.8rem); font-weight:700; color:var(--white); line-height:1.15; margin-bottom:20px; max-width:760px; }
.article-sub { font-size:1.05rem; color:var(--gray-400); line-height:1.7; max-width:680px; }
.article-body { background:var(--white); padding:80px 0; }
.article-content { max-width:740px; margin:0 auto; }
.article-content h2 { font-family:var(--font-title); font-size:1.6rem; font-weight:700; color:var(--black); margin:48px 0 16px; }
.article-content h3 { font-family:var(--font-title); font-size:1.2rem; font-weight:700; color:var(--black); margin:32px 0 12px; }
.article-content p { font-size:1rem; color:var(--gray-600); line-height:1.8; margin-bottom:20px; }
.article-content strong { color:var(--black); }
.article-content ul, .article-content ol { margin:0 0 20px 24px; }
.article-content li { font-size:1rem; color:var(--gray-600); line-height:1.8; margin-bottom:8px; }
.article-content .callout { background:rgba(201,169,97,.08); border-left:4px solid var(--gold); border-radius:0 var(--radius-sm) var(--radius-sm) 0; padding:20px 24px; margin:32px 0; }
.article-content .callout p { margin:0; color:var(--black-soft); font-size:.95rem; }
.article-table { width:100%; border-collapse:collapse; margin:32px 0; font-size:.9rem; }
.article-table th { background:var(--black); color:var(--gold); font-family:var(--font-title); font-weight:600; padding:12px 16px; text-align:left; }
.article-table td { padding:10px 16px; border-bottom:1px solid var(--gray-100); color:var(--gray-600); }
.article-table tr:hover td { background:var(--white-ice); }
.article-cta { background:var(--black); padding:64px 0; text-align:center; }
.article-cta p { color:var(--gray-400); margin-bottom:32px; }
.article-back { display:inline-flex; align-items:center; gap:8px; font-size:.875rem; color:var(--gray-400); margin-bottom:48px; transition:color var(--transition); }
.article-back:hover { color:var(--gold); }
.article-featured-img { background:var(--black); }

/* Barra de progresso de leitura */
#reading-bar-wrap { position:fixed; top:0; left:0; right:0; height:3px; background:rgba(255,255,255,.08); z-index:2000; }
#reading-bar { height:100%; width:0%; background:var(--gold); transition:width .1s linear; }

/* Página de listagem do blog */
.blog-page-hero { padding: calc(var(--nav-h) + 100px) 0 40px; background: var(--black); text-align: center; }
.blog-page-hero h1 { font-family: var(--font-title); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.blog-page-hero p { color: var(--gray-400); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.blog-index-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; padding-bottom: 120px; }
.blog-index-grid .blog-card * { pointer-events: auto !important; }

@media (max-width: 1023px) {
  .blog-index-grid { grid-template-columns: repeat(2, 1fr); padding-bottom: 80px; }
}
@media (max-width: 767px) {
  .blog-index-grid { grid-template-columns: 1fr; padding-bottom: 80px; }
}
