@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@700;900&family=Barlow:wght@400;500;600&display=swap');

:root {
  --teal: #FFE600;
  --teal-dark: #ccb800;
  --navy: #1a2a3a;
  --magenta: #6b7280;
  --magenta-hover: #4b5563;
  --white: #ffffff;
  --light: #f0f4f8;
  --gray: #cbd5e1;
  --text-muted: #94a3b8;
  --baltic: #1f6b8e;
  --baltic-hover: #175a78;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

/* ── NAVBAR ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 64px;
  background: rgba(13, 27, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,184,160,0.15);
}

.header-brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.header-brand h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #FFE600;
}

.header-brand h1 span { color: #FFE600; }

nav { display: flex; gap: 28px; align-items: center; }

nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav a:hover { color: var(--teal); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0d1b2a 0%, #1a2a3a 40%, #1f3a50 70%, #1f6b8e 120%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(31,107,142,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 80%, rgba(255,230,0,0.08) 0%, transparent 60%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.palavras {
  display: flex;
  flex-direction: column;
  gap: 0px;
  line-height: 1.05;
  margin-bottom: 32px;
}

.palavra {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  font-size: clamp(36px, 4.5vw, 62px);
}

.pw { color: #ffffff; }
.py { color: #FFE600; filter: drop-shadow(0 0 10px rgba(255,230,0,0.25)); }
.ps {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: clamp(13px, 1.3vw, 18px);
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: none;
  opacity: 0.7;
  margin-top: 4px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}

.hero-btn.whatsapp-btn { background: #25d366; }
.hero-btn.whatsapp-btn:hover { background: #1ebe5d; transform: translateY(-2px); }

/* ── SECTIONS ── */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 40px;
  display: inline-block;
}

.section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--teal);
  margin-top: 8px;
  border-radius: 2px;
}

.divider { border: none; border-top: 1px solid rgba(0,184,160,0.12); }

/* ── CARDS ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,184,160,0.2);
  border-radius: 10px;
  padding: 28px 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover { border-color: var(--teal); transform: translateY(-4px); }

.card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.card p { font-size: 14px; color: var(--gray); line-height: 1.6; }

/* ── SOBRE ── */
#sobre .sobre-inner { display: grid; grid-template-columns: 1fr; gap: 60px; align-items: center; }
#sobre p { font-size: 16px; line-height: 1.8; color: var(--gray); margin-bottom: 16px; }

/* ── VEICULO ── */
#veiculo {
  background: rgba(31,107,142,0.06);
  border-top: 1px solid rgba(255,230,0,0.08);
  border-bottom: 1px solid rgba(255,230,0,0.08);
}

.hero-photo { display: flex; justify-content: center; align-items: flex-end; margin-top: 60px; }

.hero-photo img {
  width: 100%;
  max-width: 400px;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px 16px 0 0;
  border: 3px solid rgba(255,230,0,0.25);
  box-shadow: 0 0 60px rgba(255,230,0,0.10), 0 20px 60px rgba(0,0,0,0.4);
}

.veiculo-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }

.veiculo-foto img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

.veiculo-info { display: flex; flex-direction: column; gap: 16px; }

/* ── CALCULADORA ── */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calc-jf-titulo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 40px;
  display: inline-block;
}

.calc-jf-titulo::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--teal);
  margin-top: 8px;
  border-radius: 2px;
}

.calc-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,230,0,0.2);
  border-radius: 12px;
  padding: 36px 32px;
}

.calc-jf-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,230,0,0.2);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-jf-texto { font-size: 15px; color: var(--gray); line-height: 1.7; }

.calc-input-wrap { margin-bottom: 16px; }

.calc-input-wrap label {
  display: block;
  font-size: 15px;
  font-weight: 400;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 8px;
  text-transform: none;
  letter-spacing: 0;
}

.calc-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,230,0,0.25);
  border-radius: 6px;
  color: var(--white);
  font-size: 15px;
  font-family: 'Barlow', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.calc-input:focus { border-color: var(--teal); }
.calc-input::placeholder { color: rgba(255,255,255,0.25); font-style: italic; }

.calc-btn {
  width: 100%;
  margin-top: 8px;
  background: #25d366;
  color: var(--white);
  border: none;
  padding: 13px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.calc-btn:hover { background: #1ebe5d; }

.calc-erro { color: #f87171; font-size: 14px; margin-top: 10px; display: block; }

.calc-sucesso {
  margin-top: 20px;
  background: rgba(255,230,0,0.04);
  border: 1px solid rgba(255,230,0,0.15);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.calc-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); }

.calc-ou {
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.calc-opcao {
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-opcao.parcelado { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.calc-opcao.avista { background: rgba(255,230,0,0.07); border: 1px solid rgba(255,230,0,0.25); }

.calc-opcao-titulo {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #94a3b8;
  margin-bottom: 4px;
}

.calc-opcao.avista .calc-opcao-titulo { color: #FFE600; }
.calc-opcao-valor { font-size: 14px; color: #cbd5e1; }
.calc-opcao-valor span { font-size: 22px; font-weight: 700; color: #fff; }
.calc-opcao.avista .calc-opcao-valor span { color: #FFE600; font-size: 26px; }
.calc-opcao-total { font-size: 12px; color: #94a3b8; }
.calc-opcao-economia { font-size: 12px; color: #4ade80; font-weight: 600; }
.calc-pedagio { font-size: 11px; color: #94a3b8; font-style: italic; margin-top: 4px; }
.calc-pedagio-destaque { font-size: 12px; color: #fbbf24; font-weight: 600; margin-top: 6px; }

/* ── NÃO ENCONTRADO ── */
.calc-nao-encontrado {
  margin-top: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-nao-encontrado p { font-size: 14px; color: var(--gray); margin: 0; }
.calc-nao-encontrado p:first-child { color: #fbbf24; font-weight: 600; }

.calc-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 4px;
  transition: background 0.2s;
  width: fit-content;
}

.calc-wa-btn:hover { background: #1ebe5d; }

/* ── PAGAMENTO ── */
.pagamento-nf { margin-top: 24px; font-size: 14px; color: var(--text-muted); font-style: italic; }

/* ── FOOTER ── */
footer {
  background: #080f17;
  text-align: center;
  padding: 36px 20px;
  border-top: 1px solid rgba(0,184,160,0.15);
}

footer p { color: var(--text-muted); font-size: 14px; margin-bottom: 6px; }
footer p strong { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  /* Navbar */
  header {
    padding: 0 16px;
    justify-content: center;
  }
  .header-brand {
    position: static;
    transform: none;
  }
  nav { display: none; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 40px 24px 0;
    gap: 24px;
    text-align: center;
  }
  .palavras { align-items: center; }
  .hero-photo {
    margin-top: 0;
    justify-content: center;
  }
  .hero-photo img {
    height: 380px;
    max-width: 280px;
    border-radius: 12px 12px 0 0;
  }

  /* Sections */
  .section { padding: 48px 20px; }

  /* Sobre */
  #sobre .sobre-inner { grid-template-columns: 1fr; gap: 24px; }

  /* Veiculo */
  .veiculo-inner { grid-template-columns: 1fr; gap: 24px; }

  /* Calculadora */
  .calc-layout { grid-template-columns: 1fr; gap: 40px; }
  .calc-jf-titulo { font-size: 28px; }

  /* Cards */
  .cards { grid-template-columns: 1fr; }
}
