/* ============================================================
   S&A TRANSPORTES — style.css
   Design: Luxury Dark · Azul Naval + Dourado · Montserrat
   ============================================================ */

/* ===== TOKENS ===== */
:root {
  --navy:       #020e1f;
  --navy-mid:   #061428;
  --navy-light: #0d2040;
  --blue:       #0a56a0;
  --blue-light: #1a72cc;
  --gold:       #c9a84c;
  --gold-light: #e2c06a;
  --white:      #ffffff;
  --off-white:  #f0f4f8;
  --gray:       #8a9ab0;
  --text-dark:  #1a2535;

  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  36px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,0.12);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.18);
  --shadow-lg:  0 20px 60px rgba(0,0,0,0.28);
  --shadow-gold:0 8px 32px rgba(201,168,76,0.25);

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Lato', sans-serif;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loader.gone {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-ring {
  width: 56px;
  height: 56px;
  border: 3px solid rgba(201,168,76,0.2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

.loader-inner span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--gold);
  letter-spacing: 4px;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(2,14,31,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

#header.scrolled {
  background: rgba(2, 14, 31, 0.98);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand { display: flex; align-items: center; }

/* LOGO — CORRIGIDO: maior e bem proporcional */
.logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition);
  border-radius: 12px;
}

#header.scrolled .logo { height: 58px; }

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.82);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 12px; right: 12px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.ativo { color: var(--white); }

.nav-link:hover::after,
.nav-link.ativo::after { transform: scaleX(1); }

.nav-cta {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  background: #25D366;
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-xl);
  margin-left: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover { background: #1ebe5d; transform: translateY(-1px); }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 9px 10px;
  transition: border-color var(--transition);
}

.hamburger:hover { border-color: var(--gold); }

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.aberto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.aberto span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.aberto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BOTÕES GLOBAIS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-primary.large { font-size: 17px; padding: 17px 34px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(255,255,255,0.35);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-secondary.light {
  border-color: rgba(255,255,255,0.4);
}

/* ===== SECTION HEADER ===== */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  padding: 5px 14px;
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 20px;
}

.section-tag.light { color: var(--gold-light); border-color: rgba(226,192,106,0.3); }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--white);
}

.section-header p {
  font-size: 17px;
  color: var(--gray);
  max-width: 520px;
  margin: 0 auto;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1) var(--delay, 0s),
              transform 0.7s cubic-bezier(0.4,0,0.2,1) var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  scale: 1.05;
  animation: heroZoom 12s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { scale: 1.05; }
  to   { scale: 1.12; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,14,31,0.92) 0%,
    rgba(2,14,31,0.75) 50%,
    rgba(10,86,160,0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
  animation: fadeDown 0.8s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 640px;
  animation: fadeUp 0.8s 0.1s ease both;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
  position: relative;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.78);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.7;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.stat span {
  font-size: 13px;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== DIFERENCIAIS ===== */
.diferenciais {
  padding: 80px 0;
  background: var(--navy-light);
  position: relative;
}

.diferenciais::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.diferencial-card {
  padding: 32px 24px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.diferencial-card:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.25);
  transform: translateY(-4px);
}

.dc-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 22px;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(10,86,160,0.35);
}

.diferencial-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.diferencial-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== FROTA ===== */
.frota {
  padding: 100px 0;
  background: var(--off-white);
}

.frota .section-header h2 { color: var(--navy); }
.frota .section-header p  { color: #5a6a7e; }

.frota-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.frota-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.frota-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.frota-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.frota-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.frota-card:hover .frota-img-wrap img { transform: scale(1.08); }

.frota-label {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
}

.frota-info {
  padding: 20px 18px;
}

.frota-info h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.frota-info p {
  font-size: 14px;
  color: #6a7a8e;
  line-height: 1.5;
}

/* ===== VÍDEOS ===== */
.videos {
  padding: 100px 0;
  background: var(--navy-mid);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}

.video-card:hover { transform: translateY(-6px); }

.video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ===== HORÁRIOS ===== */
.horarios {
  padding: 100px 0;
  background: var(--navy);
}

.horarios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.rota-card {
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color var(--transition), transform var(--transition);
}

.rota-card:hover {
  border-color: rgba(201,168,76,0.3);
  transform: translateY(-4px);
}

.rota-card.destaque {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,168,76,0.08), var(--navy-light));
}

.rota-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rota-badge {
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.rota-tipo {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.rota-cidades {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cidade-origem,
.cidade-destino {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}

.cidade-destino { color: var(--gold); }

.rota-arrow { color: var(--blue-light); font-size: 20px; }

.rota-horarios-lista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.horario-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
}

.horario-item i {
  color: var(--blue-light);
  font-size: 13px;
  width: 16px;
  text-align: center;
}

.rota-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  padding: 12px;
  border-radius: var(--radius-xl);
  transition: background var(--transition), transform var(--transition);
}

.rota-btn:hover { background: #1ebe5d; transform: scale(1.02); }

.horarios-aviso {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 820px;
  margin: 28px auto 0;
  padding: 14px 20px;
  background: rgba(10,86,160,0.15);
  border: 1px solid rgba(10,86,160,0.3);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--gray);
}

.horarios-aviso i { color: var(--blue-light); font-size: 16px; flex-shrink: 0; }

/* ===== ENCOMENDAS ===== */
.encomendas {
  padding: 100px 0;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.encomendas::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}

.encomendas-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.encomendas-content h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.encomendas-content > p {
  font-size: 16px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 28px;
  line-height: 1.7;
}

.encomendas-list {
  list-style: none;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.encomendas-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.88);
}

.encomendas-list i { color: #7fe8a2; font-size: 16px; flex-shrink: 0; }

.encomendas-cards {
  display: grid;
  gap: 14px;
}

.enc-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: background var(--transition);
}

.enc-card:hover { background: rgba(255,255,255,0.16); }

.enc-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.enc-card h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.enc-card p { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ===== MOTORISTAS — CORRIGIDO ===== */
.motoristas {
  padding: 100px 0;
  background: var(--off-white);
}

.motoristas .section-header h2 { color: var(--navy); }
.motoristas .section-header p  { color: #5a6a7e; }

.motoristas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.motorista-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.motorista-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.motorista-foto-wrap {
  position: relative;
  height: 280px; /* CORRIGIDO: era 240px, aumentado para mostrar mais do rosto */
  overflow: hidden;
}

.motorista-foto-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%; /* CORRIGIDO: era "top" que cortava, agora centraliza melhor */
  transition: transform 0.6s ease;
}

.motorista-card:hover .motorista-foto-wrap img { transform: scale(1.05); }

.motorista-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2,14,31,0.5), transparent 60%);
}

.motorista-info {
  padding: 22px 20px;
}

.motorista-info h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.motorista-tag {
  display: inline-block;
  background: rgba(10,86,160,0.1);
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.motorista-info p {
  font-size: 14px;
  color: #6a7a8e;
  line-height: 1.6;
  margin-bottom: 14px;
}

.motorista-stars { color: #f5a623; font-size: 13px; letter-spacing: 2px; }

/* ===== SOBRE ===== */
.sobre {
  padding: 100px 0;
  background: var(--navy-mid);
}

.sobre-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.sobre-texto .section-tag { display: block; margin-bottom: 16px; }

.sobre-texto h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.sobre-texto p {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 18px;
  line-height: 1.75;
}

.sobre-texto p strong { color: var(--white); }

.sobre-numeros {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.numero-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 36px; /* CORRIGIDO: era 32px, aumentado para mais impacto */
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}

.numero-item span {
  font-size: 13px;
  color: var(--gray);
}

.mapa-frame-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 340px;
}

.mapa-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.mapa-cidades {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.cidade-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.cidade-pill i { color: var(--gold); font-size: 11px; }

/* ===== CTA FINAL ===== */
.cta-final {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
  background: var(--navy-light);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,86,160,0.3) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 900;
  margin-bottom: 18px;
}

.cta-inner p {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-top: 64px;
  padding-bottom: 48px;
}

/* FOOTER LOGO — CORRIGIDO: era 52px, ajustado */
.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 18px;
  border-radius: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 22px;
}

.footer-social { display: flex; gap: 10px; }

.social-btn {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--gray);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.footer-links h4,
.footer-contato h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contato {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contato p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
}

.footer-contato i { color: var(--blue-light); width: 16px; text-align: center; }

.footer-contato a { color: var(--gray); transition: color var(--transition); }
.footer-contato a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  max-width: 1160px;
  margin: 0 auto;
}

.footer-bottom i { color: #e74c3c; }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  animation: floatPulse 2.2s ease infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,0.6);
}

.wf-tooltip {
  position: absolute;
  right: 68px;
  white-space: nowrap;
  background: var(--white);
  color: #333;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
}

.wf-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -6px;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--white);
}

.whatsapp-float:hover .wf-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes floatPulse {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow: 0 6px 32px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.08); }
}

/* ===== BACK TO TOP ===== */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 100px;
  z-index: 999;
  width: 44px; height: 44px;
  background: var(--navy-light);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: var(--white);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), background var(--transition);
}

.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--blue); }

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .diferencial-grid { grid-template-columns: repeat(2, 1fr); }
  .frota-grid       { grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; }
  .footer-brand     { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
.logo {
  height: 44px;
}

.header-inner {
  height: 64px;
  padding: 0 14px;
}

.hamburger {
  display: flex;
  border: 2px solid rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.4);
  padding: 8px 10px;
}

.hamburger span {
  background: white;
  width: 24px;
  height: 2.5px;
}
  nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: rgba(2,14,31,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    padding: 20px 24px 28px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-110%);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
            visibility 0.4s;
    pointer-events: none;
    visibility: hidden;
  }

 nav.aberta {
  transform: translateY(0);
  pointer-events: all;
  visibility: visible;
}

  .nav-link { font-size: 17px; padding: 12px 16px; width: 100%; text-align: center; }
  .nav-cta  { margin-left: 0; margin-top: 8px; justify-content: center; width: 100%; }

  .diferencial-grid  { grid-template-columns: 1fr 1fr; gap: 14px; }
  .frota-grid        { grid-template-columns: 1fr 1fr; }
  .videos-grid       { grid-template-columns: 1fr; }
  .horarios-grid     { grid-template-columns: 1fr; }
  .encomendas-inner  { grid-template-columns: 1fr; gap: 40px; }
  .motoristas-grid   { grid-template-columns: 1fr; }
  .sobre-inner       { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner      { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-bottom     { flex-direction: column; gap: 6px; text-align: center; }

  .hero-content { padding: 100px 20px 70px; }
  .hero-stats   { gap: 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { justify-content: center; }

  .sobre-numeros { gap: 20px; }

  /* Motoristas mobile — foto menor */
  .motorista-foto-wrap { height: 220px; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; font-size: 22px; }
  .back-top { bottom: 20px; right: 84px; }
  .wf-tooltip { display: none; }
}

@media (max-width: 480px) {
  .diferencial-grid { grid-template-columns: 1fr; }
  .frota-grid       { grid-template-columns: 1fr; }
  .hero-stats       { flex-direction: column; gap: 14px; }
  .stat-divider     { width: 40px; height: 1px; }
  .sobre-numeros    { flex-direction: column; gap: 16px; }
  .footer-bottom    { padding: 16px 20px; }
}