/* ===========================
   VR Emplacamentos – CSS
   =========================== */

:root {
  --primary: #1a56db;
  --primary-dark: #1341a8;
  --primary-light: #e8f0fe;
  --accent: #f59e0b;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --transition: .25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* UTILITIES */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,86,219,.35); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--white { background: var(--white); color: var(--primary); border-color: var(--white); }
.btn--white:hover { background: var(--primary-light); transform: translateY(-2px); }
.btn--sm { padding: .5rem 1.2rem; font-size: .875rem; }
.btn--lg { padding: .85rem 2rem; font-size: 1rem; }

.badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .35rem .9rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}
.badge--dark {
  background: var(--dark-2);
  color: var(--white);
}

.highlight {
  color: var(--primary);
  position: relative;
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.3rem;
}
.logo__vr {
  background: var(--primary);
  color: var(--white);
  padding: .15rem .55rem;
  border-radius: 6px;
  font-size: 1.1rem;
  letter-spacing: .02em;
}
.logo__text { color: var(--dark); }

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  color: var(--gray);
  font-weight: 500;
  font-size: .9rem;
  transition: color var(--transition);
}
.nav a:not(.btn):hover { color: var(--primary); }

.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(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* HERO */
.hero {
  position: relative;
  background: var(--dark);
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,86,219,.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245,158,11,.15) 0%, transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  max-width: 700px;
}
.hero__content .badge {
  background: rgba(26,86,219,.25);
  color: #93c5fd;
  border: 1px solid rgba(147,197,253,.25);
}
.hero__content h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 1rem 0 1.25rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}
.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.12);
}
.stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--white); }
.stat span { font-size: .8rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; }

/* SECTIONS */
.section { padding: 5rem 0; }
.section--alt { background: var(--gray-light); }
.section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.section__header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.section__header p { color: var(--gray); font-size: 1.05rem; }

/* CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.card__icon { font-size: 2rem; margin-bottom: 1rem; }
.card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }
.card p { color: var(--gray); font-size: .9rem; }

/* STEPS */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  box-shadow: var(--shadow);
}
.step__num {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step p { color: var(--gray); font-size: .88rem; }
.step__arrow {
  font-size: 1.8rem;
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* BENEFITS */
.benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.benefit {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,.07);
  transition: var(--transition);
}
.benefit:hover { background: var(--gray-light); border-color: transparent; }
.benefit__icon { font-size: 1.75rem; flex-shrink: 0; }
.benefit h4 { font-weight: 700; margin-bottom: .25rem; }
.benefit p { color: var(--gray); font-size: .88rem; }

/* CTA BANNER */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 1.5rem;
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); font-size: 1.75rem; font-weight: 800; }
.cta-banner p { color: rgba(255,255,255,.8); margin-top: .4rem; }

/* CONTACT */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact__icon { font-size: 1.5rem; flex-shrink: 0; }
.contact__item strong { display: block; font-weight: 700; margin-bottom: .2rem; }
.contact__item p { color: var(--gray); font-size: .9rem; }
.map-placeholder {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--gray);
  border: 2px dashed rgba(0,0,0,.1);
}
.map-placeholder span { font-size: 3rem; }
.map-placeholder p { font-weight: 600; }
.map-placeholder small { font-size: .8rem; text-align: center; }

/* FOOTER */
.footer {
  background: var(--dark);
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: rgba(255,255,255,.5);
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.footer .logo__text { color: var(--white); }
.footer p { font-size: .88rem; }

/* WHATSAPP FLOAT */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.5);
  z-index: 200;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* MOBILE NAV */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
    box-shadow: var(--shadow-lg);
  }
  .nav.open { display: flex; }

  .hero__content { padding: 4rem 1.5rem 3rem; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .hero__stats { gap: 1.5rem; }

  .step__arrow { transform: rotate(90deg); }
  .steps { flex-direction: column; align-items: stretch; }
  .steps .step__arrow { text-align: center; }

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

  .cta-banner__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .btn--lg { padding: .75rem 1.5rem; font-size: .9rem; }
  .section { padding: 3.5rem 0; }
}
