/* ===================================
   FREITAS MOTO PEÇAS — Estilos Globais
   Cores: Preto #111 | Laranja #FF7300
   =================================== */

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

:root {
  --orange: #FF7300;
  --orange-dark: #e56500;
  --orange-light: #ff8f2a;
  --black: #111111;
  --dark: #1a1a1a;
  --gray: #6b7280;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --font: 'Barlow', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.16);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }

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

/* ===== HIGHLIGHT ===== */
.highlight { color: var(--orange); }

/* ===================================
   HEADER
   =================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.logo {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav a:hover { color: var(--orange); }

/* ===================================
   BOTÕES WHATSAPP
   =================================== */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1ebe59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.btn-whatsapp--header {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-whatsapp--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-whatsapp--xl {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* ===================================
   HERO
   =================================== */
.hero {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 80px 0 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,115,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-text {
  padding-bottom: 0;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,115,0,0.15);
  color: var(--orange);
  border: 1px solid rgba(255,115,0,0.35);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-family: var(--font-condensed);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.hero-text p {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-mascot {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-mascot img {
  width: 100%;
  max-width: 420px;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.5));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-wave {
  width: 100%;
  line-height: 0;
  margin-top: -1px;
}

.hero-wave svg { width: 100%; height: 80px; }

/* ===================================
   DIFERENCIAIS
   =================================== */
.diferenciais {
  background: var(--gray-light);
  padding: 80px 0;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.diferencial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--orange);
}

.diferencial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.diferencial-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.diferencial-card h3 {
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.diferencial-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===================================
   SEÇÃO GENÉRICA
   =================================== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-badge {
  display: inline-block;
  background: rgba(255,115,0,0.1);
  color: var(--orange);
  border: 1px solid rgba(255,115,0,0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: var(--font-condensed);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--gray);
  font-size: 1rem;
}

/* ===================================
   SERVIÇOS
   =================================== */
.servicos {
  padding: 100px 0;
  background: var(--white);
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.servico-card {
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.servico-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.servico-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.servico-card:hover::before { transform: scaleX(1); }

.servico-num {
  font-family: var(--font-condensed);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,115,0,0.12);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.servico-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.servico-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===================================
   PRODUTOS
   =================================== */
.produtos {
  padding: 100px 0;
  background: var(--gray-light);
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.produto-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.produto-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.produto-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.produto-card h4 {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}

.produto-card p {
  color: var(--gray);
  font-size: 0.85rem;
}

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

.produtos-cta p {
  color: var(--gray);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

/* ===================================
   CONTATO / CTA
   =================================== */
.contato {
  background: var(--black);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.contato::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,115,0,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.contato-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 64px;
}

.contato-text h2 {
  font-family: var(--font-condensed);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}

.contato-text p {
  color: rgba(255,255,255,0.6);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 440px;
}

.contato-mascot img {
  width: 220px;
  filter: drop-shadow(0 16px 32px rgba(0,0,0,0.5));
  animation: float 4s ease-in-out infinite;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 64px 24px 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-logo {
  height: 40px;
}

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

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-links a {
  color: rgba(255,255,255,0.45);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.footer-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.6;
}

.footer-address svg {
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--orange);
}

.footer-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #25D366 !important;
  font-size: 0.95rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-whatsapp:hover { opacity: 0.8; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
}

/* ===================================
   BOTÃO FLUTUANTE WHATSAPP
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: var(--white);
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-whatsapp 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6);
  animation: none;
}

.whatsapp-float__tooltip {
  position: absolute;
  right: 72px;
  background: var(--black);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s, transform 0.2s;
}

.whatsapp-float__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--black);
  border-right: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 24px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 40px rgba(37,211,102,0.75); }
}

/* ===================================
   RESPONSIVO
   =================================== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { padding-bottom: 0; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .hero-mascot {
    justify-content: center;
    order: -1;
  }

  .hero-mascot img { max-width: 280px; }

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

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

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

  .contato-inner { grid-template-columns: 1fr; text-align: center; }
  .contato-mascot { display: none; }
  .contato-text p { margin-left: auto; margin-right: auto; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 640px) {
  .nav { display: none; }

  .header-inner { justify-content: space-between; }

  .logo { height: 38px; }

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

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

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand { grid-column: span 1; }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .hero { padding-top: 48px; }
}
