/* ==========================================================================
   Plumo Landing Page - Full Stylesheet
   Design System Tokens (app_colors.dart)
   ========================================================================== */

/* 1. IMPORTS & GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,300&display=swap');

/* 2. DESIGN TOKENS */
:root {
  /* Marca */
  --brand-orange: #FF5E00;
  --brand-orange-mid: #FF8C42;
  --brand-orange-soft: #FFF0E8;
  --brand-blue: #001330;

  /* Superfície */
  --background-light: #FAFAFA;
  --surface-white: #FFFFFF;
  --surface-tinted: #FFF5EF;
  --surface-neutral: #F1F5F9;
  --surface-chip: #E8ECF4;

  /* Texto */
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --text-disabled: #CBD5E1;
  --text-on-primary: #FFFFFF;

  /* Bordas */
  --outline: #E5E7EB;
  --outline-strong: #9CA3AF;

  /* Semânticas */
  --success: #10B981;
  --success-soft: #ECFDF5;
  --warning: #F59E0B;
  --warning-soft: #FFFBEB;
  --error: #EF4444;
  --error-soft: #FEF2F2;
  --info: #3B82F6;
  --info-soft: #EFF6FF;

  /* Tipografia */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Sombras & Elevação */
  --shadow-sm: 0 1px 3px rgba(0, 19, 48, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 19, 48, 0.08);
  --shadow-lg: 0 12px 30px rgba(0, 19, 48, 0.12);
  --shadow-3d-phone: 0 30px 60px -15px rgba(0, 19, 48, 0.22), 0 0 30px rgba(255, 94, 0, 0.15);

  /* Dimensões & Raios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transições */
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 3. BASE RESET */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--brand-orange);
  outline-offset: 3px;
}

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

.container-sm {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

.w-full {
  width: 100%;
}

/* 4. NAVBAR (HEADER) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--outline);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-blue);
  transition: var(--transition-normal);
  padding: 6px 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--brand-orange);
  transition: var(--transition-normal);
}

.nav-link:hover {
  color: var(--brand-orange);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botões Gerais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  text-align: center;
  user-select: none;
}

.btn-outline-driver {
  padding: 8px 20px;
  font-size: 0.8rem;
  color: var(--brand-blue);
  background-color: var(--surface-white);
  border: 1.5px solid var(--brand-blue);
  border-radius: var(--radius-full);
  text-align: left;
  line-height: 1.25;
}

.btn-driver-text {
  font-weight: 700;
  display: inline-block;
  line-height: 1.2;
}

.btn-outline-driver:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background-color: var(--brand-orange-soft);
  transform: translateY(-1px);
}

/* Toggle Mobile */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 101;
}

.mobile-toggle .bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--brand-blue);
  border-radius: 2px;
  transition: var(--transition-normal);
}

/* 5. HERO SECTION */
.hero-section {
  position: relative;
  padding: 80px 0 100px;
  background: linear-gradient(180deg, var(--surface-white) 0%, var(--background-light) 100%);
  overflow: hidden;
}

.hero-bg-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.route-line-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.7;
}

.animated-route {
  stroke-dashoffset: 200;
  animation: strokeDash 20s linear infinite;
}

@keyframes strokeDash {
  to {
    stroke-dashoffset: 0;
  }
}

.decor-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

.blur-orange {
  width: 350px;
  height: 350px;
  background-color: var(--brand-orange-soft);
  top: 10%;
  right: 5%;
}

.blur-blue {
  width: 400px;
  height: 400px;
  background-color: rgba(0, 19, 48, 0.05);
  bottom: 0;
  left: 5%;
}

.pulse-pin {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pin-1 { top: 12%; right: 48%; }
.pin-2 { bottom: 8%; left: 4%; }

.pin-ring {
  width: 28px;
  height: 28px;
  border: 2px solid var(--brand-orange);
  border-radius: 50%;
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.pin-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: var(--brand-orange);
  border-radius: 50%;
}

@keyframes pulseRing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background-color: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(255, 94, 0, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--brand-orange);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.highlight-orange {
  color: var(--brand-orange);
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-mid) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

/* CTAs da Hero */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.cta-wrapper {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.btn-primary-cta {
  padding: 14px 26px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-mid) 100%);
  color: var(--text-on-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(255, 94, 0, 0.3);
}

.btn-primary-cta:hover:not(.disabled-cta) {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 94, 0, 0.4);
}

.btn-secondary-cta {
  padding: 14px 26px;
  background-color: var(--brand-blue);
  color: var(--text-on-primary);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 20px rgba(0, 19, 48, 0.2);
}

.btn-secondary-cta:hover:not(.disabled-cta) {
  transform: translateY(-2px);
  background-color: #001f4d;
  box-shadow: 0 12px 26px rgba(0, 19, 48, 0.3);
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-main {
  font-size: 1.05rem;
  font-weight: 700;
}

/* Estados Desabilitados (iOS x Android) */
.disabled-cta {
  opacity: 0.45 !important;
  filter: grayscale(80%) !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  transform: none !important;
}

.cta-status-tip {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 500;
  padding-left: 4px;
}

/* Strip de Destaques Rápidos */
.hero-features-strip {
  display: flex;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-blue);
}

/* MOCKUP 3D DE SMARTPHONE */
.hero-mockup-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}

.phone-frame-3d {
  position: relative;
  width: 310px;
  height: 640px;
  background-color: #1a1a1e;
  border-radius: 48px;
  padding: 12px;
  box-shadow: var(--shadow-3d-phone);
  border: 4px solid #333338;
  transform: rotateY(-10deg) rotateX(6deg) rotateZ(1deg);
  transform-style: preserve-3d;
  animation: floatPhone 6s ease-in-out infinite;
  transition: transform 0.5s ease;
}

.phone-frame-3d:hover {
  transform: rotateY(0deg) rotateX(0deg) rotateZ(0deg) scale(1.02);
}

@keyframes floatPhone {
  0%, 100% { transform: rotateY(-10deg) rotateX(6deg) rotateZ(1deg) translateY(0px); }
  50% { transform: rotateY(-10deg) rotateX(6deg) rotateZ(1deg) translateY(-16px); }
}

.phone-screen-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--surface-white);
  border-radius: 38px;
  overflow: hidden;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.2);
}

.iphone-dynamic-island {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background-color: #000;
  border-radius: 20px;
  z-index: 10;
}

.app-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.screen-glare {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%);
  pointer-events: none;
}

.phone-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 90%;
  background: radial-gradient(circle, rgba(255, 94, 0, 0.25) 0%, rgba(255, 94, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

/* 6. SEÇÕES GERAIS */
.section {
  padding: 90px 0;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--brand-blue);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 50px;
}

/* SEÇÃO COMO FUNCIONA */
.section-how {
  background-color: var(--surface-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.step-card {
  position: relative;
  background-color: var(--background-light);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--outline);
  transition: var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-orange-mid);
  box-shadow: var(--shadow-md);
  background-color: var(--surface-tinted);
}

.step-number {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--brand-orange-soft);
  line-height: 1;
}

.step-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--brand-orange-soft);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* SEÇÃO MOTORISTAS - ESTRUTURA ORGANIZADA */
.section-drivers {
  background-color: var(--surface-neutral);
}

/* 1. Banner Principal do Motorista (Card Azul) */
.drivers-card-box {
  background-color: var(--brand-blue);
  border-radius: 28px;
  padding: 60px 48px;
  color: var(--text-on-primary);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  box-shadow: var(--shadow-lg);
  margin-bottom: 70px;
}

.drivers-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(255, 94, 0, 0.2);
  color: var(--brand-orange-mid);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 94, 0, 0.3);
}

.drivers-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.drivers-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Lista de Destaques / Benefícios Resumidos com Ícones do Lado */
.drivers-highlights-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: var(--transition-normal);
}

.highlight-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-orange);
  transform: translateY(-2px);
}

.highlight-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-mid) 100%);
  color: var(--text-on-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 94, 0, 0.3);
}

.highlight-item span {
  font-size: 0.9rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.35;
}

.btn-driver-hero {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-mid) 100%);
  color: var(--text-on-primary);
  font-size: 1.05rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(255, 94, 0, 0.35);
}

.btn-driver-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 94, 0, 0.5);
}

/* Card Preview do Motorista */
.driver-card-preview {
  background-color: var(--surface-white);
  color: var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--outline);
  padding-bottom: 14px;
}

.route-tag {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 0.95rem;
}

.price-tag {
  font-weight: 800;
  color: var(--brand-orange);
  font-size: 1rem;
}

.driver-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.driver-avatar {
  width: 48px;
  height: 48px;
  background-color: var(--brand-blue);
  color: var(--text-on-primary);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.driver-info h4 {
  font-size: 1rem;
  font-weight: 700;
}

.driver-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.seats-left {
  background-color: var(--success-soft);
  color: var(--success);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

/* 2. Pilares do Motorista (4 Cards) */
.driver-pillars-section {
  margin-bottom: 70px;
}

.driver-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.driver-pillar-card {
  background-color: var(--surface-white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.driver-pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-orange-mid);
  box-shadow: var(--shadow-md);
}

.pillar-icon-box {
  width: 52px;
  height: 52px;
  background-color: var(--brand-orange-soft);
  color: var(--brand-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.driver-pillar-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.driver-pillar-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 3. Box Final de CTA para Motoristas */
.driver-final-cta-box {
  background: linear-gradient(135deg, var(--surface-white) 0%, var(--surface-tinted) 100%);
  border: 1.5px solid rgba(255, 94, 0, 0.25);
  border-radius: 28px;
  padding: 56px 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 12px;
  max-width: 680px;
  line-height: 1.25;
}

.final-cta-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 600px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* VANTAGENS */
.section-benefits {
  background-color: var(--surface-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  padding: 36px 30px;
  background-color: var(--background-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--outline);
  text-align: center;
  transition: var(--transition-normal);
}

.benefit-card:hover {
  border-color: var(--brand-orange-mid);
  transform: translateY(-4px);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.benefit-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* FAQ ACCORDION */
.section-faq {
  background-color: var(--surface-tinted);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background-color: var(--surface-white);
  border: 1px solid var(--outline);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-item[open] {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-blue);
  padding: 20px 24px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.faq-badge-driver {
  background-color: var(--brand-orange-soft);
  color: var(--brand-orange);
  border: 1px solid rgba(255, 94, 0, 0.25);
}

.faq-badge-passenger {
  background-color: var(--info-soft);
  color: var(--info);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.faq-question-text {
  flex: 1;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--brand-orange);
  transition: transform 0.2s ease;
  margin-left: 8px;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-answer p {
  margin-bottom: 8px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

/* 7. MODAL PWA iOS & ANDROID APK (100% RESPONSIVO) */
.pwa-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 19, 48, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pwa-modal-content {
  background-color: var(--surface-white);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  max-height: calc(100vh - 32px);
  padding: 32px 26px;
  position: relative;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 1.6rem;
  color: var(--text-secondary);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
  z-index: 10;
}

.modal-close-btn:hover {
  background-color: var(--surface-neutral);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-app-badge {
  display: inline-block;
  margin-bottom: 8px;
}

.modal-app-badge img {
  height: 38px;
  width: auto;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--brand-blue);
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.pwa-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.pwa-step-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.step-badge {
  width: 28px;
  height: 28px;
  background-color: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.step-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 2px;
}

.step-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.ios-icon-inline {
  display: inline-block;
  padding: 0 4px;
  font-weight: bold;
  color: var(--info);
}

.modal-footer {
  margin-top: auto;
  padding-top: 4px;
}

/* RESPONSIVIDADE COMPACTA PARA DISPOSITIVOS MENORES & TELAS DE BAIXA ALTURA */
@media (max-width: 480px), (max-height: 700px) {
  .pwa-modal-backdrop {
    padding: 12px;
  }

  .pwa-modal-content {
    padding: 24px 18px 20px;
    border-radius: 20px;
    max-height: calc(100vh - 24px);
  }

  .modal-header {
    margin-bottom: 14px;
  }

  .modal-app-badge img {
    height: 32px;
  }

  .modal-title {
    font-size: 1.15rem;
  }

  .modal-subtitle {
    font-size: 0.82rem;
  }

  .pwa-steps-list {
    gap: 10px;
    margin-bottom: 18px;
  }

  .step-badge {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
  }

  .step-info h4 {
    font-size: 0.88rem;
  }

  .step-info p {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .modal-footer .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }
}

/* 8. FOOTER */
.footer {
  background-color: var(--brand-blue);
  color: var(--text-on-primary);
  padding: 70px 0 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 340px;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--brand-orange-soft);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
  transition: var(--transition-normal);
}

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

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 9. RESPONSIVIDADE (MEDIA QUERIES) */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-subtitle {
    margin: 0 auto 36px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-features-strip {
    justify-content: center;
  }

  .drivers-card-box {
    grid-template-columns: 1fr;
    padding: 40px 30px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--surface-white);
    padding: 24px;
    border-bottom: 1px solid var(--outline);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-menu.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 16px;
  }

  .mobile-toggle {
    display: flex;
  }

  .btn-outline-driver span {
    display: inline;
  }

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

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .cta-wrapper {
    width: 100%;
  }

  .btn-primary-cta, .btn-secondary-cta {
    width: 100%;
  }

  .hero-features-strip {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .phone-frame-3d {
    width: 270px;
    height: 560px;
  }

  .pin-1 {
    top: 2%;
    right: 4%;
    transform: scale(0.85);
  }

  .pin-2 {
    bottom: 2%;
    left: 4%;
    transform: scale(0.85);
  }

  .drivers-card-box {
    padding: 36px 20px;
    grid-template-columns: 1fr;
    gap: 36px;
    border-radius: 24px;
  }

  .drivers-highlights-list {
    grid-template-columns: 1fr;
  }

  .drivers-divider {
    margin: 36px 0;
  }

  .driver-pillars-grid {
    grid-template-columns: 1fr;
  }

  .driver-steps-grid {
    grid-template-columns: 1fr;
  }

  .drivers-final-title {
    font-size: 1.4rem;
  }

  .drivers-final-cta-block {
    padding: 32px 18px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
  }
}
