/* ==========================================================================
   VARIÁVEIS & RESET GLOBAL
   ========================================================================== */
:root {
  --primary: #233A35;
  --primary-hover: #192a26;
  --secondary: #F8D85B;
  --secondary-hover: #e5c449;
  --text-dark: #121212;
  --text-muted: #666666;
  --bg-light: #F7F9F8;
  --white: #FFFFFF;
  --accent-green: #10B981;
  --border-color: #E5E7EB;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  padding-bottom: 90px;
}

/* ==========================================================================
   HEADER & NAVBAR MODERNA RESPONSIVA
   ========================================================================== */
.navbar {
  background-color: rgba(35, 58, 53, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4rem 0;
  transition: var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

/* Ocultar o botão do topo no Mobile para economizar espaço */
.btn-header {
  display: none;
  background-color: var(--secondary);
  color: var(--primary);
  padding: 0.65rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: 0 0 15px rgba(248, 216, 91, 0.2);
  align-items: center;
  gap: 0.5rem;
}

.btn-header:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
}

.mobile-toggle {
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 0.2rem;
}

.mobile-toggle:hover {
  color: var(--secondary);
}

/* ==========================================================================
   DRAWER MOBILE
   ========================================================================== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 320px;
  height: 100%;
  background: var(--white);
  z-index: 1200;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.active {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--primary);
}

.drawer-logo span {
  color: var(--secondary);
}

.close-drawer {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: var(--text-dark);
  cursor: pointer;
  line-height: 1;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: auto;
}

.drawer-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.drawer-link i {
  font-size: 1.3rem;
  color: var(--primary);
}

.drawer-link:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.drawer-btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* AJUSTES PARA DESKTOP */
@media (min-width: 768px) {
  .btn-header {
    display: inline-flex;
  }
}

.navbar img {
  height: 40px;
}

.drawer-header img {
  height: 40px;
}

/* ==========================================================================
   HERO SECTION & CARROSSEL DE IMAGENS
   ========================================================================== */
.hero-section {
  background-color: var(--bg-light);
  padding: 2.5rem 1rem;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* CAROUSEL */
.hero-slider-wrapper {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  position: relative;
}

.carousel {
  position: relative;
  width: 100%;
  height: 300px;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(35, 58, 53, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
}

/* SETAS E PONTINHOS DO CARROSSEL */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  transition: var(--transition);
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--white);
}

.prev-btn { left: 1rem; }
.next-btn { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--secondary);
  width: 26px;
  border-radius: 10px;
}

/* HERO CONTENT */
.hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
  line-height: 1.5;
}

/* ==========================================================================
   BOTÕES DE AÇÃO DA HERO (BAIXAR APP & VER DEMO)
   ========================================================================== */
.hero-action-wrapper {
  margin-top: 1.5rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Espaçamento entre os dois botões */
}

/* Botão Principal - Baixar App (Altura/Padding Ajustado) */
.btn-hero-app {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.8rem; /* Reduzido de 1.1rem para uma altura mais elegante e proporcional */
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(35, 58, 53, 0.2);
}

.btn-hero-app i {
  font-size: 1.3rem;
}

.btn-hero-app:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(35, 58, 53, 0.3);
}

/* Botão Secundário - Ver Demo (Apenas Borda e Sem Fundo) */
.btn-hero-demo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
  transition: var(--transition);
}

.btn-hero-demo i {
  font-size: 1.3rem;
  color: var(--primary);
  transition: var(--transition);
}

.btn-hero-demo:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(35, 58, 53, 0.15);
}

.btn-hero-demo:hover i {
  color: var(--white);
}

/* AJUSTE PARA DESKTOP (Botões lado a lado em telas maiores) */
@media (min-width: 768px) {
  .hero-action-wrapper {
    flex-direction: row;
    max-width: 440px;
  }

  .btn-hero-app,
  .btn-hero-demo {
    flex: 1;
  }
}

/* ==========================================================================
   SEÇÃO DE RECURSOS / VANTAGENS
   ========================================================================== */
.features {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
}

.section-title p {
  color: var(--text-muted);
}

.features-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
}

.feature-card {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 50px;
  height: 50px;
  background-color: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.icon-wrapper i {
  font-size: 1.8rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

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

/* ==========================================================================
   SEGURANÇA & MOTORISTA
   ========================================================================== */
.safety-banner {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 1.5rem;
}

.safety-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.badge {
  background: rgba(248, 216, 91, 0.2);
  color: var(--secondary);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.safety-text h2 {
  font-size: 2rem;
  font-weight: 900;
  margin: 1rem 0;
}

.safety-text ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.safety-text li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.safety-text li i {
  color: var(--secondary);
  font-size: 1.3rem;
}

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

/* SEÇÃO MOTORISTA & BOTÃO REGISTAR AGORA */
.driver-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.driver-card {
  background: linear-gradient(135deg, var(--primary) 0%, #162421 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  color: var(--white);
  text-align: center;
}

.driver-content h2 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.driver-content p {
  color: #D1D5DB;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* BOTÃO REGISTAR COMO MOTORISTA AJUSTADO */
.btn-register-driver {
  display: inline-block;
  background-color: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-register-driver:hover {
  background-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(248, 216, 91, 0.3);
}

/* DOWNLOAD SECTION */
.download-section {
  background: var(--bg-light);
  padding: 4rem 1.5rem;
}

.download-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.store-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: center;
}

.store-btn {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.store-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

.qr-code-box {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.qr-code-box i {
  font-size: 6rem;
  color: var(--primary);
}

/* BANNER PROMO FIXO FLOATING */
.sticky-promo {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 1.2rem 1.5rem;
  z-index: 999;
  transition: var(--transition);
}

.sticky-promo.hidden {
  transform: translateY(100%);
}

.promo-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
}

.promo-badge {
  background-color: var(--accent-green);
  color: var(--white);
  font-weight: 900;
  padding: 0.2rem 0.6rem;
  border-radius: 8px;
}

.promo-text {
  font-weight: 700;
}

.promo-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.btn-promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 0.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
}

.btn-promo i {
  font-size: 1.2rem;
}

.btn-promo:hover {
  background-color: var(--primary-hover);
}

.close-promo {
  position: absolute;
  top: 12px;
  right: 15px;
  background: #E5E7EB;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER ATUALIZADO COM CONTATOS E MÉTODOS DE PAGAMENTO
   ========================================================================== */
.footer {
  background-color: #111D1A;
  color: var(--white);
  padding: 4rem 1.5rem 1.5rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  color: var(--secondary);
}

.footer-col p {
  color: #9CA3AF;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.footer-col a {
  display: inline-block;
  color: #9CA3AF;
  text-decoration: none;
  margin-bottom: 0.6rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--white);
}

/* LISTA DE CONTACTOS DO RODAPÉ */
.footer-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contacts li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #9CA3AF;
  font-size: 0.95rem;
}

.footer-contacts li i {
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.footer-contacts li a {
  display: inline;
  margin-bottom: 0;
}

/* REDES SOCIAIS */
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  margin-bottom: 0;
}

.social-links a:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* BADGES DOS MÉTODOS DE PAGAMENTO */
.payments-desc {
  font-size: 0.85rem !important;
  margin-bottom: 0.8rem !important;
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pay-badge {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition);
}

.pay-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary);
}

.pay-badge small {
  color: #E5E7EB;
  font-size: 0.75rem;
  font-weight: 700;
}

.pay-text {
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.pay-text.visa {
  color: #1A1F71;
  background: #FFFFFF;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.pay-text.mpesa {
  color: #E60000;
}

.pay-text.emola {
  color: #FF6600;
}

.pay-text.mkesh {
  color: #0088CC;
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  color: #6B7280;
  font-size: 0.85rem;
}

/* MEDIA QUERY PARA DESKTOP (4 COLUNAS) */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1.2fr 1.3fr 0.9fr 1.2fr;
  }
}


/* ==========================================================================
   MEDIA QUERIES (DESKTOP & TABLET)
   ========================================================================== */
@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .nav-links {
    display: flex;
  }

  .mobile-toggle {
    display: none;
  }

  .hero-container {
    flex-direction: row-reverse;
    align-items: center;
  }

  .hero-slider-wrapper {
    flex: 1.2;
  }

  .carousel {
    height: 480px;
  }

  .hero-content {
    flex: 1;
  }

  .hero-title {
    font-size: 3.2rem;
  }

  .hero-actions-direct {
    flex-direction: row;
    align-items: center;
  }

  .btn-hero-action {
    flex: 1;
  }

  .features-container {
    grid-template-columns: repeat(3, 1fr);
  }

  .safety-container {
    flex-direction: row;
    align-items: center;
  }

  .safety-text, .safety-image {
    flex: 1;
  }

  .download-container {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .sticky-promo {
    max-width: 420px;
    left: auto;
    right: 25px;
    bottom: 25px;
    border-radius: 20px;
  }

}

.footer-col img {
  height: 40px;
}