/* ══════════════════════════════════════════
   KRATON AUTO PEÇAS — main.css
   Tema: Dark Elegante (não tão preto)
   ══════════════════════════════════════════ */

:root {
  --red:         #C1121F;
  --red-dark:    #8B0000;
  --red-light:   #E53935;

  /* Backgrounds escalonados — mais quentes e visíveis */
  --bg-base:     #16181D;   /* fundo principal (era #0A0B0D — muito preto) */
  --bg-2:        #1E2128;   /* seções alternadas */
  --bg-3:        #262A34;   /* cards, painéis */
  --bg-4:        #2E3340;   /* hover / elevado */

  --steel:       #3A3F4B;
  --steel-light: #6B7280;
  --chrome:      #A8B2BE;

  --white:       #EEF1F5;
  --white-dim:   rgba(238, 241, 245, 0.72);
  --white-faint: rgba(238, 241, 245, 0.30);

  --border:      rgba(255, 255, 255, 0.08);
  --border-red:  rgba(193, 18, 31, 0.25);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-base);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── GRAIN OVERLAY (sutil) ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.25;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 2px; }

/* ══════════════════════════════════════════
   NAVEGAÇÃO
   ══════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  height: 72px;
  /* Fundo ligeiramente mais claro que o body para criar profundidade */
  background: rgba(30, 33, 40, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-red);
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}

/* Logo nav — painel de contraste para destacar a logo */
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 6px;
  padding: 5px 14px 5px 10px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.nav-logo:hover {
  background: rgba(193,18,31,0.1);
  border-color: var(--border-red);
  box-shadow: 0 0 20px rgba(193,18,31,0.18);
}
/* A logo tem fundo preto — aumentamos brightness para ela aparecer bem */
.nav-logo img {
  height: 44px; width: auto; object-fit: contain;
  filter: brightness(1.15) contrast(1.05) drop-shadow(0 1px 6px rgba(255,255,255,0.07));
  transition: filter 0.3s;
}
.nav-logo:hover img {
  filter: brightness(1.25) contrast(1.05) drop-shadow(0 0 12px rgba(193,18,31,0.4));
}

/* Links */
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--chrome); text-decoration: none;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--red); transition: width 0.3s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--red) !important; color: white !important;
  padding: 8px 24px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--red-light) !important; }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 65% 85% at 105% 50%, rgba(193,18,31,0.13) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(58,63,75,0.22) 0%, transparent 60%),
    var(--bg-base);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(193,18,31,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(193,18,31,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-diagonal {
  position: absolute; top: 0; right: 40%;
  width: 2px; height: 100%;
  background: linear-gradient(180deg, transparent, rgba(193,18,31,0.55), transparent);
  transform: skewX(-15deg); opacity: 0.45;
}
.hero-left {
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 60px 80px 80px;
  position: relative; z-index: 2;
}

/* Logo hero — destaque principal */
.hero-logo-wrap {
  margin-bottom: 32px;
  animation: fadeInUp 0.7s both;
}
.hero-logo-wrap img {
  height: 96px; width: auto; object-fit: contain;
  /* Ilumina bem a logo preta no fundo escuro */
  filter: brightness(1.2) contrast(1.05) drop-shadow(0 0 28px rgba(193,18,31,0.38)) drop-shadow(0 2px 10px rgba(255,255,255,0.05));
  transition: filter 0.4s;
}
.hero-logo-wrap img:hover {
  filter: brightness(1.3) contrast(1.08) drop-shadow(0 0 36px rgba(193,18,31,0.55));
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px; animation: fadeInUp 0.8s 0.15s both;
}
.hero-eyebrow-line { width: 40px; height: 1px; background: var(--red); }
.hero-eyebrow-text {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--red);
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.92; letter-spacing: 2px; margin-bottom: 28px;
  animation: fadeInUp 0.8s 0.3s both;
}
.hero-title .accent { color: var(--red); }
.hero-title .outline { -webkit-text-stroke: 1px var(--white-faint); color: transparent; }

.hero-subtitle {
  font-size: 16px; line-height: 1.75;
  color: var(--white-dim); max-width: 440px;
  margin-bottom: 48px; font-weight: 300;
  animation: fadeInUp 0.8s 0.45s both;
}

.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; animation: fadeInUp 0.8s 0.6s both; }

/* ── BOTÕES ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: white;
  font-family: 'Rajdhani', sans-serif; font-weight: 700;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px; text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-2px); }
.btn-primary:hover::before { left: 100%; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(193,18,31,0.4); color: var(--chrome);
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 28px; text-decoration: none;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
  transition: all 0.3s;
}
.btn-ghost:hover { border-color: var(--red); color: var(--white); background: rgba(193,18,31,0.07); }

/* Stats */
.hero-stats {
  display: flex; gap: 48px;
  margin-top: 60px; padding-top: 36px;
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s 0.75s both;
}
.stat-number {
  font-family: 'Bebas Neue', sans-serif; font-size: 42px;
  color: var(--red); letter-spacing: 1px; line-height: 1;
}
.stat-label {
  font-family: 'Rajdhani', sans-serif; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--chrome); margin-top: 4px;
}

/* Hero direita */
.hero-right {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 60px;
}
.hero-visual {
  position: relative; width: 100%; max-width: 500px;
  animation: fadeInRight 1s 0.4s both;
}
.hero-card-main {
  background: var(--bg-3);
  border: 1px solid var(--border-red);
  padding: 40px; position: relative;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
.hero-card-main::before {
  content: ''; position: absolute; top: 0; right: 0;
  border-style: solid; border-width: 0 24px 24px 0;
  border-color: transparent var(--red) transparent transparent;
}
.card-label {
  font-family: 'Rajdhani', sans-serif; font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 20px;
}
.card-items { display: flex; flex-direction: column; gap: 14px; }
.card-item {
  display: flex; align-items: center; gap: 16px;
  padding: 12px 18px; background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--red); transition: all 0.3s;
}
.card-item:hover { background: rgba(193,18,31,0.1); transform: translateX(4px); }
.card-item-icon { font-size: 22px; width: 40px; text-align: center; }
.card-item-text {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 15px; color: var(--white); letter-spacing: 0.5px;
}
.card-item-sub { font-size: 12px; color: var(--chrome); margin-top: 2px; }

/* Ticker */
.ticker {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(193,18,31,0.1);
  border: 1px solid rgba(193,18,31,0.3);
  padding: 6px 14px; margin-bottom: 28px;
  animation: fadeInUp 0.7s both;
}
.ticker-dot {
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
.ticker-text {
  font-family: 'Rajdhani', sans-serif; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--red);
}

/* ══════════════════════════════════════════
   MARQUEE
   ══════════════════════════════════════════ */
.marquee-section { background: var(--red); padding: 14px 0; overflow: hidden; }
.marquee-track {
  display: flex; animation: marquee 22s linear infinite;
  white-space: nowrap; width: max-content;
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 0 32px;
  font-family: 'Bebas Neue', sans-serif; font-size: 15px;
  letter-spacing: 3px; color: rgba(255,255,255,0.92);
}
.marquee-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.5); }

/* ══════════════════════════════════════════
   SEÇÕES BASE
   ══════════════════════════════════════════ */
section { padding: 120px 80px; position: relative; }
.section-header { margin-bottom: 72px; }
.section-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-tag-line { width: 32px; height: 1px; background: var(--red); }
.section-tag-text {
  font-family: 'Rajdhani', sans-serif; font-weight: 600;
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: var(--red);
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 4.5vw, 64px); letter-spacing: 2px; line-height: 1;
}

/* ══════════════════════════════════════════
   SOBRE
   ══════════════════════════════════════════ */
#sobre { background: var(--bg-2); overflow: hidden; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sobre-content p { color: var(--white-dim); line-height: 1.85; margin-bottom: 20px; font-size: 15px; }
.sobre-visual { position: relative; }

.warehouse-mock {
  background: var(--bg-3); border: 1px solid var(--border-red);
  padding: 40px; position: relative; overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.25);
}
.warehouse-mock::before {
  content: ''; position: absolute; top: -50%; right: -20%;
  width: 200px; height: 400px;
  background: linear-gradient(135deg, rgba(193,18,31,0.08), transparent);
  transform: rotate(15deg);
}
.shelf-row { display: flex; gap: 8px; margin-bottom: 12px; }
.shelf-item {
  height: 28px; border-radius: 2px; background: var(--steel);
  opacity: 0.55; flex: 1; animation: pulse 3s ease-in-out infinite;
}
.shelf-item:nth-child(2) { animation-delay: 0.5s; }
.shelf-item:nth-child(3) { animation-delay: 1s; flex: 1.5; }
.shelf-item.red { background: var(--red); opacity: 0.45; }
.shelf-divider { width: 100%; height: 2px; background: rgba(255,255,255,0.06); margin: 8px 0 12px; }
.warehouse-label {
  font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--chrome); margin-bottom: 20px;
}

.float-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red); width: 100px; height: 100px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: 0 0 28px rgba(193,18,31,0.45);
}
.float-badge-num { font-family: 'Bebas Neue', sans-serif; font-size: 24px; line-height: 1; }
.float-badge-txt { font-family: 'Rajdhani', sans-serif; font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }

/* ══════════════════════════════════════════
   DIFERENCIAIS
   ══════════════════════════════════════════ */
#diferenciais { background: var(--bg-base); }
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 60px; }
.diff-card {
  background: var(--bg-3); padding: 40px 32px;
  position: relative; overflow: hidden; transition: all 0.4s;
  border: 1px solid var(--border);
}
.diff-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--red); transition: width 0.4s;
}
.diff-card:hover { background: var(--bg-4); transform: translateY(-4px); border-color: var(--border-red); }
.diff-card:hover::before { width: 100%; }
.diff-card-number {
  font-family: 'Bebas Neue', sans-serif; font-size: 72px;
  color: rgba(193,18,31,0.07); position: absolute; top: 10px; right: 20px;
  line-height: 1; transition: color 0.4s;
}
.diff-card:hover .diff-card-number { color: rgba(193,18,31,0.17); }
.diff-icon { font-size: 32px; margin-bottom: 20px; display: block; }
.diff-title {
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 18px;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; color: var(--white);
}
.diff-desc { font-size: 14px; color: var(--chrome); line-height: 1.7; }

/* ══════════════════════════════════════════
   ATUAÇÃO
   ══════════════════════════════════════════ */
#atuacao { background: var(--bg-2); overflow: hidden; }
.atuacao-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }

.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 40px; }
.step { display: flex; gap: 24px; position: relative; padding-bottom: 40px; }
.step:last-child { padding-bottom: 0; }
.step-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.step-num {
  width: 40px; height: 40px; background: var(--bg-2); border: 1px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: var(--red); flex-shrink: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.step-line { width: 1px; flex: 1; background: linear-gradient(180deg, var(--red), rgba(193,18,31,0.08)); margin-top: 8px; }
.step:last-child .step-line { display: none; }
.step-content { padding-top: 8px; }
.step-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.step-desc { font-size: 14px; color: var(--chrome); line-height: 1.6; }

.market-cards { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.market-card {
  background: var(--bg-base); border: 1px solid var(--border-red);
  padding: 24px 28px; display: flex; align-items: center; gap: 20px;
  position: relative; overflow: hidden; transition: all 0.3s;
}
.market-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.market-card:hover { border-color: rgba(193,18,31,0.38); transform: translateX(4px); background: var(--bg-3); }
.market-icon { font-size: 28px; flex-shrink: 0; }
.market-title { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; }
.market-desc { font-size: 13px; color: var(--chrome); margin-top: 4px; }

/* ══════════════════════════════════════════
   PEÇAS / PRODUTOS
   ══════════════════════════════════════════ */
#pecas { background: var(--bg-base); }
.pecas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 60px; }
.peca-card {
  background: var(--bg-3); border: 1px solid var(--border);
  padding: 28px 24px; text-align: center; transition: all 0.4s;
  position: relative; overflow: hidden; cursor: default;
}
.peca-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,18,31,0.07), transparent);
  opacity: 0; transition: opacity 0.4s;
}
.peca-card:hover { border-color: rgba(193,18,31,0.3); transform: translateY(-6px); background: var(--bg-4); box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.peca-card:hover::after { opacity: 1; }
.peca-icon { font-size: 40px; display: block; margin-bottom: 16px; }
.peca-name { font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.peca-desc { font-size: 12px; color: var(--chrome); line-height: 1.6; }

/* ══════════════════════════════════════════
   CONTATO
   ══════════════════════════════════════════ */
#contato { background: var(--bg-2); position: relative; overflow: hidden; }
#contato::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(193,18,31,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.contato-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 2; }
.contato-left .section-title { margin-bottom: 24px; }
.contato-left p { color: var(--white-dim); font-size: 15px; line-height: 1.8; margin-bottom: 40px; }

.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.contact-icon-wrap {
  width: 44px; height: 44px; background: rgba(193,18,31,0.1);
  border: 1px solid rgba(193,18,31,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  flex-shrink: 0; transition: background 0.3s;
}
.contact-item:hover .contact-icon-wrap { background: rgba(193,18,31,0.22); }
.contact-text-label { font-family: 'Rajdhani', sans-serif; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--chrome); margin-bottom: 4px; }
.contact-text-value { font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: 15px; color: var(--white); }

.contato-right {
  background: var(--bg-3); border: 1px solid var(--border-red);
  padding: 48px 40px;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  position: relative; box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.contato-right::before {
  content: ''; position: absolute; top: 0; right: 0;
  border-style: solid; border-width: 0 24px 24px 0;
  border-color: transparent var(--red) transparent transparent;
}

.form-group { margin-bottom: 20px; }
.form-label { display: block; font-family: 'Rajdhani', sans-serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--chrome); margin-bottom: 8px; }
.form-input {
  width: 100%; background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); padding: 12px 16px;
  font-family: 'Barlow', sans-serif; font-size: 14px; outline: none;
  transition: border-color 0.3s, background 0.3s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}
.form-input:focus { border-color: rgba(193,18,31,0.5); background: rgba(255,255,255,0.08); }
.form-input::placeholder { color: var(--white-faint); }
textarea.form-input { resize: none; height: 100px; clip-path: none; }
.form-submit {
  width: 100%; background: var(--red); color: white; border: none; padding: 14px;
  font-family: 'Rajdhani', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  clip-path: polygon(12px 0%, 100% 0%, calc(100% - 12px) 100%, 0% 100%);
}
.form-submit:hover { background: var(--red-light); transform: translateY(-1px); }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer {
  background: var(--bg-base); border-top: 1px solid var(--border);
  padding: 40px 80px; display: flex; align-items: center; justify-content: space-between;
}
/* Logo footer */
.footer-logo-wrap img {
  height: 40px; width: auto; object-fit: contain;
  filter: brightness(1.1) contrast(1.03) opacity(0.85);
  transition: filter 0.3s, opacity 0.3s;
}
.footer-logo-wrap img:hover { filter: brightness(1.2) contrast(1.05) opacity(1); }
.footer-tagline { font-size: 11px; color: var(--chrome); margin-top: 5px; }

.footer-center { display: flex; gap: 32px; }
.footer-link {
  font-family: 'Rajdhani', sans-serif; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--chrome); text-decoration: none; transition: color 0.3s;
}
.footer-link:hover { color: var(--red); }
.footer-right { font-size: 12px; color: var(--steel-light); text-align: right; }

/* ══════════════════════════════════════════
   ANIMAÇÕES
   ══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.75; }
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════
   RESPONSIVO
   ══════════════════════════════════════════ */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  section { padding: 72px 24px; }

  footer { padding: 32px 24px; flex-direction: column; gap: 28px; text-align: center; }
  .footer-center { flex-wrap: wrap; justify-content: center; gap: 20px; }

  #hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 60px 24px 40px; }
  .hero-right { display: none; }
  .hero-stats { gap: 24px; }

  .sobre-grid, .atuacao-grid, .contato-inner { grid-template-columns: 1fr; gap: 40px; }
  .diff-grid { grid-template-columns: 1fr; }
  .pecas-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(44px, 12vw, 68px); }
  .pecas-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   WHATSAPP FLUTUANTE
   ══════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  text-decoration: none;
  padding: 14px 20px 14px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  max-width: 56px; /* começa como bolinha */
}
.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.whatsapp-float-label {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  white-space: nowrap;
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-width 0.4s;
}
.whatsapp-float:hover {
  max-width: 220px;
  background: #20c45e;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
}
.whatsapp-float:hover .whatsapp-float-label {
  opacity: 1;
  max-width: 160px;
}
.whatsapp-float:hover svg {
  transform: scale(1.1);
}

/* Pulso de atenção */
.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.5); }
  100% { opacity: 0;   transform: scale(1.5); }
}

/* ══════════════════════════════════════════
   BANNER MARCAS NACIONAIS / IMPORTADAS
   ══════════════════════════════════════════ */
.marcas-banner {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-top: 28px;
  margin-bottom: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border-red);
  overflow: hidden;
}
.marcas-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  flex: 1;
  transition: background 0.3s;
}
.marcas-item:hover { background: var(--bg-4); }
.marcas-icon { font-size: 28px; flex-shrink: 0; }
.marcas-title {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 3px;
}
.marcas-sub { font-size: 12px; color: var(--chrome); line-height: 1.4; }
.marcas-divider {
  width: 1px;
  background: var(--border-red);
  align-self: stretch;
}

@media (max-width: 900px) {
  .whatsapp-float { bottom: 24px; right: 20px; }
  .marcas-banner { flex-direction: column; }
  .marcas-divider { width: 100%; height: 1px; }
}

/* ════════════════════════════════════════
   FLATICON PNG ICONS
   ════════════════════════════════════════ */

/* ── Peças Grid — large icons ── */
.peca-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}
.peca-img-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  opacity: 0.9;
  transition: opacity 0.3s, transform 0.3s;
}
.peca-card:hover .peca-img-icon {
  opacity: 1;
  transform: scale(1.08);
}

/* Lanterna é preta — forçar branco */
.peca-img-icon[alt="Lanternas"],
.card-item-icon img[alt="Icone lanterna"] {
  filter: brightness(0) invert(1);
}

/* ── Hero card-items — small icons ── */
.card-item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.card-item-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  opacity: 0.9;
}

/* ── Marcas banner — brasil / mundial icons ── */
.marcas-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.marcas-img-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.95;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .peca-img-icon  { width: 48px; height: 48px; }
}
@media (max-width: 768px) {
  .peca-icon      { width: 52px; height: 52px; margin-bottom: 14px; }
  .peca-img-icon  { width: 42px; height: 42px; }
  .card-item-icon img { width: 24px; height: 24px; }
  .marcas-img-icon { width: 34px; height: 34px; }
}
@media (max-width: 480px) {
  .peca-img-icon  { width: 36px; height: 36px; }
  .card-item-icon img { width: 22px; height: 22px; }
}

/* ── Mundial emoji alinhado com brasil PNG ── */
.marcas-icon-emoji {
  font-size: 36px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
@media (max-width: 768px) {
  .marcas-icon-emoji { font-size: 28px; width: 34px; height: 34px; }
}
