/* ── Variáveis ── */
:root {
  --orange: #E84218;
  --orange-dark: #C8360F;
  --dark: #2D2D2D;
  --darker: #1a1a1a;
  --light: #F8F8F8;
  --gray: #6B6B6B;
  --border: #E8E8E8;
  --nav-h: 80px;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', system-ui, sans-serif; color: var(--dark); background: #fff; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

/* ── Botões ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; cursor: pointer;
  transition: all var(--transition); border: 2px solid transparent; white-space: nowrap;
}
.btn-lg  { padding: 14px 28px; font-size: 1rem; }
.btn-xl  { padding: 16px 32px; font-size: 1.05rem; border-radius: 12px; }

.btn-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,66,24,0.35); }

.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: #fff; }

.btn-ghost { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.30); }
.btn-ghost:hover { background: rgba(255,255,255,0.20); border-color: rgba(255,255,255,0.55); }

/* ── Seções ── */
.section { padding: 88px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--dark); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900;
  line-height: 1.2; margin-bottom: 12px;
}
.section-title::after {
  content: ''; display: block; width: 48px; height: 4px;
  background: var(--orange); border-radius: 2px; margin-top: 10px;
}
.section-title.light { color: #fff; }
.section-sub { color: var(--gray); font-size: 1.05rem; margin-top: 8px; max-width: 560px; }
.section-sub.light { color: rgba(255,255,255,0.65); }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.navbar.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow); }

.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; }
.nav-logo { height: 60px; width: auto; display: block; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 0.9rem; color: var(--dark); transition: color var(--transition); }
.nav-links a:hover { color: var(--orange); }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.25s; }
.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); }

/* ── Hero ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: var(--nav-h); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('https://images.unsplash.com/photo-1738162837369-a2beec3a1d47?auto=format&fit=crop&w=1920&q=85');
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(20,20,20,0.90) 0%, rgba(50,22,8,0.82) 50%, rgba(30,30,30,0.85) 100%),
    radial-gradient(ellipse 55% 55% at 80% 45%, rgba(232,66,24,0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(232,66,24,0.10) 0%, transparent 60%);
}
.hero-inner { position: relative; z-index: 1; padding: 80px 24px; }

.hero-tag {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--orange);
  background: rgba(232,66,24,0.12); border: 1px solid rgba(232,66,24,0.35);
  padding: 5px 14px; border-radius: 100px; margin-bottom: 24px;
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1; color: #fff; margin-bottom: 20px; max-width: 680px; }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.62); max-width: 500px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── Stihl Destaque ── */
.stihl-feature {
  background: var(--darker);
  border-top: 3px solid var(--orange);
  padding: 72px 0;
}
.stihl-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.stihl-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); border: 1px solid rgba(232,66,24,0.4);
  padding: 4px 12px; border-radius: 4px; margin-bottom: 20px;
}
.stihl-logo {
  height: 80px; width: auto; max-width: 320px;
  margin-bottom: 24px;
}
.stihl-name-fallback {
  font-size: 3rem; font-weight: 900; color: #fff;
  letter-spacing: 4px; margin-bottom: 24px; display: block;
}
.stihl-desc {
  color: rgba(255,255,255,0.6); line-height: 1.8;
  font-size: 1rem; margin-bottom: 32px; max-width: 480px;
}
.stihl-products {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.stihl-chip {
  background: rgba(232,66,24,0.12); border: 1px solid rgba(232,66,24,0.3);
  color: rgba(255,255,255,0.8); padding: 8px 18px;
  border-radius: 100px; font-size: 0.9rem; font-weight: 600;
  transition: all var(--transition); cursor: default;
}
.stihl-chip:hover { background: rgba(232,66,24,0.25); color: #fff; border-color: rgba(232,66,24,0.6); }

/* ── Marcas ── */
.brands-grid {
  display: grid; gap: 14px; margin-top: 48px;
}
.brands-grid--main {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.brands-grid--secondary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 36px;
}
.brands-grid--secondary .brand-card {
  flex: 0 0 148px;
}

.brand-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 96px; transition: all var(--transition); cursor: default;
}
.brand-card--lg { min-height: 110px; }
.brand-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,66,24,0.10); }

.brand-logo { max-height: 44px; max-width: 130px; object-fit: contain; width: 100%; }
.brand-logo--sm { max-height: 34px; max-width: 110px; }
.brand-text { font-size: 1rem; font-weight: 700; color: var(--dark); letter-spacing: 0.5px; }

/* ── Lojas ── */
.lojas-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px; margin-top: 48px;
}
.loja-card {
  background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 28px 24px;
  transition: all var(--transition);
  border-left: 4px solid var(--orange);
}
.loja-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.loja-cidade { font-size: 1.1rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.loja-end { font-size: 0.9rem; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.loja-contatos { display: flex; flex-direction: column; gap: 8px; }
.loja-link {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--gray);
  transition: color var(--transition);
}
.loja-link:hover { color: var(--dark); }
.loja-link--wpp { color: #25D366; }
.loja-link--wpp:hover { color: #1da851; }

/* ── Sobre ── */
.sobre-inner { max-width: 700px; }
.sobre-p { color: #555; font-size: 1.05rem; line-height: 1.8; margin-top: 20px; }
.diferenciais { display: flex; gap: 48px; margin-top: 48px; flex-wrap: wrap; }
.diferencial { display: flex; flex-direction: column; gap: 4px; }
.dif-num { font-size: 2.4rem; font-weight: 900; color: var(--orange); line-height: 1; }
.dif-lbl { font-size: 0.8rem; font-weight: 700; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }

/* ── Contato ── */
.contato-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.contato-acoes { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* ── Footer ── */
.footer { background: #111; padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; }
.footer-logo { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.footer-social a:hover { color: var(--orange); }

/* ── WhatsApp flutuante ── */
.wpp-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  transition: all var(--transition);
}
.wpp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }

/* ── Responsivo ── */
@media (max-width: 900px) {
  .stihl-inner { grid-template-columns: 1fr; gap: 40px; }
  .stihl-products { justify-content: flex-start; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    padding: 16px 0; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-links .btn { margin: 8px 24px; width: calc(100% - 48px); justify-content: center; }

  .section { padding: 64px 0; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .contato-acoes { flex-direction: column; align-items: stretch; }
  .contato-acoes .btn { justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-social { justify-content: center; }
}
