/* ============================================
   A4 2313 VOLTZ Landing Page — Styles
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0d11;
  --bg-card: #13161c;
  --bg-card-hover: #1a1e27;
  --surface: #181c24;
  --border: #252a35;
  --text: #e4e6eb;
  --text-muted: #8b919e;
  --accent: #2dc422;
  --accent-glow: rgba(45, 196, 34, .15);
  --accent-alt: #5ee84d;
  --whatsapp: #25d366;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--accent-alt); }

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

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

/* --- Section --- */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section__header h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.section__header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* --- Accent utility --- */
.accent { color: var(--accent); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn--primary:hover {
  background: #4dd835;
  color: #000;
  box-shadow: 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--border);
}
.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

.btn--sm { padding: 8px 20px; font-size: .875rem; }
.btn--lg { padding: 18px 44px; font-size: 1.125rem; }

.btn--accent {
  background: var(--accent);
  color: #000;
}
.btn--accent:hover {
  background: #4dd835;
  color: #000;
}

/* --- Badge --- */
.badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(45, 196, 34, .25);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(11, 13, 17, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
  padding: 10px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
}
.navbar__brand:hover { color: var(--text); }

.navbar__logo {
  height: 32px;
  width: auto;
}

/* Inline Brazil flag next to brand text (replaces emoji) */
.brand-flag {
  height: 1.15em;
  width: auto;
  vertical-align: -0.15em;
  margin-left: 0.2em;
  display: inline-block;
  object-fit: contain;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.navbar__links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: .9375rem;
  transition: color var(--transition);
}
.navbar__links a:hover { color: var(--text); }
.navbar__links .btn { color: #000; }
.navbar__links .btn:hover { color: #000; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 40%, rgba(45, 196, 34, .06), transparent),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(45, 232, 77, .04), transparent),
    var(--bg);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 50px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 20px;
  border: 1px solid rgba(45, 196, 34, .2);
}

.hero__text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}

.hero__sub {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* ============================================
   PLACEHOLDER IMAGES
   ============================================ */
.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.placeholder-img--hero {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}

.placeholder-img--wide {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin-top: 40px;
  border-radius: var(--radius-lg);
}

.placeholder-img--moto {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius) var(--radius) 0 0;
}

.placeholder-img--kit {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
}

.placeholder-img--slide {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(45, 196, 34, .2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.product__img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-top: 40px;
  object-fit: cover;
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--accent-glow);
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.6;
}

/* ============================================
   MOTORCYCLE CARDS
   ============================================ */
.moto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.moto-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.moto-card:hover {
  border-color: rgba(45, 196, 34, .2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}

.moto-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.moto-card__body {
  padding: 24px;
}

.moto-card__body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.moto-card__body p {
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* ============================================
   COMPATIBILITY BG
   ============================================ */
.compatibility {
  background:
    radial-gradient(ellipse 50% 40% at 50% 0%, rgba(45, 196, 34, .04), transparent),
    var(--surface);
}

/* ============================================
   KIT SECTION
   ============================================ */
.kit__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.kit__img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.kit__details h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.kit__tagline {
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 24px;
}

.kit__list {
  list-style: none;
  margin-bottom: 32px;
}

.kit__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-muted);
  font-size: .9375rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border);
}

.kit__list li:last-child { border-bottom: none; }

.kit__list svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-alt);
  margin-top: 2px;
}

/* ============================================
   SPECS TABLE
   ============================================ */
.specs {
  background:
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(45, 232, 77, .03), transparent),
    var(--bg);
}

.specs-table {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
}

.specs-table table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table td {
  padding: 16px 24px;
  font-size: .9375rem;
  border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child td { border-bottom: none; }

.specs-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 40%;
  background: rgba(0, 0, 0, .15);
}

.specs-table td:last-child {
  color: var(--text-muted);
}

.specs-table tr:hover td {
  background: var(--bg-card-hover);
}
.specs-table tr:hover td:first-child {
  background: rgba(45, 196, 34, .05);
}

.specs__links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

/* ============================================
   CAROUSEL
   ============================================ */
.gallery {
  background: var(--surface);
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.carousel__track {
  display: flex;
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}

.carousel__slide {
  min-width: 100%;
  padding: 0 4px;
}

.carousel__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(11, 13, 17, .8);
  backdrop-filter: blur(8px);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 2;
}

.carousel__btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn--prev { left: 16px; }
.carousel__btn--next { right: 16px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 20px 0;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel__dot.active {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(45, 196, 34, .06), transparent),
    var(--bg);
}

.cta__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta__inner h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.cta__inner p {
  color: var(--text-muted);
  font-size: 1.125rem;
  margin-bottom: 36px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer__logo {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.footer__copy {
  color: var(--text-muted);
  font-size: .8125rem;
}

.footer__links h4 {
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer__links ul { list-style: none; }

.footer__links li {
  margin-bottom: 10px;
}

.footer__links a {
  color: var(--text-muted);
  font-size: .875rem;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--accent); }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  z-index: 999;
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, .5);
  color: #fff;
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4, 0, .2, 1), transform .6s cubic-bezier(.4, 0, .2, 1);
}

.reveal--right {
  transform: translateX(40px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* stagger children */
.features-grid .feature-card:nth-child(2) { transition-delay: .1s; }
.features-grid .feature-card:nth-child(3) { transition-delay: .2s; }
.features-grid .feature-card:nth-child(4) { transition-delay: .3s; }
.features-grid .feature-card:nth-child(5) { transition-delay: .4s; }
.features-grid .feature-card:nth-child(6) { transition-delay: .5s; }

.moto-grid .moto-card:nth-child(2) { transition-delay: .1s; }
.moto-grid .moto-card:nth-child(3) { transition-delay: .2s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .moto-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kit__card { grid-template-columns: 1fr; padding: 32px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .navbar__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -4px 0 30px rgba(0, 0, 0, .5);
    border-left: 1px solid var(--border);
  }

  .navbar__links.open { right: 0; }

  .navbar__links li { width: 100%; }
  .navbar__links a {
    display: block;
    padding: 14px 0;
    font-size: 1.0625rem;
    border-bottom: 1px solid var(--border);
  }
  .navbar__links .btn {
    margin-top: 16px;
    text-align: center;
    display: block;
    border-bottom: none;
  }

  .navbar__toggle { display: flex; }

  .navbar__toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .navbar__toggle.active span:nth-child(2) { opacity: 0; }
  .navbar__toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__sub { margin: 0 auto 36px; }

  .features-grid { grid-template-columns: 1fr; }
  .moto-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .section__header { margin-bottom: 40px; }
  .btn { padding: 12px 24px; font-size: .9375rem; }
  .btn--lg { padding: 14px 32px; font-size: 1rem; }
  .kit__card { padding: 24px; }
  .specs-table td { padding: 12px 16px; font-size: .875rem; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
