/* ===== Variáveis ===== */
:root {
  --yellow: #f7b500;
  --yellow-light: #ffc928;
  --dark: #0a0a0c;
  --dark-2: #141418;
  --text: #ffffff;
  --text-muted: #c9c9cf;
  --font: 'Poppins', Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Logo ===== */
.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: .85;
  font-weight: 800;
  font-size: 2.3rem;
  letter-spacing: -1px;
}
.logo__one  { color: var(--yellow); }
.logo__taxi { color: #fff; }
.logo--small { font-size: 1.6rem; }

/* ===== Header ===== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s, padding .3s, box-shadow .3s;
}
.header.scrolled {
  background: rgba(10, 10, 12, .92);
  backdrop-filter: blur(8px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav { display: flex; gap: 36px; }
.nav__link {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  background: var(--yellow);
  transition: width .25s;
}
.nav__link:hover,
.nav__link.active { color: var(--yellow); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 26px; height: 3px;
  margin: 5px 0;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: min(100vh, 780px);
  padding: 140px 0 60px;
  overflow: hidden;
}
/* Fundo: usa images/hero-bg.jpg se existir; senão, cidade noturna em CSS */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(5,5,8,.85) 0%, rgba(5,5,8,.45) 50%, rgba(5,5,8,.2) 100%),
    linear-gradient(0deg, rgba(10,10,12,1) 0%, rgba(10,10,12,0) 30%),
    url('../images/hero-bg.jpg') center/cover no-repeat,
    radial-gradient(circle at 55% 22%, rgba(255,170,60,.55) 0 3px, transparent 4px),
    radial-gradient(circle at 60% 22%, rgba(255,170,60,.55) 0 3px, transparent 4px),
    radial-gradient(circle at 75% 35%, rgba(255,140,40,.35) 0 40px, transparent 90px),
    radial-gradient(circle at 20% 40%, rgba(255,150,50,.25) 0 30px, transparent 110px),
    radial-gradient(circle at 90% 15%, rgba(255,90,40,.35) 0 20px, transparent 80px),
    radial-gradient(ellipse at 50% 100%, rgba(255,150,40,.35), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,190,90,.06) 0 6px, transparent 6px 22px),
    linear-gradient(180deg, #0c1018 0%, #1a1410 55%, #2a1a0c 75%, #0a0a0c 100%);
}

.hero__content { position: relative; z-index: 2; }

.hero__title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  text-shadow: 0 3px 15px rgba(0,0,0,.6);
  margin-bottom: 18px;
}
.hero__subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 600;
  margin-bottom: 28px;
  text-shadow: 0 2px 10px rgba(0,0,0,.6);
}

.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
}
.btn--primary {
  background: var(--yellow);
  color: #111;
  padding: 14px 34px;
  font-size: 1.1rem;
  box-shadow: 0 6px 20px rgba(247,181,0,.35);
}
.btn--primary:hover {
  background: var(--yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(247,181,0,.5);
}

.stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  border: 1px solid #555;
  border-radius: 8px;
  padding: 6px 14px;
  min-width: 150px;
  transition: border-color .2s, transform .2s;
}
.store-badge:hover { border-color: var(--yellow); transform: translateY(-2px); }
.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge span {
  display: flex;
  flex-direction: column;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
}
.store-badge small { font-size: .62rem; font-weight: 400; }

.hero__car {
  position: relative;
  z-index: 1;
  position: absolute;
  right: 3%;
  bottom: 30px;
  width: min(58%, 680px);
  filter: drop-shadow(0 30px 25px rgba(0,0,0,.7));
}
.hero__car img { width: 100%; height: auto; }
.hero__car.no-image {
  aspect-ratio: 16 / 7;
  border: 2px dashed rgba(247,181,0,.5);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__car.no-image img { display: none; }
.hero__car.no-image::after {
  content: 'Coloque a foto do carro em images/car.png';
  color: var(--yellow);
  font-weight: 600;
}

/* ===== Seções escuras ===== */
.section-dark {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(rgba(8,8,10,.86), rgba(8,8,10,.92)),
    url('../images/city-bg.jpg') center/cover no-repeat,
    radial-gradient(circle at 80% 30%, rgba(255,140,40,.25), transparent 40%),
    radial-gradient(circle at 15% 70%, rgba(255,160,60,.15), transparent 40%),
    var(--dark-2);
  border-top: 1px solid rgba(255,255,255,.05);
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 700;
  margin-bottom: 14px;
}

/* ===== Sobre ===== */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}
.about__intro {
  color: var(--text-muted);
  margin-bottom: 40px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature { text-align: center; }
.feature__icon {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  background: var(--yellow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  box-shadow: 0 6px 18px rgba(247,181,0,.3);
}
.feature__icon svg { width: 36px; height: 36px; }
.feature h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}
.feature p {
  font-size: .9rem;
  color: var(--text-muted);
  text-align: left;
}
.feature p span { color: var(--yellow); font-weight: 600; }

/* ===== Celular ===== */
.phone {
  position: relative;
  width: 280px;
  height: 560px;
  margin: 0 auto;
  background: #0d0d0f;
  border: 3px solid #3a3a40;
  border-radius: 44px;
  padding: 14px;
  box-shadow:
    0 0 0 2px #1a1a1d,
    0 30px 60px rgba(0,0,0,.7),
    0 0 60px rgba(247,181,0,.12);
}
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 24px;
  background: #0d0d0f;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone__screen {
  height: calc(100% - 34px);
  border-radius: 32px 32px 6px 6px;
  overflow: hidden;
  background: #e9ece9;
  display: flex;
  flex-direction: column;
}
.phone__bar {
  background: #111;
  padding: 30px 0 10px;
  text-align: center;
}
.phone__logo {
  color: var(--yellow);
  font-weight: 800;
  font-size: 1rem;
}
.phone__logo b { color: #fff; font-weight: 800; }
.phone__home {
  width: 46px; height: 46px;
  margin: 6px auto 0;
  border: 2px solid #3a3a40;
  border-radius: 50%;
}

.map {
  position: relative;
  flex: 1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.05) 1px, transparent 1px) 0 0/24px 24px,
    linear-gradient(rgba(0,0,0,.05) 1px, transparent 1px) 0 0/24px 24px,
    radial-gradient(circle at 85% 15%, #cfe3c7 0 30px, transparent 31px),
    radial-gradient(circle at 15% 65%, #cfe3c7 0 24px, transparent 25px),
    #eef0ec;
}
.road {
  position: absolute;
  background: #fff;
  box-shadow: 0 0 0 1px #d6d8d3;
}
.road--h { left: 0; right: 0; height: 10px; }
.road--v { top: 0; bottom: 0; width: 10px; }
.road--thin.road--h { height: 6px; }
.road--thin.road--v { width: 6px; }
.road--d {
  top: 50%; left: -20%;
  width: 140%; height: 8px;
  transform: rotate(-35deg);
  background: #ffe9a6;
}
.pin {
  position: absolute;
  width: 30px; height: 30px;
  background: #111;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 3px 6px rgba(0,0,0,.35);
  animation: bounce 2.4s ease-in-out infinite;
}
.pin::after {
  content: '';
  position: absolute;
  inset: 7px;
  background: var(--yellow);
  border-radius: 50%;
}
.pin:nth-child(odd) { animation-delay: .6s; }
.pin--me { background: var(--yellow); }
.pin--me::after { background: #111; }

@keyframes bounce {
  0%, 100% { margin-top: 0; }
  50%      { margin-top: -5px; }
}

/* ===== Como Funciona ===== */
.how .section-title { margin-bottom: 40px; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step { text-align: center; }
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: var(--yellow);
  color: #111;
  font-size: 2rem;
  font-weight: 800;
  border-radius: 6px;
  margin-bottom: 16px;
  box-shadow: 0 6px 18px rgba(247,181,0,.3);
  transition: transform .25s;
}
.step:hover .step__num { transform: translateY(-4px) scale(1.05); }
.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  min-height: 2.5em;
  margin-bottom: 12px;
}
.step p { font-size: .9rem; color: var(--text-muted); }

/* ===== Footer ===== */
.footer {
  background: #050506;
  padding: 40px 0;
  border-top: 3px solid var(--yellow);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text-muted);
  font-size: .9rem;
}

/* ===== Animação de entrada ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsivo ===== */
@media (max-width: 900px) {
  .about__inner { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero__car { position: relative; right: auto; bottom: auto; width: 90%; margin: 30px auto 0; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    gap: 24px;
    padding: 100px 30px;
    background: rgba(10,10,12,.97);
    transform: translateX(100%);
    transition: transform .3s;
  }
  .nav.open { transform: none; }
  .menu-toggle { position: relative; z-index: 101; }
}

@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .feature p { text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}
