/* ============================================================
   Multivisi Pneus — CSS Principal
   Paleta: Azul Royal #2B5BE8 | Amarelo Ouro #F5A623 | Branco #FFFFFF
   ============================================================ */

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

:root {
  --primary: #2B5BE8;
  --primary-dark: #1e44c8;
  --gold: #F5A623;
  --gold-dark: #d4891a;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--gray-800); background: var(--white); line-height: 1.6; }
h1,h2,h3,h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .75rem 1.75rem; border-radius: var(--radius-sm);
  font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(43,91,232,.35); }
.btn-gold { background: var(--gold); color: var(--gray-800); }
.btn-gold:hover { background: var(--gold-dark); box-shadow: 0 4px 14px rgba(245,166,35,.4); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-full { width: 100%; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ── Cores utilitárias ── */
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: box-shadow .2s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 1.5rem;
}
.nav-logo img { height: 52px; width: auto; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--gray-600); transition: color .15s; }
.nav-links a:hover { color: var(--primary); }
.nav-cta { padding: .6rem 1.4rem; font-size: .9rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: .25rem; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--gray-800); border-radius: 2px; transition: .2s; }
.nav-mobile { display: none; flex-direction: column; gap: .5rem; padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--gray-200); }
.nav-mobile a { padding: .6rem 0; font-weight: 500; color: var(--gray-600); }
.nav-mobile.open { display: flex; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  background: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?w=1600&q=80') center/cover no-repeat;
  display: flex; align-items: center; padding-top: 70px;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,20,60,.82) 0%, rgba(10,20,60,.55) 60%, rgba(10,20,60,.3) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 4rem 0; }
.badge-promo {
  display: inline-block; background: var(--gold); color: var(--gray-800);
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; padding: .4rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-content h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--white); margin-bottom: 1.25rem; font-weight: 800; }
.hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.88); margin-bottom: 2rem; max-width: 540px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.6); animation: bounce 2s infinite;
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ============================================================
   MARCAS
   ============================================================ */
.marcas { padding: 2.5rem 0; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.marcas-title { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--gray-400); margin-bottom: 1.5rem; }
.marcas-grid { display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap; }
.marcas-grid img { height: 32px; width: auto; filter: grayscale(1) opacity(.55); transition: filter .2s; object-fit: contain; }
.marcas-grid img:hover { filter: grayscale(0) opacity(1); }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
.diferenciais { background: var(--primary); padding: 2.5rem 0; }
.diferenciais-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.diferencial-item { display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--white); gap: .4rem; }
.diferencial-icon { font-size: 1.8rem; width: 52px; height: 52px; background: rgba(255,255,255,.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: .25rem; }
.diferencial-item strong { font-family: 'Sora', sans-serif; font-size: 1rem; }
.diferencial-item span { font-size: .85rem; opacity: .8; }

/* ============================================================
   CATÁLOGO
   ============================================================ */
.catalogo { padding: 5rem 0; background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-badge {
  display: inline-block; background: rgba(43,91,232,.1); color: var(--primary);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.section-header h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--gray-800); margin-bottom: .75rem; }
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

.produtos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

.produto-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; position: relative;
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.produto-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.produto-card.destaque { border: 2px solid var(--gold); }

.produto-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  background: var(--gold); color: var(--gray-800);
  font-family: 'Sora', sans-serif; font-size: .8rem; font-weight: 800;
  padding: .25rem .65rem; border-radius: 999px;
}
.produto-destaque-tag {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  background: var(--primary); color: var(--white);
  font-size: .75rem; font-weight: 700; padding: .25rem .7rem; border-radius: 999px;
}
.produto-img-wrap {
  background: var(--gray-100); height: 200px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.produto-img-wrap img { height: 160px; width: auto; object-fit: contain; transition: transform .3s; }
.produto-card:hover .produto-img-wrap img { transform: scale(1.05); }

.produto-info { padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.produto-marca { font-size: .75rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; }
.produto-info h3 { font-size: 1.1rem; color: var(--gray-800); }
.produto-desc { font-size: .85rem; color: var(--gray-600); line-height: 1.5; }
.produto-specs { display: flex; gap: .5rem; flex-wrap: wrap; }
.produto-specs span {
  font-size: .72rem; font-weight: 600; background: var(--gray-100);
  color: var(--gray-600); padding: .2rem .6rem; border-radius: 999px;
}
.produto-preco { display: flex; align-items: baseline; gap: .75rem; margin-top: .25rem; }
.preco-original { font-size: .85rem; color: var(--gray-400); text-decoration: line-through; }
.preco-desconto { font-family: 'Sora', sans-serif; font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.produto-info .btn { margin-top: auto; }

/* ============================================================
   CONTATO
   ============================================================ */
.contato { padding: 5rem 0; background: linear-gradient(135deg, #1a3a9e 0%, #2B5BE8 100%); }
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.8); }
.section-badge-light {
  display: inline-block; background: rgba(255,255,255,.15); color: var(--white);
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}

.form-wrap {
  max-width: 700px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 2.5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-800); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: .7rem 1rem; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm); font-family: 'Inter', sans-serif;
  font-size: .95rem; color: var(--gray-800); background: var(--white);
  transition: border-color .15s, box-shadow .15s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(43,91,232,.12);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.msg-sucesso { text-align: center; padding: 2rem; }
.msg-icon { font-size: 3rem; margin-bottom: 1rem; }
.msg-sucesso h3 { font-size: 1.4rem; color: var(--gray-800); margin-bottom: .5rem; }
.msg-sucesso p { color: var(--gray-600); margin-bottom: 1.5rem; }
.msg-erro { background: #fef2f2; border: 1px solid #fecaca; border-radius: var(--radius-sm); padding: 1rem; text-align: center; color: #dc2626; margin-top: 1rem; }

/* ============================================================
   RODAPÉ
   ============================================================ */
.footer { background: var(--gray-800); color: rgba(255,255,255,.8); padding: 3rem 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo img { height: 52px; width: auto; margin-bottom: 1rem; }
.footer-logo p { font-size: .9rem; line-height: 1.6; opacity: .75; }
.footer-info h4, .footer-links h4 { font-family: 'Sora', sans-serif; font-size: .9rem; color: var(--white); margin-bottom: .75rem; }
.footer-info p { font-size: .88rem; margin-bottom: .4rem; }
.footer-info a { color: var(--gold); }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .88rem; opacity: .75; transition: opacity .15s; }
.footer-links a:hover { opacity: 1; color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.25rem 0; text-align: center; font-size: .82rem; opacity: .55; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .produtos-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-logo { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .produtos-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .marcas-grid { gap: 1.5rem; }
  .marcas-grid img { height: 24px; }
}
@media (max-width: 480px) {
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .form-wrap { padding: 1.5rem; }
}
